From 656bb160526239648b4c599b3b57ebf5bb6a367c Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 16 Nov 2021 17:51:11 +0000 Subject: [PATCH 1/2] feat: Added support for auto-close configurations PiperOrigin-RevId: 410253233 Source-Link: https://github.com/googleapis/googleapis/commit/11e309d19377d05fe354c97d9bd3def00fa9b5e4 Source-Link: https://github.com/googleapis/googleapis-gen/commit/b4f3403a28cc99c9c7cf4cd2efca105f279a3b0f Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjRmMzQwM2EyOGNjOTljOWM3Y2Y0Y2QyZWZjYTEwNWYyNzlhM2IwZiJ9 --- .../monitoring/v3/MetricServiceGrpc.java | 1386 --- .../v3/NotificationChannelServiceGrpc.java | 1658 ---- .../v3/ServiceMonitoringServiceGrpc.java | 1449 --- .../monitoring/v3/UptimeCheckServiceGrpc.java | 1032 --- .../v3/AlertPolicyServiceClient.java | 26 +- .../v3/AlertPolicyServiceSettings.java | 7 +- .../monitoring/v3/GroupServiceClient.java | 44 +- .../monitoring/v3/GroupServiceSettings.java | 7 +- .../monitoring/v3/MetricServiceClient.java | 82 +- .../monitoring/v3/MetricServiceSettings.java | 19 +- .../v3/NotificationChannelServiceClient.java | 80 +- .../NotificationChannelServiceSettings.java | 19 +- .../monitoring/v3/QueryServiceClient.java | 16 +- .../monitoring/v3/QueryServiceSettings.java | 7 +- .../v3/ServiceMonitoringServiceClient.java | 58 +- .../v3/ServiceMonitoringServiceSettings.java | 13 +- .../v3/UptimeCheckServiceClient.java | 52 +- .../v3/UptimeCheckServiceSettings.java | 13 +- .../cloud/monitoring/v3/gapic_metadata.json | 0 .../cloud/monitoring/v3/package-info.java | 4 +- .../v3/stub/AlertPolicyServiceStub.java | 0 .../stub/AlertPolicyServiceStubSettings.java | 9 +- .../monitoring/v3/stub/GroupServiceStub.java | 0 .../v3/stub/GroupServiceStubSettings.java | 6 +- ...GrpcAlertPolicyServiceCallableFactory.java | 0 .../v3/stub/GrpcAlertPolicyServiceStub.java | 1 + .../stub/GrpcGroupServiceCallableFactory.java | 0 .../v3/stub/GrpcGroupServiceStub.java | 1 + .../GrpcMetricServiceCallableFactory.java | 0 .../v3/stub/GrpcMetricServiceStub.java | 1 + ...ficationChannelServiceCallableFactory.java | 0 .../GrpcNotificationChannelServiceStub.java | 1 + .../stub/GrpcQueryServiceCallableFactory.java | 0 .../v3/stub/GrpcQueryServiceStub.java | 1 + ...rviceMonitoringServiceCallableFactory.java | 0 .../GrpcServiceMonitoringServiceStub.java | 1 + ...GrpcUptimeCheckServiceCallableFactory.java | 0 .../v3/stub/GrpcUptimeCheckServiceStub.java | 1 + .../monitoring/v3/stub/MetricServiceStub.java | 0 .../v3/stub/MetricServiceStubSettings.java | 51 +- .../stub/NotificationChannelServiceStub.java | 0 ...otificationChannelServiceStubSettings.java | 57 +- .../monitoring/v3/stub/QueryServiceStub.java | 0 .../v3/stub/QueryServiceStubSettings.java | 6 +- .../v3/stub/ServiceMonitoringServiceStub.java | 0 .../ServiceMonitoringServiceStubSettings.java | 33 +- .../v3/stub/UptimeCheckServiceStub.java | 0 .../stub/UptimeCheckServiceStubSettings.java | 30 +- .../v3/AlertPolicyServiceClientTest.java | 0 .../monitoring/v3/GroupServiceClientTest.java | 0 .../v3/MetricServiceClientTest.java | 0 .../monitoring/v3/MockAlertPolicyService.java | 0 .../v3/MockAlertPolicyServiceImpl.java | 0 .../cloud/monitoring/v3/MockGroupService.java | 0 .../monitoring/v3/MockGroupServiceImpl.java | 0 .../monitoring/v3/MockMetricService.java | 0 .../monitoring/v3/MockMetricServiceImpl.java | 0 .../v3/MockNotificationChannelService.java | 0 .../MockNotificationChannelServiceImpl.java | 0 .../cloud/monitoring/v3/MockQueryService.java | 0 .../monitoring/v3/MockQueryServiceImpl.java | 0 .../v3/MockServiceMonitoringService.java | 0 .../v3/MockServiceMonitoringServiceImpl.java | 0 .../monitoring/v3/MockUptimeCheckService.java | 0 .../v3/MockUptimeCheckServiceImpl.java | 0 .../NotificationChannelServiceClientTest.java | 0 .../monitoring/v3/QueryServiceClientTest.java | 0 .../ServiceMonitoringServiceClientTest.java | 0 .../v3/UptimeCheckServiceClientTest.java | 0 .../monitoring/v3/AlertPolicyServiceGrpc.java | 587 +- .../monitoring/v3/GroupServiceGrpc.java | 645 +- .../monitoring/v3/MetricServiceGrpc.java | 1064 +++ .../v3/NotificationChannelServiceGrpc.java | 1202 +++ .../monitoring/v3/QueryServiceGrpc.java | 229 +- .../v3/ServiceMonitoringServiceGrpc.java | 1092 +++ .../monitoring/v3/UptimeCheckServiceGrpc.java | 792 ++ .../com/google/monitoring/v3/Aggregation.java | 863 +- .../monitoring/v3/AggregationOrBuilder.java | 56 +- .../com/google/monitoring/v3/AlertPolicy.java | 7740 +++++++---------- .../google/monitoring/v3/AlertPolicyName.java | 0 .../monitoring/v3/AlertPolicyOrBuilder.java | 158 +- .../com/google/monitoring/v3/AlertProto.java | 275 + .../monitoring/v3/AlertServiceProto.java | 182 + .../com/google/monitoring/v3/BasicSli.java | 1360 ++- .../monitoring/v3/BasicSliOrBuilder.java | 88 +- .../com/google/monitoring/v3/CommonProto.java | 120 + .../google/monitoring/v3/ComparisonType.java | 110 +- .../v3/CreateAlertPolicyRequest.java | 490 +- .../v3/CreateAlertPolicyRequestOrBuilder.java | 55 +- .../monitoring/v3/CreateGroupRequest.java | 454 +- .../v3/CreateGroupRequestOrBuilder.java | 46 +- .../v3/CreateMetricDescriptorRequest.java | 492 +- ...reateMetricDescriptorRequestOrBuilder.java | 55 +- .../v3/CreateNotificationChannelRequest.java | 493 +- ...teNotificationChannelRequestOrBuilder.java | 55 +- .../CreateServiceLevelObjectiveRequest.java | 583 +- ...ServiceLevelObjectiveRequestOrBuilder.java | 64 +- .../monitoring/v3/CreateServiceRequest.java | 532 +- .../v3/CreateServiceRequestOrBuilder.java | 61 +- .../monitoring/v3/CreateTimeSeriesError.java | 475 +- .../v3/CreateTimeSeriesErrorOrBuilder.java | 52 +- .../v3/CreateTimeSeriesRequest.java | 576 +- .../v3/CreateTimeSeriesRequestOrBuilder.java | 73 +- .../v3/CreateTimeSeriesSummary.java | 784 +- .../v3/CreateTimeSeriesSummaryOrBuilder.java | 42 +- .../v3/CreateUptimeCheckConfigRequest.java | 491 +- ...eateUptimeCheckConfigRequestOrBuilder.java | 60 + .../v3/DeleteAlertPolicyRequest.java | 339 +- .../v3/DeleteAlertPolicyRequestOrBuilder.java | 33 + .../monitoring/v3/DeleteGroupRequest.java | 366 +- .../v3/DeleteGroupRequestOrBuilder.java | 38 +- .../v3/DeleteMetricDescriptorRequest.java | 342 +- ...eleteMetricDescriptorRequestOrBuilder.java | 35 + .../v3/DeleteNotificationChannelRequest.java | 382 +- ...teNotificationChannelRequestOrBuilder.java | 38 +- .../DeleteServiceLevelObjectiveRequest.java | 345 +- ...ServiceLevelObjectiveRequestOrBuilder.java | 31 + .../monitoring/v3/DeleteServiceRequest.java | 329 +- .../v3/DeleteServiceRequestOrBuilder.java | 31 + .../v3/DeleteUptimeCheckConfigRequest.java | 345 +- ...leteUptimeCheckConfigRequestOrBuilder.java | 31 + .../google/monitoring/v3/DistributionCut.java | 386 +- .../v3/DistributionCutOrBuilder.java | 35 +- .../google/monitoring/v3/DroppedLabels.java | 483 +- .../monitoring/v3/DroppedLabelsOrBuilder.java | 50 +- .../monitoring/v3/DroppedLabelsProto.java | 67 + .../com/google/monitoring/v3/FolderName.java | 0 .../monitoring/v3/GetAlertPolicyRequest.java | 329 +- .../v3/GetAlertPolicyRequestOrBuilder.java | 31 + .../google/monitoring/v3/GetGroupRequest.java | 326 +- .../v3/GetGroupRequestOrBuilder.java | 31 + .../v3/GetMetricDescriptorRequest.java | 339 +- .../GetMetricDescriptorRequestOrBuilder.java | 35 + ...GetMonitoredResourceDescriptorRequest.java | 364 +- ...redResourceDescriptorRequestOrBuilder.java | 35 + ...tNotificationChannelDescriptorRequest.java | 367 +- ...tionChannelDescriptorRequestOrBuilder.java | 31 + .../v3/GetNotificationChannelRequest.java | 342 +- ...etNotificationChannelRequestOrBuilder.java | 31 + ...icationChannelVerificationCodeRequest.java | 478 +- ...annelVerificationCodeRequestOrBuilder.java | 43 +- ...cationChannelVerificationCodeResponse.java | 460 +- ...nnelVerificationCodeResponseOrBuilder.java | 35 +- .../v3/GetServiceLevelObjectiveRequest.java | 409 +- ...ServiceLevelObjectiveRequestOrBuilder.java | 41 +- .../monitoring/v3/GetServiceRequest.java | 329 +- .../v3/GetServiceRequestOrBuilder.java | 31 + .../v3/GetUptimeCheckConfigRequest.java | 339 +- .../GetUptimeCheckConfigRequestOrBuilder.java | 31 + .../java/com/google/monitoring/v3/Group.java | 562 +- .../com/google/monitoring/v3/GroupName.java | 0 .../google/monitoring/v3/GroupOrBuilder.java | 57 +- .../com/google/monitoring/v3/GroupProto.java | 66 + .../monitoring/v3/GroupResourceType.java | 80 +- .../monitoring/v3/GroupServiceProto.java | 217 + .../google/monitoring/v3/InternalChecker.java | 735 +- .../v3/InternalCheckerOrBuilder.java | 70 +- .../com/google/monitoring/v3/LabelValue.java | 463 +- .../monitoring/v3/LabelValueOrBuilder.java | 42 +- .../v3/ListAlertPoliciesRequest.java | 612 +- .../v3/ListAlertPoliciesRequestOrBuilder.java | 65 +- .../v3/ListAlertPoliciesResponse.java | 492 +- .../ListAlertPoliciesResponseOrBuilder.java | 48 +- .../v3/ListGroupMembersRequest.java | 629 +- .../v3/ListGroupMembersRequestOrBuilder.java | 64 +- .../v3/ListGroupMembersResponse.java | 498 +- .../v3/ListGroupMembersResponseOrBuilder.java | 49 +- .../monitoring/v3/ListGroupsRequest.java | 773 +- .../v3/ListGroupsRequestOrBuilder.java | 83 +- .../monitoring/v3/ListGroupsResponse.java | 454 +- .../v3/ListGroupsResponseOrBuilder.java | 46 +- .../v3/ListMetricDescriptorsRequest.java | 536 +- ...ListMetricDescriptorsRequestOrBuilder.java | 56 +- .../v3/ListMetricDescriptorsResponse.java | 461 +- ...istMetricDescriptorsResponseOrBuilder.java | 45 +- ...stMonitoredResourceDescriptorsRequest.java | 561 +- ...edResourceDescriptorsRequestOrBuilder.java | 56 +- ...tMonitoredResourceDescriptorsResponse.java | 476 +- ...dResourceDescriptorsResponseOrBuilder.java | 45 +- ...NotificationChannelDescriptorsRequest.java | 491 +- ...ionChannelDescriptorsRequestOrBuilder.java | 47 +- ...otificationChannelDescriptorsResponse.java | 587 +- ...onChannelDescriptorsResponseOrBuilder.java | 56 +- .../v3/ListNotificationChannelsRequest.java | 618 +- ...tNotificationChannelsRequestOrBuilder.java | 65 +- .../v3/ListNotificationChannelsResponse.java | 486 +- ...NotificationChannelsResponseOrBuilder.java | 48 +- .../v3/ListServiceLevelObjectivesRequest.java | 601 +- ...erviceLevelObjectivesRequestOrBuilder.java | 62 +- .../ListServiceLevelObjectivesResponse.java | 515 +- ...rviceLevelObjectivesResponseOrBuilder.java | 42 +- .../monitoring/v3/ListServicesRequest.java | 523 +- .../v3/ListServicesRequestOrBuilder.java | 56 +- .../monitoring/v3/ListServicesResponse.java | 448 +- .../v3/ListServicesResponseOrBuilder.java | 46 +- .../monitoring/v3/ListTimeSeriesRequest.java | 1100 +-- .../v3/ListTimeSeriesRequestOrBuilder.java | 115 +- .../monitoring/v3/ListTimeSeriesResponse.java | 675 +- .../v3/ListTimeSeriesResponseOrBuilder.java | 73 +- .../v3/ListUptimeCheckConfigsRequest.java | 455 +- ...istUptimeCheckConfigsRequestOrBuilder.java | 47 +- .../v3/ListUptimeCheckConfigsResponse.java | 480 +- ...stUptimeCheckConfigsResponseOrBuilder.java | 48 +- .../v3/ListUptimeCheckIpsRequest.java | 345 +- .../ListUptimeCheckIpsRequestOrBuilder.java | 30 +- .../v3/ListUptimeCheckIpsResponse.java | 455 +- .../ListUptimeCheckIpsResponseOrBuilder.java | 45 +- .../monitoring/v3/MetricDescriptorName.java | 0 .../com/google/monitoring/v3/MetricProto.java | 206 + .../monitoring/v3/MetricServiceProto.java | 408 + .../v3/MonitoredResourceDescriptorName.java | 0 .../google/monitoring/v3/MutationRecord.java | 394 +- .../v3/MutationRecordOrBuilder.java | 35 +- .../monitoring/v3/MutationRecordProto.java | 57 + .../monitoring/v3/NotificationChannel.java | 1535 ++-- .../v3/NotificationChannelDescriptor.java | 976 +-- .../v3/NotificationChannelDescriptorName.java | 0 ...otificationChannelDescriptorOrBuilder.java | 125 +- .../v3/NotificationChannelName.java | 0 .../v3/NotificationChannelOrBuilder.java | 164 +- .../monitoring/v3/NotificationProto.java | 145 + .../v3/NotificationServiceProto.java | 327 + .../monitoring/v3/OrganizationName.java | 0 .../java/com/google/monitoring/v3/Point.java | 406 +- .../google/monitoring/v3/PointOrBuilder.java | 34 +- .../com/google/monitoring/v3/ProjectName.java | 0 .../com/google/monitoring/v3/QueryError.java | 393 +- .../google/monitoring/v3/QueryErrorList.java | 446 +- .../v3/QueryErrorListOrBuilder.java | 46 +- .../monitoring/v3/QueryErrorOrBuilder.java | 35 +- .../monitoring/v3/QueryServiceProto.java | 71 + .../monitoring/v3/QueryTimeSeriesRequest.java | 498 +- .../v3/QueryTimeSeriesRequestOrBuilder.java | 48 +- .../v3/QueryTimeSeriesResponse.java | 704 +- .../v3/QueryTimeSeriesResponseOrBuilder.java | 72 +- .../java/com/google/monitoring/v3/Range.java | 290 +- .../google/monitoring/v3/RangeOrBuilder.java | 29 + .../google/monitoring/v3/RequestBasedSli.java | 476 +- .../v3/RequestBasedSliOrBuilder.java | 34 +- ...icationChannelVerificationCodeRequest.java | 394 +- ...annelVerificationCodeRequestOrBuilder.java | 29 + .../com/google/monitoring/v3/Service.java | 4080 ++++----- .../monitoring/v3/ServiceLevelIndicator.java | 594 +- .../v3/ServiceLevelIndicatorOrBuilder.java | 42 +- .../monitoring/v3/ServiceLevelObjective.java | 1064 +-- .../v3/ServiceLevelObjectiveName.java | 0 .../v3/ServiceLevelObjectiveOrBuilder.java | 96 +- .../monitoring/v3/ServiceMonitoringProto.java | 392 + .../v3/ServiceMonitoringServiceProto.java | 296 + .../com/google/monitoring/v3/ServiceName.java | 0 .../monitoring/v3/ServiceOrBuilder.java | 127 +- .../com/google/monitoring/v3/ServiceTier.java | 83 +- .../com/google/monitoring/v3/SpanContext.java | 294 +- .../monitoring/v3/SpanContextOrBuilder.java | 27 +- .../monitoring/v3/SpanContextProto.java | 53 + .../com/google/monitoring/v3/TextLocator.java | 954 +- .../monitoring/v3/TextLocatorOrBuilder.java | 60 +- .../google/monitoring/v3/TimeInterval.java | 403 +- .../monitoring/v3/TimeIntervalOrBuilder.java | 34 +- .../com/google/monitoring/v3/TimeSeries.java | 853 +- .../google/monitoring/v3/TimeSeriesData.java | 990 +-- .../v3/TimeSeriesDataOrBuilder.java | 54 +- .../monitoring/v3/TimeSeriesDescriptor.java | 1192 +-- .../v3/TimeSeriesDescriptorOrBuilder.java | 74 +- .../google/monitoring/v3/TimeSeriesName.java | 0 .../monitoring/v3/TimeSeriesOrBuilder.java | 82 +- .../google/monitoring/v3/TimeSeriesRatio.java | 456 +- .../v3/TimeSeriesRatioOrBuilder.java | 45 +- .../com/google/monitoring/v3/TypedValue.java | 633 +- .../monitoring/v3/TypedValueOrBuilder.java | 56 +- .../v3/UpdateAlertPolicyRequest.java | 480 +- .../v3/UpdateAlertPolicyRequestOrBuilder.java | 46 +- .../monitoring/v3/UpdateGroupRequest.java | 350 +- .../v3/UpdateGroupRequestOrBuilder.java | 29 +- .../v3/UpdateNotificationChannelRequest.java | 483 +- ...teNotificationChannelRequestOrBuilder.java | 46 +- .../UpdateServiceLevelObjectiveRequest.java | 496 +- ...ServiceLevelObjectiveRequestOrBuilder.java | 46 +- .../monitoring/v3/UpdateServiceRequest.java | 447 +- .../v3/UpdateServiceRequestOrBuilder.java | 43 +- .../v3/UpdateUptimeCheckConfigRequest.java | 483 +- ...dateUptimeCheckConfigRequestOrBuilder.java | 46 +- .../monitoring/v3/UptimeCheckConfig.java | 4774 ++++------ .../monitoring/v3/UptimeCheckConfigName.java | 0 .../v3/UptimeCheckConfigOrBuilder.java | 184 +- .../google/monitoring/v3/UptimeCheckIp.java | 429 +- .../monitoring/v3/UptimeCheckIpOrBuilder.java | 42 +- .../monitoring/v3/UptimeCheckRegion.java | 94 +- .../com/google/monitoring/v3/UptimeProto.java | 218 + .../monitoring/v3/UptimeServiceProto.java | 223 + .../v3/VerifyNotificationChannelRequest.java | 424 +- ...fyNotificationChannelRequestOrBuilder.java | 44 +- .../google/monitoring/v3/WindowsBasedSli.java | 1875 ++-- .../v3/WindowsBasedSliOrBuilder.java | 77 +- .../proto/google/monitoring/v3/alert.proto | 4 + .../google/monitoring/v3/alert_service.proto | 0 .../proto/google/monitoring/v3/common.proto | 2 +- .../google/monitoring/v3/dropped_labels.proto | 0 .../proto/google/monitoring/v3/group.proto | 0 .../google/monitoring/v3/group_service.proto | 0 .../proto/google/monitoring/v3/metric.proto | 0 .../google/monitoring/v3/metric_service.proto | 0 .../monitoring/v3/mutation_record.proto | 0 .../google/monitoring/v3/notification.proto | 0 .../monitoring/v3/notification_service.proto | 0 .../google/monitoring/v3/query_service.proto | 0 .../proto/google/monitoring/v3/service.proto | 0 .../monitoring/v3/service_service.proto | 0 .../google/monitoring/v3/span_context.proto | 0 .../proto/google/monitoring/v3/uptime.proto | 42 +- .../google/monitoring/v3/uptime_service.proto | 0 .../com/google/monitoring/v3/AlertProto.java | 338 - .../monitoring/v3/AlertServiceProto.java | 202 - .../com/google/monitoring/v3/CommonProto.java | 137 - ...eateUptimeCheckConfigRequestOrBuilder.java | 99 - .../v3/DeleteAlertPolicyRequestOrBuilder.java | 58 - ...eleteMetricDescriptorRequestOrBuilder.java | 60 - ...ServiceLevelObjectiveRequestOrBuilder.java | 56 - .../v3/DeleteServiceRequestOrBuilder.java | 56 - ...leteUptimeCheckConfigRequestOrBuilder.java | 56 - .../monitoring/v3/DroppedLabelsProto.java | 81 - .../v3/GetAlertPolicyRequestOrBuilder.java | 56 - .../v3/GetGroupRequestOrBuilder.java | 56 - .../GetMetricDescriptorRequestOrBuilder.java | 60 - ...redResourceDescriptorRequestOrBuilder.java | 60 - ...tionChannelDescriptorRequestOrBuilder.java | 56 - ...etNotificationChannelRequestOrBuilder.java | 56 - .../v3/GetServiceRequestOrBuilder.java | 56 - .../GetUptimeCheckConfigRequestOrBuilder.java | 56 - .../com/google/monitoring/v3/GroupProto.java | 81 - .../monitoring/v3/GroupServiceProto.java | 245 - .../com/google/monitoring/v3/MetricProto.java | 232 - .../monitoring/v3/MetricServiceProto.java | 449 - .../monitoring/v3/MutationRecordProto.java | 72 - .../monitoring/v3/NotificationProto.java | 178 - .../v3/NotificationServiceProto.java | 354 - .../monitoring/v3/QueryServiceProto.java | 84 - .../google/monitoring/v3/RangeOrBuilder.java | 51 - ...annelVerificationCodeRequestOrBuilder.java | 54 - .../monitoring/v3/ServiceMonitoringProto.java | 448 - .../v3/ServiceMonitoringServiceProto.java | 322 - .../monitoring/v3/SpanContextProto.java | 66 - .../com/google/monitoring/v3/UptimeProto.java | 267 - .../monitoring/v3/UptimeServiceProto.java | 245 - 344 files changed, 35387 insertions(+), 55928 deletions(-) delete mode 100644 grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceGrpc.java delete mode 100644 grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelServiceGrpc.java delete mode 100644 grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringServiceGrpc.java delete mode 100644 grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckServiceGrpc.java rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClient.java (97%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceSettings.java (96%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/GroupServiceClient.java (96%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/GroupServiceSettings.java (96%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/MetricServiceClient.java (96%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/MetricServiceSettings.java (95%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClient.java (97%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceSettings.java (95%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/QueryServiceClient.java (95%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/QueryServiceSettings.java (95%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceClient.java (97%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceSettings.java (96%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClient.java (96%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceSettings.java (95%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/gapic_metadata.json (100%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/package-info.java (98%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/AlertPolicyServiceStub.java (100%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/AlertPolicyServiceStubSettings.java (98%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/GroupServiceStub.java (100%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/GroupServiceStubSettings.java (98%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcAlertPolicyServiceCallableFactory.java (100%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcAlertPolicyServiceStub.java (99%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcGroupServiceCallableFactory.java (100%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcGroupServiceStub.java (99%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcMetricServiceCallableFactory.java (100%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcMetricServiceStub.java (99%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcNotificationChannelServiceCallableFactory.java (100%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcNotificationChannelServiceStub.java (99%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcQueryServiceCallableFactory.java (100%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcQueryServiceStub.java (99%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcServiceMonitoringServiceCallableFactory.java (100%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcServiceMonitoringServiceStub.java (99%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcUptimeCheckServiceCallableFactory.java (100%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcUptimeCheckServiceStub.java (99%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/MetricServiceStub.java (100%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/MetricServiceStubSettings.java (95%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/NotificationChannelServiceStub.java (100%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/NotificationChannelServiceStubSettings.java (94%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/QueryServiceStub.java (100%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/QueryServiceStubSettings.java (97%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/ServiceMonitoringServiceStub.java (100%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/ServiceMonitoringServiceStubSettings.java (96%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/UptimeCheckServiceStub.java (100%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/UptimeCheckServiceStubSettings.java (96%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClientTest.java (100%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/GroupServiceClientTest.java (100%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/MetricServiceClientTest.java (100%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/MockAlertPolicyService.java (100%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/MockAlertPolicyServiceImpl.java (100%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/MockGroupService.java (100%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/MockGroupServiceImpl.java (100%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/MockMetricService.java (100%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/MockMetricServiceImpl.java (100%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/MockNotificationChannelService.java (100%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/MockNotificationChannelServiceImpl.java (100%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/MockQueryService.java (100%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/MockQueryServiceImpl.java (100%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/MockServiceMonitoringService.java (100%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/MockServiceMonitoringServiceImpl.java (100%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/MockUptimeCheckService.java (100%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/MockUptimeCheckServiceImpl.java (100%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClientTest.java (100%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/QueryServiceClientTest.java (100%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceClientTest.java (100%) rename {google-cloud-monitoring => owl-bot-staging/v3/google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClientTest.java (100%) rename {grpc-google-cloud-monitoring-v3 => owl-bot-staging/v3/grpc-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/AlertPolicyServiceGrpc.java (50%) rename {grpc-google-cloud-monitoring-v3 => owl-bot-staging/v3/grpc-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/GroupServiceGrpc.java (50%) create mode 100644 owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceGrpc.java create mode 100644 owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelServiceGrpc.java rename {grpc-google-cloud-monitoring-v3 => owl-bot-staging/v3/grpc-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/QueryServiceGrpc.java (52%) create mode 100644 owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringServiceGrpc.java create mode 100644 owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckServiceGrpc.java rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/Aggregation.java (86%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/AggregationOrBuilder.java (92%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/AlertPolicy.java (78%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/AlertPolicyName.java (100%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/AlertPolicyOrBuilder.java (91%) create mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertProto.java create mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertServiceProto.java rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/BasicSli.java (76%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/BasicSliOrBuilder.java (87%) create mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CommonProto.java rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ComparisonType.java (72%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/CreateAlertPolicyRequest.java (68%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/CreateAlertPolicyRequestOrBuilder.java (66%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/CreateGroupRequest.java (70%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/CreateGroupRequestOrBuilder.java (65%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/CreateMetricDescriptorRequest.java (64%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/CreateMetricDescriptorRequestOrBuilder.java (52%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/CreateNotificationChannelRequest.java (65%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/CreateNotificationChannelRequestOrBuilder.java (58%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/CreateServiceLevelObjectiveRequest.java (66%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/CreateServiceLevelObjectiveRequestOrBuilder.java (59%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/CreateServiceRequest.java (69%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/CreateServiceRequestOrBuilder.java (61%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/CreateTimeSeriesError.java (66%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/CreateTimeSeriesErrorOrBuilder.java (58%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/CreateTimeSeriesRequest.java (71%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/CreateTimeSeriesRequestOrBuilder.java (65%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/CreateTimeSeriesSummary.java (75%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/CreateTimeSeriesSummaryOrBuilder.java (71%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequest.java (62%) create mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequestOrBuilder.java rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequest.java (66%) create mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequestOrBuilder.java rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/DeleteGroupRequest.java (68%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/DeleteGroupRequestOrBuilder.java (50%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequest.java (66%) create mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequestOrBuilder.java rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/DeleteNotificationChannelRequest.java (67%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/DeleteNotificationChannelRequestOrBuilder.java (53%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/DeleteServiceLevelObjectiveRequest.java (66%) create mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceLevelObjectiveRequestOrBuilder.java rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/DeleteServiceRequest.java (67%) create mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceRequestOrBuilder.java rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequest.java (64%) create mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequestOrBuilder.java rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/DistributionCut.java (73%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/DistributionCutOrBuilder.java (70%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/DroppedLabels.java (63%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/DroppedLabelsOrBuilder.java (52%) create mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabelsProto.java rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/FolderName.java (100%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequest.java (66%) create mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequestOrBuilder.java rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/GetGroupRequest.java (65%) create mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetGroupRequestOrBuilder.java rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequest.java (66%) create mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequestOrBuilder.java rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequest.java (64%) create mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequestOrBuilder.java rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequest.java (62%) create mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequestOrBuilder.java rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequest.java (65%) create mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequestOrBuilder.java rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeRequest.java (71%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeRequestOrBuilder.java (77%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeResponse.java (68%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeResponseOrBuilder.java (76%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/GetServiceLevelObjectiveRequest.java (70%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/GetServiceLevelObjectiveRequestOrBuilder.java (64%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/GetServiceRequest.java (66%) create mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceRequestOrBuilder.java rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequest.java (65%) create mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequestOrBuilder.java rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/Group.java (76%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/GroupName.java (100%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/GroupOrBuilder.java (74%) create mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupProto.java rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/GroupResourceType.java (70%) create mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupServiceProto.java rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/InternalChecker.java (75%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/InternalCheckerOrBuilder.java (77%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/LabelValue.java (70%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/LabelValueOrBuilder.java (65%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListAlertPoliciesRequest.java (74%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListAlertPoliciesRequestOrBuilder.java (75%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListAlertPoliciesResponse.java (74%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListAlertPoliciesResponseOrBuilder.java (71%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListGroupMembersRequest.java (73%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListGroupMembersRequestOrBuilder.java (76%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListGroupMembersResponse.java (74%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListGroupMembersResponseOrBuilder.java (70%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListGroupsRequest.java (75%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListGroupsRequestOrBuilder.java (81%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListGroupsResponse.java (74%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListGroupsResponseOrBuilder.java (66%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsRequest.java (72%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsRequestOrBuilder.java (70%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsResponse.java (75%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsResponseOrBuilder.java (73%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsRequest.java (70%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsRequestOrBuilder.java (71%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsResponse.java (74%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsResponseOrBuilder.java (74%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsRequest.java (68%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsRequestOrBuilder.java (70%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsResponse.java (69%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsResponseOrBuilder.java (72%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListNotificationChannelsRequest.java (74%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListNotificationChannelsRequestOrBuilder.java (75%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListNotificationChannelsResponse.java (75%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListNotificationChannelsResponseOrBuilder.java (73%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesRequest.java (73%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesRequestOrBuilder.java (73%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesResponse.java (73%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesResponseOrBuilder.java (74%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListServicesRequest.java (76%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListServicesRequestOrBuilder.java (77%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListServicesResponse.java (75%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListServicesResponseOrBuilder.java (68%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListTimeSeriesRequest.java (73%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListTimeSeriesRequestOrBuilder.java (78%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListTimeSeriesResponse.java (78%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListTimeSeriesResponseOrBuilder.java (77%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequest.java (70%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequestOrBuilder.java (63%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsResponse.java (76%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsResponseOrBuilder.java (73%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsRequest.java (72%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsRequestOrBuilder.java (66%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsResponse.java (76%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsResponseOrBuilder.java (75%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/MetricDescriptorName.java (100%) create mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricProto.java create mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceProto.java rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/MonitoredResourceDescriptorName.java (100%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/MutationRecord.java (70%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/MutationRecordOrBuilder.java (62%) create mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecordProto.java rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/NotificationChannel.java (76%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptor.java (76%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptorName.java (100%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptorOrBuilder.java (77%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/NotificationChannelName.java (100%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/NotificationChannelOrBuilder.java (87%) create mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationProto.java create mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationServiceProto.java rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/OrganizationName.java (100%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/Point.java (75%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/PointOrBuilder.java (82%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ProjectName.java (100%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/QueryError.java (70%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/QueryErrorList.java (75%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/QueryErrorListOrBuilder.java (68%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/QueryErrorOrBuilder.java (64%) create mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryServiceProto.java rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/QueryTimeSeriesRequest.java (74%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/QueryTimeSeriesRequestOrBuilder.java (73%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/QueryTimeSeriesResponse.java (77%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/QueryTimeSeriesResponseOrBuilder.java (77%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/Range.java (68%) create mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RangeOrBuilder.java rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/RequestBasedSli.java (73%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/RequestBasedSliOrBuilder.java (78%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequest.java (58%) create mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequestOrBuilder.java rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/Service.java (74%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ServiceLevelIndicator.java (71%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ServiceLevelIndicatorOrBuilder.java (75%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ServiceLevelObjective.java (73%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ServiceLevelObjectiveName.java (100%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ServiceLevelObjectiveOrBuilder.java (84%) create mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringProto.java create mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringServiceProto.java rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ServiceName.java (100%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ServiceOrBuilder.java (85%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ServiceTier.java (74%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/SpanContext.java (72%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/SpanContextOrBuilder.java (64%) create mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContextProto.java rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/TextLocator.java (75%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/TextLocatorOrBuilder.java (85%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/TimeInterval.java (75%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/TimeIntervalOrBuilder.java (72%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/TimeSeries.java (80%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/TimeSeriesData.java (78%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/TimeSeriesDataOrBuilder.java (80%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/TimeSeriesDescriptor.java (71%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/TimeSeriesDescriptorOrBuilder.java (57%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/TimeSeriesName.java (100%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/TimeSeriesOrBuilder.java (90%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/TimeSeriesRatio.java (76%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/TimeSeriesRatioOrBuilder.java (76%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/TypedValue.java (72%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/TypedValueOrBuilder.java (77%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/UpdateAlertPolicyRequest.java (77%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/UpdateAlertPolicyRequestOrBuilder.java (83%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/UpdateGroupRequest.java (72%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/UpdateGroupRequestOrBuilder.java (69%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/UpdateNotificationChannelRequest.java (66%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/UpdateNotificationChannelRequestOrBuilder.java (64%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/UpdateServiceLevelObjectiveRequest.java (65%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/UpdateServiceLevelObjectiveRequestOrBuilder.java (60%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/UpdateServiceRequest.java (71%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/UpdateServiceRequestOrBuilder.java (68%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/UpdateUptimeCheckConfigRequest.java (72%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/UpdateUptimeCheckConfigRequestOrBuilder.java (77%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/UptimeCheckConfig.java (74%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/UptimeCheckConfigName.java (100%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/UptimeCheckConfigOrBuilder.java (85%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/UptimeCheckIp.java (74%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/UptimeCheckIpOrBuilder.java (74%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/UptimeCheckRegion.java (72%) create mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeProto.java create mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeServiceProto.java rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/VerifyNotificationChannelRequest.java (69%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/VerifyNotificationChannelRequestOrBuilder.java (63%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/WindowsBasedSli.java (72%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/WindowsBasedSliOrBuilder.java (78%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/proto/google/monitoring/v3/alert.proto (99%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/proto/google/monitoring/v3/alert_service.proto (100%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/proto/google/monitoring/v3/common.proto (99%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/proto/google/monitoring/v3/dropped_labels.proto (100%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/proto/google/monitoring/v3/group.proto (100%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/proto/google/monitoring/v3/group_service.proto (100%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/proto/google/monitoring/v3/metric.proto (100%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/proto/google/monitoring/v3/metric_service.proto (100%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/proto/google/monitoring/v3/mutation_record.proto (100%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/proto/google/monitoring/v3/notification.proto (100%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/proto/google/monitoring/v3/notification_service.proto (100%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/proto/google/monitoring/v3/query_service.proto (100%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/proto/google/monitoring/v3/service.proto (100%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/proto/google/monitoring/v3/service_service.proto (100%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/proto/google/monitoring/v3/span_context.proto (100%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/proto/google/monitoring/v3/uptime.proto (100%) rename {proto-google-cloud-monitoring-v3 => owl-bot-staging/v3/proto-google-cloud-monitoring-v3}/src/main/proto/google/monitoring/v3/uptime_service.proto (100%) delete mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertProto.java delete mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertServiceProto.java delete mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CommonProto.java delete mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequestOrBuilder.java delete mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequestOrBuilder.java delete mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequestOrBuilder.java delete mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceLevelObjectiveRequestOrBuilder.java delete mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceRequestOrBuilder.java delete mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequestOrBuilder.java delete mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabelsProto.java delete mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequestOrBuilder.java delete mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetGroupRequestOrBuilder.java delete mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequestOrBuilder.java delete mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequestOrBuilder.java delete mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequestOrBuilder.java delete mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequestOrBuilder.java delete mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceRequestOrBuilder.java delete mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequestOrBuilder.java delete mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupProto.java delete mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupServiceProto.java delete mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricProto.java delete mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceProto.java delete mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecordProto.java delete mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationProto.java delete mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationServiceProto.java delete mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryServiceProto.java delete mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RangeOrBuilder.java delete mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequestOrBuilder.java delete mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringProto.java delete mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringServiceProto.java delete mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContextProto.java delete mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeProto.java delete mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeServiceProto.java diff --git a/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceGrpc.java b/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceGrpc.java deleted file mode 100644 index 737ec675..00000000 --- a/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceGrpc.java +++ /dev/null @@ -1,1386 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.monitoring.v3; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Manages metric descriptors, monitored resource descriptors, and
- * time series data.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/monitoring/v3/metric_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class MetricServiceGrpc { - - private MetricServiceGrpc() {} - - public static final String SERVICE_NAME = "google.monitoring.v3.MetricService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest, - com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse> - getListMonitoredResourceDescriptorsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListMonitoredResourceDescriptors", - requestType = com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest.class, - responseType = com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest, - com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse> - getListMonitoredResourceDescriptorsMethod() { - io.grpc.MethodDescriptor< - com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest, - com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse> - getListMonitoredResourceDescriptorsMethod; - if ((getListMonitoredResourceDescriptorsMethod = - MetricServiceGrpc.getListMonitoredResourceDescriptorsMethod) - == null) { - synchronized (MetricServiceGrpc.class) { - if ((getListMonitoredResourceDescriptorsMethod = - MetricServiceGrpc.getListMonitoredResourceDescriptorsMethod) - == null) { - MetricServiceGrpc.getListMonitoredResourceDescriptorsMethod = - getListMonitoredResourceDescriptorsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListMonitoredResourceDescriptors")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new MetricServiceMethodDescriptorSupplier( - "ListMonitoredResourceDescriptors")) - .build(); - } - } - } - return getListMonitoredResourceDescriptorsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest, - com.google.api.MonitoredResourceDescriptor> - getGetMonitoredResourceDescriptorMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetMonitoredResourceDescriptor", - requestType = com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest.class, - responseType = com.google.api.MonitoredResourceDescriptor.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest, - com.google.api.MonitoredResourceDescriptor> - getGetMonitoredResourceDescriptorMethod() { - io.grpc.MethodDescriptor< - com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest, - com.google.api.MonitoredResourceDescriptor> - getGetMonitoredResourceDescriptorMethod; - if ((getGetMonitoredResourceDescriptorMethod = - MetricServiceGrpc.getGetMonitoredResourceDescriptorMethod) - == null) { - synchronized (MetricServiceGrpc.class) { - if ((getGetMonitoredResourceDescriptorMethod = - MetricServiceGrpc.getGetMonitoredResourceDescriptorMethod) - == null) { - MetricServiceGrpc.getGetMonitoredResourceDescriptorMethod = - getGetMonitoredResourceDescriptorMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetMonitoredResourceDescriptor")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.api.MonitoredResourceDescriptor.getDefaultInstance())) - .setSchemaDescriptor( - new MetricServiceMethodDescriptorSupplier( - "GetMonitoredResourceDescriptor")) - .build(); - } - } - } - return getGetMonitoredResourceDescriptorMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.monitoring.v3.ListMetricDescriptorsRequest, - com.google.monitoring.v3.ListMetricDescriptorsResponse> - getListMetricDescriptorsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListMetricDescriptors", - requestType = com.google.monitoring.v3.ListMetricDescriptorsRequest.class, - responseType = com.google.monitoring.v3.ListMetricDescriptorsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.monitoring.v3.ListMetricDescriptorsRequest, - com.google.monitoring.v3.ListMetricDescriptorsResponse> - getListMetricDescriptorsMethod() { - io.grpc.MethodDescriptor< - com.google.monitoring.v3.ListMetricDescriptorsRequest, - com.google.monitoring.v3.ListMetricDescriptorsResponse> - getListMetricDescriptorsMethod; - if ((getListMetricDescriptorsMethod = MetricServiceGrpc.getListMetricDescriptorsMethod) - == null) { - synchronized (MetricServiceGrpc.class) { - if ((getListMetricDescriptorsMethod = MetricServiceGrpc.getListMetricDescriptorsMethod) - == null) { - MetricServiceGrpc.getListMetricDescriptorsMethod = - getListMetricDescriptorsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListMetricDescriptors")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.ListMetricDescriptorsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.ListMetricDescriptorsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new MetricServiceMethodDescriptorSupplier("ListMetricDescriptors")) - .build(); - } - } - } - return getListMetricDescriptorsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.monitoring.v3.GetMetricDescriptorRequest, com.google.api.MetricDescriptor> - getGetMetricDescriptorMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetMetricDescriptor", - requestType = com.google.monitoring.v3.GetMetricDescriptorRequest.class, - responseType = com.google.api.MetricDescriptor.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.monitoring.v3.GetMetricDescriptorRequest, com.google.api.MetricDescriptor> - getGetMetricDescriptorMethod() { - io.grpc.MethodDescriptor< - com.google.monitoring.v3.GetMetricDescriptorRequest, com.google.api.MetricDescriptor> - getGetMetricDescriptorMethod; - if ((getGetMetricDescriptorMethod = MetricServiceGrpc.getGetMetricDescriptorMethod) == null) { - synchronized (MetricServiceGrpc.class) { - if ((getGetMetricDescriptorMethod = MetricServiceGrpc.getGetMetricDescriptorMethod) - == null) { - MetricServiceGrpc.getGetMetricDescriptorMethod = - getGetMetricDescriptorMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetMetricDescriptor")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.GetMetricDescriptorRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.api.MetricDescriptor.getDefaultInstance())) - .setSchemaDescriptor( - new MetricServiceMethodDescriptorSupplier("GetMetricDescriptor")) - .build(); - } - } - } - return getGetMetricDescriptorMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.monitoring.v3.CreateMetricDescriptorRequest, com.google.api.MetricDescriptor> - getCreateMetricDescriptorMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateMetricDescriptor", - requestType = com.google.monitoring.v3.CreateMetricDescriptorRequest.class, - responseType = com.google.api.MetricDescriptor.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.monitoring.v3.CreateMetricDescriptorRequest, com.google.api.MetricDescriptor> - getCreateMetricDescriptorMethod() { - io.grpc.MethodDescriptor< - com.google.monitoring.v3.CreateMetricDescriptorRequest, com.google.api.MetricDescriptor> - getCreateMetricDescriptorMethod; - if ((getCreateMetricDescriptorMethod = MetricServiceGrpc.getCreateMetricDescriptorMethod) - == null) { - synchronized (MetricServiceGrpc.class) { - if ((getCreateMetricDescriptorMethod = MetricServiceGrpc.getCreateMetricDescriptorMethod) - == null) { - MetricServiceGrpc.getCreateMetricDescriptorMethod = - getCreateMetricDescriptorMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateMetricDescriptor")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.CreateMetricDescriptorRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.api.MetricDescriptor.getDefaultInstance())) - .setSchemaDescriptor( - new MetricServiceMethodDescriptorSupplier("CreateMetricDescriptor")) - .build(); - } - } - } - return getCreateMetricDescriptorMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.monitoring.v3.DeleteMetricDescriptorRequest, com.google.protobuf.Empty> - getDeleteMetricDescriptorMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteMetricDescriptor", - requestType = com.google.monitoring.v3.DeleteMetricDescriptorRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.monitoring.v3.DeleteMetricDescriptorRequest, com.google.protobuf.Empty> - getDeleteMetricDescriptorMethod() { - io.grpc.MethodDescriptor< - com.google.monitoring.v3.DeleteMetricDescriptorRequest, com.google.protobuf.Empty> - getDeleteMetricDescriptorMethod; - if ((getDeleteMetricDescriptorMethod = MetricServiceGrpc.getDeleteMetricDescriptorMethod) - == null) { - synchronized (MetricServiceGrpc.class) { - if ((getDeleteMetricDescriptorMethod = MetricServiceGrpc.getDeleteMetricDescriptorMethod) - == null) { - MetricServiceGrpc.getDeleteMetricDescriptorMethod = - getDeleteMetricDescriptorMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteMetricDescriptor")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.DeleteMetricDescriptorRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new MetricServiceMethodDescriptorSupplier("DeleteMetricDescriptor")) - .build(); - } - } - } - return getDeleteMetricDescriptorMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.monitoring.v3.ListTimeSeriesRequest, - com.google.monitoring.v3.ListTimeSeriesResponse> - getListTimeSeriesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTimeSeries", - requestType = com.google.monitoring.v3.ListTimeSeriesRequest.class, - responseType = com.google.monitoring.v3.ListTimeSeriesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.monitoring.v3.ListTimeSeriesRequest, - com.google.monitoring.v3.ListTimeSeriesResponse> - getListTimeSeriesMethod() { - io.grpc.MethodDescriptor< - com.google.monitoring.v3.ListTimeSeriesRequest, - com.google.monitoring.v3.ListTimeSeriesResponse> - getListTimeSeriesMethod; - if ((getListTimeSeriesMethod = MetricServiceGrpc.getListTimeSeriesMethod) == null) { - synchronized (MetricServiceGrpc.class) { - if ((getListTimeSeriesMethod = MetricServiceGrpc.getListTimeSeriesMethod) == null) { - MetricServiceGrpc.getListTimeSeriesMethod = - getListTimeSeriesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTimeSeries")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.ListTimeSeriesRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.ListTimeSeriesResponse.getDefaultInstance())) - .setSchemaDescriptor( - new MetricServiceMethodDescriptorSupplier("ListTimeSeries")) - .build(); - } - } - } - return getListTimeSeriesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.monitoring.v3.CreateTimeSeriesRequest, com.google.protobuf.Empty> - getCreateTimeSeriesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTimeSeries", - requestType = com.google.monitoring.v3.CreateTimeSeriesRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.monitoring.v3.CreateTimeSeriesRequest, com.google.protobuf.Empty> - getCreateTimeSeriesMethod() { - io.grpc.MethodDescriptor< - com.google.monitoring.v3.CreateTimeSeriesRequest, com.google.protobuf.Empty> - getCreateTimeSeriesMethod; - if ((getCreateTimeSeriesMethod = MetricServiceGrpc.getCreateTimeSeriesMethod) == null) { - synchronized (MetricServiceGrpc.class) { - if ((getCreateTimeSeriesMethod = MetricServiceGrpc.getCreateTimeSeriesMethod) == null) { - MetricServiceGrpc.getCreateTimeSeriesMethod = - getCreateTimeSeriesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTimeSeries")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.CreateTimeSeriesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new MetricServiceMethodDescriptorSupplier("CreateTimeSeries")) - .build(); - } - } - } - return getCreateTimeSeriesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.monitoring.v3.CreateTimeSeriesRequest, com.google.protobuf.Empty> - getCreateServiceTimeSeriesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateServiceTimeSeries", - requestType = com.google.monitoring.v3.CreateTimeSeriesRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.monitoring.v3.CreateTimeSeriesRequest, com.google.protobuf.Empty> - getCreateServiceTimeSeriesMethod() { - io.grpc.MethodDescriptor< - com.google.monitoring.v3.CreateTimeSeriesRequest, com.google.protobuf.Empty> - getCreateServiceTimeSeriesMethod; - if ((getCreateServiceTimeSeriesMethod = MetricServiceGrpc.getCreateServiceTimeSeriesMethod) - == null) { - synchronized (MetricServiceGrpc.class) { - if ((getCreateServiceTimeSeriesMethod = MetricServiceGrpc.getCreateServiceTimeSeriesMethod) - == null) { - MetricServiceGrpc.getCreateServiceTimeSeriesMethod = - getCreateServiceTimeSeriesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateServiceTimeSeries")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.CreateTimeSeriesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new MetricServiceMethodDescriptorSupplier("CreateServiceTimeSeries")) - .build(); - } - } - } - return getCreateServiceTimeSeriesMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static MetricServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public MetricServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MetricServiceStub(channel, callOptions); - } - }; - return MetricServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static MetricServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public MetricServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MetricServiceBlockingStub(channel, callOptions); - } - }; - return MetricServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static MetricServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public MetricServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MetricServiceFutureStub(channel, callOptions); - } - }; - return MetricServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Manages metric descriptors, monitored resource descriptors, and
-   * time series data.
-   * 
- */ - public abstract static class MetricServiceImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Lists monitored resource descriptors that match a filter. This method does not require a Workspace.
-     * 
- */ - public void listMonitoredResourceDescriptors( - com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest request, - io.grpc.stub.StreamObserver< - com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListMonitoredResourceDescriptorsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a single monitored resource descriptor. This method does not require a Workspace.
-     * 
- */ - public void getMonitoredResourceDescriptor( - com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetMonitoredResourceDescriptorMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists metric descriptors that match a filter. This method does not require a Workspace.
-     * 
- */ - public void listMetricDescriptors( - com.google.monitoring.v3.ListMetricDescriptorsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListMetricDescriptorsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a single metric descriptor. This method does not require a Workspace.
-     * 
- */ - public void getMetricDescriptor( - com.google.monitoring.v3.GetMetricDescriptorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetMetricDescriptorMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new metric descriptor.
-     * The creation is executed asynchronously and callers may check the returned
-     * operation to track its progress.
-     * User-created metric descriptors define
-     * [custom metrics](https://cloud.google.com/monitoring/custom-metrics).
-     * 
- */ - public void createMetricDescriptor( - com.google.monitoring.v3.CreateMetricDescriptorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateMetricDescriptorMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a metric descriptor. Only user-created
-     * [custom metrics](https://cloud.google.com/monitoring/custom-metrics) can be
-     * deleted.
-     * 
- */ - public void deleteMetricDescriptor( - com.google.monitoring.v3.DeleteMetricDescriptorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteMetricDescriptorMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists time series that match a filter. This method does not require a Workspace.
-     * 
- */ - public void listTimeSeries( - com.google.monitoring.v3.ListTimeSeriesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListTimeSeriesMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates or adds data to one or more time series.
-     * The response is empty if all time series in the request were written.
-     * If any time series could not be written, a corresponding failure message is
-     * included in the error response.
-     * 
- */ - public void createTimeSeries( - com.google.monitoring.v3.CreateTimeSeriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateTimeSeriesMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates or adds data to one or more service time series. A service time
-     * series is a time series for a metric from a Google Cloud service. The
-     * response is empty if all time series in the request were written. If any
-     * time series could not be written, a corresponding failure message is
-     * included in the error response. This endpoint rejects writes to
-     * user-defined metrics.
-     * This method is only for use by Google Cloud services. Use
-     * [projects.timeSeries.create][google.monitoring.v3.MetricService.CreateTimeSeries]
-     * instead.
-     * 
- */ - public void createServiceTimeSeries( - com.google.monitoring.v3.CreateTimeSeriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateServiceTimeSeriesMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListMonitoredResourceDescriptorsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest, - com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse>( - this, METHODID_LIST_MONITORED_RESOURCE_DESCRIPTORS))) - .addMethod( - getGetMonitoredResourceDescriptorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest, - com.google.api.MonitoredResourceDescriptor>( - this, METHODID_GET_MONITORED_RESOURCE_DESCRIPTOR))) - .addMethod( - getListMetricDescriptorsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.ListMetricDescriptorsRequest, - com.google.monitoring.v3.ListMetricDescriptorsResponse>( - this, METHODID_LIST_METRIC_DESCRIPTORS))) - .addMethod( - getGetMetricDescriptorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.GetMetricDescriptorRequest, - com.google.api.MetricDescriptor>(this, METHODID_GET_METRIC_DESCRIPTOR))) - .addMethod( - getCreateMetricDescriptorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.CreateMetricDescriptorRequest, - com.google.api.MetricDescriptor>(this, METHODID_CREATE_METRIC_DESCRIPTOR))) - .addMethod( - getDeleteMetricDescriptorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.DeleteMetricDescriptorRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_METRIC_DESCRIPTOR))) - .addMethod( - getListTimeSeriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.ListTimeSeriesRequest, - com.google.monitoring.v3.ListTimeSeriesResponse>( - this, METHODID_LIST_TIME_SERIES))) - .addMethod( - getCreateTimeSeriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.CreateTimeSeriesRequest, com.google.protobuf.Empty>( - this, METHODID_CREATE_TIME_SERIES))) - .addMethod( - getCreateServiceTimeSeriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.CreateTimeSeriesRequest, com.google.protobuf.Empty>( - this, METHODID_CREATE_SERVICE_TIME_SERIES))) - .build(); - } - } - - /** - * - * - *
-   * Manages metric descriptors, monitored resource descriptors, and
-   * time series data.
-   * 
- */ - public static final class MetricServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private MetricServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected MetricServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MetricServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists monitored resource descriptors that match a filter. This method does not require a Workspace.
-     * 
- */ - public void listMonitoredResourceDescriptors( - com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest request, - io.grpc.stub.StreamObserver< - com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListMonitoredResourceDescriptorsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a single monitored resource descriptor. This method does not require a Workspace.
-     * 
- */ - public void getMonitoredResourceDescriptor( - com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetMonitoredResourceDescriptorMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists metric descriptors that match a filter. This method does not require a Workspace.
-     * 
- */ - public void listMetricDescriptors( - com.google.monitoring.v3.ListMetricDescriptorsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListMetricDescriptorsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a single metric descriptor. This method does not require a Workspace.
-     * 
- */ - public void getMetricDescriptor( - com.google.monitoring.v3.GetMetricDescriptorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetMetricDescriptorMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a new metric descriptor.
-     * The creation is executed asynchronously and callers may check the returned
-     * operation to track its progress.
-     * User-created metric descriptors define
-     * [custom metrics](https://cloud.google.com/monitoring/custom-metrics).
-     * 
- */ - public void createMetricDescriptor( - com.google.monitoring.v3.CreateMetricDescriptorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateMetricDescriptorMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a metric descriptor. Only user-created
-     * [custom metrics](https://cloud.google.com/monitoring/custom-metrics) can be
-     * deleted.
-     * 
- */ - public void deleteMetricDescriptor( - com.google.monitoring.v3.DeleteMetricDescriptorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteMetricDescriptorMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists time series that match a filter. This method does not require a Workspace.
-     * 
- */ - public void listTimeSeries( - com.google.monitoring.v3.ListTimeSeriesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTimeSeriesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates or adds data to one or more time series.
-     * The response is empty if all time series in the request were written.
-     * If any time series could not be written, a corresponding failure message is
-     * included in the error response.
-     * 
- */ - public void createTimeSeries( - com.google.monitoring.v3.CreateTimeSeriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTimeSeriesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates or adds data to one or more service time series. A service time
-     * series is a time series for a metric from a Google Cloud service. The
-     * response is empty if all time series in the request were written. If any
-     * time series could not be written, a corresponding failure message is
-     * included in the error response. This endpoint rejects writes to
-     * user-defined metrics.
-     * This method is only for use by Google Cloud services. Use
-     * [projects.timeSeries.create][google.monitoring.v3.MetricService.CreateTimeSeries]
-     * instead.
-     * 
- */ - public void createServiceTimeSeries( - com.google.monitoring.v3.CreateTimeSeriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateServiceTimeSeriesMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * Manages metric descriptors, monitored resource descriptors, and
-   * time series data.
-   * 
- */ - public static final class MetricServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private MetricServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected MetricServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MetricServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists monitored resource descriptors that match a filter. This method does not require a Workspace.
-     * 
- */ - public com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse - listMonitoredResourceDescriptors( - com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListMonitoredResourceDescriptorsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a single monitored resource descriptor. This method does not require a Workspace.
-     * 
- */ - public com.google.api.MonitoredResourceDescriptor getMonitoredResourceDescriptor( - com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetMonitoredResourceDescriptorMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists metric descriptors that match a filter. This method does not require a Workspace.
-     * 
- */ - public com.google.monitoring.v3.ListMetricDescriptorsResponse listMetricDescriptors( - com.google.monitoring.v3.ListMetricDescriptorsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListMetricDescriptorsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a single metric descriptor. This method does not require a Workspace.
-     * 
- */ - public com.google.api.MetricDescriptor getMetricDescriptor( - com.google.monitoring.v3.GetMetricDescriptorRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetMetricDescriptorMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new metric descriptor.
-     * The creation is executed asynchronously and callers may check the returned
-     * operation to track its progress.
-     * User-created metric descriptors define
-     * [custom metrics](https://cloud.google.com/monitoring/custom-metrics).
-     * 
- */ - public com.google.api.MetricDescriptor createMetricDescriptor( - com.google.monitoring.v3.CreateMetricDescriptorRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateMetricDescriptorMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a metric descriptor. Only user-created
-     * [custom metrics](https://cloud.google.com/monitoring/custom-metrics) can be
-     * deleted.
-     * 
- */ - public com.google.protobuf.Empty deleteMetricDescriptor( - com.google.monitoring.v3.DeleteMetricDescriptorRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteMetricDescriptorMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists time series that match a filter. This method does not require a Workspace.
-     * 
- */ - public com.google.monitoring.v3.ListTimeSeriesResponse listTimeSeries( - com.google.monitoring.v3.ListTimeSeriesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTimeSeriesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates or adds data to one or more time series.
-     * The response is empty if all time series in the request were written.
-     * If any time series could not be written, a corresponding failure message is
-     * included in the error response.
-     * 
- */ - public com.google.protobuf.Empty createTimeSeries( - com.google.monitoring.v3.CreateTimeSeriesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTimeSeriesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates or adds data to one or more service time series. A service time
-     * series is a time series for a metric from a Google Cloud service. The
-     * response is empty if all time series in the request were written. If any
-     * time series could not be written, a corresponding failure message is
-     * included in the error response. This endpoint rejects writes to
-     * user-defined metrics.
-     * This method is only for use by Google Cloud services. Use
-     * [projects.timeSeries.create][google.monitoring.v3.MetricService.CreateTimeSeries]
-     * instead.
-     * 
- */ - public com.google.protobuf.Empty createServiceTimeSeries( - com.google.monitoring.v3.CreateTimeSeriesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateServiceTimeSeriesMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * Manages metric descriptors, monitored resource descriptors, and
-   * time series data.
-   * 
- */ - public static final class MetricServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private MetricServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected MetricServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MetricServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists monitored resource descriptors that match a filter. This method does not require a Workspace.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse> - listMonitoredResourceDescriptors( - com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListMonitoredResourceDescriptorsMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Gets a single monitored resource descriptor. This method does not require a Workspace.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.api.MonitoredResourceDescriptor> - getMonitoredResourceDescriptor( - com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetMonitoredResourceDescriptorMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Lists metric descriptors that match a filter. This method does not require a Workspace.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.monitoring.v3.ListMetricDescriptorsResponse> - listMetricDescriptors(com.google.monitoring.v3.ListMetricDescriptorsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListMetricDescriptorsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a single metric descriptor. This method does not require a Workspace.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getMetricDescriptor(com.google.monitoring.v3.GetMetricDescriptorRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetMetricDescriptorMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new metric descriptor.
-     * The creation is executed asynchronously and callers may check the returned
-     * operation to track its progress.
-     * User-created metric descriptors define
-     * [custom metrics](https://cloud.google.com/monitoring/custom-metrics).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createMetricDescriptor(com.google.monitoring.v3.CreateMetricDescriptorRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateMetricDescriptorMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a metric descriptor. Only user-created
-     * [custom metrics](https://cloud.google.com/monitoring/custom-metrics) can be
-     * deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteMetricDescriptor(com.google.monitoring.v3.DeleteMetricDescriptorRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteMetricDescriptorMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists time series that match a filter. This method does not require a Workspace.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.monitoring.v3.ListTimeSeriesResponse> - listTimeSeries(com.google.monitoring.v3.ListTimeSeriesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTimeSeriesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates or adds data to one or more time series.
-     * The response is empty if all time series in the request were written.
-     * If any time series could not be written, a corresponding failure message is
-     * included in the error response.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createTimeSeries(com.google.monitoring.v3.CreateTimeSeriesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTimeSeriesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates or adds data to one or more service time series. A service time
-     * series is a time series for a metric from a Google Cloud service. The
-     * response is empty if all time series in the request were written. If any
-     * time series could not be written, a corresponding failure message is
-     * included in the error response. This endpoint rejects writes to
-     * user-defined metrics.
-     * This method is only for use by Google Cloud services. Use
-     * [projects.timeSeries.create][google.monitoring.v3.MetricService.CreateTimeSeries]
-     * instead.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createServiceTimeSeries(com.google.monitoring.v3.CreateTimeSeriesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateServiceTimeSeriesMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_MONITORED_RESOURCE_DESCRIPTORS = 0; - private static final int METHODID_GET_MONITORED_RESOURCE_DESCRIPTOR = 1; - private static final int METHODID_LIST_METRIC_DESCRIPTORS = 2; - private static final int METHODID_GET_METRIC_DESCRIPTOR = 3; - private static final int METHODID_CREATE_METRIC_DESCRIPTOR = 4; - private static final int METHODID_DELETE_METRIC_DESCRIPTOR = 5; - private static final int METHODID_LIST_TIME_SERIES = 6; - private static final int METHODID_CREATE_TIME_SERIES = 7; - private static final int METHODID_CREATE_SERVICE_TIME_SERIES = 8; - - 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 MetricServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(MetricServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_LIST_MONITORED_RESOURCE_DESCRIPTORS: - serviceImpl.listMonitoredResourceDescriptors( - (com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse>) - responseObserver); - break; - case METHODID_GET_MONITORED_RESOURCE_DESCRIPTOR: - serviceImpl.getMonitoredResourceDescriptor( - (com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_METRIC_DESCRIPTORS: - serviceImpl.listMetricDescriptors( - (com.google.monitoring.v3.ListMetricDescriptorsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_METRIC_DESCRIPTOR: - serviceImpl.getMetricDescriptor( - (com.google.monitoring.v3.GetMetricDescriptorRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_METRIC_DESCRIPTOR: - serviceImpl.createMetricDescriptor( - (com.google.monitoring.v3.CreateMetricDescriptorRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_METRIC_DESCRIPTOR: - serviceImpl.deleteMetricDescriptor( - (com.google.monitoring.v3.DeleteMetricDescriptorRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_TIME_SERIES: - serviceImpl.listTimeSeries( - (com.google.monitoring.v3.ListTimeSeriesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_TIME_SERIES: - serviceImpl.createTimeSeries( - (com.google.monitoring.v3.CreateTimeSeriesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_SERVICE_TIME_SERIES: - serviceImpl.createServiceTimeSeries( - (com.google.monitoring.v3.CreateTimeSeriesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class MetricServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - MetricServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.monitoring.v3.MetricServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("MetricService"); - } - } - - private static final class MetricServiceFileDescriptorSupplier - extends MetricServiceBaseDescriptorSupplier { - MetricServiceFileDescriptorSupplier() {} - } - - private static final class MetricServiceMethodDescriptorSupplier - extends MetricServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - MetricServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (MetricServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new MetricServiceFileDescriptorSupplier()) - .addMethod(getListMonitoredResourceDescriptorsMethod()) - .addMethod(getGetMonitoredResourceDescriptorMethod()) - .addMethod(getListMetricDescriptorsMethod()) - .addMethod(getGetMetricDescriptorMethod()) - .addMethod(getCreateMetricDescriptorMethod()) - .addMethod(getDeleteMetricDescriptorMethod()) - .addMethod(getListTimeSeriesMethod()) - .addMethod(getCreateTimeSeriesMethod()) - .addMethod(getCreateServiceTimeSeriesMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelServiceGrpc.java b/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelServiceGrpc.java deleted file mode 100644 index 0a904986..00000000 --- a/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelServiceGrpc.java +++ /dev/null @@ -1,1658 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.monitoring.v3; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * The Notification Channel API provides access to configuration that
- * controls how messages related to incidents are sent.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/monitoring/v3/notification_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class NotificationChannelServiceGrpc { - - private NotificationChannelServiceGrpc() {} - - public static final String SERVICE_NAME = "google.monitoring.v3.NotificationChannelService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest, - com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse> - getListNotificationChannelDescriptorsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListNotificationChannelDescriptors", - requestType = com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest.class, - responseType = com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest, - com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse> - getListNotificationChannelDescriptorsMethod() { - io.grpc.MethodDescriptor< - com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest, - com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse> - getListNotificationChannelDescriptorsMethod; - if ((getListNotificationChannelDescriptorsMethod = - NotificationChannelServiceGrpc.getListNotificationChannelDescriptorsMethod) - == null) { - synchronized (NotificationChannelServiceGrpc.class) { - if ((getListNotificationChannelDescriptorsMethod = - NotificationChannelServiceGrpc.getListNotificationChannelDescriptorsMethod) - == null) { - NotificationChannelServiceGrpc.getListNotificationChannelDescriptorsMethod = - getListNotificationChannelDescriptorsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - SERVICE_NAME, "ListNotificationChannelDescriptors")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new NotificationChannelServiceMethodDescriptorSupplier( - "ListNotificationChannelDescriptors")) - .build(); - } - } - } - return getListNotificationChannelDescriptorsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.monitoring.v3.GetNotificationChannelDescriptorRequest, - com.google.monitoring.v3.NotificationChannelDescriptor> - getGetNotificationChannelDescriptorMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetNotificationChannelDescriptor", - requestType = com.google.monitoring.v3.GetNotificationChannelDescriptorRequest.class, - responseType = com.google.monitoring.v3.NotificationChannelDescriptor.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.monitoring.v3.GetNotificationChannelDescriptorRequest, - com.google.monitoring.v3.NotificationChannelDescriptor> - getGetNotificationChannelDescriptorMethod() { - io.grpc.MethodDescriptor< - com.google.monitoring.v3.GetNotificationChannelDescriptorRequest, - com.google.monitoring.v3.NotificationChannelDescriptor> - getGetNotificationChannelDescriptorMethod; - if ((getGetNotificationChannelDescriptorMethod = - NotificationChannelServiceGrpc.getGetNotificationChannelDescriptorMethod) - == null) { - synchronized (NotificationChannelServiceGrpc.class) { - if ((getGetNotificationChannelDescriptorMethod = - NotificationChannelServiceGrpc.getGetNotificationChannelDescriptorMethod) - == null) { - NotificationChannelServiceGrpc.getGetNotificationChannelDescriptorMethod = - getGetNotificationChannelDescriptorMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetNotificationChannelDescriptor")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.GetNotificationChannelDescriptorRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.NotificationChannelDescriptor - .getDefaultInstance())) - .setSchemaDescriptor( - new NotificationChannelServiceMethodDescriptorSupplier( - "GetNotificationChannelDescriptor")) - .build(); - } - } - } - return getGetNotificationChannelDescriptorMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.monitoring.v3.ListNotificationChannelsRequest, - com.google.monitoring.v3.ListNotificationChannelsResponse> - getListNotificationChannelsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListNotificationChannels", - requestType = com.google.monitoring.v3.ListNotificationChannelsRequest.class, - responseType = com.google.monitoring.v3.ListNotificationChannelsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.monitoring.v3.ListNotificationChannelsRequest, - com.google.monitoring.v3.ListNotificationChannelsResponse> - getListNotificationChannelsMethod() { - io.grpc.MethodDescriptor< - com.google.monitoring.v3.ListNotificationChannelsRequest, - com.google.monitoring.v3.ListNotificationChannelsResponse> - getListNotificationChannelsMethod; - if ((getListNotificationChannelsMethod = - NotificationChannelServiceGrpc.getListNotificationChannelsMethod) - == null) { - synchronized (NotificationChannelServiceGrpc.class) { - if ((getListNotificationChannelsMethod = - NotificationChannelServiceGrpc.getListNotificationChannelsMethod) - == null) { - NotificationChannelServiceGrpc.getListNotificationChannelsMethod = - getListNotificationChannelsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListNotificationChannels")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.ListNotificationChannelsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.ListNotificationChannelsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new NotificationChannelServiceMethodDescriptorSupplier( - "ListNotificationChannels")) - .build(); - } - } - } - return getListNotificationChannelsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.monitoring.v3.GetNotificationChannelRequest, - com.google.monitoring.v3.NotificationChannel> - getGetNotificationChannelMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetNotificationChannel", - requestType = com.google.monitoring.v3.GetNotificationChannelRequest.class, - responseType = com.google.monitoring.v3.NotificationChannel.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.monitoring.v3.GetNotificationChannelRequest, - com.google.monitoring.v3.NotificationChannel> - getGetNotificationChannelMethod() { - io.grpc.MethodDescriptor< - com.google.monitoring.v3.GetNotificationChannelRequest, - com.google.monitoring.v3.NotificationChannel> - getGetNotificationChannelMethod; - if ((getGetNotificationChannelMethod = - NotificationChannelServiceGrpc.getGetNotificationChannelMethod) - == null) { - synchronized (NotificationChannelServiceGrpc.class) { - if ((getGetNotificationChannelMethod = - NotificationChannelServiceGrpc.getGetNotificationChannelMethod) - == null) { - NotificationChannelServiceGrpc.getGetNotificationChannelMethod = - getGetNotificationChannelMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetNotificationChannel")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.GetNotificationChannelRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.NotificationChannel.getDefaultInstance())) - .setSchemaDescriptor( - new NotificationChannelServiceMethodDescriptorSupplier( - "GetNotificationChannel")) - .build(); - } - } - } - return getGetNotificationChannelMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.monitoring.v3.CreateNotificationChannelRequest, - com.google.monitoring.v3.NotificationChannel> - getCreateNotificationChannelMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateNotificationChannel", - requestType = com.google.monitoring.v3.CreateNotificationChannelRequest.class, - responseType = com.google.monitoring.v3.NotificationChannel.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.monitoring.v3.CreateNotificationChannelRequest, - com.google.monitoring.v3.NotificationChannel> - getCreateNotificationChannelMethod() { - io.grpc.MethodDescriptor< - com.google.monitoring.v3.CreateNotificationChannelRequest, - com.google.monitoring.v3.NotificationChannel> - getCreateNotificationChannelMethod; - if ((getCreateNotificationChannelMethod = - NotificationChannelServiceGrpc.getCreateNotificationChannelMethod) - == null) { - synchronized (NotificationChannelServiceGrpc.class) { - if ((getCreateNotificationChannelMethod = - NotificationChannelServiceGrpc.getCreateNotificationChannelMethod) - == null) { - NotificationChannelServiceGrpc.getCreateNotificationChannelMethod = - getCreateNotificationChannelMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateNotificationChannel")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.CreateNotificationChannelRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.NotificationChannel.getDefaultInstance())) - .setSchemaDescriptor( - new NotificationChannelServiceMethodDescriptorSupplier( - "CreateNotificationChannel")) - .build(); - } - } - } - return getCreateNotificationChannelMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.monitoring.v3.UpdateNotificationChannelRequest, - com.google.monitoring.v3.NotificationChannel> - getUpdateNotificationChannelMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateNotificationChannel", - requestType = com.google.monitoring.v3.UpdateNotificationChannelRequest.class, - responseType = com.google.monitoring.v3.NotificationChannel.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.monitoring.v3.UpdateNotificationChannelRequest, - com.google.monitoring.v3.NotificationChannel> - getUpdateNotificationChannelMethod() { - io.grpc.MethodDescriptor< - com.google.monitoring.v3.UpdateNotificationChannelRequest, - com.google.monitoring.v3.NotificationChannel> - getUpdateNotificationChannelMethod; - if ((getUpdateNotificationChannelMethod = - NotificationChannelServiceGrpc.getUpdateNotificationChannelMethod) - == null) { - synchronized (NotificationChannelServiceGrpc.class) { - if ((getUpdateNotificationChannelMethod = - NotificationChannelServiceGrpc.getUpdateNotificationChannelMethod) - == null) { - NotificationChannelServiceGrpc.getUpdateNotificationChannelMethod = - getUpdateNotificationChannelMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateNotificationChannel")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.UpdateNotificationChannelRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.NotificationChannel.getDefaultInstance())) - .setSchemaDescriptor( - new NotificationChannelServiceMethodDescriptorSupplier( - "UpdateNotificationChannel")) - .build(); - } - } - } - return getUpdateNotificationChannelMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.monitoring.v3.DeleteNotificationChannelRequest, com.google.protobuf.Empty> - getDeleteNotificationChannelMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteNotificationChannel", - requestType = com.google.monitoring.v3.DeleteNotificationChannelRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.monitoring.v3.DeleteNotificationChannelRequest, com.google.protobuf.Empty> - getDeleteNotificationChannelMethod() { - io.grpc.MethodDescriptor< - com.google.monitoring.v3.DeleteNotificationChannelRequest, com.google.protobuf.Empty> - getDeleteNotificationChannelMethod; - if ((getDeleteNotificationChannelMethod = - NotificationChannelServiceGrpc.getDeleteNotificationChannelMethod) - == null) { - synchronized (NotificationChannelServiceGrpc.class) { - if ((getDeleteNotificationChannelMethod = - NotificationChannelServiceGrpc.getDeleteNotificationChannelMethod) - == null) { - NotificationChannelServiceGrpc.getDeleteNotificationChannelMethod = - getDeleteNotificationChannelMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteNotificationChannel")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.DeleteNotificationChannelRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new NotificationChannelServiceMethodDescriptorSupplier( - "DeleteNotificationChannel")) - .build(); - } - } - } - return getDeleteNotificationChannelMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest, - com.google.protobuf.Empty> - getSendNotificationChannelVerificationCodeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SendNotificationChannelVerificationCode", - requestType = com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest, - com.google.protobuf.Empty> - getSendNotificationChannelVerificationCodeMethod() { - io.grpc.MethodDescriptor< - com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest, - com.google.protobuf.Empty> - getSendNotificationChannelVerificationCodeMethod; - if ((getSendNotificationChannelVerificationCodeMethod = - NotificationChannelServiceGrpc.getSendNotificationChannelVerificationCodeMethod) - == null) { - synchronized (NotificationChannelServiceGrpc.class) { - if ((getSendNotificationChannelVerificationCodeMethod = - NotificationChannelServiceGrpc.getSendNotificationChannelVerificationCodeMethod) - == null) { - NotificationChannelServiceGrpc.getSendNotificationChannelVerificationCodeMethod = - getSendNotificationChannelVerificationCodeMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - SERVICE_NAME, "SendNotificationChannelVerificationCode")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3 - .SendNotificationChannelVerificationCodeRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new NotificationChannelServiceMethodDescriptorSupplier( - "SendNotificationChannelVerificationCode")) - .build(); - } - } - } - return getSendNotificationChannelVerificationCodeMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest, - com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse> - getGetNotificationChannelVerificationCodeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetNotificationChannelVerificationCode", - requestType = com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest.class, - responseType = com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest, - com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse> - getGetNotificationChannelVerificationCodeMethod() { - io.grpc.MethodDescriptor< - com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest, - com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse> - getGetNotificationChannelVerificationCodeMethod; - if ((getGetNotificationChannelVerificationCodeMethod = - NotificationChannelServiceGrpc.getGetNotificationChannelVerificationCodeMethod) - == null) { - synchronized (NotificationChannelServiceGrpc.class) { - if ((getGetNotificationChannelVerificationCodeMethod = - NotificationChannelServiceGrpc.getGetNotificationChannelVerificationCodeMethod) - == null) { - NotificationChannelServiceGrpc.getGetNotificationChannelVerificationCodeMethod = - getGetNotificationChannelVerificationCodeMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - SERVICE_NAME, "GetNotificationChannelVerificationCode")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3 - .GetNotificationChannelVerificationCodeResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new NotificationChannelServiceMethodDescriptorSupplier( - "GetNotificationChannelVerificationCode")) - .build(); - } - } - } - return getGetNotificationChannelVerificationCodeMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.monitoring.v3.VerifyNotificationChannelRequest, - com.google.monitoring.v3.NotificationChannel> - getVerifyNotificationChannelMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "VerifyNotificationChannel", - requestType = com.google.monitoring.v3.VerifyNotificationChannelRequest.class, - responseType = com.google.monitoring.v3.NotificationChannel.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.monitoring.v3.VerifyNotificationChannelRequest, - com.google.monitoring.v3.NotificationChannel> - getVerifyNotificationChannelMethod() { - io.grpc.MethodDescriptor< - com.google.monitoring.v3.VerifyNotificationChannelRequest, - com.google.monitoring.v3.NotificationChannel> - getVerifyNotificationChannelMethod; - if ((getVerifyNotificationChannelMethod = - NotificationChannelServiceGrpc.getVerifyNotificationChannelMethod) - == null) { - synchronized (NotificationChannelServiceGrpc.class) { - if ((getVerifyNotificationChannelMethod = - NotificationChannelServiceGrpc.getVerifyNotificationChannelMethod) - == null) { - NotificationChannelServiceGrpc.getVerifyNotificationChannelMethod = - getVerifyNotificationChannelMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "VerifyNotificationChannel")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.VerifyNotificationChannelRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.NotificationChannel.getDefaultInstance())) - .setSchemaDescriptor( - new NotificationChannelServiceMethodDescriptorSupplier( - "VerifyNotificationChannel")) - .build(); - } - } - } - return getVerifyNotificationChannelMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static NotificationChannelServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public NotificationChannelServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new NotificationChannelServiceStub(channel, callOptions); - } - }; - return NotificationChannelServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static NotificationChannelServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public NotificationChannelServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new NotificationChannelServiceBlockingStub(channel, callOptions); - } - }; - return NotificationChannelServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static NotificationChannelServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public NotificationChannelServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new NotificationChannelServiceFutureStub(channel, callOptions); - } - }; - return NotificationChannelServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * The Notification Channel API provides access to configuration that
-   * controls how messages related to incidents are sent.
-   * 
- */ - public abstract static class NotificationChannelServiceImplBase - implements io.grpc.BindableService { - - /** - * - * - *
-     * Lists the descriptors for supported channel types. The use of descriptors
-     * makes it possible for new channel types to be dynamically added.
-     * 
- */ - public void listNotificationChannelDescriptors( - com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest request, - io.grpc.stub.StreamObserver< - com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListNotificationChannelDescriptorsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a single channel descriptor. The descriptor indicates which fields
-     * are expected / permitted for a notification channel of the given type.
-     * 
- */ - public void getNotificationChannelDescriptor( - com.google.monitoring.v3.GetNotificationChannelDescriptorRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetNotificationChannelDescriptorMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists the notification channels that have been created for the project.
-     * 
- */ - public void listNotificationChannels( - com.google.monitoring.v3.ListNotificationChannelsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListNotificationChannelsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a single notification channel. The channel includes the relevant
-     * configuration details with which the channel was created. However, the
-     * response may truncate or omit passwords, API keys, or other private key
-     * matter and thus the response may not be 100% identical to the information
-     * that was supplied in the call to the create method.
-     * 
- */ - public void getNotificationChannel( - com.google.monitoring.v3.GetNotificationChannelRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetNotificationChannelMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new notification channel, representing a single notification
-     * endpoint such as an email address, SMS number, or PagerDuty service.
-     * 
- */ - public void createNotificationChannel( - com.google.monitoring.v3.CreateNotificationChannelRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateNotificationChannelMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a notification channel. Fields not specified in the field mask
-     * remain unchanged.
-     * 
- */ - public void updateNotificationChannel( - com.google.monitoring.v3.UpdateNotificationChannelRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateNotificationChannelMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a notification channel.
-     * 
- */ - public void deleteNotificationChannel( - com.google.monitoring.v3.DeleteNotificationChannelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteNotificationChannelMethod(), responseObserver); - } - - /** - * - * - *
-     * Causes a verification code to be delivered to the channel. The code
-     * can then be supplied in `VerifyNotificationChannel` to verify the channel.
-     * 
- */ - public void sendNotificationChannelVerificationCode( - com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSendNotificationChannelVerificationCodeMethod(), responseObserver); - } - - /** - * - * - *
-     * Requests a verification code for an already verified channel that can then
-     * be used in a call to VerifyNotificationChannel() on a different channel
-     * with an equivalent identity in the same or in a different project. This
-     * makes it possible to copy a channel between projects without requiring
-     * manual reverification of the channel. If the channel is not in the
-     * verified state, this method will fail (in other words, this may only be
-     * used if the SendNotificationChannelVerificationCode and
-     * VerifyNotificationChannel paths have already been used to put the given
-     * channel into the verified state).
-     * There is no guarantee that the verification codes returned by this method
-     * will be of a similar structure or form as the ones that are delivered
-     * to the channel via SendNotificationChannelVerificationCode; while
-     * VerifyNotificationChannel() will recognize both the codes delivered via
-     * SendNotificationChannelVerificationCode() and returned from
-     * GetNotificationChannelVerificationCode(), it is typically the case that
-     * the verification codes delivered via
-     * SendNotificationChannelVerificationCode() will be shorter and also
-     * have a shorter expiration (e.g. codes such as "G-123456") whereas
-     * GetVerificationCode() will typically return a much longer, websafe base
-     * 64 encoded string that has a longer expiration time.
-     * 
- */ - public void getNotificationChannelVerificationCode( - com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest request, - io.grpc.stub.StreamObserver< - com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetNotificationChannelVerificationCodeMethod(), responseObserver); - } - - /** - * - * - *
-     * Verifies a `NotificationChannel` by proving receipt of the code
-     * delivered to the channel as a result of calling
-     * `SendNotificationChannelVerificationCode`.
-     * 
- */ - public void verifyNotificationChannel( - com.google.monitoring.v3.VerifyNotificationChannelRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getVerifyNotificationChannelMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListNotificationChannelDescriptorsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest, - com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse>( - this, METHODID_LIST_NOTIFICATION_CHANNEL_DESCRIPTORS))) - .addMethod( - getGetNotificationChannelDescriptorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.GetNotificationChannelDescriptorRequest, - com.google.monitoring.v3.NotificationChannelDescriptor>( - this, METHODID_GET_NOTIFICATION_CHANNEL_DESCRIPTOR))) - .addMethod( - getListNotificationChannelsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.ListNotificationChannelsRequest, - com.google.monitoring.v3.ListNotificationChannelsResponse>( - this, METHODID_LIST_NOTIFICATION_CHANNELS))) - .addMethod( - getGetNotificationChannelMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.GetNotificationChannelRequest, - com.google.monitoring.v3.NotificationChannel>( - this, METHODID_GET_NOTIFICATION_CHANNEL))) - .addMethod( - getCreateNotificationChannelMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.CreateNotificationChannelRequest, - com.google.monitoring.v3.NotificationChannel>( - this, METHODID_CREATE_NOTIFICATION_CHANNEL))) - .addMethod( - getUpdateNotificationChannelMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.UpdateNotificationChannelRequest, - com.google.monitoring.v3.NotificationChannel>( - this, METHODID_UPDATE_NOTIFICATION_CHANNEL))) - .addMethod( - getDeleteNotificationChannelMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.DeleteNotificationChannelRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_NOTIFICATION_CHANNEL))) - .addMethod( - getSendNotificationChannelVerificationCodeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest, - com.google.protobuf.Empty>( - this, METHODID_SEND_NOTIFICATION_CHANNEL_VERIFICATION_CODE))) - .addMethod( - getGetNotificationChannelVerificationCodeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest, - com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse>( - this, METHODID_GET_NOTIFICATION_CHANNEL_VERIFICATION_CODE))) - .addMethod( - getVerifyNotificationChannelMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.VerifyNotificationChannelRequest, - com.google.monitoring.v3.NotificationChannel>( - this, METHODID_VERIFY_NOTIFICATION_CHANNEL))) - .build(); - } - } - - /** - * - * - *
-   * The Notification Channel API provides access to configuration that
-   * controls how messages related to incidents are sent.
-   * 
- */ - public static final class NotificationChannelServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private NotificationChannelServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected NotificationChannelServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new NotificationChannelServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists the descriptors for supported channel types. The use of descriptors
-     * makes it possible for new channel types to be dynamically added.
-     * 
- */ - public void listNotificationChannelDescriptors( - com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest request, - io.grpc.stub.StreamObserver< - com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListNotificationChannelDescriptorsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a single channel descriptor. The descriptor indicates which fields
-     * are expected / permitted for a notification channel of the given type.
-     * 
- */ - public void getNotificationChannelDescriptor( - com.google.monitoring.v3.GetNotificationChannelDescriptorRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetNotificationChannelDescriptorMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists the notification channels that have been created for the project.
-     * 
- */ - public void listNotificationChannels( - com.google.monitoring.v3.ListNotificationChannelsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListNotificationChannelsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a single notification channel. The channel includes the relevant
-     * configuration details with which the channel was created. However, the
-     * response may truncate or omit passwords, API keys, or other private key
-     * matter and thus the response may not be 100% identical to the information
-     * that was supplied in the call to the create method.
-     * 
- */ - public void getNotificationChannel( - com.google.monitoring.v3.GetNotificationChannelRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetNotificationChannelMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a new notification channel, representing a single notification
-     * endpoint such as an email address, SMS number, or PagerDuty service.
-     * 
- */ - public void createNotificationChannel( - com.google.monitoring.v3.CreateNotificationChannelRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateNotificationChannelMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a notification channel. Fields not specified in the field mask
-     * remain unchanged.
-     * 
- */ - public void updateNotificationChannel( - com.google.monitoring.v3.UpdateNotificationChannelRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateNotificationChannelMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a notification channel.
-     * 
- */ - public void deleteNotificationChannel( - com.google.monitoring.v3.DeleteNotificationChannelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteNotificationChannelMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Causes a verification code to be delivered to the channel. The code
-     * can then be supplied in `VerifyNotificationChannel` to verify the channel.
-     * 
- */ - public void sendNotificationChannelVerificationCode( - com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel() - .newCall(getSendNotificationChannelVerificationCodeMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Requests a verification code for an already verified channel that can then
-     * be used in a call to VerifyNotificationChannel() on a different channel
-     * with an equivalent identity in the same or in a different project. This
-     * makes it possible to copy a channel between projects without requiring
-     * manual reverification of the channel. If the channel is not in the
-     * verified state, this method will fail (in other words, this may only be
-     * used if the SendNotificationChannelVerificationCode and
-     * VerifyNotificationChannel paths have already been used to put the given
-     * channel into the verified state).
-     * There is no guarantee that the verification codes returned by this method
-     * will be of a similar structure or form as the ones that are delivered
-     * to the channel via SendNotificationChannelVerificationCode; while
-     * VerifyNotificationChannel() will recognize both the codes delivered via
-     * SendNotificationChannelVerificationCode() and returned from
-     * GetNotificationChannelVerificationCode(), it is typically the case that
-     * the verification codes delivered via
-     * SendNotificationChannelVerificationCode() will be shorter and also
-     * have a shorter expiration (e.g. codes such as "G-123456") whereas
-     * GetVerificationCode() will typically return a much longer, websafe base
-     * 64 encoded string that has a longer expiration time.
-     * 
- */ - public void getNotificationChannelVerificationCode( - com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest request, - io.grpc.stub.StreamObserver< - com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetNotificationChannelVerificationCodeMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Verifies a `NotificationChannel` by proving receipt of the code
-     * delivered to the channel as a result of calling
-     * `SendNotificationChannelVerificationCode`.
-     * 
- */ - public void verifyNotificationChannel( - com.google.monitoring.v3.VerifyNotificationChannelRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getVerifyNotificationChannelMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * The Notification Channel API provides access to configuration that
-   * controls how messages related to incidents are sent.
-   * 
- */ - public static final class NotificationChannelServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private NotificationChannelServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected NotificationChannelServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new NotificationChannelServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists the descriptors for supported channel types. The use of descriptors
-     * makes it possible for new channel types to be dynamically added.
-     * 
- */ - public com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse - listNotificationChannelDescriptors( - com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListNotificationChannelDescriptorsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a single channel descriptor. The descriptor indicates which fields
-     * are expected / permitted for a notification channel of the given type.
-     * 
- */ - public com.google.monitoring.v3.NotificationChannelDescriptor getNotificationChannelDescriptor( - com.google.monitoring.v3.GetNotificationChannelDescriptorRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetNotificationChannelDescriptorMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists the notification channels that have been created for the project.
-     * 
- */ - public com.google.monitoring.v3.ListNotificationChannelsResponse listNotificationChannels( - com.google.monitoring.v3.ListNotificationChannelsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListNotificationChannelsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a single notification channel. The channel includes the relevant
-     * configuration details with which the channel was created. However, the
-     * response may truncate or omit passwords, API keys, or other private key
-     * matter and thus the response may not be 100% identical to the information
-     * that was supplied in the call to the create method.
-     * 
- */ - public com.google.monitoring.v3.NotificationChannel getNotificationChannel( - com.google.monitoring.v3.GetNotificationChannelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetNotificationChannelMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new notification channel, representing a single notification
-     * endpoint such as an email address, SMS number, or PagerDuty service.
-     * 
- */ - public com.google.monitoring.v3.NotificationChannel createNotificationChannel( - com.google.monitoring.v3.CreateNotificationChannelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateNotificationChannelMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a notification channel. Fields not specified in the field mask
-     * remain unchanged.
-     * 
- */ - public com.google.monitoring.v3.NotificationChannel updateNotificationChannel( - com.google.monitoring.v3.UpdateNotificationChannelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateNotificationChannelMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a notification channel.
-     * 
- */ - public com.google.protobuf.Empty deleteNotificationChannel( - com.google.monitoring.v3.DeleteNotificationChannelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteNotificationChannelMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Causes a verification code to be delivered to the channel. The code
-     * can then be supplied in `VerifyNotificationChannel` to verify the channel.
-     * 
- */ - public com.google.protobuf.Empty sendNotificationChannelVerificationCode( - com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), - getSendNotificationChannelVerificationCodeMethod(), - getCallOptions(), - request); - } - - /** - * - * - *
-     * Requests a verification code for an already verified channel that can then
-     * be used in a call to VerifyNotificationChannel() on a different channel
-     * with an equivalent identity in the same or in a different project. This
-     * makes it possible to copy a channel between projects without requiring
-     * manual reverification of the channel. If the channel is not in the
-     * verified state, this method will fail (in other words, this may only be
-     * used if the SendNotificationChannelVerificationCode and
-     * VerifyNotificationChannel paths have already been used to put the given
-     * channel into the verified state).
-     * There is no guarantee that the verification codes returned by this method
-     * will be of a similar structure or form as the ones that are delivered
-     * to the channel via SendNotificationChannelVerificationCode; while
-     * VerifyNotificationChannel() will recognize both the codes delivered via
-     * SendNotificationChannelVerificationCode() and returned from
-     * GetNotificationChannelVerificationCode(), it is typically the case that
-     * the verification codes delivered via
-     * SendNotificationChannelVerificationCode() will be shorter and also
-     * have a shorter expiration (e.g. codes such as "G-123456") whereas
-     * GetVerificationCode() will typically return a much longer, websafe base
-     * 64 encoded string that has a longer expiration time.
-     * 
- */ - public com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse - getNotificationChannelVerificationCode( - com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), - getGetNotificationChannelVerificationCodeMethod(), - getCallOptions(), - request); - } - - /** - * - * - *
-     * Verifies a `NotificationChannel` by proving receipt of the code
-     * delivered to the channel as a result of calling
-     * `SendNotificationChannelVerificationCode`.
-     * 
- */ - public com.google.monitoring.v3.NotificationChannel verifyNotificationChannel( - com.google.monitoring.v3.VerifyNotificationChannelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getVerifyNotificationChannelMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * The Notification Channel API provides access to configuration that
-   * controls how messages related to incidents are sent.
-   * 
- */ - public static final class NotificationChannelServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private NotificationChannelServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected NotificationChannelServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new NotificationChannelServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists the descriptors for supported channel types. The use of descriptors
-     * makes it possible for new channel types to be dynamically added.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse> - listNotificationChannelDescriptors( - com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListNotificationChannelDescriptorsMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Gets a single channel descriptor. The descriptor indicates which fields
-     * are expected / permitted for a notification channel of the given type.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.monitoring.v3.NotificationChannelDescriptor> - getNotificationChannelDescriptor( - com.google.monitoring.v3.GetNotificationChannelDescriptorRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetNotificationChannelDescriptorMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Lists the notification channels that have been created for the project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.monitoring.v3.ListNotificationChannelsResponse> - listNotificationChannels(com.google.monitoring.v3.ListNotificationChannelsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListNotificationChannelsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a single notification channel. The channel includes the relevant
-     * configuration details with which the channel was created. However, the
-     * response may truncate or omit passwords, API keys, or other private key
-     * matter and thus the response may not be 100% identical to the information
-     * that was supplied in the call to the create method.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.monitoring.v3.NotificationChannel> - getNotificationChannel(com.google.monitoring.v3.GetNotificationChannelRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetNotificationChannelMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new notification channel, representing a single notification
-     * endpoint such as an email address, SMS number, or PagerDuty service.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.monitoring.v3.NotificationChannel> - createNotificationChannel( - com.google.monitoring.v3.CreateNotificationChannelRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateNotificationChannelMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a notification channel. Fields not specified in the field mask
-     * remain unchanged.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.monitoring.v3.NotificationChannel> - updateNotificationChannel( - com.google.monitoring.v3.UpdateNotificationChannelRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateNotificationChannelMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a notification channel.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteNotificationChannel( - com.google.monitoring.v3.DeleteNotificationChannelRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteNotificationChannelMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Causes a verification code to be delivered to the channel. The code
-     * can then be supplied in `VerifyNotificationChannel` to verify the channel.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - sendNotificationChannelVerificationCode( - com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel() - .newCall(getSendNotificationChannelVerificationCodeMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Requests a verification code for an already verified channel that can then
-     * be used in a call to VerifyNotificationChannel() on a different channel
-     * with an equivalent identity in the same or in a different project. This
-     * makes it possible to copy a channel between projects without requiring
-     * manual reverification of the channel. If the channel is not in the
-     * verified state, this method will fail (in other words, this may only be
-     * used if the SendNotificationChannelVerificationCode and
-     * VerifyNotificationChannel paths have already been used to put the given
-     * channel into the verified state).
-     * There is no guarantee that the verification codes returned by this method
-     * will be of a similar structure or form as the ones that are delivered
-     * to the channel via SendNotificationChannelVerificationCode; while
-     * VerifyNotificationChannel() will recognize both the codes delivered via
-     * SendNotificationChannelVerificationCode() and returned from
-     * GetNotificationChannelVerificationCode(), it is typically the case that
-     * the verification codes delivered via
-     * SendNotificationChannelVerificationCode() will be shorter and also
-     * have a shorter expiration (e.g. codes such as "G-123456") whereas
-     * GetVerificationCode() will typically return a much longer, websafe base
-     * 64 encoded string that has a longer expiration time.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse> - getNotificationChannelVerificationCode( - com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetNotificationChannelVerificationCodeMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Verifies a `NotificationChannel` by proving receipt of the code
-     * delivered to the channel as a result of calling
-     * `SendNotificationChannelVerificationCode`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.monitoring.v3.NotificationChannel> - verifyNotificationChannel( - com.google.monitoring.v3.VerifyNotificationChannelRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getVerifyNotificationChannelMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_NOTIFICATION_CHANNEL_DESCRIPTORS = 0; - private static final int METHODID_GET_NOTIFICATION_CHANNEL_DESCRIPTOR = 1; - private static final int METHODID_LIST_NOTIFICATION_CHANNELS = 2; - private static final int METHODID_GET_NOTIFICATION_CHANNEL = 3; - private static final int METHODID_CREATE_NOTIFICATION_CHANNEL = 4; - private static final int METHODID_UPDATE_NOTIFICATION_CHANNEL = 5; - private static final int METHODID_DELETE_NOTIFICATION_CHANNEL = 6; - private static final int METHODID_SEND_NOTIFICATION_CHANNEL_VERIFICATION_CODE = 7; - private static final int METHODID_GET_NOTIFICATION_CHANNEL_VERIFICATION_CODE = 8; - private static final int METHODID_VERIFY_NOTIFICATION_CHANNEL = 9; - - 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 NotificationChannelServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(NotificationChannelServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_LIST_NOTIFICATION_CHANNEL_DESCRIPTORS: - serviceImpl.listNotificationChannelDescriptors( - (com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse>) - responseObserver); - break; - case METHODID_GET_NOTIFICATION_CHANNEL_DESCRIPTOR: - serviceImpl.getNotificationChannelDescriptor( - (com.google.monitoring.v3.GetNotificationChannelDescriptorRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_NOTIFICATION_CHANNELS: - serviceImpl.listNotificationChannels( - (com.google.monitoring.v3.ListNotificationChannelsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.monitoring.v3.ListNotificationChannelsResponse>) - responseObserver); - break; - case METHODID_GET_NOTIFICATION_CHANNEL: - serviceImpl.getNotificationChannel( - (com.google.monitoring.v3.GetNotificationChannelRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_NOTIFICATION_CHANNEL: - serviceImpl.createNotificationChannel( - (com.google.monitoring.v3.CreateNotificationChannelRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_NOTIFICATION_CHANNEL: - serviceImpl.updateNotificationChannel( - (com.google.monitoring.v3.UpdateNotificationChannelRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_NOTIFICATION_CHANNEL: - serviceImpl.deleteNotificationChannel( - (com.google.monitoring.v3.DeleteNotificationChannelRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SEND_NOTIFICATION_CHANNEL_VERIFICATION_CODE: - serviceImpl.sendNotificationChannelVerificationCode( - (com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_NOTIFICATION_CHANNEL_VERIFICATION_CODE: - serviceImpl.getNotificationChannelVerificationCode( - (com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest) request, - (io.grpc.stub.StreamObserver< - com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse>) - responseObserver); - break; - case METHODID_VERIFY_NOTIFICATION_CHANNEL: - serviceImpl.verifyNotificationChannel( - (com.google.monitoring.v3.VerifyNotificationChannelRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class NotificationChannelServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - NotificationChannelServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("NotificationChannelService"); - } - } - - private static final class NotificationChannelServiceFileDescriptorSupplier - extends NotificationChannelServiceBaseDescriptorSupplier { - NotificationChannelServiceFileDescriptorSupplier() {} - } - - private static final class NotificationChannelServiceMethodDescriptorSupplier - extends NotificationChannelServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - NotificationChannelServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (NotificationChannelServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new NotificationChannelServiceFileDescriptorSupplier()) - .addMethod(getListNotificationChannelDescriptorsMethod()) - .addMethod(getGetNotificationChannelDescriptorMethod()) - .addMethod(getListNotificationChannelsMethod()) - .addMethod(getGetNotificationChannelMethod()) - .addMethod(getCreateNotificationChannelMethod()) - .addMethod(getUpdateNotificationChannelMethod()) - .addMethod(getDeleteNotificationChannelMethod()) - .addMethod(getSendNotificationChannelVerificationCodeMethod()) - .addMethod(getGetNotificationChannelVerificationCodeMethod()) - .addMethod(getVerifyNotificationChannelMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringServiceGrpc.java b/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringServiceGrpc.java deleted file mode 100644 index 7d42c9f9..00000000 --- a/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringServiceGrpc.java +++ /dev/null @@ -1,1449 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.monitoring.v3; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * The Cloud Monitoring Service-Oriented Monitoring API has endpoints for
- * managing and querying aspects of a workspace's services. These include the
- * `Service`'s monitored resources, its Service-Level Objectives, and a taxonomy
- * of categorized Health Metrics.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/monitoring/v3/service_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ServiceMonitoringServiceGrpc { - - private ServiceMonitoringServiceGrpc() {} - - public static final String SERVICE_NAME = "google.monitoring.v3.ServiceMonitoringService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.monitoring.v3.CreateServiceRequest, com.google.monitoring.v3.Service> - getCreateServiceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateService", - requestType = com.google.monitoring.v3.CreateServiceRequest.class, - responseType = com.google.monitoring.v3.Service.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.monitoring.v3.CreateServiceRequest, com.google.monitoring.v3.Service> - getCreateServiceMethod() { - io.grpc.MethodDescriptor< - com.google.monitoring.v3.CreateServiceRequest, com.google.monitoring.v3.Service> - getCreateServiceMethod; - if ((getCreateServiceMethod = ServiceMonitoringServiceGrpc.getCreateServiceMethod) == null) { - synchronized (ServiceMonitoringServiceGrpc.class) { - if ((getCreateServiceMethod = ServiceMonitoringServiceGrpc.getCreateServiceMethod) - == null) { - ServiceMonitoringServiceGrpc.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.monitoring.v3.CreateServiceRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.Service.getDefaultInstance())) - .setSchemaDescriptor( - new ServiceMonitoringServiceMethodDescriptorSupplier("CreateService")) - .build(); - } - } - } - return getCreateServiceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.monitoring.v3.GetServiceRequest, com.google.monitoring.v3.Service> - getGetServiceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetService", - requestType = com.google.monitoring.v3.GetServiceRequest.class, - responseType = com.google.monitoring.v3.Service.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.monitoring.v3.GetServiceRequest, com.google.monitoring.v3.Service> - getGetServiceMethod() { - io.grpc.MethodDescriptor< - com.google.monitoring.v3.GetServiceRequest, com.google.monitoring.v3.Service> - getGetServiceMethod; - if ((getGetServiceMethod = ServiceMonitoringServiceGrpc.getGetServiceMethod) == null) { - synchronized (ServiceMonitoringServiceGrpc.class) { - if ((getGetServiceMethod = ServiceMonitoringServiceGrpc.getGetServiceMethod) == null) { - ServiceMonitoringServiceGrpc.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.monitoring.v3.GetServiceRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.Service.getDefaultInstance())) - .setSchemaDescriptor( - new ServiceMonitoringServiceMethodDescriptorSupplier("GetService")) - .build(); - } - } - } - return getGetServiceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.monitoring.v3.ListServicesRequest, - com.google.monitoring.v3.ListServicesResponse> - getListServicesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListServices", - requestType = com.google.monitoring.v3.ListServicesRequest.class, - responseType = com.google.monitoring.v3.ListServicesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.monitoring.v3.ListServicesRequest, - com.google.monitoring.v3.ListServicesResponse> - getListServicesMethod() { - io.grpc.MethodDescriptor< - com.google.monitoring.v3.ListServicesRequest, - com.google.monitoring.v3.ListServicesResponse> - getListServicesMethod; - if ((getListServicesMethod = ServiceMonitoringServiceGrpc.getListServicesMethod) == null) { - synchronized (ServiceMonitoringServiceGrpc.class) { - if ((getListServicesMethod = ServiceMonitoringServiceGrpc.getListServicesMethod) == null) { - ServiceMonitoringServiceGrpc.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.monitoring.v3.ListServicesRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.ListServicesResponse.getDefaultInstance())) - .setSchemaDescriptor( - new ServiceMonitoringServiceMethodDescriptorSupplier("ListServices")) - .build(); - } - } - } - return getListServicesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.monitoring.v3.UpdateServiceRequest, com.google.monitoring.v3.Service> - getUpdateServiceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateService", - requestType = com.google.monitoring.v3.UpdateServiceRequest.class, - responseType = com.google.monitoring.v3.Service.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.monitoring.v3.UpdateServiceRequest, com.google.monitoring.v3.Service> - getUpdateServiceMethod() { - io.grpc.MethodDescriptor< - com.google.monitoring.v3.UpdateServiceRequest, com.google.monitoring.v3.Service> - getUpdateServiceMethod; - if ((getUpdateServiceMethod = ServiceMonitoringServiceGrpc.getUpdateServiceMethod) == null) { - synchronized (ServiceMonitoringServiceGrpc.class) { - if ((getUpdateServiceMethod = ServiceMonitoringServiceGrpc.getUpdateServiceMethod) - == null) { - ServiceMonitoringServiceGrpc.getUpdateServiceMethod = - getUpdateServiceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateService")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.UpdateServiceRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.Service.getDefaultInstance())) - .setSchemaDescriptor( - new ServiceMonitoringServiceMethodDescriptorSupplier("UpdateService")) - .build(); - } - } - } - return getUpdateServiceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.monitoring.v3.DeleteServiceRequest, com.google.protobuf.Empty> - getDeleteServiceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteService", - requestType = com.google.monitoring.v3.DeleteServiceRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.monitoring.v3.DeleteServiceRequest, com.google.protobuf.Empty> - getDeleteServiceMethod() { - io.grpc.MethodDescriptor< - com.google.monitoring.v3.DeleteServiceRequest, com.google.protobuf.Empty> - getDeleteServiceMethod; - if ((getDeleteServiceMethod = ServiceMonitoringServiceGrpc.getDeleteServiceMethod) == null) { - synchronized (ServiceMonitoringServiceGrpc.class) { - if ((getDeleteServiceMethod = ServiceMonitoringServiceGrpc.getDeleteServiceMethod) - == null) { - ServiceMonitoringServiceGrpc.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.monitoring.v3.DeleteServiceRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new ServiceMonitoringServiceMethodDescriptorSupplier("DeleteService")) - .build(); - } - } - } - return getDeleteServiceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.monitoring.v3.CreateServiceLevelObjectiveRequest, - com.google.monitoring.v3.ServiceLevelObjective> - getCreateServiceLevelObjectiveMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateServiceLevelObjective", - requestType = com.google.monitoring.v3.CreateServiceLevelObjectiveRequest.class, - responseType = com.google.monitoring.v3.ServiceLevelObjective.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.monitoring.v3.CreateServiceLevelObjectiveRequest, - com.google.monitoring.v3.ServiceLevelObjective> - getCreateServiceLevelObjectiveMethod() { - io.grpc.MethodDescriptor< - com.google.monitoring.v3.CreateServiceLevelObjectiveRequest, - com.google.monitoring.v3.ServiceLevelObjective> - getCreateServiceLevelObjectiveMethod; - if ((getCreateServiceLevelObjectiveMethod = - ServiceMonitoringServiceGrpc.getCreateServiceLevelObjectiveMethod) - == null) { - synchronized (ServiceMonitoringServiceGrpc.class) { - if ((getCreateServiceLevelObjectiveMethod = - ServiceMonitoringServiceGrpc.getCreateServiceLevelObjectiveMethod) - == null) { - ServiceMonitoringServiceGrpc.getCreateServiceLevelObjectiveMethod = - getCreateServiceLevelObjectiveMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateServiceLevelObjective")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.CreateServiceLevelObjectiveRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance())) - .setSchemaDescriptor( - new ServiceMonitoringServiceMethodDescriptorSupplier( - "CreateServiceLevelObjective")) - .build(); - } - } - } - return getCreateServiceLevelObjectiveMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.monitoring.v3.GetServiceLevelObjectiveRequest, - com.google.monitoring.v3.ServiceLevelObjective> - getGetServiceLevelObjectiveMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetServiceLevelObjective", - requestType = com.google.monitoring.v3.GetServiceLevelObjectiveRequest.class, - responseType = com.google.monitoring.v3.ServiceLevelObjective.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.monitoring.v3.GetServiceLevelObjectiveRequest, - com.google.monitoring.v3.ServiceLevelObjective> - getGetServiceLevelObjectiveMethod() { - io.grpc.MethodDescriptor< - com.google.monitoring.v3.GetServiceLevelObjectiveRequest, - com.google.monitoring.v3.ServiceLevelObjective> - getGetServiceLevelObjectiveMethod; - if ((getGetServiceLevelObjectiveMethod = - ServiceMonitoringServiceGrpc.getGetServiceLevelObjectiveMethod) - == null) { - synchronized (ServiceMonitoringServiceGrpc.class) { - if ((getGetServiceLevelObjectiveMethod = - ServiceMonitoringServiceGrpc.getGetServiceLevelObjectiveMethod) - == null) { - ServiceMonitoringServiceGrpc.getGetServiceLevelObjectiveMethod = - getGetServiceLevelObjectiveMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetServiceLevelObjective")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.GetServiceLevelObjectiveRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance())) - .setSchemaDescriptor( - new ServiceMonitoringServiceMethodDescriptorSupplier( - "GetServiceLevelObjective")) - .build(); - } - } - } - return getGetServiceLevelObjectiveMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.monitoring.v3.ListServiceLevelObjectivesRequest, - com.google.monitoring.v3.ListServiceLevelObjectivesResponse> - getListServiceLevelObjectivesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListServiceLevelObjectives", - requestType = com.google.monitoring.v3.ListServiceLevelObjectivesRequest.class, - responseType = com.google.monitoring.v3.ListServiceLevelObjectivesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.monitoring.v3.ListServiceLevelObjectivesRequest, - com.google.monitoring.v3.ListServiceLevelObjectivesResponse> - getListServiceLevelObjectivesMethod() { - io.grpc.MethodDescriptor< - com.google.monitoring.v3.ListServiceLevelObjectivesRequest, - com.google.monitoring.v3.ListServiceLevelObjectivesResponse> - getListServiceLevelObjectivesMethod; - if ((getListServiceLevelObjectivesMethod = - ServiceMonitoringServiceGrpc.getListServiceLevelObjectivesMethod) - == null) { - synchronized (ServiceMonitoringServiceGrpc.class) { - if ((getListServiceLevelObjectivesMethod = - ServiceMonitoringServiceGrpc.getListServiceLevelObjectivesMethod) - == null) { - ServiceMonitoringServiceGrpc.getListServiceLevelObjectivesMethod = - getListServiceLevelObjectivesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListServiceLevelObjectives")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.ListServiceLevelObjectivesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.ListServiceLevelObjectivesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ServiceMonitoringServiceMethodDescriptorSupplier( - "ListServiceLevelObjectives")) - .build(); - } - } - } - return getListServiceLevelObjectivesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest, - com.google.monitoring.v3.ServiceLevelObjective> - getUpdateServiceLevelObjectiveMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateServiceLevelObjective", - requestType = com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest.class, - responseType = com.google.monitoring.v3.ServiceLevelObjective.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest, - com.google.monitoring.v3.ServiceLevelObjective> - getUpdateServiceLevelObjectiveMethod() { - io.grpc.MethodDescriptor< - com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest, - com.google.monitoring.v3.ServiceLevelObjective> - getUpdateServiceLevelObjectiveMethod; - if ((getUpdateServiceLevelObjectiveMethod = - ServiceMonitoringServiceGrpc.getUpdateServiceLevelObjectiveMethod) - == null) { - synchronized (ServiceMonitoringServiceGrpc.class) { - if ((getUpdateServiceLevelObjectiveMethod = - ServiceMonitoringServiceGrpc.getUpdateServiceLevelObjectiveMethod) - == null) { - ServiceMonitoringServiceGrpc.getUpdateServiceLevelObjectiveMethod = - getUpdateServiceLevelObjectiveMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateServiceLevelObjective")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance())) - .setSchemaDescriptor( - new ServiceMonitoringServiceMethodDescriptorSupplier( - "UpdateServiceLevelObjective")) - .build(); - } - } - } - return getUpdateServiceLevelObjectiveMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest, com.google.protobuf.Empty> - getDeleteServiceLevelObjectiveMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteServiceLevelObjective", - requestType = com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest, com.google.protobuf.Empty> - getDeleteServiceLevelObjectiveMethod() { - io.grpc.MethodDescriptor< - com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest, com.google.protobuf.Empty> - getDeleteServiceLevelObjectiveMethod; - if ((getDeleteServiceLevelObjectiveMethod = - ServiceMonitoringServiceGrpc.getDeleteServiceLevelObjectiveMethod) - == null) { - synchronized (ServiceMonitoringServiceGrpc.class) { - if ((getDeleteServiceLevelObjectiveMethod = - ServiceMonitoringServiceGrpc.getDeleteServiceLevelObjectiveMethod) - == null) { - ServiceMonitoringServiceGrpc.getDeleteServiceLevelObjectiveMethod = - getDeleteServiceLevelObjectiveMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteServiceLevelObjective")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new ServiceMonitoringServiceMethodDescriptorSupplier( - "DeleteServiceLevelObjective")) - .build(); - } - } - } - return getDeleteServiceLevelObjectiveMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static ServiceMonitoringServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ServiceMonitoringServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ServiceMonitoringServiceStub(channel, callOptions); - } - }; - return ServiceMonitoringServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static ServiceMonitoringServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ServiceMonitoringServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ServiceMonitoringServiceBlockingStub(channel, callOptions); - } - }; - return ServiceMonitoringServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static ServiceMonitoringServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ServiceMonitoringServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ServiceMonitoringServiceFutureStub(channel, callOptions); - } - }; - return ServiceMonitoringServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * The Cloud Monitoring Service-Oriented Monitoring API has endpoints for
-   * managing and querying aspects of a workspace's services. These include the
-   * `Service`'s monitored resources, its Service-Level Objectives, and a taxonomy
-   * of categorized Health Metrics.
-   * 
- */ - public abstract static class ServiceMonitoringServiceImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Create a `Service`.
-     * 
- */ - public void createService( - com.google.monitoring.v3.CreateServiceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateServiceMethod(), responseObserver); - } - - /** - * - * - *
-     * Get the named `Service`.
-     * 
- */ - public void getService( - com.google.monitoring.v3.GetServiceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetServiceMethod(), responseObserver); - } - - /** - * - * - *
-     * List `Service`s for this workspace.
-     * 
- */ - public void listServices( - com.google.monitoring.v3.ListServicesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListServicesMethod(), responseObserver); - } - - /** - * - * - *
-     * Update this `Service`.
-     * 
- */ - public void updateService( - com.google.monitoring.v3.UpdateServiceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateServiceMethod(), responseObserver); - } - - /** - * - * - *
-     * Soft delete this `Service`.
-     * 
- */ - public void deleteService( - com.google.monitoring.v3.DeleteServiceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteServiceMethod(), responseObserver); - } - - /** - * - * - *
-     * Create a `ServiceLevelObjective` for the given `Service`.
-     * 
- */ - public void createServiceLevelObjective( - com.google.monitoring.v3.CreateServiceLevelObjectiveRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateServiceLevelObjectiveMethod(), responseObserver); - } - - /** - * - * - *
-     * Get a `ServiceLevelObjective` by name.
-     * 
- */ - public void getServiceLevelObjective( - com.google.monitoring.v3.GetServiceLevelObjectiveRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetServiceLevelObjectiveMethod(), responseObserver); - } - - /** - * - * - *
-     * List the `ServiceLevelObjective`s for the given `Service`.
-     * 
- */ - public void listServiceLevelObjectives( - com.google.monitoring.v3.ListServiceLevelObjectivesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListServiceLevelObjectivesMethod(), responseObserver); - } - - /** - * - * - *
-     * Update the given `ServiceLevelObjective`.
-     * 
- */ - public void updateServiceLevelObjective( - com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateServiceLevelObjectiveMethod(), responseObserver); - } - - /** - * - * - *
-     * Delete the given `ServiceLevelObjective`.
-     * 
- */ - public void deleteServiceLevelObjective( - com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteServiceLevelObjectiveMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateServiceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.CreateServiceRequest, - com.google.monitoring.v3.Service>(this, METHODID_CREATE_SERVICE))) - .addMethod( - getGetServiceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.GetServiceRequest, com.google.monitoring.v3.Service>( - this, METHODID_GET_SERVICE))) - .addMethod( - getListServicesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.ListServicesRequest, - com.google.monitoring.v3.ListServicesResponse>(this, METHODID_LIST_SERVICES))) - .addMethod( - getUpdateServiceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.UpdateServiceRequest, - com.google.monitoring.v3.Service>(this, METHODID_UPDATE_SERVICE))) - .addMethod( - getDeleteServiceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.DeleteServiceRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_SERVICE))) - .addMethod( - getCreateServiceLevelObjectiveMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.CreateServiceLevelObjectiveRequest, - com.google.monitoring.v3.ServiceLevelObjective>( - this, METHODID_CREATE_SERVICE_LEVEL_OBJECTIVE))) - .addMethod( - getGetServiceLevelObjectiveMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.GetServiceLevelObjectiveRequest, - com.google.monitoring.v3.ServiceLevelObjective>( - this, METHODID_GET_SERVICE_LEVEL_OBJECTIVE))) - .addMethod( - getListServiceLevelObjectivesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.ListServiceLevelObjectivesRequest, - com.google.monitoring.v3.ListServiceLevelObjectivesResponse>( - this, METHODID_LIST_SERVICE_LEVEL_OBJECTIVES))) - .addMethod( - getUpdateServiceLevelObjectiveMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest, - com.google.monitoring.v3.ServiceLevelObjective>( - this, METHODID_UPDATE_SERVICE_LEVEL_OBJECTIVE))) - .addMethod( - getDeleteServiceLevelObjectiveMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_SERVICE_LEVEL_OBJECTIVE))) - .build(); - } - } - - /** - * - * - *
-   * The Cloud Monitoring Service-Oriented Monitoring API has endpoints for
-   * managing and querying aspects of a workspace's services. These include the
-   * `Service`'s monitored resources, its Service-Level Objectives, and a taxonomy
-   * of categorized Health Metrics.
-   * 
- */ - public static final class ServiceMonitoringServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private ServiceMonitoringServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ServiceMonitoringServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ServiceMonitoringServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Create a `Service`.
-     * 
- */ - public void createService( - com.google.monitoring.v3.CreateServiceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateServiceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Get the named `Service`.
-     * 
- */ - public void getService( - com.google.monitoring.v3.GetServiceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetServiceMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * List `Service`s for this workspace.
-     * 
- */ - public void listServices( - com.google.monitoring.v3.ListServicesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListServicesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Update this `Service`.
-     * 
- */ - public void updateService( - com.google.monitoring.v3.UpdateServiceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateServiceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Soft delete this `Service`.
-     * 
- */ - public void deleteService( - com.google.monitoring.v3.DeleteServiceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteServiceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Create a `ServiceLevelObjective` for the given `Service`.
-     * 
- */ - public void createServiceLevelObjective( - com.google.monitoring.v3.CreateServiceLevelObjectiveRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateServiceLevelObjectiveMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Get a `ServiceLevelObjective` by name.
-     * 
- */ - public void getServiceLevelObjective( - com.google.monitoring.v3.GetServiceLevelObjectiveRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetServiceLevelObjectiveMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * List the `ServiceLevelObjective`s for the given `Service`.
-     * 
- */ - public void listServiceLevelObjectives( - com.google.monitoring.v3.ListServiceLevelObjectivesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListServiceLevelObjectivesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Update the given `ServiceLevelObjective`.
-     * 
- */ - public void updateServiceLevelObjective( - com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateServiceLevelObjectiveMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Delete the given `ServiceLevelObjective`.
-     * 
- */ - public void deleteServiceLevelObjective( - com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteServiceLevelObjectiveMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * The Cloud Monitoring Service-Oriented Monitoring API has endpoints for
-   * managing and querying aspects of a workspace's services. These include the
-   * `Service`'s monitored resources, its Service-Level Objectives, and a taxonomy
-   * of categorized Health Metrics.
-   * 
- */ - public static final class ServiceMonitoringServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private ServiceMonitoringServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ServiceMonitoringServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ServiceMonitoringServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Create a `Service`.
-     * 
- */ - public com.google.monitoring.v3.Service createService( - com.google.monitoring.v3.CreateServiceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateServiceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Get the named `Service`.
-     * 
- */ - public com.google.monitoring.v3.Service getService( - com.google.monitoring.v3.GetServiceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetServiceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * List `Service`s for this workspace.
-     * 
- */ - public com.google.monitoring.v3.ListServicesResponse listServices( - com.google.monitoring.v3.ListServicesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListServicesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Update this `Service`.
-     * 
- */ - public com.google.monitoring.v3.Service updateService( - com.google.monitoring.v3.UpdateServiceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateServiceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Soft delete this `Service`.
-     * 
- */ - public com.google.protobuf.Empty deleteService( - com.google.monitoring.v3.DeleteServiceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteServiceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Create a `ServiceLevelObjective` for the given `Service`.
-     * 
- */ - public com.google.monitoring.v3.ServiceLevelObjective createServiceLevelObjective( - com.google.monitoring.v3.CreateServiceLevelObjectiveRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateServiceLevelObjectiveMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Get a `ServiceLevelObjective` by name.
-     * 
- */ - public com.google.monitoring.v3.ServiceLevelObjective getServiceLevelObjective( - com.google.monitoring.v3.GetServiceLevelObjectiveRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetServiceLevelObjectiveMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * List the `ServiceLevelObjective`s for the given `Service`.
-     * 
- */ - public com.google.monitoring.v3.ListServiceLevelObjectivesResponse listServiceLevelObjectives( - com.google.monitoring.v3.ListServiceLevelObjectivesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListServiceLevelObjectivesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Update the given `ServiceLevelObjective`.
-     * 
- */ - public com.google.monitoring.v3.ServiceLevelObjective updateServiceLevelObjective( - com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateServiceLevelObjectiveMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Delete the given `ServiceLevelObjective`.
-     * 
- */ - public com.google.protobuf.Empty deleteServiceLevelObjective( - com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteServiceLevelObjectiveMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * The Cloud Monitoring Service-Oriented Monitoring API has endpoints for
-   * managing and querying aspects of a workspace's services. These include the
-   * `Service`'s monitored resources, its Service-Level Objectives, and a taxonomy
-   * of categorized Health Metrics.
-   * 
- */ - public static final class ServiceMonitoringServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private ServiceMonitoringServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ServiceMonitoringServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ServiceMonitoringServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Create a `Service`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createService(com.google.monitoring.v3.CreateServiceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateServiceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Get the named `Service`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getService(com.google.monitoring.v3.GetServiceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetServiceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * List `Service`s for this workspace.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.monitoring.v3.ListServicesResponse> - listServices(com.google.monitoring.v3.ListServicesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListServicesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Update this `Service`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateService(com.google.monitoring.v3.UpdateServiceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateServiceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Soft delete this `Service`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteService(com.google.monitoring.v3.DeleteServiceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteServiceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Create a `ServiceLevelObjective` for the given `Service`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.monitoring.v3.ServiceLevelObjective> - createServiceLevelObjective( - com.google.monitoring.v3.CreateServiceLevelObjectiveRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateServiceLevelObjectiveMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Get a `ServiceLevelObjective` by name.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.monitoring.v3.ServiceLevelObjective> - getServiceLevelObjective(com.google.monitoring.v3.GetServiceLevelObjectiveRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetServiceLevelObjectiveMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * List the `ServiceLevelObjective`s for the given `Service`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.monitoring.v3.ListServiceLevelObjectivesResponse> - listServiceLevelObjectives( - com.google.monitoring.v3.ListServiceLevelObjectivesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListServiceLevelObjectivesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Update the given `ServiceLevelObjective`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.monitoring.v3.ServiceLevelObjective> - updateServiceLevelObjective( - com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateServiceLevelObjectiveMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Delete the given `ServiceLevelObjective`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteServiceLevelObjective( - com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteServiceLevelObjectiveMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_SERVICE = 0; - private static final int METHODID_GET_SERVICE = 1; - private static final int METHODID_LIST_SERVICES = 2; - private static final int METHODID_UPDATE_SERVICE = 3; - private static final int METHODID_DELETE_SERVICE = 4; - private static final int METHODID_CREATE_SERVICE_LEVEL_OBJECTIVE = 5; - private static final int METHODID_GET_SERVICE_LEVEL_OBJECTIVE = 6; - private static final int METHODID_LIST_SERVICE_LEVEL_OBJECTIVES = 7; - private static final int METHODID_UPDATE_SERVICE_LEVEL_OBJECTIVE = 8; - private static final int METHODID_DELETE_SERVICE_LEVEL_OBJECTIVE = 9; - - 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 ServiceMonitoringServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ServiceMonitoringServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_SERVICE: - serviceImpl.createService( - (com.google.monitoring.v3.CreateServiceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_SERVICE: - serviceImpl.getService( - (com.google.monitoring.v3.GetServiceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_SERVICES: - serviceImpl.listServices( - (com.google.monitoring.v3.ListServicesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_SERVICE: - serviceImpl.updateService( - (com.google.monitoring.v3.UpdateServiceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_SERVICE: - serviceImpl.deleteService( - (com.google.monitoring.v3.DeleteServiceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_SERVICE_LEVEL_OBJECTIVE: - serviceImpl.createServiceLevelObjective( - (com.google.monitoring.v3.CreateServiceLevelObjectiveRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_SERVICE_LEVEL_OBJECTIVE: - serviceImpl.getServiceLevelObjective( - (com.google.monitoring.v3.GetServiceLevelObjectiveRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_SERVICE_LEVEL_OBJECTIVES: - serviceImpl.listServiceLevelObjectives( - (com.google.monitoring.v3.ListServiceLevelObjectivesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.monitoring.v3.ListServiceLevelObjectivesResponse>) - responseObserver); - break; - case METHODID_UPDATE_SERVICE_LEVEL_OBJECTIVE: - serviceImpl.updateServiceLevelObjective( - (com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_SERVICE_LEVEL_OBJECTIVE: - serviceImpl.deleteServiceLevelObjective( - (com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class ServiceMonitoringServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - ServiceMonitoringServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("ServiceMonitoringService"); - } - } - - private static final class ServiceMonitoringServiceFileDescriptorSupplier - extends ServiceMonitoringServiceBaseDescriptorSupplier { - ServiceMonitoringServiceFileDescriptorSupplier() {} - } - - private static final class ServiceMonitoringServiceMethodDescriptorSupplier - extends ServiceMonitoringServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - ServiceMonitoringServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (ServiceMonitoringServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ServiceMonitoringServiceFileDescriptorSupplier()) - .addMethod(getCreateServiceMethod()) - .addMethod(getGetServiceMethod()) - .addMethod(getListServicesMethod()) - .addMethod(getUpdateServiceMethod()) - .addMethod(getDeleteServiceMethod()) - .addMethod(getCreateServiceLevelObjectiveMethod()) - .addMethod(getGetServiceLevelObjectiveMethod()) - .addMethod(getListServiceLevelObjectivesMethod()) - .addMethod(getUpdateServiceLevelObjectiveMethod()) - .addMethod(getDeleteServiceLevelObjectiveMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckServiceGrpc.java b/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckServiceGrpc.java deleted file mode 100644 index 27fc69b5..00000000 --- a/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckServiceGrpc.java +++ /dev/null @@ -1,1032 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.monitoring.v3; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * The UptimeCheckService API is used to manage (list, create, delete, edit)
- * Uptime check configurations in the Stackdriver Monitoring product. An Uptime
- * check is a piece of configuration that determines which resources and
- * services to monitor for availability. These configurations can also be
- * configured interactively by navigating to the [Cloud Console]
- * (http://console.cloud.google.com), selecting the appropriate project,
- * clicking on "Monitoring" on the left-hand side to navigate to Stackdriver,
- * and then clicking on "Uptime".
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/monitoring/v3/uptime_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class UptimeCheckServiceGrpc { - - private UptimeCheckServiceGrpc() {} - - public static final String SERVICE_NAME = "google.monitoring.v3.UptimeCheckService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.monitoring.v3.ListUptimeCheckConfigsRequest, - com.google.monitoring.v3.ListUptimeCheckConfigsResponse> - getListUptimeCheckConfigsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListUptimeCheckConfigs", - requestType = com.google.monitoring.v3.ListUptimeCheckConfigsRequest.class, - responseType = com.google.monitoring.v3.ListUptimeCheckConfigsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.monitoring.v3.ListUptimeCheckConfigsRequest, - com.google.monitoring.v3.ListUptimeCheckConfigsResponse> - getListUptimeCheckConfigsMethod() { - io.grpc.MethodDescriptor< - com.google.monitoring.v3.ListUptimeCheckConfigsRequest, - com.google.monitoring.v3.ListUptimeCheckConfigsResponse> - getListUptimeCheckConfigsMethod; - if ((getListUptimeCheckConfigsMethod = UptimeCheckServiceGrpc.getListUptimeCheckConfigsMethod) - == null) { - synchronized (UptimeCheckServiceGrpc.class) { - if ((getListUptimeCheckConfigsMethod = - UptimeCheckServiceGrpc.getListUptimeCheckConfigsMethod) - == null) { - UptimeCheckServiceGrpc.getListUptimeCheckConfigsMethod = - getListUptimeCheckConfigsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListUptimeCheckConfigs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.ListUptimeCheckConfigsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.ListUptimeCheckConfigsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new UptimeCheckServiceMethodDescriptorSupplier("ListUptimeCheckConfigs")) - .build(); - } - } - } - return getListUptimeCheckConfigsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.monitoring.v3.GetUptimeCheckConfigRequest, - com.google.monitoring.v3.UptimeCheckConfig> - getGetUptimeCheckConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetUptimeCheckConfig", - requestType = com.google.monitoring.v3.GetUptimeCheckConfigRequest.class, - responseType = com.google.monitoring.v3.UptimeCheckConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.monitoring.v3.GetUptimeCheckConfigRequest, - com.google.monitoring.v3.UptimeCheckConfig> - getGetUptimeCheckConfigMethod() { - io.grpc.MethodDescriptor< - com.google.monitoring.v3.GetUptimeCheckConfigRequest, - com.google.monitoring.v3.UptimeCheckConfig> - getGetUptimeCheckConfigMethod; - if ((getGetUptimeCheckConfigMethod = UptimeCheckServiceGrpc.getGetUptimeCheckConfigMethod) - == null) { - synchronized (UptimeCheckServiceGrpc.class) { - if ((getGetUptimeCheckConfigMethod = UptimeCheckServiceGrpc.getGetUptimeCheckConfigMethod) - == null) { - UptimeCheckServiceGrpc.getGetUptimeCheckConfigMethod = - getGetUptimeCheckConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetUptimeCheckConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.GetUptimeCheckConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance())) - .setSchemaDescriptor( - new UptimeCheckServiceMethodDescriptorSupplier("GetUptimeCheckConfig")) - .build(); - } - } - } - return getGetUptimeCheckConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.monitoring.v3.CreateUptimeCheckConfigRequest, - com.google.monitoring.v3.UptimeCheckConfig> - getCreateUptimeCheckConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateUptimeCheckConfig", - requestType = com.google.monitoring.v3.CreateUptimeCheckConfigRequest.class, - responseType = com.google.monitoring.v3.UptimeCheckConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.monitoring.v3.CreateUptimeCheckConfigRequest, - com.google.monitoring.v3.UptimeCheckConfig> - getCreateUptimeCheckConfigMethod() { - io.grpc.MethodDescriptor< - com.google.monitoring.v3.CreateUptimeCheckConfigRequest, - com.google.monitoring.v3.UptimeCheckConfig> - getCreateUptimeCheckConfigMethod; - if ((getCreateUptimeCheckConfigMethod = UptimeCheckServiceGrpc.getCreateUptimeCheckConfigMethod) - == null) { - synchronized (UptimeCheckServiceGrpc.class) { - if ((getCreateUptimeCheckConfigMethod = - UptimeCheckServiceGrpc.getCreateUptimeCheckConfigMethod) - == null) { - UptimeCheckServiceGrpc.getCreateUptimeCheckConfigMethod = - getCreateUptimeCheckConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateUptimeCheckConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.CreateUptimeCheckConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance())) - .setSchemaDescriptor( - new UptimeCheckServiceMethodDescriptorSupplier("CreateUptimeCheckConfig")) - .build(); - } - } - } - return getCreateUptimeCheckConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.monitoring.v3.UpdateUptimeCheckConfigRequest, - com.google.monitoring.v3.UptimeCheckConfig> - getUpdateUptimeCheckConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateUptimeCheckConfig", - requestType = com.google.monitoring.v3.UpdateUptimeCheckConfigRequest.class, - responseType = com.google.monitoring.v3.UptimeCheckConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.monitoring.v3.UpdateUptimeCheckConfigRequest, - com.google.monitoring.v3.UptimeCheckConfig> - getUpdateUptimeCheckConfigMethod() { - io.grpc.MethodDescriptor< - com.google.monitoring.v3.UpdateUptimeCheckConfigRequest, - com.google.monitoring.v3.UptimeCheckConfig> - getUpdateUptimeCheckConfigMethod; - if ((getUpdateUptimeCheckConfigMethod = UptimeCheckServiceGrpc.getUpdateUptimeCheckConfigMethod) - == null) { - synchronized (UptimeCheckServiceGrpc.class) { - if ((getUpdateUptimeCheckConfigMethod = - UptimeCheckServiceGrpc.getUpdateUptimeCheckConfigMethod) - == null) { - UptimeCheckServiceGrpc.getUpdateUptimeCheckConfigMethod = - getUpdateUptimeCheckConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateUptimeCheckConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.UpdateUptimeCheckConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance())) - .setSchemaDescriptor( - new UptimeCheckServiceMethodDescriptorSupplier("UpdateUptimeCheckConfig")) - .build(); - } - } - } - return getUpdateUptimeCheckConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.monitoring.v3.DeleteUptimeCheckConfigRequest, com.google.protobuf.Empty> - getDeleteUptimeCheckConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteUptimeCheckConfig", - requestType = com.google.monitoring.v3.DeleteUptimeCheckConfigRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.monitoring.v3.DeleteUptimeCheckConfigRequest, com.google.protobuf.Empty> - getDeleteUptimeCheckConfigMethod() { - io.grpc.MethodDescriptor< - com.google.monitoring.v3.DeleteUptimeCheckConfigRequest, com.google.protobuf.Empty> - getDeleteUptimeCheckConfigMethod; - if ((getDeleteUptimeCheckConfigMethod = UptimeCheckServiceGrpc.getDeleteUptimeCheckConfigMethod) - == null) { - synchronized (UptimeCheckServiceGrpc.class) { - if ((getDeleteUptimeCheckConfigMethod = - UptimeCheckServiceGrpc.getDeleteUptimeCheckConfigMethod) - == null) { - UptimeCheckServiceGrpc.getDeleteUptimeCheckConfigMethod = - getDeleteUptimeCheckConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteUptimeCheckConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.DeleteUptimeCheckConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new UptimeCheckServiceMethodDescriptorSupplier("DeleteUptimeCheckConfig")) - .build(); - } - } - } - return getDeleteUptimeCheckConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.monitoring.v3.ListUptimeCheckIpsRequest, - com.google.monitoring.v3.ListUptimeCheckIpsResponse> - getListUptimeCheckIpsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListUptimeCheckIps", - requestType = com.google.monitoring.v3.ListUptimeCheckIpsRequest.class, - responseType = com.google.monitoring.v3.ListUptimeCheckIpsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.monitoring.v3.ListUptimeCheckIpsRequest, - com.google.monitoring.v3.ListUptimeCheckIpsResponse> - getListUptimeCheckIpsMethod() { - io.grpc.MethodDescriptor< - com.google.monitoring.v3.ListUptimeCheckIpsRequest, - com.google.monitoring.v3.ListUptimeCheckIpsResponse> - getListUptimeCheckIpsMethod; - if ((getListUptimeCheckIpsMethod = UptimeCheckServiceGrpc.getListUptimeCheckIpsMethod) - == null) { - synchronized (UptimeCheckServiceGrpc.class) { - if ((getListUptimeCheckIpsMethod = UptimeCheckServiceGrpc.getListUptimeCheckIpsMethod) - == null) { - UptimeCheckServiceGrpc.getListUptimeCheckIpsMethod = - getListUptimeCheckIpsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListUptimeCheckIps")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.ListUptimeCheckIpsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.ListUptimeCheckIpsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new UptimeCheckServiceMethodDescriptorSupplier("ListUptimeCheckIps")) - .build(); - } - } - } - return getListUptimeCheckIpsMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static UptimeCheckServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public UptimeCheckServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new UptimeCheckServiceStub(channel, callOptions); - } - }; - return UptimeCheckServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static UptimeCheckServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public UptimeCheckServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new UptimeCheckServiceBlockingStub(channel, callOptions); - } - }; - return UptimeCheckServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static UptimeCheckServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public UptimeCheckServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new UptimeCheckServiceFutureStub(channel, callOptions); - } - }; - return UptimeCheckServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * The UptimeCheckService API is used to manage (list, create, delete, edit)
-   * Uptime check configurations in the Stackdriver Monitoring product. An Uptime
-   * check is a piece of configuration that determines which resources and
-   * services to monitor for availability. These configurations can also be
-   * configured interactively by navigating to the [Cloud Console]
-   * (http://console.cloud.google.com), selecting the appropriate project,
-   * clicking on "Monitoring" on the left-hand side to navigate to Stackdriver,
-   * and then clicking on "Uptime".
-   * 
- */ - public abstract static class UptimeCheckServiceImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Lists the existing valid Uptime check configurations for the project
-     * (leaving out any invalid configurations).
-     * 
- */ - public void listUptimeCheckConfigs( - com.google.monitoring.v3.ListUptimeCheckConfigsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListUptimeCheckConfigsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a single Uptime check configuration.
-     * 
- */ - public void getUptimeCheckConfig( - com.google.monitoring.v3.GetUptimeCheckConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetUptimeCheckConfigMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new Uptime check configuration.
-     * 
- */ - public void createUptimeCheckConfig( - com.google.monitoring.v3.CreateUptimeCheckConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateUptimeCheckConfigMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates an Uptime check configuration. You can either replace the entire
-     * configuration with a new one or replace only certain fields in the current
-     * configuration by specifying the fields to be updated via `updateMask`.
-     * Returns the updated configuration.
-     * 
- */ - public void updateUptimeCheckConfig( - com.google.monitoring.v3.UpdateUptimeCheckConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateUptimeCheckConfigMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes an Uptime check configuration. Note that this method will fail
-     * if the Uptime check configuration is referenced by an alert policy or
-     * other dependent configs that would be rendered invalid by the deletion.
-     * 
- */ - public void deleteUptimeCheckConfig( - com.google.monitoring.v3.DeleteUptimeCheckConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteUptimeCheckConfigMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns the list of IP addresses that checkers run from
-     * 
- */ - public void listUptimeCheckIps( - com.google.monitoring.v3.ListUptimeCheckIpsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListUptimeCheckIpsMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListUptimeCheckConfigsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.ListUptimeCheckConfigsRequest, - com.google.monitoring.v3.ListUptimeCheckConfigsResponse>( - this, METHODID_LIST_UPTIME_CHECK_CONFIGS))) - .addMethod( - getGetUptimeCheckConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.GetUptimeCheckConfigRequest, - com.google.monitoring.v3.UptimeCheckConfig>( - this, METHODID_GET_UPTIME_CHECK_CONFIG))) - .addMethod( - getCreateUptimeCheckConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.CreateUptimeCheckConfigRequest, - com.google.monitoring.v3.UptimeCheckConfig>( - this, METHODID_CREATE_UPTIME_CHECK_CONFIG))) - .addMethod( - getUpdateUptimeCheckConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.UpdateUptimeCheckConfigRequest, - com.google.monitoring.v3.UptimeCheckConfig>( - this, METHODID_UPDATE_UPTIME_CHECK_CONFIG))) - .addMethod( - getDeleteUptimeCheckConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.DeleteUptimeCheckConfigRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_UPTIME_CHECK_CONFIG))) - .addMethod( - getListUptimeCheckIpsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.ListUptimeCheckIpsRequest, - com.google.monitoring.v3.ListUptimeCheckIpsResponse>( - this, METHODID_LIST_UPTIME_CHECK_IPS))) - .build(); - } - } - - /** - * - * - *
-   * The UptimeCheckService API is used to manage (list, create, delete, edit)
-   * Uptime check configurations in the Stackdriver Monitoring product. An Uptime
-   * check is a piece of configuration that determines which resources and
-   * services to monitor for availability. These configurations can also be
-   * configured interactively by navigating to the [Cloud Console]
-   * (http://console.cloud.google.com), selecting the appropriate project,
-   * clicking on "Monitoring" on the left-hand side to navigate to Stackdriver,
-   * and then clicking on "Uptime".
-   * 
- */ - public static final class UptimeCheckServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private UptimeCheckServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected UptimeCheckServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new UptimeCheckServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists the existing valid Uptime check configurations for the project
-     * (leaving out any invalid configurations).
-     * 
- */ - public void listUptimeCheckConfigs( - com.google.monitoring.v3.ListUptimeCheckConfigsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListUptimeCheckConfigsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a single Uptime check configuration.
-     * 
- */ - public void getUptimeCheckConfig( - com.google.monitoring.v3.GetUptimeCheckConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetUptimeCheckConfigMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a new Uptime check configuration.
-     * 
- */ - public void createUptimeCheckConfig( - com.google.monitoring.v3.CreateUptimeCheckConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateUptimeCheckConfigMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates an Uptime check configuration. You can either replace the entire
-     * configuration with a new one or replace only certain fields in the current
-     * configuration by specifying the fields to be updated via `updateMask`.
-     * Returns the updated configuration.
-     * 
- */ - public void updateUptimeCheckConfig( - com.google.monitoring.v3.UpdateUptimeCheckConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateUptimeCheckConfigMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes an Uptime check configuration. Note that this method will fail
-     * if the Uptime check configuration is referenced by an alert policy or
-     * other dependent configs that would be rendered invalid by the deletion.
-     * 
- */ - public void deleteUptimeCheckConfig( - com.google.monitoring.v3.DeleteUptimeCheckConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteUptimeCheckConfigMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns the list of IP addresses that checkers run from
-     * 
- */ - public void listUptimeCheckIps( - com.google.monitoring.v3.ListUptimeCheckIpsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListUptimeCheckIpsMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * The UptimeCheckService API is used to manage (list, create, delete, edit)
-   * Uptime check configurations in the Stackdriver Monitoring product. An Uptime
-   * check is a piece of configuration that determines which resources and
-   * services to monitor for availability. These configurations can also be
-   * configured interactively by navigating to the [Cloud Console]
-   * (http://console.cloud.google.com), selecting the appropriate project,
-   * clicking on "Monitoring" on the left-hand side to navigate to Stackdriver,
-   * and then clicking on "Uptime".
-   * 
- */ - public static final class UptimeCheckServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private UptimeCheckServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected UptimeCheckServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new UptimeCheckServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists the existing valid Uptime check configurations for the project
-     * (leaving out any invalid configurations).
-     * 
- */ - public com.google.monitoring.v3.ListUptimeCheckConfigsResponse listUptimeCheckConfigs( - com.google.monitoring.v3.ListUptimeCheckConfigsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListUptimeCheckConfigsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a single Uptime check configuration.
-     * 
- */ - public com.google.monitoring.v3.UptimeCheckConfig getUptimeCheckConfig( - com.google.monitoring.v3.GetUptimeCheckConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetUptimeCheckConfigMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new Uptime check configuration.
-     * 
- */ - public com.google.monitoring.v3.UptimeCheckConfig createUptimeCheckConfig( - com.google.monitoring.v3.CreateUptimeCheckConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateUptimeCheckConfigMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates an Uptime check configuration. You can either replace the entire
-     * configuration with a new one or replace only certain fields in the current
-     * configuration by specifying the fields to be updated via `updateMask`.
-     * Returns the updated configuration.
-     * 
- */ - public com.google.monitoring.v3.UptimeCheckConfig updateUptimeCheckConfig( - com.google.monitoring.v3.UpdateUptimeCheckConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateUptimeCheckConfigMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes an Uptime check configuration. Note that this method will fail
-     * if the Uptime check configuration is referenced by an alert policy or
-     * other dependent configs that would be rendered invalid by the deletion.
-     * 
- */ - public com.google.protobuf.Empty deleteUptimeCheckConfig( - com.google.monitoring.v3.DeleteUptimeCheckConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteUptimeCheckConfigMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns the list of IP addresses that checkers run from
-     * 
- */ - public com.google.monitoring.v3.ListUptimeCheckIpsResponse listUptimeCheckIps( - com.google.monitoring.v3.ListUptimeCheckIpsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListUptimeCheckIpsMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * The UptimeCheckService API is used to manage (list, create, delete, edit)
-   * Uptime check configurations in the Stackdriver Monitoring product. An Uptime
-   * check is a piece of configuration that determines which resources and
-   * services to monitor for availability. These configurations can also be
-   * configured interactively by navigating to the [Cloud Console]
-   * (http://console.cloud.google.com), selecting the appropriate project,
-   * clicking on "Monitoring" on the left-hand side to navigate to Stackdriver,
-   * and then clicking on "Uptime".
-   * 
- */ - public static final class UptimeCheckServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private UptimeCheckServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected UptimeCheckServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new UptimeCheckServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists the existing valid Uptime check configurations for the project
-     * (leaving out any invalid configurations).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.monitoring.v3.ListUptimeCheckConfigsResponse> - listUptimeCheckConfigs(com.google.monitoring.v3.ListUptimeCheckConfigsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListUptimeCheckConfigsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a single Uptime check configuration.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.monitoring.v3.UptimeCheckConfig> - getUptimeCheckConfig(com.google.monitoring.v3.GetUptimeCheckConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetUptimeCheckConfigMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new Uptime check configuration.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.monitoring.v3.UptimeCheckConfig> - createUptimeCheckConfig(com.google.monitoring.v3.CreateUptimeCheckConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateUptimeCheckConfigMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates an Uptime check configuration. You can either replace the entire
-     * configuration with a new one or replace only certain fields in the current
-     * configuration by specifying the fields to be updated via `updateMask`.
-     * Returns the updated configuration.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.monitoring.v3.UptimeCheckConfig> - updateUptimeCheckConfig(com.google.monitoring.v3.UpdateUptimeCheckConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateUptimeCheckConfigMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes an Uptime check configuration. Note that this method will fail
-     * if the Uptime check configuration is referenced by an alert policy or
-     * other dependent configs that would be rendered invalid by the deletion.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteUptimeCheckConfig(com.google.monitoring.v3.DeleteUptimeCheckConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteUptimeCheckConfigMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns the list of IP addresses that checkers run from
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.monitoring.v3.ListUptimeCheckIpsResponse> - listUptimeCheckIps(com.google.monitoring.v3.ListUptimeCheckIpsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListUptimeCheckIpsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_UPTIME_CHECK_CONFIGS = 0; - private static final int METHODID_GET_UPTIME_CHECK_CONFIG = 1; - private static final int METHODID_CREATE_UPTIME_CHECK_CONFIG = 2; - private static final int METHODID_UPDATE_UPTIME_CHECK_CONFIG = 3; - private static final int METHODID_DELETE_UPTIME_CHECK_CONFIG = 4; - private static final int METHODID_LIST_UPTIME_CHECK_IPS = 5; - - 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 UptimeCheckServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(UptimeCheckServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_LIST_UPTIME_CHECK_CONFIGS: - serviceImpl.listUptimeCheckConfigs( - (com.google.monitoring.v3.ListUptimeCheckConfigsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_UPTIME_CHECK_CONFIG: - serviceImpl.getUptimeCheckConfig( - (com.google.monitoring.v3.GetUptimeCheckConfigRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_UPTIME_CHECK_CONFIG: - serviceImpl.createUptimeCheckConfig( - (com.google.monitoring.v3.CreateUptimeCheckConfigRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_UPTIME_CHECK_CONFIG: - serviceImpl.updateUptimeCheckConfig( - (com.google.monitoring.v3.UpdateUptimeCheckConfigRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_UPTIME_CHECK_CONFIG: - serviceImpl.deleteUptimeCheckConfig( - (com.google.monitoring.v3.DeleteUptimeCheckConfigRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_UPTIME_CHECK_IPS: - serviceImpl.listUptimeCheckIps( - (com.google.monitoring.v3.ListUptimeCheckIpsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class UptimeCheckServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - UptimeCheckServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.monitoring.v3.UptimeServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("UptimeCheckService"); - } - } - - private static final class UptimeCheckServiceFileDescriptorSupplier - extends UptimeCheckServiceBaseDescriptorSupplier { - UptimeCheckServiceFileDescriptorSupplier() {} - } - - private static final class UptimeCheckServiceMethodDescriptorSupplier - extends UptimeCheckServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - UptimeCheckServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (UptimeCheckServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new UptimeCheckServiceFileDescriptorSupplier()) - .addMethod(getListUptimeCheckConfigsMethod()) - .addMethod(getGetUptimeCheckConfigMethod()) - .addMethod(getCreateUptimeCheckConfigMethod()) - .addMethod(getUpdateUptimeCheckConfigMethod()) - .addMethod(getDeleteUptimeCheckConfigMethod()) - .addMethod(getListUptimeCheckIpsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClient.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClient.java similarity index 97% rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClient.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClient.java index 97c84cbe..94587b56 100644 --- a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClient.java +++ b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClient.java @@ -25,7 +25,6 @@ import com.google.api.gax.paging.AbstractPagedListResponse; import com.google.api.gax.rpc.PageContext; import com.google.api.gax.rpc.UnaryCallable; -import com.google.api.resourcenames.ResourceName; import com.google.cloud.monitoring.v3.stub.AlertPolicyServiceStub; import com.google.cloud.monitoring.v3.stub.AlertPolicyServiceStubSettings; import com.google.common.util.concurrent.MoreExecutors; @@ -33,6 +32,7 @@ import com.google.monitoring.v3.AlertPolicyName; import com.google.monitoring.v3.CreateAlertPolicyRequest; import com.google.monitoring.v3.DeleteAlertPolicyRequest; +import com.google.monitoring.v3.FolderName; import com.google.monitoring.v3.GetAlertPolicyRequest; import com.google.monitoring.v3.ListAlertPoliciesRequest; import com.google.monitoring.v3.ListAlertPoliciesResponse; @@ -74,13 +74,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -176,7 +176,7 @@ public AlertPolicyServiceStub getStub() { * *
{@code
    * try (AlertPolicyServiceClient alertPolicyServiceClient = AlertPolicyServiceClient.create()) {
-   *   ResourceName name = ResourceName.of("[FOLDER]");
+   *   FolderName name = FolderName.of("[FOLDER]");
    *   for (AlertPolicy element : alertPolicyServiceClient.listAlertPolicies(name).iterateAll()) {
    *     // doThingsWith(element);
    *   }
@@ -192,7 +192,7 @@ public AlertPolicyServiceStub getStub() {
    *     instead.
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
-  public final ListAlertPoliciesPagedResponse listAlertPolicies(ResourceName name) {
+  public final ListAlertPoliciesPagedResponse listAlertPolicies(FolderName name) {
     ListAlertPoliciesRequest request =
         ListAlertPoliciesRequest.newBuilder()
             .setName(name == null ? null : name.toString())
@@ -494,7 +494,7 @@ public final UnaryCallable getAlertPolicyCal
    *
    * 
{@code
    * try (AlertPolicyServiceClient alertPolicyServiceClient = AlertPolicyServiceClient.create()) {
-   *   ResourceName name = ResourceName.of("[FOLDER]");
+   *   FolderName name = FolderName.of("[FOLDER]");
    *   AlertPolicy alertPolicy = AlertPolicy.newBuilder().build();
    *   AlertPolicy response = alertPolicyServiceClient.createAlertPolicy(name, alertPolicy);
    * }
@@ -514,7 +514,7 @@ public final UnaryCallable getAlertPolicyCal
    *     `[ALERT_POLICY_ID]` value.
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
-  public final AlertPolicy createAlertPolicy(ResourceName name, AlertPolicy alertPolicy) {
+  public final AlertPolicy createAlertPolicy(FolderName name, AlertPolicy alertPolicy) {
     CreateAlertPolicyRequest request =
         CreateAlertPolicyRequest.newBuilder()
             .setName(name == null ? null : name.toString())
@@ -909,10 +909,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted
 
   public static class ListAlertPoliciesPagedResponse
       extends AbstractPagedListResponse<
-          ListAlertPoliciesRequest,
-          ListAlertPoliciesResponse,
-          AlertPolicy,
-          ListAlertPoliciesPage,
+          ListAlertPoliciesRequest, ListAlertPoliciesResponse, AlertPolicy, ListAlertPoliciesPage,
           ListAlertPoliciesFixedSizeCollection> {
 
     public static ApiFuture createAsync(
@@ -962,10 +959,7 @@ public ApiFuture createPageAsync(
 
   public static class ListAlertPoliciesFixedSizeCollection
       extends AbstractFixedSizeCollection<
-          ListAlertPoliciesRequest,
-          ListAlertPoliciesResponse,
-          AlertPolicy,
-          ListAlertPoliciesPage,
+          ListAlertPoliciesRequest, ListAlertPoliciesResponse, AlertPolicy, ListAlertPoliciesPage,
           ListAlertPoliciesFixedSizeCollection> {
 
     private ListAlertPoliciesFixedSizeCollection(
diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceSettings.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceSettings.java
similarity index 96%
rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceSettings.java
rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceSettings.java
index 6f3ef4df..a5046c1a 100644
--- a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceSettings.java
+++ b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceSettings.java
@@ -27,6 +27,7 @@
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.ClientSettings;
 import com.google.api.gax.rpc.PagedCallSettings;
+import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.monitoring.v3.stub.AlertPolicyServiceStubSettings;
@@ -49,9 +50,9 @@
  * 

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceClient.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceClient.java similarity index 96% rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceClient.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceClient.java index 256f9c92..b59e4021 100644 --- a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceClient.java +++ b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceClient.java @@ -26,12 +26,12 @@ import com.google.api.gax.paging.AbstractPagedListResponse; import com.google.api.gax.rpc.PageContext; import com.google.api.gax.rpc.UnaryCallable; -import com.google.api.resourcenames.ResourceName; import com.google.cloud.monitoring.v3.stub.GroupServiceStub; import com.google.cloud.monitoring.v3.stub.GroupServiceStubSettings; import com.google.common.util.concurrent.MoreExecutors; import com.google.monitoring.v3.CreateGroupRequest; import com.google.monitoring.v3.DeleteGroupRequest; +import com.google.monitoring.v3.FolderName; import com.google.monitoring.v3.GetGroupRequest; import com.google.monitoring.v3.Group; import com.google.monitoring.v3.GroupName; @@ -77,13 +77,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -176,7 +176,7 @@ public GroupServiceStub getStub() { * *
{@code
    * try (GroupServiceClient groupServiceClient = GroupServiceClient.create()) {
-   *   ResourceName name = ResourceName.of("[FOLDER]");
+   *   FolderName name = FolderName.of("[FOLDER]");
    *   for (Group element : groupServiceClient.listGroups(name).iterateAll()) {
    *     // doThingsWith(element);
    *   }
@@ -188,7 +188,7 @@ public GroupServiceStub getStub() {
    *     

projects/[PROJECT_ID_OR_NUMBER] * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - public final ListGroupsPagedResponse listGroups(ResourceName name) { + public final ListGroupsPagedResponse listGroups(FolderName name) { ListGroupsRequest request = ListGroupsRequest.newBuilder().setName(name == null ? null : name.toString()).build(); return listGroups(request); @@ -455,7 +455,7 @@ public final UnaryCallable getGroupCallable() { * *

{@code
    * try (GroupServiceClient groupServiceClient = GroupServiceClient.create()) {
-   *   ResourceName name = ResourceName.of("[FOLDER]");
+   *   FolderName name = FolderName.of("[FOLDER]");
    *   Group group = Group.newBuilder().build();
    *   Group response = groupServiceClient.createGroup(name, group);
    * }
@@ -468,7 +468,7 @@ public final UnaryCallable getGroupCallable() {
    *     the system assigns the name.
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
-  public final Group createGroup(ResourceName name, Group group) {
+  public final Group createGroup(FolderName name, Group group) {
     CreateGroupRequest request =
         CreateGroupRequest.newBuilder()
             .setName(name == null ? null : name.toString())
@@ -951,10 +951,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted
 
   public static class ListGroupsPagedResponse
       extends AbstractPagedListResponse<
-          ListGroupsRequest,
-          ListGroupsResponse,
-          Group,
-          ListGroupsPage,
+          ListGroupsRequest, ListGroupsResponse, Group, ListGroupsPage,
           ListGroupsFixedSizeCollection> {
 
     public static ApiFuture createAsync(
@@ -1001,10 +998,7 @@ public ApiFuture createPageAsync(
 
   public static class ListGroupsFixedSizeCollection
       extends AbstractFixedSizeCollection<
-          ListGroupsRequest,
-          ListGroupsResponse,
-          Group,
-          ListGroupsPage,
+          ListGroupsRequest, ListGroupsResponse, Group, ListGroupsPage,
           ListGroupsFixedSizeCollection> {
 
     private ListGroupsFixedSizeCollection(List pages, int collectionSize) {
@@ -1024,11 +1018,8 @@ protected ListGroupsFixedSizeCollection createCollection(
 
   public static class ListGroupMembersPagedResponse
       extends AbstractPagedListResponse<
-          ListGroupMembersRequest,
-          ListGroupMembersResponse,
-          MonitoredResource,
-          ListGroupMembersPage,
-          ListGroupMembersFixedSizeCollection> {
+          ListGroupMembersRequest, ListGroupMembersResponse, MonitoredResource,
+          ListGroupMembersPage, ListGroupMembersFixedSizeCollection> {
 
     public static ApiFuture createAsync(
         PageContext context,
@@ -1048,9 +1039,7 @@ private ListGroupMembersPagedResponse(ListGroupMembersPage page) {
 
   public static class ListGroupMembersPage
       extends AbstractPage<
-          ListGroupMembersRequest,
-          ListGroupMembersResponse,
-          MonitoredResource,
+          ListGroupMembersRequest, ListGroupMembersResponse, MonitoredResource,
           ListGroupMembersPage> {
 
     private ListGroupMembersPage(
@@ -1080,11 +1069,8 @@ public ApiFuture createPageAsync(
 
   public static class ListGroupMembersFixedSizeCollection
       extends AbstractFixedSizeCollection<
-          ListGroupMembersRequest,
-          ListGroupMembersResponse,
-          MonitoredResource,
-          ListGroupMembersPage,
-          ListGroupMembersFixedSizeCollection> {
+          ListGroupMembersRequest, ListGroupMembersResponse, MonitoredResource,
+          ListGroupMembersPage, ListGroupMembersFixedSizeCollection> {
 
     private ListGroupMembersFixedSizeCollection(
         List pages, int collectionSize) {
diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceSettings.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceSettings.java
similarity index 96%
rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceSettings.java
rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceSettings.java
index f6c0541c..daf950db 100644
--- a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceSettings.java
+++ b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceSettings.java
@@ -28,6 +28,7 @@
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.ClientSettings;
 import com.google.api.gax.rpc.PagedCallSettings;
+import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.monitoring.v3.stub.GroupServiceStubSettings;
@@ -52,9 +53,9 @@
  * 

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceClient.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceClient.java similarity index 96% rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceClient.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceClient.java index 35dde089..380fa93a 100644 --- a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceClient.java +++ b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceClient.java @@ -27,13 +27,13 @@ import com.google.api.gax.paging.AbstractPagedListResponse; import com.google.api.gax.rpc.PageContext; import com.google.api.gax.rpc.UnaryCallable; -import com.google.api.resourcenames.ResourceName; import com.google.cloud.monitoring.v3.stub.MetricServiceStub; import com.google.cloud.monitoring.v3.stub.MetricServiceStubSettings; import com.google.common.util.concurrent.MoreExecutors; import com.google.monitoring.v3.CreateMetricDescriptorRequest; import com.google.monitoring.v3.CreateTimeSeriesRequest; import com.google.monitoring.v3.DeleteMetricDescriptorRequest; +import com.google.monitoring.v3.FolderName; import com.google.monitoring.v3.GetMetricDescriptorRequest; import com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest; import com.google.monitoring.v3.ListMetricDescriptorsRequest; @@ -79,13 +79,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -180,7 +180,7 @@ public MetricServiceStub getStub() { * *
{@code
    * try (MetricServiceClient metricServiceClient = MetricServiceClient.create()) {
-   *   ResourceName name = ResourceName.of("[FOLDER]");
+   *   FolderName name = FolderName.of("[FOLDER]");
    *   for (MonitoredResourceDescriptor element :
    *       metricServiceClient.listMonitoredResourceDescriptors(name).iterateAll()) {
    *     // doThingsWith(element);
@@ -194,7 +194,7 @@ public MetricServiceStub getStub() {
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
   public final ListMonitoredResourceDescriptorsPagedResponse listMonitoredResourceDescriptors(
-      ResourceName name) {
+      FolderName name) {
     ListMonitoredResourceDescriptorsRequest request =
         ListMonitoredResourceDescriptorsRequest.newBuilder()
             .setName(name == null ? null : name.toString())
@@ -514,7 +514,7 @@ public final MonitoredResourceDescriptor getMonitoredResourceDescriptor(
    *
    * 
{@code
    * try (MetricServiceClient metricServiceClient = MetricServiceClient.create()) {
-   *   ResourceName name = ResourceName.of("[FOLDER]");
+   *   FolderName name = FolderName.of("[FOLDER]");
    *   for (MetricDescriptor element :
    *       metricServiceClient.listMetricDescriptors(name).iterateAll()) {
    *     // doThingsWith(element);
@@ -527,7 +527,7 @@ public final MonitoredResourceDescriptor getMonitoredResourceDescriptor(
    *     

projects/[PROJECT_ID_OR_NUMBER] * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - public final ListMetricDescriptorsPagedResponse listMetricDescriptors(ResourceName name) { + public final ListMetricDescriptorsPagedResponse listMetricDescriptors(FolderName name) { ListMetricDescriptorsRequest request = ListMetricDescriptorsRequest.newBuilder() .setName(name == null ? null : name.toString()) @@ -833,7 +833,7 @@ public final MetricDescriptor getMetricDescriptor(GetMetricDescriptorRequest req * *

{@code
    * try (MetricServiceClient metricServiceClient = MetricServiceClient.create()) {
-   *   ResourceName name = ResourceName.of("[FOLDER]");
+   *   FolderName name = FolderName.of("[FOLDER]");
    *   MetricDescriptor metricDescriptor = MetricDescriptor.newBuilder().build();
    *   MetricDescriptor response =
    *       metricServiceClient.createMetricDescriptor(name, metricDescriptor);
@@ -847,7 +847,7 @@ public final MetricDescriptor getMetricDescriptor(GetMetricDescriptorRequest req
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
   public final MetricDescriptor createMetricDescriptor(
-      ResourceName name, MetricDescriptor metricDescriptor) {
+      FolderName name, MetricDescriptor metricDescriptor) {
     CreateMetricDescriptorRequest request =
         CreateMetricDescriptorRequest.newBuilder()
             .setName(name == null ? null : name.toString())
@@ -1126,7 +1126,7 @@ public final void deleteMetricDescriptor(DeleteMetricDescriptorRequest request)
    *
    * 
{@code
    * try (MetricServiceClient metricServiceClient = MetricServiceClient.create()) {
-   *   ResourceName name = ResourceName.of("[FOLDER]");
+   *   FolderName name = FolderName.of("[FOLDER]");
    *   String filter = "filter-1274492040";
    *   TimeInterval interval = TimeInterval.newBuilder().build();
    *   ListTimeSeriesRequest.TimeSeriesView view = ListTimeSeriesRequest.TimeSeriesView.forNumber(0);
@@ -1152,7 +1152,7 @@ public final void deleteMetricDescriptor(DeleteMetricDescriptorRequest request)
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
   public final ListTimeSeriesPagedResponse listTimeSeries(
-      ResourceName name,
+      FolderName name,
       String filter,
       TimeInterval interval,
       ListTimeSeriesRequest.TimeSeriesView view) {
@@ -1696,16 +1696,13 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted
 
   public static class ListMonitoredResourceDescriptorsPagedResponse
       extends AbstractPagedListResponse<
-          ListMonitoredResourceDescriptorsRequest,
-          ListMonitoredResourceDescriptorsResponse,
-          MonitoredResourceDescriptor,
-          ListMonitoredResourceDescriptorsPage,
+          ListMonitoredResourceDescriptorsRequest, ListMonitoredResourceDescriptorsResponse,
+          MonitoredResourceDescriptor, ListMonitoredResourceDescriptorsPage,
           ListMonitoredResourceDescriptorsFixedSizeCollection> {
 
     public static ApiFuture createAsync(
         PageContext<
-                ListMonitoredResourceDescriptorsRequest,
-                ListMonitoredResourceDescriptorsResponse,
+                ListMonitoredResourceDescriptorsRequest, ListMonitoredResourceDescriptorsResponse,
                 MonitoredResourceDescriptor>
             context,
         ApiFuture futureResponse) {
@@ -1726,15 +1723,12 @@ private ListMonitoredResourceDescriptorsPagedResponse(
 
   public static class ListMonitoredResourceDescriptorsPage
       extends AbstractPage<
-          ListMonitoredResourceDescriptorsRequest,
-          ListMonitoredResourceDescriptorsResponse,
-          MonitoredResourceDescriptor,
-          ListMonitoredResourceDescriptorsPage> {
+          ListMonitoredResourceDescriptorsRequest, ListMonitoredResourceDescriptorsResponse,
+          MonitoredResourceDescriptor, ListMonitoredResourceDescriptorsPage> {
 
     private ListMonitoredResourceDescriptorsPage(
         PageContext<
-                ListMonitoredResourceDescriptorsRequest,
-                ListMonitoredResourceDescriptorsResponse,
+                ListMonitoredResourceDescriptorsRequest, ListMonitoredResourceDescriptorsResponse,
                 MonitoredResourceDescriptor>
             context,
         ListMonitoredResourceDescriptorsResponse response) {
@@ -1748,8 +1742,7 @@ private static ListMonitoredResourceDescriptorsPage createEmptyPage() {
     @Override
     protected ListMonitoredResourceDescriptorsPage createPage(
         PageContext<
-                ListMonitoredResourceDescriptorsRequest,
-                ListMonitoredResourceDescriptorsResponse,
+                ListMonitoredResourceDescriptorsRequest, ListMonitoredResourceDescriptorsResponse,
                 MonitoredResourceDescriptor>
             context,
         ListMonitoredResourceDescriptorsResponse response) {
@@ -1759,8 +1752,7 @@ protected ListMonitoredResourceDescriptorsPage createPage(
     @Override
     public ApiFuture createPageAsync(
         PageContext<
-                ListMonitoredResourceDescriptorsRequest,
-                ListMonitoredResourceDescriptorsResponse,
+                ListMonitoredResourceDescriptorsRequest, ListMonitoredResourceDescriptorsResponse,
                 MonitoredResourceDescriptor>
             context,
         ApiFuture futureResponse) {
@@ -1770,10 +1762,8 @@ public ApiFuture createPageAsync(
 
   public static class ListMonitoredResourceDescriptorsFixedSizeCollection
       extends AbstractFixedSizeCollection<
-          ListMonitoredResourceDescriptorsRequest,
-          ListMonitoredResourceDescriptorsResponse,
-          MonitoredResourceDescriptor,
-          ListMonitoredResourceDescriptorsPage,
+          ListMonitoredResourceDescriptorsRequest, ListMonitoredResourceDescriptorsResponse,
+          MonitoredResourceDescriptor, ListMonitoredResourceDescriptorsPage,
           ListMonitoredResourceDescriptorsFixedSizeCollection> {
 
     private ListMonitoredResourceDescriptorsFixedSizeCollection(
@@ -1794,11 +1784,8 @@ protected ListMonitoredResourceDescriptorsFixedSizeCollection createCollection(
 
   public static class ListMetricDescriptorsPagedResponse
       extends AbstractPagedListResponse<
-          ListMetricDescriptorsRequest,
-          ListMetricDescriptorsResponse,
-          MetricDescriptor,
-          ListMetricDescriptorsPage,
-          ListMetricDescriptorsFixedSizeCollection> {
+          ListMetricDescriptorsRequest, ListMetricDescriptorsResponse, MetricDescriptor,
+          ListMetricDescriptorsPage, ListMetricDescriptorsFixedSizeCollection> {
 
     public static ApiFuture createAsync(
         PageContext
@@ -1819,9 +1806,7 @@ private ListMetricDescriptorsPagedResponse(ListMetricDescriptorsPage page) {
 
   public static class ListMetricDescriptorsPage
       extends AbstractPage<
-          ListMetricDescriptorsRequest,
-          ListMetricDescriptorsResponse,
-          MetricDescriptor,
+          ListMetricDescriptorsRequest, ListMetricDescriptorsResponse, MetricDescriptor,
           ListMetricDescriptorsPage> {
 
     private ListMetricDescriptorsPage(
@@ -1854,11 +1839,8 @@ public ApiFuture createPageAsync(
 
   public static class ListMetricDescriptorsFixedSizeCollection
       extends AbstractFixedSizeCollection<
-          ListMetricDescriptorsRequest,
-          ListMetricDescriptorsResponse,
-          MetricDescriptor,
-          ListMetricDescriptorsPage,
-          ListMetricDescriptorsFixedSizeCollection> {
+          ListMetricDescriptorsRequest, ListMetricDescriptorsResponse, MetricDescriptor,
+          ListMetricDescriptorsPage, ListMetricDescriptorsFixedSizeCollection> {
 
     private ListMetricDescriptorsFixedSizeCollection(
         List pages, int collectionSize) {
@@ -1878,10 +1860,7 @@ protected ListMetricDescriptorsFixedSizeCollection createCollection(
 
   public static class ListTimeSeriesPagedResponse
       extends AbstractPagedListResponse<
-          ListTimeSeriesRequest,
-          ListTimeSeriesResponse,
-          TimeSeries,
-          ListTimeSeriesPage,
+          ListTimeSeriesRequest, ListTimeSeriesResponse, TimeSeries, ListTimeSeriesPage,
           ListTimeSeriesFixedSizeCollection> {
 
     public static ApiFuture createAsync(
@@ -1931,10 +1910,7 @@ public ApiFuture createPageAsync(
 
   public static class ListTimeSeriesFixedSizeCollection
       extends AbstractFixedSizeCollection<
-          ListTimeSeriesRequest,
-          ListTimeSeriesResponse,
-          TimeSeries,
-          ListTimeSeriesPage,
+          ListTimeSeriesRequest, ListTimeSeriesResponse, TimeSeries, ListTimeSeriesPage,
           ListTimeSeriesFixedSizeCollection> {
 
     private ListTimeSeriesFixedSizeCollection(List pages, int collectionSize) {
diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceSettings.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceSettings.java
similarity index 95%
rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceSettings.java
rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceSettings.java
index ebc46a96..36da86b8 100644
--- a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceSettings.java
+++ b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceSettings.java
@@ -31,6 +31,7 @@
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.ClientSettings;
 import com.google.api.gax.rpc.PagedCallSettings;
+import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.monitoring.v3.stub.MetricServiceStubSettings;
@@ -57,9 +58,9 @@
  * 

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -86,8 +87,7 @@ public class MetricServiceSettings extends ClientSettings /** Returns the object with the settings used for calls to listMonitoredResourceDescriptors. */ public PagedCallSettings< - ListMonitoredResourceDescriptorsRequest, - ListMonitoredResourceDescriptorsResponse, + ListMonitoredResourceDescriptorsRequest, ListMonitoredResourceDescriptorsResponse, ListMonitoredResourceDescriptorsPagedResponse> listMonitoredResourceDescriptorsSettings() { return ((MetricServiceStubSettings) getStubSettings()) @@ -102,8 +102,7 @@ public class MetricServiceSettings extends ClientSettings /** Returns the object with the settings used for calls to listMetricDescriptors. */ public PagedCallSettings< - ListMetricDescriptorsRequest, - ListMetricDescriptorsResponse, + ListMetricDescriptorsRequest, ListMetricDescriptorsResponse, ListMetricDescriptorsPagedResponse> listMetricDescriptorsSettings() { return ((MetricServiceStubSettings) getStubSettings()).listMetricDescriptorsSettings(); @@ -242,8 +241,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listMonitoredResourceDescriptors. */ public PagedCallSettings.Builder< - ListMonitoredResourceDescriptorsRequest, - ListMonitoredResourceDescriptorsResponse, + ListMonitoredResourceDescriptorsRequest, ListMonitoredResourceDescriptorsResponse, ListMonitoredResourceDescriptorsPagedResponse> listMonitoredResourceDescriptorsSettings() { return getStubSettingsBuilder().listMonitoredResourceDescriptorsSettings(); @@ -258,8 +256,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listMetricDescriptors. */ public PagedCallSettings.Builder< - ListMetricDescriptorsRequest, - ListMetricDescriptorsResponse, + ListMetricDescriptorsRequest, ListMetricDescriptorsResponse, ListMetricDescriptorsPagedResponse> listMetricDescriptorsSettings() { return getStubSettingsBuilder().listMetricDescriptorsSettings(); diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClient.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClient.java similarity index 97% rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClient.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClient.java index b5b7eae5..c75d6e08 100644 --- a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClient.java +++ b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClient.java @@ -25,12 +25,12 @@ import com.google.api.gax.paging.AbstractPagedListResponse; import com.google.api.gax.rpc.PageContext; import com.google.api.gax.rpc.UnaryCallable; -import com.google.api.resourcenames.ResourceName; import com.google.cloud.monitoring.v3.stub.NotificationChannelServiceStub; import com.google.cloud.monitoring.v3.stub.NotificationChannelServiceStubSettings; import com.google.common.util.concurrent.MoreExecutors; import com.google.monitoring.v3.CreateNotificationChannelRequest; import com.google.monitoring.v3.DeleteNotificationChannelRequest; +import com.google.monitoring.v3.FolderName; import com.google.monitoring.v3.GetNotificationChannelDescriptorRequest; import com.google.monitoring.v3.GetNotificationChannelRequest; import com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest; @@ -82,13 +82,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -188,7 +188,7 @@ public NotificationChannelServiceStub getStub() { *
{@code
    * try (NotificationChannelServiceClient notificationChannelServiceClient =
    *     NotificationChannelServiceClient.create()) {
-   *   ResourceName name = ResourceName.of("[FOLDER]");
+   *   FolderName name = FolderName.of("[FOLDER]");
    *   for (NotificationChannelDescriptor element :
    *       notificationChannelServiceClient.listNotificationChannelDescriptors(name).iterateAll()) {
    *     // doThingsWith(element);
@@ -207,7 +207,7 @@ public NotificationChannelServiceStub getStub() {
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
   public final ListNotificationChannelDescriptorsPagedResponse listNotificationChannelDescriptors(
-      ResourceName name) {
+      FolderName name) {
     ListNotificationChannelDescriptorsRequest request =
         ListNotificationChannelDescriptorsRequest.newBuilder()
             .setName(name == null ? null : name.toString())
@@ -561,7 +561,7 @@ public final NotificationChannelDescriptor getNotificationChannelDescriptor(
    * 
{@code
    * try (NotificationChannelServiceClient notificationChannelServiceClient =
    *     NotificationChannelServiceClient.create()) {
-   *   ResourceName name = ResourceName.of("[FOLDER]");
+   *   FolderName name = FolderName.of("[FOLDER]");
    *   for (NotificationChannel element :
    *       notificationChannelServiceClient.listNotificationChannels(name).iterateAll()) {
    *     // doThingsWith(element);
@@ -578,7 +578,7 @@ public final NotificationChannelDescriptor getNotificationChannelDescriptor(
    *     operation.
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
-  public final ListNotificationChannelsPagedResponse listNotificationChannels(ResourceName name) {
+  public final ListNotificationChannelsPagedResponse listNotificationChannels(FolderName name) {
     ListNotificationChannelsRequest request =
         ListNotificationChannelsRequest.newBuilder()
             .setName(name == null ? null : name.toString())
@@ -923,7 +923,7 @@ public final NotificationChannel getNotificationChannel(GetNotificationChannelRe
    * 
{@code
    * try (NotificationChannelServiceClient notificationChannelServiceClient =
    *     NotificationChannelServiceClient.create()) {
-   *   ResourceName name = ResourceName.of("[FOLDER]");
+   *   FolderName name = FolderName.of("[FOLDER]");
    *   NotificationChannel notificationChannel = NotificationChannel.newBuilder().build();
    *   NotificationChannel response =
    *       notificationChannelServiceClient.createNotificationChannel(name, notificationChannel);
@@ -941,7 +941,7 @@ public final NotificationChannel getNotificationChannel(GetNotificationChannelRe
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
   public final NotificationChannel createNotificationChannel(
-      ResourceName name, NotificationChannel notificationChannel) {
+      FolderName name, NotificationChannel notificationChannel) {
     CreateNotificationChannelRequest request =
         CreateNotificationChannelRequest.newBuilder()
             .setName(name == null ? null : name.toString())
@@ -1791,17 +1791,14 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted
 
   public static class ListNotificationChannelDescriptorsPagedResponse
       extends AbstractPagedListResponse<
-          ListNotificationChannelDescriptorsRequest,
-          ListNotificationChannelDescriptorsResponse,
-          NotificationChannelDescriptor,
-          ListNotificationChannelDescriptorsPage,
+          ListNotificationChannelDescriptorsRequest, ListNotificationChannelDescriptorsResponse,
+          NotificationChannelDescriptor, ListNotificationChannelDescriptorsPage,
           ListNotificationChannelDescriptorsFixedSizeCollection> {
 
     public static ApiFuture createAsync(
         PageContext<
                 ListNotificationChannelDescriptorsRequest,
-                ListNotificationChannelDescriptorsResponse,
-                NotificationChannelDescriptor>
+                ListNotificationChannelDescriptorsResponse, NotificationChannelDescriptor>
             context,
         ApiFuture futureResponse) {
       ApiFuture futurePage =
@@ -1821,16 +1818,13 @@ private ListNotificationChannelDescriptorsPagedResponse(
 
   public static class ListNotificationChannelDescriptorsPage
       extends AbstractPage<
-          ListNotificationChannelDescriptorsRequest,
-          ListNotificationChannelDescriptorsResponse,
-          NotificationChannelDescriptor,
-          ListNotificationChannelDescriptorsPage> {
+          ListNotificationChannelDescriptorsRequest, ListNotificationChannelDescriptorsResponse,
+          NotificationChannelDescriptor, ListNotificationChannelDescriptorsPage> {
 
     private ListNotificationChannelDescriptorsPage(
         PageContext<
                 ListNotificationChannelDescriptorsRequest,
-                ListNotificationChannelDescriptorsResponse,
-                NotificationChannelDescriptor>
+                ListNotificationChannelDescriptorsResponse, NotificationChannelDescriptor>
             context,
         ListNotificationChannelDescriptorsResponse response) {
       super(context, response);
@@ -1844,8 +1838,7 @@ private static ListNotificationChannelDescriptorsPage createEmptyPage() {
     protected ListNotificationChannelDescriptorsPage createPage(
         PageContext<
                 ListNotificationChannelDescriptorsRequest,
-                ListNotificationChannelDescriptorsResponse,
-                NotificationChannelDescriptor>
+                ListNotificationChannelDescriptorsResponse, NotificationChannelDescriptor>
             context,
         ListNotificationChannelDescriptorsResponse response) {
       return new ListNotificationChannelDescriptorsPage(context, response);
@@ -1855,8 +1848,7 @@ protected ListNotificationChannelDescriptorsPage createPage(
     public ApiFuture createPageAsync(
         PageContext<
                 ListNotificationChannelDescriptorsRequest,
-                ListNotificationChannelDescriptorsResponse,
-                NotificationChannelDescriptor>
+                ListNotificationChannelDescriptorsResponse, NotificationChannelDescriptor>
             context,
         ApiFuture futureResponse) {
       return super.createPageAsync(context, futureResponse);
@@ -1865,10 +1857,8 @@ public ApiFuture createPageAsync(
 
   public static class ListNotificationChannelDescriptorsFixedSizeCollection
       extends AbstractFixedSizeCollection<
-          ListNotificationChannelDescriptorsRequest,
-          ListNotificationChannelDescriptorsResponse,
-          NotificationChannelDescriptor,
-          ListNotificationChannelDescriptorsPage,
+          ListNotificationChannelDescriptorsRequest, ListNotificationChannelDescriptorsResponse,
+          NotificationChannelDescriptor, ListNotificationChannelDescriptorsPage,
           ListNotificationChannelDescriptorsFixedSizeCollection> {
 
     private ListNotificationChannelDescriptorsFixedSizeCollection(
@@ -1889,16 +1879,12 @@ protected ListNotificationChannelDescriptorsFixedSizeCollection createCollection
 
   public static class ListNotificationChannelsPagedResponse
       extends AbstractPagedListResponse<
-          ListNotificationChannelsRequest,
-          ListNotificationChannelsResponse,
-          NotificationChannel,
-          ListNotificationChannelsPage,
-          ListNotificationChannelsFixedSizeCollection> {
+          ListNotificationChannelsRequest, ListNotificationChannelsResponse, NotificationChannel,
+          ListNotificationChannelsPage, ListNotificationChannelsFixedSizeCollection> {
 
     public static ApiFuture createAsync(
         PageContext<
-                ListNotificationChannelsRequest,
-                ListNotificationChannelsResponse,
+                ListNotificationChannelsRequest, ListNotificationChannelsResponse,
                 NotificationChannel>
             context,
         ApiFuture futureResponse) {
@@ -1917,15 +1903,12 @@ private ListNotificationChannelsPagedResponse(ListNotificationChannelsPage page)
 
   public static class ListNotificationChannelsPage
       extends AbstractPage<
-          ListNotificationChannelsRequest,
-          ListNotificationChannelsResponse,
-          NotificationChannel,
+          ListNotificationChannelsRequest, ListNotificationChannelsResponse, NotificationChannel,
           ListNotificationChannelsPage> {
 
     private ListNotificationChannelsPage(
         PageContext<
-                ListNotificationChannelsRequest,
-                ListNotificationChannelsResponse,
+                ListNotificationChannelsRequest, ListNotificationChannelsResponse,
                 NotificationChannel>
             context,
         ListNotificationChannelsResponse response) {
@@ -1939,8 +1922,7 @@ private static ListNotificationChannelsPage createEmptyPage() {
     @Override
     protected ListNotificationChannelsPage createPage(
         PageContext<
-                ListNotificationChannelsRequest,
-                ListNotificationChannelsResponse,
+                ListNotificationChannelsRequest, ListNotificationChannelsResponse,
                 NotificationChannel>
             context,
         ListNotificationChannelsResponse response) {
@@ -1950,8 +1932,7 @@ protected ListNotificationChannelsPage createPage(
     @Override
     public ApiFuture createPageAsync(
         PageContext<
-                ListNotificationChannelsRequest,
-                ListNotificationChannelsResponse,
+                ListNotificationChannelsRequest, ListNotificationChannelsResponse,
                 NotificationChannel>
             context,
         ApiFuture futureResponse) {
@@ -1961,11 +1942,8 @@ public ApiFuture createPageAsync(
 
   public static class ListNotificationChannelsFixedSizeCollection
       extends AbstractFixedSizeCollection<
-          ListNotificationChannelsRequest,
-          ListNotificationChannelsResponse,
-          NotificationChannel,
-          ListNotificationChannelsPage,
-          ListNotificationChannelsFixedSizeCollection> {
+          ListNotificationChannelsRequest, ListNotificationChannelsResponse, NotificationChannel,
+          ListNotificationChannelsPage, ListNotificationChannelsFixedSizeCollection> {
 
     private ListNotificationChannelsFixedSizeCollection(
         List pages, int collectionSize) {
diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceSettings.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceSettings.java
similarity index 95%
rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceSettings.java
rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceSettings.java
index 9bfcc41a..8970a1cc 100644
--- a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceSettings.java
+++ b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceSettings.java
@@ -28,6 +28,7 @@
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.ClientSettings;
 import com.google.api.gax.rpc.PagedCallSettings;
+import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.monitoring.v3.stub.NotificationChannelServiceStubSettings;
@@ -58,9 +59,9 @@
  * 

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -90,8 +91,7 @@ public class NotificationChannelServiceSettings /** Returns the object with the settings used for calls to listNotificationChannelDescriptors. */ public PagedCallSettings< - ListNotificationChannelDescriptorsRequest, - ListNotificationChannelDescriptorsResponse, + ListNotificationChannelDescriptorsRequest, ListNotificationChannelDescriptorsResponse, ListNotificationChannelDescriptorsPagedResponse> listNotificationChannelDescriptorsSettings() { return ((NotificationChannelServiceStubSettings) getStubSettings()) @@ -107,8 +107,7 @@ public class NotificationChannelServiceSettings /** Returns the object with the settings used for calls to listNotificationChannels. */ public PagedCallSettings< - ListNotificationChannelsRequest, - ListNotificationChannelsResponse, + ListNotificationChannelsRequest, ListNotificationChannelsResponse, ListNotificationChannelsPagedResponse> listNotificationChannelsSettings() { return ((NotificationChannelServiceStubSettings) getStubSettings()) @@ -272,8 +271,7 @@ public Builder applyToAllUnaryMethods( * Returns the builder for the settings used for calls to listNotificationChannelDescriptors. */ public PagedCallSettings.Builder< - ListNotificationChannelDescriptorsRequest, - ListNotificationChannelDescriptorsResponse, + ListNotificationChannelDescriptorsRequest, ListNotificationChannelDescriptorsResponse, ListNotificationChannelDescriptorsPagedResponse> listNotificationChannelDescriptorsSettings() { return getStubSettingsBuilder().listNotificationChannelDescriptorsSettings(); @@ -288,8 +286,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listNotificationChannels. */ public PagedCallSettings.Builder< - ListNotificationChannelsRequest, - ListNotificationChannelsResponse, + ListNotificationChannelsRequest, ListNotificationChannelsResponse, ListNotificationChannelsPagedResponse> listNotificationChannelsSettings() { return getStubSettingsBuilder().listNotificationChannelsSettings(); diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/QueryServiceClient.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/QueryServiceClient.java similarity index 95% rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/QueryServiceClient.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/QueryServiceClient.java index 9a092f35..1fe7c013 100644 --- a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/QueryServiceClient.java +++ b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/QueryServiceClient.java @@ -67,13 +67,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -283,10 +283,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class QueryTimeSeriesPagedResponse extends AbstractPagedListResponse< - QueryTimeSeriesRequest, - QueryTimeSeriesResponse, - TimeSeriesData, - QueryTimeSeriesPage, + QueryTimeSeriesRequest, QueryTimeSeriesResponse, TimeSeriesData, QueryTimeSeriesPage, QueryTimeSeriesFixedSizeCollection> { public static ApiFuture createAsync( @@ -336,10 +333,7 @@ public ApiFuture createPageAsync( public static class QueryTimeSeriesFixedSizeCollection extends AbstractFixedSizeCollection< - QueryTimeSeriesRequest, - QueryTimeSeriesResponse, - TimeSeriesData, - QueryTimeSeriesPage, + QueryTimeSeriesRequest, QueryTimeSeriesResponse, TimeSeriesData, QueryTimeSeriesPage, QueryTimeSeriesFixedSizeCollection> { private QueryTimeSeriesFixedSizeCollection( diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/QueryServiceSettings.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/QueryServiceSettings.java similarity index 95% rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/QueryServiceSettings.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/QueryServiceSettings.java index 37d99a2a..63ef49be 100644 --- a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/QueryServiceSettings.java +++ b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/QueryServiceSettings.java @@ -27,6 +27,7 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.monitoring.v3.stub.QueryServiceStubSettings; @@ -43,9 +44,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceClient.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceClient.java similarity index 97% rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceClient.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceClient.java index c2c83e10..e36faec2 100644 --- a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceClient.java +++ b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceClient.java @@ -25,7 +25,6 @@ import com.google.api.gax.paging.AbstractPagedListResponse; import com.google.api.gax.rpc.PageContext; import com.google.api.gax.rpc.UnaryCallable; -import com.google.api.resourcenames.ResourceName; import com.google.cloud.monitoring.v3.stub.ServiceMonitoringServiceStub; import com.google.cloud.monitoring.v3.stub.ServiceMonitoringServiceStubSettings; import com.google.common.util.concurrent.MoreExecutors; @@ -33,6 +32,7 @@ import com.google.monitoring.v3.CreateServiceRequest; import com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest; import com.google.monitoring.v3.DeleteServiceRequest; +import com.google.monitoring.v3.FolderName; import com.google.monitoring.v3.GetServiceLevelObjectiveRequest; import com.google.monitoring.v3.GetServiceRequest; import com.google.monitoring.v3.ListServiceLevelObjectivesRequest; @@ -65,7 +65,7 @@ *

{@code
  * try (ServiceMonitoringServiceClient serviceMonitoringServiceClient =
  *     ServiceMonitoringServiceClient.create()) {
- *   ResourceName parent = ResourceName.of("[FOLDER]");
+ *   FolderName parent = FolderName.of("[FOLDER]");
  *   Service service = Service.newBuilder().build();
  *   Service response = serviceMonitoringServiceClient.createService(parent, service);
  * }
@@ -79,13 +79,13 @@
  * methods:
  *
  * 
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -184,7 +184,7 @@ public ServiceMonitoringServiceStub getStub() { *
{@code
    * try (ServiceMonitoringServiceClient serviceMonitoringServiceClient =
    *     ServiceMonitoringServiceClient.create()) {
-   *   ResourceName parent = ResourceName.of("[FOLDER]");
+   *   FolderName parent = FolderName.of("[FOLDER]");
    *   Service service = Service.newBuilder().build();
    *   Service response = serviceMonitoringServiceClient.createService(parent, service);
    * }
@@ -197,7 +197,7 @@ public ServiceMonitoringServiceStub getStub() {
    * @param service Required. The `Service` to create.
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
-  public final Service createService(ResourceName parent, Service service) {
+  public final Service createService(FolderName parent, Service service) {
     CreateServiceRequest request =
         CreateServiceRequest.newBuilder()
             .setParent(parent == null ? null : parent.toString())
@@ -452,7 +452,7 @@ public final UnaryCallable getServiceCallable() {
    * 
{@code
    * try (ServiceMonitoringServiceClient serviceMonitoringServiceClient =
    *     ServiceMonitoringServiceClient.create()) {
-   *   ResourceName parent = ResourceName.of("[FOLDER]");
+   *   FolderName parent = FolderName.of("[FOLDER]");
    *   for (Service element : serviceMonitoringServiceClient.listServices(parent).iterateAll()) {
    *     // doThingsWith(element);
    *   }
@@ -465,7 +465,7 @@ public final UnaryCallable getServiceCallable() {
    *     

projects/[PROJECT_ID_OR_NUMBER] workspaces/[HOST_PROJECT_ID_OR_NUMBER] * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - public final ListServicesPagedResponse listServices(ResourceName parent) { + public final ListServicesPagedResponse listServices(FolderName parent) { ListServicesRequest request = ListServicesRequest.newBuilder() .setParent(parent == null ? null : parent.toString()) @@ -1441,10 +1441,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListServicesPagedResponse extends AbstractPagedListResponse< - ListServicesRequest, - ListServicesResponse, - Service, - ListServicesPage, + ListServicesRequest, ListServicesResponse, Service, ListServicesPage, ListServicesFixedSizeCollection> { public static ApiFuture createAsync( @@ -1493,10 +1490,7 @@ public ApiFuture createPageAsync( public static class ListServicesFixedSizeCollection extends AbstractFixedSizeCollection< - ListServicesRequest, - ListServicesResponse, - Service, - ListServicesPage, + ListServicesRequest, ListServicesResponse, Service, ListServicesPage, ListServicesFixedSizeCollection> { private ListServicesFixedSizeCollection(List pages, int collectionSize) { @@ -1516,16 +1510,13 @@ protected ListServicesFixedSizeCollection createCollection( public static class ListServiceLevelObjectivesPagedResponse extends AbstractPagedListResponse< - ListServiceLevelObjectivesRequest, - ListServiceLevelObjectivesResponse, - ServiceLevelObjective, - ListServiceLevelObjectivesPage, + ListServiceLevelObjectivesRequest, ListServiceLevelObjectivesResponse, + ServiceLevelObjective, ListServiceLevelObjectivesPage, ListServiceLevelObjectivesFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - ListServiceLevelObjectivesRequest, - ListServiceLevelObjectivesResponse, + ListServiceLevelObjectivesRequest, ListServiceLevelObjectivesResponse, ServiceLevelObjective> context, ApiFuture futureResponse) { @@ -1544,15 +1535,12 @@ private ListServiceLevelObjectivesPagedResponse(ListServiceLevelObjectivesPage p public static class ListServiceLevelObjectivesPage extends AbstractPage< - ListServiceLevelObjectivesRequest, - ListServiceLevelObjectivesResponse, - ServiceLevelObjective, - ListServiceLevelObjectivesPage> { + ListServiceLevelObjectivesRequest, ListServiceLevelObjectivesResponse, + ServiceLevelObjective, ListServiceLevelObjectivesPage> { private ListServiceLevelObjectivesPage( PageContext< - ListServiceLevelObjectivesRequest, - ListServiceLevelObjectivesResponse, + ListServiceLevelObjectivesRequest, ListServiceLevelObjectivesResponse, ServiceLevelObjective> context, ListServiceLevelObjectivesResponse response) { @@ -1566,8 +1554,7 @@ private static ListServiceLevelObjectivesPage createEmptyPage() { @Override protected ListServiceLevelObjectivesPage createPage( PageContext< - ListServiceLevelObjectivesRequest, - ListServiceLevelObjectivesResponse, + ListServiceLevelObjectivesRequest, ListServiceLevelObjectivesResponse, ServiceLevelObjective> context, ListServiceLevelObjectivesResponse response) { @@ -1577,8 +1564,7 @@ protected ListServiceLevelObjectivesPage createPage( @Override public ApiFuture createPageAsync( PageContext< - ListServiceLevelObjectivesRequest, - ListServiceLevelObjectivesResponse, + ListServiceLevelObjectivesRequest, ListServiceLevelObjectivesResponse, ServiceLevelObjective> context, ApiFuture futureResponse) { @@ -1588,10 +1574,8 @@ public ApiFuture createPageAsync( public static class ListServiceLevelObjectivesFixedSizeCollection extends AbstractFixedSizeCollection< - ListServiceLevelObjectivesRequest, - ListServiceLevelObjectivesResponse, - ServiceLevelObjective, - ListServiceLevelObjectivesPage, + ListServiceLevelObjectivesRequest, ListServiceLevelObjectivesResponse, + ServiceLevelObjective, ListServiceLevelObjectivesPage, ListServiceLevelObjectivesFixedSizeCollection> { private ListServiceLevelObjectivesFixedSizeCollection( diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceSettings.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceSettings.java similarity index 96% rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceSettings.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceSettings.java index 7e624c19..5af1eeec 100644 --- a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceSettings.java +++ b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceSettings.java @@ -28,6 +28,7 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.monitoring.v3.stub.ServiceMonitoringServiceStubSettings; @@ -57,9 +58,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -129,8 +130,7 @@ public UnaryCallSettings deleteServiceSettings() { /** Returns the object with the settings used for calls to listServiceLevelObjectives. */ public PagedCallSettings< - ListServiceLevelObjectivesRequest, - ListServiceLevelObjectivesResponse, + ListServiceLevelObjectivesRequest, ListServiceLevelObjectivesResponse, ListServiceLevelObjectivesPagedResponse> listServiceLevelObjectivesSettings() { return ((ServiceMonitoringServiceStubSettings) getStubSettings()) @@ -290,8 +290,7 @@ public UnaryCallSettings.Builder deleteServiceSetti /** Returns the builder for the settings used for calls to listServiceLevelObjectives. */ public PagedCallSettings.Builder< - ListServiceLevelObjectivesRequest, - ListServiceLevelObjectivesResponse, + ListServiceLevelObjectivesRequest, ListServiceLevelObjectivesResponse, ListServiceLevelObjectivesPagedResponse> listServiceLevelObjectivesSettings() { return getStubSettingsBuilder().listServiceLevelObjectivesSettings(); diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClient.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClient.java similarity index 96% rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClient.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClient.java index be176117..a281b94e 100644 --- a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClient.java +++ b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClient.java @@ -25,12 +25,12 @@ import com.google.api.gax.paging.AbstractPagedListResponse; import com.google.api.gax.rpc.PageContext; import com.google.api.gax.rpc.UnaryCallable; -import com.google.api.resourcenames.ResourceName; import com.google.cloud.monitoring.v3.stub.UptimeCheckServiceStub; import com.google.cloud.monitoring.v3.stub.UptimeCheckServiceStubSettings; import com.google.common.util.concurrent.MoreExecutors; import com.google.monitoring.v3.CreateUptimeCheckConfigRequest; import com.google.monitoring.v3.DeleteUptimeCheckConfigRequest; +import com.google.monitoring.v3.FolderName; import com.google.monitoring.v3.GetUptimeCheckConfigRequest; import com.google.monitoring.v3.ListUptimeCheckConfigsRequest; import com.google.monitoring.v3.ListUptimeCheckConfigsResponse; @@ -77,13 +77,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -180,7 +180,7 @@ public UptimeCheckServiceStub getStub() { * *
{@code
    * try (UptimeCheckServiceClient uptimeCheckServiceClient = UptimeCheckServiceClient.create()) {
-   *   ResourceName parent = ResourceName.of("[FOLDER]");
+   *   FolderName parent = FolderName.of("[FOLDER]");
    *   for (UptimeCheckConfig element :
    *       uptimeCheckServiceClient.listUptimeCheckConfigs(parent).iterateAll()) {
    *     // doThingsWith(element);
@@ -193,7 +193,7 @@ public UptimeCheckServiceStub getStub() {
    *     

projects/[PROJECT_ID_OR_NUMBER] * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - public final ListUptimeCheckConfigsPagedResponse listUptimeCheckConfigs(ResourceName parent) { + public final ListUptimeCheckConfigsPagedResponse listUptimeCheckConfigs(FolderName parent) { ListUptimeCheckConfigsRequest request = ListUptimeCheckConfigsRequest.newBuilder() .setParent(parent == null ? null : parent.toString()) @@ -497,7 +497,7 @@ public final UptimeCheckConfig getUptimeCheckConfig(GetUptimeCheckConfigRequest * *

{@code
    * try (UptimeCheckServiceClient uptimeCheckServiceClient = UptimeCheckServiceClient.create()) {
-   *   ResourceName parent = ResourceName.of("[FOLDER]");
+   *   FolderName parent = FolderName.of("[FOLDER]");
    *   UptimeCheckConfig uptimeCheckConfig = UptimeCheckConfig.newBuilder().build();
    *   UptimeCheckConfig response =
    *       uptimeCheckServiceClient.createUptimeCheckConfig(parent, uptimeCheckConfig);
@@ -511,7 +511,7 @@ public final UptimeCheckConfig getUptimeCheckConfig(GetUptimeCheckConfigRequest
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
   public final UptimeCheckConfig createUptimeCheckConfig(
-      ResourceName parent, UptimeCheckConfig uptimeCheckConfig) {
+      FolderName parent, UptimeCheckConfig uptimeCheckConfig) {
     CreateUptimeCheckConfigRequest request =
         CreateUptimeCheckConfigRequest.newBuilder()
             .setParent(parent == null ? null : parent.toString())
@@ -981,11 +981,8 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted
 
   public static class ListUptimeCheckConfigsPagedResponse
       extends AbstractPagedListResponse<
-          ListUptimeCheckConfigsRequest,
-          ListUptimeCheckConfigsResponse,
-          UptimeCheckConfig,
-          ListUptimeCheckConfigsPage,
-          ListUptimeCheckConfigsFixedSizeCollection> {
+          ListUptimeCheckConfigsRequest, ListUptimeCheckConfigsResponse, UptimeCheckConfig,
+          ListUptimeCheckConfigsPage, ListUptimeCheckConfigsFixedSizeCollection> {
 
     public static ApiFuture createAsync(
         PageContext<
@@ -1007,9 +1004,7 @@ private ListUptimeCheckConfigsPagedResponse(ListUptimeCheckConfigsPage page) {
 
   public static class ListUptimeCheckConfigsPage
       extends AbstractPage<
-          ListUptimeCheckConfigsRequest,
-          ListUptimeCheckConfigsResponse,
-          UptimeCheckConfig,
+          ListUptimeCheckConfigsRequest, ListUptimeCheckConfigsResponse, UptimeCheckConfig,
           ListUptimeCheckConfigsPage> {
 
     private ListUptimeCheckConfigsPage(
@@ -1045,11 +1040,8 @@ public ApiFuture createPageAsync(
 
   public static class ListUptimeCheckConfigsFixedSizeCollection
       extends AbstractFixedSizeCollection<
-          ListUptimeCheckConfigsRequest,
-          ListUptimeCheckConfigsResponse,
-          UptimeCheckConfig,
-          ListUptimeCheckConfigsPage,
-          ListUptimeCheckConfigsFixedSizeCollection> {
+          ListUptimeCheckConfigsRequest, ListUptimeCheckConfigsResponse, UptimeCheckConfig,
+          ListUptimeCheckConfigsPage, ListUptimeCheckConfigsFixedSizeCollection> {
 
     private ListUptimeCheckConfigsFixedSizeCollection(
         List pages, int collectionSize) {
@@ -1069,11 +1061,8 @@ protected ListUptimeCheckConfigsFixedSizeCollection createCollection(
 
   public static class ListUptimeCheckIpsPagedResponse
       extends AbstractPagedListResponse<
-          ListUptimeCheckIpsRequest,
-          ListUptimeCheckIpsResponse,
-          UptimeCheckIp,
-          ListUptimeCheckIpsPage,
-          ListUptimeCheckIpsFixedSizeCollection> {
+          ListUptimeCheckIpsRequest, ListUptimeCheckIpsResponse, UptimeCheckIp,
+          ListUptimeCheckIpsPage, ListUptimeCheckIpsFixedSizeCollection> {
 
     public static ApiFuture createAsync(
         PageContext context,
@@ -1093,9 +1082,7 @@ private ListUptimeCheckIpsPagedResponse(ListUptimeCheckIpsPage page) {
 
   public static class ListUptimeCheckIpsPage
       extends AbstractPage<
-          ListUptimeCheckIpsRequest,
-          ListUptimeCheckIpsResponse,
-          UptimeCheckIp,
+          ListUptimeCheckIpsRequest, ListUptimeCheckIpsResponse, UptimeCheckIp,
           ListUptimeCheckIpsPage> {
 
     private ListUptimeCheckIpsPage(
@@ -1125,11 +1112,8 @@ public ApiFuture createPageAsync(
 
   public static class ListUptimeCheckIpsFixedSizeCollection
       extends AbstractFixedSizeCollection<
-          ListUptimeCheckIpsRequest,
-          ListUptimeCheckIpsResponse,
-          UptimeCheckIp,
-          ListUptimeCheckIpsPage,
-          ListUptimeCheckIpsFixedSizeCollection> {
+          ListUptimeCheckIpsRequest, ListUptimeCheckIpsResponse, UptimeCheckIp,
+          ListUptimeCheckIpsPage, ListUptimeCheckIpsFixedSizeCollection> {
 
     private ListUptimeCheckIpsFixedSizeCollection(
         List pages, int collectionSize) {
diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceSettings.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceSettings.java
similarity index 95%
rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceSettings.java
rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceSettings.java
index ca308c74..f2586ef3 100644
--- a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceSettings.java
+++ b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceSettings.java
@@ -28,6 +28,7 @@
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.ClientSettings;
 import com.google.api.gax.rpc.PagedCallSettings;
+import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.monitoring.v3.stub.UptimeCheckServiceStubSettings;
@@ -52,9 +53,9 @@
  * 

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -83,8 +84,7 @@ public class UptimeCheckServiceSettings extends ClientSettings listUptimeCheckConfigsSettings() { return ((UptimeCheckServiceStubSettings) getStubSettings()).listUptimeCheckConfigsSettings(); @@ -220,8 +220,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listUptimeCheckConfigs. */ public PagedCallSettings.Builder< - ListUptimeCheckConfigsRequest, - ListUptimeCheckConfigsResponse, + ListUptimeCheckConfigsRequest, ListUptimeCheckConfigsResponse, ListUptimeCheckConfigsPagedResponse> listUptimeCheckConfigsSettings() { return getStubSettingsBuilder().listUptimeCheckConfigsSettings(); diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/gapic_metadata.json b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/gapic_metadata.json similarity index 100% rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/gapic_metadata.json rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/gapic_metadata.json diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/package-info.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/package-info.java similarity index 98% rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/package-info.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/package-info.java index 45a13ef8..92c892e8 100644 --- a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/package-info.java +++ b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/package-info.java @@ -15,7 +15,9 @@ */ /** - * The interfaces provided are listed below, along with usage samples. + * A client to Cloud Monitoring API + * + *

The interfaces provided are listed below, along with usage samples. * *

======================= AlertPolicyServiceClient ======================= * diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/AlertPolicyServiceStub.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/AlertPolicyServiceStub.java similarity index 100% rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/AlertPolicyServiceStub.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/AlertPolicyServiceStub.java diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/AlertPolicyServiceStubSettings.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/AlertPolicyServiceStubSettings.java similarity index 98% rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/AlertPolicyServiceStubSettings.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/AlertPolicyServiceStubSettings.java index b58140a4..01d6a220 100644 --- a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/AlertPolicyServiceStubSettings.java +++ b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/AlertPolicyServiceStubSettings.java @@ -64,9 +64,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -152,8 +152,7 @@ public Iterable extractResources(ListAlertPoliciesResponse payload) ListAlertPoliciesRequest, ListAlertPoliciesResponse, ListAlertPoliciesPagedResponse> LIST_ALERT_POLICIES_PAGE_STR_FACT = new PagedListResponseFactory< - ListAlertPoliciesRequest, - ListAlertPoliciesResponse, + ListAlertPoliciesRequest, ListAlertPoliciesResponse, ListAlertPoliciesPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GroupServiceStub.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GroupServiceStub.java similarity index 100% rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GroupServiceStub.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GroupServiceStub.java diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GroupServiceStubSettings.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GroupServiceStubSettings.java similarity index 98% rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GroupServiceStubSettings.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GroupServiceStubSettings.java index 02d84e96..b9d6a206 100644 --- a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GroupServiceStubSettings.java +++ b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GroupServiceStubSettings.java @@ -68,9 +68,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcAlertPolicyServiceCallableFactory.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcAlertPolicyServiceCallableFactory.java similarity index 100% rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcAlertPolicyServiceCallableFactory.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcAlertPolicyServiceCallableFactory.java diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcAlertPolicyServiceStub.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcAlertPolicyServiceStub.java similarity index 99% rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcAlertPolicyServiceStub.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcAlertPolicyServiceStub.java index bda3f514..4c0b97fa 100644 --- a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcAlertPolicyServiceStub.java +++ b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcAlertPolicyServiceStub.java @@ -37,6 +37,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcGroupServiceCallableFactory.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcGroupServiceCallableFactory.java similarity index 100% rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcGroupServiceCallableFactory.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcGroupServiceCallableFactory.java diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcGroupServiceStub.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcGroupServiceStub.java similarity index 99% rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcGroupServiceStub.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcGroupServiceStub.java index c0d1ae6f..4305a3ad 100644 --- a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcGroupServiceStub.java +++ b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcGroupServiceStub.java @@ -40,6 +40,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcMetricServiceCallableFactory.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcMetricServiceCallableFactory.java similarity index 100% rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcMetricServiceCallableFactory.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcMetricServiceCallableFactory.java diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcMetricServiceStub.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcMetricServiceStub.java similarity index 99% rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcMetricServiceStub.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcMetricServiceStub.java index df1782e4..64b7319e 100644 --- a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcMetricServiceStub.java +++ b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcMetricServiceStub.java @@ -45,6 +45,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcNotificationChannelServiceCallableFactory.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcNotificationChannelServiceCallableFactory.java similarity index 100% rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcNotificationChannelServiceCallableFactory.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcNotificationChannelServiceCallableFactory.java diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcNotificationChannelServiceStub.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcNotificationChannelServiceStub.java similarity index 99% rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcNotificationChannelServiceStub.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcNotificationChannelServiceStub.java index c158b846..56e7a9ac 100644 --- a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcNotificationChannelServiceStub.java +++ b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcNotificationChannelServiceStub.java @@ -46,6 +46,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcQueryServiceCallableFactory.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcQueryServiceCallableFactory.java similarity index 100% rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcQueryServiceCallableFactory.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcQueryServiceCallableFactory.java diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcQueryServiceStub.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcQueryServiceStub.java similarity index 99% rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcQueryServiceStub.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcQueryServiceStub.java index 8598bffe..43415315 100644 --- a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcQueryServiceStub.java +++ b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcQueryServiceStub.java @@ -31,6 +31,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcServiceMonitoringServiceCallableFactory.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcServiceMonitoringServiceCallableFactory.java similarity index 100% rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcServiceMonitoringServiceCallableFactory.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcServiceMonitoringServiceCallableFactory.java diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcServiceMonitoringServiceStub.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcServiceMonitoringServiceStub.java similarity index 99% rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcServiceMonitoringServiceStub.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcServiceMonitoringServiceStub.java index f2eccd9d..21d6720f 100644 --- a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcServiceMonitoringServiceStub.java +++ b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcServiceMonitoringServiceStub.java @@ -45,6 +45,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcUptimeCheckServiceCallableFactory.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcUptimeCheckServiceCallableFactory.java similarity index 100% rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcUptimeCheckServiceCallableFactory.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcUptimeCheckServiceCallableFactory.java diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcUptimeCheckServiceStub.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcUptimeCheckServiceStub.java similarity index 99% rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcUptimeCheckServiceStub.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcUptimeCheckServiceStub.java index 74270066..5472a17b 100644 --- a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcUptimeCheckServiceStub.java +++ b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcUptimeCheckServiceStub.java @@ -40,6 +40,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/MetricServiceStub.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/MetricServiceStub.java similarity index 100% rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/MetricServiceStub.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/MetricServiceStub.java diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/MetricServiceStubSettings.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/MetricServiceStubSettings.java similarity index 95% rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/MetricServiceStubSettings.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/MetricServiceStubSettings.java index 96d081f5..9f9e5ec4 100644 --- a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/MetricServiceStubSettings.java +++ b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/MetricServiceStubSettings.java @@ -73,9 +73,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -110,16 +110,14 @@ public class MetricServiceStubSettings extends StubSettings listMonitoredResourceDescriptorsSettings; private final UnaryCallSettings< GetMonitoredResourceDescriptorRequest, MonitoredResourceDescriptor> getMonitoredResourceDescriptorSettings; private final PagedCallSettings< - ListMetricDescriptorsRequest, - ListMetricDescriptorsResponse, + ListMetricDescriptorsRequest, ListMetricDescriptorsResponse, ListMetricDescriptorsPagedResponse> listMetricDescriptorsSettings; private final UnaryCallSettings @@ -135,13 +133,11 @@ public class MetricServiceStubSettings extends StubSettings createServiceTimeSeriesSettings; private static final PagedListDescriptor< - ListMonitoredResourceDescriptorsRequest, - ListMonitoredResourceDescriptorsResponse, + ListMonitoredResourceDescriptorsRequest, ListMonitoredResourceDescriptorsResponse, MonitoredResourceDescriptor> LIST_MONITORED_RESOURCE_DESCRIPTORS_PAGE_STR_DESC = new PagedListDescriptor< - ListMonitoredResourceDescriptorsRequest, - ListMonitoredResourceDescriptorsResponse, + ListMonitoredResourceDescriptorsRequest, ListMonitoredResourceDescriptorsResponse, MonitoredResourceDescriptor>() { @Override public String emptyToken() { @@ -263,13 +259,11 @@ public Iterable extractResources(ListTimeSeriesResponse payload) { }; private static final PagedListResponseFactory< - ListMonitoredResourceDescriptorsRequest, - ListMonitoredResourceDescriptorsResponse, + ListMonitoredResourceDescriptorsRequest, ListMonitoredResourceDescriptorsResponse, ListMonitoredResourceDescriptorsPagedResponse> LIST_MONITORED_RESOURCE_DESCRIPTORS_PAGE_STR_FACT = new PagedListResponseFactory< - ListMonitoredResourceDescriptorsRequest, - ListMonitoredResourceDescriptorsResponse, + ListMonitoredResourceDescriptorsRequest, ListMonitoredResourceDescriptorsResponse, ListMonitoredResourceDescriptorsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -282,8 +276,7 @@ public ApiFuture getFuturePagedRe ApiFuture futureResponse) { PageContext< ListMonitoredResourceDescriptorsRequest, - ListMonitoredResourceDescriptorsResponse, - MonitoredResourceDescriptor> + ListMonitoredResourceDescriptorsResponse, MonitoredResourceDescriptor> pageContext = PageContext.create( callable, @@ -296,13 +289,11 @@ public ApiFuture getFuturePagedRe }; private static final PagedListResponseFactory< - ListMetricDescriptorsRequest, - ListMetricDescriptorsResponse, + ListMetricDescriptorsRequest, ListMetricDescriptorsResponse, ListMetricDescriptorsPagedResponse> LIST_METRIC_DESCRIPTORS_PAGE_STR_FACT = new PagedListResponseFactory< - ListMetricDescriptorsRequest, - ListMetricDescriptorsResponse, + ListMetricDescriptorsRequest, ListMetricDescriptorsResponse, ListMetricDescriptorsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -338,8 +329,7 @@ public ApiFuture getFuturePagedResponse( /** Returns the object with the settings used for calls to listMonitoredResourceDescriptors. */ public PagedCallSettings< - ListMonitoredResourceDescriptorsRequest, - ListMonitoredResourceDescriptorsResponse, + ListMonitoredResourceDescriptorsRequest, ListMonitoredResourceDescriptorsResponse, ListMonitoredResourceDescriptorsPagedResponse> listMonitoredResourceDescriptorsSettings() { return listMonitoredResourceDescriptorsSettings; @@ -353,8 +343,7 @@ public ApiFuture getFuturePagedResponse( /** Returns the object with the settings used for calls to listMetricDescriptors. */ public PagedCallSettings< - ListMetricDescriptorsRequest, - ListMetricDescriptorsResponse, + ListMetricDescriptorsRequest, ListMetricDescriptorsResponse, ListMetricDescriptorsPagedResponse> listMetricDescriptorsSettings() { return listMetricDescriptorsSettings; @@ -487,16 +476,14 @@ protected MetricServiceStubSettings(Builder settingsBuilder) throws IOException public static class Builder extends StubSettings.Builder { private final ImmutableList> unaryMethodSettingsBuilders; private final PagedCallSettings.Builder< - ListMonitoredResourceDescriptorsRequest, - ListMonitoredResourceDescriptorsResponse, + ListMonitoredResourceDescriptorsRequest, ListMonitoredResourceDescriptorsResponse, ListMonitoredResourceDescriptorsPagedResponse> listMonitoredResourceDescriptorsSettings; private final UnaryCallSettings.Builder< GetMonitoredResourceDescriptorRequest, MonitoredResourceDescriptor> getMonitoredResourceDescriptorSettings; private final PagedCallSettings.Builder< - ListMetricDescriptorsRequest, - ListMetricDescriptorsResponse, + ListMetricDescriptorsRequest, ListMetricDescriptorsResponse, ListMetricDescriptorsPagedResponse> listMetricDescriptorsSettings; private final UnaryCallSettings.Builder @@ -710,8 +697,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listMonitoredResourceDescriptors. */ public PagedCallSettings.Builder< - ListMonitoredResourceDescriptorsRequest, - ListMonitoredResourceDescriptorsResponse, + ListMonitoredResourceDescriptorsRequest, ListMonitoredResourceDescriptorsResponse, ListMonitoredResourceDescriptorsPagedResponse> listMonitoredResourceDescriptorsSettings() { return listMonitoredResourceDescriptorsSettings; @@ -726,8 +712,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listMetricDescriptors. */ public PagedCallSettings.Builder< - ListMetricDescriptorsRequest, - ListMetricDescriptorsResponse, + ListMetricDescriptorsRequest, ListMetricDescriptorsResponse, ListMetricDescriptorsPagedResponse> listMetricDescriptorsSettings() { return listMetricDescriptorsSettings; diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/NotificationChannelServiceStub.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/NotificationChannelServiceStub.java similarity index 100% rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/NotificationChannelServiceStub.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/NotificationChannelServiceStub.java diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/NotificationChannelServiceStubSettings.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/NotificationChannelServiceStubSettings.java similarity index 94% rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/NotificationChannelServiceStubSettings.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/NotificationChannelServiceStubSettings.java index acfebbea..20b86fc6 100644 --- a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/NotificationChannelServiceStubSettings.java +++ b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/NotificationChannelServiceStubSettings.java @@ -73,9 +73,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -111,16 +111,14 @@ public class NotificationChannelServiceStubSettings .build(); private final PagedCallSettings< - ListNotificationChannelDescriptorsRequest, - ListNotificationChannelDescriptorsResponse, + ListNotificationChannelDescriptorsRequest, ListNotificationChannelDescriptorsResponse, ListNotificationChannelDescriptorsPagedResponse> listNotificationChannelDescriptorsSettings; private final UnaryCallSettings< GetNotificationChannelDescriptorRequest, NotificationChannelDescriptor> getNotificationChannelDescriptorSettings; private final PagedCallSettings< - ListNotificationChannelsRequest, - ListNotificationChannelsResponse, + ListNotificationChannelsRequest, ListNotificationChannelsResponse, ListNotificationChannelsPagedResponse> listNotificationChannelsSettings; private final UnaryCallSettings @@ -141,13 +139,11 @@ public class NotificationChannelServiceStubSettings verifyNotificationChannelSettings; private static final PagedListDescriptor< - ListNotificationChannelDescriptorsRequest, - ListNotificationChannelDescriptorsResponse, + ListNotificationChannelDescriptorsRequest, ListNotificationChannelDescriptorsResponse, NotificationChannelDescriptor> LIST_NOTIFICATION_CHANNEL_DESCRIPTORS_PAGE_STR_DESC = new PagedListDescriptor< - ListNotificationChannelDescriptorsRequest, - ListNotificationChannelDescriptorsResponse, + ListNotificationChannelDescriptorsRequest, ListNotificationChannelDescriptorsResponse, NotificationChannelDescriptor>() { @Override public String emptyToken() { @@ -193,8 +189,7 @@ public Iterable extractResources( ListNotificationChannelsRequest, ListNotificationChannelsResponse, NotificationChannel> LIST_NOTIFICATION_CHANNELS_PAGE_STR_DESC = new PagedListDescriptor< - ListNotificationChannelsRequest, - ListNotificationChannelsResponse, + ListNotificationChannelsRequest, ListNotificationChannelsResponse, NotificationChannel>() { @Override public String emptyToken() { @@ -237,13 +232,11 @@ public Iterable extractResources( }; private static final PagedListResponseFactory< - ListNotificationChannelDescriptorsRequest, - ListNotificationChannelDescriptorsResponse, + ListNotificationChannelDescriptorsRequest, ListNotificationChannelDescriptorsResponse, ListNotificationChannelDescriptorsPagedResponse> LIST_NOTIFICATION_CHANNEL_DESCRIPTORS_PAGE_STR_FACT = new PagedListResponseFactory< - ListNotificationChannelDescriptorsRequest, - ListNotificationChannelDescriptorsResponse, + ListNotificationChannelDescriptorsRequest, ListNotificationChannelDescriptorsResponse, ListNotificationChannelDescriptorsPagedResponse>() { @Override public ApiFuture @@ -257,8 +250,7 @@ public Iterable extractResources( ApiFuture futureResponse) { PageContext< ListNotificationChannelDescriptorsRequest, - ListNotificationChannelDescriptorsResponse, - NotificationChannelDescriptor> + ListNotificationChannelDescriptorsResponse, NotificationChannelDescriptor> pageContext = PageContext.create( callable, @@ -271,13 +263,11 @@ public Iterable extractResources( }; private static final PagedListResponseFactory< - ListNotificationChannelsRequest, - ListNotificationChannelsResponse, + ListNotificationChannelsRequest, ListNotificationChannelsResponse, ListNotificationChannelsPagedResponse> LIST_NOTIFICATION_CHANNELS_PAGE_STR_FACT = new PagedListResponseFactory< - ListNotificationChannelsRequest, - ListNotificationChannelsResponse, + ListNotificationChannelsRequest, ListNotificationChannelsResponse, ListNotificationChannelsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -287,8 +277,7 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListNotificationChannelsRequest, - ListNotificationChannelsResponse, + ListNotificationChannelsRequest, ListNotificationChannelsResponse, NotificationChannel> pageContext = PageContext.create( @@ -299,8 +288,7 @@ public ApiFuture getFuturePagedResponse( /** Returns the object with the settings used for calls to listNotificationChannelDescriptors. */ public PagedCallSettings< - ListNotificationChannelDescriptorsRequest, - ListNotificationChannelDescriptorsResponse, + ListNotificationChannelDescriptorsRequest, ListNotificationChannelDescriptorsResponse, ListNotificationChannelDescriptorsPagedResponse> listNotificationChannelDescriptorsSettings() { return listNotificationChannelDescriptorsSettings; @@ -314,8 +302,7 @@ public ApiFuture getFuturePagedResponse( /** Returns the object with the settings used for calls to listNotificationChannels. */ public PagedCallSettings< - ListNotificationChannelsRequest, - ListNotificationChannelsResponse, + ListNotificationChannelsRequest, ListNotificationChannelsResponse, ListNotificationChannelsPagedResponse> listNotificationChannelsSettings() { return listNotificationChannelsSettings; @@ -466,16 +453,14 @@ public static class Builder extends StubSettings.Builder { private final ImmutableList> unaryMethodSettingsBuilders; private final PagedCallSettings.Builder< - ListNotificationChannelDescriptorsRequest, - ListNotificationChannelDescriptorsResponse, + ListNotificationChannelDescriptorsRequest, ListNotificationChannelDescriptorsResponse, ListNotificationChannelDescriptorsPagedResponse> listNotificationChannelDescriptorsSettings; private final UnaryCallSettings.Builder< GetNotificationChannelDescriptorRequest, NotificationChannelDescriptor> getNotificationChannelDescriptorSettings; private final PagedCallSettings.Builder< - ListNotificationChannelsRequest, - ListNotificationChannelsResponse, + ListNotificationChannelsRequest, ListNotificationChannelsResponse, ListNotificationChannelsPagedResponse> listNotificationChannelsSettings; private final UnaryCallSettings.Builder @@ -690,8 +675,7 @@ public Builder applyToAllUnaryMethods( * Returns the builder for the settings used for calls to listNotificationChannelDescriptors. */ public PagedCallSettings.Builder< - ListNotificationChannelDescriptorsRequest, - ListNotificationChannelDescriptorsResponse, + ListNotificationChannelDescriptorsRequest, ListNotificationChannelDescriptorsResponse, ListNotificationChannelDescriptorsPagedResponse> listNotificationChannelDescriptorsSettings() { return listNotificationChannelDescriptorsSettings; @@ -706,8 +690,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listNotificationChannels. */ public PagedCallSettings.Builder< - ListNotificationChannelsRequest, - ListNotificationChannelsResponse, + ListNotificationChannelsRequest, ListNotificationChannelsResponse, ListNotificationChannelsPagedResponse> listNotificationChannelsSettings() { return listNotificationChannelsSettings; diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/QueryServiceStub.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/QueryServiceStub.java similarity index 100% rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/QueryServiceStub.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/QueryServiceStub.java diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/QueryServiceStubSettings.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/QueryServiceStubSettings.java similarity index 97% rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/QueryServiceStubSettings.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/QueryServiceStubSettings.java index 9fcd54fb..ac6721ab 100644 --- a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/QueryServiceStubSettings.java +++ b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/QueryServiceStubSettings.java @@ -58,9 +58,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/ServiceMonitoringServiceStub.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/ServiceMonitoringServiceStub.java similarity index 100% rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/ServiceMonitoringServiceStub.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/ServiceMonitoringServiceStub.java diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/ServiceMonitoringServiceStubSettings.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/ServiceMonitoringServiceStubSettings.java similarity index 96% rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/ServiceMonitoringServiceStubSettings.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/ServiceMonitoringServiceStubSettings.java index 45790146..3dd19eb2 100644 --- a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/ServiceMonitoringServiceStubSettings.java +++ b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/ServiceMonitoringServiceStubSettings.java @@ -72,9 +72,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -121,8 +121,7 @@ public class ServiceMonitoringServiceStubSettings private final UnaryCallSettings getServiceLevelObjectiveSettings; private final PagedCallSettings< - ListServiceLevelObjectivesRequest, - ListServiceLevelObjectivesResponse, + ListServiceLevelObjectivesRequest, ListServiceLevelObjectivesResponse, ListServiceLevelObjectivesPagedResponse> listServiceLevelObjectivesSettings; private final UnaryCallSettings @@ -167,13 +166,11 @@ public Iterable extractResources(ListServicesResponse payload) { }; private static final PagedListDescriptor< - ListServiceLevelObjectivesRequest, - ListServiceLevelObjectivesResponse, + ListServiceLevelObjectivesRequest, ListServiceLevelObjectivesResponse, ServiceLevelObjective> LIST_SERVICE_LEVEL_OBJECTIVES_PAGE_STR_DESC = new PagedListDescriptor< - ListServiceLevelObjectivesRequest, - ListServiceLevelObjectivesResponse, + ListServiceLevelObjectivesRequest, ListServiceLevelObjectivesResponse, ServiceLevelObjective>() { @Override public String emptyToken() { @@ -233,13 +230,11 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListServiceLevelObjectivesRequest, - ListServiceLevelObjectivesResponse, + ListServiceLevelObjectivesRequest, ListServiceLevelObjectivesResponse, ListServiceLevelObjectivesPagedResponse> LIST_SERVICE_LEVEL_OBJECTIVES_PAGE_STR_FACT = new PagedListResponseFactory< - ListServiceLevelObjectivesRequest, - ListServiceLevelObjectivesResponse, + ListServiceLevelObjectivesRequest, ListServiceLevelObjectivesResponse, ListServiceLevelObjectivesPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -249,8 +244,7 @@ public ApiFuture getFuturePagedResponse ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListServiceLevelObjectivesRequest, - ListServiceLevelObjectivesResponse, + ListServiceLevelObjectivesRequest, ListServiceLevelObjectivesResponse, ServiceLevelObjective> pageContext = PageContext.create( @@ -300,8 +294,7 @@ public UnaryCallSettings deleteServiceSettings() { /** Returns the object with the settings used for calls to listServiceLevelObjectives. */ public PagedCallSettings< - ListServiceLevelObjectivesRequest, - ListServiceLevelObjectivesResponse, + ListServiceLevelObjectivesRequest, ListServiceLevelObjectivesResponse, ListServiceLevelObjectivesPagedResponse> listServiceLevelObjectivesSettings() { return listServiceLevelObjectivesSettings; @@ -428,8 +421,7 @@ public static class Builder private final UnaryCallSettings.Builder getServiceLevelObjectiveSettings; private final PagedCallSettings.Builder< - ListServiceLevelObjectivesRequest, - ListServiceLevelObjectivesResponse, + ListServiceLevelObjectivesRequest, ListServiceLevelObjectivesResponse, ListServiceLevelObjectivesPagedResponse> listServiceLevelObjectivesSettings; private final UnaryCallSettings.Builder< @@ -666,8 +658,7 @@ public UnaryCallSettings.Builder deleteServiceSetti /** Returns the builder for the settings used for calls to listServiceLevelObjectives. */ public PagedCallSettings.Builder< - ListServiceLevelObjectivesRequest, - ListServiceLevelObjectivesResponse, + ListServiceLevelObjectivesRequest, ListServiceLevelObjectivesResponse, ListServiceLevelObjectivesPagedResponse> listServiceLevelObjectivesSettings() { return listServiceLevelObjectivesSettings; diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/UptimeCheckServiceStub.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/UptimeCheckServiceStub.java similarity index 100% rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/UptimeCheckServiceStub.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/UptimeCheckServiceStub.java diff --git a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/UptimeCheckServiceStubSettings.java b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/UptimeCheckServiceStubSettings.java similarity index 96% rename from google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/UptimeCheckServiceStubSettings.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/UptimeCheckServiceStubSettings.java index 4c76b6b4..66bf75fa 100644 --- a/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/UptimeCheckServiceStubSettings.java +++ b/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/UptimeCheckServiceStubSettings.java @@ -68,9 +68,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -105,8 +105,7 @@ public class UptimeCheckServiceStubSettings extends StubSettings listUptimeCheckConfigsSettings; private final UnaryCallSettings @@ -205,13 +204,11 @@ public Iterable extractResources(ListUptimeCheckIpsResponse paylo }; private static final PagedListResponseFactory< - ListUptimeCheckConfigsRequest, - ListUptimeCheckConfigsResponse, + ListUptimeCheckConfigsRequest, ListUptimeCheckConfigsResponse, ListUptimeCheckConfigsPagedResponse> LIST_UPTIME_CHECK_CONFIGS_PAGE_STR_FACT = new PagedListResponseFactory< - ListUptimeCheckConfigsRequest, - ListUptimeCheckConfigsResponse, + ListUptimeCheckConfigsRequest, ListUptimeCheckConfigsResponse, ListUptimeCheckConfigsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -221,8 +218,7 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListUptimeCheckConfigsRequest, - ListUptimeCheckConfigsResponse, + ListUptimeCheckConfigsRequest, ListUptimeCheckConfigsResponse, UptimeCheckConfig> pageContext = PageContext.create( @@ -235,8 +231,7 @@ public ApiFuture getFuturePagedResponse( ListUptimeCheckIpsRequest, ListUptimeCheckIpsResponse, ListUptimeCheckIpsPagedResponse> LIST_UPTIME_CHECK_IPS_PAGE_STR_FACT = new PagedListResponseFactory< - ListUptimeCheckIpsRequest, - ListUptimeCheckIpsResponse, + ListUptimeCheckIpsRequest, ListUptimeCheckIpsResponse, ListUptimeCheckIpsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -254,8 +249,7 @@ public ApiFuture getFuturePagedResponse( /** Returns the object with the settings used for calls to listUptimeCheckConfigs. */ public PagedCallSettings< - ListUptimeCheckConfigsRequest, - ListUptimeCheckConfigsResponse, + ListUptimeCheckConfigsRequest, ListUptimeCheckConfigsResponse, ListUptimeCheckConfigsPagedResponse> listUptimeCheckConfigsSettings() { return listUptimeCheckConfigsSettings; @@ -381,8 +375,7 @@ public static class Builder extends StubSettings.Builder { private final ImmutableList> unaryMethodSettingsBuilders; private final PagedCallSettings.Builder< - ListUptimeCheckConfigsRequest, - ListUptimeCheckConfigsResponse, + ListUptimeCheckConfigsRequest, ListUptimeCheckConfigsResponse, ListUptimeCheckConfigsPagedResponse> listUptimeCheckConfigsSettings; private final UnaryCallSettings.Builder @@ -548,8 +541,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listUptimeCheckConfigs. */ public PagedCallSettings.Builder< - ListUptimeCheckConfigsRequest, - ListUptimeCheckConfigsResponse, + ListUptimeCheckConfigsRequest, ListUptimeCheckConfigsResponse, ListUptimeCheckConfigsPagedResponse> listUptimeCheckConfigsSettings() { return listUptimeCheckConfigsSettings; diff --git a/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClientTest.java b/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClientTest.java similarity index 100% rename from google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClientTest.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClientTest.java diff --git a/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/GroupServiceClientTest.java b/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/GroupServiceClientTest.java similarity index 100% rename from google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/GroupServiceClientTest.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/GroupServiceClientTest.java diff --git a/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MetricServiceClientTest.java b/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MetricServiceClientTest.java similarity index 100% rename from google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MetricServiceClientTest.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MetricServiceClientTest.java diff --git a/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockAlertPolicyService.java b/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockAlertPolicyService.java similarity index 100% rename from google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockAlertPolicyService.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockAlertPolicyService.java diff --git a/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockAlertPolicyServiceImpl.java b/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockAlertPolicyServiceImpl.java similarity index 100% rename from google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockAlertPolicyServiceImpl.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockAlertPolicyServiceImpl.java diff --git a/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockGroupService.java b/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockGroupService.java similarity index 100% rename from google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockGroupService.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockGroupService.java diff --git a/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockGroupServiceImpl.java b/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockGroupServiceImpl.java similarity index 100% rename from google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockGroupServiceImpl.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockGroupServiceImpl.java diff --git a/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockMetricService.java b/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockMetricService.java similarity index 100% rename from google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockMetricService.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockMetricService.java diff --git a/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockMetricServiceImpl.java b/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockMetricServiceImpl.java similarity index 100% rename from google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockMetricServiceImpl.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockMetricServiceImpl.java diff --git a/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockNotificationChannelService.java b/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockNotificationChannelService.java similarity index 100% rename from google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockNotificationChannelService.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockNotificationChannelService.java diff --git a/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockNotificationChannelServiceImpl.java b/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockNotificationChannelServiceImpl.java similarity index 100% rename from google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockNotificationChannelServiceImpl.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockNotificationChannelServiceImpl.java diff --git a/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockQueryService.java b/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockQueryService.java similarity index 100% rename from google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockQueryService.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockQueryService.java diff --git a/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockQueryServiceImpl.java b/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockQueryServiceImpl.java similarity index 100% rename from google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockQueryServiceImpl.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockQueryServiceImpl.java diff --git a/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockServiceMonitoringService.java b/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockServiceMonitoringService.java similarity index 100% rename from google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockServiceMonitoringService.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockServiceMonitoringService.java diff --git a/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockServiceMonitoringServiceImpl.java b/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockServiceMonitoringServiceImpl.java similarity index 100% rename from google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockServiceMonitoringServiceImpl.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockServiceMonitoringServiceImpl.java diff --git a/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockUptimeCheckService.java b/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockUptimeCheckService.java similarity index 100% rename from google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockUptimeCheckService.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockUptimeCheckService.java diff --git a/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockUptimeCheckServiceImpl.java b/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockUptimeCheckServiceImpl.java similarity index 100% rename from google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockUptimeCheckServiceImpl.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockUptimeCheckServiceImpl.java diff --git a/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClientTest.java b/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClientTest.java similarity index 100% rename from google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClientTest.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClientTest.java diff --git a/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/QueryServiceClientTest.java b/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/QueryServiceClientTest.java similarity index 100% rename from google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/QueryServiceClientTest.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/QueryServiceClientTest.java diff --git a/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceClientTest.java b/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceClientTest.java similarity index 100% rename from google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceClientTest.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceClientTest.java diff --git a/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClientTest.java b/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClientTest.java similarity index 100% rename from google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClientTest.java rename to owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClientTest.java diff --git a/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyServiceGrpc.java b/owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyServiceGrpc.java similarity index 50% rename from grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyServiceGrpc.java rename to owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyServiceGrpc.java index 1545e5ce..d3421b60 100644 --- a/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyServiceGrpc.java +++ b/owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyServiceGrpc.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.monitoring.v3; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *

  * The AlertPolicyService API is used to manage (list, create, delete,
  * edit) alert policies in Stackdriver Monitoring. An alerting policy is
@@ -43,272 +26,206 @@ private AlertPolicyServiceGrpc() {}
   public static final String SERVICE_NAME = "google.monitoring.v3.AlertPolicyService";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.monitoring.v3.ListAlertPoliciesRequest,
-          com.google.monitoring.v3.ListAlertPoliciesResponse>
-      getListAlertPoliciesMethod;
+  private static volatile io.grpc.MethodDescriptor getListAlertPoliciesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListAlertPolicies",
       requestType = com.google.monitoring.v3.ListAlertPoliciesRequest.class,
       responseType = com.google.monitoring.v3.ListAlertPoliciesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.monitoring.v3.ListAlertPoliciesRequest,
-          com.google.monitoring.v3.ListAlertPoliciesResponse>
-      getListAlertPoliciesMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.monitoring.v3.ListAlertPoliciesRequest,
-            com.google.monitoring.v3.ListAlertPoliciesResponse>
-        getListAlertPoliciesMethod;
+  public static io.grpc.MethodDescriptor getListAlertPoliciesMethod() {
+    io.grpc.MethodDescriptor getListAlertPoliciesMethod;
     if ((getListAlertPoliciesMethod = AlertPolicyServiceGrpc.getListAlertPoliciesMethod) == null) {
       synchronized (AlertPolicyServiceGrpc.class) {
-        if ((getListAlertPoliciesMethod = AlertPolicyServiceGrpc.getListAlertPoliciesMethod)
-            == null) {
-          AlertPolicyServiceGrpc.getListAlertPoliciesMethod =
-              getListAlertPoliciesMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAlertPolicies"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.monitoring.v3.ListAlertPoliciesRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.monitoring.v3.ListAlertPoliciesResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new AlertPolicyServiceMethodDescriptorSupplier("ListAlertPolicies"))
-                      .build();
+        if ((getListAlertPoliciesMethod = AlertPolicyServiceGrpc.getListAlertPoliciesMethod) == null) {
+          AlertPolicyServiceGrpc.getListAlertPoliciesMethod = getListAlertPoliciesMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAlertPolicies"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.monitoring.v3.ListAlertPoliciesRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.monitoring.v3.ListAlertPoliciesResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new AlertPolicyServiceMethodDescriptorSupplier("ListAlertPolicies"))
+              .build();
         }
       }
     }
     return getListAlertPoliciesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.monitoring.v3.GetAlertPolicyRequest, com.google.monitoring.v3.AlertPolicy>
-      getGetAlertPolicyMethod;
+  private static volatile io.grpc.MethodDescriptor getGetAlertPolicyMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetAlertPolicy",
       requestType = com.google.monitoring.v3.GetAlertPolicyRequest.class,
       responseType = com.google.monitoring.v3.AlertPolicy.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.monitoring.v3.GetAlertPolicyRequest, com.google.monitoring.v3.AlertPolicy>
-      getGetAlertPolicyMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.monitoring.v3.GetAlertPolicyRequest, com.google.monitoring.v3.AlertPolicy>
-        getGetAlertPolicyMethod;
+  public static io.grpc.MethodDescriptor getGetAlertPolicyMethod() {
+    io.grpc.MethodDescriptor getGetAlertPolicyMethod;
     if ((getGetAlertPolicyMethod = AlertPolicyServiceGrpc.getGetAlertPolicyMethod) == null) {
       synchronized (AlertPolicyServiceGrpc.class) {
         if ((getGetAlertPolicyMethod = AlertPolicyServiceGrpc.getGetAlertPolicyMethod) == null) {
-          AlertPolicyServiceGrpc.getGetAlertPolicyMethod =
-              getGetAlertPolicyMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAlertPolicy"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.monitoring.v3.GetAlertPolicyRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.monitoring.v3.AlertPolicy.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new AlertPolicyServiceMethodDescriptorSupplier("GetAlertPolicy"))
-                      .build();
+          AlertPolicyServiceGrpc.getGetAlertPolicyMethod = getGetAlertPolicyMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAlertPolicy"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.monitoring.v3.GetAlertPolicyRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.monitoring.v3.AlertPolicy.getDefaultInstance()))
+              .setSchemaDescriptor(new AlertPolicyServiceMethodDescriptorSupplier("GetAlertPolicy"))
+              .build();
         }
       }
     }
     return getGetAlertPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.monitoring.v3.CreateAlertPolicyRequest, com.google.monitoring.v3.AlertPolicy>
-      getCreateAlertPolicyMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateAlertPolicyMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateAlertPolicy",
       requestType = com.google.monitoring.v3.CreateAlertPolicyRequest.class,
       responseType = com.google.monitoring.v3.AlertPolicy.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.monitoring.v3.CreateAlertPolicyRequest, com.google.monitoring.v3.AlertPolicy>
-      getCreateAlertPolicyMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.monitoring.v3.CreateAlertPolicyRequest, com.google.monitoring.v3.AlertPolicy>
-        getCreateAlertPolicyMethod;
+  public static io.grpc.MethodDescriptor getCreateAlertPolicyMethod() {
+    io.grpc.MethodDescriptor getCreateAlertPolicyMethod;
     if ((getCreateAlertPolicyMethod = AlertPolicyServiceGrpc.getCreateAlertPolicyMethod) == null) {
       synchronized (AlertPolicyServiceGrpc.class) {
-        if ((getCreateAlertPolicyMethod = AlertPolicyServiceGrpc.getCreateAlertPolicyMethod)
-            == null) {
-          AlertPolicyServiceGrpc.getCreateAlertPolicyMethod =
-              getCreateAlertPolicyMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAlertPolicy"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.monitoring.v3.CreateAlertPolicyRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.monitoring.v3.AlertPolicy.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new AlertPolicyServiceMethodDescriptorSupplier("CreateAlertPolicy"))
-                      .build();
+        if ((getCreateAlertPolicyMethod = AlertPolicyServiceGrpc.getCreateAlertPolicyMethod) == null) {
+          AlertPolicyServiceGrpc.getCreateAlertPolicyMethod = getCreateAlertPolicyMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAlertPolicy"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.monitoring.v3.CreateAlertPolicyRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.monitoring.v3.AlertPolicy.getDefaultInstance()))
+              .setSchemaDescriptor(new AlertPolicyServiceMethodDescriptorSupplier("CreateAlertPolicy"))
+              .build();
         }
       }
     }
     return getCreateAlertPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.monitoring.v3.DeleteAlertPolicyRequest, com.google.protobuf.Empty>
-      getDeleteAlertPolicyMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteAlertPolicyMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteAlertPolicy",
       requestType = com.google.monitoring.v3.DeleteAlertPolicyRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.monitoring.v3.DeleteAlertPolicyRequest, com.google.protobuf.Empty>
-      getDeleteAlertPolicyMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.monitoring.v3.DeleteAlertPolicyRequest, com.google.protobuf.Empty>
-        getDeleteAlertPolicyMethod;
+  public static io.grpc.MethodDescriptor getDeleteAlertPolicyMethod() {
+    io.grpc.MethodDescriptor getDeleteAlertPolicyMethod;
     if ((getDeleteAlertPolicyMethod = AlertPolicyServiceGrpc.getDeleteAlertPolicyMethod) == null) {
       synchronized (AlertPolicyServiceGrpc.class) {
-        if ((getDeleteAlertPolicyMethod = AlertPolicyServiceGrpc.getDeleteAlertPolicyMethod)
-            == null) {
-          AlertPolicyServiceGrpc.getDeleteAlertPolicyMethod =
-              getDeleteAlertPolicyMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAlertPolicy"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.monitoring.v3.DeleteAlertPolicyRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new AlertPolicyServiceMethodDescriptorSupplier("DeleteAlertPolicy"))
-                      .build();
+        if ((getDeleteAlertPolicyMethod = AlertPolicyServiceGrpc.getDeleteAlertPolicyMethod) == null) {
+          AlertPolicyServiceGrpc.getDeleteAlertPolicyMethod = getDeleteAlertPolicyMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAlertPolicy"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.monitoring.v3.DeleteAlertPolicyRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new AlertPolicyServiceMethodDescriptorSupplier("DeleteAlertPolicy"))
+              .build();
         }
       }
     }
     return getDeleteAlertPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.monitoring.v3.UpdateAlertPolicyRequest, com.google.monitoring.v3.AlertPolicy>
-      getUpdateAlertPolicyMethod;
+  private static volatile io.grpc.MethodDescriptor getUpdateAlertPolicyMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateAlertPolicy",
       requestType = com.google.monitoring.v3.UpdateAlertPolicyRequest.class,
       responseType = com.google.monitoring.v3.AlertPolicy.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.monitoring.v3.UpdateAlertPolicyRequest, com.google.monitoring.v3.AlertPolicy>
-      getUpdateAlertPolicyMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.monitoring.v3.UpdateAlertPolicyRequest, com.google.monitoring.v3.AlertPolicy>
-        getUpdateAlertPolicyMethod;
+  public static io.grpc.MethodDescriptor getUpdateAlertPolicyMethod() {
+    io.grpc.MethodDescriptor getUpdateAlertPolicyMethod;
     if ((getUpdateAlertPolicyMethod = AlertPolicyServiceGrpc.getUpdateAlertPolicyMethod) == null) {
       synchronized (AlertPolicyServiceGrpc.class) {
-        if ((getUpdateAlertPolicyMethod = AlertPolicyServiceGrpc.getUpdateAlertPolicyMethod)
-            == null) {
-          AlertPolicyServiceGrpc.getUpdateAlertPolicyMethod =
-              getUpdateAlertPolicyMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAlertPolicy"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.monitoring.v3.UpdateAlertPolicyRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.monitoring.v3.AlertPolicy.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new AlertPolicyServiceMethodDescriptorSupplier("UpdateAlertPolicy"))
-                      .build();
+        if ((getUpdateAlertPolicyMethod = AlertPolicyServiceGrpc.getUpdateAlertPolicyMethod) == null) {
+          AlertPolicyServiceGrpc.getUpdateAlertPolicyMethod = getUpdateAlertPolicyMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAlertPolicy"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.monitoring.v3.UpdateAlertPolicyRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.monitoring.v3.AlertPolicy.getDefaultInstance()))
+              .setSchemaDescriptor(new AlertPolicyServiceMethodDescriptorSupplier("UpdateAlertPolicy"))
+              .build();
         }
       }
     }
     return getUpdateAlertPolicyMethod;
   }
 
-  /** 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 AlertPolicyServiceStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public AlertPolicyServiceStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new AlertPolicyServiceStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public AlertPolicyServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new AlertPolicyServiceStub(channel, callOptions);
+        }
+      };
     return AlertPolicyServiceStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static AlertPolicyServiceBlockingStub newBlockingStub(io.grpc.Channel channel) {
+  public static AlertPolicyServiceBlockingStub newBlockingStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public AlertPolicyServiceBlockingStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new AlertPolicyServiceBlockingStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public AlertPolicyServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new AlertPolicyServiceBlockingStub(channel, callOptions);
+        }
+      };
     return AlertPolicyServiceBlockingStub.newStub(factory, channel);
   }
 
-  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
-  public static AlertPolicyServiceFutureStub newFutureStub(io.grpc.Channel channel) {
+  /**
+   * Creates a new ListenableFuture-style stub that supports unary calls on the service
+   */
+  public static AlertPolicyServiceFutureStub newFutureStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public AlertPolicyServiceFutureStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new AlertPolicyServiceFutureStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public AlertPolicyServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new AlertPolicyServiceFutureStub(channel, callOptions);
+        }
+      };
     return AlertPolicyServiceFutureStub.newStub(factory, channel);
   }
 
   /**
-   *
-   *
    * 
    * The AlertPolicyService API is used to manage (list, create, delete,
    * edit) alert policies in Stackdriver Monitoring. An alerting policy is
@@ -321,68 +238,49 @@ public AlertPolicyServiceFutureStub newStub(
    * [Cloud Console](https://console.cloud.google.com/).
    * 
*/ - public abstract static class AlertPolicyServiceImplBase implements io.grpc.BindableService { + public static abstract class AlertPolicyServiceImplBase implements io.grpc.BindableService { /** - * - * *
      * Lists the existing alerting policies for the workspace.
      * 
*/ - public void listAlertPolicies( - com.google.monitoring.v3.ListAlertPoliciesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListAlertPoliciesMethod(), responseObserver); + public void listAlertPolicies(com.google.monitoring.v3.ListAlertPoliciesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAlertPoliciesMethod(), responseObserver); } /** - * - * *
      * Gets a single alerting policy.
      * 
*/ - public void getAlertPolicy( - com.google.monitoring.v3.GetAlertPolicyRequest request, + public void getAlertPolicy(com.google.monitoring.v3.GetAlertPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetAlertPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAlertPolicyMethod(), responseObserver); } /** - * - * *
      * Creates a new alerting policy.
      * 
*/ - public void createAlertPolicy( - com.google.monitoring.v3.CreateAlertPolicyRequest request, + public void createAlertPolicy(com.google.monitoring.v3.CreateAlertPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateAlertPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateAlertPolicyMethod(), responseObserver); } /** - * - * *
      * Deletes an alerting policy.
      * 
*/ - public void deleteAlertPolicy( - com.google.monitoring.v3.DeleteAlertPolicyRequest request, + public void deleteAlertPolicy(com.google.monitoring.v3.DeleteAlertPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteAlertPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAlertPolicyMethod(), responseObserver); } /** - * - * *
      * Updates an alerting policy. You can either replace the entire policy with
      * a new one or replace only certain fields in the current alerting policy by
@@ -390,54 +288,53 @@ public void deleteAlertPolicy(
      * updated alerting policy.
      * 
*/ - public void updateAlertPolicy( - com.google.monitoring.v3.UpdateAlertPolicyRequest request, + public void updateAlertPolicy(com.google.monitoring.v3.UpdateAlertPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateAlertPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAlertPolicyMethod(), 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( - getListAlertPoliciesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.ListAlertPoliciesRequest, - com.google.monitoring.v3.ListAlertPoliciesResponse>( - this, METHODID_LIST_ALERT_POLICIES))) + getListAlertPoliciesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.ListAlertPoliciesRequest, + com.google.monitoring.v3.ListAlertPoliciesResponse>( + this, METHODID_LIST_ALERT_POLICIES))) .addMethod( - getGetAlertPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.GetAlertPolicyRequest, - com.google.monitoring.v3.AlertPolicy>(this, METHODID_GET_ALERT_POLICY))) + getGetAlertPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.GetAlertPolicyRequest, + com.google.monitoring.v3.AlertPolicy>( + this, METHODID_GET_ALERT_POLICY))) .addMethod( - getCreateAlertPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.CreateAlertPolicyRequest, - com.google.monitoring.v3.AlertPolicy>(this, METHODID_CREATE_ALERT_POLICY))) + getCreateAlertPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.CreateAlertPolicyRequest, + com.google.monitoring.v3.AlertPolicy>( + this, METHODID_CREATE_ALERT_POLICY))) .addMethod( - getDeleteAlertPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.DeleteAlertPolicyRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_ALERT_POLICY))) + getDeleteAlertPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.DeleteAlertPolicyRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_ALERT_POLICY))) .addMethod( - getUpdateAlertPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.UpdateAlertPolicyRequest, - com.google.monitoring.v3.AlertPolicy>(this, METHODID_UPDATE_ALERT_POLICY))) + getUpdateAlertPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.UpdateAlertPolicyRequest, + com.google.monitoring.v3.AlertPolicy>( + this, METHODID_UPDATE_ALERT_POLICY))) .build(); } } /** - * - * *
    * The AlertPolicyService API is used to manage (list, create, delete,
    * edit) alert policies in Stackdriver Monitoring. An alerting policy is
@@ -450,9 +347,9 @@ public final io.grpc.ServerServiceDefinition bindService() {
    * [Cloud Console](https://console.cloud.google.com/).
    * 
*/ - public static final class AlertPolicyServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private AlertPolicyServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class AlertPolicyServiceStub extends io.grpc.stub.AbstractAsyncStub { + private AlertPolicyServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -463,73 +360,50 @@ protected AlertPolicyServiceStub build( } /** - * - * *
      * Lists the existing alerting policies for the workspace.
      * 
*/ - public void listAlertPolicies( - com.google.monitoring.v3.ListAlertPoliciesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listAlertPolicies(com.google.monitoring.v3.ListAlertPoliciesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAlertPoliciesMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListAlertPoliciesMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets a single alerting policy.
      * 
*/ - public void getAlertPolicy( - com.google.monitoring.v3.GetAlertPolicyRequest request, + public void getAlertPolicy(com.google.monitoring.v3.GetAlertPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAlertPolicyMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetAlertPolicyMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a new alerting policy.
      * 
*/ - public void createAlertPolicy( - com.google.monitoring.v3.CreateAlertPolicyRequest request, + public void createAlertPolicy(com.google.monitoring.v3.CreateAlertPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateAlertPolicyMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateAlertPolicyMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes an alerting policy.
      * 
*/ - public void deleteAlertPolicy( - com.google.monitoring.v3.DeleteAlertPolicyRequest request, + public void deleteAlertPolicy(com.google.monitoring.v3.DeleteAlertPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteAlertPolicyMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteAlertPolicyMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates an alerting policy. You can either replace the entire policy with
      * a new one or replace only certain fields in the current alerting policy by
@@ -537,19 +411,14 @@ public void deleteAlertPolicy(
      * updated alerting policy.
      * 
*/ - public void updateAlertPolicy( - com.google.monitoring.v3.UpdateAlertPolicyRequest request, + public void updateAlertPolicy(com.google.monitoring.v3.UpdateAlertPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateAlertPolicyMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateAlertPolicyMethod(), getCallOptions()), request, responseObserver); } } /** - * - * *
    * The AlertPolicyService API is used to manage (list, create, delete,
    * edit) alert policies in Stackdriver Monitoring. An alerting policy is
@@ -562,8 +431,7 @@ public void updateAlertPolicy(
    * [Cloud Console](https://console.cloud.google.com/).
    * 
*/ - public static final class AlertPolicyServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { + public static final class AlertPolicyServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { private AlertPolicyServiceBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -576,60 +444,46 @@ protected AlertPolicyServiceBlockingStub build( } /** - * - * *
      * Lists the existing alerting policies for the workspace.
      * 
*/ - public com.google.monitoring.v3.ListAlertPoliciesResponse listAlertPolicies( - com.google.monitoring.v3.ListAlertPoliciesRequest request) { + public com.google.monitoring.v3.ListAlertPoliciesResponse listAlertPolicies(com.google.monitoring.v3.ListAlertPoliciesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListAlertPoliciesMethod(), getCallOptions(), request); } /** - * - * *
      * Gets a single alerting policy.
      * 
*/ - public com.google.monitoring.v3.AlertPolicy getAlertPolicy( - com.google.monitoring.v3.GetAlertPolicyRequest request) { + public com.google.monitoring.v3.AlertPolicy getAlertPolicy(com.google.monitoring.v3.GetAlertPolicyRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetAlertPolicyMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a new alerting policy.
      * 
*/ - public com.google.monitoring.v3.AlertPolicy createAlertPolicy( - com.google.monitoring.v3.CreateAlertPolicyRequest request) { + public com.google.monitoring.v3.AlertPolicy createAlertPolicy(com.google.monitoring.v3.CreateAlertPolicyRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateAlertPolicyMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes an alerting policy.
      * 
*/ - public com.google.protobuf.Empty deleteAlertPolicy( - com.google.monitoring.v3.DeleteAlertPolicyRequest request) { + public com.google.protobuf.Empty deleteAlertPolicy(com.google.monitoring.v3.DeleteAlertPolicyRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteAlertPolicyMethod(), getCallOptions(), request); } /** - * - * *
      * Updates an alerting policy. You can either replace the entire policy with
      * a new one or replace only certain fields in the current alerting policy by
@@ -637,16 +491,13 @@ public com.google.protobuf.Empty deleteAlertPolicy(
      * updated alerting policy.
      * 
*/ - public com.google.monitoring.v3.AlertPolicy updateAlertPolicy( - com.google.monitoring.v3.UpdateAlertPolicyRequest request) { + public com.google.monitoring.v3.AlertPolicy updateAlertPolicy(com.google.monitoring.v3.UpdateAlertPolicyRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateAlertPolicyMethod(), getCallOptions(), request); } } /** - * - * *
    * The AlertPolicyService API is used to manage (list, create, delete,
    * edit) alert policies in Stackdriver Monitoring. An alerting policy is
@@ -659,9 +510,9 @@ public com.google.monitoring.v3.AlertPolicy updateAlertPolicy(
    * [Cloud Console](https://console.cloud.google.com/).
    * 
*/ - public static final class AlertPolicyServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private AlertPolicyServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class AlertPolicyServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private AlertPolicyServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -672,61 +523,50 @@ protected AlertPolicyServiceFutureStub build( } /** - * - * *
      * Lists the existing alerting policies for the workspace.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.monitoring.v3.ListAlertPoliciesResponse> - listAlertPolicies(com.google.monitoring.v3.ListAlertPoliciesRequest request) { + public com.google.common.util.concurrent.ListenableFuture listAlertPolicies( + com.google.monitoring.v3.ListAlertPoliciesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListAlertPoliciesMethod(), getCallOptions()), request); } /** - * - * *
      * Gets a single alerting policy.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getAlertPolicy(com.google.monitoring.v3.GetAlertPolicyRequest request) { + public com.google.common.util.concurrent.ListenableFuture getAlertPolicy( + com.google.monitoring.v3.GetAlertPolicyRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetAlertPolicyMethod(), getCallOptions()), request); } /** - * - * *
      * Creates a new alerting policy.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createAlertPolicy(com.google.monitoring.v3.CreateAlertPolicyRequest request) { + public com.google.common.util.concurrent.ListenableFuture createAlertPolicy( + com.google.monitoring.v3.CreateAlertPolicyRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateAlertPolicyMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes an alerting policy.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteAlertPolicy(com.google.monitoring.v3.DeleteAlertPolicyRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteAlertPolicy( + com.google.monitoring.v3.DeleteAlertPolicyRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteAlertPolicyMethod(), getCallOptions()), request); } /** - * - * *
      * Updates an alerting policy. You can either replace the entire policy with
      * a new one or replace only certain fields in the current alerting policy by
@@ -734,8 +574,8 @@ protected AlertPolicyServiceFutureStub build(
      * updated alerting policy.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - updateAlertPolicy(com.google.monitoring.v3.UpdateAlertPolicyRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateAlertPolicy( + com.google.monitoring.v3.UpdateAlertPolicyRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateAlertPolicyMethod(), getCallOptions()), request); } @@ -747,11 +587,11 @@ protected AlertPolicyServiceFutureStub build( private static final int METHODID_DELETE_ALERT_POLICY = 3; private static final int METHODID_UPDATE_ALERT_POLICY = 4; - 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 AlertPolicyServiceImplBase serviceImpl; private final int methodId; @@ -765,29 +605,23 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_LIST_ALERT_POLICIES: - serviceImpl.listAlertPolicies( - (com.google.monitoring.v3.ListAlertPoliciesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.listAlertPolicies((com.google.monitoring.v3.ListAlertPoliciesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_ALERT_POLICY: - serviceImpl.getAlertPolicy( - (com.google.monitoring.v3.GetAlertPolicyRequest) request, + serviceImpl.getAlertPolicy((com.google.monitoring.v3.GetAlertPolicyRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_ALERT_POLICY: - serviceImpl.createAlertPolicy( - (com.google.monitoring.v3.CreateAlertPolicyRequest) request, + serviceImpl.createAlertPolicy((com.google.monitoring.v3.CreateAlertPolicyRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_ALERT_POLICY: - serviceImpl.deleteAlertPolicy( - (com.google.monitoring.v3.DeleteAlertPolicyRequest) request, + serviceImpl.deleteAlertPolicy((com.google.monitoring.v3.DeleteAlertPolicyRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_ALERT_POLICY: - serviceImpl.updateAlertPolicy( - (com.google.monitoring.v3.UpdateAlertPolicyRequest) request, + serviceImpl.updateAlertPolicy((com.google.monitoring.v3.UpdateAlertPolicyRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; default: @@ -806,9 +640,8 @@ public io.grpc.stub.StreamObserver invoke( } } - private abstract static class AlertPolicyServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class AlertPolicyServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { AlertPolicyServiceBaseDescriptorSupplier() {} @java.lang.Override @@ -850,16 +683,14 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (AlertPolicyServiceGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new AlertPolicyServiceFileDescriptorSupplier()) - .addMethod(getListAlertPoliciesMethod()) - .addMethod(getGetAlertPolicyMethod()) - .addMethod(getCreateAlertPolicyMethod()) - .addMethod(getDeleteAlertPolicyMethod()) - .addMethod(getUpdateAlertPolicyMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new AlertPolicyServiceFileDescriptorSupplier()) + .addMethod(getListAlertPoliciesMethod()) + .addMethod(getGetAlertPolicyMethod()) + .addMethod(getCreateAlertPolicyMethod()) + .addMethod(getDeleteAlertPolicyMethod()) + .addMethod(getUpdateAlertPolicyMethod()) + .build(); } } } diff --git a/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupServiceGrpc.java b/owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupServiceGrpc.java similarity index 50% rename from grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupServiceGrpc.java rename to owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupServiceGrpc.java index 8629a1c0..07cdc73e 100644 --- a/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupServiceGrpc.java +++ b/owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupServiceGrpc.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.monitoring.v3; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *
  * The Group API lets you inspect and manage your
  * [groups](#google.monitoring.v3.Group).
@@ -45,297 +28,237 @@ private GroupServiceGrpc() {}
   public static final String SERVICE_NAME = "google.monitoring.v3.GroupService";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.monitoring.v3.ListGroupsRequest, com.google.monitoring.v3.ListGroupsResponse>
-      getListGroupsMethod;
+  private static volatile io.grpc.MethodDescriptor getListGroupsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListGroups",
       requestType = com.google.monitoring.v3.ListGroupsRequest.class,
       responseType = com.google.monitoring.v3.ListGroupsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.monitoring.v3.ListGroupsRequest, com.google.monitoring.v3.ListGroupsResponse>
-      getListGroupsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.monitoring.v3.ListGroupsRequest, com.google.monitoring.v3.ListGroupsResponse>
-        getListGroupsMethod;
+  public static io.grpc.MethodDescriptor getListGroupsMethod() {
+    io.grpc.MethodDescriptor getListGroupsMethod;
     if ((getListGroupsMethod = GroupServiceGrpc.getListGroupsMethod) == null) {
       synchronized (GroupServiceGrpc.class) {
         if ((getListGroupsMethod = GroupServiceGrpc.getListGroupsMethod) == null) {
-          GroupServiceGrpc.getListGroupsMethod =
-              getListGroupsMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListGroups"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.monitoring.v3.ListGroupsRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.monitoring.v3.ListGroupsResponse.getDefaultInstance()))
-                      .setSchemaDescriptor(new GroupServiceMethodDescriptorSupplier("ListGroups"))
-                      .build();
+          GroupServiceGrpc.getListGroupsMethod = getListGroupsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListGroups"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.monitoring.v3.ListGroupsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.monitoring.v3.ListGroupsResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new GroupServiceMethodDescriptorSupplier("ListGroups"))
+              .build();
         }
       }
     }
     return getListGroupsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.monitoring.v3.GetGroupRequest, com.google.monitoring.v3.Group>
-      getGetGroupMethod;
+  private static volatile io.grpc.MethodDescriptor getGetGroupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetGroup",
       requestType = com.google.monitoring.v3.GetGroupRequest.class,
       responseType = com.google.monitoring.v3.Group.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.monitoring.v3.GetGroupRequest, com.google.monitoring.v3.Group>
-      getGetGroupMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.monitoring.v3.GetGroupRequest, com.google.monitoring.v3.Group>
-        getGetGroupMethod;
+  public static io.grpc.MethodDescriptor getGetGroupMethod() {
+    io.grpc.MethodDescriptor getGetGroupMethod;
     if ((getGetGroupMethod = GroupServiceGrpc.getGetGroupMethod) == null) {
       synchronized (GroupServiceGrpc.class) {
         if ((getGetGroupMethod = GroupServiceGrpc.getGetGroupMethod) == null) {
-          GroupServiceGrpc.getGetGroupMethod =
-              getGetGroupMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetGroup"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.monitoring.v3.GetGroupRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.monitoring.v3.Group.getDefaultInstance()))
-                      .setSchemaDescriptor(new GroupServiceMethodDescriptorSupplier("GetGroup"))
-                      .build();
+          GroupServiceGrpc.getGetGroupMethod = getGetGroupMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetGroup"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.monitoring.v3.GetGroupRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.monitoring.v3.Group.getDefaultInstance()))
+              .setSchemaDescriptor(new GroupServiceMethodDescriptorSupplier("GetGroup"))
+              .build();
         }
       }
     }
     return getGetGroupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.monitoring.v3.CreateGroupRequest, com.google.monitoring.v3.Group>
-      getCreateGroupMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateGroupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateGroup",
       requestType = com.google.monitoring.v3.CreateGroupRequest.class,
       responseType = com.google.monitoring.v3.Group.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.monitoring.v3.CreateGroupRequest, com.google.monitoring.v3.Group>
-      getCreateGroupMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.monitoring.v3.CreateGroupRequest, com.google.monitoring.v3.Group>
-        getCreateGroupMethod;
+  public static io.grpc.MethodDescriptor getCreateGroupMethod() {
+    io.grpc.MethodDescriptor getCreateGroupMethod;
     if ((getCreateGroupMethod = GroupServiceGrpc.getCreateGroupMethod) == null) {
       synchronized (GroupServiceGrpc.class) {
         if ((getCreateGroupMethod = GroupServiceGrpc.getCreateGroupMethod) == null) {
-          GroupServiceGrpc.getCreateGroupMethod =
-              getCreateGroupMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateGroup"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.monitoring.v3.CreateGroupRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.monitoring.v3.Group.getDefaultInstance()))
-                      .setSchemaDescriptor(new GroupServiceMethodDescriptorSupplier("CreateGroup"))
-                      .build();
+          GroupServiceGrpc.getCreateGroupMethod = getCreateGroupMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateGroup"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.monitoring.v3.CreateGroupRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.monitoring.v3.Group.getDefaultInstance()))
+              .setSchemaDescriptor(new GroupServiceMethodDescriptorSupplier("CreateGroup"))
+              .build();
         }
       }
     }
     return getCreateGroupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.monitoring.v3.UpdateGroupRequest, com.google.monitoring.v3.Group>
-      getUpdateGroupMethod;
+  private static volatile io.grpc.MethodDescriptor getUpdateGroupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateGroup",
       requestType = com.google.monitoring.v3.UpdateGroupRequest.class,
       responseType = com.google.monitoring.v3.Group.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.monitoring.v3.UpdateGroupRequest, com.google.monitoring.v3.Group>
-      getUpdateGroupMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.monitoring.v3.UpdateGroupRequest, com.google.monitoring.v3.Group>
-        getUpdateGroupMethod;
+  public static io.grpc.MethodDescriptor getUpdateGroupMethod() {
+    io.grpc.MethodDescriptor getUpdateGroupMethod;
     if ((getUpdateGroupMethod = GroupServiceGrpc.getUpdateGroupMethod) == null) {
       synchronized (GroupServiceGrpc.class) {
         if ((getUpdateGroupMethod = GroupServiceGrpc.getUpdateGroupMethod) == null) {
-          GroupServiceGrpc.getUpdateGroupMethod =
-              getUpdateGroupMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateGroup"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.monitoring.v3.UpdateGroupRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.monitoring.v3.Group.getDefaultInstance()))
-                      .setSchemaDescriptor(new GroupServiceMethodDescriptorSupplier("UpdateGroup"))
-                      .build();
+          GroupServiceGrpc.getUpdateGroupMethod = getUpdateGroupMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateGroup"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.monitoring.v3.UpdateGroupRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.monitoring.v3.Group.getDefaultInstance()))
+              .setSchemaDescriptor(new GroupServiceMethodDescriptorSupplier("UpdateGroup"))
+              .build();
         }
       }
     }
     return getUpdateGroupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.monitoring.v3.DeleteGroupRequest, com.google.protobuf.Empty>
-      getDeleteGroupMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteGroupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteGroup",
       requestType = com.google.monitoring.v3.DeleteGroupRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.monitoring.v3.DeleteGroupRequest, com.google.protobuf.Empty>
-      getDeleteGroupMethod() {
-    io.grpc.MethodDescriptor
-        getDeleteGroupMethod;
+  public static io.grpc.MethodDescriptor getDeleteGroupMethod() {
+    io.grpc.MethodDescriptor getDeleteGroupMethod;
     if ((getDeleteGroupMethod = GroupServiceGrpc.getDeleteGroupMethod) == null) {
       synchronized (GroupServiceGrpc.class) {
         if ((getDeleteGroupMethod = GroupServiceGrpc.getDeleteGroupMethod) == null) {
-          GroupServiceGrpc.getDeleteGroupMethod =
-              getDeleteGroupMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteGroup"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.monitoring.v3.DeleteGroupRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(new GroupServiceMethodDescriptorSupplier("DeleteGroup"))
-                      .build();
+          GroupServiceGrpc.getDeleteGroupMethod = getDeleteGroupMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteGroup"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.monitoring.v3.DeleteGroupRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new GroupServiceMethodDescriptorSupplier("DeleteGroup"))
+              .build();
         }
       }
     }
     return getDeleteGroupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.monitoring.v3.ListGroupMembersRequest,
-          com.google.monitoring.v3.ListGroupMembersResponse>
-      getListGroupMembersMethod;
+  private static volatile io.grpc.MethodDescriptor getListGroupMembersMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListGroupMembers",
       requestType = com.google.monitoring.v3.ListGroupMembersRequest.class,
       responseType = com.google.monitoring.v3.ListGroupMembersResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.monitoring.v3.ListGroupMembersRequest,
-          com.google.monitoring.v3.ListGroupMembersResponse>
-      getListGroupMembersMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.monitoring.v3.ListGroupMembersRequest,
-            com.google.monitoring.v3.ListGroupMembersResponse>
-        getListGroupMembersMethod;
+  public static io.grpc.MethodDescriptor getListGroupMembersMethod() {
+    io.grpc.MethodDescriptor getListGroupMembersMethod;
     if ((getListGroupMembersMethod = GroupServiceGrpc.getListGroupMembersMethod) == null) {
       synchronized (GroupServiceGrpc.class) {
         if ((getListGroupMembersMethod = GroupServiceGrpc.getListGroupMembersMethod) == null) {
-          GroupServiceGrpc.getListGroupMembersMethod =
-              getListGroupMembersMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListGroupMembers"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.monitoring.v3.ListGroupMembersRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.monitoring.v3.ListGroupMembersResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new GroupServiceMethodDescriptorSupplier("ListGroupMembers"))
-                      .build();
+          GroupServiceGrpc.getListGroupMembersMethod = getListGroupMembersMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListGroupMembers"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.monitoring.v3.ListGroupMembersRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.monitoring.v3.ListGroupMembersResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new GroupServiceMethodDescriptorSupplier("ListGroupMembers"))
+              .build();
         }
       }
     }
     return getListGroupMembersMethod;
   }
 
-  /** 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 GroupServiceStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public GroupServiceStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new GroupServiceStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public GroupServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new GroupServiceStub(channel, callOptions);
+        }
+      };
     return GroupServiceStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static GroupServiceBlockingStub newBlockingStub(io.grpc.Channel channel) {
+  public static GroupServiceBlockingStub newBlockingStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public GroupServiceBlockingStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new GroupServiceBlockingStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public GroupServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new GroupServiceBlockingStub(channel, callOptions);
+        }
+      };
     return GroupServiceBlockingStub.newStub(factory, channel);
   }
 
-  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
-  public static GroupServiceFutureStub newFutureStub(io.grpc.Channel channel) {
+  /**
+   * Creates a new ListenableFuture-style stub that supports unary calls on the service
+   */
+  public static GroupServiceFutureStub newFutureStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public GroupServiceFutureStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new GroupServiceFutureStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public GroupServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new GroupServiceFutureStub(channel, callOptions);
+        }
+      };
     return GroupServiceFutureStub.newStub(factory, channel);
   }
 
   /**
-   *
-   *
    * 
    * The Group API lets you inspect and manage your
    * [groups](#google.monitoring.v3.Group).
@@ -350,139 +273,118 @@ public GroupServiceFutureStub newStub(
    * from the infrastructure.
    * 
*/ - public abstract static class GroupServiceImplBase implements io.grpc.BindableService { + public static abstract class GroupServiceImplBase implements io.grpc.BindableService { /** - * - * *
      * Lists the existing groups.
      * 
*/ - public void listGroups( - com.google.monitoring.v3.ListGroupsRequest request, + public void listGroups(com.google.monitoring.v3.ListGroupsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListGroupsMethod(), responseObserver); } /** - * - * *
      * Gets a single group.
      * 
*/ - public void getGroup( - com.google.monitoring.v3.GetGroupRequest request, + public void getGroup(com.google.monitoring.v3.GetGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetGroupMethod(), responseObserver); } /** - * - * *
      * Creates a new group.
      * 
*/ - public void createGroup( - com.google.monitoring.v3.CreateGroupRequest request, + public void createGroup(com.google.monitoring.v3.CreateGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateGroupMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateGroupMethod(), responseObserver); } /** - * - * *
      * Updates an existing group.
      * You can change any group attributes except `name`.
      * 
*/ - public void updateGroup( - com.google.monitoring.v3.UpdateGroupRequest request, + public void updateGroup(com.google.monitoring.v3.UpdateGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateGroupMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateGroupMethod(), responseObserver); } /** - * - * *
      * Deletes an existing group.
      * 
*/ - public void deleteGroup( - com.google.monitoring.v3.DeleteGroupRequest request, + public void deleteGroup(com.google.monitoring.v3.DeleteGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteGroupMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteGroupMethod(), responseObserver); } /** - * - * *
      * Lists the monitored resources that are members of a group.
      * 
*/ - public void listGroupMembers( - com.google.monitoring.v3.ListGroupMembersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListGroupMembersMethod(), responseObserver); + public void listGroupMembers(com.google.monitoring.v3.ListGroupMembersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListGroupMembersMethod(), 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( - getListGroupsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.ListGroupsRequest, - com.google.monitoring.v3.ListGroupsResponse>(this, METHODID_LIST_GROUPS))) + getListGroupsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.ListGroupsRequest, + com.google.monitoring.v3.ListGroupsResponse>( + this, METHODID_LIST_GROUPS))) .addMethod( - getGetGroupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.GetGroupRequest, com.google.monitoring.v3.Group>( - this, METHODID_GET_GROUP))) + getGetGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.GetGroupRequest, + com.google.monitoring.v3.Group>( + this, METHODID_GET_GROUP))) .addMethod( - getCreateGroupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.CreateGroupRequest, com.google.monitoring.v3.Group>( - this, METHODID_CREATE_GROUP))) + getCreateGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.CreateGroupRequest, + com.google.monitoring.v3.Group>( + this, METHODID_CREATE_GROUP))) .addMethod( - getUpdateGroupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.UpdateGroupRequest, com.google.monitoring.v3.Group>( - this, METHODID_UPDATE_GROUP))) + getUpdateGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.UpdateGroupRequest, + com.google.monitoring.v3.Group>( + this, METHODID_UPDATE_GROUP))) .addMethod( - getDeleteGroupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.DeleteGroupRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_GROUP))) + getDeleteGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.DeleteGroupRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_GROUP))) .addMethod( - getListGroupMembersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.ListGroupMembersRequest, - com.google.monitoring.v3.ListGroupMembersResponse>( - this, METHODID_LIST_GROUP_MEMBERS))) + getListGroupMembersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.ListGroupMembersRequest, + com.google.monitoring.v3.ListGroupMembersResponse>( + this, METHODID_LIST_GROUP_MEMBERS))) .build(); } } /** - * - * *
    * The Group API lets you inspect and manage your
    * [groups](#google.monitoring.v3.Group).
@@ -497,115 +399,87 @@ public final io.grpc.ServerServiceDefinition bindService() {
    * from the infrastructure.
    * 
*/ - public static final class GroupServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private GroupServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class GroupServiceStub extends io.grpc.stub.AbstractAsyncStub { + private GroupServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected GroupServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected GroupServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new GroupServiceStub(channel, callOptions); } /** - * - * *
      * Lists the existing groups.
      * 
*/ - public void listGroups( - com.google.monitoring.v3.ListGroupsRequest request, + public void listGroups(com.google.monitoring.v3.ListGroupsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListGroupsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets a single group.
      * 
*/ - public void getGroup( - com.google.monitoring.v3.GetGroupRequest request, + public void getGroup(com.google.monitoring.v3.GetGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetGroupMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a new group.
      * 
*/ - public void createGroup( - com.google.monitoring.v3.CreateGroupRequest request, + public void createGroup(com.google.monitoring.v3.CreateGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateGroupMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateGroupMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates an existing group.
      * You can change any group attributes except `name`.
      * 
*/ - public void updateGroup( - com.google.monitoring.v3.UpdateGroupRequest request, + public void updateGroup(com.google.monitoring.v3.UpdateGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateGroupMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateGroupMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes an existing group.
      * 
*/ - public void deleteGroup( - com.google.monitoring.v3.DeleteGroupRequest request, + public void deleteGroup(com.google.monitoring.v3.DeleteGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteGroupMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteGroupMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists the monitored resources that are members of a group.
      * 
*/ - public void listGroupMembers( - com.google.monitoring.v3.ListGroupMembersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listGroupMembers(com.google.monitoring.v3.ListGroupMembersRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListGroupMembersMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListGroupMembersMethod(), getCallOptions()), request, responseObserver); } } /** - * - * *
    * The Group API lets you inspect and manage your
    * [groups](#google.monitoring.v3.Group).
@@ -620,9 +494,9 @@ public void listGroupMembers(
    * from the infrastructure.
    * 
*/ - public static final class GroupServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private GroupServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class GroupServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private GroupServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -633,88 +507,68 @@ protected GroupServiceBlockingStub build( } /** - * - * *
      * Lists the existing groups.
      * 
*/ - public com.google.monitoring.v3.ListGroupsResponse listGroups( - com.google.monitoring.v3.ListGroupsRequest request) { + public com.google.monitoring.v3.ListGroupsResponse listGroups(com.google.monitoring.v3.ListGroupsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListGroupsMethod(), getCallOptions(), request); } /** - * - * *
      * Gets a single group.
      * 
*/ - public com.google.monitoring.v3.Group getGroup( - com.google.monitoring.v3.GetGroupRequest request) { + public com.google.monitoring.v3.Group getGroup(com.google.monitoring.v3.GetGroupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetGroupMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a new group.
      * 
*/ - public com.google.monitoring.v3.Group createGroup( - com.google.monitoring.v3.CreateGroupRequest request) { + public com.google.monitoring.v3.Group createGroup(com.google.monitoring.v3.CreateGroupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateGroupMethod(), getCallOptions(), request); } /** - * - * *
      * Updates an existing group.
      * You can change any group attributes except `name`.
      * 
*/ - public com.google.monitoring.v3.Group updateGroup( - com.google.monitoring.v3.UpdateGroupRequest request) { + public com.google.monitoring.v3.Group updateGroup(com.google.monitoring.v3.UpdateGroupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateGroupMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes an existing group.
      * 
*/ - public com.google.protobuf.Empty deleteGroup( - com.google.monitoring.v3.DeleteGroupRequest request) { + public com.google.protobuf.Empty deleteGroup(com.google.monitoring.v3.DeleteGroupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteGroupMethod(), getCallOptions(), request); } /** - * - * *
      * Lists the monitored resources that are members of a group.
      * 
*/ - public com.google.monitoring.v3.ListGroupMembersResponse listGroupMembers( - com.google.monitoring.v3.ListGroupMembersRequest request) { + public com.google.monitoring.v3.ListGroupMembersResponse listGroupMembers(com.google.monitoring.v3.ListGroupMembersRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListGroupMembersMethod(), getCallOptions(), request); } } /** - * - * *
    * The Group API lets you inspect and manage your
    * [groups](#google.monitoring.v3.Group).
@@ -729,9 +583,9 @@ public com.google.monitoring.v3.ListGroupMembersResponse listGroupMembers(
    * from the infrastructure.
    * 
*/ - public static final class GroupServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private GroupServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class GroupServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private GroupServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -742,82 +596,68 @@ protected GroupServiceFutureStub build( } /** - * - * *
      * Lists the existing groups.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.monitoring.v3.ListGroupsResponse> - listGroups(com.google.monitoring.v3.ListGroupsRequest request) { + public com.google.common.util.concurrent.ListenableFuture listGroups( + com.google.monitoring.v3.ListGroupsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListGroupsMethod(), getCallOptions()), request); } /** - * - * *
      * Gets a single group.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getGroup(com.google.monitoring.v3.GetGroupRequest request) { + public com.google.common.util.concurrent.ListenableFuture getGroup( + com.google.monitoring.v3.GetGroupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetGroupMethod(), getCallOptions()), request); } /** - * - * *
      * Creates a new group.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createGroup(com.google.monitoring.v3.CreateGroupRequest request) { + public com.google.common.util.concurrent.ListenableFuture createGroup( + com.google.monitoring.v3.CreateGroupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateGroupMethod(), getCallOptions()), request); } /** - * - * *
      * Updates an existing group.
      * You can change any group attributes except `name`.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - updateGroup(com.google.monitoring.v3.UpdateGroupRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateGroup( + com.google.monitoring.v3.UpdateGroupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateGroupMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes an existing group.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteGroup(com.google.monitoring.v3.DeleteGroupRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteGroup( + com.google.monitoring.v3.DeleteGroupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteGroupMethod(), getCallOptions()), request); } /** - * - * *
      * Lists the monitored resources that are members of a group.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.monitoring.v3.ListGroupMembersResponse> - listGroupMembers(com.google.monitoring.v3.ListGroupMembersRequest request) { + public com.google.common.util.concurrent.ListenableFuture listGroupMembers( + com.google.monitoring.v3.ListGroupMembersRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListGroupMembersMethod(), getCallOptions()), request); } @@ -830,11 +670,11 @@ protected GroupServiceFutureStub build( private static final int METHODID_DELETE_GROUP = 4; private static final int METHODID_LIST_GROUP_MEMBERS = 5; - 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 GroupServiceImplBase serviceImpl; private final int methodId; @@ -848,36 +688,28 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_LIST_GROUPS: - serviceImpl.listGroups( - (com.google.monitoring.v3.ListGroupsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.listGroups((com.google.monitoring.v3.ListGroupsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_GROUP: - serviceImpl.getGroup( - (com.google.monitoring.v3.GetGroupRequest) request, + serviceImpl.getGroup((com.google.monitoring.v3.GetGroupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_GROUP: - serviceImpl.createGroup( - (com.google.monitoring.v3.CreateGroupRequest) request, + serviceImpl.createGroup((com.google.monitoring.v3.CreateGroupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_GROUP: - serviceImpl.updateGroup( - (com.google.monitoring.v3.UpdateGroupRequest) request, + serviceImpl.updateGroup((com.google.monitoring.v3.UpdateGroupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_GROUP: - serviceImpl.deleteGroup( - (com.google.monitoring.v3.DeleteGroupRequest) request, + serviceImpl.deleteGroup((com.google.monitoring.v3.DeleteGroupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_GROUP_MEMBERS: - serviceImpl.listGroupMembers( - (com.google.monitoring.v3.ListGroupMembersRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.listGroupMembers((com.google.monitoring.v3.ListGroupMembersRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); @@ -895,9 +727,8 @@ public io.grpc.stub.StreamObserver invoke( } } - private abstract static class GroupServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class GroupServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { GroupServiceBaseDescriptorSupplier() {} @java.lang.Override @@ -939,17 +770,15 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (GroupServiceGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new GroupServiceFileDescriptorSupplier()) - .addMethod(getListGroupsMethod()) - .addMethod(getGetGroupMethod()) - .addMethod(getCreateGroupMethod()) - .addMethod(getUpdateGroupMethod()) - .addMethod(getDeleteGroupMethod()) - .addMethod(getListGroupMembersMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new GroupServiceFileDescriptorSupplier()) + .addMethod(getListGroupsMethod()) + .addMethod(getGetGroupMethod()) + .addMethod(getCreateGroupMethod()) + .addMethod(getUpdateGroupMethod()) + .addMethod(getDeleteGroupMethod()) + .addMethod(getListGroupMembersMethod()) + .build(); } } } diff --git a/owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceGrpc.java b/owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceGrpc.java new file mode 100644 index 00000000..df082f26 --- /dev/null +++ b/owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceGrpc.java @@ -0,0 +1,1064 @@ +package com.google.monitoring.v3; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * Manages metric descriptors, monitored resource descriptors, and
+ * time series data.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/monitoring/v3/metric_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class MetricServiceGrpc { + + private MetricServiceGrpc() {} + + public static final String SERVICE_NAME = "google.monitoring.v3.MetricService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getListMonitoredResourceDescriptorsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListMonitoredResourceDescriptors", + requestType = com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest.class, + responseType = com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListMonitoredResourceDescriptorsMethod() { + io.grpc.MethodDescriptor getListMonitoredResourceDescriptorsMethod; + if ((getListMonitoredResourceDescriptorsMethod = MetricServiceGrpc.getListMonitoredResourceDescriptorsMethod) == null) { + synchronized (MetricServiceGrpc.class) { + if ((getListMonitoredResourceDescriptorsMethod = MetricServiceGrpc.getListMonitoredResourceDescriptorsMethod) == null) { + MetricServiceGrpc.getListMonitoredResourceDescriptorsMethod = getListMonitoredResourceDescriptorsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListMonitoredResourceDescriptors")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse.getDefaultInstance())) + .setSchemaDescriptor(new MetricServiceMethodDescriptorSupplier("ListMonitoredResourceDescriptors")) + .build(); + } + } + } + return getListMonitoredResourceDescriptorsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetMonitoredResourceDescriptorMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetMonitoredResourceDescriptor", + requestType = com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest.class, + responseType = com.google.api.MonitoredResourceDescriptor.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetMonitoredResourceDescriptorMethod() { + io.grpc.MethodDescriptor getGetMonitoredResourceDescriptorMethod; + if ((getGetMonitoredResourceDescriptorMethod = MetricServiceGrpc.getGetMonitoredResourceDescriptorMethod) == null) { + synchronized (MetricServiceGrpc.class) { + if ((getGetMonitoredResourceDescriptorMethod = MetricServiceGrpc.getGetMonitoredResourceDescriptorMethod) == null) { + MetricServiceGrpc.getGetMonitoredResourceDescriptorMethod = getGetMonitoredResourceDescriptorMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetMonitoredResourceDescriptor")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.api.MonitoredResourceDescriptor.getDefaultInstance())) + .setSchemaDescriptor(new MetricServiceMethodDescriptorSupplier("GetMonitoredResourceDescriptor")) + .build(); + } + } + } + return getGetMonitoredResourceDescriptorMethod; + } + + private static volatile io.grpc.MethodDescriptor getListMetricDescriptorsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListMetricDescriptors", + requestType = com.google.monitoring.v3.ListMetricDescriptorsRequest.class, + responseType = com.google.monitoring.v3.ListMetricDescriptorsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListMetricDescriptorsMethod() { + io.grpc.MethodDescriptor getListMetricDescriptorsMethod; + if ((getListMetricDescriptorsMethod = MetricServiceGrpc.getListMetricDescriptorsMethod) == null) { + synchronized (MetricServiceGrpc.class) { + if ((getListMetricDescriptorsMethod = MetricServiceGrpc.getListMetricDescriptorsMethod) == null) { + MetricServiceGrpc.getListMetricDescriptorsMethod = getListMetricDescriptorsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListMetricDescriptors")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.ListMetricDescriptorsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.ListMetricDescriptorsResponse.getDefaultInstance())) + .setSchemaDescriptor(new MetricServiceMethodDescriptorSupplier("ListMetricDescriptors")) + .build(); + } + } + } + return getListMetricDescriptorsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetMetricDescriptorMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetMetricDescriptor", + requestType = com.google.monitoring.v3.GetMetricDescriptorRequest.class, + responseType = com.google.api.MetricDescriptor.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetMetricDescriptorMethod() { + io.grpc.MethodDescriptor getGetMetricDescriptorMethod; + if ((getGetMetricDescriptorMethod = MetricServiceGrpc.getGetMetricDescriptorMethod) == null) { + synchronized (MetricServiceGrpc.class) { + if ((getGetMetricDescriptorMethod = MetricServiceGrpc.getGetMetricDescriptorMethod) == null) { + MetricServiceGrpc.getGetMetricDescriptorMethod = getGetMetricDescriptorMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetMetricDescriptor")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.GetMetricDescriptorRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.api.MetricDescriptor.getDefaultInstance())) + .setSchemaDescriptor(new MetricServiceMethodDescriptorSupplier("GetMetricDescriptor")) + .build(); + } + } + } + return getGetMetricDescriptorMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateMetricDescriptorMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateMetricDescriptor", + requestType = com.google.monitoring.v3.CreateMetricDescriptorRequest.class, + responseType = com.google.api.MetricDescriptor.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateMetricDescriptorMethod() { + io.grpc.MethodDescriptor getCreateMetricDescriptorMethod; + if ((getCreateMetricDescriptorMethod = MetricServiceGrpc.getCreateMetricDescriptorMethod) == null) { + synchronized (MetricServiceGrpc.class) { + if ((getCreateMetricDescriptorMethod = MetricServiceGrpc.getCreateMetricDescriptorMethod) == null) { + MetricServiceGrpc.getCreateMetricDescriptorMethod = getCreateMetricDescriptorMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateMetricDescriptor")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.CreateMetricDescriptorRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.api.MetricDescriptor.getDefaultInstance())) + .setSchemaDescriptor(new MetricServiceMethodDescriptorSupplier("CreateMetricDescriptor")) + .build(); + } + } + } + return getCreateMetricDescriptorMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteMetricDescriptorMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteMetricDescriptor", + requestType = com.google.monitoring.v3.DeleteMetricDescriptorRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteMetricDescriptorMethod() { + io.grpc.MethodDescriptor getDeleteMetricDescriptorMethod; + if ((getDeleteMetricDescriptorMethod = MetricServiceGrpc.getDeleteMetricDescriptorMethod) == null) { + synchronized (MetricServiceGrpc.class) { + if ((getDeleteMetricDescriptorMethod = MetricServiceGrpc.getDeleteMetricDescriptorMethod) == null) { + MetricServiceGrpc.getDeleteMetricDescriptorMethod = getDeleteMetricDescriptorMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteMetricDescriptor")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.DeleteMetricDescriptorRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new MetricServiceMethodDescriptorSupplier("DeleteMetricDescriptor")) + .build(); + } + } + } + return getDeleteMetricDescriptorMethod; + } + + private static volatile io.grpc.MethodDescriptor getListTimeSeriesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTimeSeries", + requestType = com.google.monitoring.v3.ListTimeSeriesRequest.class, + responseType = com.google.monitoring.v3.ListTimeSeriesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListTimeSeriesMethod() { + io.grpc.MethodDescriptor getListTimeSeriesMethod; + if ((getListTimeSeriesMethod = MetricServiceGrpc.getListTimeSeriesMethod) == null) { + synchronized (MetricServiceGrpc.class) { + if ((getListTimeSeriesMethod = MetricServiceGrpc.getListTimeSeriesMethod) == null) { + MetricServiceGrpc.getListTimeSeriesMethod = getListTimeSeriesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTimeSeries")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.ListTimeSeriesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.ListTimeSeriesResponse.getDefaultInstance())) + .setSchemaDescriptor(new MetricServiceMethodDescriptorSupplier("ListTimeSeries")) + .build(); + } + } + } + return getListTimeSeriesMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateTimeSeriesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTimeSeries", + requestType = com.google.monitoring.v3.CreateTimeSeriesRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateTimeSeriesMethod() { + io.grpc.MethodDescriptor getCreateTimeSeriesMethod; + if ((getCreateTimeSeriesMethod = MetricServiceGrpc.getCreateTimeSeriesMethod) == null) { + synchronized (MetricServiceGrpc.class) { + if ((getCreateTimeSeriesMethod = MetricServiceGrpc.getCreateTimeSeriesMethod) == null) { + MetricServiceGrpc.getCreateTimeSeriesMethod = getCreateTimeSeriesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTimeSeries")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.CreateTimeSeriesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new MetricServiceMethodDescriptorSupplier("CreateTimeSeries")) + .build(); + } + } + } + return getCreateTimeSeriesMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateServiceTimeSeriesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateServiceTimeSeries", + requestType = com.google.monitoring.v3.CreateTimeSeriesRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateServiceTimeSeriesMethod() { + io.grpc.MethodDescriptor getCreateServiceTimeSeriesMethod; + if ((getCreateServiceTimeSeriesMethod = MetricServiceGrpc.getCreateServiceTimeSeriesMethod) == null) { + synchronized (MetricServiceGrpc.class) { + if ((getCreateServiceTimeSeriesMethod = MetricServiceGrpc.getCreateServiceTimeSeriesMethod) == null) { + MetricServiceGrpc.getCreateServiceTimeSeriesMethod = getCreateServiceTimeSeriesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateServiceTimeSeries")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.CreateTimeSeriesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new MetricServiceMethodDescriptorSupplier("CreateServiceTimeSeries")) + .build(); + } + } + } + return getCreateServiceTimeSeriesMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static MetricServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public MetricServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MetricServiceStub(channel, callOptions); + } + }; + return MetricServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static MetricServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public MetricServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MetricServiceBlockingStub(channel, callOptions); + } + }; + return MetricServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static MetricServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public MetricServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MetricServiceFutureStub(channel, callOptions); + } + }; + return MetricServiceFutureStub.newStub(factory, channel); + } + + /** + *
+   * Manages metric descriptors, monitored resource descriptors, and
+   * time series data.
+   * 
+ */ + public static abstract class MetricServiceImplBase implements io.grpc.BindableService { + + /** + *
+     * Lists monitored resource descriptors that match a filter. This method does not require a Workspace.
+     * 
+ */ + public void listMonitoredResourceDescriptors(com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListMonitoredResourceDescriptorsMethod(), responseObserver); + } + + /** + *
+     * Gets a single monitored resource descriptor. This method does not require a Workspace.
+     * 
+ */ + public void getMonitoredResourceDescriptor(com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMonitoredResourceDescriptorMethod(), responseObserver); + } + + /** + *
+     * Lists metric descriptors that match a filter. This method does not require a Workspace.
+     * 
+ */ + public void listMetricDescriptors(com.google.monitoring.v3.ListMetricDescriptorsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListMetricDescriptorsMethod(), responseObserver); + } + + /** + *
+     * Gets a single metric descriptor. This method does not require a Workspace.
+     * 
+ */ + public void getMetricDescriptor(com.google.monitoring.v3.GetMetricDescriptorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMetricDescriptorMethod(), responseObserver); + } + + /** + *
+     * Creates a new metric descriptor.
+     * The creation is executed asynchronously and callers may check the returned
+     * operation to track its progress.
+     * User-created metric descriptors define
+     * [custom metrics](https://cloud.google.com/monitoring/custom-metrics).
+     * 
+ */ + public void createMetricDescriptor(com.google.monitoring.v3.CreateMetricDescriptorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateMetricDescriptorMethod(), responseObserver); + } + + /** + *
+     * Deletes a metric descriptor. Only user-created
+     * [custom metrics](https://cloud.google.com/monitoring/custom-metrics) can be
+     * deleted.
+     * 
+ */ + public void deleteMetricDescriptor(com.google.monitoring.v3.DeleteMetricDescriptorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteMetricDescriptorMethod(), responseObserver); + } + + /** + *
+     * Lists time series that match a filter. This method does not require a Workspace.
+     * 
+ */ + public void listTimeSeries(com.google.monitoring.v3.ListTimeSeriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTimeSeriesMethod(), responseObserver); + } + + /** + *
+     * Creates or adds data to one or more time series.
+     * The response is empty if all time series in the request were written.
+     * If any time series could not be written, a corresponding failure message is
+     * included in the error response.
+     * 
+ */ + public void createTimeSeries(com.google.monitoring.v3.CreateTimeSeriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTimeSeriesMethod(), responseObserver); + } + + /** + *
+     * Creates or adds data to one or more service time series. A service time
+     * series is a time series for a metric from a Google Cloud service. The
+     * response is empty if all time series in the request were written. If any
+     * time series could not be written, a corresponding failure message is
+     * included in the error response. This endpoint rejects writes to
+     * user-defined metrics.
+     * This method is only for use by Google Cloud services. Use
+     * [projects.timeSeries.create][google.monitoring.v3.MetricService.CreateTimeSeries]
+     * instead.
+     * 
+ */ + public void createServiceTimeSeries(com.google.monitoring.v3.CreateTimeSeriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateServiceTimeSeriesMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListMonitoredResourceDescriptorsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest, + com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse>( + this, METHODID_LIST_MONITORED_RESOURCE_DESCRIPTORS))) + .addMethod( + getGetMonitoredResourceDescriptorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest, + com.google.api.MonitoredResourceDescriptor>( + this, METHODID_GET_MONITORED_RESOURCE_DESCRIPTOR))) + .addMethod( + getListMetricDescriptorsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.ListMetricDescriptorsRequest, + com.google.monitoring.v3.ListMetricDescriptorsResponse>( + this, METHODID_LIST_METRIC_DESCRIPTORS))) + .addMethod( + getGetMetricDescriptorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.GetMetricDescriptorRequest, + com.google.api.MetricDescriptor>( + this, METHODID_GET_METRIC_DESCRIPTOR))) + .addMethod( + getCreateMetricDescriptorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.CreateMetricDescriptorRequest, + com.google.api.MetricDescriptor>( + this, METHODID_CREATE_METRIC_DESCRIPTOR))) + .addMethod( + getDeleteMetricDescriptorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.DeleteMetricDescriptorRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_METRIC_DESCRIPTOR))) + .addMethod( + getListTimeSeriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.ListTimeSeriesRequest, + com.google.monitoring.v3.ListTimeSeriesResponse>( + this, METHODID_LIST_TIME_SERIES))) + .addMethod( + getCreateTimeSeriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.CreateTimeSeriesRequest, + com.google.protobuf.Empty>( + this, METHODID_CREATE_TIME_SERIES))) + .addMethod( + getCreateServiceTimeSeriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.CreateTimeSeriesRequest, + com.google.protobuf.Empty>( + this, METHODID_CREATE_SERVICE_TIME_SERIES))) + .build(); + } + } + + /** + *
+   * Manages metric descriptors, monitored resource descriptors, and
+   * time series data.
+   * 
+ */ + public static final class MetricServiceStub extends io.grpc.stub.AbstractAsyncStub { + private MetricServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected MetricServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MetricServiceStub(channel, callOptions); + } + + /** + *
+     * Lists monitored resource descriptors that match a filter. This method does not require a Workspace.
+     * 
+ */ + public void listMonitoredResourceDescriptors(com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListMonitoredResourceDescriptorsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a single monitored resource descriptor. This method does not require a Workspace.
+     * 
+ */ + public void getMonitoredResourceDescriptor(com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetMonitoredResourceDescriptorMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists metric descriptors that match a filter. This method does not require a Workspace.
+     * 
+ */ + public void listMetricDescriptors(com.google.monitoring.v3.ListMetricDescriptorsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListMetricDescriptorsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a single metric descriptor. This method does not require a Workspace.
+     * 
+ */ + public void getMetricDescriptor(com.google.monitoring.v3.GetMetricDescriptorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetMetricDescriptorMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new metric descriptor.
+     * The creation is executed asynchronously and callers may check the returned
+     * operation to track its progress.
+     * User-created metric descriptors define
+     * [custom metrics](https://cloud.google.com/monitoring/custom-metrics).
+     * 
+ */ + public void createMetricDescriptor(com.google.monitoring.v3.CreateMetricDescriptorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateMetricDescriptorMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a metric descriptor. Only user-created
+     * [custom metrics](https://cloud.google.com/monitoring/custom-metrics) can be
+     * deleted.
+     * 
+ */ + public void deleteMetricDescriptor(com.google.monitoring.v3.DeleteMetricDescriptorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteMetricDescriptorMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists time series that match a filter. This method does not require a Workspace.
+     * 
+ */ + public void listTimeSeries(com.google.monitoring.v3.ListTimeSeriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTimeSeriesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates or adds data to one or more time series.
+     * The response is empty if all time series in the request were written.
+     * If any time series could not be written, a corresponding failure message is
+     * included in the error response.
+     * 
+ */ + public void createTimeSeries(com.google.monitoring.v3.CreateTimeSeriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTimeSeriesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates or adds data to one or more service time series. A service time
+     * series is a time series for a metric from a Google Cloud service. The
+     * response is empty if all time series in the request were written. If any
+     * time series could not be written, a corresponding failure message is
+     * included in the error response. This endpoint rejects writes to
+     * user-defined metrics.
+     * This method is only for use by Google Cloud services. Use
+     * [projects.timeSeries.create][google.monitoring.v3.MetricService.CreateTimeSeries]
+     * instead.
+     * 
+ */ + public void createServiceTimeSeries(com.google.monitoring.v3.CreateTimeSeriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateServiceTimeSeriesMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * Manages metric descriptors, monitored resource descriptors, and
+   * time series data.
+   * 
+ */ + public static final class MetricServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private MetricServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected MetricServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MetricServiceBlockingStub(channel, callOptions); + } + + /** + *
+     * Lists monitored resource descriptors that match a filter. This method does not require a Workspace.
+     * 
+ */ + public com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse listMonitoredResourceDescriptors(com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListMonitoredResourceDescriptorsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a single monitored resource descriptor. This method does not require a Workspace.
+     * 
+ */ + public com.google.api.MonitoredResourceDescriptor getMonitoredResourceDescriptor(com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetMonitoredResourceDescriptorMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists metric descriptors that match a filter. This method does not require a Workspace.
+     * 
+ */ + public com.google.monitoring.v3.ListMetricDescriptorsResponse listMetricDescriptors(com.google.monitoring.v3.ListMetricDescriptorsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListMetricDescriptorsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a single metric descriptor. This method does not require a Workspace.
+     * 
+ */ + public com.google.api.MetricDescriptor getMetricDescriptor(com.google.monitoring.v3.GetMetricDescriptorRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetMetricDescriptorMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new metric descriptor.
+     * The creation is executed asynchronously and callers may check the returned
+     * operation to track its progress.
+     * User-created metric descriptors define
+     * [custom metrics](https://cloud.google.com/monitoring/custom-metrics).
+     * 
+ */ + public com.google.api.MetricDescriptor createMetricDescriptor(com.google.monitoring.v3.CreateMetricDescriptorRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateMetricDescriptorMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a metric descriptor. Only user-created
+     * [custom metrics](https://cloud.google.com/monitoring/custom-metrics) can be
+     * deleted.
+     * 
+ */ + public com.google.protobuf.Empty deleteMetricDescriptor(com.google.monitoring.v3.DeleteMetricDescriptorRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteMetricDescriptorMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists time series that match a filter. This method does not require a Workspace.
+     * 
+ */ + public com.google.monitoring.v3.ListTimeSeriesResponse listTimeSeries(com.google.monitoring.v3.ListTimeSeriesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTimeSeriesMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates or adds data to one or more time series.
+     * The response is empty if all time series in the request were written.
+     * If any time series could not be written, a corresponding failure message is
+     * included in the error response.
+     * 
+ */ + public com.google.protobuf.Empty createTimeSeries(com.google.monitoring.v3.CreateTimeSeriesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTimeSeriesMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates or adds data to one or more service time series. A service time
+     * series is a time series for a metric from a Google Cloud service. The
+     * response is empty if all time series in the request were written. If any
+     * time series could not be written, a corresponding failure message is
+     * included in the error response. This endpoint rejects writes to
+     * user-defined metrics.
+     * This method is only for use by Google Cloud services. Use
+     * [projects.timeSeries.create][google.monitoring.v3.MetricService.CreateTimeSeries]
+     * instead.
+     * 
+ */ + public com.google.protobuf.Empty createServiceTimeSeries(com.google.monitoring.v3.CreateTimeSeriesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateServiceTimeSeriesMethod(), getCallOptions(), request); + } + } + + /** + *
+   * Manages metric descriptors, monitored resource descriptors, and
+   * time series data.
+   * 
+ */ + public static final class MetricServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private MetricServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected MetricServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MetricServiceFutureStub(channel, callOptions); + } + + /** + *
+     * Lists monitored resource descriptors that match a filter. This method does not require a Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listMonitoredResourceDescriptors( + com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListMonitoredResourceDescriptorsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a single monitored resource descriptor. This method does not require a Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getMonitoredResourceDescriptor( + com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetMonitoredResourceDescriptorMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists metric descriptors that match a filter. This method does not require a Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listMetricDescriptors( + com.google.monitoring.v3.ListMetricDescriptorsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListMetricDescriptorsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a single metric descriptor. This method does not require a Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getMetricDescriptor( + com.google.monitoring.v3.GetMetricDescriptorRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetMetricDescriptorMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new metric descriptor.
+     * The creation is executed asynchronously and callers may check the returned
+     * operation to track its progress.
+     * User-created metric descriptors define
+     * [custom metrics](https://cloud.google.com/monitoring/custom-metrics).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createMetricDescriptor( + com.google.monitoring.v3.CreateMetricDescriptorRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateMetricDescriptorMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a metric descriptor. Only user-created
+     * [custom metrics](https://cloud.google.com/monitoring/custom-metrics) can be
+     * deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteMetricDescriptor( + com.google.monitoring.v3.DeleteMetricDescriptorRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteMetricDescriptorMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists time series that match a filter. This method does not require a Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listTimeSeries( + com.google.monitoring.v3.ListTimeSeriesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTimeSeriesMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates or adds data to one or more time series.
+     * The response is empty if all time series in the request were written.
+     * If any time series could not be written, a corresponding failure message is
+     * included in the error response.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createTimeSeries( + com.google.monitoring.v3.CreateTimeSeriesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTimeSeriesMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates or adds data to one or more service time series. A service time
+     * series is a time series for a metric from a Google Cloud service. The
+     * response is empty if all time series in the request were written. If any
+     * time series could not be written, a corresponding failure message is
+     * included in the error response. This endpoint rejects writes to
+     * user-defined metrics.
+     * This method is only for use by Google Cloud services. Use
+     * [projects.timeSeries.create][google.monitoring.v3.MetricService.CreateTimeSeries]
+     * instead.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createServiceTimeSeries( + com.google.monitoring.v3.CreateTimeSeriesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateServiceTimeSeriesMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_MONITORED_RESOURCE_DESCRIPTORS = 0; + private static final int METHODID_GET_MONITORED_RESOURCE_DESCRIPTOR = 1; + private static final int METHODID_LIST_METRIC_DESCRIPTORS = 2; + private static final int METHODID_GET_METRIC_DESCRIPTOR = 3; + private static final int METHODID_CREATE_METRIC_DESCRIPTOR = 4; + private static final int METHODID_DELETE_METRIC_DESCRIPTOR = 5; + private static final int METHODID_LIST_TIME_SERIES = 6; + private static final int METHODID_CREATE_TIME_SERIES = 7; + private static final int METHODID_CREATE_SERVICE_TIME_SERIES = 8; + + 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 MetricServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(MetricServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_LIST_MONITORED_RESOURCE_DESCRIPTORS: + serviceImpl.listMonitoredResourceDescriptors((com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_MONITORED_RESOURCE_DESCRIPTOR: + serviceImpl.getMonitoredResourceDescriptor((com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_METRIC_DESCRIPTORS: + serviceImpl.listMetricDescriptors((com.google.monitoring.v3.ListMetricDescriptorsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_METRIC_DESCRIPTOR: + serviceImpl.getMetricDescriptor((com.google.monitoring.v3.GetMetricDescriptorRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_METRIC_DESCRIPTOR: + serviceImpl.createMetricDescriptor((com.google.monitoring.v3.CreateMetricDescriptorRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_METRIC_DESCRIPTOR: + serviceImpl.deleteMetricDescriptor((com.google.monitoring.v3.DeleteMetricDescriptorRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_TIME_SERIES: + serviceImpl.listTimeSeries((com.google.monitoring.v3.ListTimeSeriesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_TIME_SERIES: + serviceImpl.createTimeSeries((com.google.monitoring.v3.CreateTimeSeriesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_SERVICE_TIME_SERIES: + serviceImpl.createServiceTimeSeries((com.google.monitoring.v3.CreateTimeSeriesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class MetricServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + MetricServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.monitoring.v3.MetricServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("MetricService"); + } + } + + private static final class MetricServiceFileDescriptorSupplier + extends MetricServiceBaseDescriptorSupplier { + MetricServiceFileDescriptorSupplier() {} + } + + private static final class MetricServiceMethodDescriptorSupplier + extends MetricServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + MetricServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (MetricServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new MetricServiceFileDescriptorSupplier()) + .addMethod(getListMonitoredResourceDescriptorsMethod()) + .addMethod(getGetMonitoredResourceDescriptorMethod()) + .addMethod(getListMetricDescriptorsMethod()) + .addMethod(getGetMetricDescriptorMethod()) + .addMethod(getCreateMetricDescriptorMethod()) + .addMethod(getDeleteMetricDescriptorMethod()) + .addMethod(getListTimeSeriesMethod()) + .addMethod(getCreateTimeSeriesMethod()) + .addMethod(getCreateServiceTimeSeriesMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelServiceGrpc.java b/owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelServiceGrpc.java new file mode 100644 index 00000000..6ab23c7c --- /dev/null +++ b/owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelServiceGrpc.java @@ -0,0 +1,1202 @@ +package com.google.monitoring.v3; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * The Notification Channel API provides access to configuration that
+ * controls how messages related to incidents are sent.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/monitoring/v3/notification_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class NotificationChannelServiceGrpc { + + private NotificationChannelServiceGrpc() {} + + public static final String SERVICE_NAME = "google.monitoring.v3.NotificationChannelService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getListNotificationChannelDescriptorsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListNotificationChannelDescriptors", + requestType = com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest.class, + responseType = com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListNotificationChannelDescriptorsMethod() { + io.grpc.MethodDescriptor getListNotificationChannelDescriptorsMethod; + if ((getListNotificationChannelDescriptorsMethod = NotificationChannelServiceGrpc.getListNotificationChannelDescriptorsMethod) == null) { + synchronized (NotificationChannelServiceGrpc.class) { + if ((getListNotificationChannelDescriptorsMethod = NotificationChannelServiceGrpc.getListNotificationChannelDescriptorsMethod) == null) { + NotificationChannelServiceGrpc.getListNotificationChannelDescriptorsMethod = getListNotificationChannelDescriptorsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListNotificationChannelDescriptors")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse.getDefaultInstance())) + .setSchemaDescriptor(new NotificationChannelServiceMethodDescriptorSupplier("ListNotificationChannelDescriptors")) + .build(); + } + } + } + return getListNotificationChannelDescriptorsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetNotificationChannelDescriptorMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetNotificationChannelDescriptor", + requestType = com.google.monitoring.v3.GetNotificationChannelDescriptorRequest.class, + responseType = com.google.monitoring.v3.NotificationChannelDescriptor.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetNotificationChannelDescriptorMethod() { + io.grpc.MethodDescriptor getGetNotificationChannelDescriptorMethod; + if ((getGetNotificationChannelDescriptorMethod = NotificationChannelServiceGrpc.getGetNotificationChannelDescriptorMethod) == null) { + synchronized (NotificationChannelServiceGrpc.class) { + if ((getGetNotificationChannelDescriptorMethod = NotificationChannelServiceGrpc.getGetNotificationChannelDescriptorMethod) == null) { + NotificationChannelServiceGrpc.getGetNotificationChannelDescriptorMethod = getGetNotificationChannelDescriptorMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetNotificationChannelDescriptor")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.GetNotificationChannelDescriptorRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.NotificationChannelDescriptor.getDefaultInstance())) + .setSchemaDescriptor(new NotificationChannelServiceMethodDescriptorSupplier("GetNotificationChannelDescriptor")) + .build(); + } + } + } + return getGetNotificationChannelDescriptorMethod; + } + + private static volatile io.grpc.MethodDescriptor getListNotificationChannelsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListNotificationChannels", + requestType = com.google.monitoring.v3.ListNotificationChannelsRequest.class, + responseType = com.google.monitoring.v3.ListNotificationChannelsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListNotificationChannelsMethod() { + io.grpc.MethodDescriptor getListNotificationChannelsMethod; + if ((getListNotificationChannelsMethod = NotificationChannelServiceGrpc.getListNotificationChannelsMethod) == null) { + synchronized (NotificationChannelServiceGrpc.class) { + if ((getListNotificationChannelsMethod = NotificationChannelServiceGrpc.getListNotificationChannelsMethod) == null) { + NotificationChannelServiceGrpc.getListNotificationChannelsMethod = getListNotificationChannelsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListNotificationChannels")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.ListNotificationChannelsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.ListNotificationChannelsResponse.getDefaultInstance())) + .setSchemaDescriptor(new NotificationChannelServiceMethodDescriptorSupplier("ListNotificationChannels")) + .build(); + } + } + } + return getListNotificationChannelsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetNotificationChannelMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetNotificationChannel", + requestType = com.google.monitoring.v3.GetNotificationChannelRequest.class, + responseType = com.google.monitoring.v3.NotificationChannel.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetNotificationChannelMethod() { + io.grpc.MethodDescriptor getGetNotificationChannelMethod; + if ((getGetNotificationChannelMethod = NotificationChannelServiceGrpc.getGetNotificationChannelMethod) == null) { + synchronized (NotificationChannelServiceGrpc.class) { + if ((getGetNotificationChannelMethod = NotificationChannelServiceGrpc.getGetNotificationChannelMethod) == null) { + NotificationChannelServiceGrpc.getGetNotificationChannelMethod = getGetNotificationChannelMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetNotificationChannel")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.GetNotificationChannelRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.NotificationChannel.getDefaultInstance())) + .setSchemaDescriptor(new NotificationChannelServiceMethodDescriptorSupplier("GetNotificationChannel")) + .build(); + } + } + } + return getGetNotificationChannelMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateNotificationChannelMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateNotificationChannel", + requestType = com.google.monitoring.v3.CreateNotificationChannelRequest.class, + responseType = com.google.monitoring.v3.NotificationChannel.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateNotificationChannelMethod() { + io.grpc.MethodDescriptor getCreateNotificationChannelMethod; + if ((getCreateNotificationChannelMethod = NotificationChannelServiceGrpc.getCreateNotificationChannelMethod) == null) { + synchronized (NotificationChannelServiceGrpc.class) { + if ((getCreateNotificationChannelMethod = NotificationChannelServiceGrpc.getCreateNotificationChannelMethod) == null) { + NotificationChannelServiceGrpc.getCreateNotificationChannelMethod = getCreateNotificationChannelMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateNotificationChannel")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.CreateNotificationChannelRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.NotificationChannel.getDefaultInstance())) + .setSchemaDescriptor(new NotificationChannelServiceMethodDescriptorSupplier("CreateNotificationChannel")) + .build(); + } + } + } + return getCreateNotificationChannelMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateNotificationChannelMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateNotificationChannel", + requestType = com.google.monitoring.v3.UpdateNotificationChannelRequest.class, + responseType = com.google.monitoring.v3.NotificationChannel.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateNotificationChannelMethod() { + io.grpc.MethodDescriptor getUpdateNotificationChannelMethod; + if ((getUpdateNotificationChannelMethod = NotificationChannelServiceGrpc.getUpdateNotificationChannelMethod) == null) { + synchronized (NotificationChannelServiceGrpc.class) { + if ((getUpdateNotificationChannelMethod = NotificationChannelServiceGrpc.getUpdateNotificationChannelMethod) == null) { + NotificationChannelServiceGrpc.getUpdateNotificationChannelMethod = getUpdateNotificationChannelMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateNotificationChannel")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.UpdateNotificationChannelRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.NotificationChannel.getDefaultInstance())) + .setSchemaDescriptor(new NotificationChannelServiceMethodDescriptorSupplier("UpdateNotificationChannel")) + .build(); + } + } + } + return getUpdateNotificationChannelMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteNotificationChannelMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteNotificationChannel", + requestType = com.google.monitoring.v3.DeleteNotificationChannelRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteNotificationChannelMethod() { + io.grpc.MethodDescriptor getDeleteNotificationChannelMethod; + if ((getDeleteNotificationChannelMethod = NotificationChannelServiceGrpc.getDeleteNotificationChannelMethod) == null) { + synchronized (NotificationChannelServiceGrpc.class) { + if ((getDeleteNotificationChannelMethod = NotificationChannelServiceGrpc.getDeleteNotificationChannelMethod) == null) { + NotificationChannelServiceGrpc.getDeleteNotificationChannelMethod = getDeleteNotificationChannelMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteNotificationChannel")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.DeleteNotificationChannelRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new NotificationChannelServiceMethodDescriptorSupplier("DeleteNotificationChannel")) + .build(); + } + } + } + return getDeleteNotificationChannelMethod; + } + + private static volatile io.grpc.MethodDescriptor getSendNotificationChannelVerificationCodeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SendNotificationChannelVerificationCode", + requestType = com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSendNotificationChannelVerificationCodeMethod() { + io.grpc.MethodDescriptor getSendNotificationChannelVerificationCodeMethod; + if ((getSendNotificationChannelVerificationCodeMethod = NotificationChannelServiceGrpc.getSendNotificationChannelVerificationCodeMethod) == null) { + synchronized (NotificationChannelServiceGrpc.class) { + if ((getSendNotificationChannelVerificationCodeMethod = NotificationChannelServiceGrpc.getSendNotificationChannelVerificationCodeMethod) == null) { + NotificationChannelServiceGrpc.getSendNotificationChannelVerificationCodeMethod = getSendNotificationChannelVerificationCodeMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SendNotificationChannelVerificationCode")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new NotificationChannelServiceMethodDescriptorSupplier("SendNotificationChannelVerificationCode")) + .build(); + } + } + } + return getSendNotificationChannelVerificationCodeMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetNotificationChannelVerificationCodeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetNotificationChannelVerificationCode", + requestType = com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest.class, + responseType = com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetNotificationChannelVerificationCodeMethod() { + io.grpc.MethodDescriptor getGetNotificationChannelVerificationCodeMethod; + if ((getGetNotificationChannelVerificationCodeMethod = NotificationChannelServiceGrpc.getGetNotificationChannelVerificationCodeMethod) == null) { + synchronized (NotificationChannelServiceGrpc.class) { + if ((getGetNotificationChannelVerificationCodeMethod = NotificationChannelServiceGrpc.getGetNotificationChannelVerificationCodeMethod) == null) { + NotificationChannelServiceGrpc.getGetNotificationChannelVerificationCodeMethod = getGetNotificationChannelVerificationCodeMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetNotificationChannelVerificationCode")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse.getDefaultInstance())) + .setSchemaDescriptor(new NotificationChannelServiceMethodDescriptorSupplier("GetNotificationChannelVerificationCode")) + .build(); + } + } + } + return getGetNotificationChannelVerificationCodeMethod; + } + + private static volatile io.grpc.MethodDescriptor getVerifyNotificationChannelMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "VerifyNotificationChannel", + requestType = com.google.monitoring.v3.VerifyNotificationChannelRequest.class, + responseType = com.google.monitoring.v3.NotificationChannel.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getVerifyNotificationChannelMethod() { + io.grpc.MethodDescriptor getVerifyNotificationChannelMethod; + if ((getVerifyNotificationChannelMethod = NotificationChannelServiceGrpc.getVerifyNotificationChannelMethod) == null) { + synchronized (NotificationChannelServiceGrpc.class) { + if ((getVerifyNotificationChannelMethod = NotificationChannelServiceGrpc.getVerifyNotificationChannelMethod) == null) { + NotificationChannelServiceGrpc.getVerifyNotificationChannelMethod = getVerifyNotificationChannelMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "VerifyNotificationChannel")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.VerifyNotificationChannelRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.NotificationChannel.getDefaultInstance())) + .setSchemaDescriptor(new NotificationChannelServiceMethodDescriptorSupplier("VerifyNotificationChannel")) + .build(); + } + } + } + return getVerifyNotificationChannelMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static NotificationChannelServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public NotificationChannelServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new NotificationChannelServiceStub(channel, callOptions); + } + }; + return NotificationChannelServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static NotificationChannelServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public NotificationChannelServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new NotificationChannelServiceBlockingStub(channel, callOptions); + } + }; + return NotificationChannelServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static NotificationChannelServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public NotificationChannelServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new NotificationChannelServiceFutureStub(channel, callOptions); + } + }; + return NotificationChannelServiceFutureStub.newStub(factory, channel); + } + + /** + *
+   * The Notification Channel API provides access to configuration that
+   * controls how messages related to incidents are sent.
+   * 
+ */ + public static abstract class NotificationChannelServiceImplBase implements io.grpc.BindableService { + + /** + *
+     * Lists the descriptors for supported channel types. The use of descriptors
+     * makes it possible for new channel types to be dynamically added.
+     * 
+ */ + public void listNotificationChannelDescriptors(com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListNotificationChannelDescriptorsMethod(), responseObserver); + } + + /** + *
+     * Gets a single channel descriptor. The descriptor indicates which fields
+     * are expected / permitted for a notification channel of the given type.
+     * 
+ */ + public void getNotificationChannelDescriptor(com.google.monitoring.v3.GetNotificationChannelDescriptorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetNotificationChannelDescriptorMethod(), responseObserver); + } + + /** + *
+     * Lists the notification channels that have been created for the project.
+     * 
+ */ + public void listNotificationChannels(com.google.monitoring.v3.ListNotificationChannelsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListNotificationChannelsMethod(), responseObserver); + } + + /** + *
+     * Gets a single notification channel. The channel includes the relevant
+     * configuration details with which the channel was created. However, the
+     * response may truncate or omit passwords, API keys, or other private key
+     * matter and thus the response may not be 100% identical to the information
+     * that was supplied in the call to the create method.
+     * 
+ */ + public void getNotificationChannel(com.google.monitoring.v3.GetNotificationChannelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetNotificationChannelMethod(), responseObserver); + } + + /** + *
+     * Creates a new notification channel, representing a single notification
+     * endpoint such as an email address, SMS number, or PagerDuty service.
+     * 
+ */ + public void createNotificationChannel(com.google.monitoring.v3.CreateNotificationChannelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateNotificationChannelMethod(), responseObserver); + } + + /** + *
+     * Updates a notification channel. Fields not specified in the field mask
+     * remain unchanged.
+     * 
+ */ + public void updateNotificationChannel(com.google.monitoring.v3.UpdateNotificationChannelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateNotificationChannelMethod(), responseObserver); + } + + /** + *
+     * Deletes a notification channel.
+     * 
+ */ + public void deleteNotificationChannel(com.google.monitoring.v3.DeleteNotificationChannelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteNotificationChannelMethod(), responseObserver); + } + + /** + *
+     * Causes a verification code to be delivered to the channel. The code
+     * can then be supplied in `VerifyNotificationChannel` to verify the channel.
+     * 
+ */ + public void sendNotificationChannelVerificationCode(com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSendNotificationChannelVerificationCodeMethod(), responseObserver); + } + + /** + *
+     * Requests a verification code for an already verified channel that can then
+     * be used in a call to VerifyNotificationChannel() on a different channel
+     * with an equivalent identity in the same or in a different project. This
+     * makes it possible to copy a channel between projects without requiring
+     * manual reverification of the channel. If the channel is not in the
+     * verified state, this method will fail (in other words, this may only be
+     * used if the SendNotificationChannelVerificationCode and
+     * VerifyNotificationChannel paths have already been used to put the given
+     * channel into the verified state).
+     * There is no guarantee that the verification codes returned by this method
+     * will be of a similar structure or form as the ones that are delivered
+     * to the channel via SendNotificationChannelVerificationCode; while
+     * VerifyNotificationChannel() will recognize both the codes delivered via
+     * SendNotificationChannelVerificationCode() and returned from
+     * GetNotificationChannelVerificationCode(), it is typically the case that
+     * the verification codes delivered via
+     * SendNotificationChannelVerificationCode() will be shorter and also
+     * have a shorter expiration (e.g. codes such as "G-123456") whereas
+     * GetVerificationCode() will typically return a much longer, websafe base
+     * 64 encoded string that has a longer expiration time.
+     * 
+ */ + public void getNotificationChannelVerificationCode(com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetNotificationChannelVerificationCodeMethod(), responseObserver); + } + + /** + *
+     * Verifies a `NotificationChannel` by proving receipt of the code
+     * delivered to the channel as a result of calling
+     * `SendNotificationChannelVerificationCode`.
+     * 
+ */ + public void verifyNotificationChannel(com.google.monitoring.v3.VerifyNotificationChannelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getVerifyNotificationChannelMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListNotificationChannelDescriptorsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest, + com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse>( + this, METHODID_LIST_NOTIFICATION_CHANNEL_DESCRIPTORS))) + .addMethod( + getGetNotificationChannelDescriptorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.GetNotificationChannelDescriptorRequest, + com.google.monitoring.v3.NotificationChannelDescriptor>( + this, METHODID_GET_NOTIFICATION_CHANNEL_DESCRIPTOR))) + .addMethod( + getListNotificationChannelsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.ListNotificationChannelsRequest, + com.google.monitoring.v3.ListNotificationChannelsResponse>( + this, METHODID_LIST_NOTIFICATION_CHANNELS))) + .addMethod( + getGetNotificationChannelMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.GetNotificationChannelRequest, + com.google.monitoring.v3.NotificationChannel>( + this, METHODID_GET_NOTIFICATION_CHANNEL))) + .addMethod( + getCreateNotificationChannelMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.CreateNotificationChannelRequest, + com.google.monitoring.v3.NotificationChannel>( + this, METHODID_CREATE_NOTIFICATION_CHANNEL))) + .addMethod( + getUpdateNotificationChannelMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.UpdateNotificationChannelRequest, + com.google.monitoring.v3.NotificationChannel>( + this, METHODID_UPDATE_NOTIFICATION_CHANNEL))) + .addMethod( + getDeleteNotificationChannelMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.DeleteNotificationChannelRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_NOTIFICATION_CHANNEL))) + .addMethod( + getSendNotificationChannelVerificationCodeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest, + com.google.protobuf.Empty>( + this, METHODID_SEND_NOTIFICATION_CHANNEL_VERIFICATION_CODE))) + .addMethod( + getGetNotificationChannelVerificationCodeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest, + com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse>( + this, METHODID_GET_NOTIFICATION_CHANNEL_VERIFICATION_CODE))) + .addMethod( + getVerifyNotificationChannelMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.VerifyNotificationChannelRequest, + com.google.monitoring.v3.NotificationChannel>( + this, METHODID_VERIFY_NOTIFICATION_CHANNEL))) + .build(); + } + } + + /** + *
+   * The Notification Channel API provides access to configuration that
+   * controls how messages related to incidents are sent.
+   * 
+ */ + public static final class NotificationChannelServiceStub extends io.grpc.stub.AbstractAsyncStub { + private NotificationChannelServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected NotificationChannelServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new NotificationChannelServiceStub(channel, callOptions); + } + + /** + *
+     * Lists the descriptors for supported channel types. The use of descriptors
+     * makes it possible for new channel types to be dynamically added.
+     * 
+ */ + public void listNotificationChannelDescriptors(com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListNotificationChannelDescriptorsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a single channel descriptor. The descriptor indicates which fields
+     * are expected / permitted for a notification channel of the given type.
+     * 
+ */ + public void getNotificationChannelDescriptor(com.google.monitoring.v3.GetNotificationChannelDescriptorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetNotificationChannelDescriptorMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists the notification channels that have been created for the project.
+     * 
+ */ + public void listNotificationChannels(com.google.monitoring.v3.ListNotificationChannelsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListNotificationChannelsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a single notification channel. The channel includes the relevant
+     * configuration details with which the channel was created. However, the
+     * response may truncate or omit passwords, API keys, or other private key
+     * matter and thus the response may not be 100% identical to the information
+     * that was supplied in the call to the create method.
+     * 
+ */ + public void getNotificationChannel(com.google.monitoring.v3.GetNotificationChannelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetNotificationChannelMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new notification channel, representing a single notification
+     * endpoint such as an email address, SMS number, or PagerDuty service.
+     * 
+ */ + public void createNotificationChannel(com.google.monitoring.v3.CreateNotificationChannelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateNotificationChannelMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a notification channel. Fields not specified in the field mask
+     * remain unchanged.
+     * 
+ */ + public void updateNotificationChannel(com.google.monitoring.v3.UpdateNotificationChannelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateNotificationChannelMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a notification channel.
+     * 
+ */ + public void deleteNotificationChannel(com.google.monitoring.v3.DeleteNotificationChannelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteNotificationChannelMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Causes a verification code to be delivered to the channel. The code
+     * can then be supplied in `VerifyNotificationChannel` to verify the channel.
+     * 
+ */ + public void sendNotificationChannelVerificationCode(com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSendNotificationChannelVerificationCodeMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Requests a verification code for an already verified channel that can then
+     * be used in a call to VerifyNotificationChannel() on a different channel
+     * with an equivalent identity in the same or in a different project. This
+     * makes it possible to copy a channel between projects without requiring
+     * manual reverification of the channel. If the channel is not in the
+     * verified state, this method will fail (in other words, this may only be
+     * used if the SendNotificationChannelVerificationCode and
+     * VerifyNotificationChannel paths have already been used to put the given
+     * channel into the verified state).
+     * There is no guarantee that the verification codes returned by this method
+     * will be of a similar structure or form as the ones that are delivered
+     * to the channel via SendNotificationChannelVerificationCode; while
+     * VerifyNotificationChannel() will recognize both the codes delivered via
+     * SendNotificationChannelVerificationCode() and returned from
+     * GetNotificationChannelVerificationCode(), it is typically the case that
+     * the verification codes delivered via
+     * SendNotificationChannelVerificationCode() will be shorter and also
+     * have a shorter expiration (e.g. codes such as "G-123456") whereas
+     * GetVerificationCode() will typically return a much longer, websafe base
+     * 64 encoded string that has a longer expiration time.
+     * 
+ */ + public void getNotificationChannelVerificationCode(com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetNotificationChannelVerificationCodeMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Verifies a `NotificationChannel` by proving receipt of the code
+     * delivered to the channel as a result of calling
+     * `SendNotificationChannelVerificationCode`.
+     * 
+ */ + public void verifyNotificationChannel(com.google.monitoring.v3.VerifyNotificationChannelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getVerifyNotificationChannelMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * The Notification Channel API provides access to configuration that
+   * controls how messages related to incidents are sent.
+   * 
+ */ + public static final class NotificationChannelServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private NotificationChannelServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected NotificationChannelServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new NotificationChannelServiceBlockingStub(channel, callOptions); + } + + /** + *
+     * Lists the descriptors for supported channel types. The use of descriptors
+     * makes it possible for new channel types to be dynamically added.
+     * 
+ */ + public com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse listNotificationChannelDescriptors(com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListNotificationChannelDescriptorsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a single channel descriptor. The descriptor indicates which fields
+     * are expected / permitted for a notification channel of the given type.
+     * 
+ */ + public com.google.monitoring.v3.NotificationChannelDescriptor getNotificationChannelDescriptor(com.google.monitoring.v3.GetNotificationChannelDescriptorRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetNotificationChannelDescriptorMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists the notification channels that have been created for the project.
+     * 
+ */ + public com.google.monitoring.v3.ListNotificationChannelsResponse listNotificationChannels(com.google.monitoring.v3.ListNotificationChannelsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListNotificationChannelsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a single notification channel. The channel includes the relevant
+     * configuration details with which the channel was created. However, the
+     * response may truncate or omit passwords, API keys, or other private key
+     * matter and thus the response may not be 100% identical to the information
+     * that was supplied in the call to the create method.
+     * 
+ */ + public com.google.monitoring.v3.NotificationChannel getNotificationChannel(com.google.monitoring.v3.GetNotificationChannelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetNotificationChannelMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new notification channel, representing a single notification
+     * endpoint such as an email address, SMS number, or PagerDuty service.
+     * 
+ */ + public com.google.monitoring.v3.NotificationChannel createNotificationChannel(com.google.monitoring.v3.CreateNotificationChannelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateNotificationChannelMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a notification channel. Fields not specified in the field mask
+     * remain unchanged.
+     * 
+ */ + public com.google.monitoring.v3.NotificationChannel updateNotificationChannel(com.google.monitoring.v3.UpdateNotificationChannelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateNotificationChannelMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a notification channel.
+     * 
+ */ + public com.google.protobuf.Empty deleteNotificationChannel(com.google.monitoring.v3.DeleteNotificationChannelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteNotificationChannelMethod(), getCallOptions(), request); + } + + /** + *
+     * Causes a verification code to be delivered to the channel. The code
+     * can then be supplied in `VerifyNotificationChannel` to verify the channel.
+     * 
+ */ + public com.google.protobuf.Empty sendNotificationChannelVerificationCode(com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSendNotificationChannelVerificationCodeMethod(), getCallOptions(), request); + } + + /** + *
+     * Requests a verification code for an already verified channel that can then
+     * be used in a call to VerifyNotificationChannel() on a different channel
+     * with an equivalent identity in the same or in a different project. This
+     * makes it possible to copy a channel between projects without requiring
+     * manual reverification of the channel. If the channel is not in the
+     * verified state, this method will fail (in other words, this may only be
+     * used if the SendNotificationChannelVerificationCode and
+     * VerifyNotificationChannel paths have already been used to put the given
+     * channel into the verified state).
+     * There is no guarantee that the verification codes returned by this method
+     * will be of a similar structure or form as the ones that are delivered
+     * to the channel via SendNotificationChannelVerificationCode; while
+     * VerifyNotificationChannel() will recognize both the codes delivered via
+     * SendNotificationChannelVerificationCode() and returned from
+     * GetNotificationChannelVerificationCode(), it is typically the case that
+     * the verification codes delivered via
+     * SendNotificationChannelVerificationCode() will be shorter and also
+     * have a shorter expiration (e.g. codes such as "G-123456") whereas
+     * GetVerificationCode() will typically return a much longer, websafe base
+     * 64 encoded string that has a longer expiration time.
+     * 
+ */ + public com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse getNotificationChannelVerificationCode(com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetNotificationChannelVerificationCodeMethod(), getCallOptions(), request); + } + + /** + *
+     * Verifies a `NotificationChannel` by proving receipt of the code
+     * delivered to the channel as a result of calling
+     * `SendNotificationChannelVerificationCode`.
+     * 
+ */ + public com.google.monitoring.v3.NotificationChannel verifyNotificationChannel(com.google.monitoring.v3.VerifyNotificationChannelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getVerifyNotificationChannelMethod(), getCallOptions(), request); + } + } + + /** + *
+   * The Notification Channel API provides access to configuration that
+   * controls how messages related to incidents are sent.
+   * 
+ */ + public static final class NotificationChannelServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private NotificationChannelServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected NotificationChannelServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new NotificationChannelServiceFutureStub(channel, callOptions); + } + + /** + *
+     * Lists the descriptors for supported channel types. The use of descriptors
+     * makes it possible for new channel types to be dynamically added.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listNotificationChannelDescriptors( + com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListNotificationChannelDescriptorsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a single channel descriptor. The descriptor indicates which fields
+     * are expected / permitted for a notification channel of the given type.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getNotificationChannelDescriptor( + com.google.monitoring.v3.GetNotificationChannelDescriptorRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetNotificationChannelDescriptorMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists the notification channels that have been created for the project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listNotificationChannels( + com.google.monitoring.v3.ListNotificationChannelsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListNotificationChannelsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a single notification channel. The channel includes the relevant
+     * configuration details with which the channel was created. However, the
+     * response may truncate or omit passwords, API keys, or other private key
+     * matter and thus the response may not be 100% identical to the information
+     * that was supplied in the call to the create method.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getNotificationChannel( + com.google.monitoring.v3.GetNotificationChannelRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetNotificationChannelMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new notification channel, representing a single notification
+     * endpoint such as an email address, SMS number, or PagerDuty service.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createNotificationChannel( + com.google.monitoring.v3.CreateNotificationChannelRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateNotificationChannelMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a notification channel. Fields not specified in the field mask
+     * remain unchanged.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateNotificationChannel( + com.google.monitoring.v3.UpdateNotificationChannelRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateNotificationChannelMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a notification channel.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteNotificationChannel( + com.google.monitoring.v3.DeleteNotificationChannelRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteNotificationChannelMethod(), getCallOptions()), request); + } + + /** + *
+     * Causes a verification code to be delivered to the channel. The code
+     * can then be supplied in `VerifyNotificationChannel` to verify the channel.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture sendNotificationChannelVerificationCode( + com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSendNotificationChannelVerificationCodeMethod(), getCallOptions()), request); + } + + /** + *
+     * Requests a verification code for an already verified channel that can then
+     * be used in a call to VerifyNotificationChannel() on a different channel
+     * with an equivalent identity in the same or in a different project. This
+     * makes it possible to copy a channel between projects without requiring
+     * manual reverification of the channel. If the channel is not in the
+     * verified state, this method will fail (in other words, this may only be
+     * used if the SendNotificationChannelVerificationCode and
+     * VerifyNotificationChannel paths have already been used to put the given
+     * channel into the verified state).
+     * There is no guarantee that the verification codes returned by this method
+     * will be of a similar structure or form as the ones that are delivered
+     * to the channel via SendNotificationChannelVerificationCode; while
+     * VerifyNotificationChannel() will recognize both the codes delivered via
+     * SendNotificationChannelVerificationCode() and returned from
+     * GetNotificationChannelVerificationCode(), it is typically the case that
+     * the verification codes delivered via
+     * SendNotificationChannelVerificationCode() will be shorter and also
+     * have a shorter expiration (e.g. codes such as "G-123456") whereas
+     * GetVerificationCode() will typically return a much longer, websafe base
+     * 64 encoded string that has a longer expiration time.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getNotificationChannelVerificationCode( + com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetNotificationChannelVerificationCodeMethod(), getCallOptions()), request); + } + + /** + *
+     * Verifies a `NotificationChannel` by proving receipt of the code
+     * delivered to the channel as a result of calling
+     * `SendNotificationChannelVerificationCode`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture verifyNotificationChannel( + com.google.monitoring.v3.VerifyNotificationChannelRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getVerifyNotificationChannelMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_NOTIFICATION_CHANNEL_DESCRIPTORS = 0; + private static final int METHODID_GET_NOTIFICATION_CHANNEL_DESCRIPTOR = 1; + private static final int METHODID_LIST_NOTIFICATION_CHANNELS = 2; + private static final int METHODID_GET_NOTIFICATION_CHANNEL = 3; + private static final int METHODID_CREATE_NOTIFICATION_CHANNEL = 4; + private static final int METHODID_UPDATE_NOTIFICATION_CHANNEL = 5; + private static final int METHODID_DELETE_NOTIFICATION_CHANNEL = 6; + private static final int METHODID_SEND_NOTIFICATION_CHANNEL_VERIFICATION_CODE = 7; + private static final int METHODID_GET_NOTIFICATION_CHANNEL_VERIFICATION_CODE = 8; + private static final int METHODID_VERIFY_NOTIFICATION_CHANNEL = 9; + + 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 NotificationChannelServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(NotificationChannelServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_LIST_NOTIFICATION_CHANNEL_DESCRIPTORS: + serviceImpl.listNotificationChannelDescriptors((com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_NOTIFICATION_CHANNEL_DESCRIPTOR: + serviceImpl.getNotificationChannelDescriptor((com.google.monitoring.v3.GetNotificationChannelDescriptorRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_NOTIFICATION_CHANNELS: + serviceImpl.listNotificationChannels((com.google.monitoring.v3.ListNotificationChannelsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_NOTIFICATION_CHANNEL: + serviceImpl.getNotificationChannel((com.google.monitoring.v3.GetNotificationChannelRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_NOTIFICATION_CHANNEL: + serviceImpl.createNotificationChannel((com.google.monitoring.v3.CreateNotificationChannelRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_NOTIFICATION_CHANNEL: + serviceImpl.updateNotificationChannel((com.google.monitoring.v3.UpdateNotificationChannelRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_NOTIFICATION_CHANNEL: + serviceImpl.deleteNotificationChannel((com.google.monitoring.v3.DeleteNotificationChannelRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SEND_NOTIFICATION_CHANNEL_VERIFICATION_CODE: + serviceImpl.sendNotificationChannelVerificationCode((com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_NOTIFICATION_CHANNEL_VERIFICATION_CODE: + serviceImpl.getNotificationChannelVerificationCode((com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_VERIFY_NOTIFICATION_CHANNEL: + serviceImpl.verifyNotificationChannel((com.google.monitoring.v3.VerifyNotificationChannelRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class NotificationChannelServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + NotificationChannelServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("NotificationChannelService"); + } + } + + private static final class NotificationChannelServiceFileDescriptorSupplier + extends NotificationChannelServiceBaseDescriptorSupplier { + NotificationChannelServiceFileDescriptorSupplier() {} + } + + private static final class NotificationChannelServiceMethodDescriptorSupplier + extends NotificationChannelServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + NotificationChannelServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (NotificationChannelServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new NotificationChannelServiceFileDescriptorSupplier()) + .addMethod(getListNotificationChannelDescriptorsMethod()) + .addMethod(getGetNotificationChannelDescriptorMethod()) + .addMethod(getListNotificationChannelsMethod()) + .addMethod(getGetNotificationChannelMethod()) + .addMethod(getCreateNotificationChannelMethod()) + .addMethod(getUpdateNotificationChannelMethod()) + .addMethod(getDeleteNotificationChannelMethod()) + .addMethod(getSendNotificationChannelVerificationCodeMethod()) + .addMethod(getGetNotificationChannelVerificationCodeMethod()) + .addMethod(getVerifyNotificationChannelMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryServiceGrpc.java b/owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryServiceGrpc.java similarity index 52% rename from grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryServiceGrpc.java rename to owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryServiceGrpc.java index 4b6e6d4c..8607db61 100644 --- a/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryServiceGrpc.java +++ b/owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryServiceGrpc.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.monitoring.v3; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *
  * The QueryService API is used to manage time series data in Stackdriver
  * Monitoring. Time series data is a collection of data points that describes
@@ -37,183 +20,154 @@ private QueryServiceGrpc() {}
   public static final String SERVICE_NAME = "google.monitoring.v3.QueryService";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.monitoring.v3.QueryTimeSeriesRequest,
-          com.google.monitoring.v3.QueryTimeSeriesResponse>
-      getQueryTimeSeriesMethod;
+  private static volatile io.grpc.MethodDescriptor getQueryTimeSeriesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "QueryTimeSeries",
       requestType = com.google.monitoring.v3.QueryTimeSeriesRequest.class,
       responseType = com.google.monitoring.v3.QueryTimeSeriesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.monitoring.v3.QueryTimeSeriesRequest,
-          com.google.monitoring.v3.QueryTimeSeriesResponse>
-      getQueryTimeSeriesMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.monitoring.v3.QueryTimeSeriesRequest,
-            com.google.monitoring.v3.QueryTimeSeriesResponse>
-        getQueryTimeSeriesMethod;
+  public static io.grpc.MethodDescriptor getQueryTimeSeriesMethod() {
+    io.grpc.MethodDescriptor getQueryTimeSeriesMethod;
     if ((getQueryTimeSeriesMethod = QueryServiceGrpc.getQueryTimeSeriesMethod) == null) {
       synchronized (QueryServiceGrpc.class) {
         if ((getQueryTimeSeriesMethod = QueryServiceGrpc.getQueryTimeSeriesMethod) == null) {
-          QueryServiceGrpc.getQueryTimeSeriesMethod =
-              getQueryTimeSeriesMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "QueryTimeSeries"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.monitoring.v3.QueryTimeSeriesRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.monitoring.v3.QueryTimeSeriesResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new QueryServiceMethodDescriptorSupplier("QueryTimeSeries"))
-                      .build();
+          QueryServiceGrpc.getQueryTimeSeriesMethod = getQueryTimeSeriesMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "QueryTimeSeries"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.monitoring.v3.QueryTimeSeriesRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.monitoring.v3.QueryTimeSeriesResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new QueryServiceMethodDescriptorSupplier("QueryTimeSeries"))
+              .build();
         }
       }
     }
     return getQueryTimeSeriesMethod;
   }
 
-  /** 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 QueryServiceStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public QueryServiceStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new QueryServiceStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public QueryServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new QueryServiceStub(channel, callOptions);
+        }
+      };
     return QueryServiceStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static QueryServiceBlockingStub newBlockingStub(io.grpc.Channel channel) {
+  public static QueryServiceBlockingStub newBlockingStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public QueryServiceBlockingStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new QueryServiceBlockingStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public QueryServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new QueryServiceBlockingStub(channel, callOptions);
+        }
+      };
     return QueryServiceBlockingStub.newStub(factory, channel);
   }
 
-  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
-  public static QueryServiceFutureStub newFutureStub(io.grpc.Channel channel) {
+  /**
+   * Creates a new ListenableFuture-style stub that supports unary calls on the service
+   */
+  public static QueryServiceFutureStub newFutureStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public QueryServiceFutureStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new QueryServiceFutureStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public QueryServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new QueryServiceFutureStub(channel, callOptions);
+        }
+      };
     return QueryServiceFutureStub.newStub(factory, channel);
   }
 
   /**
-   *
-   *
    * 
    * The QueryService API is used to manage time series data in Stackdriver
    * Monitoring. Time series data is a collection of data points that describes
    * the time-varying values of a metric.
    * 
*/ - public abstract static class QueryServiceImplBase implements io.grpc.BindableService { + public static abstract class QueryServiceImplBase implements io.grpc.BindableService { /** - * - * *
      * Queries time series using Monitoring Query Language. This method does not require a Workspace.
      * 
*/ - public void queryTimeSeries( - com.google.monitoring.v3.QueryTimeSeriesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getQueryTimeSeriesMethod(), responseObserver); + public void queryTimeSeries(com.google.monitoring.v3.QueryTimeSeriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getQueryTimeSeriesMethod(), 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( - getQueryTimeSeriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.QueryTimeSeriesRequest, - com.google.monitoring.v3.QueryTimeSeriesResponse>( - this, METHODID_QUERY_TIME_SERIES))) + getQueryTimeSeriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.QueryTimeSeriesRequest, + com.google.monitoring.v3.QueryTimeSeriesResponse>( + this, METHODID_QUERY_TIME_SERIES))) .build(); } } /** - * - * *
    * The QueryService API is used to manage time series data in Stackdriver
    * Monitoring. Time series data is a collection of data points that describes
    * the time-varying values of a metric.
    * 
*/ - public static final class QueryServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private QueryServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class QueryServiceStub extends io.grpc.stub.AbstractAsyncStub { + private QueryServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected QueryServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected QueryServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new QueryServiceStub(channel, callOptions); } /** - * - * *
      * Queries time series using Monitoring Query Language. This method does not require a Workspace.
      * 
*/ - public void queryTimeSeries( - com.google.monitoring.v3.QueryTimeSeriesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void queryTimeSeries(com.google.monitoring.v3.QueryTimeSeriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getQueryTimeSeriesMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getQueryTimeSeriesMethod(), getCallOptions()), request, responseObserver); } } /** - * - * *
    * The QueryService API is used to manage time series data in Stackdriver
    * Monitoring. Time series data is a collection of data points that describes
    * the time-varying values of a metric.
    * 
*/ - public static final class QueryServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private QueryServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class QueryServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private QueryServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -224,31 +178,26 @@ protected QueryServiceBlockingStub build( } /** - * - * *
      * Queries time series using Monitoring Query Language. This method does not require a Workspace.
      * 
*/ - public com.google.monitoring.v3.QueryTimeSeriesResponse queryTimeSeries( - com.google.monitoring.v3.QueryTimeSeriesRequest request) { + public com.google.monitoring.v3.QueryTimeSeriesResponse queryTimeSeries(com.google.monitoring.v3.QueryTimeSeriesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getQueryTimeSeriesMethod(), getCallOptions(), request); } } /** - * - * *
    * The QueryService API is used to manage time series data in Stackdriver
    * Monitoring. Time series data is a collection of data points that describes
    * the time-varying values of a metric.
    * 
*/ - public static final class QueryServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private QueryServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class QueryServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private QueryServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -259,15 +208,12 @@ protected QueryServiceFutureStub build( } /** - * - * *
      * Queries time series using Monitoring Query Language. This method does not require a Workspace.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.monitoring.v3.QueryTimeSeriesResponse> - queryTimeSeries(com.google.monitoring.v3.QueryTimeSeriesRequest request) { + public com.google.common.util.concurrent.ListenableFuture queryTimeSeries( + com.google.monitoring.v3.QueryTimeSeriesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getQueryTimeSeriesMethod(), getCallOptions()), request); } @@ -275,11 +221,11 @@ protected QueryServiceFutureStub build( private static final int METHODID_QUERY_TIME_SERIES = 0; - 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 QueryServiceImplBase serviceImpl; private final int methodId; @@ -293,10 +239,8 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_QUERY_TIME_SERIES: - serviceImpl.queryTimeSeries( - (com.google.monitoring.v3.QueryTimeSeriesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.queryTimeSeries((com.google.monitoring.v3.QueryTimeSeriesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); @@ -314,9 +258,8 @@ public io.grpc.stub.StreamObserver invoke( } } - private abstract static class QueryServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class QueryServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { QueryServiceBaseDescriptorSupplier() {} @java.lang.Override @@ -358,12 +301,10 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (QueryServiceGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new QueryServiceFileDescriptorSupplier()) - .addMethod(getQueryTimeSeriesMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new QueryServiceFileDescriptorSupplier()) + .addMethod(getQueryTimeSeriesMethod()) + .build(); } } } diff --git a/owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringServiceGrpc.java b/owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringServiceGrpc.java new file mode 100644 index 00000000..0cf7a532 --- /dev/null +++ b/owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringServiceGrpc.java @@ -0,0 +1,1092 @@ +package com.google.monitoring.v3; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * The Cloud Monitoring Service-Oriented Monitoring API has endpoints for
+ * managing and querying aspects of a workspace's services. These include the
+ * `Service`'s monitored resources, its Service-Level Objectives, and a taxonomy
+ * of categorized Health Metrics.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/monitoring/v3/service_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class ServiceMonitoringServiceGrpc { + + private ServiceMonitoringServiceGrpc() {} + + public static final String SERVICE_NAME = "google.monitoring.v3.ServiceMonitoringService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getCreateServiceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateService", + requestType = com.google.monitoring.v3.CreateServiceRequest.class, + responseType = com.google.monitoring.v3.Service.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateServiceMethod() { + io.grpc.MethodDescriptor getCreateServiceMethod; + if ((getCreateServiceMethod = ServiceMonitoringServiceGrpc.getCreateServiceMethod) == null) { + synchronized (ServiceMonitoringServiceGrpc.class) { + if ((getCreateServiceMethod = ServiceMonitoringServiceGrpc.getCreateServiceMethod) == null) { + ServiceMonitoringServiceGrpc.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.monitoring.v3.CreateServiceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.Service.getDefaultInstance())) + .setSchemaDescriptor(new ServiceMonitoringServiceMethodDescriptorSupplier("CreateService")) + .build(); + } + } + } + return getCreateServiceMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetServiceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetService", + requestType = com.google.monitoring.v3.GetServiceRequest.class, + responseType = com.google.monitoring.v3.Service.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetServiceMethod() { + io.grpc.MethodDescriptor getGetServiceMethod; + if ((getGetServiceMethod = ServiceMonitoringServiceGrpc.getGetServiceMethod) == null) { + synchronized (ServiceMonitoringServiceGrpc.class) { + if ((getGetServiceMethod = ServiceMonitoringServiceGrpc.getGetServiceMethod) == null) { + ServiceMonitoringServiceGrpc.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.monitoring.v3.GetServiceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.Service.getDefaultInstance())) + .setSchemaDescriptor(new ServiceMonitoringServiceMethodDescriptorSupplier("GetService")) + .build(); + } + } + } + return getGetServiceMethod; + } + + private static volatile io.grpc.MethodDescriptor getListServicesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListServices", + requestType = com.google.monitoring.v3.ListServicesRequest.class, + responseType = com.google.monitoring.v3.ListServicesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListServicesMethod() { + io.grpc.MethodDescriptor getListServicesMethod; + if ((getListServicesMethod = ServiceMonitoringServiceGrpc.getListServicesMethod) == null) { + synchronized (ServiceMonitoringServiceGrpc.class) { + if ((getListServicesMethod = ServiceMonitoringServiceGrpc.getListServicesMethod) == null) { + ServiceMonitoringServiceGrpc.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.monitoring.v3.ListServicesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.ListServicesResponse.getDefaultInstance())) + .setSchemaDescriptor(new ServiceMonitoringServiceMethodDescriptorSupplier("ListServices")) + .build(); + } + } + } + return getListServicesMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateServiceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateService", + requestType = com.google.monitoring.v3.UpdateServiceRequest.class, + responseType = com.google.monitoring.v3.Service.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateServiceMethod() { + io.grpc.MethodDescriptor getUpdateServiceMethod; + if ((getUpdateServiceMethod = ServiceMonitoringServiceGrpc.getUpdateServiceMethod) == null) { + synchronized (ServiceMonitoringServiceGrpc.class) { + if ((getUpdateServiceMethod = ServiceMonitoringServiceGrpc.getUpdateServiceMethod) == null) { + ServiceMonitoringServiceGrpc.getUpdateServiceMethod = getUpdateServiceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateService")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.UpdateServiceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.Service.getDefaultInstance())) + .setSchemaDescriptor(new ServiceMonitoringServiceMethodDescriptorSupplier("UpdateService")) + .build(); + } + } + } + return getUpdateServiceMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteServiceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteService", + requestType = com.google.monitoring.v3.DeleteServiceRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteServiceMethod() { + io.grpc.MethodDescriptor getDeleteServiceMethod; + if ((getDeleteServiceMethod = ServiceMonitoringServiceGrpc.getDeleteServiceMethod) == null) { + synchronized (ServiceMonitoringServiceGrpc.class) { + if ((getDeleteServiceMethod = ServiceMonitoringServiceGrpc.getDeleteServiceMethod) == null) { + ServiceMonitoringServiceGrpc.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.monitoring.v3.DeleteServiceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new ServiceMonitoringServiceMethodDescriptorSupplier("DeleteService")) + .build(); + } + } + } + return getDeleteServiceMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateServiceLevelObjectiveMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateServiceLevelObjective", + requestType = com.google.monitoring.v3.CreateServiceLevelObjectiveRequest.class, + responseType = com.google.monitoring.v3.ServiceLevelObjective.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateServiceLevelObjectiveMethod() { + io.grpc.MethodDescriptor getCreateServiceLevelObjectiveMethod; + if ((getCreateServiceLevelObjectiveMethod = ServiceMonitoringServiceGrpc.getCreateServiceLevelObjectiveMethod) == null) { + synchronized (ServiceMonitoringServiceGrpc.class) { + if ((getCreateServiceLevelObjectiveMethod = ServiceMonitoringServiceGrpc.getCreateServiceLevelObjectiveMethod) == null) { + ServiceMonitoringServiceGrpc.getCreateServiceLevelObjectiveMethod = getCreateServiceLevelObjectiveMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateServiceLevelObjective")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.CreateServiceLevelObjectiveRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance())) + .setSchemaDescriptor(new ServiceMonitoringServiceMethodDescriptorSupplier("CreateServiceLevelObjective")) + .build(); + } + } + } + return getCreateServiceLevelObjectiveMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetServiceLevelObjectiveMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetServiceLevelObjective", + requestType = com.google.monitoring.v3.GetServiceLevelObjectiveRequest.class, + responseType = com.google.monitoring.v3.ServiceLevelObjective.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetServiceLevelObjectiveMethod() { + io.grpc.MethodDescriptor getGetServiceLevelObjectiveMethod; + if ((getGetServiceLevelObjectiveMethod = ServiceMonitoringServiceGrpc.getGetServiceLevelObjectiveMethod) == null) { + synchronized (ServiceMonitoringServiceGrpc.class) { + if ((getGetServiceLevelObjectiveMethod = ServiceMonitoringServiceGrpc.getGetServiceLevelObjectiveMethod) == null) { + ServiceMonitoringServiceGrpc.getGetServiceLevelObjectiveMethod = getGetServiceLevelObjectiveMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetServiceLevelObjective")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.GetServiceLevelObjectiveRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance())) + .setSchemaDescriptor(new ServiceMonitoringServiceMethodDescriptorSupplier("GetServiceLevelObjective")) + .build(); + } + } + } + return getGetServiceLevelObjectiveMethod; + } + + private static volatile io.grpc.MethodDescriptor getListServiceLevelObjectivesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListServiceLevelObjectives", + requestType = com.google.monitoring.v3.ListServiceLevelObjectivesRequest.class, + responseType = com.google.monitoring.v3.ListServiceLevelObjectivesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListServiceLevelObjectivesMethod() { + io.grpc.MethodDescriptor getListServiceLevelObjectivesMethod; + if ((getListServiceLevelObjectivesMethod = ServiceMonitoringServiceGrpc.getListServiceLevelObjectivesMethod) == null) { + synchronized (ServiceMonitoringServiceGrpc.class) { + if ((getListServiceLevelObjectivesMethod = ServiceMonitoringServiceGrpc.getListServiceLevelObjectivesMethod) == null) { + ServiceMonitoringServiceGrpc.getListServiceLevelObjectivesMethod = getListServiceLevelObjectivesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListServiceLevelObjectives")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.ListServiceLevelObjectivesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.ListServiceLevelObjectivesResponse.getDefaultInstance())) + .setSchemaDescriptor(new ServiceMonitoringServiceMethodDescriptorSupplier("ListServiceLevelObjectives")) + .build(); + } + } + } + return getListServiceLevelObjectivesMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateServiceLevelObjectiveMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateServiceLevelObjective", + requestType = com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest.class, + responseType = com.google.monitoring.v3.ServiceLevelObjective.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateServiceLevelObjectiveMethod() { + io.grpc.MethodDescriptor getUpdateServiceLevelObjectiveMethod; + if ((getUpdateServiceLevelObjectiveMethod = ServiceMonitoringServiceGrpc.getUpdateServiceLevelObjectiveMethod) == null) { + synchronized (ServiceMonitoringServiceGrpc.class) { + if ((getUpdateServiceLevelObjectiveMethod = ServiceMonitoringServiceGrpc.getUpdateServiceLevelObjectiveMethod) == null) { + ServiceMonitoringServiceGrpc.getUpdateServiceLevelObjectiveMethod = getUpdateServiceLevelObjectiveMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateServiceLevelObjective")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance())) + .setSchemaDescriptor(new ServiceMonitoringServiceMethodDescriptorSupplier("UpdateServiceLevelObjective")) + .build(); + } + } + } + return getUpdateServiceLevelObjectiveMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteServiceLevelObjectiveMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteServiceLevelObjective", + requestType = com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteServiceLevelObjectiveMethod() { + io.grpc.MethodDescriptor getDeleteServiceLevelObjectiveMethod; + if ((getDeleteServiceLevelObjectiveMethod = ServiceMonitoringServiceGrpc.getDeleteServiceLevelObjectiveMethod) == null) { + synchronized (ServiceMonitoringServiceGrpc.class) { + if ((getDeleteServiceLevelObjectiveMethod = ServiceMonitoringServiceGrpc.getDeleteServiceLevelObjectiveMethod) == null) { + ServiceMonitoringServiceGrpc.getDeleteServiceLevelObjectiveMethod = getDeleteServiceLevelObjectiveMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteServiceLevelObjective")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new ServiceMonitoringServiceMethodDescriptorSupplier("DeleteServiceLevelObjective")) + .build(); + } + } + } + return getDeleteServiceLevelObjectiveMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static ServiceMonitoringServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ServiceMonitoringServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ServiceMonitoringServiceStub(channel, callOptions); + } + }; + return ServiceMonitoringServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static ServiceMonitoringServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ServiceMonitoringServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ServiceMonitoringServiceBlockingStub(channel, callOptions); + } + }; + return ServiceMonitoringServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static ServiceMonitoringServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ServiceMonitoringServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ServiceMonitoringServiceFutureStub(channel, callOptions); + } + }; + return ServiceMonitoringServiceFutureStub.newStub(factory, channel); + } + + /** + *
+   * The Cloud Monitoring Service-Oriented Monitoring API has endpoints for
+   * managing and querying aspects of a workspace's services. These include the
+   * `Service`'s monitored resources, its Service-Level Objectives, and a taxonomy
+   * of categorized Health Metrics.
+   * 
+ */ + public static abstract class ServiceMonitoringServiceImplBase implements io.grpc.BindableService { + + /** + *
+     * Create a `Service`.
+     * 
+ */ + public void createService(com.google.monitoring.v3.CreateServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateServiceMethod(), responseObserver); + } + + /** + *
+     * Get the named `Service`.
+     * 
+ */ + public void getService(com.google.monitoring.v3.GetServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetServiceMethod(), responseObserver); + } + + /** + *
+     * List `Service`s for this workspace.
+     * 
+ */ + public void listServices(com.google.monitoring.v3.ListServicesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListServicesMethod(), responseObserver); + } + + /** + *
+     * Update this `Service`.
+     * 
+ */ + public void updateService(com.google.monitoring.v3.UpdateServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateServiceMethod(), responseObserver); + } + + /** + *
+     * Soft delete this `Service`.
+     * 
+ */ + public void deleteService(com.google.monitoring.v3.DeleteServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteServiceMethod(), responseObserver); + } + + /** + *
+     * Create a `ServiceLevelObjective` for the given `Service`.
+     * 
+ */ + public void createServiceLevelObjective(com.google.monitoring.v3.CreateServiceLevelObjectiveRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateServiceLevelObjectiveMethod(), responseObserver); + } + + /** + *
+     * Get a `ServiceLevelObjective` by name.
+     * 
+ */ + public void getServiceLevelObjective(com.google.monitoring.v3.GetServiceLevelObjectiveRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetServiceLevelObjectiveMethod(), responseObserver); + } + + /** + *
+     * List the `ServiceLevelObjective`s for the given `Service`.
+     * 
+ */ + public void listServiceLevelObjectives(com.google.monitoring.v3.ListServiceLevelObjectivesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListServiceLevelObjectivesMethod(), responseObserver); + } + + /** + *
+     * Update the given `ServiceLevelObjective`.
+     * 
+ */ + public void updateServiceLevelObjective(com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateServiceLevelObjectiveMethod(), responseObserver); + } + + /** + *
+     * Delete the given `ServiceLevelObjective`.
+     * 
+ */ + public void deleteServiceLevelObjective(com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteServiceLevelObjectiveMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateServiceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.CreateServiceRequest, + com.google.monitoring.v3.Service>( + this, METHODID_CREATE_SERVICE))) + .addMethod( + getGetServiceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.GetServiceRequest, + com.google.monitoring.v3.Service>( + this, METHODID_GET_SERVICE))) + .addMethod( + getListServicesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.ListServicesRequest, + com.google.monitoring.v3.ListServicesResponse>( + this, METHODID_LIST_SERVICES))) + .addMethod( + getUpdateServiceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.UpdateServiceRequest, + com.google.monitoring.v3.Service>( + this, METHODID_UPDATE_SERVICE))) + .addMethod( + getDeleteServiceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.DeleteServiceRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_SERVICE))) + .addMethod( + getCreateServiceLevelObjectiveMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.CreateServiceLevelObjectiveRequest, + com.google.monitoring.v3.ServiceLevelObjective>( + this, METHODID_CREATE_SERVICE_LEVEL_OBJECTIVE))) + .addMethod( + getGetServiceLevelObjectiveMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.GetServiceLevelObjectiveRequest, + com.google.monitoring.v3.ServiceLevelObjective>( + this, METHODID_GET_SERVICE_LEVEL_OBJECTIVE))) + .addMethod( + getListServiceLevelObjectivesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.ListServiceLevelObjectivesRequest, + com.google.monitoring.v3.ListServiceLevelObjectivesResponse>( + this, METHODID_LIST_SERVICE_LEVEL_OBJECTIVES))) + .addMethod( + getUpdateServiceLevelObjectiveMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest, + com.google.monitoring.v3.ServiceLevelObjective>( + this, METHODID_UPDATE_SERVICE_LEVEL_OBJECTIVE))) + .addMethod( + getDeleteServiceLevelObjectiveMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_SERVICE_LEVEL_OBJECTIVE))) + .build(); + } + } + + /** + *
+   * The Cloud Monitoring Service-Oriented Monitoring API has endpoints for
+   * managing and querying aspects of a workspace's services. These include the
+   * `Service`'s monitored resources, its Service-Level Objectives, and a taxonomy
+   * of categorized Health Metrics.
+   * 
+ */ + public static final class ServiceMonitoringServiceStub extends io.grpc.stub.AbstractAsyncStub { + private ServiceMonitoringServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ServiceMonitoringServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ServiceMonitoringServiceStub(channel, callOptions); + } + + /** + *
+     * Create a `Service`.
+     * 
+ */ + public void createService(com.google.monitoring.v3.CreateServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateServiceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Get the named `Service`.
+     * 
+ */ + public void getService(com.google.monitoring.v3.GetServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetServiceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * List `Service`s for this workspace.
+     * 
+ */ + public void listServices(com.google.monitoring.v3.ListServicesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListServicesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Update this `Service`.
+     * 
+ */ + public void updateService(com.google.monitoring.v3.UpdateServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateServiceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Soft delete this `Service`.
+     * 
+ */ + public void deleteService(com.google.monitoring.v3.DeleteServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteServiceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Create a `ServiceLevelObjective` for the given `Service`.
+     * 
+ */ + public void createServiceLevelObjective(com.google.monitoring.v3.CreateServiceLevelObjectiveRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateServiceLevelObjectiveMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Get a `ServiceLevelObjective` by name.
+     * 
+ */ + public void getServiceLevelObjective(com.google.monitoring.v3.GetServiceLevelObjectiveRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetServiceLevelObjectiveMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * List the `ServiceLevelObjective`s for the given `Service`.
+     * 
+ */ + public void listServiceLevelObjectives(com.google.monitoring.v3.ListServiceLevelObjectivesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListServiceLevelObjectivesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Update the given `ServiceLevelObjective`.
+     * 
+ */ + public void updateServiceLevelObjective(com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateServiceLevelObjectiveMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Delete the given `ServiceLevelObjective`.
+     * 
+ */ + public void deleteServiceLevelObjective(com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteServiceLevelObjectiveMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * The Cloud Monitoring Service-Oriented Monitoring API has endpoints for
+   * managing and querying aspects of a workspace's services. These include the
+   * `Service`'s monitored resources, its Service-Level Objectives, and a taxonomy
+   * of categorized Health Metrics.
+   * 
+ */ + public static final class ServiceMonitoringServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private ServiceMonitoringServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ServiceMonitoringServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ServiceMonitoringServiceBlockingStub(channel, callOptions); + } + + /** + *
+     * Create a `Service`.
+     * 
+ */ + public com.google.monitoring.v3.Service createService(com.google.monitoring.v3.CreateServiceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateServiceMethod(), getCallOptions(), request); + } + + /** + *
+     * Get the named `Service`.
+     * 
+ */ + public com.google.monitoring.v3.Service getService(com.google.monitoring.v3.GetServiceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetServiceMethod(), getCallOptions(), request); + } + + /** + *
+     * List `Service`s for this workspace.
+     * 
+ */ + public com.google.monitoring.v3.ListServicesResponse listServices(com.google.monitoring.v3.ListServicesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListServicesMethod(), getCallOptions(), request); + } + + /** + *
+     * Update this `Service`.
+     * 
+ */ + public com.google.monitoring.v3.Service updateService(com.google.monitoring.v3.UpdateServiceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateServiceMethod(), getCallOptions(), request); + } + + /** + *
+     * Soft delete this `Service`.
+     * 
+ */ + public com.google.protobuf.Empty deleteService(com.google.monitoring.v3.DeleteServiceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteServiceMethod(), getCallOptions(), request); + } + + /** + *
+     * Create a `ServiceLevelObjective` for the given `Service`.
+     * 
+ */ + public com.google.monitoring.v3.ServiceLevelObjective createServiceLevelObjective(com.google.monitoring.v3.CreateServiceLevelObjectiveRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateServiceLevelObjectiveMethod(), getCallOptions(), request); + } + + /** + *
+     * Get a `ServiceLevelObjective` by name.
+     * 
+ */ + public com.google.monitoring.v3.ServiceLevelObjective getServiceLevelObjective(com.google.monitoring.v3.GetServiceLevelObjectiveRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetServiceLevelObjectiveMethod(), getCallOptions(), request); + } + + /** + *
+     * List the `ServiceLevelObjective`s for the given `Service`.
+     * 
+ */ + public com.google.monitoring.v3.ListServiceLevelObjectivesResponse listServiceLevelObjectives(com.google.monitoring.v3.ListServiceLevelObjectivesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListServiceLevelObjectivesMethod(), getCallOptions(), request); + } + + /** + *
+     * Update the given `ServiceLevelObjective`.
+     * 
+ */ + public com.google.monitoring.v3.ServiceLevelObjective updateServiceLevelObjective(com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateServiceLevelObjectiveMethod(), getCallOptions(), request); + } + + /** + *
+     * Delete the given `ServiceLevelObjective`.
+     * 
+ */ + public com.google.protobuf.Empty deleteServiceLevelObjective(com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteServiceLevelObjectiveMethod(), getCallOptions(), request); + } + } + + /** + *
+   * The Cloud Monitoring Service-Oriented Monitoring API has endpoints for
+   * managing and querying aspects of a workspace's services. These include the
+   * `Service`'s monitored resources, its Service-Level Objectives, and a taxonomy
+   * of categorized Health Metrics.
+   * 
+ */ + public static final class ServiceMonitoringServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private ServiceMonitoringServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ServiceMonitoringServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ServiceMonitoringServiceFutureStub(channel, callOptions); + } + + /** + *
+     * Create a `Service`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createService( + com.google.monitoring.v3.CreateServiceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateServiceMethod(), getCallOptions()), request); + } + + /** + *
+     * Get the named `Service`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getService( + com.google.monitoring.v3.GetServiceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetServiceMethod(), getCallOptions()), request); + } + + /** + *
+     * List `Service`s for this workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listServices( + com.google.monitoring.v3.ListServicesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListServicesMethod(), getCallOptions()), request); + } + + /** + *
+     * Update this `Service`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateService( + com.google.monitoring.v3.UpdateServiceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateServiceMethod(), getCallOptions()), request); + } + + /** + *
+     * Soft delete this `Service`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteService( + com.google.monitoring.v3.DeleteServiceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteServiceMethod(), getCallOptions()), request); + } + + /** + *
+     * Create a `ServiceLevelObjective` for the given `Service`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createServiceLevelObjective( + com.google.monitoring.v3.CreateServiceLevelObjectiveRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateServiceLevelObjectiveMethod(), getCallOptions()), request); + } + + /** + *
+     * Get a `ServiceLevelObjective` by name.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getServiceLevelObjective( + com.google.monitoring.v3.GetServiceLevelObjectiveRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetServiceLevelObjectiveMethod(), getCallOptions()), request); + } + + /** + *
+     * List the `ServiceLevelObjective`s for the given `Service`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listServiceLevelObjectives( + com.google.monitoring.v3.ListServiceLevelObjectivesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListServiceLevelObjectivesMethod(), getCallOptions()), request); + } + + /** + *
+     * Update the given `ServiceLevelObjective`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateServiceLevelObjective( + com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateServiceLevelObjectiveMethod(), getCallOptions()), request); + } + + /** + *
+     * Delete the given `ServiceLevelObjective`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteServiceLevelObjective( + com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteServiceLevelObjectiveMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_SERVICE = 0; + private static final int METHODID_GET_SERVICE = 1; + private static final int METHODID_LIST_SERVICES = 2; + private static final int METHODID_UPDATE_SERVICE = 3; + private static final int METHODID_DELETE_SERVICE = 4; + private static final int METHODID_CREATE_SERVICE_LEVEL_OBJECTIVE = 5; + private static final int METHODID_GET_SERVICE_LEVEL_OBJECTIVE = 6; + private static final int METHODID_LIST_SERVICE_LEVEL_OBJECTIVES = 7; + private static final int METHODID_UPDATE_SERVICE_LEVEL_OBJECTIVE = 8; + private static final int METHODID_DELETE_SERVICE_LEVEL_OBJECTIVE = 9; + + 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 ServiceMonitoringServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ServiceMonitoringServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_SERVICE: + serviceImpl.createService((com.google.monitoring.v3.CreateServiceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_SERVICE: + serviceImpl.getService((com.google.monitoring.v3.GetServiceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_SERVICES: + serviceImpl.listServices((com.google.monitoring.v3.ListServicesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_SERVICE: + serviceImpl.updateService((com.google.monitoring.v3.UpdateServiceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_SERVICE: + serviceImpl.deleteService((com.google.monitoring.v3.DeleteServiceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_SERVICE_LEVEL_OBJECTIVE: + serviceImpl.createServiceLevelObjective((com.google.monitoring.v3.CreateServiceLevelObjectiveRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_SERVICE_LEVEL_OBJECTIVE: + serviceImpl.getServiceLevelObjective((com.google.monitoring.v3.GetServiceLevelObjectiveRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_SERVICE_LEVEL_OBJECTIVES: + serviceImpl.listServiceLevelObjectives((com.google.monitoring.v3.ListServiceLevelObjectivesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_SERVICE_LEVEL_OBJECTIVE: + serviceImpl.updateServiceLevelObjective((com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_SERVICE_LEVEL_OBJECTIVE: + serviceImpl.deleteServiceLevelObjective((com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class ServiceMonitoringServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + ServiceMonitoringServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("ServiceMonitoringService"); + } + } + + private static final class ServiceMonitoringServiceFileDescriptorSupplier + extends ServiceMonitoringServiceBaseDescriptorSupplier { + ServiceMonitoringServiceFileDescriptorSupplier() {} + } + + private static final class ServiceMonitoringServiceMethodDescriptorSupplier + extends ServiceMonitoringServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + ServiceMonitoringServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (ServiceMonitoringServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ServiceMonitoringServiceFileDescriptorSupplier()) + .addMethod(getCreateServiceMethod()) + .addMethod(getGetServiceMethod()) + .addMethod(getListServicesMethod()) + .addMethod(getUpdateServiceMethod()) + .addMethod(getDeleteServiceMethod()) + .addMethod(getCreateServiceLevelObjectiveMethod()) + .addMethod(getGetServiceLevelObjectiveMethod()) + .addMethod(getListServiceLevelObjectivesMethod()) + .addMethod(getUpdateServiceLevelObjectiveMethod()) + .addMethod(getDeleteServiceLevelObjectiveMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckServiceGrpc.java b/owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckServiceGrpc.java new file mode 100644 index 00000000..c0af3f59 --- /dev/null +++ b/owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckServiceGrpc.java @@ -0,0 +1,792 @@ +package com.google.monitoring.v3; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * The UptimeCheckService API is used to manage (list, create, delete, edit)
+ * Uptime check configurations in the Stackdriver Monitoring product. An Uptime
+ * check is a piece of configuration that determines which resources and
+ * services to monitor for availability. These configurations can also be
+ * configured interactively by navigating to the [Cloud Console]
+ * (http://console.cloud.google.com), selecting the appropriate project,
+ * clicking on "Monitoring" on the left-hand side to navigate to Stackdriver,
+ * and then clicking on "Uptime".
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/monitoring/v3/uptime_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class UptimeCheckServiceGrpc { + + private UptimeCheckServiceGrpc() {} + + public static final String SERVICE_NAME = "google.monitoring.v3.UptimeCheckService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getListUptimeCheckConfigsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListUptimeCheckConfigs", + requestType = com.google.monitoring.v3.ListUptimeCheckConfigsRequest.class, + responseType = com.google.monitoring.v3.ListUptimeCheckConfigsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListUptimeCheckConfigsMethod() { + io.grpc.MethodDescriptor getListUptimeCheckConfigsMethod; + if ((getListUptimeCheckConfigsMethod = UptimeCheckServiceGrpc.getListUptimeCheckConfigsMethod) == null) { + synchronized (UptimeCheckServiceGrpc.class) { + if ((getListUptimeCheckConfigsMethod = UptimeCheckServiceGrpc.getListUptimeCheckConfigsMethod) == null) { + UptimeCheckServiceGrpc.getListUptimeCheckConfigsMethod = getListUptimeCheckConfigsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListUptimeCheckConfigs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.ListUptimeCheckConfigsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.ListUptimeCheckConfigsResponse.getDefaultInstance())) + .setSchemaDescriptor(new UptimeCheckServiceMethodDescriptorSupplier("ListUptimeCheckConfigs")) + .build(); + } + } + } + return getListUptimeCheckConfigsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetUptimeCheckConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetUptimeCheckConfig", + requestType = com.google.monitoring.v3.GetUptimeCheckConfigRequest.class, + responseType = com.google.monitoring.v3.UptimeCheckConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetUptimeCheckConfigMethod() { + io.grpc.MethodDescriptor getGetUptimeCheckConfigMethod; + if ((getGetUptimeCheckConfigMethod = UptimeCheckServiceGrpc.getGetUptimeCheckConfigMethod) == null) { + synchronized (UptimeCheckServiceGrpc.class) { + if ((getGetUptimeCheckConfigMethod = UptimeCheckServiceGrpc.getGetUptimeCheckConfigMethod) == null) { + UptimeCheckServiceGrpc.getGetUptimeCheckConfigMethod = getGetUptimeCheckConfigMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetUptimeCheckConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.GetUptimeCheckConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance())) + .setSchemaDescriptor(new UptimeCheckServiceMethodDescriptorSupplier("GetUptimeCheckConfig")) + .build(); + } + } + } + return getGetUptimeCheckConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateUptimeCheckConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateUptimeCheckConfig", + requestType = com.google.monitoring.v3.CreateUptimeCheckConfigRequest.class, + responseType = com.google.monitoring.v3.UptimeCheckConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateUptimeCheckConfigMethod() { + io.grpc.MethodDescriptor getCreateUptimeCheckConfigMethod; + if ((getCreateUptimeCheckConfigMethod = UptimeCheckServiceGrpc.getCreateUptimeCheckConfigMethod) == null) { + synchronized (UptimeCheckServiceGrpc.class) { + if ((getCreateUptimeCheckConfigMethod = UptimeCheckServiceGrpc.getCreateUptimeCheckConfigMethod) == null) { + UptimeCheckServiceGrpc.getCreateUptimeCheckConfigMethod = getCreateUptimeCheckConfigMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateUptimeCheckConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.CreateUptimeCheckConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance())) + .setSchemaDescriptor(new UptimeCheckServiceMethodDescriptorSupplier("CreateUptimeCheckConfig")) + .build(); + } + } + } + return getCreateUptimeCheckConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateUptimeCheckConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateUptimeCheckConfig", + requestType = com.google.monitoring.v3.UpdateUptimeCheckConfigRequest.class, + responseType = com.google.monitoring.v3.UptimeCheckConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateUptimeCheckConfigMethod() { + io.grpc.MethodDescriptor getUpdateUptimeCheckConfigMethod; + if ((getUpdateUptimeCheckConfigMethod = UptimeCheckServiceGrpc.getUpdateUptimeCheckConfigMethod) == null) { + synchronized (UptimeCheckServiceGrpc.class) { + if ((getUpdateUptimeCheckConfigMethod = UptimeCheckServiceGrpc.getUpdateUptimeCheckConfigMethod) == null) { + UptimeCheckServiceGrpc.getUpdateUptimeCheckConfigMethod = getUpdateUptimeCheckConfigMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateUptimeCheckConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.UpdateUptimeCheckConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance())) + .setSchemaDescriptor(new UptimeCheckServiceMethodDescriptorSupplier("UpdateUptimeCheckConfig")) + .build(); + } + } + } + return getUpdateUptimeCheckConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteUptimeCheckConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteUptimeCheckConfig", + requestType = com.google.monitoring.v3.DeleteUptimeCheckConfigRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteUptimeCheckConfigMethod() { + io.grpc.MethodDescriptor getDeleteUptimeCheckConfigMethod; + if ((getDeleteUptimeCheckConfigMethod = UptimeCheckServiceGrpc.getDeleteUptimeCheckConfigMethod) == null) { + synchronized (UptimeCheckServiceGrpc.class) { + if ((getDeleteUptimeCheckConfigMethod = UptimeCheckServiceGrpc.getDeleteUptimeCheckConfigMethod) == null) { + UptimeCheckServiceGrpc.getDeleteUptimeCheckConfigMethod = getDeleteUptimeCheckConfigMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteUptimeCheckConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.DeleteUptimeCheckConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new UptimeCheckServiceMethodDescriptorSupplier("DeleteUptimeCheckConfig")) + .build(); + } + } + } + return getDeleteUptimeCheckConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor getListUptimeCheckIpsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListUptimeCheckIps", + requestType = com.google.monitoring.v3.ListUptimeCheckIpsRequest.class, + responseType = com.google.monitoring.v3.ListUptimeCheckIpsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListUptimeCheckIpsMethod() { + io.grpc.MethodDescriptor getListUptimeCheckIpsMethod; + if ((getListUptimeCheckIpsMethod = UptimeCheckServiceGrpc.getListUptimeCheckIpsMethod) == null) { + synchronized (UptimeCheckServiceGrpc.class) { + if ((getListUptimeCheckIpsMethod = UptimeCheckServiceGrpc.getListUptimeCheckIpsMethod) == null) { + UptimeCheckServiceGrpc.getListUptimeCheckIpsMethod = getListUptimeCheckIpsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListUptimeCheckIps")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.ListUptimeCheckIpsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.ListUptimeCheckIpsResponse.getDefaultInstance())) + .setSchemaDescriptor(new UptimeCheckServiceMethodDescriptorSupplier("ListUptimeCheckIps")) + .build(); + } + } + } + return getListUptimeCheckIpsMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static UptimeCheckServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public UptimeCheckServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new UptimeCheckServiceStub(channel, callOptions); + } + }; + return UptimeCheckServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static UptimeCheckServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public UptimeCheckServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new UptimeCheckServiceBlockingStub(channel, callOptions); + } + }; + return UptimeCheckServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static UptimeCheckServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public UptimeCheckServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new UptimeCheckServiceFutureStub(channel, callOptions); + } + }; + return UptimeCheckServiceFutureStub.newStub(factory, channel); + } + + /** + *
+   * The UptimeCheckService API is used to manage (list, create, delete, edit)
+   * Uptime check configurations in the Stackdriver Monitoring product. An Uptime
+   * check is a piece of configuration that determines which resources and
+   * services to monitor for availability. These configurations can also be
+   * configured interactively by navigating to the [Cloud Console]
+   * (http://console.cloud.google.com), selecting the appropriate project,
+   * clicking on "Monitoring" on the left-hand side to navigate to Stackdriver,
+   * and then clicking on "Uptime".
+   * 
+ */ + public static abstract class UptimeCheckServiceImplBase implements io.grpc.BindableService { + + /** + *
+     * Lists the existing valid Uptime check configurations for the project
+     * (leaving out any invalid configurations).
+     * 
+ */ + public void listUptimeCheckConfigs(com.google.monitoring.v3.ListUptimeCheckConfigsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListUptimeCheckConfigsMethod(), responseObserver); + } + + /** + *
+     * Gets a single Uptime check configuration.
+     * 
+ */ + public void getUptimeCheckConfig(com.google.monitoring.v3.GetUptimeCheckConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetUptimeCheckConfigMethod(), responseObserver); + } + + /** + *
+     * Creates a new Uptime check configuration.
+     * 
+ */ + public void createUptimeCheckConfig(com.google.monitoring.v3.CreateUptimeCheckConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateUptimeCheckConfigMethod(), responseObserver); + } + + /** + *
+     * Updates an Uptime check configuration. You can either replace the entire
+     * configuration with a new one or replace only certain fields in the current
+     * configuration by specifying the fields to be updated via `updateMask`.
+     * Returns the updated configuration.
+     * 
+ */ + public void updateUptimeCheckConfig(com.google.monitoring.v3.UpdateUptimeCheckConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateUptimeCheckConfigMethod(), responseObserver); + } + + /** + *
+     * Deletes an Uptime check configuration. Note that this method will fail
+     * if the Uptime check configuration is referenced by an alert policy or
+     * other dependent configs that would be rendered invalid by the deletion.
+     * 
+ */ + public void deleteUptimeCheckConfig(com.google.monitoring.v3.DeleteUptimeCheckConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteUptimeCheckConfigMethod(), responseObserver); + } + + /** + *
+     * Returns the list of IP addresses that checkers run from
+     * 
+ */ + public void listUptimeCheckIps(com.google.monitoring.v3.ListUptimeCheckIpsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListUptimeCheckIpsMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListUptimeCheckConfigsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.ListUptimeCheckConfigsRequest, + com.google.monitoring.v3.ListUptimeCheckConfigsResponse>( + this, METHODID_LIST_UPTIME_CHECK_CONFIGS))) + .addMethod( + getGetUptimeCheckConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.GetUptimeCheckConfigRequest, + com.google.monitoring.v3.UptimeCheckConfig>( + this, METHODID_GET_UPTIME_CHECK_CONFIG))) + .addMethod( + getCreateUptimeCheckConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.CreateUptimeCheckConfigRequest, + com.google.monitoring.v3.UptimeCheckConfig>( + this, METHODID_CREATE_UPTIME_CHECK_CONFIG))) + .addMethod( + getUpdateUptimeCheckConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.UpdateUptimeCheckConfigRequest, + com.google.monitoring.v3.UptimeCheckConfig>( + this, METHODID_UPDATE_UPTIME_CHECK_CONFIG))) + .addMethod( + getDeleteUptimeCheckConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.DeleteUptimeCheckConfigRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_UPTIME_CHECK_CONFIG))) + .addMethod( + getListUptimeCheckIpsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.ListUptimeCheckIpsRequest, + com.google.monitoring.v3.ListUptimeCheckIpsResponse>( + this, METHODID_LIST_UPTIME_CHECK_IPS))) + .build(); + } + } + + /** + *
+   * The UptimeCheckService API is used to manage (list, create, delete, edit)
+   * Uptime check configurations in the Stackdriver Monitoring product. An Uptime
+   * check is a piece of configuration that determines which resources and
+   * services to monitor for availability. These configurations can also be
+   * configured interactively by navigating to the [Cloud Console]
+   * (http://console.cloud.google.com), selecting the appropriate project,
+   * clicking on "Monitoring" on the left-hand side to navigate to Stackdriver,
+   * and then clicking on "Uptime".
+   * 
+ */ + public static final class UptimeCheckServiceStub extends io.grpc.stub.AbstractAsyncStub { + private UptimeCheckServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected UptimeCheckServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new UptimeCheckServiceStub(channel, callOptions); + } + + /** + *
+     * Lists the existing valid Uptime check configurations for the project
+     * (leaving out any invalid configurations).
+     * 
+ */ + public void listUptimeCheckConfigs(com.google.monitoring.v3.ListUptimeCheckConfigsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListUptimeCheckConfigsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a single Uptime check configuration.
+     * 
+ */ + public void getUptimeCheckConfig(com.google.monitoring.v3.GetUptimeCheckConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetUptimeCheckConfigMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new Uptime check configuration.
+     * 
+ */ + public void createUptimeCheckConfig(com.google.monitoring.v3.CreateUptimeCheckConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateUptimeCheckConfigMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates an Uptime check configuration. You can either replace the entire
+     * configuration with a new one or replace only certain fields in the current
+     * configuration by specifying the fields to be updated via `updateMask`.
+     * Returns the updated configuration.
+     * 
+ */ + public void updateUptimeCheckConfig(com.google.monitoring.v3.UpdateUptimeCheckConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateUptimeCheckConfigMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes an Uptime check configuration. Note that this method will fail
+     * if the Uptime check configuration is referenced by an alert policy or
+     * other dependent configs that would be rendered invalid by the deletion.
+     * 
+ */ + public void deleteUptimeCheckConfig(com.google.monitoring.v3.DeleteUptimeCheckConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteUptimeCheckConfigMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns the list of IP addresses that checkers run from
+     * 
+ */ + public void listUptimeCheckIps(com.google.monitoring.v3.ListUptimeCheckIpsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListUptimeCheckIpsMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * The UptimeCheckService API is used to manage (list, create, delete, edit)
+   * Uptime check configurations in the Stackdriver Monitoring product. An Uptime
+   * check is a piece of configuration that determines which resources and
+   * services to monitor for availability. These configurations can also be
+   * configured interactively by navigating to the [Cloud Console]
+   * (http://console.cloud.google.com), selecting the appropriate project,
+   * clicking on "Monitoring" on the left-hand side to navigate to Stackdriver,
+   * and then clicking on "Uptime".
+   * 
+ */ + public static final class UptimeCheckServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private UptimeCheckServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected UptimeCheckServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new UptimeCheckServiceBlockingStub(channel, callOptions); + } + + /** + *
+     * Lists the existing valid Uptime check configurations for the project
+     * (leaving out any invalid configurations).
+     * 
+ */ + public com.google.monitoring.v3.ListUptimeCheckConfigsResponse listUptimeCheckConfigs(com.google.monitoring.v3.ListUptimeCheckConfigsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListUptimeCheckConfigsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a single Uptime check configuration.
+     * 
+ */ + public com.google.monitoring.v3.UptimeCheckConfig getUptimeCheckConfig(com.google.monitoring.v3.GetUptimeCheckConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetUptimeCheckConfigMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new Uptime check configuration.
+     * 
+ */ + public com.google.monitoring.v3.UptimeCheckConfig createUptimeCheckConfig(com.google.monitoring.v3.CreateUptimeCheckConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateUptimeCheckConfigMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates an Uptime check configuration. You can either replace the entire
+     * configuration with a new one or replace only certain fields in the current
+     * configuration by specifying the fields to be updated via `updateMask`.
+     * Returns the updated configuration.
+     * 
+ */ + public com.google.monitoring.v3.UptimeCheckConfig updateUptimeCheckConfig(com.google.monitoring.v3.UpdateUptimeCheckConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateUptimeCheckConfigMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes an Uptime check configuration. Note that this method will fail
+     * if the Uptime check configuration is referenced by an alert policy or
+     * other dependent configs that would be rendered invalid by the deletion.
+     * 
+ */ + public com.google.protobuf.Empty deleteUptimeCheckConfig(com.google.monitoring.v3.DeleteUptimeCheckConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteUptimeCheckConfigMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns the list of IP addresses that checkers run from
+     * 
+ */ + public com.google.monitoring.v3.ListUptimeCheckIpsResponse listUptimeCheckIps(com.google.monitoring.v3.ListUptimeCheckIpsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListUptimeCheckIpsMethod(), getCallOptions(), request); + } + } + + /** + *
+   * The UptimeCheckService API is used to manage (list, create, delete, edit)
+   * Uptime check configurations in the Stackdriver Monitoring product. An Uptime
+   * check is a piece of configuration that determines which resources and
+   * services to monitor for availability. These configurations can also be
+   * configured interactively by navigating to the [Cloud Console]
+   * (http://console.cloud.google.com), selecting the appropriate project,
+   * clicking on "Monitoring" on the left-hand side to navigate to Stackdriver,
+   * and then clicking on "Uptime".
+   * 
+ */ + public static final class UptimeCheckServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private UptimeCheckServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected UptimeCheckServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new UptimeCheckServiceFutureStub(channel, callOptions); + } + + /** + *
+     * Lists the existing valid Uptime check configurations for the project
+     * (leaving out any invalid configurations).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listUptimeCheckConfigs( + com.google.monitoring.v3.ListUptimeCheckConfigsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListUptimeCheckConfigsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a single Uptime check configuration.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getUptimeCheckConfig( + com.google.monitoring.v3.GetUptimeCheckConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetUptimeCheckConfigMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new Uptime check configuration.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createUptimeCheckConfig( + com.google.monitoring.v3.CreateUptimeCheckConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateUptimeCheckConfigMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates an Uptime check configuration. You can either replace the entire
+     * configuration with a new one or replace only certain fields in the current
+     * configuration by specifying the fields to be updated via `updateMask`.
+     * Returns the updated configuration.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateUptimeCheckConfig( + com.google.monitoring.v3.UpdateUptimeCheckConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateUptimeCheckConfigMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes an Uptime check configuration. Note that this method will fail
+     * if the Uptime check configuration is referenced by an alert policy or
+     * other dependent configs that would be rendered invalid by the deletion.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteUptimeCheckConfig( + com.google.monitoring.v3.DeleteUptimeCheckConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteUptimeCheckConfigMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns the list of IP addresses that checkers run from
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listUptimeCheckIps( + com.google.monitoring.v3.ListUptimeCheckIpsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListUptimeCheckIpsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_UPTIME_CHECK_CONFIGS = 0; + private static final int METHODID_GET_UPTIME_CHECK_CONFIG = 1; + private static final int METHODID_CREATE_UPTIME_CHECK_CONFIG = 2; + private static final int METHODID_UPDATE_UPTIME_CHECK_CONFIG = 3; + private static final int METHODID_DELETE_UPTIME_CHECK_CONFIG = 4; + private static final int METHODID_LIST_UPTIME_CHECK_IPS = 5; + + 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 UptimeCheckServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(UptimeCheckServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_LIST_UPTIME_CHECK_CONFIGS: + serviceImpl.listUptimeCheckConfigs((com.google.monitoring.v3.ListUptimeCheckConfigsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_UPTIME_CHECK_CONFIG: + serviceImpl.getUptimeCheckConfig((com.google.monitoring.v3.GetUptimeCheckConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_UPTIME_CHECK_CONFIG: + serviceImpl.createUptimeCheckConfig((com.google.monitoring.v3.CreateUptimeCheckConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_UPTIME_CHECK_CONFIG: + serviceImpl.updateUptimeCheckConfig((com.google.monitoring.v3.UpdateUptimeCheckConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_UPTIME_CHECK_CONFIG: + serviceImpl.deleteUptimeCheckConfig((com.google.monitoring.v3.DeleteUptimeCheckConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_UPTIME_CHECK_IPS: + serviceImpl.listUptimeCheckIps((com.google.monitoring.v3.ListUptimeCheckIpsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class UptimeCheckServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + UptimeCheckServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.monitoring.v3.UptimeServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("UptimeCheckService"); + } + } + + private static final class UptimeCheckServiceFileDescriptorSupplier + extends UptimeCheckServiceBaseDescriptorSupplier { + UptimeCheckServiceFileDescriptorSupplier() {} + } + + private static final class UptimeCheckServiceMethodDescriptorSupplier + extends UptimeCheckServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + UptimeCheckServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (UptimeCheckServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new UptimeCheckServiceFileDescriptorSupplier()) + .addMethod(getListUptimeCheckConfigsMethod()) + .addMethod(getGetUptimeCheckConfigMethod()) + .addMethod(getCreateUptimeCheckConfigMethod()) + .addMethod(getUpdateUptimeCheckConfigMethod()) + .addMethod(getDeleteUptimeCheckConfigMethod()) + .addMethod(getListUptimeCheckIpsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Aggregation.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Aggregation.java similarity index 86% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Aggregation.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Aggregation.java index 35997e5c..1c676caa 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Aggregation.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Aggregation.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/monitoring/v3/common.proto package com.google.monitoring.v3; /** - * - * *
  * Describes how to combine multiple time series to provide a different view of
  * the data.  Aggregation of time series is done in two steps. First, each time
@@ -49,16 +32,15 @@
  *
  * Protobuf type {@code google.monitoring.v3.Aggregation}
  */
-public final class Aggregation extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Aggregation extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.Aggregation)
     AggregationOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Aggregation.newBuilder() to construct.
   private Aggregation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Aggregation() {
     perSeriesAligner_ = 0;
     crossSeriesReducer_ = 0;
@@ -67,15 +49,16 @@ private Aggregation() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Aggregation();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Aggregation(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -95,58 +78,54 @@ private Aggregation(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (alignmentPeriod_ != null) {
-                subBuilder = alignmentPeriod_.toBuilder();
-              }
-              alignmentPeriod_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(alignmentPeriod_);
-                alignmentPeriod_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (alignmentPeriod_ != null) {
+              subBuilder = alignmentPeriod_.toBuilder();
             }
-          case 16:
-            {
-              int rawValue = input.readEnum();
-
-              perSeriesAligner_ = rawValue;
-              break;
+            alignmentPeriod_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(alignmentPeriod_);
+              alignmentPeriod_ = subBuilder.buildPartial();
             }
-          case 32:
-            {
-              int rawValue = input.readEnum();
 
-              crossSeriesReducer_ = rawValue;
-              break;
-            }
-          case 42:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                groupByFields_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              groupByFields_.add(s);
-              break;
+            break;
+          }
+          case 16: {
+            int rawValue = input.readEnum();
+
+            perSeriesAligner_ = rawValue;
+            break;
+          }
+          case 32: {
+            int rawValue = input.readEnum();
+
+            crossSeriesReducer_ = rawValue;
+            break;
+          }
+          case 42: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              groupByFields_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            groupByFields_.add(s);
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         groupByFields_ = groupByFields_.getUnmodifiableView();
@@ -155,25 +134,20 @@ private Aggregation(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.monitoring.v3.CommonProto
-        .internal_static_google_monitoring_v3_Aggregation_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.monitoring.v3.CommonProto.internal_static_google_monitoring_v3_Aggregation_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.monitoring.v3.CommonProto
-        .internal_static_google_monitoring_v3_Aggregation_fieldAccessorTable
+    return com.google.monitoring.v3.CommonProto.internal_static_google_monitoring_v3_Aggregation_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.Aggregation.class,
-            com.google.monitoring.v3.Aggregation.Builder.class);
+            com.google.monitoring.v3.Aggregation.class, com.google.monitoring.v3.Aggregation.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * The `Aligner` specifies the operation that will be applied to the data
    * points in each alignment period in a time series. Except for
@@ -190,10 +164,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.monitoring.v3.Aggregation.Aligner}
    */
-  public enum Aligner implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Aligner
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * No alignment. Raw data is returned. Not valid if cross-series reduction
      * is requested. The `value_type` of the result is the same as the
@@ -204,8 +177,6 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum {
      */
     ALIGN_NONE(0),
     /**
-     *
-     *
      * 
      * Align and convert to
      * [DELTA][google.api.MetricDescriptor.MetricKind.DELTA].
@@ -222,8 +193,6 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum {
      */
     ALIGN_DELTA(1),
     /**
-     *
-     *
      * 
      * Align and convert to a rate. The result is computed as
      * `rate = (y1 - y0)/(t1 - t0)`, or "delta over time".
@@ -242,8 +211,6 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum {
      */
     ALIGN_RATE(2),
     /**
-     *
-     *
      * 
      * Align by interpolating between adjacent points around the alignment
      * period boundary. This aligner is valid for `GAUGE` metrics with
@@ -255,8 +222,6 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum {
      */
     ALIGN_INTERPOLATE(3),
     /**
-     *
-     *
      * 
      * Align by moving the most recent data point before the end of the
      * alignment period to the boundary at the end of the alignment
@@ -268,8 +233,6 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum {
      */
     ALIGN_NEXT_OLDER(4),
     /**
-     *
-     *
      * 
      * Align the time series by returning the minimum value in each alignment
      * period. This aligner is valid for `GAUGE` and `DELTA` metrics with
@@ -281,8 +244,6 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum {
      */
     ALIGN_MIN(10),
     /**
-     *
-     *
      * 
      * Align the time series by returning the maximum value in each alignment
      * period. This aligner is valid for `GAUGE` and `DELTA` metrics with
@@ -294,8 +255,6 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum {
      */
     ALIGN_MAX(11),
     /**
-     *
-     *
      * 
      * Align the time series by returning the mean value in each alignment
      * period. This aligner is valid for `GAUGE` and `DELTA` metrics with
@@ -306,8 +265,6 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum {
      */
     ALIGN_MEAN(12),
     /**
-     *
-     *
      * 
      * Align the time series by returning the number of values in each alignment
      * period. This aligner is valid for `GAUGE` and `DELTA` metrics with
@@ -319,8 +276,6 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum {
      */
     ALIGN_COUNT(13),
     /**
-     *
-     *
      * 
      * Align the time series by returning the sum of the values in each
      * alignment period. This aligner is valid for `GAUGE` and `DELTA`
@@ -332,8 +287,6 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum {
      */
     ALIGN_SUM(14),
     /**
-     *
-     *
      * 
      * Align the time series by returning the standard deviation of the values
      * in each alignment period. This aligner is valid for `GAUGE` and
@@ -345,8 +298,6 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum {
      */
     ALIGN_STDDEV(15),
     /**
-     *
-     *
      * 
      * Align the time series by returning the number of `True` values in
      * each alignment period. This aligner is valid for `GAUGE` metrics with
@@ -357,8 +308,6 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum {
      */
     ALIGN_COUNT_TRUE(16),
     /**
-     *
-     *
      * 
      * Align the time series by returning the number of `False` values in
      * each alignment period. This aligner is valid for `GAUGE` metrics with
@@ -369,8 +318,6 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum {
      */
     ALIGN_COUNT_FALSE(24),
     /**
-     *
-     *
      * 
      * Align the time series by returning the ratio of the number of `True`
      * values to the total number of values in each alignment period. This
@@ -382,8 +329,6 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum {
      */
     ALIGN_FRACTION_TRUE(17),
     /**
-     *
-     *
      * 
      * Align the time series by using [percentile
      * aggregation](https://en.wikipedia.org/wiki/Percentile). The resulting
@@ -397,8 +342,6 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum {
      */
     ALIGN_PERCENTILE_99(18),
     /**
-     *
-     *
      * 
      * Align the time series by using [percentile
      * aggregation](https://en.wikipedia.org/wiki/Percentile). The resulting
@@ -412,8 +355,6 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum {
      */
     ALIGN_PERCENTILE_95(19),
     /**
-     *
-     *
      * 
      * Align the time series by using [percentile
      * aggregation](https://en.wikipedia.org/wiki/Percentile). The resulting
@@ -427,8 +368,6 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum {
      */
     ALIGN_PERCENTILE_50(20),
     /**
-     *
-     *
      * 
      * Align the time series by using [percentile
      * aggregation](https://en.wikipedia.org/wiki/Percentile). The resulting
@@ -442,8 +381,6 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum {
      */
     ALIGN_PERCENTILE_05(21),
     /**
-     *
-     *
      * 
      * Align and convert to a percentage change. This aligner is valid for
      * `GAUGE` and `DELTA` metrics with numeric values. This alignment returns
@@ -468,8 +405,6 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * No alignment. Raw data is returned. Not valid if cross-series reduction
      * is requested. The `value_type` of the result is the same as the
@@ -480,8 +415,6 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ALIGN_NONE_VALUE = 0;
     /**
-     *
-     *
      * 
      * Align and convert to
      * [DELTA][google.api.MetricDescriptor.MetricKind.DELTA].
@@ -498,8 +431,6 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ALIGN_DELTA_VALUE = 1;
     /**
-     *
-     *
      * 
      * Align and convert to a rate. The result is computed as
      * `rate = (y1 - y0)/(t1 - t0)`, or "delta over time".
@@ -518,8 +449,6 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ALIGN_RATE_VALUE = 2;
     /**
-     *
-     *
      * 
      * Align by interpolating between adjacent points around the alignment
      * period boundary. This aligner is valid for `GAUGE` metrics with
@@ -531,8 +460,6 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ALIGN_INTERPOLATE_VALUE = 3;
     /**
-     *
-     *
      * 
      * Align by moving the most recent data point before the end of the
      * alignment period to the boundary at the end of the alignment
@@ -544,8 +471,6 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ALIGN_NEXT_OLDER_VALUE = 4;
     /**
-     *
-     *
      * 
      * Align the time series by returning the minimum value in each alignment
      * period. This aligner is valid for `GAUGE` and `DELTA` metrics with
@@ -557,8 +482,6 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ALIGN_MIN_VALUE = 10;
     /**
-     *
-     *
      * 
      * Align the time series by returning the maximum value in each alignment
      * period. This aligner is valid for `GAUGE` and `DELTA` metrics with
@@ -570,8 +493,6 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ALIGN_MAX_VALUE = 11;
     /**
-     *
-     *
      * 
      * Align the time series by returning the mean value in each alignment
      * period. This aligner is valid for `GAUGE` and `DELTA` metrics with
@@ -582,8 +503,6 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ALIGN_MEAN_VALUE = 12;
     /**
-     *
-     *
      * 
      * Align the time series by returning the number of values in each alignment
      * period. This aligner is valid for `GAUGE` and `DELTA` metrics with
@@ -595,8 +514,6 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ALIGN_COUNT_VALUE = 13;
     /**
-     *
-     *
      * 
      * Align the time series by returning the sum of the values in each
      * alignment period. This aligner is valid for `GAUGE` and `DELTA`
@@ -608,8 +525,6 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ALIGN_SUM_VALUE = 14;
     /**
-     *
-     *
      * 
      * Align the time series by returning the standard deviation of the values
      * in each alignment period. This aligner is valid for `GAUGE` and
@@ -621,8 +536,6 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ALIGN_STDDEV_VALUE = 15;
     /**
-     *
-     *
      * 
      * Align the time series by returning the number of `True` values in
      * each alignment period. This aligner is valid for `GAUGE` metrics with
@@ -633,8 +546,6 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ALIGN_COUNT_TRUE_VALUE = 16;
     /**
-     *
-     *
      * 
      * Align the time series by returning the number of `False` values in
      * each alignment period. This aligner is valid for `GAUGE` metrics with
@@ -645,8 +556,6 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ALIGN_COUNT_FALSE_VALUE = 24;
     /**
-     *
-     *
      * 
      * Align the time series by returning the ratio of the number of `True`
      * values to the total number of values in each alignment period. This
@@ -658,8 +567,6 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ALIGN_FRACTION_TRUE_VALUE = 17;
     /**
-     *
-     *
      * 
      * Align the time series by using [percentile
      * aggregation](https://en.wikipedia.org/wiki/Percentile). The resulting
@@ -673,8 +580,6 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ALIGN_PERCENTILE_99_VALUE = 18;
     /**
-     *
-     *
      * 
      * Align the time series by using [percentile
      * aggregation](https://en.wikipedia.org/wiki/Percentile). The resulting
@@ -688,8 +593,6 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ALIGN_PERCENTILE_95_VALUE = 19;
     /**
-     *
-     *
      * 
      * Align the time series by using [percentile
      * aggregation](https://en.wikipedia.org/wiki/Percentile). The resulting
@@ -703,8 +606,6 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ALIGN_PERCENTILE_50_VALUE = 20;
     /**
-     *
-     *
      * 
      * Align the time series by using [percentile
      * aggregation](https://en.wikipedia.org/wiki/Percentile). The resulting
@@ -718,8 +619,6 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ALIGN_PERCENTILE_05_VALUE = 21;
     /**
-     *
-     *
      * 
      * Align and convert to a percentage change. This aligner is valid for
      * `GAUGE` and `DELTA` metrics with numeric values. This alignment returns
@@ -741,6 +640,7 @@ public enum Aligner implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ALIGN_PERCENT_CHANGE_VALUE = 23;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -765,81 +665,65 @@ public static Aligner valueOf(int value) {
      */
     public static Aligner forNumber(int value) {
       switch (value) {
-        case 0:
-          return ALIGN_NONE;
-        case 1:
-          return ALIGN_DELTA;
-        case 2:
-          return ALIGN_RATE;
-        case 3:
-          return ALIGN_INTERPOLATE;
-        case 4:
-          return ALIGN_NEXT_OLDER;
-        case 10:
-          return ALIGN_MIN;
-        case 11:
-          return ALIGN_MAX;
-        case 12:
-          return ALIGN_MEAN;
-        case 13:
-          return ALIGN_COUNT;
-        case 14:
-          return ALIGN_SUM;
-        case 15:
-          return ALIGN_STDDEV;
-        case 16:
-          return ALIGN_COUNT_TRUE;
-        case 24:
-          return ALIGN_COUNT_FALSE;
-        case 17:
-          return ALIGN_FRACTION_TRUE;
-        case 18:
-          return ALIGN_PERCENTILE_99;
-        case 19:
-          return ALIGN_PERCENTILE_95;
-        case 20:
-          return ALIGN_PERCENTILE_50;
-        case 21:
-          return ALIGN_PERCENTILE_05;
-        case 23:
-          return ALIGN_PERCENT_CHANGE;
-        default:
-          return null;
+        case 0: return ALIGN_NONE;
+        case 1: return ALIGN_DELTA;
+        case 2: return ALIGN_RATE;
+        case 3: return ALIGN_INTERPOLATE;
+        case 4: return ALIGN_NEXT_OLDER;
+        case 10: return ALIGN_MIN;
+        case 11: return ALIGN_MAX;
+        case 12: return ALIGN_MEAN;
+        case 13: return ALIGN_COUNT;
+        case 14: return ALIGN_SUM;
+        case 15: return ALIGN_STDDEV;
+        case 16: return ALIGN_COUNT_TRUE;
+        case 24: return ALIGN_COUNT_FALSE;
+        case 17: return ALIGN_FRACTION_TRUE;
+        case 18: return ALIGN_PERCENTILE_99;
+        case 19: return ALIGN_PERCENTILE_95;
+        case 20: return ALIGN_PERCENTILE_50;
+        case 21: return ALIGN_PERCENTILE_05;
+        case 23: return ALIGN_PERCENT_CHANGE;
+        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<
+        Aligner> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Aligner findValueByNumber(int number) {
+              return Aligner.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Aligner findValueByNumber(int number) {
-            return Aligner.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.monitoring.v3.Aggregation.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Aligner[] VALUES = values();
 
-    public static Aligner valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Aligner 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;
@@ -857,8 +741,6 @@ private Aligner(int value) {
   }
 
   /**
-   *
-   *
    * 
    * A Reducer operation describes how to aggregate data points from multiple
    * time series into a single time series, where the value of each data point
@@ -868,10 +750,9 @@ private Aligner(int value) {
    *
    * Protobuf enum {@code google.monitoring.v3.Aggregation.Reducer}
    */
-  public enum Reducer implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Reducer
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * No cross-time series reduction. The output of the `Aligner` is
      * returned.
@@ -881,8 +762,6 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum {
      */
     REDUCE_NONE(0),
     /**
-     *
-     *
      * 
      * Reduce by computing the mean value across time series for each
      * alignment period. This reducer is valid for
@@ -896,8 +775,6 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum {
      */
     REDUCE_MEAN(1),
     /**
-     *
-     *
      * 
      * Reduce by computing the minimum value across time series for each
      * alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics
@@ -909,8 +786,6 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum {
      */
     REDUCE_MIN(2),
     /**
-     *
-     *
      * 
      * Reduce by computing the maximum value across time series for each
      * alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics
@@ -922,8 +797,6 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum {
      */
     REDUCE_MAX(3),
     /**
-     *
-     *
      * 
      * Reduce by computing the sum across time series for each
      * alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics
@@ -935,8 +808,6 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum {
      */
     REDUCE_SUM(4),
     /**
-     *
-     *
      * 
      * Reduce by computing the standard deviation across time series
      * for each alignment period. This reducer is valid for `DELTA` and
@@ -948,8 +819,6 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum {
      */
     REDUCE_STDDEV(5),
     /**
-     *
-     *
      * 
      * Reduce by computing the number of data points across time series
      * for each alignment period. This reducer is valid for `DELTA` and
@@ -961,8 +830,6 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum {
      */
     REDUCE_COUNT(6),
     /**
-     *
-     *
      * 
      * Reduce by computing the number of `True`-valued data points across time
      * series for each alignment period. This reducer is valid for `DELTA` and
@@ -974,8 +841,6 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum {
      */
     REDUCE_COUNT_TRUE(7),
     /**
-     *
-     *
      * 
      * Reduce by computing the number of `False`-valued data points across time
      * series for each alignment period. This reducer is valid for `DELTA` and
@@ -987,8 +852,6 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum {
      */
     REDUCE_COUNT_FALSE(15),
     /**
-     *
-     *
      * 
      * Reduce by computing the ratio of the number of `True`-valued data points
      * to the total number of data points for each alignment period. This
@@ -1001,8 +864,6 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum {
      */
     REDUCE_FRACTION_TRUE(8),
     /**
-     *
-     *
      * 
      * Reduce by computing the [99th
      * percentile](https://en.wikipedia.org/wiki/Percentile) of data points
@@ -1015,8 +876,6 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum {
      */
     REDUCE_PERCENTILE_99(9),
     /**
-     *
-     *
      * 
      * Reduce by computing the [95th
      * percentile](https://en.wikipedia.org/wiki/Percentile) of data points
@@ -1029,8 +888,6 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum {
      */
     REDUCE_PERCENTILE_95(10),
     /**
-     *
-     *
      * 
      * Reduce by computing the [50th
      * percentile](https://en.wikipedia.org/wiki/Percentile) of data points
@@ -1043,8 +900,6 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum {
      */
     REDUCE_PERCENTILE_50(11),
     /**
-     *
-     *
      * 
      * Reduce by computing the [5th
      * percentile](https://en.wikipedia.org/wiki/Percentile) of data points
@@ -1060,8 +915,6 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * No cross-time series reduction. The output of the `Aligner` is
      * returned.
@@ -1071,8 +924,6 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int REDUCE_NONE_VALUE = 0;
     /**
-     *
-     *
      * 
      * Reduce by computing the mean value across time series for each
      * alignment period. This reducer is valid for
@@ -1086,8 +937,6 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int REDUCE_MEAN_VALUE = 1;
     /**
-     *
-     *
      * 
      * Reduce by computing the minimum value across time series for each
      * alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics
@@ -1099,8 +948,6 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int REDUCE_MIN_VALUE = 2;
     /**
-     *
-     *
      * 
      * Reduce by computing the maximum value across time series for each
      * alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics
@@ -1112,8 +959,6 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int REDUCE_MAX_VALUE = 3;
     /**
-     *
-     *
      * 
      * Reduce by computing the sum across time series for each
      * alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics
@@ -1125,8 +970,6 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int REDUCE_SUM_VALUE = 4;
     /**
-     *
-     *
      * 
      * Reduce by computing the standard deviation across time series
      * for each alignment period. This reducer is valid for `DELTA` and
@@ -1138,8 +981,6 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int REDUCE_STDDEV_VALUE = 5;
     /**
-     *
-     *
      * 
      * Reduce by computing the number of data points across time series
      * for each alignment period. This reducer is valid for `DELTA` and
@@ -1151,8 +992,6 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int REDUCE_COUNT_VALUE = 6;
     /**
-     *
-     *
      * 
      * Reduce by computing the number of `True`-valued data points across time
      * series for each alignment period. This reducer is valid for `DELTA` and
@@ -1164,8 +1003,6 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int REDUCE_COUNT_TRUE_VALUE = 7;
     /**
-     *
-     *
      * 
      * Reduce by computing the number of `False`-valued data points across time
      * series for each alignment period. This reducer is valid for `DELTA` and
@@ -1177,8 +1014,6 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int REDUCE_COUNT_FALSE_VALUE = 15;
     /**
-     *
-     *
      * 
      * Reduce by computing the ratio of the number of `True`-valued data points
      * to the total number of data points for each alignment period. This
@@ -1191,8 +1026,6 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int REDUCE_FRACTION_TRUE_VALUE = 8;
     /**
-     *
-     *
      * 
      * Reduce by computing the [99th
      * percentile](https://en.wikipedia.org/wiki/Percentile) of data points
@@ -1205,8 +1038,6 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int REDUCE_PERCENTILE_99_VALUE = 9;
     /**
-     *
-     *
      * 
      * Reduce by computing the [95th
      * percentile](https://en.wikipedia.org/wiki/Percentile) of data points
@@ -1219,8 +1050,6 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int REDUCE_PERCENTILE_95_VALUE = 10;
     /**
-     *
-     *
      * 
      * Reduce by computing the [50th
      * percentile](https://en.wikipedia.org/wiki/Percentile) of data points
@@ -1233,8 +1062,6 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int REDUCE_PERCENTILE_50_VALUE = 11;
     /**
-     *
-     *
      * 
      * Reduce by computing the [5th
      * percentile](https://en.wikipedia.org/wiki/Percentile) of data points
@@ -1247,6 +1074,7 @@ public enum Reducer implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int REDUCE_PERCENTILE_05_VALUE = 12;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -1271,71 +1099,60 @@ public static Reducer valueOf(int value) {
      */
     public static Reducer forNumber(int value) {
       switch (value) {
-        case 0:
-          return REDUCE_NONE;
-        case 1:
-          return REDUCE_MEAN;
-        case 2:
-          return REDUCE_MIN;
-        case 3:
-          return REDUCE_MAX;
-        case 4:
-          return REDUCE_SUM;
-        case 5:
-          return REDUCE_STDDEV;
-        case 6:
-          return REDUCE_COUNT;
-        case 7:
-          return REDUCE_COUNT_TRUE;
-        case 15:
-          return REDUCE_COUNT_FALSE;
-        case 8:
-          return REDUCE_FRACTION_TRUE;
-        case 9:
-          return REDUCE_PERCENTILE_99;
-        case 10:
-          return REDUCE_PERCENTILE_95;
-        case 11:
-          return REDUCE_PERCENTILE_50;
-        case 12:
-          return REDUCE_PERCENTILE_05;
-        default:
-          return null;
+        case 0: return REDUCE_NONE;
+        case 1: return REDUCE_MEAN;
+        case 2: return REDUCE_MIN;
+        case 3: return REDUCE_MAX;
+        case 4: return REDUCE_SUM;
+        case 5: return REDUCE_STDDEV;
+        case 6: return REDUCE_COUNT;
+        case 7: return REDUCE_COUNT_TRUE;
+        case 15: return REDUCE_COUNT_FALSE;
+        case 8: return REDUCE_FRACTION_TRUE;
+        case 9: return REDUCE_PERCENTILE_99;
+        case 10: return REDUCE_PERCENTILE_95;
+        case 11: return REDUCE_PERCENTILE_50;
+        case 12: return REDUCE_PERCENTILE_05;
+        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<
+        Reducer> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Reducer findValueByNumber(int number) {
+              return Reducer.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Reducer findValueByNumber(int number) {
-            return Reducer.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.monitoring.v3.Aggregation.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final Reducer[] VALUES = values();
 
-    public static Reducer valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Reducer 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;
@@ -1355,8 +1172,6 @@ private Reducer(int value) {
   public static final int ALIGNMENT_PERIOD_FIELD_NUMBER = 1;
   private com.google.protobuf.Duration alignmentPeriod_;
   /**
-   *
-   *
    * 
    * The `alignment_period` specifies a time interval, in seconds, that is used
    * to divide the data in all the
@@ -1372,7 +1187,6 @@ private Reducer(int value) {
    * 
* * .google.protobuf.Duration alignment_period = 1; - * * @return Whether the alignmentPeriod field is set. */ @java.lang.Override @@ -1380,8 +1194,6 @@ public boolean hasAlignmentPeriod() { return alignmentPeriod_ != null; } /** - * - * *
    * The `alignment_period` specifies a time interval, in seconds, that is used
    * to divide the data in all the
@@ -1397,18 +1209,13 @@ public boolean hasAlignmentPeriod() {
    * 
* * .google.protobuf.Duration alignment_period = 1; - * * @return The alignmentPeriod. */ @java.lang.Override public com.google.protobuf.Duration getAlignmentPeriod() { - return alignmentPeriod_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : alignmentPeriod_; + return alignmentPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : alignmentPeriod_; } /** - * - * *
    * The `alignment_period` specifies a time interval, in seconds, that is used
    * to divide the data in all the
@@ -1433,8 +1240,6 @@ public com.google.protobuf.DurationOrBuilder getAlignmentPeriodOrBuilder() {
   public static final int PER_SERIES_ALIGNER_FIELD_NUMBER = 2;
   private int perSeriesAligner_;
   /**
-   *
-   *
    * 
    * An `Aligner` describes how to bring the data points in a single
    * time series into temporal alignment. Except for `ALIGN_NONE`, all
@@ -1453,16 +1258,12 @@ public com.google.protobuf.DurationOrBuilder getAlignmentPeriodOrBuilder() {
    * 
* * .google.monitoring.v3.Aggregation.Aligner per_series_aligner = 2; - * * @return The enum numeric value on the wire for perSeriesAligner. */ - @java.lang.Override - public int getPerSeriesAlignerValue() { + @java.lang.Override public int getPerSeriesAlignerValue() { return perSeriesAligner_; } /** - * - * *
    * An `Aligner` describes how to bring the data points in a single
    * time series into temporal alignment. Except for `ALIGN_NONE`, all
@@ -1481,22 +1282,17 @@ public int getPerSeriesAlignerValue() {
    * 
* * .google.monitoring.v3.Aggregation.Aligner per_series_aligner = 2; - * * @return The perSeriesAligner. */ - @java.lang.Override - public com.google.monitoring.v3.Aggregation.Aligner getPerSeriesAligner() { + @java.lang.Override public com.google.monitoring.v3.Aggregation.Aligner getPerSeriesAligner() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.Aggregation.Aligner result = - com.google.monitoring.v3.Aggregation.Aligner.valueOf(perSeriesAligner_); + com.google.monitoring.v3.Aggregation.Aligner result = com.google.monitoring.v3.Aggregation.Aligner.valueOf(perSeriesAligner_); return result == null ? com.google.monitoring.v3.Aggregation.Aligner.UNRECOGNIZED : result; } public static final int CROSS_SERIES_REDUCER_FIELD_NUMBER = 4; private int crossSeriesReducer_; /** - * - * *
    * The reduction operation to be used to combine time series into a single
    * time series, where the value of each data point in the resulting series is
@@ -1513,16 +1309,12 @@ public com.google.monitoring.v3.Aggregation.Aligner getPerSeriesAligner() {
    * 
* * .google.monitoring.v3.Aggregation.Reducer cross_series_reducer = 4; - * * @return The enum numeric value on the wire for crossSeriesReducer. */ - @java.lang.Override - public int getCrossSeriesReducerValue() { + @java.lang.Override public int getCrossSeriesReducerValue() { return crossSeriesReducer_; } /** - * - * *
    * The reduction operation to be used to combine time series into a single
    * time series, where the value of each data point in the resulting series is
@@ -1539,22 +1331,17 @@ public int getCrossSeriesReducerValue() {
    * 
* * .google.monitoring.v3.Aggregation.Reducer cross_series_reducer = 4; - * * @return The crossSeriesReducer. */ - @java.lang.Override - public com.google.monitoring.v3.Aggregation.Reducer getCrossSeriesReducer() { + @java.lang.Override public com.google.monitoring.v3.Aggregation.Reducer getCrossSeriesReducer() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.Aggregation.Reducer result = - com.google.monitoring.v3.Aggregation.Reducer.valueOf(crossSeriesReducer_); + com.google.monitoring.v3.Aggregation.Reducer result = com.google.monitoring.v3.Aggregation.Reducer.valueOf(crossSeriesReducer_); return result == null ? com.google.monitoring.v3.Aggregation.Reducer.UNRECOGNIZED : result; } public static final int GROUP_BY_FIELDS_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList groupByFields_; /** - * - * *
    * The set of fields to preserve when `cross_series_reducer` is
    * specified. The `group_by_fields` determine how the time series are
@@ -1573,15 +1360,13 @@ public com.google.monitoring.v3.Aggregation.Reducer getCrossSeriesReducer() {
    * 
* * repeated string group_by_fields = 5; - * * @return A list containing the groupByFields. */ - public com.google.protobuf.ProtocolStringList getGroupByFieldsList() { + public com.google.protobuf.ProtocolStringList + getGroupByFieldsList() { return groupByFields_; } /** - * - * *
    * The set of fields to preserve when `cross_series_reducer` is
    * specified. The `group_by_fields` determine how the time series are
@@ -1600,15 +1385,12 @@ public com.google.protobuf.ProtocolStringList getGroupByFieldsList() {
    * 
* * repeated string group_by_fields = 5; - * * @return The count of groupByFields. */ public int getGroupByFieldsCount() { return groupByFields_.size(); } /** - * - * *
    * The set of fields to preserve when `cross_series_reducer` is
    * specified. The `group_by_fields` determine how the time series are
@@ -1627,7 +1409,6 @@ public int getGroupByFieldsCount() {
    * 
* * repeated string group_by_fields = 5; - * * @param index The index of the element to return. * @return The groupByFields at the given index. */ @@ -1635,8 +1416,6 @@ public java.lang.String getGroupByFields(int index) { return groupByFields_.get(index); } /** - * - * *
    * The set of fields to preserve when `cross_series_reducer` is
    * specified. The `group_by_fields` determine how the time series are
@@ -1655,16 +1434,15 @@ public java.lang.String getGroupByFields(int index) {
    * 
* * repeated string group_by_fields = 5; - * * @param index The index of the value to return. * @return The bytes of the groupByFields at the given index. */ - public com.google.protobuf.ByteString getGroupByFieldsBytes(int index) { + public com.google.protobuf.ByteString + getGroupByFieldsBytes(int index) { return groupByFields_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1676,15 +1454,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 (alignmentPeriod_ != null) { output.writeMessage(1, getAlignmentPeriod()); } if (perSeriesAligner_ != com.google.monitoring.v3.Aggregation.Aligner.ALIGN_NONE.getNumber()) { output.writeEnum(2, perSeriesAligner_); } - if (crossSeriesReducer_ - != com.google.monitoring.v3.Aggregation.Reducer.REDUCE_NONE.getNumber()) { + if (crossSeriesReducer_ != com.google.monitoring.v3.Aggregation.Reducer.REDUCE_NONE.getNumber()) { output.writeEnum(4, crossSeriesReducer_); } for (int i = 0; i < groupByFields_.size(); i++) { @@ -1700,14 +1478,16 @@ public int getSerializedSize() { size = 0; if (alignmentPeriod_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAlignmentPeriod()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getAlignmentPeriod()); } if (perSeriesAligner_ != com.google.monitoring.v3.Aggregation.Aligner.ALIGN_NONE.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, perSeriesAligner_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, perSeriesAligner_); } - if (crossSeriesReducer_ - != com.google.monitoring.v3.Aggregation.Reducer.REDUCE_NONE.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, crossSeriesReducer_); + if (crossSeriesReducer_ != com.google.monitoring.v3.Aggregation.Reducer.REDUCE_NONE.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, crossSeriesReducer_); } { int dataSize = 0; @@ -1725,7 +1505,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.Aggregation)) { return super.equals(obj); @@ -1734,11 +1514,13 @@ public boolean equals(final java.lang.Object obj) { if (hasAlignmentPeriod() != other.hasAlignmentPeriod()) return false; if (hasAlignmentPeriod()) { - if (!getAlignmentPeriod().equals(other.getAlignmentPeriod())) return false; + if (!getAlignmentPeriod() + .equals(other.getAlignmentPeriod())) return false; } if (perSeriesAligner_ != other.perSeriesAligner_) return false; if (crossSeriesReducer_ != other.crossSeriesReducer_) return false; - if (!getGroupByFieldsList().equals(other.getGroupByFieldsList())) return false; + if (!getGroupByFieldsList() + .equals(other.getGroupByFieldsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1767,103 +1549,97 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.Aggregation parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.Aggregation parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.Aggregation parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.Aggregation parseFrom(com.google.protobuf.ByteString data) + public static com.google.monitoring.v3.Aggregation parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.Aggregation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.Aggregation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.Aggregation parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.Aggregation 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.monitoring.v3.Aggregation parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.Aggregation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.Aggregation parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.Aggregation parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.Aggregation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.Aggregation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Describes how to combine multiple time series to provide a different view of
    * the data.  Aggregation of time series is done in two steps. First, each time
@@ -1892,23 +1668,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.monitoring.v3.Aggregation}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.Aggregation)
       com.google.monitoring.v3.AggregationOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.monitoring.v3.CommonProto
-          .internal_static_google_monitoring_v3_Aggregation_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.monitoring.v3.CommonProto.internal_static_google_monitoring_v3_Aggregation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.CommonProto
-          .internal_static_google_monitoring_v3_Aggregation_fieldAccessorTable
+      return com.google.monitoring.v3.CommonProto.internal_static_google_monitoring_v3_Aggregation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.Aggregation.class,
-              com.google.monitoring.v3.Aggregation.Builder.class);
+              com.google.monitoring.v3.Aggregation.class, com.google.monitoring.v3.Aggregation.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.Aggregation.newBuilder()
@@ -1916,15 +1690,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1944,9 +1719,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.monitoring.v3.CommonProto
-          .internal_static_google_monitoring_v3_Aggregation_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.monitoring.v3.CommonProto.internal_static_google_monitoring_v3_Aggregation_descriptor;
     }
 
     @java.lang.Override
@@ -1987,39 +1762,38 @@ public com.google.monitoring.v3.Aggregation 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.monitoring.v3.Aggregation) {
-        return mergeFrom((com.google.monitoring.v3.Aggregation) other);
+        return mergeFrom((com.google.monitoring.v3.Aggregation)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2075,18 +1849,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private com.google.protobuf.Duration alignmentPeriod_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        alignmentPeriodBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> alignmentPeriodBuilder_;
     /**
-     *
-     *
      * 
      * The `alignment_period` specifies a time interval, in seconds, that is used
      * to divide the data in all the
@@ -2102,15 +1870,12 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.Duration alignment_period = 1; - * * @return Whether the alignmentPeriod field is set. */ public boolean hasAlignmentPeriod() { return alignmentPeriodBuilder_ != null || alignmentPeriod_ != null; } /** - * - * *
      * The `alignment_period` specifies a time interval, in seconds, that is used
      * to divide the data in all the
@@ -2126,21 +1891,16 @@ public boolean hasAlignmentPeriod() {
      * 
* * .google.protobuf.Duration alignment_period = 1; - * * @return The alignmentPeriod. */ public com.google.protobuf.Duration getAlignmentPeriod() { if (alignmentPeriodBuilder_ == null) { - return alignmentPeriod_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : alignmentPeriod_; + return alignmentPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : alignmentPeriod_; } else { return alignmentPeriodBuilder_.getMessage(); } } /** - * - * *
      * The `alignment_period` specifies a time interval, in seconds, that is used
      * to divide the data in all the
@@ -2171,8 +1931,6 @@ public Builder setAlignmentPeriod(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The `alignment_period` specifies a time interval, in seconds, that is used
      * to divide the data in all the
@@ -2189,7 +1947,8 @@ public Builder setAlignmentPeriod(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration alignment_period = 1;
      */
-    public Builder setAlignmentPeriod(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setAlignmentPeriod(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (alignmentPeriodBuilder_ == null) {
         alignmentPeriod_ = builderForValue.build();
         onChanged();
@@ -2200,8 +1959,6 @@ public Builder setAlignmentPeriod(com.google.protobuf.Duration.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * The `alignment_period` specifies a time interval, in seconds, that is used
      * to divide the data in all the
@@ -2222,9 +1979,7 @@ public Builder mergeAlignmentPeriod(com.google.protobuf.Duration value) {
       if (alignmentPeriodBuilder_ == null) {
         if (alignmentPeriod_ != null) {
           alignmentPeriod_ =
-              com.google.protobuf.Duration.newBuilder(alignmentPeriod_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(alignmentPeriod_).mergeFrom(value).buildPartial();
         } else {
           alignmentPeriod_ = value;
         }
@@ -2236,8 +1991,6 @@ public Builder mergeAlignmentPeriod(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The `alignment_period` specifies a time interval, in seconds, that is used
      * to divide the data in all the
@@ -2266,8 +2019,6 @@ public Builder clearAlignmentPeriod() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The `alignment_period` specifies a time interval, in seconds, that is used
      * to divide the data in all the
@@ -2285,13 +2036,11 @@ public Builder clearAlignmentPeriod() {
      * .google.protobuf.Duration alignment_period = 1;
      */
     public com.google.protobuf.Duration.Builder getAlignmentPeriodBuilder() {
-
+      
       onChanged();
       return getAlignmentPeriodFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The `alignment_period` specifies a time interval, in seconds, that is used
      * to divide the data in all the
@@ -2312,14 +2061,11 @@ public com.google.protobuf.DurationOrBuilder getAlignmentPeriodOrBuilder() {
       if (alignmentPeriodBuilder_ != null) {
         return alignmentPeriodBuilder_.getMessageOrBuilder();
       } else {
-        return alignmentPeriod_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : alignmentPeriod_;
+        return alignmentPeriod_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : alignmentPeriod_;
       }
     }
     /**
-     *
-     *
      * 
      * The `alignment_period` specifies a time interval, in seconds, that is used
      * to divide the data in all the
@@ -2337,17 +2083,14 @@ public com.google.protobuf.DurationOrBuilder getAlignmentPeriodOrBuilder() {
      * .google.protobuf.Duration alignment_period = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getAlignmentPeriodFieldBuilder() {
       if (alignmentPeriodBuilder_ == null) {
-        alignmentPeriodBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getAlignmentPeriod(), getParentForChildren(), isClean());
+        alignmentPeriodBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getAlignmentPeriod(),
+                getParentForChildren(),
+                isClean());
         alignmentPeriod_ = null;
       }
       return alignmentPeriodBuilder_;
@@ -2355,8 +2098,6 @@ public com.google.protobuf.DurationOrBuilder getAlignmentPeriodOrBuilder() {
 
     private int perSeriesAligner_ = 0;
     /**
-     *
-     *
      * 
      * An `Aligner` describes how to bring the data points in a single
      * time series into temporal alignment. Except for `ALIGN_NONE`, all
@@ -2375,16 +2116,12 @@ public com.google.protobuf.DurationOrBuilder getAlignmentPeriodOrBuilder() {
      * 
* * .google.monitoring.v3.Aggregation.Aligner per_series_aligner = 2; - * * @return The enum numeric value on the wire for perSeriesAligner. */ - @java.lang.Override - public int getPerSeriesAlignerValue() { + @java.lang.Override public int getPerSeriesAlignerValue() { return perSeriesAligner_; } /** - * - * *
      * An `Aligner` describes how to bring the data points in a single
      * time series into temporal alignment. Except for `ALIGN_NONE`, all
@@ -2403,19 +2140,16 @@ public int getPerSeriesAlignerValue() {
      * 
* * .google.monitoring.v3.Aggregation.Aligner per_series_aligner = 2; - * * @param value The enum numeric value on the wire for perSeriesAligner to set. * @return This builder for chaining. */ public Builder setPerSeriesAlignerValue(int value) { - + perSeriesAligner_ = value; onChanged(); return this; } /** - * - * *
      * An `Aligner` describes how to bring the data points in a single
      * time series into temporal alignment. Except for `ALIGN_NONE`, all
@@ -2434,19 +2168,15 @@ public Builder setPerSeriesAlignerValue(int value) {
      * 
* * .google.monitoring.v3.Aggregation.Aligner per_series_aligner = 2; - * * @return The perSeriesAligner. */ @java.lang.Override public com.google.monitoring.v3.Aggregation.Aligner getPerSeriesAligner() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.Aggregation.Aligner result = - com.google.monitoring.v3.Aggregation.Aligner.valueOf(perSeriesAligner_); + com.google.monitoring.v3.Aggregation.Aligner result = com.google.monitoring.v3.Aggregation.Aligner.valueOf(perSeriesAligner_); return result == null ? com.google.monitoring.v3.Aggregation.Aligner.UNRECOGNIZED : result; } /** - * - * *
      * An `Aligner` describes how to bring the data points in a single
      * time series into temporal alignment. Except for `ALIGN_NONE`, all
@@ -2465,7 +2195,6 @@ public com.google.monitoring.v3.Aggregation.Aligner getPerSeriesAligner() {
      * 
* * .google.monitoring.v3.Aggregation.Aligner per_series_aligner = 2; - * * @param value The perSeriesAligner to set. * @return This builder for chaining. */ @@ -2473,14 +2202,12 @@ public Builder setPerSeriesAligner(com.google.monitoring.v3.Aggregation.Aligner if (value == null) { throw new NullPointerException(); } - + perSeriesAligner_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * An `Aligner` describes how to bring the data points in a single
      * time series into temporal alignment. Except for `ALIGN_NONE`, all
@@ -2499,11 +2226,10 @@ public Builder setPerSeriesAligner(com.google.monitoring.v3.Aggregation.Aligner
      * 
* * .google.monitoring.v3.Aggregation.Aligner per_series_aligner = 2; - * * @return This builder for chaining. */ public Builder clearPerSeriesAligner() { - + perSeriesAligner_ = 0; onChanged(); return this; @@ -2511,8 +2237,6 @@ public Builder clearPerSeriesAligner() { private int crossSeriesReducer_ = 0; /** - * - * *
      * The reduction operation to be used to combine time series into a single
      * time series, where the value of each data point in the resulting series is
@@ -2529,16 +2253,12 @@ public Builder clearPerSeriesAligner() {
      * 
* * .google.monitoring.v3.Aggregation.Reducer cross_series_reducer = 4; - * * @return The enum numeric value on the wire for crossSeriesReducer. */ - @java.lang.Override - public int getCrossSeriesReducerValue() { + @java.lang.Override public int getCrossSeriesReducerValue() { return crossSeriesReducer_; } /** - * - * *
      * The reduction operation to be used to combine time series into a single
      * time series, where the value of each data point in the resulting series is
@@ -2555,19 +2275,16 @@ public int getCrossSeriesReducerValue() {
      * 
* * .google.monitoring.v3.Aggregation.Reducer cross_series_reducer = 4; - * * @param value The enum numeric value on the wire for crossSeriesReducer to set. * @return This builder for chaining. */ public Builder setCrossSeriesReducerValue(int value) { - + crossSeriesReducer_ = value; onChanged(); return this; } /** - * - * *
      * The reduction operation to be used to combine time series into a single
      * time series, where the value of each data point in the resulting series is
@@ -2584,19 +2301,15 @@ public Builder setCrossSeriesReducerValue(int value) {
      * 
* * .google.monitoring.v3.Aggregation.Reducer cross_series_reducer = 4; - * * @return The crossSeriesReducer. */ @java.lang.Override public com.google.monitoring.v3.Aggregation.Reducer getCrossSeriesReducer() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.Aggregation.Reducer result = - com.google.monitoring.v3.Aggregation.Reducer.valueOf(crossSeriesReducer_); + com.google.monitoring.v3.Aggregation.Reducer result = com.google.monitoring.v3.Aggregation.Reducer.valueOf(crossSeriesReducer_); return result == null ? com.google.monitoring.v3.Aggregation.Reducer.UNRECOGNIZED : result; } /** - * - * *
      * The reduction operation to be used to combine time series into a single
      * time series, where the value of each data point in the resulting series is
@@ -2613,7 +2326,6 @@ public com.google.monitoring.v3.Aggregation.Reducer getCrossSeriesReducer() {
      * 
* * .google.monitoring.v3.Aggregation.Reducer cross_series_reducer = 4; - * * @param value The crossSeriesReducer to set. * @return This builder for chaining. */ @@ -2621,14 +2333,12 @@ public Builder setCrossSeriesReducer(com.google.monitoring.v3.Aggregation.Reduce if (value == null) { throw new NullPointerException(); } - + crossSeriesReducer_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The reduction operation to be used to combine time series into a single
      * time series, where the value of each data point in the resulting series is
@@ -2645,28 +2355,23 @@ public Builder setCrossSeriesReducer(com.google.monitoring.v3.Aggregation.Reduce
      * 
* * .google.monitoring.v3.Aggregation.Reducer cross_series_reducer = 4; - * * @return This builder for chaining. */ public Builder clearCrossSeriesReducer() { - + crossSeriesReducer_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList groupByFields_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList groupByFields_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureGroupByFieldsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { groupByFields_ = new com.google.protobuf.LazyStringArrayList(groupByFields_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * The set of fields to preserve when `cross_series_reducer` is
      * specified. The `group_by_fields` determine how the time series are
@@ -2685,15 +2390,13 @@ private void ensureGroupByFieldsIsMutable() {
      * 
* * repeated string group_by_fields = 5; - * * @return A list containing the groupByFields. */ - public com.google.protobuf.ProtocolStringList getGroupByFieldsList() { + public com.google.protobuf.ProtocolStringList + getGroupByFieldsList() { return groupByFields_.getUnmodifiableView(); } /** - * - * *
      * The set of fields to preserve when `cross_series_reducer` is
      * specified. The `group_by_fields` determine how the time series are
@@ -2712,15 +2415,12 @@ public com.google.protobuf.ProtocolStringList getGroupByFieldsList() {
      * 
* * repeated string group_by_fields = 5; - * * @return The count of groupByFields. */ public int getGroupByFieldsCount() { return groupByFields_.size(); } /** - * - * *
      * The set of fields to preserve when `cross_series_reducer` is
      * specified. The `group_by_fields` determine how the time series are
@@ -2739,7 +2439,6 @@ public int getGroupByFieldsCount() {
      * 
* * repeated string group_by_fields = 5; - * * @param index The index of the element to return. * @return The groupByFields at the given index. */ @@ -2747,8 +2446,6 @@ public java.lang.String getGroupByFields(int index) { return groupByFields_.get(index); } /** - * - * *
      * The set of fields to preserve when `cross_series_reducer` is
      * specified. The `group_by_fields` determine how the time series are
@@ -2767,16 +2464,14 @@ public java.lang.String getGroupByFields(int index) {
      * 
* * repeated string group_by_fields = 5; - * * @param index The index of the value to return. * @return The bytes of the groupByFields at the given index. */ - public com.google.protobuf.ByteString getGroupByFieldsBytes(int index) { + public com.google.protobuf.ByteString + getGroupByFieldsBytes(int index) { return groupByFields_.getByteString(index); } /** - * - * *
      * The set of fields to preserve when `cross_series_reducer` is
      * specified. The `group_by_fields` determine how the time series are
@@ -2795,23 +2490,21 @@ public com.google.protobuf.ByteString getGroupByFieldsBytes(int index) {
      * 
* * repeated string group_by_fields = 5; - * * @param index The index to set the value at. * @param value The groupByFields to set. * @return This builder for chaining. */ - public Builder setGroupByFields(int index, java.lang.String value) { + public Builder setGroupByFields( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGroupByFieldsIsMutable(); + throw new NullPointerException(); + } + ensureGroupByFieldsIsMutable(); groupByFields_.set(index, value); onChanged(); return this; } /** - * - * *
      * The set of fields to preserve when `cross_series_reducer` is
      * specified. The `group_by_fields` determine how the time series are
@@ -2830,22 +2523,20 @@ public Builder setGroupByFields(int index, java.lang.String value) {
      * 
* * repeated string group_by_fields = 5; - * * @param value The groupByFields to add. * @return This builder for chaining. */ - public Builder addGroupByFields(java.lang.String value) { + public Builder addGroupByFields( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGroupByFieldsIsMutable(); + throw new NullPointerException(); + } + ensureGroupByFieldsIsMutable(); groupByFields_.add(value); onChanged(); return this; } /** - * - * *
      * The set of fields to preserve when `cross_series_reducer` is
      * specified. The `group_by_fields` determine how the time series are
@@ -2864,19 +2555,18 @@ public Builder addGroupByFields(java.lang.String value) {
      * 
* * repeated string group_by_fields = 5; - * * @param values The groupByFields to add. * @return This builder for chaining. */ - public Builder addAllGroupByFields(java.lang.Iterable values) { + public Builder addAllGroupByFields( + java.lang.Iterable values) { ensureGroupByFieldsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, groupByFields_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, groupByFields_); onChanged(); return this; } /** - * - * *
      * The set of fields to preserve when `cross_series_reducer` is
      * specified. The `group_by_fields` determine how the time series are
@@ -2895,7 +2585,6 @@ public Builder addAllGroupByFields(java.lang.Iterable values)
      * 
* * repeated string group_by_fields = 5; - * * @return This builder for chaining. */ public Builder clearGroupByFields() { @@ -2905,8 +2594,6 @@ public Builder clearGroupByFields() { return this; } /** - * - * *
      * The set of fields to preserve when `cross_series_reducer` is
      * specified. The `group_by_fields` determine how the time series are
@@ -2925,23 +2612,23 @@ public Builder clearGroupByFields() {
      * 
* * repeated string group_by_fields = 5; - * * @param value The bytes of the groupByFields to add. * @return This builder for chaining. */ - public Builder addGroupByFieldsBytes(com.google.protobuf.ByteString value) { + public Builder addGroupByFieldsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureGroupByFieldsIsMutable(); groupByFields_.add(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); } @@ -2951,12 +2638,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.Aggregation) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.Aggregation) private static final com.google.monitoring.v3.Aggregation DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.Aggregation(); } @@ -2965,16 +2652,16 @@ public static com.google.monitoring.v3.Aggregation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Aggregation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Aggregation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Aggregation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Aggregation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2989,4 +2676,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.Aggregation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AggregationOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AggregationOrBuilder.java similarity index 92% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AggregationOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AggregationOrBuilder.java index bc43c732..474d7450 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AggregationOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AggregationOrBuilder.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/monitoring/v3/common.proto package com.google.monitoring.v3; -public interface AggregationOrBuilder - extends +public interface AggregationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.Aggregation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The `alignment_period` specifies a time interval, in seconds, that is used
    * to divide the data in all the
@@ -41,13 +23,10 @@ public interface AggregationOrBuilder
    * 
* * .google.protobuf.Duration alignment_period = 1; - * * @return Whether the alignmentPeriod field is set. */ boolean hasAlignmentPeriod(); /** - * - * *
    * The `alignment_period` specifies a time interval, in seconds, that is used
    * to divide the data in all the
@@ -63,13 +42,10 @@ public interface AggregationOrBuilder
    * 
* * .google.protobuf.Duration alignment_period = 1; - * * @return The alignmentPeriod. */ com.google.protobuf.Duration getAlignmentPeriod(); /** - * - * *
    * The `alignment_period` specifies a time interval, in seconds, that is used
    * to divide the data in all the
@@ -89,8 +65,6 @@ public interface AggregationOrBuilder
   com.google.protobuf.DurationOrBuilder getAlignmentPeriodOrBuilder();
 
   /**
-   *
-   *
    * 
    * An `Aligner` describes how to bring the data points in a single
    * time series into temporal alignment. Except for `ALIGN_NONE`, all
@@ -109,13 +83,10 @@ public interface AggregationOrBuilder
    * 
* * .google.monitoring.v3.Aggregation.Aligner per_series_aligner = 2; - * * @return The enum numeric value on the wire for perSeriesAligner. */ int getPerSeriesAlignerValue(); /** - * - * *
    * An `Aligner` describes how to bring the data points in a single
    * time series into temporal alignment. Except for `ALIGN_NONE`, all
@@ -134,14 +105,11 @@ public interface AggregationOrBuilder
    * 
* * .google.monitoring.v3.Aggregation.Aligner per_series_aligner = 2; - * * @return The perSeriesAligner. */ com.google.monitoring.v3.Aggregation.Aligner getPerSeriesAligner(); /** - * - * *
    * The reduction operation to be used to combine time series into a single
    * time series, where the value of each data point in the resulting series is
@@ -158,13 +126,10 @@ public interface AggregationOrBuilder
    * 
* * .google.monitoring.v3.Aggregation.Reducer cross_series_reducer = 4; - * * @return The enum numeric value on the wire for crossSeriesReducer. */ int getCrossSeriesReducerValue(); /** - * - * *
    * The reduction operation to be used to combine time series into a single
    * time series, where the value of each data point in the resulting series is
@@ -181,14 +146,11 @@ public interface AggregationOrBuilder
    * 
* * .google.monitoring.v3.Aggregation.Reducer cross_series_reducer = 4; - * * @return The crossSeriesReducer. */ com.google.monitoring.v3.Aggregation.Reducer getCrossSeriesReducer(); /** - * - * *
    * The set of fields to preserve when `cross_series_reducer` is
    * specified. The `group_by_fields` determine how the time series are
@@ -207,13 +169,11 @@ public interface AggregationOrBuilder
    * 
* * repeated string group_by_fields = 5; - * * @return A list containing the groupByFields. */ - java.util.List getGroupByFieldsList(); + java.util.List + getGroupByFieldsList(); /** - * - * *
    * The set of fields to preserve when `cross_series_reducer` is
    * specified. The `group_by_fields` determine how the time series are
@@ -232,13 +192,10 @@ public interface AggregationOrBuilder
    * 
* * repeated string group_by_fields = 5; - * * @return The count of groupByFields. */ int getGroupByFieldsCount(); /** - * - * *
    * The set of fields to preserve when `cross_series_reducer` is
    * specified. The `group_by_fields` determine how the time series are
@@ -257,14 +214,11 @@ public interface AggregationOrBuilder
    * 
* * repeated string group_by_fields = 5; - * * @param index The index of the element to return. * @return The groupByFields at the given index. */ java.lang.String getGroupByFields(int index); /** - * - * *
    * The set of fields to preserve when `cross_series_reducer` is
    * specified. The `group_by_fields` determine how the time series are
@@ -283,9 +237,9 @@ public interface AggregationOrBuilder
    * 
* * repeated string group_by_fields = 5; - * * @param index The index of the value to return. * @return The bytes of the groupByFields at the given index. */ - com.google.protobuf.ByteString getGroupByFieldsBytes(int index); + com.google.protobuf.ByteString + getGroupByFieldsBytes(int index); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicy.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicy.java similarity index 78% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicy.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicy.java index be1094a2..1e826bc2 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicy.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicy.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/monitoring/v3/alert.proto package com.google.monitoring.v3; /** - * - * *
  * A description of the conditions under which some aspect of your system is
  * considered to be "unhealthy" and the ways to notify people or services about
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.monitoring.v3.AlertPolicy}
  */
-public final class AlertPolicy extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AlertPolicy extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.AlertPolicy)
     AlertPolicyOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AlertPolicy.newBuilder() to construct.
   private AlertPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AlertPolicy() {
     name_ = "";
     displayName_ = "";
@@ -50,15 +32,16 @@ private AlertPolicy() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AlertPolicy();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AlertPolicy(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -78,172 +61,147 @@ private AlertPolicy(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              displayName_ = s;
-              break;
-            }
-          case 48:
-            {
-              int rawValue = input.readEnum();
+            displayName_ = s;
+            break;
+          }
+          case 48: {
+            int rawValue = input.readEnum();
 
-              combiner_ = rawValue;
-              break;
+            combiner_ = rawValue;
+            break;
+          }
+          case 82: {
+            com.google.monitoring.v3.MutationRecord.Builder subBuilder = null;
+            if (creationRecord_ != null) {
+              subBuilder = creationRecord_.toBuilder();
             }
-          case 82:
-            {
-              com.google.monitoring.v3.MutationRecord.Builder subBuilder = null;
-              if (creationRecord_ != null) {
-                subBuilder = creationRecord_.toBuilder();
-              }
-              creationRecord_ =
-                  input.readMessage(
-                      com.google.monitoring.v3.MutationRecord.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(creationRecord_);
-                creationRecord_ = subBuilder.buildPartial();
-              }
-
-              break;
+            creationRecord_ = input.readMessage(com.google.monitoring.v3.MutationRecord.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(creationRecord_);
+              creationRecord_ = subBuilder.buildPartial();
             }
-          case 90:
-            {
-              com.google.monitoring.v3.MutationRecord.Builder subBuilder = null;
-              if (mutationRecord_ != null) {
-                subBuilder = mutationRecord_.toBuilder();
-              }
-              mutationRecord_ =
-                  input.readMessage(
-                      com.google.monitoring.v3.MutationRecord.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(mutationRecord_);
-                mutationRecord_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 90: {
+            com.google.monitoring.v3.MutationRecord.Builder subBuilder = null;
+            if (mutationRecord_ != null) {
+              subBuilder = mutationRecord_.toBuilder();
             }
-          case 98:
-            {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                conditions_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000002;
-              }
-              conditions_.add(
-                  input.readMessage(
-                      com.google.monitoring.v3.AlertPolicy.Condition.parser(), extensionRegistry));
-              break;
+            mutationRecord_ = input.readMessage(com.google.monitoring.v3.MutationRecord.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(mutationRecord_);
+              mutationRecord_ = subBuilder.buildPartial();
             }
-          case 106:
-            {
-              com.google.monitoring.v3.AlertPolicy.Documentation.Builder subBuilder = null;
-              if (documentation_ != null) {
-                subBuilder = documentation_.toBuilder();
-              }
-              documentation_ =
-                  input.readMessage(
-                      com.google.monitoring.v3.AlertPolicy.Documentation.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(documentation_);
-                documentation_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 98: {
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              conditions_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000002;
             }
-          case 114:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                notificationChannels_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000004;
-              }
-              notificationChannels_.add(s);
-              break;
+            conditions_.add(
+                input.readMessage(com.google.monitoring.v3.AlertPolicy.Condition.parser(), extensionRegistry));
+            break;
+          }
+          case 106: {
+            com.google.monitoring.v3.AlertPolicy.Documentation.Builder subBuilder = null;
+            if (documentation_ != null) {
+              subBuilder = documentation_.toBuilder();
             }
-          case 130:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                userLabels_ =
-                    com.google.protobuf.MapField.newMapField(
-                        UserLabelsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry userLabels__ =
-                  input.readMessage(
-                      UserLabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                      extensionRegistry);
-              userLabels_.getMutableMap().put(userLabels__.getKey(), userLabels__.getValue());
-              break;
+            documentation_ = input.readMessage(com.google.monitoring.v3.AlertPolicy.Documentation.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(documentation_);
+              documentation_ = subBuilder.buildPartial();
             }
-          case 138:
-            {
-              com.google.protobuf.BoolValue.Builder subBuilder = null;
-              if (enabled_ != null) {
-                subBuilder = enabled_.toBuilder();
-              }
-              enabled_ =
-                  input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(enabled_);
-                enabled_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 114: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+              notificationChannels_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000004;
+            }
+            notificationChannels_.add(s);
+            break;
+          }
+          case 130: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              userLabels_ = com.google.protobuf.MapField.newMapField(
+                  UserLabelsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
+            }
+            com.google.protobuf.MapEntry
+            userLabels__ = input.readMessage(
+                UserLabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            userLabels_.getMutableMap().put(
+                userLabels__.getKey(), userLabels__.getValue());
+            break;
+          }
+          case 138: {
+            com.google.protobuf.BoolValue.Builder subBuilder = null;
+            if (enabled_ != null) {
+              subBuilder = enabled_.toBuilder();
+            }
+            enabled_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(enabled_);
+              enabled_ = subBuilder.buildPartial();
             }
-          case 146:
-            {
-              com.google.rpc.Status.Builder subBuilder = null;
-              if (validity_ != null) {
-                subBuilder = validity_.toBuilder();
-              }
-              validity_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(validity_);
-                validity_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 146: {
+            com.google.rpc.Status.Builder subBuilder = null;
+            if (validity_ != null) {
+              subBuilder = validity_.toBuilder();
+            }
+            validity_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(validity_);
+              validity_ = subBuilder.buildPartial();
             }
-          case 170:
-            {
-              com.google.monitoring.v3.AlertPolicy.AlertStrategy.Builder subBuilder = null;
-              if (alertStrategy_ != null) {
-                subBuilder = alertStrategy_.toBuilder();
-              }
-              alertStrategy_ =
-                  input.readMessage(
-                      com.google.monitoring.v3.AlertPolicy.AlertStrategy.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(alertStrategy_);
-                alertStrategy_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 170: {
+            com.google.monitoring.v3.AlertPolicy.AlertStrategy.Builder subBuilder = null;
+            if (alertStrategy_ != null) {
+              subBuilder = alertStrategy_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            alertStrategy_ = input.readMessage(com.google.monitoring.v3.AlertPolicy.AlertStrategy.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(alertStrategy_);
+              alertStrategy_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000002) != 0)) {
         conditions_ = java.util.Collections.unmodifiableList(conditions_);
@@ -255,46 +213,41 @@ private AlertPolicy(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.monitoring.v3.AlertProto
-        .internal_static_google_monitoring_v3_AlertPolicy_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_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 16:
         return internalGetUserLabels();
       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.monitoring.v3.AlertProto
-        .internal_static_google_monitoring_v3_AlertPolicy_fieldAccessorTable
+    return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.AlertPolicy.class,
-            com.google.monitoring.v3.AlertPolicy.Builder.class);
+            com.google.monitoring.v3.AlertPolicy.class, com.google.monitoring.v3.AlertPolicy.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Operators for combining conditions.
    * 
* * Protobuf enum {@code google.monitoring.v3.AlertPolicy.ConditionCombinerType} */ - public enum ConditionCombinerType implements com.google.protobuf.ProtocolMessageEnum { + public enum ConditionCombinerType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * An unspecified combiner.
      * 
@@ -303,8 +256,6 @@ public enum ConditionCombinerType implements com.google.protobuf.ProtocolMessage */ COMBINE_UNSPECIFIED(0), /** - * - * *
      * Combine conditions using the logical `AND` operator. An
      * incident is created only if all the conditions are met
@@ -316,8 +267,6 @@ public enum ConditionCombinerType implements com.google.protobuf.ProtocolMessage
      */
     AND(1),
     /**
-     *
-     *
      * 
      * Combine conditions using the logical `OR` operator. An incident
      * is created if any of the listed conditions is met.
@@ -327,8 +276,6 @@ public enum ConditionCombinerType implements com.google.protobuf.ProtocolMessage
      */
     OR(2),
     /**
-     *
-     *
      * 
      * Combine conditions using logical `AND` operator, but unlike the regular
      * `AND` option, an incident is created only if all conditions are met
@@ -342,8 +289,6 @@ public enum ConditionCombinerType implements com.google.protobuf.ProtocolMessage
     ;
 
     /**
-     *
-     *
      * 
      * An unspecified combiner.
      * 
@@ -352,8 +297,6 @@ public enum ConditionCombinerType implements com.google.protobuf.ProtocolMessage */ public static final int COMBINE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Combine conditions using the logical `AND` operator. An
      * incident is created only if all the conditions are met
@@ -365,8 +308,6 @@ public enum ConditionCombinerType implements com.google.protobuf.ProtocolMessage
      */
     public static final int AND_VALUE = 1;
     /**
-     *
-     *
      * 
      * Combine conditions using the logical `OR` operator. An incident
      * is created if any of the listed conditions is met.
@@ -376,8 +317,6 @@ public enum ConditionCombinerType implements com.google.protobuf.ProtocolMessage
      */
     public static final int OR_VALUE = 2;
     /**
-     *
-     *
      * 
      * Combine conditions using logical `AND` operator, but unlike the regular
      * `AND` option, an incident is created only if all conditions are met
@@ -388,6 +327,7 @@ public enum ConditionCombinerType implements com.google.protobuf.ProtocolMessage
      */
     public static final int AND_WITH_MATCHING_RESOURCE_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -412,16 +352,11 @@ public static ConditionCombinerType valueOf(int value) {
      */
     public static ConditionCombinerType forNumber(int value) {
       switch (value) {
-        case 0:
-          return COMBINE_UNSPECIFIED;
-        case 1:
-          return AND;
-        case 2:
-          return OR;
-        case 3:
-          return AND_WITH_MATCHING_RESOURCE;
-        default:
-          return null;
+        case 0: return COMBINE_UNSPECIFIED;
+        case 1: return AND;
+        case 2: return OR;
+        case 3: return AND_WITH_MATCHING_RESOURCE;
+        default: return null;
       }
     }
 
@@ -429,28 +364,28 @@ public static ConditionCombinerType forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        ConditionCombinerType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public ConditionCombinerType findValueByNumber(int number) {
+              return ConditionCombinerType.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public ConditionCombinerType findValueByNumber(int number) {
-                return ConditionCombinerType.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.monitoring.v3.AlertPolicy.getDescriptor().getEnumTypes().get(0);
     }
 
@@ -459,7 +394,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static ConditionCombinerType 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;
@@ -476,14 +412,11 @@ private ConditionCombinerType(int value) {
     // @@protoc_insertion_point(enum_scope:google.monitoring.v3.AlertPolicy.ConditionCombinerType)
   }
 
-  public interface DocumentationOrBuilder
-      extends
+  public interface DocumentationOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.monitoring.v3.AlertPolicy.Documentation)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The text of the documentation, interpreted according to `mime_type`.
      * The content may not exceed 8,192 Unicode characters and may not exceed
@@ -492,13 +425,10 @@ public interface DocumentationOrBuilder
      * 
* * string content = 1; - * * @return The content. */ java.lang.String getContent(); /** - * - * *
      * The text of the documentation, interpreted according to `mime_type`.
      * The content may not exceed 8,192 Unicode characters and may not exceed
@@ -507,14 +437,12 @@ public interface DocumentationOrBuilder
      * 
* * string content = 1; - * * @return The bytes for content. */ - com.google.protobuf.ByteString getContentBytes(); + com.google.protobuf.ByteString + getContentBytes(); /** - * - * *
      * The format of the `content` field. Presently, only the value
      * `"text/markdown"` is supported. See
@@ -522,13 +450,10 @@ public interface DocumentationOrBuilder
      * 
* * string mime_type = 2; - * * @return The mimeType. */ java.lang.String getMimeType(); /** - * - * *
      * The format of the `content` field. Presently, only the value
      * `"text/markdown"` is supported. See
@@ -536,14 +461,12 @@ public interface DocumentationOrBuilder
      * 
* * string mime_type = 2; - * * @return The bytes for mimeType. */ - com.google.protobuf.ByteString getMimeTypeBytes(); + com.google.protobuf.ByteString + getMimeTypeBytes(); } /** - * - * *
    * A content string and a MIME type that describes the content string's
    * format.
@@ -551,16 +474,15 @@ public interface DocumentationOrBuilder
    *
    * Protobuf type {@code google.monitoring.v3.AlertPolicy.Documentation}
    */
-  public static final class Documentation extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class Documentation extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.monitoring.v3.AlertPolicy.Documentation)
       DocumentationOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use Documentation.newBuilder() to construct.
     private Documentation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private Documentation() {
       content_ = "";
       mimeType_ = "";
@@ -568,15 +490,16 @@ private Documentation() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new Documentation();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private Documentation(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -595,59 +518,53 @@ private Documentation(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                content_ = s;
-                break;
-              }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              content_ = s;
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                mimeType_ = s;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              mimeType_ = s;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.monitoring.v3.AlertProto
-          .internal_static_google_monitoring_v3_AlertPolicy_Documentation_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Documentation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.AlertProto
-          .internal_static_google_monitoring_v3_AlertPolicy_Documentation_fieldAccessorTable
+      return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Documentation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.AlertPolicy.Documentation.class,
-              com.google.monitoring.v3.AlertPolicy.Documentation.Builder.class);
+              com.google.monitoring.v3.AlertPolicy.Documentation.class, com.google.monitoring.v3.AlertPolicy.Documentation.Builder.class);
     }
 
     public static final int CONTENT_FIELD_NUMBER = 1;
     private volatile java.lang.Object content_;
     /**
-     *
-     *
      * 
      * The text of the documentation, interpreted according to `mime_type`.
      * The content may not exceed 8,192 Unicode characters and may not exceed
@@ -656,7 +573,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string content = 1; - * * @return The content. */ @java.lang.Override @@ -665,15 +581,14 @@ public java.lang.String getContent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); content_ = s; return s; } } /** - * - * *
      * The text of the documentation, interpreted according to `mime_type`.
      * The content may not exceed 8,192 Unicode characters and may not exceed
@@ -682,15 +597,16 @@ public java.lang.String getContent() {
      * 
* * string content = 1; - * * @return The bytes for content. */ @java.lang.Override - public com.google.protobuf.ByteString getContentBytes() { + public com.google.protobuf.ByteString + getContentBytes() { java.lang.Object ref = content_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); content_ = b; return b; } else { @@ -701,8 +617,6 @@ public com.google.protobuf.ByteString getContentBytes() { public static final int MIME_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object mimeType_; /** - * - * *
      * The format of the `content` field. Presently, only the value
      * `"text/markdown"` is supported. See
@@ -710,7 +624,6 @@ public com.google.protobuf.ByteString getContentBytes() {
      * 
* * string mime_type = 2; - * * @return The mimeType. */ @java.lang.Override @@ -719,15 +632,14 @@ public java.lang.String getMimeType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mimeType_ = s; return s; } } /** - * - * *
      * The format of the `content` field. Presently, only the value
      * `"text/markdown"` is supported. See
@@ -735,15 +647,16 @@ public java.lang.String getMimeType() {
      * 
* * string mime_type = 2; - * * @return The bytes for mimeType. */ @java.lang.Override - public com.google.protobuf.ByteString getMimeTypeBytes() { + public com.google.protobuf.ByteString + getMimeTypeBytes() { java.lang.Object ref = mimeType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); mimeType_ = b; return b; } else { @@ -752,7 +665,6 @@ public com.google.protobuf.ByteString getMimeTypeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -764,7 +676,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(content_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, content_); } @@ -794,16 +707,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.monitoring.v3.AlertPolicy.Documentation)) { return super.equals(obj); } - com.google.monitoring.v3.AlertPolicy.Documentation other = - (com.google.monitoring.v3.AlertPolicy.Documentation) obj; + com.google.monitoring.v3.AlertPolicy.Documentation other = (com.google.monitoring.v3.AlertPolicy.Documentation) obj; - if (!getContent().equals(other.getContent())) return false; - if (!getMimeType().equals(other.getMimeType())) return false; + if (!getContent() + .equals(other.getContent())) return false; + if (!getMimeType() + .equals(other.getMimeType())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -825,93 +739,87 @@ public int hashCode() { } public static com.google.monitoring.v3.AlertPolicy.Documentation parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.AlertPolicy.Documentation parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.AlertPolicy.Documentation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.AlertPolicy.Documentation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.AlertPolicy.Documentation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.AlertPolicy.Documentation parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.AlertPolicy.Documentation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.AlertPolicy.Documentation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.AlertPolicy.Documentation parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.AlertPolicy.Documentation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.AlertPolicy.Documentation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.AlertPolicy.Documentation parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.AlertPolicy.Documentation parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.AlertPolicy.Documentation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.AlertPolicy.Documentation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -921,8 +829,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A content string and a MIME type that describes the content string's
      * format.
@@ -930,24 +836,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.monitoring.v3.AlertPolicy.Documentation}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.monitoring.v3.AlertPolicy.Documentation)
         com.google.monitoring.v3.AlertPolicy.DocumentationOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.monitoring.v3.AlertProto
-            .internal_static_google_monitoring_v3_AlertPolicy_Documentation_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Documentation_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.monitoring.v3.AlertProto
-            .internal_static_google_monitoring_v3_AlertPolicy_Documentation_fieldAccessorTable
+        return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Documentation_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.monitoring.v3.AlertPolicy.Documentation.class,
-                com.google.monitoring.v3.AlertPolicy.Documentation.Builder.class);
+                com.google.monitoring.v3.AlertPolicy.Documentation.class, com.google.monitoring.v3.AlertPolicy.Documentation.Builder.class);
       }
 
       // Construct using com.google.monitoring.v3.AlertPolicy.Documentation.newBuilder()
@@ -955,15 +858,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -975,9 +879,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.monitoring.v3.AlertProto
-            .internal_static_google_monitoring_v3_AlertPolicy_Documentation_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Documentation_descriptor;
       }
 
       @java.lang.Override
@@ -996,8 +900,7 @@ public com.google.monitoring.v3.AlertPolicy.Documentation build() {
 
       @java.lang.Override
       public com.google.monitoring.v3.AlertPolicy.Documentation buildPartial() {
-        com.google.monitoring.v3.AlertPolicy.Documentation result =
-            new com.google.monitoring.v3.AlertPolicy.Documentation(this);
+        com.google.monitoring.v3.AlertPolicy.Documentation result = new com.google.monitoring.v3.AlertPolicy.Documentation(this);
         result.content_ = content_;
         result.mimeType_ = mimeType_;
         onBuilt();
@@ -1008,41 +911,38 @@ public com.google.monitoring.v3.AlertPolicy.Documentation 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.monitoring.v3.AlertPolicy.Documentation) {
-          return mergeFrom((com.google.monitoring.v3.AlertPolicy.Documentation) other);
+          return mergeFrom((com.google.monitoring.v3.AlertPolicy.Documentation)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1050,8 +950,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.monitoring.v3.AlertPolicy.Documentation other) {
-        if (other == com.google.monitoring.v3.AlertPolicy.Documentation.getDefaultInstance())
-          return this;
+        if (other == com.google.monitoring.v3.AlertPolicy.Documentation.getDefaultInstance()) return this;
         if (!other.getContent().isEmpty()) {
           content_ = other.content_;
           onChanged();
@@ -1079,8 +978,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.monitoring.v3.AlertPolicy.Documentation) e.getUnfinishedMessage();
+          parsedMessage = (com.google.monitoring.v3.AlertPolicy.Documentation) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1092,8 +990,6 @@ public Builder mergeFrom(
 
       private java.lang.Object content_ = "";
       /**
-       *
-       *
        * 
        * The text of the documentation, interpreted according to `mime_type`.
        * The content may not exceed 8,192 Unicode characters and may not exceed
@@ -1102,13 +998,13 @@ public Builder mergeFrom(
        * 
* * string content = 1; - * * @return The content. */ public java.lang.String getContent() { java.lang.Object ref = content_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); content_ = s; return s; @@ -1117,8 +1013,6 @@ public java.lang.String getContent() { } } /** - * - * *
        * The text of the documentation, interpreted according to `mime_type`.
        * The content may not exceed 8,192 Unicode characters and may not exceed
@@ -1127,14 +1021,15 @@ public java.lang.String getContent() {
        * 
* * string content = 1; - * * @return The bytes for content. */ - public com.google.protobuf.ByteString getContentBytes() { + public com.google.protobuf.ByteString + getContentBytes() { java.lang.Object ref = content_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); content_ = b; return b; } else { @@ -1142,8 +1037,6 @@ public com.google.protobuf.ByteString getContentBytes() { } } /** - * - * *
        * The text of the documentation, interpreted according to `mime_type`.
        * The content may not exceed 8,192 Unicode characters and may not exceed
@@ -1152,22 +1045,20 @@ public com.google.protobuf.ByteString getContentBytes() {
        * 
* * string content = 1; - * * @param value The content to set. * @return This builder for chaining. */ - public Builder setContent(java.lang.String value) { + public Builder setContent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + content_ = value; onChanged(); return this; } /** - * - * *
        * The text of the documentation, interpreted according to `mime_type`.
        * The content may not exceed 8,192 Unicode characters and may not exceed
@@ -1176,18 +1067,15 @@ public Builder setContent(java.lang.String value) {
        * 
* * string content = 1; - * * @return This builder for chaining. */ public Builder clearContent() { - + content_ = getDefaultInstance().getContent(); onChanged(); return this; } /** - * - * *
        * The text of the documentation, interpreted according to `mime_type`.
        * The content may not exceed 8,192 Unicode characters and may not exceed
@@ -1196,16 +1084,16 @@ public Builder clearContent() {
        * 
* * string content = 1; - * * @param value The bytes for content to set. * @return This builder for chaining. */ - public Builder setContentBytes(com.google.protobuf.ByteString value) { + public Builder setContentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + content_ = value; onChanged(); return this; @@ -1213,8 +1101,6 @@ public Builder setContentBytes(com.google.protobuf.ByteString value) { private java.lang.Object mimeType_ = ""; /** - * - * *
        * The format of the `content` field. Presently, only the value
        * `"text/markdown"` is supported. See
@@ -1222,13 +1108,13 @@ public Builder setContentBytes(com.google.protobuf.ByteString value) {
        * 
* * string mime_type = 2; - * * @return The mimeType. */ public java.lang.String getMimeType() { java.lang.Object ref = mimeType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mimeType_ = s; return s; @@ -1237,8 +1123,6 @@ public java.lang.String getMimeType() { } } /** - * - * *
        * The format of the `content` field. Presently, only the value
        * `"text/markdown"` is supported. See
@@ -1246,14 +1130,15 @@ public java.lang.String getMimeType() {
        * 
* * string mime_type = 2; - * * @return The bytes for mimeType. */ - public com.google.protobuf.ByteString getMimeTypeBytes() { + public com.google.protobuf.ByteString + getMimeTypeBytes() { java.lang.Object ref = mimeType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); mimeType_ = b; return b; } else { @@ -1261,8 +1146,6 @@ public com.google.protobuf.ByteString getMimeTypeBytes() { } } /** - * - * *
        * The format of the `content` field. Presently, only the value
        * `"text/markdown"` is supported. See
@@ -1270,22 +1153,20 @@ public com.google.protobuf.ByteString getMimeTypeBytes() {
        * 
* * string mime_type = 2; - * * @param value The mimeType to set. * @return This builder for chaining. */ - public Builder setMimeType(java.lang.String value) { + public Builder setMimeType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + mimeType_ = value; onChanged(); return this; } /** - * - * *
        * The format of the `content` field. Presently, only the value
        * `"text/markdown"` is supported. See
@@ -1293,18 +1174,15 @@ public Builder setMimeType(java.lang.String value) {
        * 
* * string mime_type = 2; - * * @return This builder for chaining. */ public Builder clearMimeType() { - + mimeType_ = getDefaultInstance().getMimeType(); onChanged(); return this; } /** - * - * *
        * The format of the `content` field. Presently, only the value
        * `"text/markdown"` is supported. See
@@ -1312,21 +1190,20 @@ public Builder clearMimeType() {
        * 
* * string mime_type = 2; - * * @param value The bytes for mimeType to set. * @return This builder for chaining. */ - public Builder setMimeTypeBytes(com.google.protobuf.ByteString value) { + public Builder setMimeTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + mimeType_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1339,12 +1216,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.AlertPolicy.Documentation) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.AlertPolicy.Documentation) private static final com.google.monitoring.v3.AlertPolicy.Documentation DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.AlertPolicy.Documentation(); } @@ -1353,16 +1230,16 @@ public static com.google.monitoring.v3.AlertPolicy.Documentation getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Documentation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Documentation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Documentation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Documentation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1377,16 +1254,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.AlertPolicy.Documentation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ConditionOrBuilder - extends + public interface ConditionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.AlertPolicy.Condition) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required if the condition exists. The unique resource name for this
      * condition. Its format is:
@@ -1411,13 +1286,10 @@ public interface ConditionOrBuilder
      * 
* * string name = 12; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * Required if the condition exists. The unique resource name for this
      * condition. Its format is:
@@ -1442,14 +1314,12 @@ public interface ConditionOrBuilder
      * 
* * string name = 12; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
      * A short name or phrase used to identify the condition in dashboards,
      * notifications, and incidents. To avoid confusion, don't use the same
@@ -1457,13 +1327,10 @@ public interface ConditionOrBuilder
      * 
* * string display_name = 6; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
      * A short name or phrase used to identify the condition in dashboards,
      * notifications, and incidents. To avoid confusion, don't use the same
@@ -1471,79 +1338,59 @@ public interface ConditionOrBuilder
      * 
* * string display_name = 6; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
      * A condition that compares a time series against a threshold.
      * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; - * - * + * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; * @return Whether the conditionThreshold field is set. */ boolean hasConditionThreshold(); /** - * - * *
      * A condition that compares a time series against a threshold.
      * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; - * - * + * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; * @return The conditionThreshold. */ com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold getConditionThreshold(); /** - * - * *
      * A condition that compares a time series against a threshold.
      * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; - * + * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; */ - com.google.monitoring.v3.AlertPolicy.Condition.MetricThresholdOrBuilder - getConditionThresholdOrBuilder(); + com.google.monitoring.v3.AlertPolicy.Condition.MetricThresholdOrBuilder getConditionThresholdOrBuilder(); /** - * - * *
      * A condition that checks that a time series continues to
      * receive new data points.
      * 
* * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; - * * @return Whether the conditionAbsent field is set. */ boolean hasConditionAbsent(); /** - * - * *
      * A condition that checks that a time series continues to
      * receive new data points.
      * 
* * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; - * * @return The conditionAbsent. */ com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence getConditionAbsent(); /** - * - * *
      * A condition that checks that a time series continues to
      * receive new data points.
@@ -1551,38 +1398,29 @@ public interface ConditionOrBuilder
      *
      * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2;
      */
-    com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsenceOrBuilder
-        getConditionAbsentOrBuilder();
+    com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsenceOrBuilder getConditionAbsentOrBuilder();
 
     /**
-     *
-     *
      * 
      * A condition that checks for log messages matching given constraints. If
      * set, no other conditions can be present.
      * 
* * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; - * * @return Whether the conditionMatchedLog field is set. */ boolean hasConditionMatchedLog(); /** - * - * *
      * A condition that checks for log messages matching given constraints. If
      * set, no other conditions can be present.
      * 
* * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; - * * @return The conditionMatchedLog. */ com.google.monitoring.v3.AlertPolicy.Condition.LogMatch getConditionMatchedLog(); /** - * - * *
      * A condition that checks for log messages matching given constraints. If
      * set, no other conditions can be present.
@@ -1590,60 +1428,41 @@ public interface ConditionOrBuilder
      *
      * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20;
      */
-    com.google.monitoring.v3.AlertPolicy.Condition.LogMatchOrBuilder
-        getConditionMatchedLogOrBuilder();
+    com.google.monitoring.v3.AlertPolicy.Condition.LogMatchOrBuilder getConditionMatchedLogOrBuilder();
 
     /**
-     *
-     *
      * 
      * A condition that uses the Monitoring Query Language to define
      * alerts.
      * 
* - * - * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; - * - * + * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; * @return Whether the conditionMonitoringQueryLanguage field is set. */ boolean hasConditionMonitoringQueryLanguage(); /** - * - * *
      * A condition that uses the Monitoring Query Language to define
      * alerts.
      * 
* - * - * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; - * - * + * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; * @return The conditionMonitoringQueryLanguage. */ - com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition - getConditionMonitoringQueryLanguage(); + com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition getConditionMonitoringQueryLanguage(); /** - * - * *
      * A condition that uses the Monitoring Query Language to define
      * alerts.
      * 
* - * - * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; - * + * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; */ - com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageConditionOrBuilder - getConditionMonitoringQueryLanguageOrBuilder(); + com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageConditionOrBuilder getConditionMonitoringQueryLanguageOrBuilder(); public com.google.monitoring.v3.AlertPolicy.Condition.ConditionCase getConditionCase(); } /** - * - * *
    * A condition is a true/false test that determines when an alerting policy
    * should open an incident. If a condition evaluates to true, it signifies
@@ -1652,16 +1471,15 @@ public interface ConditionOrBuilder
    *
    * Protobuf type {@code google.monitoring.v3.AlertPolicy.Condition}
    */
-  public static final class Condition extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class Condition extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.monitoring.v3.AlertPolicy.Condition)
       ConditionOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use Condition.newBuilder() to construct.
     private Condition(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private Condition() {
       name_ = "";
       displayName_ = "";
@@ -1669,15 +1487,16 @@ private Condition() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new Condition();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private Condition(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1696,198 +1515,148 @@ private Condition(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.Builder subBuilder =
-                    null;
-                if (conditionCase_ == 1) {
-                  subBuilder =
-                      ((com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) condition_)
-                          .toBuilder();
-                }
-                condition_ =
-                    input.readMessage(
-                        com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(
-                      (com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) condition_);
-                  condition_ = subBuilder.buildPartial();
-                }
-                conditionCase_ = 1;
-                break;
+            case 10: {
+              com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.Builder subBuilder = null;
+              if (conditionCase_ == 1) {
+                subBuilder = ((com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) condition_).toBuilder();
               }
-            case 18:
-              {
-                com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.Builder subBuilder =
-                    null;
-                if (conditionCase_ == 2) {
-                  subBuilder =
-                      ((com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence) condition_)
-                          .toBuilder();
-                }
-                condition_ =
-                    input.readMessage(
-                        com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(
-                      (com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence) condition_);
-                  condition_ = subBuilder.buildPartial();
-                }
-                conditionCase_ = 2;
-                break;
+              condition_ =
+                  input.readMessage(com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) condition_);
+                condition_ = subBuilder.buildPartial();
               }
-            case 50:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-
-                displayName_ = s;
-                break;
+              conditionCase_ = 1;
+              break;
+            }
+            case 18: {
+              com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.Builder subBuilder = null;
+              if (conditionCase_ == 2) {
+                subBuilder = ((com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence) condition_).toBuilder();
               }
-            case 98:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              condition_ =
+                  input.readMessage(com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence) condition_);
+                condition_ = subBuilder.buildPartial();
+              }
+              conditionCase_ = 2;
+              break;
+            }
+            case 50: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                name_ = s;
-                break;
+              displayName_ = s;
+              break;
+            }
+            case 98: {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              name_ = s;
+              break;
+            }
+            case 154: {
+              com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.Builder subBuilder = null;
+              if (conditionCase_ == 19) {
+                subBuilder = ((com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) condition_).toBuilder();
               }
-            case 154:
-              {
-                com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition
-                        .Builder
-                    subBuilder = null;
-                if (conditionCase_ == 19) {
-                  subBuilder =
-                      ((com.google.monitoring.v3.AlertPolicy.Condition
-                                  .MonitoringQueryLanguageCondition)
-                              condition_)
-                          .toBuilder();
-                }
-                condition_ =
-                    input.readMessage(
-                        com.google.monitoring.v3.AlertPolicy.Condition
-                            .MonitoringQueryLanguageCondition.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(
-                      (com.google.monitoring.v3.AlertPolicy.Condition
-                              .MonitoringQueryLanguageCondition)
-                          condition_);
-                  condition_ = subBuilder.buildPartial();
-                }
-                conditionCase_ = 19;
-                break;
+              condition_ =
+                  input.readMessage(com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) condition_);
+                condition_ = subBuilder.buildPartial();
               }
-            case 162:
-              {
-                com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.Builder subBuilder = null;
-                if (conditionCase_ == 20) {
-                  subBuilder =
-                      ((com.google.monitoring.v3.AlertPolicy.Condition.LogMatch) condition_)
-                          .toBuilder();
-                }
-                condition_ =
-                    input.readMessage(
-                        com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(
-                      (com.google.monitoring.v3.AlertPolicy.Condition.LogMatch) condition_);
-                  condition_ = subBuilder.buildPartial();
-                }
-                conditionCase_ = 20;
-                break;
+              conditionCase_ = 19;
+              break;
+            }
+            case 162: {
+              com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.Builder subBuilder = null;
+              if (conditionCase_ == 20) {
+                subBuilder = ((com.google.monitoring.v3.AlertPolicy.Condition.LogMatch) condition_).toBuilder();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              condition_ =
+                  input.readMessage(com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.monitoring.v3.AlertPolicy.Condition.LogMatch) condition_);
+                condition_ = subBuilder.buildPartial();
               }
+              conditionCase_ = 20;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.monitoring.v3.AlertProto
-          .internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.AlertProto
-          .internal_static_google_monitoring_v3_AlertPolicy_Condition_fieldAccessorTable
+      return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.AlertPolicy.Condition.class,
-              com.google.monitoring.v3.AlertPolicy.Condition.Builder.class);
+              com.google.monitoring.v3.AlertPolicy.Condition.class, com.google.monitoring.v3.AlertPolicy.Condition.Builder.class);
     }
 
-    public interface TriggerOrBuilder
-        extends
+    public interface TriggerOrBuilder extends
         // @@protoc_insertion_point(interface_extends:google.monitoring.v3.AlertPolicy.Condition.Trigger)
         com.google.protobuf.MessageOrBuilder {
 
       /**
-       *
-       *
        * 
        * The absolute number of time series that must fail
        * the predicate for the condition to be triggered.
        * 
* * int32 count = 1; - * * @return Whether the count field is set. */ boolean hasCount(); /** - * - * *
        * The absolute number of time series that must fail
        * the predicate for the condition to be triggered.
        * 
* * int32 count = 1; - * * @return The count. */ int getCount(); /** - * - * *
        * The percentage of time series that must fail the
        * predicate for the condition to be triggered.
        * 
* * double percent = 2; - * * @return Whether the percent field is set. */ boolean hasPercent(); /** - * - * *
        * The percentage of time series that must fail the
        * predicate for the condition to be triggered.
        * 
* * double percent = 2; - * * @return The percent. */ double getPercent(); @@ -1895,8 +1664,6 @@ public interface TriggerOrBuilder public com.google.monitoring.v3.AlertPolicy.Condition.Trigger.TypeCase getTypeCase(); } /** - * - * *
      * Specifies how many time series must fail a predicate to trigger a
      * condition. If not specified, then a `{count: 1}` trigger is used.
@@ -1904,29 +1671,30 @@ public interface TriggerOrBuilder
      *
      * Protobuf type {@code google.monitoring.v3.AlertPolicy.Condition.Trigger}
      */
-    public static final class Trigger extends com.google.protobuf.GeneratedMessageV3
-        implements
+    public static final class Trigger extends
+        com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.monitoring.v3.AlertPolicy.Condition.Trigger)
         TriggerOrBuilder {
-      private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
       // Use Trigger.newBuilder() to construct.
       private Trigger(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-
-      private Trigger() {}
+      private Trigger() {
+      }
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(
+          UnusedPrivateParameter unused) {
         return new Trigger();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet
+      getUnknownFields() {
         return this.unknownFields;
       }
-
       private Trigger(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1945,65 +1713,57 @@ private Trigger(
               case 0:
                 done = true;
                 break;
-              case 8:
-                {
-                  typeCase_ = 1;
-                  type_ = input.readInt32();
-                  break;
-                }
-              case 17:
-                {
-                  typeCase_ = 2;
-                  type_ = input.readDouble();
-                  break;
-                }
-              default:
-                {
-                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                    done = true;
-                  }
-                  break;
+              case 8: {
+                typeCase_ = 1;
+                type_ = input.readInt32();
+                break;
+              }
+              case 17: {
+                typeCase_ = 2;
+                type_ = input.readDouble();
+                break;
+              }
+              default: {
+                if (!parseUnknownField(
+                    input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
                 }
+                break;
+              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
           throw e.setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(
+              e).setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
-
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.monitoring.v3.AlertProto
-            .internal_static_google_monitoring_v3_AlertPolicy_Condition_Trigger_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_Trigger_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.monitoring.v3.AlertProto
-            .internal_static_google_monitoring_v3_AlertPolicy_Condition_Trigger_fieldAccessorTable
+        return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_Trigger_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.monitoring.v3.AlertPolicy.Condition.Trigger.class,
-                com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder.class);
+                com.google.monitoring.v3.AlertPolicy.Condition.Trigger.class, com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder.class);
       }
 
       private int typeCase_ = 0;
       private java.lang.Object type_;
-
       public enum TypeCase
-          implements
-              com.google.protobuf.Internal.EnumLite,
+          implements com.google.protobuf.Internal.EnumLite,
               com.google.protobuf.AbstractMessage.InternalOneOfEnum {
         COUNT(1),
         PERCENT(2),
         TYPE_NOT_SET(0);
         private final int value;
-
         private TypeCase(int value) {
           this.value = value;
         }
@@ -2019,37 +1779,31 @@ public static TypeCase valueOf(int value) {
 
         public static TypeCase forNumber(int value) {
           switch (value) {
-            case 1:
-              return COUNT;
-            case 2:
-              return PERCENT;
-            case 0:
-              return TYPE_NOT_SET;
-            default:
-              return null;
+            case 1: return COUNT;
+            case 2: return PERCENT;
+            case 0: return TYPE_NOT_SET;
+            default: return null;
           }
         }
-
         public int getNumber() {
           return this.value;
         }
       };
 
-      public TypeCase getTypeCase() {
-        return TypeCase.forNumber(typeCase_);
+      public TypeCase
+      getTypeCase() {
+        return TypeCase.forNumber(
+            typeCase_);
       }
 
       public static final int COUNT_FIELD_NUMBER = 1;
       /**
-       *
-       *
        * 
        * The absolute number of time series that must fail
        * the predicate for the condition to be triggered.
        * 
* * int32 count = 1; - * * @return Whether the count field is set. */ @java.lang.Override @@ -2057,15 +1811,12 @@ public boolean hasCount() { return typeCase_ == 1; } /** - * - * *
        * The absolute number of time series that must fail
        * the predicate for the condition to be triggered.
        * 
* * int32 count = 1; - * * @return The count. */ @java.lang.Override @@ -2078,15 +1829,12 @@ public int getCount() { public static final int PERCENT_FIELD_NUMBER = 2; /** - * - * *
        * The percentage of time series that must fail the
        * predicate for the condition to be triggered.
        * 
* * double percent = 2; - * * @return Whether the percent field is set. */ @java.lang.Override @@ -2094,15 +1842,12 @@ public boolean hasPercent() { return typeCase_ == 2; } /** - * - * *
        * The percentage of time series that must fail the
        * predicate for the condition to be triggered.
        * 
* * double percent = 2; - * * @return The percent. */ @java.lang.Override @@ -2114,7 +1859,6 @@ public double getPercent() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2126,12 +1870,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 (typeCase_ == 1) { - output.writeInt32(1, (int) ((java.lang.Integer) type_)); + output.writeInt32( + 1, (int)((java.lang.Integer) type_)); } if (typeCase_ == 2) { - output.writeDouble(2, (double) ((java.lang.Double) type_)); + output.writeDouble( + 2, (double)((java.lang.Double) type_)); } unknownFields.writeTo(output); } @@ -2143,14 +1890,14 @@ public int getSerializedSize() { size = 0; if (typeCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 1, (int) ((java.lang.Integer) type_)); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 1, (int)((java.lang.Integer) type_)); } if (typeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeDoubleSize( - 2, (double) ((java.lang.Double) type_)); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize( + 2, (double)((java.lang.Double) type_)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2160,22 +1907,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.monitoring.v3.AlertPolicy.Condition.Trigger)) { return super.equals(obj); } - com.google.monitoring.v3.AlertPolicy.Condition.Trigger other = - (com.google.monitoring.v3.AlertPolicy.Condition.Trigger) obj; + com.google.monitoring.v3.AlertPolicy.Condition.Trigger other = (com.google.monitoring.v3.AlertPolicy.Condition.Trigger) obj; if (!getTypeCase().equals(other.getTypeCase())) return false; switch (typeCase_) { case 1: - if (getCount() != other.getCount()) return false; + if (getCount() + != other.getCount()) return false; break; case 2: if (java.lang.Double.doubleToLongBits(getPercent()) - != java.lang.Double.doubleToLongBits(other.getPercent())) return false; + != java.lang.Double.doubleToLongBits( + other.getPercent())) return false; break; case 0: default: @@ -2198,10 +1946,8 @@ public int hashCode() { break; case 2: hash = (37 * hash) + PERCENT_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getPercent())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getPercent())); break; case 0: default: @@ -2212,94 +1958,87 @@ public int hashCode() { } public static com.google.monitoring.v3.AlertPolicy.Condition.Trigger parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.AlertPolicy.Condition.Trigger parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.AlertPolicy.Condition.Trigger parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.AlertPolicy.Condition.Trigger parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.AlertPolicy.Condition.Trigger parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.AlertPolicy.Condition.Trigger parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.AlertPolicy.Condition.Trigger parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.AlertPolicy.Condition.Trigger parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.AlertPolicy.Condition.Trigger parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.AlertPolicy.Condition.Trigger parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.AlertPolicy.Condition.Trigger parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.AlertPolicy.Condition.Trigger parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.AlertPolicy.Condition.Trigger parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.AlertPolicy.Condition.Trigger parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.AlertPolicy.Condition.Trigger prototype) { + public static Builder newBuilder(com.google.monitoring.v3.AlertPolicy.Condition.Trigger prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2309,8 +2048,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Specifies how many time series must fail a predicate to trigger a
        * condition. If not specified, then a `{count: 1}` trigger is used.
@@ -2318,24 +2055,21 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.monitoring.v3.AlertPolicy.Condition.Trigger}
        */
-      public static final class Builder
-          extends com.google.protobuf.GeneratedMessageV3.Builder
-          implements
+      public static final class Builder extends
+          com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.monitoring.v3.AlertPolicy.Condition.Trigger)
           com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-          return com.google.monitoring.v3.AlertProto
-              .internal_static_google_monitoring_v3_AlertPolicy_Condition_Trigger_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor
+            getDescriptor() {
+          return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_Trigger_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.monitoring.v3.AlertProto
-              .internal_static_google_monitoring_v3_AlertPolicy_Condition_Trigger_fieldAccessorTable
+          return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_Trigger_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.monitoring.v3.AlertPolicy.Condition.Trigger.class,
-                  com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder.class);
+                  com.google.monitoring.v3.AlertPolicy.Condition.Trigger.class, com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder.class);
         }
 
         // Construct using com.google.monitoring.v3.AlertPolicy.Condition.Trigger.newBuilder()
@@ -2343,15 +2077,16 @@ private Builder() {
           maybeForceBuilderInitialization();
         }
 
-        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(
+            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
-
         private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+          if (com.google.protobuf.GeneratedMessageV3
+                  .alwaysUseFieldBuilders) {
+          }
         }
-
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -2361,9 +2096,9 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-          return com.google.monitoring.v3.AlertProto
-              .internal_static_google_monitoring_v3_AlertPolicy_Condition_Trigger_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor
+            getDescriptorForType() {
+          return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_Trigger_descriptor;
         }
 
         @java.lang.Override
@@ -2382,8 +2117,7 @@ public com.google.monitoring.v3.AlertPolicy.Condition.Trigger build() {
 
         @java.lang.Override
         public com.google.monitoring.v3.AlertPolicy.Condition.Trigger buildPartial() {
-          com.google.monitoring.v3.AlertPolicy.Condition.Trigger result =
-              new com.google.monitoring.v3.AlertPolicy.Condition.Trigger(this);
+          com.google.monitoring.v3.AlertPolicy.Condition.Trigger result = new com.google.monitoring.v3.AlertPolicy.Condition.Trigger(this);
           if (typeCase_ == 1) {
             result.type_ = type_;
           }
@@ -2399,41 +2133,38 @@ public com.google.monitoring.v3.AlertPolicy.Condition.Trigger 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.monitoring.v3.AlertPolicy.Condition.Trigger) {
-            return mergeFrom((com.google.monitoring.v3.AlertPolicy.Condition.Trigger) other);
+            return mergeFrom((com.google.monitoring.v3.AlertPolicy.Condition.Trigger)other);
           } else {
             super.mergeFrom(other);
             return this;
@@ -2441,23 +2172,19 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
         }
 
         public Builder mergeFrom(com.google.monitoring.v3.AlertPolicy.Condition.Trigger other) {
-          if (other == com.google.monitoring.v3.AlertPolicy.Condition.Trigger.getDefaultInstance())
-            return this;
+          if (other == com.google.monitoring.v3.AlertPolicy.Condition.Trigger.getDefaultInstance()) return this;
           switch (other.getTypeCase()) {
-            case COUNT:
-              {
-                setCount(other.getCount());
-                break;
-              }
-            case PERCENT:
-              {
-                setPercent(other.getPercent());
-                break;
-              }
-            case TYPE_NOT_SET:
-              {
-                break;
-              }
+            case COUNT: {
+              setCount(other.getCount());
+              break;
+            }
+            case PERCENT: {
+              setPercent(other.getPercent());
+              break;
+            }
+            case TYPE_NOT_SET: {
+              break;
+            }
           }
           this.mergeUnknownFields(other.unknownFields);
           onChanged();
@@ -2478,8 +2205,7 @@ public Builder mergeFrom(
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            parsedMessage =
-                (com.google.monitoring.v3.AlertPolicy.Condition.Trigger) e.getUnfinishedMessage();
+            parsedMessage = (com.google.monitoring.v3.AlertPolicy.Condition.Trigger) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
@@ -2488,12 +2214,12 @@ public Builder mergeFrom(
           }
           return this;
         }
-
         private int typeCase_ = 0;
         private java.lang.Object type_;
-
-        public TypeCase getTypeCase() {
-          return TypeCase.forNumber(typeCase_);
+        public TypeCase
+            getTypeCase() {
+          return TypeCase.forNumber(
+              typeCase_);
         }
 
         public Builder clearType() {
@@ -2503,31 +2229,26 @@ public Builder clearType() {
           return this;
         }
 
+
         /**
-         *
-         *
          * 
          * The absolute number of time series that must fail
          * the predicate for the condition to be triggered.
          * 
* * int32 count = 1; - * * @return Whether the count field is set. */ public boolean hasCount() { return typeCase_ == 1; } /** - * - * *
          * The absolute number of time series that must fail
          * the predicate for the condition to be triggered.
          * 
* * int32 count = 1; - * * @return The count. */ public int getCount() { @@ -2537,15 +2258,12 @@ public int getCount() { return 0; } /** - * - * *
          * The absolute number of time series that must fail
          * the predicate for the condition to be triggered.
          * 
* * int32 count = 1; - * * @param value The count to set. * @return This builder for chaining. */ @@ -2556,15 +2274,12 @@ public Builder setCount(int value) { return this; } /** - * - * *
          * The absolute number of time series that must fail
          * the predicate for the condition to be triggered.
          * 
* * int32 count = 1; - * * @return This builder for chaining. */ public Builder clearCount() { @@ -2577,30 +2292,24 @@ public Builder clearCount() { } /** - * - * *
          * The percentage of time series that must fail the
          * predicate for the condition to be triggered.
          * 
* * double percent = 2; - * * @return Whether the percent field is set. */ public boolean hasPercent() { return typeCase_ == 2; } /** - * - * *
          * The percentage of time series that must fail the
          * predicate for the condition to be triggered.
          * 
* * double percent = 2; - * * @return The percent. */ public double getPercent() { @@ -2610,15 +2319,12 @@ public double getPercent() { return 0D; } /** - * - * *
          * The percentage of time series that must fail the
          * predicate for the condition to be triggered.
          * 
* * double percent = 2; - * * @param value The percent to set. * @return This builder for chaining. */ @@ -2629,15 +2335,12 @@ public Builder setPercent(double value) { return this; } /** - * - * *
          * The percentage of time series that must fail the
          * predicate for the condition to be triggered.
          * 
* * double percent = 2; - * * @return This builder for chaining. */ public Builder clearPercent() { @@ -2648,7 +2351,6 @@ public Builder clearPercent() { } return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2661,12 +2363,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.AlertPolicy.Condition.Trigger) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.AlertPolicy.Condition.Trigger) private static final com.google.monitoring.v3.AlertPolicy.Condition.Trigger DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.AlertPolicy.Condition.Trigger(); } @@ -2675,19 +2377,19 @@ public static com.google.monitoring.v3.AlertPolicy.Condition.Trigger getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Trigger parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Trigger(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Trigger parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Trigger(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; } @java.lang.Override @@ -2699,16 +2401,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.AlertPolicy.Condition.Trigger getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface MetricThresholdOrBuilder - extends + public interface MetricThresholdOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Required. A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
        * identifies which time series should be compared with the threshold.
@@ -2722,13 +2422,10 @@ public interface MetricThresholdOrBuilder
        * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
        * Required. A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
        * identifies which time series should be compared with the threshold.
@@ -2742,14 +2439,12 @@ public interface MetricThresholdOrBuilder
        * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
        * Specifies the alignment of data points in individual time series as
        * well as how to combine the retrieved time series together (such as
@@ -2765,10 +2460,9 @@ public interface MetricThresholdOrBuilder
        *
        * repeated .google.monitoring.v3.Aggregation aggregations = 8;
        */
-      java.util.List getAggregationsList();
+      java.util.List 
+          getAggregationsList();
       /**
-       *
-       *
        * 
        * Specifies the alignment of data points in individual time series as
        * well as how to combine the retrieved time series together (such as
@@ -2786,8 +2480,6 @@ public interface MetricThresholdOrBuilder
        */
       com.google.monitoring.v3.Aggregation getAggregations(int index);
       /**
-       *
-       *
        * 
        * Specifies the alignment of data points in individual time series as
        * well as how to combine the retrieved time series together (such as
@@ -2805,8 +2497,6 @@ public interface MetricThresholdOrBuilder
        */
       int getAggregationsCount();
       /**
-       *
-       *
        * 
        * Specifies the alignment of data points in individual time series as
        * well as how to combine the retrieved time series together (such as
@@ -2822,11 +2512,9 @@ public interface MetricThresholdOrBuilder
        *
        * repeated .google.monitoring.v3.Aggregation aggregations = 8;
        */
-      java.util.List
+      java.util.List 
           getAggregationsOrBuilderList();
       /**
-       *
-       *
        * 
        * Specifies the alignment of data points in individual time series as
        * well as how to combine the retrieved time series together (such as
@@ -2842,11 +2530,10 @@ public interface MetricThresholdOrBuilder
        *
        * repeated .google.monitoring.v3.Aggregation aggregations = 8;
        */
-      com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(int index);
+      com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(
+          int index);
 
       /**
-       *
-       *
        * 
        * A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
        * identifies a time series that should be used as the denominator of a
@@ -2859,13 +2546,10 @@ public interface MetricThresholdOrBuilder
        * 
* * string denominator_filter = 9; - * * @return The denominatorFilter. */ java.lang.String getDenominatorFilter(); /** - * - * *
        * A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
        * identifies a time series that should be used as the denominator of a
@@ -2878,14 +2562,12 @@ public interface MetricThresholdOrBuilder
        * 
* * string denominator_filter = 9; - * * @return The bytes for denominatorFilter. */ - com.google.protobuf.ByteString getDenominatorFilterBytes(); + com.google.protobuf.ByteString + getDenominatorFilterBytes(); /** - * - * *
        * Specifies the alignment of data points in individual time series
        * selected by `denominatorFilter` as
@@ -2900,10 +2582,9 @@ public interface MetricThresholdOrBuilder
        *
        * repeated .google.monitoring.v3.Aggregation denominator_aggregations = 10;
        */
-      java.util.List getDenominatorAggregationsList();
+      java.util.List 
+          getDenominatorAggregationsList();
       /**
-       *
-       *
        * 
        * Specifies the alignment of data points in individual time series
        * selected by `denominatorFilter` as
@@ -2920,8 +2601,6 @@ public interface MetricThresholdOrBuilder
        */
       com.google.monitoring.v3.Aggregation getDenominatorAggregations(int index);
       /**
-       *
-       *
        * 
        * Specifies the alignment of data points in individual time series
        * selected by `denominatorFilter` as
@@ -2938,8 +2617,6 @@ public interface MetricThresholdOrBuilder
        */
       int getDenominatorAggregationsCount();
       /**
-       *
-       *
        * 
        * Specifies the alignment of data points in individual time series
        * selected by `denominatorFilter` as
@@ -2954,11 +2631,9 @@ public interface MetricThresholdOrBuilder
        *
        * repeated .google.monitoring.v3.Aggregation denominator_aggregations = 10;
        */
-      java.util.List
+      java.util.List 
           getDenominatorAggregationsOrBuilderList();
       /**
-       *
-       *
        * 
        * Specifies the alignment of data points in individual time series
        * selected by `denominatorFilter` as
@@ -2973,11 +2648,10 @@ public interface MetricThresholdOrBuilder
        *
        * repeated .google.monitoring.v3.Aggregation denominator_aggregations = 10;
        */
-      com.google.monitoring.v3.AggregationOrBuilder getDenominatorAggregationsOrBuilder(int index);
+      com.google.monitoring.v3.AggregationOrBuilder getDenominatorAggregationsOrBuilder(
+          int index);
 
       /**
-       *
-       *
        * 
        * The comparison to apply between the time series (indicated by `filter`
        * and `aggregation`) and the threshold (indicated by `threshold_value`).
@@ -2987,13 +2661,10 @@ public interface MetricThresholdOrBuilder
        * 
* * .google.monitoring.v3.ComparisonType comparison = 4; - * * @return The enum numeric value on the wire for comparison. */ int getComparisonValue(); /** - * - * *
        * The comparison to apply between the time series (indicated by `filter`
        * and `aggregation`) and the threshold (indicated by `threshold_value`).
@@ -3003,27 +2674,21 @@ public interface MetricThresholdOrBuilder
        * 
* * .google.monitoring.v3.ComparisonType comparison = 4; - * * @return The comparison. */ com.google.monitoring.v3.ComparisonType getComparison(); /** - * - * *
        * A value against which to compare the time series.
        * 
* * double threshold_value = 5; - * * @return The thresholdValue. */ double getThresholdValue(); /** - * - * *
        * The amount of time that a time series must violate the
        * threshold to be considered failing. Currently, only values
@@ -3038,13 +2703,10 @@ public interface MetricThresholdOrBuilder
        * 
* * .google.protobuf.Duration duration = 6; - * * @return Whether the duration field is set. */ boolean hasDuration(); /** - * - * *
        * The amount of time that a time series must violate the
        * threshold to be considered failing. Currently, only values
@@ -3059,13 +2721,10 @@ public interface MetricThresholdOrBuilder
        * 
* * .google.protobuf.Duration duration = 6; - * * @return The duration. */ com.google.protobuf.Duration getDuration(); /** - * - * *
        * The amount of time that a time series must violate the
        * threshold to be considered failing. Currently, only values
@@ -3084,8 +2743,6 @@ public interface MetricThresholdOrBuilder
       com.google.protobuf.DurationOrBuilder getDurationOrBuilder();
 
       /**
-       *
-       *
        * 
        * The number/percent of time series for which the comparison must hold
        * in order for the condition to trigger. If unspecified, then the
@@ -3096,13 +2753,10 @@ public interface MetricThresholdOrBuilder
        * 
* * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 7; - * * @return Whether the trigger field is set. */ boolean hasTrigger(); /** - * - * *
        * The number/percent of time series for which the comparison must hold
        * in order for the condition to trigger. If unspecified, then the
@@ -3113,13 +2767,10 @@ public interface MetricThresholdOrBuilder
        * 
* * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 7; - * * @return The trigger. */ com.google.monitoring.v3.AlertPolicy.Condition.Trigger getTrigger(); /** - * - * *
        * The number/percent of time series for which the comparison must hold
        * in order for the condition to trigger. If unspecified, then the
@@ -3134,8 +2785,6 @@ public interface MetricThresholdOrBuilder
       com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder getTriggerOrBuilder();
     }
     /**
-     *
-     *
      * 
      * A condition type that compares a collection of time series
      * against a threshold.
@@ -3143,16 +2792,15 @@ public interface MetricThresholdOrBuilder
      *
      * Protobuf type {@code google.monitoring.v3.AlertPolicy.Condition.MetricThreshold}
      */
-    public static final class MetricThreshold extends com.google.protobuf.GeneratedMessageV3
-        implements
+    public static final class MetricThreshold extends
+        com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.monitoring.v3.AlertPolicy.Condition.MetricThreshold)
         MetricThresholdOrBuilder {
-      private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
       // Use MetricThreshold.newBuilder() to construct.
       private MetricThreshold(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-
       private MetricThreshold() {
         filter_ = "";
         aggregations_ = java.util.Collections.emptyList();
@@ -3163,15 +2811,16 @@ private MetricThreshold() {
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(
+          UnusedPrivateParameter unused) {
         return new MetricThreshold();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet
+      getUnknownFields() {
         return this.unknownFields;
       }
-
       private MetricThreshold(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -3191,134 +2840,114 @@ private MetricThreshold(
               case 0:
                 done = true;
                 break;
-              case 18:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
+              case 18: {
+                java.lang.String s = input.readStringRequireUtf8();
 
-                  filter_ = s;
-                  break;
-                }
-              case 32:
-                {
-                  int rawValue = input.readEnum();
+                filter_ = s;
+                break;
+              }
+              case 32: {
+                int rawValue = input.readEnum();
 
-                  comparison_ = rawValue;
-                  break;
-                }
-              case 41:
-                {
-                  thresholdValue_ = input.readDouble();
-                  break;
+                comparison_ = rawValue;
+                break;
+              }
+              case 41: {
+
+                thresholdValue_ = input.readDouble();
+                break;
+              }
+              case 50: {
+                com.google.protobuf.Duration.Builder subBuilder = null;
+                if (duration_ != null) {
+                  subBuilder = duration_.toBuilder();
                 }
-              case 50:
-                {
-                  com.google.protobuf.Duration.Builder subBuilder = null;
-                  if (duration_ != null) {
-                    subBuilder = duration_.toBuilder();
-                  }
-                  duration_ =
-                      input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-                  if (subBuilder != null) {
-                    subBuilder.mergeFrom(duration_);
-                    duration_ = subBuilder.buildPartial();
-                  }
-
-                  break;
+                duration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(duration_);
+                  duration_ = subBuilder.buildPartial();
                 }
-              case 58:
-                {
-                  com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder subBuilder = null;
-                  if (trigger_ != null) {
-                    subBuilder = trigger_.toBuilder();
-                  }
-                  trigger_ =
-                      input.readMessage(
-                          com.google.monitoring.v3.AlertPolicy.Condition.Trigger.parser(),
-                          extensionRegistry);
-                  if (subBuilder != null) {
-                    subBuilder.mergeFrom(trigger_);
-                    trigger_ = subBuilder.buildPartial();
-                  }
-
-                  break;
+
+                break;
+              }
+              case 58: {
+                com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder subBuilder = null;
+                if (trigger_ != null) {
+                  subBuilder = trigger_.toBuilder();
                 }
-              case 66:
-                {
-                  if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                    aggregations_ = new java.util.ArrayList();
-                    mutable_bitField0_ |= 0x00000001;
-                  }
-                  aggregations_.add(
-                      input.readMessage(
-                          com.google.monitoring.v3.Aggregation.parser(), extensionRegistry));
-                  break;
+                trigger_ = input.readMessage(com.google.monitoring.v3.AlertPolicy.Condition.Trigger.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(trigger_);
+                  trigger_ = subBuilder.buildPartial();
                 }
-              case 74:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
 
-                  denominatorFilter_ = s;
-                  break;
+                break;
+              }
+              case 66: {
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  aggregations_ = new java.util.ArrayList();
+                  mutable_bitField0_ |= 0x00000001;
                 }
-              case 82:
-                {
-                  if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                    denominatorAggregations_ =
-                        new java.util.ArrayList();
-                    mutable_bitField0_ |= 0x00000002;
-                  }
-                  denominatorAggregations_.add(
-                      input.readMessage(
-                          com.google.monitoring.v3.Aggregation.parser(), extensionRegistry));
-                  break;
+                aggregations_.add(
+                    input.readMessage(com.google.monitoring.v3.Aggregation.parser(), extensionRegistry));
+                break;
+              }
+              case 74: {
+                java.lang.String s = input.readStringRequireUtf8();
+
+                denominatorFilter_ = s;
+                break;
+              }
+              case 82: {
+                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                  denominatorAggregations_ = new java.util.ArrayList();
+                  mutable_bitField0_ |= 0x00000002;
                 }
-              default:
-                {
-                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                    done = true;
-                  }
-                  break;
+                denominatorAggregations_.add(
+                    input.readMessage(com.google.monitoring.v3.Aggregation.parser(), extensionRegistry));
+                break;
+              }
+              default: {
+                if (!parseUnknownField(
+                    input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
                 }
+                break;
+              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
           throw e.setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(
+              e).setUnfinishedMessage(this);
         } finally {
           if (((mutable_bitField0_ & 0x00000001) != 0)) {
             aggregations_ = java.util.Collections.unmodifiableList(aggregations_);
           }
           if (((mutable_bitField0_ & 0x00000002) != 0)) {
-            denominatorAggregations_ =
-                java.util.Collections.unmodifiableList(denominatorAggregations_);
+            denominatorAggregations_ = java.util.Collections.unmodifiableList(denominatorAggregations_);
           }
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
-
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.monitoring.v3.AlertProto
-            .internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricThreshold_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricThreshold_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.monitoring.v3.AlertProto
-            .internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricThreshold_fieldAccessorTable
+        return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricThreshold_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.class,
-                com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.Builder.class);
+                com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.class, com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.Builder.class);
       }
 
       public static final int FILTER_FIELD_NUMBER = 2;
       private volatile java.lang.Object filter_;
       /**
-       *
-       *
        * 
        * Required. A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
        * identifies which time series should be compared with the threshold.
@@ -3332,7 +2961,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ @java.lang.Override @@ -3341,15 +2969,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. A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
        * identifies which time series should be compared with the threshold.
@@ -3363,15 +2990,16 @@ public java.lang.String getFilter() {
        * 
* * string filter = 2 [(.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 { @@ -3382,8 +3010,6 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int AGGREGATIONS_FIELD_NUMBER = 8; private java.util.List aggregations_; /** - * - * *
        * Specifies the alignment of data points in individual time series as
        * well as how to combine the retrieved time series together (such as
@@ -3404,8 +3030,6 @@ public java.util.List getAggregationsList(
         return aggregations_;
       }
       /**
-       *
-       *
        * 
        * Specifies the alignment of data points in individual time series as
        * well as how to combine the retrieved time series together (such as
@@ -3422,13 +3046,11 @@ public java.util.List getAggregationsList(
        * repeated .google.monitoring.v3.Aggregation aggregations = 8;
        */
       @java.lang.Override
-      public java.util.List
+      public java.util.List 
           getAggregationsOrBuilderList() {
         return aggregations_;
       }
       /**
-       *
-       *
        * 
        * Specifies the alignment of data points in individual time series as
        * well as how to combine the retrieved time series together (such as
@@ -3449,8 +3071,6 @@ public int getAggregationsCount() {
         return aggregations_.size();
       }
       /**
-       *
-       *
        * 
        * Specifies the alignment of data points in individual time series as
        * well as how to combine the retrieved time series together (such as
@@ -3471,8 +3091,6 @@ public com.google.monitoring.v3.Aggregation getAggregations(int index) {
         return aggregations_.get(index);
       }
       /**
-       *
-       *
        * 
        * Specifies the alignment of data points in individual time series as
        * well as how to combine the retrieved time series together (such as
@@ -3489,15 +3107,14 @@ public com.google.monitoring.v3.Aggregation getAggregations(int index) {
        * repeated .google.monitoring.v3.Aggregation aggregations = 8;
        */
       @java.lang.Override
-      public com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(int index) {
+      public com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(
+          int index) {
         return aggregations_.get(index);
       }
 
       public static final int DENOMINATOR_FILTER_FIELD_NUMBER = 9;
       private volatile java.lang.Object denominatorFilter_;
       /**
-       *
-       *
        * 
        * A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
        * identifies a time series that should be used as the denominator of a
@@ -3510,7 +3127,6 @@ public com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(in
        * 
* * string denominator_filter = 9; - * * @return The denominatorFilter. */ @java.lang.Override @@ -3519,15 +3135,14 @@ public java.lang.String getDenominatorFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); denominatorFilter_ = s; return s; } } /** - * - * *
        * A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
        * identifies a time series that should be used as the denominator of a
@@ -3540,15 +3155,16 @@ public java.lang.String getDenominatorFilter() {
        * 
* * string denominator_filter = 9; - * * @return The bytes for denominatorFilter. */ @java.lang.Override - public com.google.protobuf.ByteString getDenominatorFilterBytes() { + public com.google.protobuf.ByteString + getDenominatorFilterBytes() { java.lang.Object ref = denominatorFilter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); denominatorFilter_ = b; return b; } else { @@ -3559,8 +3175,6 @@ public com.google.protobuf.ByteString getDenominatorFilterBytes() { public static final int DENOMINATOR_AGGREGATIONS_FIELD_NUMBER = 10; private java.util.List denominatorAggregations_; /** - * - * *
        * Specifies the alignment of data points in individual time series
        * selected by `denominatorFilter` as
@@ -3580,8 +3194,6 @@ public java.util.List getDenominatorAggreg
         return denominatorAggregations_;
       }
       /**
-       *
-       *
        * 
        * Specifies the alignment of data points in individual time series
        * selected by `denominatorFilter` as
@@ -3597,13 +3209,11 @@ public java.util.List getDenominatorAggreg
        * repeated .google.monitoring.v3.Aggregation denominator_aggregations = 10;
        */
       @java.lang.Override
-      public java.util.List
+      public java.util.List 
           getDenominatorAggregationsOrBuilderList() {
         return denominatorAggregations_;
       }
       /**
-       *
-       *
        * 
        * Specifies the alignment of data points in individual time series
        * selected by `denominatorFilter` as
@@ -3623,8 +3233,6 @@ public int getDenominatorAggregationsCount() {
         return denominatorAggregations_.size();
       }
       /**
-       *
-       *
        * 
        * Specifies the alignment of data points in individual time series
        * selected by `denominatorFilter` as
@@ -3644,8 +3252,6 @@ public com.google.monitoring.v3.Aggregation getDenominatorAggregations(int index
         return denominatorAggregations_.get(index);
       }
       /**
-       *
-       *
        * 
        * Specifies the alignment of data points in individual time series
        * selected by `denominatorFilter` as
@@ -3669,8 +3275,6 @@ public com.google.monitoring.v3.AggregationOrBuilder getDenominatorAggregationsO
       public static final int COMPARISON_FIELD_NUMBER = 4;
       private int comparison_;
       /**
-       *
-       *
        * 
        * The comparison to apply between the time series (indicated by `filter`
        * and `aggregation`) and the threshold (indicated by `threshold_value`).
@@ -3680,16 +3284,12 @@ public com.google.monitoring.v3.AggregationOrBuilder getDenominatorAggregationsO
        * 
* * .google.monitoring.v3.ComparisonType comparison = 4; - * * @return The enum numeric value on the wire for comparison. */ - @java.lang.Override - public int getComparisonValue() { + @java.lang.Override public int getComparisonValue() { return comparison_; } /** - * - * *
        * The comparison to apply between the time series (indicated by `filter`
        * and `aggregation`) and the threshold (indicated by `threshold_value`).
@@ -3699,28 +3299,22 @@ public int getComparisonValue() {
        * 
* * .google.monitoring.v3.ComparisonType comparison = 4; - * * @return The comparison. */ - @java.lang.Override - public com.google.monitoring.v3.ComparisonType getComparison() { + @java.lang.Override public com.google.monitoring.v3.ComparisonType getComparison() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.ComparisonType result = - com.google.monitoring.v3.ComparisonType.valueOf(comparison_); + com.google.monitoring.v3.ComparisonType result = com.google.monitoring.v3.ComparisonType.valueOf(comparison_); return result == null ? com.google.monitoring.v3.ComparisonType.UNRECOGNIZED : result; } public static final int THRESHOLD_VALUE_FIELD_NUMBER = 5; private double thresholdValue_; /** - * - * *
        * A value against which to compare the time series.
        * 
* * double threshold_value = 5; - * * @return The thresholdValue. */ @java.lang.Override @@ -3731,8 +3325,6 @@ public double getThresholdValue() { public static final int DURATION_FIELD_NUMBER = 6; private com.google.protobuf.Duration duration_; /** - * - * *
        * The amount of time that a time series must violate the
        * threshold to be considered failing. Currently, only values
@@ -3747,7 +3339,6 @@ public double getThresholdValue() {
        * 
* * .google.protobuf.Duration duration = 6; - * * @return Whether the duration field is set. */ @java.lang.Override @@ -3755,8 +3346,6 @@ public boolean hasDuration() { return duration_ != null; } /** - * - * *
        * The amount of time that a time series must violate the
        * threshold to be considered failing. Currently, only values
@@ -3771,7 +3360,6 @@ public boolean hasDuration() {
        * 
* * .google.protobuf.Duration duration = 6; - * * @return The duration. */ @java.lang.Override @@ -3779,8 +3367,6 @@ public com.google.protobuf.Duration getDuration() { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } /** - * - * *
        * The amount of time that a time series must violate the
        * threshold to be considered failing. Currently, only values
@@ -3804,8 +3390,6 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
       public static final int TRIGGER_FIELD_NUMBER = 7;
       private com.google.monitoring.v3.AlertPolicy.Condition.Trigger trigger_;
       /**
-       *
-       *
        * 
        * The number/percent of time series for which the comparison must hold
        * in order for the condition to trigger. If unspecified, then the
@@ -3816,7 +3400,6 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
        * 
* * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 7; - * * @return Whether the trigger field is set. */ @java.lang.Override @@ -3824,8 +3407,6 @@ public boolean hasTrigger() { return trigger_ != null; } /** - * - * *
        * The number/percent of time series for which the comparison must hold
        * in order for the condition to trigger. If unspecified, then the
@@ -3836,18 +3417,13 @@ public boolean hasTrigger() {
        * 
* * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 7; - * * @return The trigger. */ @java.lang.Override public com.google.monitoring.v3.AlertPolicy.Condition.Trigger getTrigger() { - return trigger_ == null - ? com.google.monitoring.v3.AlertPolicy.Condition.Trigger.getDefaultInstance() - : trigger_; + return trigger_ == null ? com.google.monitoring.v3.AlertPolicy.Condition.Trigger.getDefaultInstance() : trigger_; } /** - * - * *
        * The number/percent of time series for which the comparison must hold
        * in order for the condition to trigger. If unspecified, then the
@@ -3865,7 +3441,6 @@ public com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder getTrigge
       }
 
       private byte memoizedIsInitialized = -1;
-
       @java.lang.Override
       public final boolean isInitialized() {
         byte isInitialized = memoizedIsInitialized;
@@ -3877,12 +3452,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(filter_)) {
           com.google.protobuf.GeneratedMessageV3.writeString(output, 2, filter_);
         }
-        if (comparison_
-            != com.google.monitoring.v3.ComparisonType.COMPARISON_UNSPECIFIED.getNumber()) {
+        if (comparison_ != com.google.monitoring.v3.ComparisonType.COMPARISON_UNSPECIFIED.getNumber()) {
           output.writeEnum(4, comparison_);
         }
         if (thresholdValue_ != 0D) {
@@ -3915,29 +3490,32 @@ public int getSerializedSize() {
         if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) {
           size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_);
         }
-        if (comparison_
-            != com.google.monitoring.v3.ComparisonType.COMPARISON_UNSPECIFIED.getNumber()) {
-          size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, comparison_);
+        if (comparison_ != com.google.monitoring.v3.ComparisonType.COMPARISON_UNSPECIFIED.getNumber()) {
+          size += com.google.protobuf.CodedOutputStream
+            .computeEnumSize(4, comparison_);
         }
         if (thresholdValue_ != 0D) {
-          size += com.google.protobuf.CodedOutputStream.computeDoubleSize(5, thresholdValue_);
+          size += com.google.protobuf.CodedOutputStream
+            .computeDoubleSize(5, thresholdValue_);
         }
         if (duration_ != null) {
-          size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getDuration());
+          size += com.google.protobuf.CodedOutputStream
+            .computeMessageSize(6, getDuration());
         }
         if (trigger_ != null) {
-          size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getTrigger());
+          size += com.google.protobuf.CodedOutputStream
+            .computeMessageSize(7, getTrigger());
         }
         for (int i = 0; i < aggregations_.size(); i++) {
-          size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, aggregations_.get(i));
+          size += com.google.protobuf.CodedOutputStream
+            .computeMessageSize(8, aggregations_.get(i));
         }
         if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(denominatorFilter_)) {
           size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, denominatorFilter_);
         }
         for (int i = 0; i < denominatorAggregations_.size(); i++) {
-          size +=
-              com.google.protobuf.CodedOutputStream.computeMessageSize(
-                  10, denominatorAggregations_.get(i));
+          size += com.google.protobuf.CodedOutputStream
+            .computeMessageSize(10, denominatorAggregations_.get(i));
         }
         size += unknownFields.getSerializedSize();
         memoizedSize = size;
@@ -3947,29 +3525,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.monitoring.v3.AlertPolicy.Condition.MetricThreshold)) {
           return super.equals(obj);
         }
-        com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold other =
-            (com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) obj;
+        com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold other = (com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) obj;
 
-        if (!getFilter().equals(other.getFilter())) return false;
-        if (!getAggregationsList().equals(other.getAggregationsList())) return false;
-        if (!getDenominatorFilter().equals(other.getDenominatorFilter())) return false;
-        if (!getDenominatorAggregationsList().equals(other.getDenominatorAggregationsList()))
-          return false;
+        if (!getFilter()
+            .equals(other.getFilter())) return false;
+        if (!getAggregationsList()
+            .equals(other.getAggregationsList())) return false;
+        if (!getDenominatorFilter()
+            .equals(other.getDenominatorFilter())) return false;
+        if (!getDenominatorAggregationsList()
+            .equals(other.getDenominatorAggregationsList())) return false;
         if (comparison_ != other.comparison_) return false;
         if (java.lang.Double.doubleToLongBits(getThresholdValue())
-            != java.lang.Double.doubleToLongBits(other.getThresholdValue())) return false;
+            != java.lang.Double.doubleToLongBits(
+                other.getThresholdValue())) return false;
         if (hasDuration() != other.hasDuration()) return false;
         if (hasDuration()) {
-          if (!getDuration().equals(other.getDuration())) return false;
+          if (!getDuration()
+              .equals(other.getDuration())) return false;
         }
         if (hasTrigger() != other.hasTrigger()) return false;
         if (hasTrigger()) {
-          if (!getTrigger().equals(other.getTrigger())) return false;
+          if (!getTrigger()
+              .equals(other.getTrigger())) return false;
         }
         if (!unknownFields.equals(other.unknownFields)) return false;
         return true;
@@ -3997,10 +3580,8 @@ public int hashCode() {
         hash = (37 * hash) + COMPARISON_FIELD_NUMBER;
         hash = (53 * hash) + comparison_;
         hash = (37 * hash) + THRESHOLD_VALUE_FIELD_NUMBER;
-        hash =
-            (53 * hash)
-                + com.google.protobuf.Internal.hashLong(
-                    java.lang.Double.doubleToLongBits(getThresholdValue()));
+        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+            java.lang.Double.doubleToLongBits(getThresholdValue()));
         if (hasDuration()) {
           hash = (37 * hash) + DURATION_FIELD_NUMBER;
           hash = (53 * hash) + getDuration().hashCode();
@@ -4015,96 +3596,87 @@ public int hashCode() {
       }
 
       public static com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold parseFrom(
-          java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+          java.nio.ByteBuffer data)
+          throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-
       public static com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold parseFrom(
-          java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          java.nio.ByteBuffer data,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-
       public static com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold parseFrom(
           com.google.protobuf.ByteString data)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-
       public static com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold parseFrom(
           com.google.protobuf.ByteString data,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold parseFrom(
-          byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold parseFrom(byte[] data)
+          throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-
       public static com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold parseFrom(
-          byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          byte[] data,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold parseFrom(
-          java.io.InputStream input) throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold parseFrom(java.io.InputStream input)
+          throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3
+            .parseWithIOException(PARSER, input);
       }
-
       public static com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold parseFrom(
-          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          java.io.InputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-            PARSER, input, extensionRegistry);
+        return com.google.protobuf.GeneratedMessageV3
+            .parseWithIOException(PARSER, input, extensionRegistry);
       }
-
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold
-          parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold parseDelimitedFrom(java.io.InputStream input)
+          throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3
+            .parseDelimitedWithIOException(PARSER, input);
       }
-
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold
-          parseDelimitedFrom(
-              java.io.InputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-            PARSER, input, extensionRegistry);
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold parseDelimitedFrom(
+          java.io.InputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3
+            .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
       }
-
       public static com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold parseFrom(
-          com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+          com.google.protobuf.CodedInputStream input)
+          throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3
+            .parseWithIOException(PARSER, input);
       }
-
       public static com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold parseFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-            PARSER, input, extensionRegistry);
+        return com.google.protobuf.GeneratedMessageV3
+            .parseWithIOException(PARSER, input, extensionRegistry);
       }
 
       @java.lang.Override
-      public Builder newBuilderForType() {
-        return newBuilder();
-      }
-
+      public Builder newBuilderForType() { return newBuilder(); }
       public static Builder newBuilder() {
         return DEFAULT_INSTANCE.toBuilder();
       }
-
-      public static Builder newBuilder(
-          com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold prototype) {
+      public static Builder newBuilder(com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold prototype) {
         return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
       }
-
       @java.lang.Override
       public Builder toBuilder() {
-        return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+        return this == DEFAULT_INSTANCE
+            ? new Builder() : new Builder().mergeFrom(this);
       }
 
       @java.lang.Override
@@ -4114,8 +3686,6 @@ protected Builder newBuilderForType(
         return builder;
       }
       /**
-       *
-       *
        * 
        * A condition type that compares a collection of time series
        * against a threshold.
@@ -4123,44 +3693,40 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.monitoring.v3.AlertPolicy.Condition.MetricThreshold}
        */
-      public static final class Builder
-          extends com.google.protobuf.GeneratedMessageV3.Builder
-          implements
+      public static final class Builder extends
+          com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.monitoring.v3.AlertPolicy.Condition.MetricThreshold)
           com.google.monitoring.v3.AlertPolicy.Condition.MetricThresholdOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-          return com.google.monitoring.v3.AlertProto
-              .internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricThreshold_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor
+            getDescriptor() {
+          return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricThreshold_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.monitoring.v3.AlertProto
-              .internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricThreshold_fieldAccessorTable
+          return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricThreshold_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.class,
-                  com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.Builder.class);
+                  com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.class, com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.Builder.class);
         }
 
-        // Construct using
-        // com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.newBuilder()
+        // Construct using com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
 
-        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(
+            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
-
         private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+          if (com.google.protobuf.GeneratedMessageV3
+                  .alwaysUseFieldBuilders) {
             getAggregationsFieldBuilder();
             getDenominatorAggregationsFieldBuilder();
           }
         }
-
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -4200,16 +3766,14 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-          return com.google.monitoring.v3.AlertProto
-              .internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricThreshold_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor
+            getDescriptorForType() {
+          return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricThreshold_descriptor;
         }
 
         @java.lang.Override
-        public com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold
-            getDefaultInstanceForType() {
-          return com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold
-              .getDefaultInstance();
+        public com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold getDefaultInstanceForType() {
+          return com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.getDefaultInstance();
         }
 
         @java.lang.Override
@@ -4223,8 +3787,7 @@ public com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold build() {
 
         @java.lang.Override
         public com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold buildPartial() {
-          com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold result =
-              new com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold(this);
+          com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold result = new com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold(this);
           int from_bitField0_ = bitField0_;
           result.filter_ = filter_;
           if (aggregationsBuilder_ == null) {
@@ -4239,8 +3802,7 @@ public com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold buildParti
           result.denominatorFilter_ = denominatorFilter_;
           if (denominatorAggregationsBuilder_ == null) {
             if (((bitField0_ & 0x00000002) != 0)) {
-              denominatorAggregations_ =
-                  java.util.Collections.unmodifiableList(denominatorAggregations_);
+              denominatorAggregations_ = java.util.Collections.unmodifiableList(denominatorAggregations_);
               bitField0_ = (bitField0_ & ~0x00000002);
             }
             result.denominatorAggregations_ = denominatorAggregations_;
@@ -4267,53 +3829,46 @@ public com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold buildParti
         public Builder clone() {
           return super.clone();
         }
-
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field,
+            java.lang.Object value) {
           return super.setField(field, value);
         }
-
         @java.lang.Override
-        public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+        public Builder clearField(
+            com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
-
         @java.lang.Override
-        public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+        public Builder clearOneof(
+            com.google.protobuf.Descriptors.OneofDescriptor oneof) {
           return super.clearOneof(oneof);
         }
-
         @java.lang.Override
         public Builder setRepeatedField(
             com.google.protobuf.Descriptors.FieldDescriptor field,
-            int index,
-            java.lang.Object value) {
+            int index, java.lang.Object value) {
           return super.setRepeatedField(field, index, value);
         }
-
         @java.lang.Override
         public Builder addRepeatedField(
-            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field,
+            java.lang.Object value) {
           return super.addRepeatedField(field, value);
         }
-
         @java.lang.Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
           if (other instanceof com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) {
-            return mergeFrom(
-                (com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) other);
+            return mergeFrom((com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold)other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(
-            com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold other) {
-          if (other
-              == com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold
-                  .getDefaultInstance()) return this;
+        public Builder mergeFrom(com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold other) {
+          if (other == com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.getDefaultInstance()) return this;
           if (!other.getFilter().isEmpty()) {
             filter_ = other.filter_;
             onChanged();
@@ -4336,10 +3891,9 @@ public Builder mergeFrom(
                 aggregationsBuilder_ = null;
                 aggregations_ = other.aggregations_;
                 bitField0_ = (bitField0_ & ~0x00000001);
-                aggregationsBuilder_ =
-                    com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                        ? getAggregationsFieldBuilder()
-                        : null;
+                aggregationsBuilder_ = 
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                     getAggregationsFieldBuilder() : null;
               } else {
                 aggregationsBuilder_.addAllMessages(other.aggregations_);
               }
@@ -4367,10 +3921,9 @@ public Builder mergeFrom(
                 denominatorAggregationsBuilder_ = null;
                 denominatorAggregations_ = other.denominatorAggregations_;
                 bitField0_ = (bitField0_ & ~0x00000002);
-                denominatorAggregationsBuilder_ =
-                    com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                        ? getDenominatorAggregationsFieldBuilder()
-                        : null;
+                denominatorAggregationsBuilder_ = 
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                     getDenominatorAggregationsFieldBuilder() : null;
               } else {
                 denominatorAggregationsBuilder_.addAllMessages(other.denominatorAggregations_);
               }
@@ -4407,9 +3960,7 @@ public Builder mergeFrom(
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            parsedMessage =
-                (com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold)
-                    e.getUnfinishedMessage();
+            parsedMessage = (com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
@@ -4418,13 +3969,10 @@ public Builder mergeFrom(
           }
           return this;
         }
-
         private int bitField0_;
 
         private java.lang.Object filter_ = "";
         /**
-         *
-         *
          * 
          * Required. A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
          * identifies which time series should be compared with the threshold.
@@ -4438,13 +3986,13 @@ public Builder mergeFrom(
          * 
* * string filter = 2 [(.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; @@ -4453,8 +4001,6 @@ public java.lang.String getFilter() { } } /** - * - * *
          * Required. A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
          * identifies which time series should be compared with the threshold.
@@ -4468,14 +4014,15 @@ public java.lang.String getFilter() {
          * 
* * string filter = 2 [(.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 { @@ -4483,8 +4030,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
          * Required. A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
          * identifies which time series should be compared with the threshold.
@@ -4498,22 +4043,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
          * 
* * string filter = 2 [(.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. A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
          * identifies which time series should be compared with the threshold.
@@ -4527,18 +4070,15 @@ public Builder setFilter(java.lang.String value) {
          * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
          * Required. A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
          * identifies which time series should be compared with the threshold.
@@ -4552,41 +4092,34 @@ public Builder clearFilter() {
          * 
* * string filter = 2 [(.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; } private java.util.List aggregations_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAggregationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - aggregations_ = - new java.util.ArrayList(aggregations_); + aggregations_ = new java.util.ArrayList(aggregations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.Aggregation, - com.google.monitoring.v3.Aggregation.Builder, - com.google.monitoring.v3.AggregationOrBuilder> - aggregationsBuilder_; + com.google.monitoring.v3.Aggregation, com.google.monitoring.v3.Aggregation.Builder, com.google.monitoring.v3.AggregationOrBuilder> aggregationsBuilder_; /** - * - * *
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -4610,8 +4143,6 @@ public java.util.List getAggregationsList(
           }
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -4635,8 +4166,6 @@ public int getAggregationsCount() {
           }
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -4660,8 +4189,6 @@ public com.google.monitoring.v3.Aggregation getAggregations(int index) {
           }
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -4677,7 +4204,8 @@ public com.google.monitoring.v3.Aggregation getAggregations(int index) {
          *
          * repeated .google.monitoring.v3.Aggregation aggregations = 8;
          */
-        public Builder setAggregations(int index, com.google.monitoring.v3.Aggregation value) {
+        public Builder setAggregations(
+            int index, com.google.monitoring.v3.Aggregation value) {
           if (aggregationsBuilder_ == null) {
             if (value == null) {
               throw new NullPointerException();
@@ -4691,8 +4219,6 @@ public Builder setAggregations(int index, com.google.monitoring.v3.Aggregation v
           return this;
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -4720,8 +4246,6 @@ public Builder setAggregations(
           return this;
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -4751,8 +4275,6 @@ public Builder addAggregations(com.google.monitoring.v3.Aggregation value) {
           return this;
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -4768,7 +4290,8 @@ public Builder addAggregations(com.google.monitoring.v3.Aggregation value) {
          *
          * repeated .google.monitoring.v3.Aggregation aggregations = 8;
          */
-        public Builder addAggregations(int index, com.google.monitoring.v3.Aggregation value) {
+        public Builder addAggregations(
+            int index, com.google.monitoring.v3.Aggregation value) {
           if (aggregationsBuilder_ == null) {
             if (value == null) {
               throw new NullPointerException();
@@ -4782,8 +4305,6 @@ public Builder addAggregations(int index, com.google.monitoring.v3.Aggregation v
           return this;
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -4811,8 +4332,6 @@ public Builder addAggregations(
           return this;
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -4840,8 +4359,6 @@ public Builder addAggregations(
           return this;
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -4861,7 +4378,8 @@ public Builder addAllAggregations(
             java.lang.Iterable values) {
           if (aggregationsBuilder_ == null) {
             ensureAggregationsIsMutable();
-            com.google.protobuf.AbstractMessageLite.Builder.addAll(values, aggregations_);
+            com.google.protobuf.AbstractMessageLite.Builder.addAll(
+                values, aggregations_);
             onChanged();
           } else {
             aggregationsBuilder_.addAllMessages(values);
@@ -4869,8 +4387,6 @@ public Builder addAllAggregations(
           return this;
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -4897,8 +4413,6 @@ public Builder clearAggregations() {
           return this;
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -4925,8 +4439,6 @@ public Builder removeAggregations(int index) {
           return this;
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -4942,12 +4454,11 @@ public Builder removeAggregations(int index) {
          *
          * repeated .google.monitoring.v3.Aggregation aggregations = 8;
          */
-        public com.google.monitoring.v3.Aggregation.Builder getAggregationsBuilder(int index) {
+        public com.google.monitoring.v3.Aggregation.Builder getAggregationsBuilder(
+            int index) {
           return getAggregationsFieldBuilder().getBuilder(index);
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -4963,16 +4474,14 @@ public com.google.monitoring.v3.Aggregation.Builder getAggregationsBuilder(int i
          *
          * repeated .google.monitoring.v3.Aggregation aggregations = 8;
          */
-        public com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(int index) {
+        public com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(
+            int index) {
           if (aggregationsBuilder_ == null) {
-            return aggregations_.get(index);
-          } else {
+            return aggregations_.get(index);  } else {
             return aggregationsBuilder_.getMessageOrBuilder(index);
           }
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -4988,8 +4497,8 @@ public com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(in
          *
          * repeated .google.monitoring.v3.Aggregation aggregations = 8;
          */
-        public java.util.List
-            getAggregationsOrBuilderList() {
+        public java.util.List 
+             getAggregationsOrBuilderList() {
           if (aggregationsBuilder_ != null) {
             return aggregationsBuilder_.getMessageOrBuilderList();
           } else {
@@ -4997,8 +4506,6 @@ public com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(in
           }
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -5015,12 +4522,10 @@ public com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(in
          * repeated .google.monitoring.v3.Aggregation aggregations = 8;
          */
         public com.google.monitoring.v3.Aggregation.Builder addAggregationsBuilder() {
-          return getAggregationsFieldBuilder()
-              .addBuilder(com.google.monitoring.v3.Aggregation.getDefaultInstance());
+          return getAggregationsFieldBuilder().addBuilder(
+              com.google.monitoring.v3.Aggregation.getDefaultInstance());
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -5036,13 +4541,12 @@ public com.google.monitoring.v3.Aggregation.Builder addAggregationsBuilder() {
          *
          * repeated .google.monitoring.v3.Aggregation aggregations = 8;
          */
-        public com.google.monitoring.v3.Aggregation.Builder addAggregationsBuilder(int index) {
-          return getAggregationsFieldBuilder()
-              .addBuilder(index, com.google.monitoring.v3.Aggregation.getDefaultInstance());
+        public com.google.monitoring.v3.Aggregation.Builder addAggregationsBuilder(
+            int index) {
+          return getAggregationsFieldBuilder().addBuilder(
+              index, com.google.monitoring.v3.Aggregation.getDefaultInstance());
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -5058,22 +4562,16 @@ public com.google.monitoring.v3.Aggregation.Builder addAggregationsBuilder(int i
          *
          * repeated .google.monitoring.v3.Aggregation aggregations = 8;
          */
-        public java.util.List
-            getAggregationsBuilderList() {
+        public java.util.List 
+             getAggregationsBuilderList() {
           return getAggregationsFieldBuilder().getBuilderList();
         }
-
         private com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.monitoring.v3.Aggregation,
-                com.google.monitoring.v3.Aggregation.Builder,
-                com.google.monitoring.v3.AggregationOrBuilder>
+            com.google.monitoring.v3.Aggregation, com.google.monitoring.v3.Aggregation.Builder, com.google.monitoring.v3.AggregationOrBuilder> 
             getAggregationsFieldBuilder() {
           if (aggregationsBuilder_ == null) {
-            aggregationsBuilder_ =
-                new com.google.protobuf.RepeatedFieldBuilderV3<
-                    com.google.monitoring.v3.Aggregation,
-                    com.google.monitoring.v3.Aggregation.Builder,
-                    com.google.monitoring.v3.AggregationOrBuilder>(
+            aggregationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.monitoring.v3.Aggregation, com.google.monitoring.v3.Aggregation.Builder, com.google.monitoring.v3.AggregationOrBuilder>(
                     aggregations_,
                     ((bitField0_ & 0x00000001) != 0),
                     getParentForChildren(),
@@ -5085,8 +4583,6 @@ public com.google.monitoring.v3.Aggregation.Builder addAggregationsBuilder(int i
 
         private java.lang.Object denominatorFilter_ = "";
         /**
-         *
-         *
          * 
          * A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
          * identifies a time series that should be used as the denominator of a
@@ -5099,13 +4595,13 @@ public com.google.monitoring.v3.Aggregation.Builder addAggregationsBuilder(int i
          * 
* * string denominator_filter = 9; - * * @return The denominatorFilter. */ public java.lang.String getDenominatorFilter() { java.lang.Object ref = denominatorFilter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); denominatorFilter_ = s; return s; @@ -5114,8 +4610,6 @@ public java.lang.String getDenominatorFilter() { } } /** - * - * *
          * A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
          * identifies a time series that should be used as the denominator of a
@@ -5128,14 +4622,15 @@ public java.lang.String getDenominatorFilter() {
          * 
* * string denominator_filter = 9; - * * @return The bytes for denominatorFilter. */ - public com.google.protobuf.ByteString getDenominatorFilterBytes() { + public com.google.protobuf.ByteString + getDenominatorFilterBytes() { java.lang.Object ref = denominatorFilter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); denominatorFilter_ = b; return b; } else { @@ -5143,8 +4638,6 @@ public com.google.protobuf.ByteString getDenominatorFilterBytes() { } } /** - * - * *
          * A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
          * identifies a time series that should be used as the denominator of a
@@ -5157,22 +4650,20 @@ public com.google.protobuf.ByteString getDenominatorFilterBytes() {
          * 
* * string denominator_filter = 9; - * * @param value The denominatorFilter to set. * @return This builder for chaining. */ - public Builder setDenominatorFilter(java.lang.String value) { + public Builder setDenominatorFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + denominatorFilter_ = value; onChanged(); return this; } /** - * - * *
          * A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
          * identifies a time series that should be used as the denominator of a
@@ -5185,18 +4676,15 @@ public Builder setDenominatorFilter(java.lang.String value) {
          * 
* * string denominator_filter = 9; - * * @return This builder for chaining. */ public Builder clearDenominatorFilter() { - + denominatorFilter_ = getDefaultInstance().getDenominatorFilter(); onChanged(); return this; } /** - * - * *
          * A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
          * identifies a time series that should be used as the denominator of a
@@ -5209,42 +4697,34 @@ public Builder clearDenominatorFilter() {
          * 
* * string denominator_filter = 9; - * * @param value The bytes for denominatorFilter to set. * @return This builder for chaining. */ - public Builder setDenominatorFilterBytes(com.google.protobuf.ByteString value) { + public Builder setDenominatorFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + denominatorFilter_ = value; onChanged(); return this; } private java.util.List denominatorAggregations_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDenominatorAggregationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - denominatorAggregations_ = - new java.util.ArrayList( - denominatorAggregations_); + denominatorAggregations_ = new java.util.ArrayList(denominatorAggregations_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.Aggregation, - com.google.monitoring.v3.Aggregation.Builder, - com.google.monitoring.v3.AggregationOrBuilder> - denominatorAggregationsBuilder_; + com.google.monitoring.v3.Aggregation, com.google.monitoring.v3.Aggregation.Builder, com.google.monitoring.v3.AggregationOrBuilder> denominatorAggregationsBuilder_; /** - * - * *
          * Specifies the alignment of data points in individual time series
          * selected by `denominatorFilter` as
@@ -5259,8 +4739,7 @@ private void ensureDenominatorAggregationsIsMutable() {
          *
          * repeated .google.monitoring.v3.Aggregation denominator_aggregations = 10;
          */
-        public java.util.List
-            getDenominatorAggregationsList() {
+        public java.util.List getDenominatorAggregationsList() {
           if (denominatorAggregationsBuilder_ == null) {
             return java.util.Collections.unmodifiableList(denominatorAggregations_);
           } else {
@@ -5268,8 +4747,6 @@ private void ensureDenominatorAggregationsIsMutable() {
           }
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series
          * selected by `denominatorFilter` as
@@ -5292,8 +4769,6 @@ public int getDenominatorAggregationsCount() {
           }
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series
          * selected by `denominatorFilter` as
@@ -5316,8 +4791,6 @@ public com.google.monitoring.v3.Aggregation getDenominatorAggregations(int index
           }
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series
          * selected by `denominatorFilter` as
@@ -5347,8 +4820,6 @@ public Builder setDenominatorAggregations(
           return this;
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series
          * selected by `denominatorFilter` as
@@ -5375,8 +4846,6 @@ public Builder setDenominatorAggregations(
           return this;
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series
          * selected by `denominatorFilter` as
@@ -5405,8 +4874,6 @@ public Builder addDenominatorAggregations(com.google.monitoring.v3.Aggregation v
           return this;
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series
          * selected by `denominatorFilter` as
@@ -5436,8 +4903,6 @@ public Builder addDenominatorAggregations(
           return this;
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series
          * selected by `denominatorFilter` as
@@ -5464,8 +4929,6 @@ public Builder addDenominatorAggregations(
           return this;
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series
          * selected by `denominatorFilter` as
@@ -5492,8 +4955,6 @@ public Builder addDenominatorAggregations(
           return this;
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series
          * selected by `denominatorFilter` as
@@ -5521,8 +4982,6 @@ public Builder addAllDenominatorAggregations(
           return this;
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series
          * selected by `denominatorFilter` as
@@ -5548,8 +5007,6 @@ public Builder clearDenominatorAggregations() {
           return this;
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series
          * selected by `denominatorFilter` as
@@ -5575,8 +5032,6 @@ public Builder removeDenominatorAggregations(int index) {
           return this;
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series
          * selected by `denominatorFilter` as
@@ -5596,8 +5051,6 @@ public com.google.monitoring.v3.Aggregation.Builder getDenominatorAggregationsBu
           return getDenominatorAggregationsFieldBuilder().getBuilder(index);
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series
          * selected by `denominatorFilter` as
@@ -5615,14 +5068,11 @@ public com.google.monitoring.v3.Aggregation.Builder getDenominatorAggregationsBu
         public com.google.monitoring.v3.AggregationOrBuilder getDenominatorAggregationsOrBuilder(
             int index) {
           if (denominatorAggregationsBuilder_ == null) {
-            return denominatorAggregations_.get(index);
-          } else {
+            return denominatorAggregations_.get(index);  } else {
             return denominatorAggregationsBuilder_.getMessageOrBuilder(index);
           }
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series
          * selected by `denominatorFilter` as
@@ -5637,8 +5087,8 @@ public com.google.monitoring.v3.AggregationOrBuilder getDenominatorAggregationsO
          *
          * repeated .google.monitoring.v3.Aggregation denominator_aggregations = 10;
          */
-        public java.util.List
-            getDenominatorAggregationsOrBuilderList() {
+        public java.util.List 
+             getDenominatorAggregationsOrBuilderList() {
           if (denominatorAggregationsBuilder_ != null) {
             return denominatorAggregationsBuilder_.getMessageOrBuilderList();
           } else {
@@ -5646,8 +5096,6 @@ public com.google.monitoring.v3.AggregationOrBuilder getDenominatorAggregationsO
           }
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series
          * selected by `denominatorFilter` as
@@ -5663,12 +5111,10 @@ public com.google.monitoring.v3.AggregationOrBuilder getDenominatorAggregationsO
          * repeated .google.monitoring.v3.Aggregation denominator_aggregations = 10;
          */
         public com.google.monitoring.v3.Aggregation.Builder addDenominatorAggregationsBuilder() {
-          return getDenominatorAggregationsFieldBuilder()
-              .addBuilder(com.google.monitoring.v3.Aggregation.getDefaultInstance());
+          return getDenominatorAggregationsFieldBuilder().addBuilder(
+              com.google.monitoring.v3.Aggregation.getDefaultInstance());
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series
          * selected by `denominatorFilter` as
@@ -5685,12 +5131,10 @@ public com.google.monitoring.v3.Aggregation.Builder addDenominatorAggregationsBu
          */
         public com.google.monitoring.v3.Aggregation.Builder addDenominatorAggregationsBuilder(
             int index) {
-          return getDenominatorAggregationsFieldBuilder()
-              .addBuilder(index, com.google.monitoring.v3.Aggregation.getDefaultInstance());
+          return getDenominatorAggregationsFieldBuilder().addBuilder(
+              index, com.google.monitoring.v3.Aggregation.getDefaultInstance());
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series
          * selected by `denominatorFilter` as
@@ -5705,22 +5149,16 @@ public com.google.monitoring.v3.Aggregation.Builder addDenominatorAggregationsBu
          *
          * repeated .google.monitoring.v3.Aggregation denominator_aggregations = 10;
          */
-        public java.util.List
-            getDenominatorAggregationsBuilderList() {
+        public java.util.List 
+             getDenominatorAggregationsBuilderList() {
           return getDenominatorAggregationsFieldBuilder().getBuilderList();
         }
-
         private com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.monitoring.v3.Aggregation,
-                com.google.monitoring.v3.Aggregation.Builder,
-                com.google.monitoring.v3.AggregationOrBuilder>
+            com.google.monitoring.v3.Aggregation, com.google.monitoring.v3.Aggregation.Builder, com.google.monitoring.v3.AggregationOrBuilder> 
             getDenominatorAggregationsFieldBuilder() {
           if (denominatorAggregationsBuilder_ == null) {
-            denominatorAggregationsBuilder_ =
-                new com.google.protobuf.RepeatedFieldBuilderV3<
-                    com.google.monitoring.v3.Aggregation,
-                    com.google.monitoring.v3.Aggregation.Builder,
-                    com.google.monitoring.v3.AggregationOrBuilder>(
+            denominatorAggregationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.monitoring.v3.Aggregation, com.google.monitoring.v3.Aggregation.Builder, com.google.monitoring.v3.AggregationOrBuilder>(
                     denominatorAggregations_,
                     ((bitField0_ & 0x00000002) != 0),
                     getParentForChildren(),
@@ -5732,8 +5170,6 @@ public com.google.monitoring.v3.Aggregation.Builder addDenominatorAggregationsBu
 
         private int comparison_ = 0;
         /**
-         *
-         *
          * 
          * The comparison to apply between the time series (indicated by `filter`
          * and `aggregation`) and the threshold (indicated by `threshold_value`).
@@ -5743,16 +5179,12 @@ public com.google.monitoring.v3.Aggregation.Builder addDenominatorAggregationsBu
          * 
* * .google.monitoring.v3.ComparisonType comparison = 4; - * * @return The enum numeric value on the wire for comparison. */ - @java.lang.Override - public int getComparisonValue() { + @java.lang.Override public int getComparisonValue() { return comparison_; } /** - * - * *
          * The comparison to apply between the time series (indicated by `filter`
          * and `aggregation`) and the threshold (indicated by `threshold_value`).
@@ -5762,19 +5194,16 @@ public int getComparisonValue() {
          * 
* * .google.monitoring.v3.ComparisonType comparison = 4; - * * @param value The enum numeric value on the wire for comparison to set. * @return This builder for chaining. */ public Builder setComparisonValue(int value) { - + comparison_ = value; onChanged(); return this; } /** - * - * *
          * The comparison to apply between the time series (indicated by `filter`
          * and `aggregation`) and the threshold (indicated by `threshold_value`).
@@ -5784,19 +5213,15 @@ public Builder setComparisonValue(int value) {
          * 
* * .google.monitoring.v3.ComparisonType comparison = 4; - * * @return The comparison. */ @java.lang.Override public com.google.monitoring.v3.ComparisonType getComparison() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.ComparisonType result = - com.google.monitoring.v3.ComparisonType.valueOf(comparison_); + com.google.monitoring.v3.ComparisonType result = com.google.monitoring.v3.ComparisonType.valueOf(comparison_); return result == null ? com.google.monitoring.v3.ComparisonType.UNRECOGNIZED : result; } /** - * - * *
          * The comparison to apply between the time series (indicated by `filter`
          * and `aggregation`) and the threshold (indicated by `threshold_value`).
@@ -5806,7 +5231,6 @@ public com.google.monitoring.v3.ComparisonType getComparison() {
          * 
* * .google.monitoring.v3.ComparisonType comparison = 4; - * * @param value The comparison to set. * @return This builder for chaining. */ @@ -5814,14 +5238,12 @@ public Builder setComparison(com.google.monitoring.v3.ComparisonType value) { if (value == null) { throw new NullPointerException(); } - + comparison_ = value.getNumber(); onChanged(); return this; } /** - * - * *
          * The comparison to apply between the time series (indicated by `filter`
          * and `aggregation`) and the threshold (indicated by `threshold_value`).
@@ -5831,26 +5253,22 @@ public Builder setComparison(com.google.monitoring.v3.ComparisonType value) {
          * 
* * .google.monitoring.v3.ComparisonType comparison = 4; - * * @return This builder for chaining. */ public Builder clearComparison() { - + comparison_ = 0; onChanged(); return this; } - private double thresholdValue_; + private double thresholdValue_ ; /** - * - * *
          * A value against which to compare the time series.
          * 
* * double threshold_value = 5; - * * @return The thresholdValue. */ @java.lang.Override @@ -5858,36 +5276,30 @@ public double getThresholdValue() { return thresholdValue_; } /** - * - * *
          * A value against which to compare the time series.
          * 
* * double threshold_value = 5; - * * @param value The thresholdValue to set. * @return This builder for chaining. */ public Builder setThresholdValue(double value) { - + thresholdValue_ = value; onChanged(); return this; } /** - * - * *
          * A value against which to compare the time series.
          * 
* * double threshold_value = 5; - * * @return This builder for chaining. */ public Builder clearThresholdValue() { - + thresholdValue_ = 0D; onChanged(); return this; @@ -5895,13 +5307,8 @@ public Builder clearThresholdValue() { private com.google.protobuf.Duration duration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - durationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_; /** - * - * *
          * The amount of time that a time series must violate the
          * threshold to be considered failing. Currently, only values
@@ -5916,15 +5323,12 @@ public Builder clearThresholdValue() {
          * 
* * .google.protobuf.Duration duration = 6; - * * @return Whether the duration field is set. */ public boolean hasDuration() { return durationBuilder_ != null || duration_ != null; } /** - * - * *
          * The amount of time that a time series must violate the
          * threshold to be considered failing. Currently, only values
@@ -5939,21 +5343,16 @@ public boolean hasDuration() {
          * 
* * .google.protobuf.Duration duration = 6; - * * @return The duration. */ public com.google.protobuf.Duration getDuration() { if (durationBuilder_ == null) { - return duration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : duration_; + return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } else { return durationBuilder_.getMessage(); } } /** - * - * *
          * The amount of time that a time series must violate the
          * threshold to be considered failing. Currently, only values
@@ -5983,8 +5382,6 @@ public Builder setDuration(com.google.protobuf.Duration value) {
           return this;
         }
         /**
-         *
-         *
          * 
          * The amount of time that a time series must violate the
          * threshold to be considered failing. Currently, only values
@@ -6000,7 +5397,8 @@ public Builder setDuration(com.google.protobuf.Duration value) {
          *
          * .google.protobuf.Duration duration = 6;
          */
-        public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) {
+        public Builder setDuration(
+            com.google.protobuf.Duration.Builder builderForValue) {
           if (durationBuilder_ == null) {
             duration_ = builderForValue.build();
             onChanged();
@@ -6011,8 +5409,6 @@ public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue)
           return this;
         }
         /**
-         *
-         *
          * 
          * The amount of time that a time series must violate the
          * threshold to be considered failing. Currently, only values
@@ -6032,9 +5428,7 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
           if (durationBuilder_ == null) {
             if (duration_ != null) {
               duration_ =
-                  com.google.protobuf.Duration.newBuilder(duration_)
-                      .mergeFrom(value)
-                      .buildPartial();
+                com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
             } else {
               duration_ = value;
             }
@@ -6046,8 +5440,6 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
           return this;
         }
         /**
-         *
-         *
          * 
          * The amount of time that a time series must violate the
          * threshold to be considered failing. Currently, only values
@@ -6075,8 +5467,6 @@ public Builder clearDuration() {
           return this;
         }
         /**
-         *
-         *
          * 
          * The amount of time that a time series must violate the
          * threshold to be considered failing. Currently, only values
@@ -6093,13 +5483,11 @@ public Builder clearDuration() {
          * .google.protobuf.Duration duration = 6;
          */
         public com.google.protobuf.Duration.Builder getDurationBuilder() {
-
+          
           onChanged();
           return getDurationFieldBuilder().getBuilder();
         }
         /**
-         *
-         *
          * 
          * The amount of time that a time series must violate the
          * threshold to be considered failing. Currently, only values
@@ -6119,14 +5507,11 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
           if (durationBuilder_ != null) {
             return durationBuilder_.getMessageOrBuilder();
           } else {
-            return duration_ == null
-                ? com.google.protobuf.Duration.getDefaultInstance()
-                : duration_;
+            return duration_ == null ?
+                com.google.protobuf.Duration.getDefaultInstance() : duration_;
           }
         }
         /**
-         *
-         *
          * 
          * The amount of time that a time series must violate the
          * threshold to be considered failing. Currently, only values
@@ -6143,17 +5528,14 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
          * .google.protobuf.Duration duration = 6;
          */
         private com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
             getDurationFieldBuilder() {
           if (durationBuilder_ == null) {
-            durationBuilder_ =
-                new com.google.protobuf.SingleFieldBuilderV3<
-                    com.google.protobuf.Duration,
-                    com.google.protobuf.Duration.Builder,
-                    com.google.protobuf.DurationOrBuilder>(
-                    getDuration(), getParentForChildren(), isClean());
+            durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                    getDuration(),
+                    getParentForChildren(),
+                    isClean());
             duration_ = null;
           }
           return durationBuilder_;
@@ -6161,13 +5543,8 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
 
         private com.google.monitoring.v3.AlertPolicy.Condition.Trigger trigger_;
         private com.google.protobuf.SingleFieldBuilderV3<
-                com.google.monitoring.v3.AlertPolicy.Condition.Trigger,
-                com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder,
-                com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder>
-            triggerBuilder_;
+            com.google.monitoring.v3.AlertPolicy.Condition.Trigger, com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder, com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder> triggerBuilder_;
         /**
-         *
-         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -6178,15 +5555,12 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
          * 
* * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 7; - * * @return Whether the trigger field is set. */ public boolean hasTrigger() { return triggerBuilder_ != null || trigger_ != null; } /** - * - * *
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -6197,21 +5571,16 @@ public boolean hasTrigger() {
          * 
* * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 7; - * * @return The trigger. */ public com.google.monitoring.v3.AlertPolicy.Condition.Trigger getTrigger() { if (triggerBuilder_ == null) { - return trigger_ == null - ? com.google.monitoring.v3.AlertPolicy.Condition.Trigger.getDefaultInstance() - : trigger_; + return trigger_ == null ? com.google.monitoring.v3.AlertPolicy.Condition.Trigger.getDefaultInstance() : trigger_; } else { return triggerBuilder_.getMessage(); } } /** - * - * *
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -6237,8 +5606,6 @@ public Builder setTrigger(com.google.monitoring.v3.AlertPolicy.Condition.Trigger
           return this;
         }
         /**
-         *
-         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -6262,8 +5629,6 @@ public Builder setTrigger(
           return this;
         }
         /**
-         *
-         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -6279,9 +5644,7 @@ public Builder mergeTrigger(com.google.monitoring.v3.AlertPolicy.Condition.Trigg
           if (triggerBuilder_ == null) {
             if (trigger_ != null) {
               trigger_ =
-                  com.google.monitoring.v3.AlertPolicy.Condition.Trigger.newBuilder(trigger_)
-                      .mergeFrom(value)
-                      .buildPartial();
+                com.google.monitoring.v3.AlertPolicy.Condition.Trigger.newBuilder(trigger_).mergeFrom(value).buildPartial();
             } else {
               trigger_ = value;
             }
@@ -6293,8 +5656,6 @@ public Builder mergeTrigger(com.google.monitoring.v3.AlertPolicy.Condition.Trigg
           return this;
         }
         /**
-         *
-         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -6318,8 +5679,6 @@ public Builder clearTrigger() {
           return this;
         }
         /**
-         *
-         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -6332,13 +5691,11 @@ public Builder clearTrigger() {
          * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 7;
          */
         public com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder getTriggerBuilder() {
-
+          
           onChanged();
           return getTriggerFieldBuilder().getBuilder();
         }
         /**
-         *
-         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -6350,19 +5707,15 @@ public com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder getTrigger
          *
          * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 7;
          */
-        public com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder
-            getTriggerOrBuilder() {
+        public com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder getTriggerOrBuilder() {
           if (triggerBuilder_ != null) {
             return triggerBuilder_.getMessageOrBuilder();
           } else {
-            return trigger_ == null
-                ? com.google.monitoring.v3.AlertPolicy.Condition.Trigger.getDefaultInstance()
-                : trigger_;
+            return trigger_ == null ?
+                com.google.monitoring.v3.AlertPolicy.Condition.Trigger.getDefaultInstance() : trigger_;
           }
         }
         /**
-         *
-         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -6375,22 +5728,18 @@ public com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder getTrigger
          * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 7;
          */
         private com.google.protobuf.SingleFieldBuilderV3<
-                com.google.monitoring.v3.AlertPolicy.Condition.Trigger,
-                com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder,
-                com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder>
+            com.google.monitoring.v3.AlertPolicy.Condition.Trigger, com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder, com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder> 
             getTriggerFieldBuilder() {
           if (triggerBuilder_ == null) {
-            triggerBuilder_ =
-                new com.google.protobuf.SingleFieldBuilderV3<
-                    com.google.monitoring.v3.AlertPolicy.Condition.Trigger,
-                    com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder,
-                    com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder>(
-                    getTrigger(), getParentForChildren(), isClean());
+            triggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.monitoring.v3.AlertPolicy.Condition.Trigger, com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder, com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder>(
+                    getTrigger(),
+                    getParentForChildren(),
+                    isClean());
             trigger_ = null;
           }
           return triggerBuilder_;
         }
-
         @java.lang.Override
         public final Builder setUnknownFields(
             final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -6403,32 +5752,30 @@ public final Builder mergeUnknownFields(
           return super.mergeUnknownFields(unknownFields);
         }
 
+
         // @@protoc_insertion_point(builder_scope:google.monitoring.v3.AlertPolicy.Condition.MetricThreshold)
       }
 
       // @@protoc_insertion_point(class_scope:google.monitoring.v3.AlertPolicy.Condition.MetricThreshold)
-      private static final com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold
-          DEFAULT_INSTANCE;
-
+      private static final com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold DEFAULT_INSTANCE;
       static {
         DEFAULT_INSTANCE = new com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold();
       }
 
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold
-          getDefaultInstance() {
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold getDefaultInstance() {
         return DEFAULT_INSTANCE;
       }
 
-      private static final com.google.protobuf.Parser PARSER =
-          new com.google.protobuf.AbstractParser() {
-            @java.lang.Override
-            public MetricThreshold parsePartialFrom(
-                com.google.protobuf.CodedInputStream input,
-                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-                throws com.google.protobuf.InvalidProtocolBufferException {
-              return new MetricThreshold(input, extensionRegistry);
-            }
-          };
+      private static final com.google.protobuf.Parser
+          PARSER = new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public MetricThreshold parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new MetricThreshold(input, extensionRegistry);
+        }
+      };
 
       public static com.google.protobuf.Parser parser() {
         return PARSER;
@@ -6440,20 +5787,17 @@ public com.google.protobuf.Parser getParserForType() {
       }
 
       @java.lang.Override
-      public com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold
-          getDefaultInstanceForType() {
+      public com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold getDefaultInstanceForType() {
         return DEFAULT_INSTANCE;
       }
+
     }
 
-    public interface MetricAbsenceOrBuilder
-        extends
+    public interface MetricAbsenceOrBuilder extends
         // @@protoc_insertion_point(interface_extends:google.monitoring.v3.AlertPolicy.Condition.MetricAbsence)
         com.google.protobuf.MessageOrBuilder {
 
       /**
-       *
-       *
        * 
        * Required. A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
        * identifies which time series should be compared with the threshold.
@@ -6467,13 +5811,10 @@ public interface MetricAbsenceOrBuilder
        * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
        * Required. A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
        * identifies which time series should be compared with the threshold.
@@ -6487,14 +5828,12 @@ public interface MetricAbsenceOrBuilder
        * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
        * Specifies the alignment of data points in individual time series as
        * well as how to combine the retrieved time series together (such as
@@ -6510,10 +5849,9 @@ public interface MetricAbsenceOrBuilder
        *
        * repeated .google.monitoring.v3.Aggregation aggregations = 5;
        */
-      java.util.List getAggregationsList();
+      java.util.List 
+          getAggregationsList();
       /**
-       *
-       *
        * 
        * Specifies the alignment of data points in individual time series as
        * well as how to combine the retrieved time series together (such as
@@ -6531,8 +5869,6 @@ public interface MetricAbsenceOrBuilder
        */
       com.google.monitoring.v3.Aggregation getAggregations(int index);
       /**
-       *
-       *
        * 
        * Specifies the alignment of data points in individual time series as
        * well as how to combine the retrieved time series together (such as
@@ -6550,8 +5886,6 @@ public interface MetricAbsenceOrBuilder
        */
       int getAggregationsCount();
       /**
-       *
-       *
        * 
        * Specifies the alignment of data points in individual time series as
        * well as how to combine the retrieved time series together (such as
@@ -6567,11 +5901,9 @@ public interface MetricAbsenceOrBuilder
        *
        * repeated .google.monitoring.v3.Aggregation aggregations = 5;
        */
-      java.util.List
+      java.util.List 
           getAggregationsOrBuilderList();
       /**
-       *
-       *
        * 
        * Specifies the alignment of data points in individual time series as
        * well as how to combine the retrieved time series together (such as
@@ -6587,11 +5919,10 @@ public interface MetricAbsenceOrBuilder
        *
        * repeated .google.monitoring.v3.Aggregation aggregations = 5;
        */
-      com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(int index);
+      com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(
+          int index);
 
       /**
-       *
-       *
        * 
        * The amount of time that a time series must fail to report new
        * data to be considered failing. The minimum value of this field
@@ -6603,13 +5934,10 @@ public interface MetricAbsenceOrBuilder
        * 
* * .google.protobuf.Duration duration = 2; - * * @return Whether the duration field is set. */ boolean hasDuration(); /** - * - * *
        * The amount of time that a time series must fail to report new
        * data to be considered failing. The minimum value of this field
@@ -6621,13 +5949,10 @@ public interface MetricAbsenceOrBuilder
        * 
* * .google.protobuf.Duration duration = 2; - * * @return The duration. */ com.google.protobuf.Duration getDuration(); /** - * - * *
        * The amount of time that a time series must fail to report new
        * data to be considered failing. The minimum value of this field
@@ -6643,8 +5968,6 @@ public interface MetricAbsenceOrBuilder
       com.google.protobuf.DurationOrBuilder getDurationOrBuilder();
 
       /**
-       *
-       *
        * 
        * The number/percent of time series for which the comparison must hold
        * in order for the condition to trigger. If unspecified, then the
@@ -6653,13 +5976,10 @@ public interface MetricAbsenceOrBuilder
        * 
* * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3; - * * @return Whether the trigger field is set. */ boolean hasTrigger(); /** - * - * *
        * The number/percent of time series for which the comparison must hold
        * in order for the condition to trigger. If unspecified, then the
@@ -6668,13 +5988,10 @@ public interface MetricAbsenceOrBuilder
        * 
* * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3; - * * @return The trigger. */ com.google.monitoring.v3.AlertPolicy.Condition.Trigger getTrigger(); /** - * - * *
        * The number/percent of time series for which the comparison must hold
        * in order for the condition to trigger. If unspecified, then the
@@ -6687,8 +6004,6 @@ public interface MetricAbsenceOrBuilder
       com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder getTriggerOrBuilder();
     }
     /**
-     *
-     *
      * 
      * A condition type that checks that monitored resources
      * are reporting data. The configuration defines a metric and
@@ -6699,16 +6014,15 @@ public interface MetricAbsenceOrBuilder
      *
      * Protobuf type {@code google.monitoring.v3.AlertPolicy.Condition.MetricAbsence}
      */
-    public static final class MetricAbsence extends com.google.protobuf.GeneratedMessageV3
-        implements
+    public static final class MetricAbsence extends
+        com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.monitoring.v3.AlertPolicy.Condition.MetricAbsence)
         MetricAbsenceOrBuilder {
-      private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
       // Use MetricAbsence.newBuilder() to construct.
       private MetricAbsence(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-
       private MetricAbsence() {
         filter_ = "";
         aggregations_ = java.util.Collections.emptyList();
@@ -6716,15 +6030,16 @@ private MetricAbsence() {
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(
+          UnusedPrivateParameter unused) {
         return new MetricAbsence();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet
+      getUnknownFields() {
         return this.unknownFields;
       }
-
       private MetricAbsence(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -6744,70 +6059,61 @@ private MetricAbsence(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
+              case 10: {
+                java.lang.String s = input.readStringRequireUtf8();
 
-                  filter_ = s;
-                  break;
+                filter_ = s;
+                break;
+              }
+              case 18: {
+                com.google.protobuf.Duration.Builder subBuilder = null;
+                if (duration_ != null) {
+                  subBuilder = duration_.toBuilder();
+                }
+                duration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(duration_);
+                  duration_ = subBuilder.buildPartial();
                 }
-              case 18:
-                {
-                  com.google.protobuf.Duration.Builder subBuilder = null;
-                  if (duration_ != null) {
-                    subBuilder = duration_.toBuilder();
-                  }
-                  duration_ =
-                      input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-                  if (subBuilder != null) {
-                    subBuilder.mergeFrom(duration_);
-                    duration_ = subBuilder.buildPartial();
-                  }
-
-                  break;
+
+                break;
+              }
+              case 26: {
+                com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder subBuilder = null;
+                if (trigger_ != null) {
+                  subBuilder = trigger_.toBuilder();
                 }
-              case 26:
-                {
-                  com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder subBuilder = null;
-                  if (trigger_ != null) {
-                    subBuilder = trigger_.toBuilder();
-                  }
-                  trigger_ =
-                      input.readMessage(
-                          com.google.monitoring.v3.AlertPolicy.Condition.Trigger.parser(),
-                          extensionRegistry);
-                  if (subBuilder != null) {
-                    subBuilder.mergeFrom(trigger_);
-                    trigger_ = subBuilder.buildPartial();
-                  }
-
-                  break;
+                trigger_ = input.readMessage(com.google.monitoring.v3.AlertPolicy.Condition.Trigger.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(trigger_);
+                  trigger_ = subBuilder.buildPartial();
                 }
-              case 42:
-                {
-                  if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                    aggregations_ = new java.util.ArrayList();
-                    mutable_bitField0_ |= 0x00000001;
-                  }
-                  aggregations_.add(
-                      input.readMessage(
-                          com.google.monitoring.v3.Aggregation.parser(), extensionRegistry));
-                  break;
+
+                break;
+              }
+              case 42: {
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  aggregations_ = new java.util.ArrayList();
+                  mutable_bitField0_ |= 0x00000001;
                 }
-              default:
-                {
-                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                    done = true;
-                  }
-                  break;
+                aggregations_.add(
+                    input.readMessage(com.google.monitoring.v3.Aggregation.parser(), extensionRegistry));
+                break;
+              }
+              default: {
+                if (!parseUnknownField(
+                    input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
                 }
+                break;
+              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
           throw e.setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(
+              e).setUnfinishedMessage(this);
         } finally {
           if (((mutable_bitField0_ & 0x00000001) != 0)) {
             aggregations_ = java.util.Collections.unmodifiableList(aggregations_);
@@ -6816,27 +6122,22 @@ private MetricAbsence(
           makeExtensionsImmutable();
         }
       }
-
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.monitoring.v3.AlertProto
-            .internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricAbsence_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricAbsence_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.monitoring.v3.AlertProto
-            .internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricAbsence_fieldAccessorTable
+        return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricAbsence_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.class,
-                com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.Builder.class);
+                com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.class, com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.Builder.class);
       }
 
       public static final int FILTER_FIELD_NUMBER = 1;
       private volatile java.lang.Object filter_;
       /**
-       *
-       *
        * 
        * Required. A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
        * identifies which time series should be compared with the threshold.
@@ -6850,7 +6151,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ @java.lang.Override @@ -6859,15 +6159,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. A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
        * identifies which time series should be compared with the threshold.
@@ -6881,15 +6180,16 @@ public java.lang.String getFilter() {
        * 
* * string filter = 1 [(.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 { @@ -6900,8 +6200,6 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int AGGREGATIONS_FIELD_NUMBER = 5; private java.util.List aggregations_; /** - * - * *
        * Specifies the alignment of data points in individual time series as
        * well as how to combine the retrieved time series together (such as
@@ -6922,8 +6220,6 @@ public java.util.List getAggregationsList(
         return aggregations_;
       }
       /**
-       *
-       *
        * 
        * Specifies the alignment of data points in individual time series as
        * well as how to combine the retrieved time series together (such as
@@ -6940,13 +6236,11 @@ public java.util.List getAggregationsList(
        * repeated .google.monitoring.v3.Aggregation aggregations = 5;
        */
       @java.lang.Override
-      public java.util.List
+      public java.util.List 
           getAggregationsOrBuilderList() {
         return aggregations_;
       }
       /**
-       *
-       *
        * 
        * Specifies the alignment of data points in individual time series as
        * well as how to combine the retrieved time series together (such as
@@ -6967,8 +6261,6 @@ public int getAggregationsCount() {
         return aggregations_.size();
       }
       /**
-       *
-       *
        * 
        * Specifies the alignment of data points in individual time series as
        * well as how to combine the retrieved time series together (such as
@@ -6989,8 +6281,6 @@ public com.google.monitoring.v3.Aggregation getAggregations(int index) {
         return aggregations_.get(index);
       }
       /**
-       *
-       *
        * 
        * Specifies the alignment of data points in individual time series as
        * well as how to combine the retrieved time series together (such as
@@ -7007,15 +6297,14 @@ public com.google.monitoring.v3.Aggregation getAggregations(int index) {
        * repeated .google.monitoring.v3.Aggregation aggregations = 5;
        */
       @java.lang.Override
-      public com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(int index) {
+      public com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(
+          int index) {
         return aggregations_.get(index);
       }
 
       public static final int DURATION_FIELD_NUMBER = 2;
       private com.google.protobuf.Duration duration_;
       /**
-       *
-       *
        * 
        * The amount of time that a time series must fail to report new
        * data to be considered failing. The minimum value of this field
@@ -7027,7 +6316,6 @@ public com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(in
        * 
* * .google.protobuf.Duration duration = 2; - * * @return Whether the duration field is set. */ @java.lang.Override @@ -7035,8 +6323,6 @@ public boolean hasDuration() { return duration_ != null; } /** - * - * *
        * The amount of time that a time series must fail to report new
        * data to be considered failing. The minimum value of this field
@@ -7048,7 +6334,6 @@ public boolean hasDuration() {
        * 
* * .google.protobuf.Duration duration = 2; - * * @return The duration. */ @java.lang.Override @@ -7056,8 +6341,6 @@ public com.google.protobuf.Duration getDuration() { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } /** - * - * *
        * The amount of time that a time series must fail to report new
        * data to be considered failing. The minimum value of this field
@@ -7078,8 +6361,6 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
       public static final int TRIGGER_FIELD_NUMBER = 3;
       private com.google.monitoring.v3.AlertPolicy.Condition.Trigger trigger_;
       /**
-       *
-       *
        * 
        * The number/percent of time series for which the comparison must hold
        * in order for the condition to trigger. If unspecified, then the
@@ -7088,7 +6369,6 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
        * 
* * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3; - * * @return Whether the trigger field is set. */ @java.lang.Override @@ -7096,8 +6376,6 @@ public boolean hasTrigger() { return trigger_ != null; } /** - * - * *
        * The number/percent of time series for which the comparison must hold
        * in order for the condition to trigger. If unspecified, then the
@@ -7106,18 +6384,13 @@ public boolean hasTrigger() {
        * 
* * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3; - * * @return The trigger. */ @java.lang.Override public com.google.monitoring.v3.AlertPolicy.Condition.Trigger getTrigger() { - return trigger_ == null - ? com.google.monitoring.v3.AlertPolicy.Condition.Trigger.getDefaultInstance() - : trigger_; + return trigger_ == null ? com.google.monitoring.v3.AlertPolicy.Condition.Trigger.getDefaultInstance() : trigger_; } /** - * - * *
        * The number/percent of time series for which the comparison must hold
        * in order for the condition to trigger. If unspecified, then the
@@ -7133,7 +6406,6 @@ public com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder getTrigge
       }
 
       private byte memoizedIsInitialized = -1;
-
       @java.lang.Override
       public final boolean isInitialized() {
         byte isInitialized = memoizedIsInitialized;
@@ -7145,7 +6417,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(filter_)) {
           com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filter_);
         }
@@ -7171,13 +6444,16 @@ public int getSerializedSize() {
           size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, filter_);
         }
         if (duration_ != null) {
-          size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDuration());
+          size += com.google.protobuf.CodedOutputStream
+            .computeMessageSize(2, getDuration());
         }
         if (trigger_ != null) {
-          size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTrigger());
+          size += com.google.protobuf.CodedOutputStream
+            .computeMessageSize(3, getTrigger());
         }
         for (int i = 0; i < aggregations_.size(); i++) {
-          size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, aggregations_.get(i));
+          size += com.google.protobuf.CodedOutputStream
+            .computeMessageSize(5, aggregations_.get(i));
         }
         size += unknownFields.getSerializedSize();
         memoizedSize = size;
@@ -7187,23 +6463,26 @@ public int getSerializedSize() {
       @java.lang.Override
       public boolean equals(final java.lang.Object obj) {
         if (obj == this) {
-          return true;
+         return true;
         }
         if (!(obj instanceof com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence)) {
           return super.equals(obj);
         }
-        com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence other =
-            (com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence) obj;
+        com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence other = (com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence) obj;
 
-        if (!getFilter().equals(other.getFilter())) return false;
-        if (!getAggregationsList().equals(other.getAggregationsList())) return false;
+        if (!getFilter()
+            .equals(other.getFilter())) return false;
+        if (!getAggregationsList()
+            .equals(other.getAggregationsList())) return false;
         if (hasDuration() != other.hasDuration()) return false;
         if (hasDuration()) {
-          if (!getDuration().equals(other.getDuration())) return false;
+          if (!getDuration()
+              .equals(other.getDuration())) return false;
         }
         if (hasTrigger() != other.hasTrigger()) return false;
         if (hasTrigger()) {
-          if (!getTrigger().equals(other.getTrigger())) return false;
+          if (!getTrigger()
+              .equals(other.getTrigger())) return false;
         }
         if (!unknownFields.equals(other.unknownFields)) return false;
         return true;
@@ -7236,94 +6515,87 @@ public int hashCode() {
       }
 
       public static com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence parseFrom(
-          java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+          java.nio.ByteBuffer data)
+          throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-
       public static com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence parseFrom(
-          java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          java.nio.ByteBuffer data,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-
       public static com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence parseFrom(
           com.google.protobuf.ByteString data)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-
       public static com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence parseFrom(
           com.google.protobuf.ByteString data,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence parseFrom(
-          byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence parseFrom(byte[] data)
+          throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-
       public static com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence parseFrom(
-          byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          byte[] data,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence parseFrom(
-          java.io.InputStream input) throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence parseFrom(java.io.InputStream input)
+          throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3
+            .parseWithIOException(PARSER, input);
       }
-
       public static com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence parseFrom(
-          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          java.io.InputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-            PARSER, input, extensionRegistry);
+        return com.google.protobuf.GeneratedMessageV3
+            .parseWithIOException(PARSER, input, extensionRegistry);
       }
-
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence parseDelimitedFrom(
-          java.io.InputStream input) throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence parseDelimitedFrom(java.io.InputStream input)
+          throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3
+            .parseDelimitedWithIOException(PARSER, input);
       }
-
       public static com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence parseDelimitedFrom(
-          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          java.io.InputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-            PARSER, input, extensionRegistry);
+        return com.google.protobuf.GeneratedMessageV3
+            .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
       }
-
       public static com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence parseFrom(
-          com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+          com.google.protobuf.CodedInputStream input)
+          throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3
+            .parseWithIOException(PARSER, input);
       }
-
       public static com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence parseFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-            PARSER, input, extensionRegistry);
+        return com.google.protobuf.GeneratedMessageV3
+            .parseWithIOException(PARSER, input, extensionRegistry);
       }
 
       @java.lang.Override
-      public Builder newBuilderForType() {
-        return newBuilder();
-      }
-
+      public Builder newBuilderForType() { return newBuilder(); }
       public static Builder newBuilder() {
         return DEFAULT_INSTANCE.toBuilder();
       }
-
-      public static Builder newBuilder(
-          com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence prototype) {
+      public static Builder newBuilder(com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence prototype) {
         return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
       }
-
       @java.lang.Override
       public Builder toBuilder() {
-        return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+        return this == DEFAULT_INSTANCE
+            ? new Builder() : new Builder().mergeFrom(this);
       }
 
       @java.lang.Override
@@ -7333,8 +6605,6 @@ protected Builder newBuilderForType(
         return builder;
       }
       /**
-       *
-       *
        * 
        * A condition type that checks that monitored resources
        * are reporting data. The configuration defines a metric and
@@ -7345,24 +6615,21 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.monitoring.v3.AlertPolicy.Condition.MetricAbsence}
        */
-      public static final class Builder
-          extends com.google.protobuf.GeneratedMessageV3.Builder
-          implements
+      public static final class Builder extends
+          com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.monitoring.v3.AlertPolicy.Condition.MetricAbsence)
           com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsenceOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-          return com.google.monitoring.v3.AlertProto
-              .internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricAbsence_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor
+            getDescriptor() {
+          return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricAbsence_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.monitoring.v3.AlertProto
-              .internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricAbsence_fieldAccessorTable
+          return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricAbsence_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.class,
-                  com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.Builder.class);
+                  com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.class, com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.Builder.class);
         }
 
         // Construct using com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.newBuilder()
@@ -7370,17 +6637,17 @@ private Builder() {
           maybeForceBuilderInitialization();
         }
 
-        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(
+            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
-
         private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+          if (com.google.protobuf.GeneratedMessageV3
+                  .alwaysUseFieldBuilders) {
             getAggregationsFieldBuilder();
           }
         }
-
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -7408,14 +6675,13 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-          return com.google.monitoring.v3.AlertProto
-              .internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricAbsence_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor
+            getDescriptorForType() {
+          return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricAbsence_descriptor;
         }
 
         @java.lang.Override
-        public com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence
-            getDefaultInstanceForType() {
+        public com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence getDefaultInstanceForType() {
           return com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.getDefaultInstance();
         }
 
@@ -7430,8 +6696,7 @@ public com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence build() {
 
         @java.lang.Override
         public com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence buildPartial() {
-          com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence result =
-              new com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence(this);
+          com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence result = new com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence(this);
           int from_bitField0_ = bitField0_;
           result.filter_ = filter_;
           if (aggregationsBuilder_ == null) {
@@ -7461,52 +6726,46 @@ public com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence 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.monitoring.v3.AlertPolicy.Condition.MetricAbsence) {
-            return mergeFrom((com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence) other);
+            return mergeFrom((com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence)other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(
-            com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence other) {
-          if (other
-              == com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.getDefaultInstance())
-            return this;
+        public Builder mergeFrom(com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence other) {
+          if (other == com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.getDefaultInstance()) return this;
           if (!other.getFilter().isEmpty()) {
             filter_ = other.filter_;
             onChanged();
@@ -7529,10 +6788,9 @@ public Builder mergeFrom(
                 aggregationsBuilder_ = null;
                 aggregations_ = other.aggregations_;
                 bitField0_ = (bitField0_ & ~0x00000001);
-                aggregationsBuilder_ =
-                    com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                        ? getAggregationsFieldBuilder()
-                        : null;
+                aggregationsBuilder_ = 
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                     getAggregationsFieldBuilder() : null;
               } else {
                 aggregationsBuilder_.addAllMessages(other.aggregations_);
               }
@@ -7563,9 +6821,7 @@ public Builder mergeFrom(
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            parsedMessage =
-                (com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence)
-                    e.getUnfinishedMessage();
+            parsedMessage = (com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
@@ -7574,13 +6830,10 @@ public Builder mergeFrom(
           }
           return this;
         }
-
         private int bitField0_;
 
         private java.lang.Object filter_ = "";
         /**
-         *
-         *
          * 
          * Required. A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
          * identifies which time series should be compared with the threshold.
@@ -7594,13 +6847,13 @@ public Builder mergeFrom(
          * 
* * string filter = 1 [(.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; @@ -7609,8 +6862,6 @@ public java.lang.String getFilter() { } } /** - * - * *
          * Required. A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
          * identifies which time series should be compared with the threshold.
@@ -7624,14 +6875,15 @@ public java.lang.String getFilter() {
          * 
* * string filter = 1 [(.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 { @@ -7639,8 +6891,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
          * Required. A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
          * identifies which time series should be compared with the threshold.
@@ -7654,22 +6904,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
          * 
* * string filter = 1 [(.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. A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
          * identifies which time series should be compared with the threshold.
@@ -7683,18 +6931,15 @@ public Builder setFilter(java.lang.String value) {
          * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
          * Required. A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
          * identifies which time series should be compared with the threshold.
@@ -7708,41 +6953,34 @@ public Builder clearFilter() {
          * 
* * string filter = 1 [(.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; } private java.util.List aggregations_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAggregationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - aggregations_ = - new java.util.ArrayList(aggregations_); + aggregations_ = new java.util.ArrayList(aggregations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.Aggregation, - com.google.monitoring.v3.Aggregation.Builder, - com.google.monitoring.v3.AggregationOrBuilder> - aggregationsBuilder_; + com.google.monitoring.v3.Aggregation, com.google.monitoring.v3.Aggregation.Builder, com.google.monitoring.v3.AggregationOrBuilder> aggregationsBuilder_; /** - * - * *
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -7766,8 +7004,6 @@ public java.util.List getAggregationsList(
           }
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -7791,8 +7027,6 @@ public int getAggregationsCount() {
           }
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -7816,8 +7050,6 @@ public com.google.monitoring.v3.Aggregation getAggregations(int index) {
           }
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -7833,7 +7065,8 @@ public com.google.monitoring.v3.Aggregation getAggregations(int index) {
          *
          * repeated .google.monitoring.v3.Aggregation aggregations = 5;
          */
-        public Builder setAggregations(int index, com.google.monitoring.v3.Aggregation value) {
+        public Builder setAggregations(
+            int index, com.google.monitoring.v3.Aggregation value) {
           if (aggregationsBuilder_ == null) {
             if (value == null) {
               throw new NullPointerException();
@@ -7847,8 +7080,6 @@ public Builder setAggregations(int index, com.google.monitoring.v3.Aggregation v
           return this;
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -7876,8 +7107,6 @@ public Builder setAggregations(
           return this;
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -7907,8 +7136,6 @@ public Builder addAggregations(com.google.monitoring.v3.Aggregation value) {
           return this;
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -7924,7 +7151,8 @@ public Builder addAggregations(com.google.monitoring.v3.Aggregation value) {
          *
          * repeated .google.monitoring.v3.Aggregation aggregations = 5;
          */
-        public Builder addAggregations(int index, com.google.monitoring.v3.Aggregation value) {
+        public Builder addAggregations(
+            int index, com.google.monitoring.v3.Aggregation value) {
           if (aggregationsBuilder_ == null) {
             if (value == null) {
               throw new NullPointerException();
@@ -7938,8 +7166,6 @@ public Builder addAggregations(int index, com.google.monitoring.v3.Aggregation v
           return this;
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -7967,8 +7193,6 @@ public Builder addAggregations(
           return this;
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -7996,8 +7220,6 @@ public Builder addAggregations(
           return this;
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -8017,7 +7239,8 @@ public Builder addAllAggregations(
             java.lang.Iterable values) {
           if (aggregationsBuilder_ == null) {
             ensureAggregationsIsMutable();
-            com.google.protobuf.AbstractMessageLite.Builder.addAll(values, aggregations_);
+            com.google.protobuf.AbstractMessageLite.Builder.addAll(
+                values, aggregations_);
             onChanged();
           } else {
             aggregationsBuilder_.addAllMessages(values);
@@ -8025,8 +7248,6 @@ public Builder addAllAggregations(
           return this;
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -8053,8 +7274,6 @@ public Builder clearAggregations() {
           return this;
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -8081,8 +7300,6 @@ public Builder removeAggregations(int index) {
           return this;
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -8098,12 +7315,11 @@ public Builder removeAggregations(int index) {
          *
          * repeated .google.monitoring.v3.Aggregation aggregations = 5;
          */
-        public com.google.monitoring.v3.Aggregation.Builder getAggregationsBuilder(int index) {
+        public com.google.monitoring.v3.Aggregation.Builder getAggregationsBuilder(
+            int index) {
           return getAggregationsFieldBuilder().getBuilder(index);
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -8119,16 +7335,14 @@ public com.google.monitoring.v3.Aggregation.Builder getAggregationsBuilder(int i
          *
          * repeated .google.monitoring.v3.Aggregation aggregations = 5;
          */
-        public com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(int index) {
+        public com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(
+            int index) {
           if (aggregationsBuilder_ == null) {
-            return aggregations_.get(index);
-          } else {
+            return aggregations_.get(index);  } else {
             return aggregationsBuilder_.getMessageOrBuilder(index);
           }
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -8144,8 +7358,8 @@ public com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(in
          *
          * repeated .google.monitoring.v3.Aggregation aggregations = 5;
          */
-        public java.util.List
-            getAggregationsOrBuilderList() {
+        public java.util.List 
+             getAggregationsOrBuilderList() {
           if (aggregationsBuilder_ != null) {
             return aggregationsBuilder_.getMessageOrBuilderList();
           } else {
@@ -8153,8 +7367,6 @@ public com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(in
           }
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -8171,12 +7383,10 @@ public com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(in
          * repeated .google.monitoring.v3.Aggregation aggregations = 5;
          */
         public com.google.monitoring.v3.Aggregation.Builder addAggregationsBuilder() {
-          return getAggregationsFieldBuilder()
-              .addBuilder(com.google.monitoring.v3.Aggregation.getDefaultInstance());
+          return getAggregationsFieldBuilder().addBuilder(
+              com.google.monitoring.v3.Aggregation.getDefaultInstance());
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -8192,13 +7402,12 @@ public com.google.monitoring.v3.Aggregation.Builder addAggregationsBuilder() {
          *
          * repeated .google.monitoring.v3.Aggregation aggregations = 5;
          */
-        public com.google.monitoring.v3.Aggregation.Builder addAggregationsBuilder(int index) {
-          return getAggregationsFieldBuilder()
-              .addBuilder(index, com.google.monitoring.v3.Aggregation.getDefaultInstance());
+        public com.google.monitoring.v3.Aggregation.Builder addAggregationsBuilder(
+            int index) {
+          return getAggregationsFieldBuilder().addBuilder(
+              index, com.google.monitoring.v3.Aggregation.getDefaultInstance());
         }
         /**
-         *
-         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -8214,22 +7423,16 @@ public com.google.monitoring.v3.Aggregation.Builder addAggregationsBuilder(int i
          *
          * repeated .google.monitoring.v3.Aggregation aggregations = 5;
          */
-        public java.util.List
-            getAggregationsBuilderList() {
+        public java.util.List 
+             getAggregationsBuilderList() {
           return getAggregationsFieldBuilder().getBuilderList();
         }
-
         private com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.monitoring.v3.Aggregation,
-                com.google.monitoring.v3.Aggregation.Builder,
-                com.google.monitoring.v3.AggregationOrBuilder>
+            com.google.monitoring.v3.Aggregation, com.google.monitoring.v3.Aggregation.Builder, com.google.monitoring.v3.AggregationOrBuilder> 
             getAggregationsFieldBuilder() {
           if (aggregationsBuilder_ == null) {
-            aggregationsBuilder_ =
-                new com.google.protobuf.RepeatedFieldBuilderV3<
-                    com.google.monitoring.v3.Aggregation,
-                    com.google.monitoring.v3.Aggregation.Builder,
-                    com.google.monitoring.v3.AggregationOrBuilder>(
+            aggregationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.monitoring.v3.Aggregation, com.google.monitoring.v3.Aggregation.Builder, com.google.monitoring.v3.AggregationOrBuilder>(
                     aggregations_,
                     ((bitField0_ & 0x00000001) != 0),
                     getParentForChildren(),
@@ -8241,13 +7444,8 @@ public com.google.monitoring.v3.Aggregation.Builder addAggregationsBuilder(int i
 
         private com.google.protobuf.Duration duration_;
         private com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>
-            durationBuilder_;
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_;
         /**
-         *
-         *
          * 
          * The amount of time that a time series must fail to report new
          * data to be considered failing. The minimum value of this field
@@ -8259,15 +7457,12 @@ public com.google.monitoring.v3.Aggregation.Builder addAggregationsBuilder(int i
          * 
* * .google.protobuf.Duration duration = 2; - * * @return Whether the duration field is set. */ public boolean hasDuration() { return durationBuilder_ != null || duration_ != null; } /** - * - * *
          * The amount of time that a time series must fail to report new
          * data to be considered failing. The minimum value of this field
@@ -8279,21 +7474,16 @@ public boolean hasDuration() {
          * 
* * .google.protobuf.Duration duration = 2; - * * @return The duration. */ public com.google.protobuf.Duration getDuration() { if (durationBuilder_ == null) { - return duration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : duration_; + return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } else { return durationBuilder_.getMessage(); } } /** - * - * *
          * The amount of time that a time series must fail to report new
          * data to be considered failing. The minimum value of this field
@@ -8320,8 +7510,6 @@ public Builder setDuration(com.google.protobuf.Duration value) {
           return this;
         }
         /**
-         *
-         *
          * 
          * The amount of time that a time series must fail to report new
          * data to be considered failing. The minimum value of this field
@@ -8334,7 +7522,8 @@ public Builder setDuration(com.google.protobuf.Duration value) {
          *
          * .google.protobuf.Duration duration = 2;
          */
-        public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) {
+        public Builder setDuration(
+            com.google.protobuf.Duration.Builder builderForValue) {
           if (durationBuilder_ == null) {
             duration_ = builderForValue.build();
             onChanged();
@@ -8345,8 +7534,6 @@ public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue)
           return this;
         }
         /**
-         *
-         *
          * 
          * The amount of time that a time series must fail to report new
          * data to be considered failing. The minimum value of this field
@@ -8363,9 +7550,7 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
           if (durationBuilder_ == null) {
             if (duration_ != null) {
               duration_ =
-                  com.google.protobuf.Duration.newBuilder(duration_)
-                      .mergeFrom(value)
-                      .buildPartial();
+                com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
             } else {
               duration_ = value;
             }
@@ -8377,8 +7562,6 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
           return this;
         }
         /**
-         *
-         *
          * 
          * The amount of time that a time series must fail to report new
          * data to be considered failing. The minimum value of this field
@@ -8403,8 +7586,6 @@ public Builder clearDuration() {
           return this;
         }
         /**
-         *
-         *
          * 
          * The amount of time that a time series must fail to report new
          * data to be considered failing. The minimum value of this field
@@ -8418,13 +7599,11 @@ public Builder clearDuration() {
          * .google.protobuf.Duration duration = 2;
          */
         public com.google.protobuf.Duration.Builder getDurationBuilder() {
-
+          
           onChanged();
           return getDurationFieldBuilder().getBuilder();
         }
         /**
-         *
-         *
          * 
          * The amount of time that a time series must fail to report new
          * data to be considered failing. The minimum value of this field
@@ -8441,14 +7620,11 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
           if (durationBuilder_ != null) {
             return durationBuilder_.getMessageOrBuilder();
           } else {
-            return duration_ == null
-                ? com.google.protobuf.Duration.getDefaultInstance()
-                : duration_;
+            return duration_ == null ?
+                com.google.protobuf.Duration.getDefaultInstance() : duration_;
           }
         }
         /**
-         *
-         *
          * 
          * The amount of time that a time series must fail to report new
          * data to be considered failing. The minimum value of this field
@@ -8462,17 +7638,14 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
          * .google.protobuf.Duration duration = 2;
          */
         private com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
             getDurationFieldBuilder() {
           if (durationBuilder_ == null) {
-            durationBuilder_ =
-                new com.google.protobuf.SingleFieldBuilderV3<
-                    com.google.protobuf.Duration,
-                    com.google.protobuf.Duration.Builder,
-                    com.google.protobuf.DurationOrBuilder>(
-                    getDuration(), getParentForChildren(), isClean());
+            durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                    getDuration(),
+                    getParentForChildren(),
+                    isClean());
             duration_ = null;
           }
           return durationBuilder_;
@@ -8480,13 +7653,8 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
 
         private com.google.monitoring.v3.AlertPolicy.Condition.Trigger trigger_;
         private com.google.protobuf.SingleFieldBuilderV3<
-                com.google.monitoring.v3.AlertPolicy.Condition.Trigger,
-                com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder,
-                com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder>
-            triggerBuilder_;
+            com.google.monitoring.v3.AlertPolicy.Condition.Trigger, com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder, com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder> triggerBuilder_;
         /**
-         *
-         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -8495,15 +7663,12 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
          * 
* * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3; - * * @return Whether the trigger field is set. */ public boolean hasTrigger() { return triggerBuilder_ != null || trigger_ != null; } /** - * - * *
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -8512,21 +7677,16 @@ public boolean hasTrigger() {
          * 
* * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3; - * * @return The trigger. */ public com.google.monitoring.v3.AlertPolicy.Condition.Trigger getTrigger() { if (triggerBuilder_ == null) { - return trigger_ == null - ? com.google.monitoring.v3.AlertPolicy.Condition.Trigger.getDefaultInstance() - : trigger_; + return trigger_ == null ? com.google.monitoring.v3.AlertPolicy.Condition.Trigger.getDefaultInstance() : trigger_; } else { return triggerBuilder_.getMessage(); } } /** - * - * *
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -8550,8 +7710,6 @@ public Builder setTrigger(com.google.monitoring.v3.AlertPolicy.Condition.Trigger
           return this;
         }
         /**
-         *
-         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -8573,8 +7731,6 @@ public Builder setTrigger(
           return this;
         }
         /**
-         *
-         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -8588,9 +7744,7 @@ public Builder mergeTrigger(com.google.monitoring.v3.AlertPolicy.Condition.Trigg
           if (triggerBuilder_ == null) {
             if (trigger_ != null) {
               trigger_ =
-                  com.google.monitoring.v3.AlertPolicy.Condition.Trigger.newBuilder(trigger_)
-                      .mergeFrom(value)
-                      .buildPartial();
+                com.google.monitoring.v3.AlertPolicy.Condition.Trigger.newBuilder(trigger_).mergeFrom(value).buildPartial();
             } else {
               trigger_ = value;
             }
@@ -8602,8 +7756,6 @@ public Builder mergeTrigger(com.google.monitoring.v3.AlertPolicy.Condition.Trigg
           return this;
         }
         /**
-         *
-         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -8625,8 +7777,6 @@ public Builder clearTrigger() {
           return this;
         }
         /**
-         *
-         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -8637,13 +7787,11 @@ public Builder clearTrigger() {
          * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3;
          */
         public com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder getTriggerBuilder() {
-
+          
           onChanged();
           return getTriggerFieldBuilder().getBuilder();
         }
         /**
-         *
-         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -8653,19 +7801,15 @@ public com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder getTrigger
          *
          * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3;
          */
-        public com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder
-            getTriggerOrBuilder() {
+        public com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder getTriggerOrBuilder() {
           if (triggerBuilder_ != null) {
             return triggerBuilder_.getMessageOrBuilder();
           } else {
-            return trigger_ == null
-                ? com.google.monitoring.v3.AlertPolicy.Condition.Trigger.getDefaultInstance()
-                : trigger_;
+            return trigger_ == null ?
+                com.google.monitoring.v3.AlertPolicy.Condition.Trigger.getDefaultInstance() : trigger_;
           }
         }
         /**
-         *
-         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -8676,22 +7820,18 @@ public com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder getTrigger
          * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3;
          */
         private com.google.protobuf.SingleFieldBuilderV3<
-                com.google.monitoring.v3.AlertPolicy.Condition.Trigger,
-                com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder,
-                com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder>
+            com.google.monitoring.v3.AlertPolicy.Condition.Trigger, com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder, com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder> 
             getTriggerFieldBuilder() {
           if (triggerBuilder_ == null) {
-            triggerBuilder_ =
-                new com.google.protobuf.SingleFieldBuilderV3<
-                    com.google.monitoring.v3.AlertPolicy.Condition.Trigger,
-                    com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder,
-                    com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder>(
-                    getTrigger(), getParentForChildren(), isClean());
+            triggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.monitoring.v3.AlertPolicy.Condition.Trigger, com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder, com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder>(
+                    getTrigger(),
+                    getParentForChildren(),
+                    isClean());
             trigger_ = null;
           }
           return triggerBuilder_;
         }
-
         @java.lang.Override
         public final Builder setUnknownFields(
             final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -8704,32 +7844,30 @@ public final Builder mergeUnknownFields(
           return super.mergeUnknownFields(unknownFields);
         }
 
+
         // @@protoc_insertion_point(builder_scope:google.monitoring.v3.AlertPolicy.Condition.MetricAbsence)
       }
 
       // @@protoc_insertion_point(class_scope:google.monitoring.v3.AlertPolicy.Condition.MetricAbsence)
-      private static final com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence
-          DEFAULT_INSTANCE;
-
+      private static final com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence DEFAULT_INSTANCE;
       static {
         DEFAULT_INSTANCE = new com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence();
       }
 
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence
-          getDefaultInstance() {
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence getDefaultInstance() {
         return DEFAULT_INSTANCE;
       }
 
-      private static final com.google.protobuf.Parser PARSER =
-          new com.google.protobuf.AbstractParser() {
-            @java.lang.Override
-            public MetricAbsence parsePartialFrom(
-                com.google.protobuf.CodedInputStream input,
-                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-                throws com.google.protobuf.InvalidProtocolBufferException {
-              return new MetricAbsence(input, extensionRegistry);
-            }
-          };
+      private static final com.google.protobuf.Parser
+          PARSER = new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public MetricAbsence parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new MetricAbsence(input, extensionRegistry);
+        }
+      };
 
       public static com.google.protobuf.Parser parser() {
         return PARSER;
@@ -8741,20 +7879,17 @@ public com.google.protobuf.Parser getParserForType() {
       }
 
       @java.lang.Override
-      public com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence
-          getDefaultInstanceForType() {
+      public com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence getDefaultInstanceForType() {
         return DEFAULT_INSTANCE;
       }
+
     }
 
-    public interface LogMatchOrBuilder
-        extends
+    public interface LogMatchOrBuilder extends
         // @@protoc_insertion_point(interface_extends:google.monitoring.v3.AlertPolicy.Condition.LogMatch)
         com.google.protobuf.MessageOrBuilder {
 
       /**
-       *
-       *
        * 
        * Required. A logs-based filter. See [Advanced Logs
        * Queries](https://cloud.google.com/logging/docs/view/advanced-queries)
@@ -8762,13 +7897,10 @@ public interface LogMatchOrBuilder
        * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
        * Required. A logs-based filter. See [Advanced Logs
        * Queries](https://cloud.google.com/logging/docs/view/advanced-queries)
@@ -8776,14 +7908,12 @@ public interface LogMatchOrBuilder
        * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
        * Optional. A map from a label key to an extractor expression, which is
        * used to extract the value for this label key. Each entry in this map is
@@ -8801,8 +7931,6 @@ public interface LogMatchOrBuilder
        */
       int getLabelExtractorsCount();
       /**
-       *
-       *
        * 
        * Optional. A map from a label key to an extractor expression, which is
        * used to extract the value for this label key. Each entry in this map is
@@ -8818,13 +7946,15 @@ public interface LogMatchOrBuilder
        *
        * map<string, string> label_extractors = 2;
        */
-      boolean containsLabelExtractors(java.lang.String key);
-      /** Use {@link #getLabelExtractorsMap()} instead. */
+      boolean containsLabelExtractors(
+          java.lang.String key);
+      /**
+       * Use {@link #getLabelExtractorsMap()} instead.
+       */
       @java.lang.Deprecated
-      java.util.Map getLabelExtractors();
+      java.util.Map
+      getLabelExtractors();
       /**
-       *
-       *
        * 
        * Optional. A map from a label key to an extractor expression, which is
        * used to extract the value for this label key. Each entry in this map is
@@ -8840,10 +7970,9 @@ public interface LogMatchOrBuilder
        *
        * map<string, string> label_extractors = 2;
        */
-      java.util.Map getLabelExtractorsMap();
+      java.util.Map
+      getLabelExtractorsMap();
       /**
-       *
-       *
        * 
        * Optional. A map from a label key to an extractor expression, which is
        * used to extract the value for this label key. Each entry in this map is
@@ -8859,11 +7988,11 @@ public interface LogMatchOrBuilder
        *
        * map<string, string> label_extractors = 2;
        */
+
       java.lang.String getLabelExtractorsOrDefault(
-          java.lang.String key, java.lang.String defaultValue);
+          java.lang.String key,
+          java.lang.String defaultValue);
       /**
-       *
-       *
        * 
        * Optional. A map from a label key to an extractor expression, which is
        * used to extract the value for this label key. Each entry in this map is
@@ -8879,11 +8008,11 @@ java.lang.String getLabelExtractorsOrDefault(
        *
        * map<string, string> label_extractors = 2;
        */
-      java.lang.String getLabelExtractorsOrThrow(java.lang.String key);
+
+      java.lang.String getLabelExtractorsOrThrow(
+          java.lang.String key);
     }
     /**
-     *
-     *
      * 
      * A condition type that checks whether a log message in the [scoping
      * project](https://cloud.google.com/monitoring/api/v3#project_name)
@@ -8893,31 +8022,31 @@ java.lang.String getLabelExtractorsOrDefault(
      *
      * Protobuf type {@code google.monitoring.v3.AlertPolicy.Condition.LogMatch}
      */
-    public static final class LogMatch extends com.google.protobuf.GeneratedMessageV3
-        implements
+    public static final class LogMatch extends
+        com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.monitoring.v3.AlertPolicy.Condition.LogMatch)
         LogMatchOrBuilder {
-      private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
       // Use LogMatch.newBuilder() to construct.
       private LogMatch(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-
       private LogMatch() {
         filter_ = "";
       }
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(
+          UnusedPrivateParameter unused) {
         return new LogMatch();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet
+      getUnknownFields() {
         return this.unknownFields;
       }
-
       private LogMatch(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -8937,82 +8066,72 @@ private LogMatch(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
+              case 10: {
+                java.lang.String s = input.readStringRequireUtf8();
 
-                  filter_ = s;
-                  break;
-                }
-              case 18:
-                {
-                  if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                    labelExtractors_ =
-                        com.google.protobuf.MapField.newMapField(
-                            LabelExtractorsDefaultEntryHolder.defaultEntry);
-                    mutable_bitField0_ |= 0x00000001;
-                  }
-                  com.google.protobuf.MapEntry
-                      labelExtractors__ =
-                          input.readMessage(
-                              LabelExtractorsDefaultEntryHolder.defaultEntry.getParserForType(),
-                              extensionRegistry);
-                  labelExtractors_
-                      .getMutableMap()
-                      .put(labelExtractors__.getKey(), labelExtractors__.getValue());
-                  break;
+                filter_ = s;
+                break;
+              }
+              case 18: {
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  labelExtractors_ = com.google.protobuf.MapField.newMapField(
+                      LabelExtractorsDefaultEntryHolder.defaultEntry);
+                  mutable_bitField0_ |= 0x00000001;
                 }
-              default:
-                {
-                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                    done = true;
-                  }
-                  break;
+                com.google.protobuf.MapEntry
+                labelExtractors__ = input.readMessage(
+                    LabelExtractorsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+                labelExtractors_.getMutableMap().put(
+                    labelExtractors__.getKey(), labelExtractors__.getValue());
+                break;
+              }
+              default: {
+                if (!parseUnknownField(
+                    input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
                 }
+                break;
+              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
           throw e.setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(
+              e).setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
-
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.monitoring.v3.AlertProto
-            .internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_descriptor;
       }
 
       @SuppressWarnings({"rawtypes"})
       @java.lang.Override
-      protected com.google.protobuf.MapField internalGetMapField(int number) {
+      protected com.google.protobuf.MapField internalGetMapField(
+          int number) {
         switch (number) {
           case 2:
             return internalGetLabelExtractors();
           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.monitoring.v3.AlertProto
-            .internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_fieldAccessorTable
+        return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.class,
-                com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.Builder.class);
+                com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.class, com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.Builder.class);
       }
 
       public static final int FILTER_FIELD_NUMBER = 1;
       private volatile java.lang.Object filter_;
       /**
-       *
-       *
        * 
        * Required. A logs-based filter. See [Advanced Logs
        * Queries](https://cloud.google.com/logging/docs/view/advanced-queries)
@@ -9020,7 +8139,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
        * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ @java.lang.Override @@ -9029,15 +8147,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. A logs-based filter. See [Advanced Logs
        * Queries](https://cloud.google.com/logging/docs/view/advanced-queries)
@@ -9045,15 +8162,16 @@ public java.lang.String getFilter() {
        * 
* * string filter = 1 [(.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 { @@ -9062,22 +8180,21 @@ public com.google.protobuf.ByteString getFilterBytes() { } public static final int LABEL_EXTRACTORS_FIELD_NUMBER = 2; - private static final class LabelExtractorsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.monitoring.v3.AlertProto - .internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_LabelExtractorsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField labelExtractors_; - + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_LabelExtractorsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labelExtractors_; private com.google.protobuf.MapField - internalGetLabelExtractors() { + internalGetLabelExtractors() { if (labelExtractors_ == null) { return com.google.protobuf.MapField.emptyMapField( LabelExtractorsDefaultEntryHolder.defaultEntry); @@ -9089,8 +8206,6 @@ public int getLabelExtractorsCount() { return internalGetLabelExtractors().getMap().size(); } /** - * - * *
        * Optional. A map from a label key to an extractor expression, which is
        * used to extract the value for this label key. Each entry in this map is
@@ -9106,22 +8221,22 @@ public int getLabelExtractorsCount() {
        *
        * map<string, string> label_extractors = 2;
        */
+
       @java.lang.Override
-      public boolean containsLabelExtractors(java.lang.String key) {
-        if (key == null) {
-          throw new java.lang.NullPointerException();
-        }
+      public boolean containsLabelExtractors(
+          java.lang.String key) {
+        if (key == null) { throw new java.lang.NullPointerException(); }
         return internalGetLabelExtractors().getMap().containsKey(key);
       }
-      /** Use {@link #getLabelExtractorsMap()} instead. */
+      /**
+       * Use {@link #getLabelExtractorsMap()} instead.
+       */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getLabelExtractors() {
         return getLabelExtractorsMap();
       }
       /**
-       *
-       *
        * 
        * Optional. A map from a label key to an extractor expression, which is
        * used to extract the value for this label key. Each entry in this map is
@@ -9138,12 +8253,11 @@ public java.util.Map getLabelExtractors() {
        * map<string, string> label_extractors = 2;
        */
       @java.lang.Override
+
       public java.util.Map getLabelExtractorsMap() {
         return internalGetLabelExtractors().getMap();
       }
       /**
-       *
-       *
        * 
        * Optional. A map from a label key to an extractor expression, which is
        * used to extract the value for this label key. Each entry in this map is
@@ -9160,18 +8274,16 @@ public java.util.Map getLabelExtractorsMap()
        * map<string, string> label_extractors = 2;
        */
       @java.lang.Override
+
       public java.lang.String getLabelExtractorsOrDefault(
-          java.lang.String key, java.lang.String defaultValue) {
-        if (key == null) {
-          throw new java.lang.NullPointerException();
-        }
+          java.lang.String key,
+          java.lang.String defaultValue) {
+        if (key == null) { throw new java.lang.NullPointerException(); }
         java.util.Map map =
             internalGetLabelExtractors().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
-       *
-       *
        * 
        * Optional. A map from a label key to an extractor expression, which is
        * used to extract the value for this label key. Each entry in this map is
@@ -9188,10 +8300,10 @@ public java.lang.String getLabelExtractorsOrDefault(
        * map<string, string> label_extractors = 2;
        */
       @java.lang.Override
-      public java.lang.String getLabelExtractorsOrThrow(java.lang.String key) {
-        if (key == null) {
-          throw new java.lang.NullPointerException();
-        }
+
+      public java.lang.String getLabelExtractorsOrThrow(
+          java.lang.String key) {
+        if (key == null) { throw new java.lang.NullPointerException(); }
         java.util.Map map =
             internalGetLabelExtractors().getMap();
         if (!map.containsKey(key)) {
@@ -9201,7 +8313,6 @@ public java.lang.String getLabelExtractorsOrThrow(java.lang.String key) {
       }
 
       private byte memoizedIsInitialized = -1;
-
       @java.lang.Override
       public final boolean isInitialized() {
         byte isInitialized = memoizedIsInitialized;
@@ -9213,11 +8324,13 @@ public final boolean isInitialized() {
       }
 
       @java.lang.Override
-      public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+      public void writeTo(com.google.protobuf.CodedOutputStream output)
+                          throws java.io.IOException {
         if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) {
           com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filter_);
         }
-        com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        com.google.protobuf.GeneratedMessageV3
+          .serializeStringMapTo(
             output,
             internalGetLabelExtractors(),
             LabelExtractorsDefaultEntryHolder.defaultEntry,
@@ -9234,15 +8347,15 @@ public int getSerializedSize() {
         if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) {
           size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, filter_);
         }
-        for (java.util.Map.Entry entry :
-            internalGetLabelExtractors().getMap().entrySet()) {
-          com.google.protobuf.MapEntry labelExtractors__ =
-              LabelExtractorsDefaultEntryHolder.defaultEntry
-                  .newBuilderForType()
-                  .setKey(entry.getKey())
-                  .setValue(entry.getValue())
-                  .build();
-          size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, labelExtractors__);
+        for (java.util.Map.Entry entry
+             : internalGetLabelExtractors().getMap().entrySet()) {
+          com.google.protobuf.MapEntry
+          labelExtractors__ = LabelExtractorsDefaultEntryHolder.defaultEntry.newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+          size += com.google.protobuf.CodedOutputStream
+              .computeMessageSize(2, labelExtractors__);
         }
         size += unknownFields.getSerializedSize();
         memoizedSize = size;
@@ -9252,16 +8365,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.monitoring.v3.AlertPolicy.Condition.LogMatch)) {
           return super.equals(obj);
         }
-        com.google.monitoring.v3.AlertPolicy.Condition.LogMatch other =
-            (com.google.monitoring.v3.AlertPolicy.Condition.LogMatch) obj;
+        com.google.monitoring.v3.AlertPolicy.Condition.LogMatch other = (com.google.monitoring.v3.AlertPolicy.Condition.LogMatch) obj;
 
-        if (!getFilter().equals(other.getFilter())) return false;
-        if (!internalGetLabelExtractors().equals(other.internalGetLabelExtractors())) return false;
+        if (!getFilter()
+            .equals(other.getFilter())) return false;
+        if (!internalGetLabelExtractors().equals(
+            other.internalGetLabelExtractors())) return false;
         if (!unknownFields.equals(other.unknownFields)) return false;
         return true;
       }
@@ -9285,94 +8399,87 @@ public int hashCode() {
       }
 
       public static com.google.monitoring.v3.AlertPolicy.Condition.LogMatch parseFrom(
-          java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+          java.nio.ByteBuffer data)
+          throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-
       public static com.google.monitoring.v3.AlertPolicy.Condition.LogMatch parseFrom(
-          java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          java.nio.ByteBuffer data,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-
       public static com.google.monitoring.v3.AlertPolicy.Condition.LogMatch parseFrom(
           com.google.protobuf.ByteString data)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-
       public static com.google.monitoring.v3.AlertPolicy.Condition.LogMatch parseFrom(
           com.google.protobuf.ByteString data,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-
       public static com.google.monitoring.v3.AlertPolicy.Condition.LogMatch parseFrom(byte[] data)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-
       public static com.google.monitoring.v3.AlertPolicy.Condition.LogMatch parseFrom(
-          byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          byte[] data,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-
-      public static com.google.monitoring.v3.AlertPolicy.Condition.LogMatch parseFrom(
-          java.io.InputStream input) throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      public static com.google.monitoring.v3.AlertPolicy.Condition.LogMatch parseFrom(java.io.InputStream input)
+          throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3
+            .parseWithIOException(PARSER, input);
       }
-
       public static com.google.monitoring.v3.AlertPolicy.Condition.LogMatch parseFrom(
-          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          java.io.InputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-            PARSER, input, extensionRegistry);
+        return com.google.protobuf.GeneratedMessageV3
+            .parseWithIOException(PARSER, input, extensionRegistry);
       }
-
-      public static com.google.monitoring.v3.AlertPolicy.Condition.LogMatch parseDelimitedFrom(
-          java.io.InputStream input) throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+      public static com.google.monitoring.v3.AlertPolicy.Condition.LogMatch parseDelimitedFrom(java.io.InputStream input)
+          throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3
+            .parseDelimitedWithIOException(PARSER, input);
       }
-
       public static com.google.monitoring.v3.AlertPolicy.Condition.LogMatch parseDelimitedFrom(
-          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          java.io.InputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-            PARSER, input, extensionRegistry);
+        return com.google.protobuf.GeneratedMessageV3
+            .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
       }
-
       public static com.google.monitoring.v3.AlertPolicy.Condition.LogMatch parseFrom(
-          com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+          com.google.protobuf.CodedInputStream input)
+          throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3
+            .parseWithIOException(PARSER, input);
       }
-
       public static com.google.monitoring.v3.AlertPolicy.Condition.LogMatch parseFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-            PARSER, input, extensionRegistry);
+        return com.google.protobuf.GeneratedMessageV3
+            .parseWithIOException(PARSER, input, extensionRegistry);
       }
 
       @java.lang.Override
-      public Builder newBuilderForType() {
-        return newBuilder();
-      }
-
+      public Builder newBuilderForType() { return newBuilder(); }
       public static Builder newBuilder() {
         return DEFAULT_INSTANCE.toBuilder();
       }
-
-      public static Builder newBuilder(
-          com.google.monitoring.v3.AlertPolicy.Condition.LogMatch prototype) {
+      public static Builder newBuilder(com.google.monitoring.v3.AlertPolicy.Condition.LogMatch prototype) {
         return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
       }
-
       @java.lang.Override
       public Builder toBuilder() {
-        return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+        return this == DEFAULT_INSTANCE
+            ? new Builder() : new Builder().mergeFrom(this);
       }
 
       @java.lang.Override
@@ -9382,8 +8489,6 @@ protected Builder newBuilderForType(
         return builder;
       }
       /**
-       *
-       *
        * 
        * A condition type that checks whether a log message in the [scoping
        * project](https://cloud.google.com/monitoring/api/v3#project_name)
@@ -9393,44 +8498,43 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.monitoring.v3.AlertPolicy.Condition.LogMatch}
        */
-      public static final class Builder
-          extends com.google.protobuf.GeneratedMessageV3.Builder
-          implements
+      public static final class Builder extends
+          com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.monitoring.v3.AlertPolicy.Condition.LogMatch)
           com.google.monitoring.v3.AlertPolicy.Condition.LogMatchOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-          return com.google.monitoring.v3.AlertProto
-              .internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor
+            getDescriptor() {
+          return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_descriptor;
         }
 
         @SuppressWarnings({"rawtypes"})
-        protected com.google.protobuf.MapField internalGetMapField(int number) {
+        protected com.google.protobuf.MapField internalGetMapField(
+            int number) {
           switch (number) {
             case 2:
               return internalGetLabelExtractors();
             default:
-              throw new RuntimeException("Invalid map field number: " + number);
+              throw new RuntimeException(
+                  "Invalid map field number: " + number);
           }
         }
-
         @SuppressWarnings({"rawtypes"})
-        protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+        protected com.google.protobuf.MapField internalGetMutableMapField(
+            int number) {
           switch (number) {
             case 2:
               return internalGetMutableLabelExtractors();
             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.monitoring.v3.AlertProto
-              .internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_fieldAccessorTable
+          return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.class,
-                  com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.Builder.class);
+                  com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.class, com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.Builder.class);
         }
 
         // Construct using com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.newBuilder()
@@ -9438,15 +8542,16 @@ private Builder() {
           maybeForceBuilderInitialization();
         }
 
-        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(
+            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
-
         private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+          if (com.google.protobuf.GeneratedMessageV3
+                  .alwaysUseFieldBuilders) {
+          }
         }
-
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -9457,9 +8562,9 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-          return com.google.monitoring.v3.AlertProto
-              .internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor
+            getDescriptorForType() {
+          return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_descriptor;
         }
 
         @java.lang.Override
@@ -9478,8 +8583,7 @@ public com.google.monitoring.v3.AlertPolicy.Condition.LogMatch build() {
 
         @java.lang.Override
         public com.google.monitoring.v3.AlertPolicy.Condition.LogMatch buildPartial() {
-          com.google.monitoring.v3.AlertPolicy.Condition.LogMatch result =
-              new com.google.monitoring.v3.AlertPolicy.Condition.LogMatch(this);
+          com.google.monitoring.v3.AlertPolicy.Condition.LogMatch result = new com.google.monitoring.v3.AlertPolicy.Condition.LogMatch(this);
           int from_bitField0_ = bitField0_;
           result.filter_ = filter_;
           result.labelExtractors_ = internalGetLabelExtractors();
@@ -9492,41 +8596,38 @@ public com.google.monitoring.v3.AlertPolicy.Condition.LogMatch 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.monitoring.v3.AlertPolicy.Condition.LogMatch) {
-            return mergeFrom((com.google.monitoring.v3.AlertPolicy.Condition.LogMatch) other);
+            return mergeFrom((com.google.monitoring.v3.AlertPolicy.Condition.LogMatch)other);
           } else {
             super.mergeFrom(other);
             return this;
@@ -9534,13 +8635,13 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
         }
 
         public Builder mergeFrom(com.google.monitoring.v3.AlertPolicy.Condition.LogMatch other) {
-          if (other == com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.getDefaultInstance())
-            return this;
+          if (other == com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.getDefaultInstance()) return this;
           if (!other.getFilter().isEmpty()) {
             filter_ = other.filter_;
             onChanged();
           }
-          internalGetMutableLabelExtractors().mergeFrom(other.internalGetLabelExtractors());
+          internalGetMutableLabelExtractors().mergeFrom(
+              other.internalGetLabelExtractors());
           this.mergeUnknownFields(other.unknownFields);
           onChanged();
           return this;
@@ -9560,8 +8661,7 @@ public Builder mergeFrom(
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            parsedMessage =
-                (com.google.monitoring.v3.AlertPolicy.Condition.LogMatch) e.getUnfinishedMessage();
+            parsedMessage = (com.google.monitoring.v3.AlertPolicy.Condition.LogMatch) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
@@ -9570,13 +8670,10 @@ public Builder mergeFrom(
           }
           return this;
         }
-
         private int bitField0_;
 
         private java.lang.Object filter_ = "";
         /**
-         *
-         *
          * 
          * Required. A logs-based filter. See [Advanced Logs
          * Queries](https://cloud.google.com/logging/docs/view/advanced-queries)
@@ -9584,13 +8681,13 @@ public Builder mergeFrom(
          * 
* * string filter = 1 [(.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; @@ -9599,8 +8696,6 @@ public java.lang.String getFilter() { } } /** - * - * *
          * Required. A logs-based filter. See [Advanced Logs
          * Queries](https://cloud.google.com/logging/docs/view/advanced-queries)
@@ -9608,14 +8703,15 @@ public java.lang.String getFilter() {
          * 
* * string filter = 1 [(.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 { @@ -9623,8 +8719,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
          * Required. A logs-based filter. See [Advanced Logs
          * Queries](https://cloud.google.com/logging/docs/view/advanced-queries)
@@ -9632,22 +8726,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
          * 
* * string filter = 1 [(.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. A logs-based filter. See [Advanced Logs
          * Queries](https://cloud.google.com/logging/docs/view/advanced-queries)
@@ -9655,18 +8747,15 @@ public Builder setFilter(java.lang.String value) {
          * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
          * Required. A logs-based filter. See [Advanced Logs
          * Queries](https://cloud.google.com/logging/docs/view/advanced-queries)
@@ -9674,40 +8763,37 @@ public Builder clearFilter() {
          * 
* * string filter = 1 [(.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; } - private com.google.protobuf.MapField labelExtractors_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labelExtractors_; private com.google.protobuf.MapField - internalGetLabelExtractors() { + internalGetLabelExtractors() { if (labelExtractors_ == null) { return com.google.protobuf.MapField.emptyMapField( LabelExtractorsDefaultEntryHolder.defaultEntry); } return labelExtractors_; } - private com.google.protobuf.MapField - internalGetMutableLabelExtractors() { - onChanged(); - ; + internalGetMutableLabelExtractors() { + onChanged();; if (labelExtractors_ == null) { - labelExtractors_ = - com.google.protobuf.MapField.newMapField( - LabelExtractorsDefaultEntryHolder.defaultEntry); + labelExtractors_ = com.google.protobuf.MapField.newMapField( + LabelExtractorsDefaultEntryHolder.defaultEntry); } if (!labelExtractors_.isMutable()) { labelExtractors_ = labelExtractors_.copy(); @@ -9719,8 +8805,6 @@ public int getLabelExtractorsCount() { return internalGetLabelExtractors().getMap().size(); } /** - * - * *
          * Optional. A map from a label key to an extractor expression, which is
          * used to extract the value for this label key. Each entry in this map is
@@ -9736,22 +8820,22 @@ public int getLabelExtractorsCount() {
          *
          * map<string, string> label_extractors = 2;
          */
+
         @java.lang.Override
-        public boolean containsLabelExtractors(java.lang.String key) {
-          if (key == null) {
-            throw new java.lang.NullPointerException();
-          }
+        public boolean containsLabelExtractors(
+            java.lang.String key) {
+          if (key == null) { throw new java.lang.NullPointerException(); }
           return internalGetLabelExtractors().getMap().containsKey(key);
         }
-        /** Use {@link #getLabelExtractorsMap()} instead. */
+        /**
+         * Use {@link #getLabelExtractorsMap()} instead.
+         */
         @java.lang.Override
         @java.lang.Deprecated
         public java.util.Map getLabelExtractors() {
           return getLabelExtractorsMap();
         }
         /**
-         *
-         *
          * 
          * Optional. A map from a label key to an extractor expression, which is
          * used to extract the value for this label key. Each entry in this map is
@@ -9768,12 +8852,11 @@ public java.util.Map getLabelExtractors() {
          * map<string, string> label_extractors = 2;
          */
         @java.lang.Override
+
         public java.util.Map getLabelExtractorsMap() {
           return internalGetLabelExtractors().getMap();
         }
         /**
-         *
-         *
          * 
          * Optional. A map from a label key to an extractor expression, which is
          * used to extract the value for this label key. Each entry in this map is
@@ -9790,18 +8873,16 @@ public java.util.Map getLabelExtractorsMap()
          * map<string, string> label_extractors = 2;
          */
         @java.lang.Override
+
         public java.lang.String getLabelExtractorsOrDefault(
-            java.lang.String key, java.lang.String defaultValue) {
-          if (key == null) {
-            throw new java.lang.NullPointerException();
-          }
+            java.lang.String key,
+            java.lang.String defaultValue) {
+          if (key == null) { throw new java.lang.NullPointerException(); }
           java.util.Map map =
               internalGetLabelExtractors().getMap();
           return map.containsKey(key) ? map.get(key) : defaultValue;
         }
         /**
-         *
-         *
          * 
          * Optional. A map from a label key to an extractor expression, which is
          * used to extract the value for this label key. Each entry in this map is
@@ -9818,10 +8899,10 @@ public java.lang.String getLabelExtractorsOrDefault(
          * map<string, string> label_extractors = 2;
          */
         @java.lang.Override
-        public java.lang.String getLabelExtractorsOrThrow(java.lang.String key) {
-          if (key == null) {
-            throw new java.lang.NullPointerException();
-          }
+
+        public java.lang.String getLabelExtractorsOrThrow(
+            java.lang.String key) {
+          if (key == null) { throw new java.lang.NullPointerException(); }
           java.util.Map map =
               internalGetLabelExtractors().getMap();
           if (!map.containsKey(key)) {
@@ -9831,12 +8912,11 @@ public java.lang.String getLabelExtractorsOrThrow(java.lang.String key) {
         }
 
         public Builder clearLabelExtractors() {
-          internalGetMutableLabelExtractors().getMutableMap().clear();
+          internalGetMutableLabelExtractors().getMutableMap()
+              .clear();
           return this;
         }
         /**
-         *
-         *
          * 
          * Optional. A map from a label key to an extractor expression, which is
          * used to extract the value for this label key. Each entry in this map is
@@ -9852,21 +8932,23 @@ public Builder clearLabelExtractors() {
          *
          * map<string, string> label_extractors = 2;
          */
-        public Builder removeLabelExtractors(java.lang.String key) {
-          if (key == null) {
-            throw new java.lang.NullPointerException();
-          }
-          internalGetMutableLabelExtractors().getMutableMap().remove(key);
+
+        public Builder removeLabelExtractors(
+            java.lang.String key) {
+          if (key == null) { throw new java.lang.NullPointerException(); }
+          internalGetMutableLabelExtractors().getMutableMap()
+              .remove(key);
           return this;
         }
-        /** Use alternate mutation accessors instead. */
+        /**
+         * Use alternate mutation accessors instead.
+         */
         @java.lang.Deprecated
-        public java.util.Map getMutableLabelExtractors() {
+        public java.util.Map
+        getMutableLabelExtractors() {
           return internalGetMutableLabelExtractors().getMutableMap();
         }
         /**
-         *
-         *
          * 
          * Optional. A map from a label key to an extractor expression, which is
          * used to extract the value for this label key. Each entry in this map is
@@ -9882,19 +8964,16 @@ public java.util.Map getMutableLabelExtracto
          *
          * map<string, string> label_extractors = 2;
          */
-        public Builder putLabelExtractors(java.lang.String key, java.lang.String value) {
-          if (key == null) {
-            throw new java.lang.NullPointerException();
-          }
-          if (value == null) {
-            throw new java.lang.NullPointerException();
-          }
-          internalGetMutableLabelExtractors().getMutableMap().put(key, value);
+        public Builder putLabelExtractors(
+            java.lang.String key,
+            java.lang.String value) {
+          if (key == null) { throw new java.lang.NullPointerException(); }
+          if (value == null) { throw new java.lang.NullPointerException(); }
+          internalGetMutableLabelExtractors().getMutableMap()
+              .put(key, value);
           return this;
         }
         /**
-         *
-         *
          * 
          * Optional. A map from a label key to an extractor expression, which is
          * used to extract the value for this label key. Each entry in this map is
@@ -9910,12 +8989,13 @@ public Builder putLabelExtractors(java.lang.String key, java.lang.String value)
          *
          * map<string, string> label_extractors = 2;
          */
+
         public Builder putAllLabelExtractors(
             java.util.Map values) {
-          internalGetMutableLabelExtractors().getMutableMap().putAll(values);
+          internalGetMutableLabelExtractors().getMutableMap()
+              .putAll(values);
           return this;
         }
-
         @java.lang.Override
         public final Builder setUnknownFields(
             final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -9928,12 +9008,12 @@ public final Builder mergeUnknownFields(
           return super.mergeUnknownFields(unknownFields);
         }
 
+
         // @@protoc_insertion_point(builder_scope:google.monitoring.v3.AlertPolicy.Condition.LogMatch)
       }
 
       // @@protoc_insertion_point(class_scope:google.monitoring.v3.AlertPolicy.Condition.LogMatch)
       private static final com.google.monitoring.v3.AlertPolicy.Condition.LogMatch DEFAULT_INSTANCE;
-
       static {
         DEFAULT_INSTANCE = new com.google.monitoring.v3.AlertPolicy.Condition.LogMatch();
       }
@@ -9942,16 +9022,16 @@ public static com.google.monitoring.v3.AlertPolicy.Condition.LogMatch getDefault
         return DEFAULT_INSTANCE;
       }
 
-      private static final com.google.protobuf.Parser PARSER =
-          new com.google.protobuf.AbstractParser() {
-            @java.lang.Override
-            public LogMatch parsePartialFrom(
-                com.google.protobuf.CodedInputStream input,
-                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-                throws com.google.protobuf.InvalidProtocolBufferException {
-              return new LogMatch(input, extensionRegistry);
-            }
-          };
+      private static final com.google.protobuf.Parser
+          PARSER = new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public LogMatch parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new LogMatch(input, extensionRegistry);
+        }
+      };
 
       public static com.google.protobuf.Parser parser() {
         return PARSER;
@@ -9966,43 +9046,36 @@ public com.google.protobuf.Parser getParserForType() {
       public com.google.monitoring.v3.AlertPolicy.Condition.LogMatch getDefaultInstanceForType() {
         return DEFAULT_INSTANCE;
       }
+
     }
 
-    public interface MonitoringQueryLanguageConditionOrBuilder
-        extends
+    public interface MonitoringQueryLanguageConditionOrBuilder extends
         // @@protoc_insertion_point(interface_extends:google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition)
         com.google.protobuf.MessageOrBuilder {
 
       /**
-       *
-       *
        * 
        * [Monitoring Query Language](https://cloud.google.com/monitoring/mql)
        * query that outputs a boolean stream.
        * 
* * string query = 1; - * * @return The query. */ java.lang.String getQuery(); /** - * - * *
        * [Monitoring Query Language](https://cloud.google.com/monitoring/mql)
        * query that outputs a boolean stream.
        * 
* * string query = 1; - * * @return The bytes for query. */ - com.google.protobuf.ByteString getQueryBytes(); + com.google.protobuf.ByteString + getQueryBytes(); /** - * - * *
        * The amount of time that a time series must violate the
        * threshold to be considered failing. Currently, only values
@@ -10017,13 +9090,10 @@ public interface MonitoringQueryLanguageConditionOrBuilder
        * 
* * .google.protobuf.Duration duration = 2; - * * @return Whether the duration field is set. */ boolean hasDuration(); /** - * - * *
        * The amount of time that a time series must violate the
        * threshold to be considered failing. Currently, only values
@@ -10038,13 +9108,10 @@ public interface MonitoringQueryLanguageConditionOrBuilder
        * 
* * .google.protobuf.Duration duration = 2; - * * @return The duration. */ com.google.protobuf.Duration getDuration(); /** - * - * *
        * The amount of time that a time series must violate the
        * threshold to be considered failing. Currently, only values
@@ -10063,8 +9130,6 @@ public interface MonitoringQueryLanguageConditionOrBuilder
       com.google.protobuf.DurationOrBuilder getDurationOrBuilder();
 
       /**
-       *
-       *
        * 
        * The number/percent of time series for which the comparison must hold
        * in order for the condition to trigger. If unspecified, then the
@@ -10075,13 +9140,10 @@ public interface MonitoringQueryLanguageConditionOrBuilder
        * 
* * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3; - * * @return Whether the trigger field is set. */ boolean hasTrigger(); /** - * - * *
        * The number/percent of time series for which the comparison must hold
        * in order for the condition to trigger. If unspecified, then the
@@ -10092,13 +9154,10 @@ public interface MonitoringQueryLanguageConditionOrBuilder
        * 
* * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3; - * * @return The trigger. */ com.google.monitoring.v3.AlertPolicy.Condition.Trigger getTrigger(); /** - * - * *
        * The number/percent of time series for which the comparison must hold
        * in order for the condition to trigger. If unspecified, then the
@@ -10113,43 +9172,38 @@ public interface MonitoringQueryLanguageConditionOrBuilder
       com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder getTriggerOrBuilder();
     }
     /**
-     *
-     *
      * 
      * A condition type that allows alert policies to be defined using
      * [Monitoring Query Language](https://cloud.google.com/monitoring/mql).
      * 
* - * Protobuf type {@code - * google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition} + * Protobuf type {@code google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition} */ - public static final class MonitoringQueryLanguageCondition - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class MonitoringQueryLanguageCondition extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) MonitoringQueryLanguageConditionOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MonitoringQueryLanguageCondition.newBuilder() to construct. - private MonitoringQueryLanguageCondition( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private MonitoringQueryLanguageCondition(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MonitoringQueryLanguageCondition() { query_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MonitoringQueryLanguageCondition(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private MonitoringQueryLanguageCondition( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -10168,94 +9222,79 @@ private MonitoringQueryLanguageCondition( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - query_ = s; - break; + query_ = s; + break; + } + case 18: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (duration_ != null) { + subBuilder = duration_.toBuilder(); + } + duration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(duration_); + duration_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (duration_ != null) { - subBuilder = duration_.toBuilder(); - } - duration_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(duration_); - duration_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 26: { + com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder subBuilder = null; + if (trigger_ != null) { + subBuilder = trigger_.toBuilder(); } - case 26: - { - com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder subBuilder = null; - if (trigger_ != null) { - subBuilder = trigger_.toBuilder(); - } - trigger_ = - input.readMessage( - com.google.monitoring.v3.AlertPolicy.Condition.Trigger.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(trigger_); - trigger_ = subBuilder.buildPartial(); - } - - break; + trigger_ = input.readMessage(com.google.monitoring.v3.AlertPolicy.Condition.Trigger.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(trigger_); + trigger_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.AlertProto - .internal_static_google_monitoring_v3_AlertPolicy_Condition_MonitoringQueryLanguageCondition_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_MonitoringQueryLanguageCondition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.AlertProto - .internal_static_google_monitoring_v3_AlertPolicy_Condition_MonitoringQueryLanguageCondition_fieldAccessorTable + return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_MonitoringQueryLanguageCondition_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition - .class, - com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition - .Builder.class); + com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.class, com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.Builder.class); } public static final int QUERY_FIELD_NUMBER = 1; private volatile java.lang.Object query_; /** - * - * *
        * [Monitoring Query Language](https://cloud.google.com/monitoring/mql)
        * query that outputs a boolean stream.
        * 
* * string query = 1; - * * @return The query. */ @java.lang.Override @@ -10264,30 +9303,30 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** - * - * *
        * [Monitoring Query Language](https://cloud.google.com/monitoring/mql)
        * query that outputs a boolean stream.
        * 
* * string query = 1; - * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -10298,8 +9337,6 @@ public com.google.protobuf.ByteString getQueryBytes() { public static final int DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration duration_; /** - * - * *
        * The amount of time that a time series must violate the
        * threshold to be considered failing. Currently, only values
@@ -10314,7 +9351,6 @@ public com.google.protobuf.ByteString getQueryBytes() {
        * 
* * .google.protobuf.Duration duration = 2; - * * @return Whether the duration field is set. */ @java.lang.Override @@ -10322,8 +9358,6 @@ public boolean hasDuration() { return duration_ != null; } /** - * - * *
        * The amount of time that a time series must violate the
        * threshold to be considered failing. Currently, only values
@@ -10338,7 +9372,6 @@ public boolean hasDuration() {
        * 
* * .google.protobuf.Duration duration = 2; - * * @return The duration. */ @java.lang.Override @@ -10346,8 +9379,6 @@ public com.google.protobuf.Duration getDuration() { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } /** - * - * *
        * The amount of time that a time series must violate the
        * threshold to be considered failing. Currently, only values
@@ -10371,8 +9402,6 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
       public static final int TRIGGER_FIELD_NUMBER = 3;
       private com.google.monitoring.v3.AlertPolicy.Condition.Trigger trigger_;
       /**
-       *
-       *
        * 
        * The number/percent of time series for which the comparison must hold
        * in order for the condition to trigger. If unspecified, then the
@@ -10383,7 +9412,6 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
        * 
* * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3; - * * @return Whether the trigger field is set. */ @java.lang.Override @@ -10391,8 +9419,6 @@ public boolean hasTrigger() { return trigger_ != null; } /** - * - * *
        * The number/percent of time series for which the comparison must hold
        * in order for the condition to trigger. If unspecified, then the
@@ -10403,18 +9429,13 @@ public boolean hasTrigger() {
        * 
* * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3; - * * @return The trigger. */ @java.lang.Override public com.google.monitoring.v3.AlertPolicy.Condition.Trigger getTrigger() { - return trigger_ == null - ? com.google.monitoring.v3.AlertPolicy.Condition.Trigger.getDefaultInstance() - : trigger_; + return trigger_ == null ? com.google.monitoring.v3.AlertPolicy.Condition.Trigger.getDefaultInstance() : trigger_; } /** - * - * *
        * The number/percent of time series for which the comparison must hold
        * in order for the condition to trigger. If unspecified, then the
@@ -10432,7 +9453,6 @@ public com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder getTrigge
       }
 
       private byte memoizedIsInitialized = -1;
-
       @java.lang.Override
       public final boolean isInitialized() {
         byte isInitialized = memoizedIsInitialized;
@@ -10444,7 +9464,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(query_)) {
           com.google.protobuf.GeneratedMessageV3.writeString(output, 1, query_);
         }
@@ -10467,10 +9488,12 @@ public int getSerializedSize() {
           size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, query_);
         }
         if (duration_ != null) {
-          size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDuration());
+          size += com.google.protobuf.CodedOutputStream
+            .computeMessageSize(2, getDuration());
         }
         if (trigger_ != null) {
-          size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTrigger());
+          size += com.google.protobuf.CodedOutputStream
+            .computeMessageSize(3, getTrigger());
         }
         size += unknownFields.getSerializedSize();
         memoizedSize = size;
@@ -10480,24 +9503,24 @@ public int getSerializedSize() {
       @java.lang.Override
       public boolean equals(final java.lang.Object obj) {
         if (obj == this) {
-          return true;
+         return true;
         }
-        if (!(obj
-            instanceof
-            com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition)) {
+        if (!(obj instanceof com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition)) {
           return super.equals(obj);
         }
-        com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition other =
-            (com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) obj;
+        com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition other = (com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) obj;
 
-        if (!getQuery().equals(other.getQuery())) return false;
+        if (!getQuery()
+            .equals(other.getQuery())) return false;
         if (hasDuration() != other.hasDuration()) return false;
         if (hasDuration()) {
-          if (!getDuration().equals(other.getDuration())) return false;
+          if (!getDuration()
+              .equals(other.getDuration())) return false;
         }
         if (hasTrigger() != other.hasTrigger()) return false;
         if (hasTrigger()) {
-          if (!getTrigger().equals(other.getTrigger())) return false;
+          if (!getTrigger()
+              .equals(other.getTrigger())) return false;
         }
         if (!unknownFields.equals(other.unknownFields)) return false;
         return true;
@@ -10525,104 +9548,88 @@ public int hashCode() {
         return hash;
       }
 
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition
-          parseFrom(java.nio.ByteBuffer data)
-              throws com.google.protobuf.InvalidProtocolBufferException {
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition parseFrom(
+          java.nio.ByteBuffer data)
+          throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition
-          parseFrom(
-              java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition parseFrom(
+          java.nio.ByteBuffer data,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition
-          parseFrom(com.google.protobuf.ByteString data)
-              throws com.google.protobuf.InvalidProtocolBufferException {
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition parseFrom(
+          com.google.protobuf.ByteString data)
+          throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition
-          parseFrom(
-              com.google.protobuf.ByteString data,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition parseFrom(
+          com.google.protobuf.ByteString data,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition
-          parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition parseFrom(byte[] data)
+          throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition
-          parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition parseFrom(
+          byte[] data,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition
-          parseFrom(java.io.InputStream input) throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition parseFrom(java.io.InputStream input)
+          throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3
+            .parseWithIOException(PARSER, input);
       }
-
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition
-          parseFrom(
-              java.io.InputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-            PARSER, input, extensionRegistry);
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition parseFrom(
+          java.io.InputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3
+            .parseWithIOException(PARSER, input, extensionRegistry);
       }
-
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition
-          parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition parseDelimitedFrom(java.io.InputStream input)
+          throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3
+            .parseDelimitedWithIOException(PARSER, input);
       }
-
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition
-          parseDelimitedFrom(
-              java.io.InputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-            PARSER, input, extensionRegistry);
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition parseDelimitedFrom(
+          java.io.InputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3
+            .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
       }
-
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition
-          parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition parseFrom(
+          com.google.protobuf.CodedInputStream input)
+          throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3
+            .parseWithIOException(PARSER, input);
       }
-
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition
-          parseFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-            PARSER, input, extensionRegistry);
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition parseFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3
+            .parseWithIOException(PARSER, input, extensionRegistry);
       }
 
       @java.lang.Override
-      public Builder newBuilderForType() {
-        return newBuilder();
-      }
-
+      public Builder newBuilderForType() { return newBuilder(); }
       public static Builder newBuilder() {
         return DEFAULT_INSTANCE.toBuilder();
       }
-
-      public static Builder newBuilder(
-          com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition
-              prototype) {
+      public static Builder newBuilder(com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition prototype) {
         return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
       }
-
       @java.lang.Override
       public Builder toBuilder() {
-        return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+        return this == DEFAULT_INSTANCE
+            ? new Builder() : new Builder().mergeFrom(this);
       }
 
       @java.lang.Override
@@ -10632,53 +9639,45 @@ protected Builder newBuilderForType(
         return builder;
       }
       /**
-       *
-       *
        * 
        * A condition type that allows alert policies to be defined using
        * [Monitoring Query Language](https://cloud.google.com/monitoring/mql).
        * 
* - * Protobuf type {@code - * google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition} + * Protobuf type {@code google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageConditionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.AlertProto - .internal_static_google_monitoring_v3_AlertPolicy_Condition_MonitoringQueryLanguageCondition_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_MonitoringQueryLanguageCondition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.AlertProto - .internal_static_google_monitoring_v3_AlertPolicy_Condition_MonitoringQueryLanguageCondition_fieldAccessorTable + return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_MonitoringQueryLanguageCondition_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition - .class, - com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition - .Builder.class); + com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.class, com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.Builder.class); } - // Construct using - // com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.newBuilder() + // Construct using com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -10700,23 +9699,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.AlertProto - .internal_static_google_monitoring_v3_AlertPolicy_Condition_MonitoringQueryLanguageCondition_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_MonitoringQueryLanguageCondition_descriptor; } @java.lang.Override - public com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition - getDefaultInstanceForType() { - return com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition - .getDefaultInstance(); + public com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition getDefaultInstanceForType() { + return com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.getDefaultInstance(); } @java.lang.Override - public com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition - build() { - com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition result = - buildPartial(); + public com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition build() { + com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -10724,11 +9719,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition - buildPartial() { - com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition result = - new com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition( - this); + public com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition buildPartial() { + com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition result = new com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition(this); result.query_ = query_; if (durationBuilder_ == null) { result.duration_ = duration_; @@ -10748,56 +9740,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) { - return mergeFrom( - (com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) - other); + if (other instanceof com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) { + return mergeFrom((com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition other) { - if (other - == com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition other) { + if (other == com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.getDefaultInstance()) return this; if (!other.getQuery().isEmpty()) { query_ = other.query_; onChanged(); @@ -10823,14 +9805,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition - parsedMessage = null; + com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) - e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -10842,21 +9821,19 @@ public Builder mergeFrom( private java.lang.Object query_ = ""; /** - * - * *
          * [Monitoring Query Language](https://cloud.google.com/monitoring/mql)
          * query that outputs a boolean stream.
          * 
* * string query = 1; - * * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -10865,22 +9842,21 @@ public java.lang.String getQuery() { } } /** - * - * *
          * [Monitoring Query Language](https://cloud.google.com/monitoring/mql)
          * query that outputs a boolean stream.
          * 
* * string query = 1; - * * @return The bytes for query. */ - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -10888,64 +9864,57 @@ public com.google.protobuf.ByteString getQueryBytes() { } } /** - * - * *
          * [Monitoring Query Language](https://cloud.google.com/monitoring/mql)
          * query that outputs a boolean stream.
          * 
* * string query = 1; - * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery(java.lang.String value) { + public Builder setQuery( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; onChanged(); return this; } /** - * - * *
          * [Monitoring Query Language](https://cloud.google.com/monitoring/mql)
          * query that outputs a boolean stream.
          * 
* * string query = 1; - * * @return This builder for chaining. */ public Builder clearQuery() { - + query_ = getDefaultInstance().getQuery(); onChanged(); return this; } /** - * - * *
          * [Monitoring Query Language](https://cloud.google.com/monitoring/mql)
          * query that outputs a boolean stream.
          * 
* * string query = 1; - * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes(com.google.protobuf.ByteString value) { + public Builder setQueryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); return this; @@ -10953,13 +9922,8 @@ public Builder setQueryBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Duration duration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - durationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_; /** - * - * *
          * The amount of time that a time series must violate the
          * threshold to be considered failing. Currently, only values
@@ -10974,15 +9938,12 @@ public Builder setQueryBytes(com.google.protobuf.ByteString value) {
          * 
* * .google.protobuf.Duration duration = 2; - * * @return Whether the duration field is set. */ public boolean hasDuration() { return durationBuilder_ != null || duration_ != null; } /** - * - * *
          * The amount of time that a time series must violate the
          * threshold to be considered failing. Currently, only values
@@ -10997,21 +9958,16 @@ public boolean hasDuration() {
          * 
* * .google.protobuf.Duration duration = 2; - * * @return The duration. */ public com.google.protobuf.Duration getDuration() { if (durationBuilder_ == null) { - return duration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : duration_; + return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } else { return durationBuilder_.getMessage(); } } /** - * - * *
          * The amount of time that a time series must violate the
          * threshold to be considered failing. Currently, only values
@@ -11041,8 +9997,6 @@ public Builder setDuration(com.google.protobuf.Duration value) {
           return this;
         }
         /**
-         *
-         *
          * 
          * The amount of time that a time series must violate the
          * threshold to be considered failing. Currently, only values
@@ -11058,7 +10012,8 @@ public Builder setDuration(com.google.protobuf.Duration value) {
          *
          * .google.protobuf.Duration duration = 2;
          */
-        public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) {
+        public Builder setDuration(
+            com.google.protobuf.Duration.Builder builderForValue) {
           if (durationBuilder_ == null) {
             duration_ = builderForValue.build();
             onChanged();
@@ -11069,8 +10024,6 @@ public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue)
           return this;
         }
         /**
-         *
-         *
          * 
          * The amount of time that a time series must violate the
          * threshold to be considered failing. Currently, only values
@@ -11090,9 +10043,7 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
           if (durationBuilder_ == null) {
             if (duration_ != null) {
               duration_ =
-                  com.google.protobuf.Duration.newBuilder(duration_)
-                      .mergeFrom(value)
-                      .buildPartial();
+                com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
             } else {
               duration_ = value;
             }
@@ -11104,8 +10055,6 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
           return this;
         }
         /**
-         *
-         *
          * 
          * The amount of time that a time series must violate the
          * threshold to be considered failing. Currently, only values
@@ -11133,8 +10082,6 @@ public Builder clearDuration() {
           return this;
         }
         /**
-         *
-         *
          * 
          * The amount of time that a time series must violate the
          * threshold to be considered failing. Currently, only values
@@ -11151,13 +10098,11 @@ public Builder clearDuration() {
          * .google.protobuf.Duration duration = 2;
          */
         public com.google.protobuf.Duration.Builder getDurationBuilder() {
-
+          
           onChanged();
           return getDurationFieldBuilder().getBuilder();
         }
         /**
-         *
-         *
          * 
          * The amount of time that a time series must violate the
          * threshold to be considered failing. Currently, only values
@@ -11177,14 +10122,11 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
           if (durationBuilder_ != null) {
             return durationBuilder_.getMessageOrBuilder();
           } else {
-            return duration_ == null
-                ? com.google.protobuf.Duration.getDefaultInstance()
-                : duration_;
+            return duration_ == null ?
+                com.google.protobuf.Duration.getDefaultInstance() : duration_;
           }
         }
         /**
-         *
-         *
          * 
          * The amount of time that a time series must violate the
          * threshold to be considered failing. Currently, only values
@@ -11201,17 +10143,14 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
          * .google.protobuf.Duration duration = 2;
          */
         private com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
             getDurationFieldBuilder() {
           if (durationBuilder_ == null) {
-            durationBuilder_ =
-                new com.google.protobuf.SingleFieldBuilderV3<
-                    com.google.protobuf.Duration,
-                    com.google.protobuf.Duration.Builder,
-                    com.google.protobuf.DurationOrBuilder>(
-                    getDuration(), getParentForChildren(), isClean());
+            durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                    getDuration(),
+                    getParentForChildren(),
+                    isClean());
             duration_ = null;
           }
           return durationBuilder_;
@@ -11219,13 +10158,8 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
 
         private com.google.monitoring.v3.AlertPolicy.Condition.Trigger trigger_;
         private com.google.protobuf.SingleFieldBuilderV3<
-                com.google.monitoring.v3.AlertPolicy.Condition.Trigger,
-                com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder,
-                com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder>
-            triggerBuilder_;
+            com.google.monitoring.v3.AlertPolicy.Condition.Trigger, com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder, com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder> triggerBuilder_;
         /**
-         *
-         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -11236,15 +10170,12 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
          * 
* * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3; - * * @return Whether the trigger field is set. */ public boolean hasTrigger() { return triggerBuilder_ != null || trigger_ != null; } /** - * - * *
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -11255,21 +10186,16 @@ public boolean hasTrigger() {
          * 
* * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3; - * * @return The trigger. */ public com.google.monitoring.v3.AlertPolicy.Condition.Trigger getTrigger() { if (triggerBuilder_ == null) { - return trigger_ == null - ? com.google.monitoring.v3.AlertPolicy.Condition.Trigger.getDefaultInstance() - : trigger_; + return trigger_ == null ? com.google.monitoring.v3.AlertPolicy.Condition.Trigger.getDefaultInstance() : trigger_; } else { return triggerBuilder_.getMessage(); } } /** - * - * *
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -11295,8 +10221,6 @@ public Builder setTrigger(com.google.monitoring.v3.AlertPolicy.Condition.Trigger
           return this;
         }
         /**
-         *
-         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -11320,8 +10244,6 @@ public Builder setTrigger(
           return this;
         }
         /**
-         *
-         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -11337,9 +10259,7 @@ public Builder mergeTrigger(com.google.monitoring.v3.AlertPolicy.Condition.Trigg
           if (triggerBuilder_ == null) {
             if (trigger_ != null) {
               trigger_ =
-                  com.google.monitoring.v3.AlertPolicy.Condition.Trigger.newBuilder(trigger_)
-                      .mergeFrom(value)
-                      .buildPartial();
+                com.google.monitoring.v3.AlertPolicy.Condition.Trigger.newBuilder(trigger_).mergeFrom(value).buildPartial();
             } else {
               trigger_ = value;
             }
@@ -11351,8 +10271,6 @@ public Builder mergeTrigger(com.google.monitoring.v3.AlertPolicy.Condition.Trigg
           return this;
         }
         /**
-         *
-         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -11376,8 +10294,6 @@ public Builder clearTrigger() {
           return this;
         }
         /**
-         *
-         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -11390,13 +10306,11 @@ public Builder clearTrigger() {
          * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3;
          */
         public com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder getTriggerBuilder() {
-
+          
           onChanged();
           return getTriggerFieldBuilder().getBuilder();
         }
         /**
-         *
-         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -11408,19 +10322,15 @@ public com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder getTrigger
          *
          * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3;
          */
-        public com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder
-            getTriggerOrBuilder() {
+        public com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder getTriggerOrBuilder() {
           if (triggerBuilder_ != null) {
             return triggerBuilder_.getMessageOrBuilder();
           } else {
-            return trigger_ == null
-                ? com.google.monitoring.v3.AlertPolicy.Condition.Trigger.getDefaultInstance()
-                : trigger_;
+            return trigger_ == null ?
+                com.google.monitoring.v3.AlertPolicy.Condition.Trigger.getDefaultInstance() : trigger_;
           }
         }
         /**
-         *
-         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -11433,22 +10343,18 @@ public com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder getTrigger
          * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3;
          */
         private com.google.protobuf.SingleFieldBuilderV3<
-                com.google.monitoring.v3.AlertPolicy.Condition.Trigger,
-                com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder,
-                com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder>
+            com.google.monitoring.v3.AlertPolicy.Condition.Trigger, com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder, com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder> 
             getTriggerFieldBuilder() {
           if (triggerBuilder_ == null) {
-            triggerBuilder_ =
-                new com.google.protobuf.SingleFieldBuilderV3<
-                    com.google.monitoring.v3.AlertPolicy.Condition.Trigger,
-                    com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder,
-                    com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder>(
-                    getTrigger(), getParentForChildren(), isClean());
+            triggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.monitoring.v3.AlertPolicy.Condition.Trigger, com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder, com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder>(
+                    getTrigger(),
+                    getParentForChildren(),
+                    isClean());
             trigger_ = null;
           }
           return triggerBuilder_;
         }
-
         @java.lang.Override
         public final Builder setUnknownFields(
             final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -11461,34 +10367,30 @@ public final Builder mergeUnknownFields(
           return super.mergeUnknownFields(unknownFields);
         }
 
+
         // @@protoc_insertion_point(builder_scope:google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition)
       }
 
       // @@protoc_insertion_point(class_scope:google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition)
-      private static final com.google.monitoring.v3.AlertPolicy.Condition
-              .MonitoringQueryLanguageCondition
-          DEFAULT_INSTANCE;
-
+      private static final com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition DEFAULT_INSTANCE;
       static {
-        DEFAULT_INSTANCE =
-            new com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition();
+        DEFAULT_INSTANCE = new com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition();
       }
 
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition
-          getDefaultInstance() {
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition getDefaultInstance() {
         return DEFAULT_INSTANCE;
       }
 
-      private static final com.google.protobuf.Parser PARSER =
-          new com.google.protobuf.AbstractParser() {
-            @java.lang.Override
-            public MonitoringQueryLanguageCondition parsePartialFrom(
-                com.google.protobuf.CodedInputStream input,
-                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-                throws com.google.protobuf.InvalidProtocolBufferException {
-              return new MonitoringQueryLanguageCondition(input, extensionRegistry);
-            }
-          };
+      private static final com.google.protobuf.Parser
+          PARSER = new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public MonitoringQueryLanguageCondition parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new MonitoringQueryLanguageCondition(input, extensionRegistry);
+        }
+      };
 
       public static com.google.protobuf.Parser parser() {
         return PARSER;
@@ -11500,18 +10402,16 @@ public com.google.protobuf.Parser getParserFor
       }
 
       @java.lang.Override
-      public com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition
-          getDefaultInstanceForType() {
+      public com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition getDefaultInstanceForType() {
         return DEFAULT_INSTANCE;
       }
+
     }
 
     private int conditionCase_ = 0;
     private java.lang.Object condition_;
-
     public enum ConditionCase
-        implements
-            com.google.protobuf.Internal.EnumLite,
+        implements com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       CONDITION_THRESHOLD(1),
       CONDITION_ABSENT(2),
@@ -11519,7 +10419,6 @@ public enum ConditionCase
       CONDITION_MONITORING_QUERY_LANGUAGE(19),
       CONDITION_NOT_SET(0);
       private final int value;
-
       private ConditionCase(int value) {
         this.value = value;
       }
@@ -11535,35 +10434,28 @@ public static ConditionCase valueOf(int value) {
 
       public static ConditionCase forNumber(int value) {
         switch (value) {
-          case 1:
-            return CONDITION_THRESHOLD;
-          case 2:
-            return CONDITION_ABSENT;
-          case 20:
-            return CONDITION_MATCHED_LOG;
-          case 19:
-            return CONDITION_MONITORING_QUERY_LANGUAGE;
-          case 0:
-            return CONDITION_NOT_SET;
-          default:
-            return null;
+          case 1: return CONDITION_THRESHOLD;
+          case 2: return CONDITION_ABSENT;
+          case 20: return CONDITION_MATCHED_LOG;
+          case 19: return CONDITION_MONITORING_QUERY_LANGUAGE;
+          case 0: return CONDITION_NOT_SET;
+          default: return null;
         }
       }
-
       public int getNumber() {
         return this.value;
       }
     };
 
-    public ConditionCase getConditionCase() {
-      return ConditionCase.forNumber(conditionCase_);
+    public ConditionCase
+    getConditionCase() {
+      return ConditionCase.forNumber(
+          conditionCase_);
     }
 
     public static final int NAME_FIELD_NUMBER = 12;
     private volatile java.lang.Object name_;
     /**
-     *
-     *
      * 
      * Required if the condition exists. The unique resource name for this
      * condition. Its format is:
@@ -11588,7 +10480,6 @@ public ConditionCase getConditionCase() {
      * 
* * string name = 12; - * * @return The name. */ @java.lang.Override @@ -11597,15 +10488,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
      * Required if the condition exists. The unique resource name for this
      * condition. Its format is:
@@ -11630,15 +10520,16 @@ public java.lang.String getName() {
      * 
* * string name = 12; - * * @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 { @@ -11649,8 +10540,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 6; private volatile java.lang.Object displayName_; /** - * - * *
      * A short name or phrase used to identify the condition in dashboards,
      * notifications, and incidents. To avoid confusion, don't use the same
@@ -11658,7 +10547,6 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string display_name = 6; - * * @return The displayName. */ @java.lang.Override @@ -11667,15 +10555,14 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
      * A short name or phrase used to identify the condition in dashboards,
      * notifications, and incidents. To avoid confusion, don't use the same
@@ -11683,15 +10570,16 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 6; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -11701,15 +10589,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int CONDITION_THRESHOLD_FIELD_NUMBER = 1; /** - * - * *
      * A condition that compares a time series against a threshold.
      * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; - * - * + * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; * @return Whether the conditionThreshold field is set. */ @java.lang.Override @@ -11717,54 +10601,43 @@ public boolean hasConditionThreshold() { return conditionCase_ == 1; } /** - * - * *
      * A condition that compares a time series against a threshold.
      * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; - * - * + * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; * @return The conditionThreshold. */ @java.lang.Override public com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold getConditionThreshold() { if (conditionCase_ == 1) { - return (com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) condition_; + return (com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) condition_; } return com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.getDefaultInstance(); } /** - * - * *
      * A condition that compares a time series against a threshold.
      * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; - * + * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; */ @java.lang.Override - public com.google.monitoring.v3.AlertPolicy.Condition.MetricThresholdOrBuilder - getConditionThresholdOrBuilder() { + public com.google.monitoring.v3.AlertPolicy.Condition.MetricThresholdOrBuilder getConditionThresholdOrBuilder() { if (conditionCase_ == 1) { - return (com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) condition_; + return (com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) condition_; } return com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.getDefaultInstance(); } public static final int CONDITION_ABSENT_FIELD_NUMBER = 2; /** - * - * *
      * A condition that checks that a time series continues to
      * receive new data points.
      * 
* * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; - * * @return Whether the conditionAbsent field is set. */ @java.lang.Override @@ -11772,27 +10645,22 @@ public boolean hasConditionAbsent() { return conditionCase_ == 2; } /** - * - * *
      * A condition that checks that a time series continues to
      * receive new data points.
      * 
* * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; - * * @return The conditionAbsent. */ @java.lang.Override public com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence getConditionAbsent() { if (conditionCase_ == 2) { - return (com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence) condition_; + return (com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence) condition_; } return com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.getDefaultInstance(); } /** - * - * *
      * A condition that checks that a time series continues to
      * receive new data points.
@@ -11801,25 +10669,21 @@ public com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence getCondition
      * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2;
      */
     @java.lang.Override
-    public com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsenceOrBuilder
-        getConditionAbsentOrBuilder() {
+    public com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsenceOrBuilder getConditionAbsentOrBuilder() {
       if (conditionCase_ == 2) {
-        return (com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence) condition_;
+         return (com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence) condition_;
       }
       return com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.getDefaultInstance();
     }
 
     public static final int CONDITION_MATCHED_LOG_FIELD_NUMBER = 20;
     /**
-     *
-     *
      * 
      * A condition that checks for log messages matching given constraints. If
      * set, no other conditions can be present.
      * 
* * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; - * * @return Whether the conditionMatchedLog field is set. */ @java.lang.Override @@ -11827,27 +10691,22 @@ public boolean hasConditionMatchedLog() { return conditionCase_ == 20; } /** - * - * *
      * A condition that checks for log messages matching given constraints. If
      * set, no other conditions can be present.
      * 
* * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; - * * @return The conditionMatchedLog. */ @java.lang.Override public com.google.monitoring.v3.AlertPolicy.Condition.LogMatch getConditionMatchedLog() { if (conditionCase_ == 20) { - return (com.google.monitoring.v3.AlertPolicy.Condition.LogMatch) condition_; + return (com.google.monitoring.v3.AlertPolicy.Condition.LogMatch) condition_; } return com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.getDefaultInstance(); } /** - * - * *
      * A condition that checks for log messages matching given constraints. If
      * set, no other conditions can be present.
@@ -11856,27 +10715,21 @@ public com.google.monitoring.v3.AlertPolicy.Condition.LogMatch getConditionMatch
      * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20;
      */
     @java.lang.Override
-    public com.google.monitoring.v3.AlertPolicy.Condition.LogMatchOrBuilder
-        getConditionMatchedLogOrBuilder() {
+    public com.google.monitoring.v3.AlertPolicy.Condition.LogMatchOrBuilder getConditionMatchedLogOrBuilder() {
       if (conditionCase_ == 20) {
-        return (com.google.monitoring.v3.AlertPolicy.Condition.LogMatch) condition_;
+         return (com.google.monitoring.v3.AlertPolicy.Condition.LogMatch) condition_;
       }
       return com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.getDefaultInstance();
     }
 
     public static final int CONDITION_MONITORING_QUERY_LANGUAGE_FIELD_NUMBER = 19;
     /**
-     *
-     *
      * 
      * A condition that uses the Monitoring Query Language to define
      * alerts.
      * 
* - * - * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; - * - * + * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; * @return Whether the conditionMonitoringQueryLanguage field is set. */ @java.lang.Override @@ -11884,54 +10737,38 @@ public boolean hasConditionMonitoringQueryLanguage() { return conditionCase_ == 19; } /** - * - * *
      * A condition that uses the Monitoring Query Language to define
      * alerts.
      * 
* - * - * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; - * - * + * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; * @return The conditionMonitoringQueryLanguage. */ @java.lang.Override - public com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition - getConditionMonitoringQueryLanguage() { + public com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition getConditionMonitoringQueryLanguage() { if (conditionCase_ == 19) { - return (com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) - condition_; + return (com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) condition_; } - return com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition - .getDefaultInstance(); + return com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.getDefaultInstance(); } /** - * - * *
      * A condition that uses the Monitoring Query Language to define
      * alerts.
      * 
* - * - * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; - * + * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; */ @java.lang.Override - public com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageConditionOrBuilder - getConditionMonitoringQueryLanguageOrBuilder() { + public com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageConditionOrBuilder getConditionMonitoringQueryLanguageOrBuilder() { if (conditionCase_ == 19) { - return (com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) - condition_; + return (com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) condition_; } - return com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition - .getDefaultInstance(); + return com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -11943,14 +10780,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (conditionCase_ == 1) { - output.writeMessage( - 1, (com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) condition_); + output.writeMessage(1, (com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) condition_); } if (conditionCase_ == 2) { - output.writeMessage( - 2, (com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence) condition_); + output.writeMessage(2, (com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence) condition_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, displayName_); @@ -11959,14 +10795,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 12, name_); } if (conditionCase_ == 19) { - output.writeMessage( - 19, - (com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) - condition_); + output.writeMessage(19, (com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) condition_); } if (conditionCase_ == 20) { - output.writeMessage( - 20, (com.google.monitoring.v3.AlertPolicy.Condition.LogMatch) condition_); + output.writeMessage(20, (com.google.monitoring.v3.AlertPolicy.Condition.LogMatch) condition_); } unknownFields.writeTo(output); } @@ -11978,14 +10810,12 @@ public int getSerializedSize() { size = 0; if (conditionCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) condition_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) condition_); } if (conditionCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence) condition_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence) condition_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, displayName_); @@ -11994,16 +10824,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, name_); } if (conditionCase_ == 19) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 19, - (com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) - condition_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(19, (com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) condition_); } if (conditionCase_ == 20) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 20, (com.google.monitoring.v3.AlertPolicy.Condition.LogMatch) condition_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(20, (com.google.monitoring.v3.AlertPolicy.Condition.LogMatch) condition_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -12013,26 +10839,30 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.AlertPolicy.Condition)) { return super.equals(obj); } - com.google.monitoring.v3.AlertPolicy.Condition other = - (com.google.monitoring.v3.AlertPolicy.Condition) obj; + com.google.monitoring.v3.AlertPolicy.Condition other = (com.google.monitoring.v3.AlertPolicy.Condition) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (!getConditionCase().equals(other.getConditionCase())) return false; switch (conditionCase_) { case 1: - if (!getConditionThreshold().equals(other.getConditionThreshold())) return false; + if (!getConditionThreshold() + .equals(other.getConditionThreshold())) return false; break; case 2: - if (!getConditionAbsent().equals(other.getConditionAbsent())) return false; + if (!getConditionAbsent() + .equals(other.getConditionAbsent())) return false; break; case 20: - if (!getConditionMatchedLog().equals(other.getConditionMatchedLog())) return false; + if (!getConditionMatchedLog() + .equals(other.getConditionMatchedLog())) return false; break; case 19: if (!getConditionMonitoringQueryLanguage() @@ -12081,94 +10911,88 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.AlertPolicy.Condition parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.AlertPolicy.Condition parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.AlertPolicy.Condition parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.AlertPolicy.Condition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.AlertPolicy.Condition parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.AlertPolicy.Condition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.AlertPolicy.Condition parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.AlertPolicy.Condition parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.AlertPolicy.Condition parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.AlertPolicy.Condition parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.AlertPolicy.Condition parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.AlertPolicy.Condition parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.AlertPolicy.Condition parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.AlertPolicy.Condition parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.AlertPolicy.Condition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.AlertPolicy.Condition prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -12178,8 +11002,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A condition is a true/false test that determines when an alerting policy
      * should open an incident. If a condition evaluates to true, it signifies
@@ -12188,24 +11010,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.monitoring.v3.AlertPolicy.Condition}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.monitoring.v3.AlertPolicy.Condition)
         com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.monitoring.v3.AlertProto
-            .internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.monitoring.v3.AlertProto
-            .internal_static_google_monitoring_v3_AlertPolicy_Condition_fieldAccessorTable
+        return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.monitoring.v3.AlertPolicy.Condition.class,
-                com.google.monitoring.v3.AlertPolicy.Condition.Builder.class);
+                com.google.monitoring.v3.AlertPolicy.Condition.class, com.google.monitoring.v3.AlertPolicy.Condition.Builder.class);
       }
 
       // Construct using com.google.monitoring.v3.AlertPolicy.Condition.newBuilder()
@@ -12213,15 +11032,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -12235,9 +11055,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.monitoring.v3.AlertProto
-            .internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor;
       }
 
       @java.lang.Override
@@ -12256,8 +11076,7 @@ public com.google.monitoring.v3.AlertPolicy.Condition build() {
 
       @java.lang.Override
       public com.google.monitoring.v3.AlertPolicy.Condition buildPartial() {
-        com.google.monitoring.v3.AlertPolicy.Condition result =
-            new com.google.monitoring.v3.AlertPolicy.Condition(this);
+        com.google.monitoring.v3.AlertPolicy.Condition result = new com.google.monitoring.v3.AlertPolicy.Condition(this);
         result.name_ = name_;
         result.displayName_ = displayName_;
         if (conditionCase_ == 1) {
@@ -12297,41 +11116,38 @@ public com.google.monitoring.v3.AlertPolicy.Condition 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.monitoring.v3.AlertPolicy.Condition) {
-          return mergeFrom((com.google.monitoring.v3.AlertPolicy.Condition) other);
+          return mergeFrom((com.google.monitoring.v3.AlertPolicy.Condition)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -12339,8 +11155,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.monitoring.v3.AlertPolicy.Condition other) {
-        if (other == com.google.monitoring.v3.AlertPolicy.Condition.getDefaultInstance())
-          return this;
+        if (other == com.google.monitoring.v3.AlertPolicy.Condition.getDefaultInstance()) return this;
         if (!other.getName().isEmpty()) {
           name_ = other.name_;
           onChanged();
@@ -12350,30 +11165,25 @@ public Builder mergeFrom(com.google.monitoring.v3.AlertPolicy.Condition other) {
           onChanged();
         }
         switch (other.getConditionCase()) {
-          case CONDITION_THRESHOLD:
-            {
-              mergeConditionThreshold(other.getConditionThreshold());
-              break;
-            }
-          case CONDITION_ABSENT:
-            {
-              mergeConditionAbsent(other.getConditionAbsent());
-              break;
-            }
-          case CONDITION_MATCHED_LOG:
-            {
-              mergeConditionMatchedLog(other.getConditionMatchedLog());
-              break;
-            }
-          case CONDITION_MONITORING_QUERY_LANGUAGE:
-            {
-              mergeConditionMonitoringQueryLanguage(other.getConditionMonitoringQueryLanguage());
-              break;
-            }
-          case CONDITION_NOT_SET:
-            {
-              break;
-            }
+          case CONDITION_THRESHOLD: {
+            mergeConditionThreshold(other.getConditionThreshold());
+            break;
+          }
+          case CONDITION_ABSENT: {
+            mergeConditionAbsent(other.getConditionAbsent());
+            break;
+          }
+          case CONDITION_MATCHED_LOG: {
+            mergeConditionMatchedLog(other.getConditionMatchedLog());
+            break;
+          }
+          case CONDITION_MONITORING_QUERY_LANGUAGE: {
+            mergeConditionMonitoringQueryLanguage(other.getConditionMonitoringQueryLanguage());
+            break;
+          }
+          case CONDITION_NOT_SET: {
+            break;
+          }
         }
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
@@ -12403,12 +11213,12 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int conditionCase_ = 0;
       private java.lang.Object condition_;
-
-      public ConditionCase getConditionCase() {
-        return ConditionCase.forNumber(conditionCase_);
+      public ConditionCase
+          getConditionCase() {
+        return ConditionCase.forNumber(
+            conditionCase_);
       }
 
       public Builder clearCondition() {
@@ -12418,10 +11228,9 @@ public Builder clearCondition() {
         return this;
       }
 
+
       private java.lang.Object name_ = "";
       /**
-       *
-       *
        * 
        * Required if the condition exists. The unique resource name for this
        * condition. Its format is:
@@ -12446,13 +11255,13 @@ public Builder clearCondition() {
        * 
* * string name = 12; - * * @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; @@ -12461,8 +11270,6 @@ public java.lang.String getName() { } } /** - * - * *
        * Required if the condition exists. The unique resource name for this
        * condition. Its format is:
@@ -12487,14 +11294,15 @@ public java.lang.String getName() {
        * 
* * string name = 12; - * * @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 { @@ -12502,8 +11310,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Required if the condition exists. The unique resource name for this
        * condition. Its format is:
@@ -12528,22 +11334,20 @@ public com.google.protobuf.ByteString getNameBytes() {
        * 
* * string name = 12; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * Required if the condition exists. The unique resource name for this
        * condition. Its format is:
@@ -12568,18 +11372,15 @@ public Builder setName(java.lang.String value) {
        * 
* * string name = 12; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * Required if the condition exists. The unique resource name for this
        * condition. Its format is:
@@ -12604,16 +11405,16 @@ public Builder clearName() {
        * 
* * string name = 12; - * * @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; @@ -12621,8 +11422,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
        * A short name or phrase used to identify the condition in dashboards,
        * notifications, and incidents. To avoid confusion, don't use the same
@@ -12630,13 +11429,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
        * 
* * string display_name = 6; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -12645,8 +11444,6 @@ public java.lang.String getDisplayName() { } } /** - * - * *
        * A short name or phrase used to identify the condition in dashboards,
        * notifications, and incidents. To avoid confusion, don't use the same
@@ -12654,14 +11451,15 @@ public java.lang.String getDisplayName() {
        * 
* * string display_name = 6; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -12669,8 +11467,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
        * A short name or phrase used to identify the condition in dashboards,
        * notifications, and incidents. To avoid confusion, don't use the same
@@ -12678,22 +11474,20 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
        * 
* * string display_name = 6; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
        * A short name or phrase used to identify the condition in dashboards,
        * notifications, and incidents. To avoid confusion, don't use the same
@@ -12701,18 +11495,15 @@ public Builder setDisplayName(java.lang.String value) {
        * 
* * string display_name = 6; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
        * A short name or phrase used to identify the condition in dashboards,
        * notifications, and incidents. To avoid confusion, don't use the same
@@ -12720,36 +11511,29 @@ public Builder clearDisplayName() {
        * 
* * string display_name = 6; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold, - com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.Builder, - com.google.monitoring.v3.AlertPolicy.Condition.MetricThresholdOrBuilder> - conditionThresholdBuilder_; + com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold, com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.Builder, com.google.monitoring.v3.AlertPolicy.Condition.MetricThresholdOrBuilder> conditionThresholdBuilder_; /** - * - * *
        * A condition that compares a time series against a threshold.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; - * - * + * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; * @return Whether the conditionThreshold field is set. */ @java.lang.Override @@ -12757,46 +11541,35 @@ public boolean hasConditionThreshold() { return conditionCase_ == 1; } /** - * - * *
        * A condition that compares a time series against a threshold.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; - * - * + * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; * @return The conditionThreshold. */ @java.lang.Override - public com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold - getConditionThreshold() { + public com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold getConditionThreshold() { if (conditionThresholdBuilder_ == null) { if (conditionCase_ == 1) { return (com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) condition_; } - return com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold - .getDefaultInstance(); + return com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.getDefaultInstance(); } else { if (conditionCase_ == 1) { return conditionThresholdBuilder_.getMessage(); } - return com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold - .getDefaultInstance(); + return com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.getDefaultInstance(); } } /** - * - * *
        * A condition that compares a time series against a threshold.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; - * + * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; */ - public Builder setConditionThreshold( - com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold value) { + public Builder setConditionThreshold(com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold value) { if (conditionThresholdBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12810,14 +11583,11 @@ public Builder setConditionThreshold( return this; } /** - * - * *
        * A condition that compares a time series against a threshold.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; - * + * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; */ public Builder setConditionThreshold( com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.Builder builderForValue) { @@ -12831,27 +11601,18 @@ public Builder setConditionThreshold( return this; } /** - * - * *
        * A condition that compares a time series against a threshold.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; - * + * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; */ - public Builder mergeConditionThreshold( - com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold value) { + public Builder mergeConditionThreshold(com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold value) { if (conditionThresholdBuilder_ == null) { - if (conditionCase_ == 1 - && condition_ - != com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold - .getDefaultInstance()) { - condition_ = - com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.newBuilder( - (com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) condition_) - .mergeFrom(value) - .buildPartial(); + if (conditionCase_ == 1 && + condition_ != com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.getDefaultInstance()) { + condition_ = com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.newBuilder((com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) condition_) + .mergeFrom(value).buildPartial(); } else { condition_ = value; } @@ -12866,14 +11627,11 @@ public Builder mergeConditionThreshold( return this; } /** - * - * *
        * A condition that compares a time series against a threshold.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; - * + * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; */ public Builder clearConditionThreshold() { if (conditionThresholdBuilder_ == null) { @@ -12892,94 +11650,68 @@ public Builder clearConditionThreshold() { return this; } /** - * - * *
        * A condition that compares a time series against a threshold.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; - * + * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; */ - public com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.Builder - getConditionThresholdBuilder() { + public com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.Builder getConditionThresholdBuilder() { return getConditionThresholdFieldBuilder().getBuilder(); } /** - * - * *
        * A condition that compares a time series against a threshold.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; - * + * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; */ @java.lang.Override - public com.google.monitoring.v3.AlertPolicy.Condition.MetricThresholdOrBuilder - getConditionThresholdOrBuilder() { + public com.google.monitoring.v3.AlertPolicy.Condition.MetricThresholdOrBuilder getConditionThresholdOrBuilder() { if ((conditionCase_ == 1) && (conditionThresholdBuilder_ != null)) { return conditionThresholdBuilder_.getMessageOrBuilder(); } else { if (conditionCase_ == 1) { return (com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) condition_; } - return com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold - .getDefaultInstance(); + return com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.getDefaultInstance(); } } /** - * - * *
        * A condition that compares a time series against a threshold.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; - * + * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold, - com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.Builder, - com.google.monitoring.v3.AlertPolicy.Condition.MetricThresholdOrBuilder> + com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold, com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.Builder, com.google.monitoring.v3.AlertPolicy.Condition.MetricThresholdOrBuilder> getConditionThresholdFieldBuilder() { if (conditionThresholdBuilder_ == null) { if (!(conditionCase_ == 1)) { - condition_ = - com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.getDefaultInstance(); - } - conditionThresholdBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold, - com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.Builder, - com.google.monitoring.v3.AlertPolicy.Condition.MetricThresholdOrBuilder>( + condition_ = com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.getDefaultInstance(); + } + conditionThresholdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold, com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.Builder, com.google.monitoring.v3.AlertPolicy.Condition.MetricThresholdOrBuilder>( (com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) condition_, getParentForChildren(), isClean()); condition_ = null; } conditionCase_ = 1; - onChanged(); - ; + onChanged();; return conditionThresholdBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence, - com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.Builder, - com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsenceOrBuilder> - conditionAbsentBuilder_; + com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence, com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.Builder, com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsenceOrBuilder> conditionAbsentBuilder_; /** - * - * *
        * A condition that checks that a time series continues to
        * receive new data points.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; - * - * + * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; * @return Whether the conditionAbsent field is set. */ @java.lang.Override @@ -12987,16 +11719,12 @@ public boolean hasConditionAbsent() { return conditionCase_ == 2; } /** - * - * *
        * A condition that checks that a time series continues to
        * receive new data points.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; - * - * + * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; * @return The conditionAbsent. */ @java.lang.Override @@ -13014,18 +11742,14 @@ public com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence getCondition } } /** - * - * *
        * A condition that checks that a time series continues to
        * receive new data points.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; - * + * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; */ - public Builder setConditionAbsent( - com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence value) { + public Builder setConditionAbsent(com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence value) { if (conditionAbsentBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -13039,15 +11763,12 @@ public Builder setConditionAbsent( return this; } /** - * - * *
        * A condition that checks that a time series continues to
        * receive new data points.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; - * + * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; */ public Builder setConditionAbsent( com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.Builder builderForValue) { @@ -13061,28 +11782,19 @@ public Builder setConditionAbsent( return this; } /** - * - * *
        * A condition that checks that a time series continues to
        * receive new data points.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; - * + * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; */ - public Builder mergeConditionAbsent( - com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence value) { + public Builder mergeConditionAbsent(com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence value) { if (conditionAbsentBuilder_ == null) { - if (conditionCase_ == 2 - && condition_ - != com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence - .getDefaultInstance()) { - condition_ = - com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.newBuilder( - (com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence) condition_) - .mergeFrom(value) - .buildPartial(); + if (conditionCase_ == 2 && + condition_ != com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.getDefaultInstance()) { + condition_ = com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.newBuilder((com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence) condition_) + .mergeFrom(value).buildPartial(); } else { condition_ = value; } @@ -13097,15 +11809,12 @@ public Builder mergeConditionAbsent( return this; } /** - * - * *
        * A condition that checks that a time series continues to
        * receive new data points.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; - * + * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; */ public Builder clearConditionAbsent() { if (conditionAbsentBuilder_ == null) { @@ -13124,34 +11833,26 @@ public Builder clearConditionAbsent() { return this; } /** - * - * *
        * A condition that checks that a time series continues to
        * receive new data points.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; - * + * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; */ - public com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.Builder - getConditionAbsentBuilder() { + public com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.Builder getConditionAbsentBuilder() { return getConditionAbsentFieldBuilder().getBuilder(); } /** - * - * *
        * A condition that checks that a time series continues to
        * receive new data points.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; - * + * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; */ @java.lang.Override - public com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsenceOrBuilder - getConditionAbsentOrBuilder() { + public com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsenceOrBuilder getConditionAbsentOrBuilder() { if ((conditionCase_ == 2) && (conditionAbsentBuilder_ != null)) { return conditionAbsentBuilder_.getMessageOrBuilder(); } else { @@ -13162,58 +11863,41 @@ public Builder clearConditionAbsent() { } } /** - * - * *
        * A condition that checks that a time series continues to
        * receive new data points.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; - * + * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence, - com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.Builder, - com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsenceOrBuilder> + com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence, com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.Builder, com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsenceOrBuilder> getConditionAbsentFieldBuilder() { if (conditionAbsentBuilder_ == null) { if (!(conditionCase_ == 2)) { - condition_ = - com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.getDefaultInstance(); - } - conditionAbsentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence, - com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.Builder, - com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsenceOrBuilder>( + condition_ = com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.getDefaultInstance(); + } + conditionAbsentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence, com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.Builder, com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsenceOrBuilder>( (com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence) condition_, getParentForChildren(), isClean()); condition_ = null; } conditionCase_ = 2; - onChanged(); - ; + onChanged();; return conditionAbsentBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy.Condition.LogMatch, - com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.Builder, - com.google.monitoring.v3.AlertPolicy.Condition.LogMatchOrBuilder> - conditionMatchedLogBuilder_; + com.google.monitoring.v3.AlertPolicy.Condition.LogMatch, com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.Builder, com.google.monitoring.v3.AlertPolicy.Condition.LogMatchOrBuilder> conditionMatchedLogBuilder_; /** - * - * *
        * A condition that checks for log messages matching given constraints. If
        * set, no other conditions can be present.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; - * - * + * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; * @return Whether the conditionMatchedLog field is set. */ @java.lang.Override @@ -13221,16 +11905,12 @@ public boolean hasConditionMatchedLog() { return conditionCase_ == 20; } /** - * - * *
        * A condition that checks for log messages matching given constraints. If
        * set, no other conditions can be present.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; - * - * + * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; * @return The conditionMatchedLog. */ @java.lang.Override @@ -13248,18 +11928,14 @@ public com.google.monitoring.v3.AlertPolicy.Condition.LogMatch getConditionMatch } } /** - * - * *
        * A condition that checks for log messages matching given constraints. If
        * set, no other conditions can be present.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; - * + * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; */ - public Builder setConditionMatchedLog( - com.google.monitoring.v3.AlertPolicy.Condition.LogMatch value) { + public Builder setConditionMatchedLog(com.google.monitoring.v3.AlertPolicy.Condition.LogMatch value) { if (conditionMatchedLogBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -13273,15 +11949,12 @@ public Builder setConditionMatchedLog( return this; } /** - * - * *
        * A condition that checks for log messages matching given constraints. If
        * set, no other conditions can be present.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; - * + * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; */ public Builder setConditionMatchedLog( com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.Builder builderForValue) { @@ -13295,27 +11968,19 @@ public Builder setConditionMatchedLog( return this; } /** - * - * *
        * A condition that checks for log messages matching given constraints. If
        * set, no other conditions can be present.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; - * + * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; */ - public Builder mergeConditionMatchedLog( - com.google.monitoring.v3.AlertPolicy.Condition.LogMatch value) { + public Builder mergeConditionMatchedLog(com.google.monitoring.v3.AlertPolicy.Condition.LogMatch value) { if (conditionMatchedLogBuilder_ == null) { - if (conditionCase_ == 20 - && condition_ - != com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.getDefaultInstance()) { - condition_ = - com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.newBuilder( - (com.google.monitoring.v3.AlertPolicy.Condition.LogMatch) condition_) - .mergeFrom(value) - .buildPartial(); + if (conditionCase_ == 20 && + condition_ != com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.getDefaultInstance()) { + condition_ = com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.newBuilder((com.google.monitoring.v3.AlertPolicy.Condition.LogMatch) condition_) + .mergeFrom(value).buildPartial(); } else { condition_ = value; } @@ -13330,15 +11995,12 @@ public Builder mergeConditionMatchedLog( return this; } /** - * - * *
        * A condition that checks for log messages matching given constraints. If
        * set, no other conditions can be present.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; - * + * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; */ public Builder clearConditionMatchedLog() { if (conditionMatchedLogBuilder_ == null) { @@ -13357,34 +12019,26 @@ public Builder clearConditionMatchedLog() { return this; } /** - * - * *
        * A condition that checks for log messages matching given constraints. If
        * set, no other conditions can be present.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; - * + * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; */ - public com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.Builder - getConditionMatchedLogBuilder() { + public com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.Builder getConditionMatchedLogBuilder() { return getConditionMatchedLogFieldBuilder().getBuilder(); } /** - * - * *
        * A condition that checks for log messages matching given constraints. If
        * set, no other conditions can be present.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; - * + * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; */ @java.lang.Override - public com.google.monitoring.v3.AlertPolicy.Condition.LogMatchOrBuilder - getConditionMatchedLogOrBuilder() { + public com.google.monitoring.v3.AlertPolicy.Condition.LogMatchOrBuilder getConditionMatchedLogOrBuilder() { if ((conditionCase_ == 20) && (conditionMatchedLogBuilder_ != null)) { return conditionMatchedLogBuilder_.getMessageOrBuilder(); } else { @@ -13395,61 +12049,41 @@ public Builder clearConditionMatchedLog() { } } /** - * - * *
        * A condition that checks for log messages matching given constraints. If
        * set, no other conditions can be present.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; - * + * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy.Condition.LogMatch, - com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.Builder, - com.google.monitoring.v3.AlertPolicy.Condition.LogMatchOrBuilder> + com.google.monitoring.v3.AlertPolicy.Condition.LogMatch, com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.Builder, com.google.monitoring.v3.AlertPolicy.Condition.LogMatchOrBuilder> getConditionMatchedLogFieldBuilder() { if (conditionMatchedLogBuilder_ == null) { if (!(conditionCase_ == 20)) { - condition_ = - com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.getDefaultInstance(); - } - conditionMatchedLogBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy.Condition.LogMatch, - com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.Builder, - com.google.monitoring.v3.AlertPolicy.Condition.LogMatchOrBuilder>( + condition_ = com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.getDefaultInstance(); + } + conditionMatchedLogBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.AlertPolicy.Condition.LogMatch, com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.Builder, com.google.monitoring.v3.AlertPolicy.Condition.LogMatchOrBuilder>( (com.google.monitoring.v3.AlertPolicy.Condition.LogMatch) condition_, getParentForChildren(), isClean()); condition_ = null; } conditionCase_ = 20; - onChanged(); - ; + onChanged();; return conditionMatchedLogBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition, - com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition - .Builder, - com.google.monitoring.v3.AlertPolicy.Condition - .MonitoringQueryLanguageConditionOrBuilder> - conditionMonitoringQueryLanguageBuilder_; + com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition, com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.Builder, com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageConditionOrBuilder> conditionMonitoringQueryLanguageBuilder_; /** - * - * *
        * A condition that uses the Monitoring Query Language to define
        * alerts.
        * 
* - * - * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; - * - * + * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; * @return Whether the conditionMonitoringQueryLanguage field is set. */ @java.lang.Override @@ -13457,51 +12091,37 @@ public boolean hasConditionMonitoringQueryLanguage() { return conditionCase_ == 19; } /** - * - * *
        * A condition that uses the Monitoring Query Language to define
        * alerts.
        * 
* - * - * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; - * - * + * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; * @return The conditionMonitoringQueryLanguage. */ @java.lang.Override - public com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition - getConditionMonitoringQueryLanguage() { + public com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition getConditionMonitoringQueryLanguage() { if (conditionMonitoringQueryLanguageBuilder_ == null) { if (conditionCase_ == 19) { - return (com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) - condition_; + return (com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) condition_; } - return com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition - .getDefaultInstance(); + return com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.getDefaultInstance(); } else { if (conditionCase_ == 19) { return conditionMonitoringQueryLanguageBuilder_.getMessage(); } - return com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition - .getDefaultInstance(); + return com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.getDefaultInstance(); } } /** - * - * *
        * A condition that uses the Monitoring Query Language to define
        * alerts.
        * 
* - * - * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; - * + * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; */ - public Builder setConditionMonitoringQueryLanguage( - com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition value) { + public Builder setConditionMonitoringQueryLanguage(com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition value) { if (conditionMonitoringQueryLanguageBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -13515,20 +12135,15 @@ public Builder setConditionMonitoringQueryLanguage( return this; } /** - * - * *
        * A condition that uses the Monitoring Query Language to define
        * alerts.
        * 
* - * - * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; - * + * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; */ public Builder setConditionMonitoringQueryLanguage( - com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.Builder - builderForValue) { + com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.Builder builderForValue) { if (conditionMonitoringQueryLanguageBuilder_ == null) { condition_ = builderForValue.build(); onChanged(); @@ -13539,32 +12154,19 @@ public Builder setConditionMonitoringQueryLanguage( return this; } /** - * - * *
        * A condition that uses the Monitoring Query Language to define
        * alerts.
        * 
* - * - * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; - * + * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; */ - public Builder mergeConditionMonitoringQueryLanguage( - com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition value) { + public Builder mergeConditionMonitoringQueryLanguage(com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition value) { if (conditionMonitoringQueryLanguageBuilder_ == null) { - if (conditionCase_ == 19 - && condition_ - != com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition - .getDefaultInstance()) { - condition_ = - com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition - .newBuilder( - (com.google.monitoring.v3.AlertPolicy.Condition - .MonitoringQueryLanguageCondition) - condition_) - .mergeFrom(value) - .buildPartial(); + if (conditionCase_ == 19 && + condition_ != com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.getDefaultInstance()) { + condition_ = com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.newBuilder((com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) condition_) + .mergeFrom(value).buildPartial(); } else { condition_ = value; } @@ -13579,16 +12181,12 @@ public Builder mergeConditionMonitoringQueryLanguage( return this; } /** - * - * *
        * A condition that uses the Monitoring Query Language to define
        * alerts.
        * 
* - * - * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; - * + * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; */ public Builder clearConditionMonitoringQueryLanguage() { if (conditionMonitoringQueryLanguageBuilder_ == null) { @@ -13607,92 +12205,61 @@ public Builder clearConditionMonitoringQueryLanguage() { return this; } /** - * - * *
        * A condition that uses the Monitoring Query Language to define
        * alerts.
        * 
* - * - * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; - * + * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; */ - public com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.Builder - getConditionMonitoringQueryLanguageBuilder() { + public com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.Builder getConditionMonitoringQueryLanguageBuilder() { return getConditionMonitoringQueryLanguageFieldBuilder().getBuilder(); } /** - * - * *
        * A condition that uses the Monitoring Query Language to define
        * alerts.
        * 
* - * - * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; - * + * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; */ @java.lang.Override - public com.google.monitoring.v3.AlertPolicy.Condition - .MonitoringQueryLanguageConditionOrBuilder - getConditionMonitoringQueryLanguageOrBuilder() { + public com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageConditionOrBuilder getConditionMonitoringQueryLanguageOrBuilder() { if ((conditionCase_ == 19) && (conditionMonitoringQueryLanguageBuilder_ != null)) { return conditionMonitoringQueryLanguageBuilder_.getMessageOrBuilder(); } else { if (conditionCase_ == 19) { - return (com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) - condition_; + return (com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) condition_; } - return com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition - .getDefaultInstance(); + return com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.getDefaultInstance(); } } /** - * - * *
        * A condition that uses the Monitoring Query Language to define
        * alerts.
        * 
* - * - * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; - * + * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition, - com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition - .Builder, - com.google.monitoring.v3.AlertPolicy.Condition - .MonitoringQueryLanguageConditionOrBuilder> + com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition, com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.Builder, com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageConditionOrBuilder> getConditionMonitoringQueryLanguageFieldBuilder() { if (conditionMonitoringQueryLanguageBuilder_ == null) { if (!(conditionCase_ == 19)) { - condition_ = - com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition - .getDefaultInstance(); - } - conditionMonitoringQueryLanguageBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition, - com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition - .Builder, - com.google.monitoring.v3.AlertPolicy.Condition - .MonitoringQueryLanguageConditionOrBuilder>( - (com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) - condition_, + condition_ = com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.getDefaultInstance(); + } + conditionMonitoringQueryLanguageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition, com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.Builder, com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageConditionOrBuilder>( + (com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) condition_, getParentForChildren(), isClean()); condition_ = null; } conditionCase_ = 19; - onChanged(); - ; + onChanged();; return conditionMonitoringQueryLanguageBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -13705,12 +12272,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.AlertPolicy.Condition) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.AlertPolicy.Condition) private static final com.google.monitoring.v3.AlertPolicy.Condition DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.AlertPolicy.Condition(); } @@ -13719,16 +12286,16 @@ public static com.google.monitoring.v3.AlertPolicy.Condition getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Condition parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Condition(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Condition parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Condition(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -13743,62 +12310,74 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.AlertPolicy.Condition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface AlertStrategyOrBuilder - extends + public interface AlertStrategyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.AlertPolicy.AlertStrategy) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required for alert policies with a `LogMatch` condition.
      * This limit is not implemented for alert policies that are not log-based.
      * 
* - * - * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; - * - * + * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; * @return Whether the notificationRateLimit field is set. */ boolean hasNotificationRateLimit(); /** - * - * *
      * Required for alert policies with a `LogMatch` condition.
      * This limit is not implemented for alert policies that are not log-based.
      * 
* - * - * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; - * - * + * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; * @return The notificationRateLimit. */ - com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit - getNotificationRateLimit(); + com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit getNotificationRateLimit(); /** - * - * *
      * Required for alert policies with a `LogMatch` condition.
      * This limit is not implemented for alert policies that are not log-based.
      * 
* - * - * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; - * + * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; + */ + com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimitOrBuilder getNotificationRateLimitOrBuilder(); + + /** + *
+     * If an alert policy that was active has no data for this long, any open
+     * incidents will close
+     * 
+ * + * .google.protobuf.Duration auto_close = 3; + * @return Whether the autoClose field is set. + */ + boolean hasAutoClose(); + /** + *
+     * If an alert policy that was active has no data for this long, any open
+     * incidents will close
+     * 
+ * + * .google.protobuf.Duration auto_close = 3; + * @return The autoClose. + */ + com.google.protobuf.Duration getAutoClose(); + /** + *
+     * If an alert policy that was active has no data for this long, any open
+     * incidents will close
+     * 
+ * + * .google.protobuf.Duration auto_close = 3; */ - com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimitOrBuilder - getNotificationRateLimitOrBuilder(); + com.google.protobuf.DurationOrBuilder getAutoCloseOrBuilder(); } /** - * - * *
    * Control over how the notification channels in `notification_channels`
    * are notified when this alert fires.
@@ -13806,29 +12385,30 @@ public interface AlertStrategyOrBuilder
    *
    * Protobuf type {@code google.monitoring.v3.AlertPolicy.AlertStrategy}
    */
-  public static final class AlertStrategy extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class AlertStrategy extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.monitoring.v3.AlertPolicy.AlertStrategy)
       AlertStrategyOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use AlertStrategy.newBuilder() to construct.
     private AlertStrategy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private AlertStrategy() {}
+    private AlertStrategy() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new AlertStrategy();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private AlertStrategy(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -13847,91 +12427,87 @@ private AlertStrategy(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.Builder
-                    subBuilder = null;
-                if (notificationRateLimit_ != null) {
-                  subBuilder = notificationRateLimit_.toBuilder();
-                }
-                notificationRateLimit_ =
-                    input.readMessage(
-                        com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit
-                            .parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(notificationRateLimit_);
-                  notificationRateLimit_ = subBuilder.buildPartial();
-                }
+            case 10: {
+              com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.Builder subBuilder = null;
+              if (notificationRateLimit_ != null) {
+                subBuilder = notificationRateLimit_.toBuilder();
+              }
+              notificationRateLimit_ = input.readMessage(com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(notificationRateLimit_);
+                notificationRateLimit_ = subBuilder.buildPartial();
+              }
 
-                break;
+              break;
+            }
+            case 26: {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (autoClose_ != null) {
+                subBuilder = autoClose_.toBuilder();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              autoClose_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(autoClose_);
+                autoClose_ = subBuilder.buildPartial();
               }
+
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.monitoring.v3.AlertProto
-          .internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.AlertProto
-          .internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_fieldAccessorTable
+      return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.AlertPolicy.AlertStrategy.class,
-              com.google.monitoring.v3.AlertPolicy.AlertStrategy.Builder.class);
+              com.google.monitoring.v3.AlertPolicy.AlertStrategy.class, com.google.monitoring.v3.AlertPolicy.AlertStrategy.Builder.class);
     }
 
-    public interface NotificationRateLimitOrBuilder
-        extends
+    public interface NotificationRateLimitOrBuilder extends
         // @@protoc_insertion_point(interface_extends:google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit)
         com.google.protobuf.MessageOrBuilder {
 
       /**
-       *
-       *
        * 
        * Not more than one notification per `period`.
        * 
* * .google.protobuf.Duration period = 1; - * * @return Whether the period field is set. */ boolean hasPeriod(); /** - * - * *
        * Not more than one notification per `period`.
        * 
* * .google.protobuf.Duration period = 1; - * * @return The period. */ com.google.protobuf.Duration getPeriod(); /** - * - * *
        * Not more than one notification per `period`.
        * 
@@ -13941,8 +12517,6 @@ public interface NotificationRateLimitOrBuilder com.google.protobuf.DurationOrBuilder getPeriodOrBuilder(); } /** - * - * *
      * Control over the rate of notifications sent to this alert policy's
      * notification channels.
@@ -13950,29 +12524,30 @@ public interface NotificationRateLimitOrBuilder
      *
      * Protobuf type {@code google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit}
      */
-    public static final class NotificationRateLimit extends com.google.protobuf.GeneratedMessageV3
-        implements
+    public static final class NotificationRateLimit extends
+        com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit)
         NotificationRateLimitOrBuilder {
-      private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
       // Use NotificationRateLimit.newBuilder() to construct.
       private NotificationRateLimit(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-
-      private NotificationRateLimit() {}
+      private NotificationRateLimit() {
+      }
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(
+          UnusedPrivateParameter unused) {
         return new NotificationRateLimit();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet
+      getUnknownFields() {
         return this.unknownFields;
       }
-
       private NotificationRateLimit(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -13991,68 +12566,59 @@ private NotificationRateLimit(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  com.google.protobuf.Duration.Builder subBuilder = null;
-                  if (period_ != null) {
-                    subBuilder = period_.toBuilder();
-                  }
-                  period_ =
-                      input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-                  if (subBuilder != null) {
-                    subBuilder.mergeFrom(period_);
-                    period_ = subBuilder.buildPartial();
-                  }
-
-                  break;
+              case 10: {
+                com.google.protobuf.Duration.Builder subBuilder = null;
+                if (period_ != null) {
+                  subBuilder = period_.toBuilder();
                 }
-              default:
-                {
-                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                    done = true;
-                  }
-                  break;
+                period_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(period_);
+                  period_ = subBuilder.buildPartial();
                 }
+
+                break;
+              }
+              default: {
+                if (!parseUnknownField(
+                    input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
+              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
           throw e.setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(
+              e).setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
-
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.monitoring.v3.AlertProto
-            .internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_NotificationRateLimit_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_NotificationRateLimit_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.monitoring.v3.AlertProto
-            .internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_NotificationRateLimit_fieldAccessorTable
+        return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_NotificationRateLimit_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.class,
-                com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.Builder
-                    .class);
+                com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.class, com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.Builder.class);
       }
 
       public static final int PERIOD_FIELD_NUMBER = 1;
       private com.google.protobuf.Duration period_;
       /**
-       *
-       *
        * 
        * Not more than one notification per `period`.
        * 
* * .google.protobuf.Duration period = 1; - * * @return Whether the period field is set. */ @java.lang.Override @@ -14060,14 +12626,11 @@ public boolean hasPeriod() { return period_ != null; } /** - * - * *
        * Not more than one notification per `period`.
        * 
* * .google.protobuf.Duration period = 1; - * * @return The period. */ @java.lang.Override @@ -14075,8 +12638,6 @@ public com.google.protobuf.Duration getPeriod() { return period_ == null ? com.google.protobuf.Duration.getDefaultInstance() : period_; } /** - * - * *
        * Not more than one notification per `period`.
        * 
@@ -14089,7 +12650,6 @@ public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -14101,7 +12661,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 (period_ != null) { output.writeMessage(1, getPeriod()); } @@ -14115,7 +12676,8 @@ public int getSerializedSize() { size = 0; if (period_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPeriod()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getPeriod()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -14125,18 +12687,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.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit)) { + if (!(obj instanceof com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit)) { return super.equals(obj); } - com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit other = - (com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit) obj; + com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit other = (com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit) obj; if (hasPeriod() != other.hasPeriod()) return false; if (hasPeriod()) { - if (!getPeriod().equals(other.getPeriod())) return false; + if (!getPeriod() + .equals(other.getPeriod())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -14158,103 +12719,88 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit - parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit prototype) { + public static Builder newBuilder(com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -14264,8 +12810,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Control over the rate of notifications sent to this alert policy's
        * notification channels.
@@ -14273,42 +12817,38 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit}
        */
-      public static final class Builder
-          extends com.google.protobuf.GeneratedMessageV3.Builder
-          implements
+      public static final class Builder extends
+          com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit)
           com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimitOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-          return com.google.monitoring.v3.AlertProto
-              .internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_NotificationRateLimit_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor
+            getDescriptor() {
+          return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_NotificationRateLimit_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.monitoring.v3.AlertProto
-              .internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_NotificationRateLimit_fieldAccessorTable
+          return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_NotificationRateLimit_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.class,
-                  com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.Builder
-                      .class);
+                  com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.class, com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.Builder.class);
         }
 
-        // Construct using
-        // com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.newBuilder()
+        // Construct using com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
 
-        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(
+            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
-
         private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+          if (com.google.protobuf.GeneratedMessageV3
+                  .alwaysUseFieldBuilders) {
+          }
         }
-
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -14322,22 +12862,19 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-          return com.google.monitoring.v3.AlertProto
-              .internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_NotificationRateLimit_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor
+            getDescriptorForType() {
+          return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_NotificationRateLimit_descriptor;
         }
 
         @java.lang.Override
-        public com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit
-            getDefaultInstanceForType() {
-          return com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit
-              .getDefaultInstance();
+        public com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit getDefaultInstanceForType() {
+          return com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.getDefaultInstance();
         }
 
         @java.lang.Override
         public com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit build() {
-          com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit result =
-              buildPartial();
+          com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit result = buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
@@ -14345,10 +12882,8 @@ public com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit
         }
 
         @java.lang.Override
-        public com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit
-            buildPartial() {
-          com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit result =
-              new com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit(this);
+        public com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit buildPartial() {
+          com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit result = new com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit(this);
           if (periodBuilder_ == null) {
             result.period_ = period_;
           } else {
@@ -14362,54 +12897,46 @@ public com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit
         public Builder clone() {
           return super.clone();
         }
-
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field,
+            java.lang.Object value) {
           return super.setField(field, value);
         }
-
         @java.lang.Override
-        public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+        public Builder clearField(
+            com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
-
         @java.lang.Override
-        public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+        public Builder clearOneof(
+            com.google.protobuf.Descriptors.OneofDescriptor oneof) {
           return super.clearOneof(oneof);
         }
-
         @java.lang.Override
         public Builder setRepeatedField(
             com.google.protobuf.Descriptors.FieldDescriptor field,
-            int index,
-            java.lang.Object value) {
+            int index, java.lang.Object value) {
           return super.setRepeatedField(field, index, value);
         }
-
         @java.lang.Override
         public Builder addRepeatedField(
-            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field,
+            java.lang.Object value) {
           return super.addRepeatedField(field, value);
         }
-
         @java.lang.Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
-          if (other
-              instanceof com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit) {
-            return mergeFrom(
-                (com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit) other);
+          if (other instanceof com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit) {
+            return mergeFrom((com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit)other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(
-            com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit other) {
-          if (other
-              == com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit
-                  .getDefaultInstance()) return this;
+        public Builder mergeFrom(com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit other) {
+          if (other == com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.getDefaultInstance()) return this;
           if (other.hasPeriod()) {
             mergePeriod(other.getPeriod());
           }
@@ -14428,14 +12955,11 @@ public Builder mergeFrom(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
             throws java.io.IOException {
-          com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit parsedMessage =
-              null;
+          com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit parsedMessage = null;
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            parsedMessage =
-                (com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit)
-                    e.getUnfinishedMessage();
+            parsedMessage = (com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
@@ -14447,33 +12971,24 @@ public Builder mergeFrom(
 
         private com.google.protobuf.Duration period_;
         private com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>
-            periodBuilder_;
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> periodBuilder_;
         /**
-         *
-         *
          * 
          * Not more than one notification per `period`.
          * 
* * .google.protobuf.Duration period = 1; - * * @return Whether the period field is set. */ public boolean hasPeriod() { return periodBuilder_ != null || period_ != null; } /** - * - * *
          * Not more than one notification per `period`.
          * 
* * .google.protobuf.Duration period = 1; - * * @return The period. */ public com.google.protobuf.Duration getPeriod() { @@ -14484,8 +12999,6 @@ public com.google.protobuf.Duration getPeriod() { } } /** - * - * *
          * Not more than one notification per `period`.
          * 
@@ -14506,15 +13019,14 @@ public Builder setPeriod(com.google.protobuf.Duration value) { return this; } /** - * - * *
          * Not more than one notification per `period`.
          * 
* * .google.protobuf.Duration period = 1; */ - public Builder setPeriod(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setPeriod( + com.google.protobuf.Duration.Builder builderForValue) { if (periodBuilder_ == null) { period_ = builderForValue.build(); onChanged(); @@ -14525,8 +13037,6 @@ public Builder setPeriod(com.google.protobuf.Duration.Builder builderForValue) { return this; } /** - * - * *
          * Not more than one notification per `period`.
          * 
@@ -14537,7 +13047,7 @@ public Builder mergePeriod(com.google.protobuf.Duration value) { if (periodBuilder_ == null) { if (period_ != null) { period_ = - com.google.protobuf.Duration.newBuilder(period_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(period_).mergeFrom(value).buildPartial(); } else { period_ = value; } @@ -14549,8 +13059,6 @@ public Builder mergePeriod(com.google.protobuf.Duration value) { return this; } /** - * - * *
          * Not more than one notification per `period`.
          * 
@@ -14569,8 +13077,6 @@ public Builder clearPeriod() { return this; } /** - * - * *
          * Not more than one notification per `period`.
          * 
@@ -14578,13 +13084,11 @@ public Builder clearPeriod() { * .google.protobuf.Duration period = 1; */ public com.google.protobuf.Duration.Builder getPeriodBuilder() { - + onChanged(); return getPeriodFieldBuilder().getBuilder(); } /** - * - * *
          * Not more than one notification per `period`.
          * 
@@ -14595,12 +13099,11 @@ public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder() { if (periodBuilder_ != null) { return periodBuilder_.getMessageOrBuilder(); } else { - return period_ == null ? com.google.protobuf.Duration.getDefaultInstance() : period_; + return period_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : period_; } } /** - * - * *
          * Not more than one notification per `period`.
          * 
@@ -14608,22 +13111,18 @@ public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder() { * .google.protobuf.Duration period = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getPeriodFieldBuilder() { if (periodBuilder_ == null) { - periodBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getPeriod(), getParentForChildren(), isClean()); + periodBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getPeriod(), + getParentForChildren(), + isClean()); period_ = null; } return periodBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -14636,33 +13135,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit) - private static final com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit - DEFAULT_INSTANCE; - + private static final com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit(); + DEFAULT_INSTANCE = new com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit(); } - public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit - getDefaultInstance() { + public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NotificationRateLimit parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NotificationRateLimit(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NotificationRateLimit parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NotificationRateLimit(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -14674,27 +13170,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit - getDefaultInstanceForType() { + public com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NOTIFICATION_RATE_LIMIT_FIELD_NUMBER = 1; - private com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit - notificationRateLimit_; + private com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notificationRateLimit_; /** - * - * *
      * Required for alert policies with a `LogMatch` condition.
      * This limit is not implemented for alert policies that are not log-based.
      * 
* - * - * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; - * - * + * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; * @return Whether the notificationRateLimit field is set. */ @java.lang.Override @@ -14702,47 +13192,73 @@ public boolean hasNotificationRateLimit() { return notificationRateLimit_ != null; } /** - * - * *
      * Required for alert policies with a `LogMatch` condition.
      * This limit is not implemented for alert policies that are not log-based.
      * 
* - * - * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; - * - * + * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; * @return The notificationRateLimit. */ @java.lang.Override - public com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit - getNotificationRateLimit() { - return notificationRateLimit_ == null - ? com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit - .getDefaultInstance() - : notificationRateLimit_; + public com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit getNotificationRateLimit() { + return notificationRateLimit_ == null ? com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.getDefaultInstance() : notificationRateLimit_; } /** - * - * *
      * Required for alert policies with a `LogMatch` condition.
      * This limit is not implemented for alert policies that are not log-based.
      * 
* - * - * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; - * + * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; */ @java.lang.Override - public com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimitOrBuilder - getNotificationRateLimitOrBuilder() { + public com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimitOrBuilder getNotificationRateLimitOrBuilder() { return getNotificationRateLimit(); } - private byte memoizedIsInitialized = -1; + public static final int AUTO_CLOSE_FIELD_NUMBER = 3; + private com.google.protobuf.Duration autoClose_; + /** + *
+     * If an alert policy that was active has no data for this long, any open
+     * incidents will close
+     * 
+ * + * .google.protobuf.Duration auto_close = 3; + * @return Whether the autoClose field is set. + */ + @java.lang.Override + public boolean hasAutoClose() { + return autoClose_ != null; + } + /** + *
+     * If an alert policy that was active has no data for this long, any open
+     * incidents will close
+     * 
+ * + * .google.protobuf.Duration auto_close = 3; + * @return The autoClose. + */ + @java.lang.Override + public com.google.protobuf.Duration getAutoClose() { + return autoClose_ == null ? com.google.protobuf.Duration.getDefaultInstance() : autoClose_; + } + /** + *
+     * If an alert policy that was active has no data for this long, any open
+     * incidents will close
+     * 
+ * + * .google.protobuf.Duration auto_close = 3; + */ + @java.lang.Override + public com.google.protobuf.DurationOrBuilder getAutoCloseOrBuilder() { + return getAutoClose(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -14754,10 +13270,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (notificationRateLimit_ != null) { output.writeMessage(1, getNotificationRateLimit()); } + if (autoClose_ != null) { + output.writeMessage(3, getAutoClose()); + } unknownFields.writeTo(output); } @@ -14768,8 +13288,12 @@ public int getSerializedSize() { size = 0; if (notificationRateLimit_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, getNotificationRateLimit()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getNotificationRateLimit()); + } + if (autoClose_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getAutoClose()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -14779,17 +13303,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.monitoring.v3.AlertPolicy.AlertStrategy)) { return super.equals(obj); } - com.google.monitoring.v3.AlertPolicy.AlertStrategy other = - (com.google.monitoring.v3.AlertPolicy.AlertStrategy) obj; + com.google.monitoring.v3.AlertPolicy.AlertStrategy other = (com.google.monitoring.v3.AlertPolicy.AlertStrategy) obj; if (hasNotificationRateLimit() != other.hasNotificationRateLimit()) return false; if (hasNotificationRateLimit()) { - if (!getNotificationRateLimit().equals(other.getNotificationRateLimit())) return false; + if (!getNotificationRateLimit() + .equals(other.getNotificationRateLimit())) return false; + } + if (hasAutoClose() != other.hasAutoClose()) return false; + if (hasAutoClose()) { + if (!getAutoClose() + .equals(other.getAutoClose())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -14806,99 +13335,97 @@ public int hashCode() { hash = (37 * hash) + NOTIFICATION_RATE_LIMIT_FIELD_NUMBER; hash = (53 * hash) + getNotificationRateLimit().hashCode(); } + if (hasAutoClose()) { + hash = (37 * hash) + AUTO_CLOSE_FIELD_NUMBER; + hash = (53 * hash) + getAutoClose().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.monitoring.v3.AlertPolicy.AlertStrategy parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.AlertPolicy.AlertStrategy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.AlertPolicy.AlertStrategy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.AlertPolicy.AlertStrategy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.AlertPolicy.AlertStrategy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.AlertPolicy.AlertStrategy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.AlertPolicy.AlertStrategy parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.AlertPolicy.AlertStrategy parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.AlertPolicy.AlertStrategy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.AlertPolicy.AlertStrategy parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.AlertPolicy.AlertStrategy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.AlertPolicy.AlertStrategy parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.AlertPolicy.AlertStrategy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.AlertPolicy.AlertStrategy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.AlertPolicy.AlertStrategy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -14908,8 +13435,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Control over how the notification channels in `notification_channels`
      * are notified when this alert fires.
@@ -14917,24 +13442,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.monitoring.v3.AlertPolicy.AlertStrategy}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.monitoring.v3.AlertPolicy.AlertStrategy)
         com.google.monitoring.v3.AlertPolicy.AlertStrategyOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.monitoring.v3.AlertProto
-            .internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.monitoring.v3.AlertProto
-            .internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_fieldAccessorTable
+        return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.monitoring.v3.AlertPolicy.AlertStrategy.class,
-                com.google.monitoring.v3.AlertPolicy.AlertStrategy.Builder.class);
+                com.google.monitoring.v3.AlertPolicy.AlertStrategy.class, com.google.monitoring.v3.AlertPolicy.AlertStrategy.Builder.class);
       }
 
       // Construct using com.google.monitoring.v3.AlertPolicy.AlertStrategy.newBuilder()
@@ -14942,15 +13464,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -14960,13 +13483,19 @@ public Builder clear() {
           notificationRateLimit_ = null;
           notificationRateLimitBuilder_ = null;
         }
+        if (autoCloseBuilder_ == null) {
+          autoClose_ = null;
+        } else {
+          autoClose_ = null;
+          autoCloseBuilder_ = null;
+        }
         return this;
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.monitoring.v3.AlertProto
-            .internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_descriptor;
       }
 
       @java.lang.Override
@@ -14985,13 +13514,17 @@ public com.google.monitoring.v3.AlertPolicy.AlertStrategy build() {
 
       @java.lang.Override
       public com.google.monitoring.v3.AlertPolicy.AlertStrategy buildPartial() {
-        com.google.monitoring.v3.AlertPolicy.AlertStrategy result =
-            new com.google.monitoring.v3.AlertPolicy.AlertStrategy(this);
+        com.google.monitoring.v3.AlertPolicy.AlertStrategy result = new com.google.monitoring.v3.AlertPolicy.AlertStrategy(this);
         if (notificationRateLimitBuilder_ == null) {
           result.notificationRateLimit_ = notificationRateLimit_;
         } else {
           result.notificationRateLimit_ = notificationRateLimitBuilder_.build();
         }
+        if (autoCloseBuilder_ == null) {
+          result.autoClose_ = autoClose_;
+        } else {
+          result.autoClose_ = autoCloseBuilder_.build();
+        }
         onBuilt();
         return result;
       }
@@ -15000,41 +13533,38 @@ public com.google.monitoring.v3.AlertPolicy.AlertStrategy 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.monitoring.v3.AlertPolicy.AlertStrategy) {
-          return mergeFrom((com.google.monitoring.v3.AlertPolicy.AlertStrategy) other);
+          return mergeFrom((com.google.monitoring.v3.AlertPolicy.AlertStrategy)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -15042,11 +13572,13 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.monitoring.v3.AlertPolicy.AlertStrategy other) {
-        if (other == com.google.monitoring.v3.AlertPolicy.AlertStrategy.getDefaultInstance())
-          return this;
+        if (other == com.google.monitoring.v3.AlertPolicy.AlertStrategy.getDefaultInstance()) return this;
         if (other.hasNotificationRateLimit()) {
           mergeNotificationRateLimit(other.getNotificationRateLimit());
         }
+        if (other.hasAutoClose()) {
+          mergeAutoClose(other.getAutoClose());
+        }
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
         return this;
@@ -15066,8 +13598,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.monitoring.v3.AlertPolicy.AlertStrategy) e.getUnfinishedMessage();
+          parsedMessage = (com.google.monitoring.v3.AlertPolicy.AlertStrategy) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -15077,69 +13608,46 @@ public Builder mergeFrom(
         return this;
       }
 
-      private com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit
-          notificationRateLimit_;
+      private com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notificationRateLimit_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit,
-              com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.Builder,
-              com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimitOrBuilder>
-          notificationRateLimitBuilder_;
+          com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit, com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.Builder, com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimitOrBuilder> notificationRateLimitBuilder_;
       /**
-       *
-       *
        * 
        * Required for alert policies with a `LogMatch` condition.
        * This limit is not implemented for alert policies that are not log-based.
        * 
* - * - * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; - * - * + * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; * @return Whether the notificationRateLimit field is set. */ public boolean hasNotificationRateLimit() { return notificationRateLimitBuilder_ != null || notificationRateLimit_ != null; } /** - * - * *
        * Required for alert policies with a `LogMatch` condition.
        * This limit is not implemented for alert policies that are not log-based.
        * 
* - * - * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; - * - * + * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; * @return The notificationRateLimit. */ - public com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit - getNotificationRateLimit() { + public com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit getNotificationRateLimit() { if (notificationRateLimitBuilder_ == null) { - return notificationRateLimit_ == null - ? com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit - .getDefaultInstance() - : notificationRateLimit_; + return notificationRateLimit_ == null ? com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.getDefaultInstance() : notificationRateLimit_; } else { return notificationRateLimitBuilder_.getMessage(); } } /** - * - * *
        * Required for alert policies with a `LogMatch` condition.
        * This limit is not implemented for alert policies that are not log-based.
        * 
* - * - * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; - * + * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; */ - public Builder setNotificationRateLimit( - com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit value) { + public Builder setNotificationRateLimit(com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit value) { if (notificationRateLimitBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -15153,20 +13661,15 @@ public Builder setNotificationRateLimit( return this; } /** - * - * *
        * Required for alert policies with a `LogMatch` condition.
        * This limit is not implemented for alert policies that are not log-based.
        * 
* - * - * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; - * + * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; */ public Builder setNotificationRateLimit( - com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.Builder - builderForValue) { + com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.Builder builderForValue) { if (notificationRateLimitBuilder_ == null) { notificationRateLimit_ = builderForValue.build(); onChanged(); @@ -15177,26 +13680,18 @@ public Builder setNotificationRateLimit( return this; } /** - * - * *
        * Required for alert policies with a `LogMatch` condition.
        * This limit is not implemented for alert policies that are not log-based.
        * 
* - * - * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; - * + * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; */ - public Builder mergeNotificationRateLimit( - com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit value) { + public Builder mergeNotificationRateLimit(com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit value) { if (notificationRateLimitBuilder_ == null) { if (notificationRateLimit_ != null) { notificationRateLimit_ = - com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.newBuilder( - notificationRateLimit_) - .mergeFrom(value) - .buildPartial(); + com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.newBuilder(notificationRateLimit_).mergeFrom(value).buildPartial(); } else { notificationRateLimit_ = value; } @@ -15208,16 +13703,12 @@ public Builder mergeNotificationRateLimit( return this; } /** - * - * *
        * Required for alert policies with a `LogMatch` condition.
        * This limit is not implemented for alert policies that are not log-based.
        * 
* - * - * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; - * + * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; */ public Builder clearNotificationRateLimit() { if (notificationRateLimitBuilder_ == null) { @@ -15231,76 +13722,219 @@ public Builder clearNotificationRateLimit() { return this; } /** - * - * *
        * Required for alert policies with a `LogMatch` condition.
        * This limit is not implemented for alert policies that are not log-based.
        * 
* - * - * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; - * + * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; */ - public com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.Builder - getNotificationRateLimitBuilder() { - + public com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.Builder getNotificationRateLimitBuilder() { + onChanged(); return getNotificationRateLimitFieldBuilder().getBuilder(); } /** - * - * *
        * Required for alert policies with a `LogMatch` condition.
        * This limit is not implemented for alert policies that are not log-based.
        * 
* - * - * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; - * + * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; */ - public com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimitOrBuilder - getNotificationRateLimitOrBuilder() { + public com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimitOrBuilder getNotificationRateLimitOrBuilder() { if (notificationRateLimitBuilder_ != null) { return notificationRateLimitBuilder_.getMessageOrBuilder(); } else { - return notificationRateLimit_ == null - ? com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit - .getDefaultInstance() - : notificationRateLimit_; + return notificationRateLimit_ == null ? + com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.getDefaultInstance() : notificationRateLimit_; } } /** - * - * *
        * Required for alert policies with a `LogMatch` condition.
        * This limit is not implemented for alert policies that are not log-based.
        * 
* - * - * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; - * + * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit, - com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.Builder, - com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimitOrBuilder> + com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit, com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.Builder, com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimitOrBuilder> getNotificationRateLimitFieldBuilder() { if (notificationRateLimitBuilder_ == null) { - notificationRateLimitBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit, - com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.Builder, - com.google.monitoring.v3.AlertPolicy.AlertStrategy - .NotificationRateLimitOrBuilder>( - getNotificationRateLimit(), getParentForChildren(), isClean()); + notificationRateLimitBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit, com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.Builder, com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimitOrBuilder>( + getNotificationRateLimit(), + getParentForChildren(), + isClean()); notificationRateLimit_ = null; } - return notificationRateLimitBuilder_; + return notificationRateLimitBuilder_; + } + + private com.google.protobuf.Duration autoClose_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> autoCloseBuilder_; + /** + *
+       * If an alert policy that was active has no data for this long, any open
+       * incidents will close
+       * 
+ * + * .google.protobuf.Duration auto_close = 3; + * @return Whether the autoClose field is set. + */ + public boolean hasAutoClose() { + return autoCloseBuilder_ != null || autoClose_ != null; + } + /** + *
+       * If an alert policy that was active has no data for this long, any open
+       * incidents will close
+       * 
+ * + * .google.protobuf.Duration auto_close = 3; + * @return The autoClose. + */ + public com.google.protobuf.Duration getAutoClose() { + if (autoCloseBuilder_ == null) { + return autoClose_ == null ? com.google.protobuf.Duration.getDefaultInstance() : autoClose_; + } else { + return autoCloseBuilder_.getMessage(); + } + } + /** + *
+       * If an alert policy that was active has no data for this long, any open
+       * incidents will close
+       * 
+ * + * .google.protobuf.Duration auto_close = 3; + */ + public Builder setAutoClose(com.google.protobuf.Duration value) { + if (autoCloseBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + autoClose_ = value; + onChanged(); + } else { + autoCloseBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * If an alert policy that was active has no data for this long, any open
+       * incidents will close
+       * 
+ * + * .google.protobuf.Duration auto_close = 3; + */ + public Builder setAutoClose( + com.google.protobuf.Duration.Builder builderForValue) { + if (autoCloseBuilder_ == null) { + autoClose_ = builderForValue.build(); + onChanged(); + } else { + autoCloseBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * If an alert policy that was active has no data for this long, any open
+       * incidents will close
+       * 
+ * + * .google.protobuf.Duration auto_close = 3; + */ + public Builder mergeAutoClose(com.google.protobuf.Duration value) { + if (autoCloseBuilder_ == null) { + if (autoClose_ != null) { + autoClose_ = + com.google.protobuf.Duration.newBuilder(autoClose_).mergeFrom(value).buildPartial(); + } else { + autoClose_ = value; + } + onChanged(); + } else { + autoCloseBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * If an alert policy that was active has no data for this long, any open
+       * incidents will close
+       * 
+ * + * .google.protobuf.Duration auto_close = 3; + */ + public Builder clearAutoClose() { + if (autoCloseBuilder_ == null) { + autoClose_ = null; + onChanged(); + } else { + autoClose_ = null; + autoCloseBuilder_ = null; + } + + return this; + } + /** + *
+       * If an alert policy that was active has no data for this long, any open
+       * incidents will close
+       * 
+ * + * .google.protobuf.Duration auto_close = 3; + */ + public com.google.protobuf.Duration.Builder getAutoCloseBuilder() { + + onChanged(); + return getAutoCloseFieldBuilder().getBuilder(); + } + /** + *
+       * If an alert policy that was active has no data for this long, any open
+       * incidents will close
+       * 
+ * + * .google.protobuf.Duration auto_close = 3; + */ + public com.google.protobuf.DurationOrBuilder getAutoCloseOrBuilder() { + if (autoCloseBuilder_ != null) { + return autoCloseBuilder_.getMessageOrBuilder(); + } else { + return autoClose_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : autoClose_; + } + } + /** + *
+       * If an alert policy that was active has no data for this long, any open
+       * incidents will close
+       * 
+ * + * .google.protobuf.Duration auto_close = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> + getAutoCloseFieldBuilder() { + if (autoCloseBuilder_ == null) { + autoCloseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getAutoClose(), + getParentForChildren(), + isClean()); + autoClose_ = null; + } + return autoCloseBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -15313,12 +13947,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.AlertPolicy.AlertStrategy) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.AlertPolicy.AlertStrategy) private static final com.google.monitoring.v3.AlertPolicy.AlertStrategy DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.AlertPolicy.AlertStrategy(); } @@ -15327,16 +13961,16 @@ public static com.google.monitoring.v3.AlertPolicy.AlertStrategy getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AlertStrategy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AlertStrategy(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AlertStrategy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AlertStrategy(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -15351,13 +13985,12 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.AlertPolicy.AlertStrategy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required if the policy exists. The resource name for this policy. The
    * format is:
@@ -15370,7 +14003,6 @@ public com.google.monitoring.v3.AlertPolicy.AlertStrategy getDefaultInstanceForT
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -15379,15 +14011,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required if the policy exists. The resource name for this policy. The
    * format is:
@@ -15400,15 +14031,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -15419,8 +14051,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * A short name or phrase used to identify the policy in dashboards,
    * notifications, and incidents. To avoid confusion, don't use the same
@@ -15429,7 +14059,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -15438,15 +14067,14 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * A short name or phrase used to identify the policy in dashboards,
    * notifications, and incidents. To avoid confusion, don't use the same
@@ -15455,15 +14083,16 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -15474,8 +14103,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int DOCUMENTATION_FIELD_NUMBER = 13; private com.google.monitoring.v3.AlertPolicy.Documentation documentation_; /** - * - * *
    * Documentation that is included with notifications and incidents related to
    * this policy. Best practice is for the documentation to include information
@@ -15485,7 +14112,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * .google.monitoring.v3.AlertPolicy.Documentation documentation = 13; - * * @return Whether the documentation field is set. */ @java.lang.Override @@ -15493,8 +14119,6 @@ public boolean hasDocumentation() { return documentation_ != null; } /** - * - * *
    * Documentation that is included with notifications and incidents related to
    * this policy. Best practice is for the documentation to include information
@@ -15504,18 +14128,13 @@ public boolean hasDocumentation() {
    * 
* * .google.monitoring.v3.AlertPolicy.Documentation documentation = 13; - * * @return The documentation. */ @java.lang.Override public com.google.monitoring.v3.AlertPolicy.Documentation getDocumentation() { - return documentation_ == null - ? com.google.monitoring.v3.AlertPolicy.Documentation.getDefaultInstance() - : documentation_; + return documentation_ == null ? com.google.monitoring.v3.AlertPolicy.Documentation.getDefaultInstance() : documentation_; } /** - * - * *
    * Documentation that is included with notifications and incidents related to
    * this policy. Best practice is for the documentation to include information
@@ -15532,23 +14151,24 @@ public com.google.monitoring.v3.AlertPolicy.DocumentationOrBuilder getDocumentat
   }
 
   public static final int USER_LABELS_FIELD_NUMBER = 16;
-
   private static final class UserLabelsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry defaultEntry =
-        com.google.protobuf.MapEntry.newDefaultInstance(
-            com.google.monitoring.v3.AlertProto
-                .internal_static_google_monitoring_v3_AlertPolicy_UserLabelsEntry_descriptor,
-            com.google.protobuf.WireFormat.FieldType.STRING,
-            "",
-            com.google.protobuf.WireFormat.FieldType.STRING,
-            "");
+    static final com.google.protobuf.MapEntry<
+        java.lang.String, java.lang.String> defaultEntry =
+            com.google.protobuf.MapEntry
+            .newDefaultInstance(
+                com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_UserLabelsEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "");
   }
-
-  private com.google.protobuf.MapField userLabels_;
-
-  private com.google.protobuf.MapField internalGetUserLabels() {
+  private com.google.protobuf.MapField<
+      java.lang.String, java.lang.String> userLabels_;
+  private com.google.protobuf.MapField
+  internalGetUserLabels() {
     if (userLabels_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(UserLabelsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(
+          UserLabelsDefaultEntryHolder.defaultEntry);
     }
     return userLabels_;
   }
@@ -15557,8 +14177,6 @@ public int getUserLabelsCount() {
     return internalGetUserLabels().getMap().size();
   }
   /**
-   *
-   *
    * 
    * User-supplied key/value data to be used for organizing and
    * identifying the `AlertPolicy` objects.
@@ -15570,22 +14188,22 @@ public int getUserLabelsCount() {
    *
    * map<string, string> user_labels = 16;
    */
+
   @java.lang.Override
-  public boolean containsUserLabels(java.lang.String key) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
+  public boolean containsUserLabels(
+      java.lang.String key) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
     return internalGetUserLabels().getMap().containsKey(key);
   }
-  /** Use {@link #getUserLabelsMap()} instead. */
+  /**
+   * Use {@link #getUserLabelsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getUserLabels() {
     return getUserLabelsMap();
   }
   /**
-   *
-   *
    * 
    * User-supplied key/value data to be used for organizing and
    * identifying the `AlertPolicy` objects.
@@ -15598,12 +14216,11 @@ public java.util.Map getUserLabels() {
    * map<string, string> user_labels = 16;
    */
   @java.lang.Override
+
   public java.util.Map getUserLabelsMap() {
     return internalGetUserLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * User-supplied key/value data to be used for organizing and
    * identifying the `AlertPolicy` objects.
@@ -15616,17 +14233,16 @@ public java.util.Map getUserLabelsMap() {
    * map<string, string> user_labels = 16;
    */
   @java.lang.Override
+
   public java.lang.String getUserLabelsOrDefault(
-      java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
-    java.util.Map map = internalGetUserLabels().getMap();
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
+    java.util.Map map =
+        internalGetUserLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * User-supplied key/value data to be used for organizing and
    * identifying the `AlertPolicy` objects.
@@ -15639,11 +14255,12 @@ public java.lang.String getUserLabelsOrDefault(
    * map<string, string> user_labels = 16;
    */
   @java.lang.Override
-  public java.lang.String getUserLabelsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
-    java.util.Map map = internalGetUserLabels().getMap();
+
+  public java.lang.String getUserLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
+    java.util.Map map =
+        internalGetUserLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -15653,8 +14270,6 @@ public java.lang.String getUserLabelsOrThrow(java.lang.String key) {
   public static final int CONDITIONS_FIELD_NUMBER = 12;
   private java.util.List conditions_;
   /**
-   *
-   *
    * 
    * A list of conditions for the policy. The conditions are combined by AND or
    * OR according to the `combiner` field. If the combined conditions evaluate
@@ -15671,8 +14286,6 @@ public java.util.List getConditi
     return conditions_;
   }
   /**
-   *
-   *
    * 
    * A list of conditions for the policy. The conditions are combined by AND or
    * OR according to the `combiner` field. If the combined conditions evaluate
@@ -15685,13 +14298,11 @@ public java.util.List getConditi
    * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getConditionsOrBuilderList() {
     return conditions_;
   }
   /**
-   *
-   *
    * 
    * A list of conditions for the policy. The conditions are combined by AND or
    * OR according to the `combiner` field. If the combined conditions evaluate
@@ -15708,8 +14319,6 @@ public int getConditionsCount() {
     return conditions_.size();
   }
   /**
-   *
-   *
    * 
    * A list of conditions for the policy. The conditions are combined by AND or
    * OR according to the `combiner` field. If the combined conditions evaluate
@@ -15726,8 +14335,6 @@ public com.google.monitoring.v3.AlertPolicy.Condition getConditions(int index) {
     return conditions_.get(index);
   }
   /**
-   *
-   *
    * 
    * A list of conditions for the policy. The conditions are combined by AND or
    * OR according to the `combiner` field. If the combined conditions evaluate
@@ -15740,15 +14347,14 @@ public com.google.monitoring.v3.AlertPolicy.Condition getConditions(int index) {
    * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12;
    */
   @java.lang.Override
-  public com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder getConditionsOrBuilder(int index) {
+  public com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder getConditionsOrBuilder(
+      int index) {
     return conditions_.get(index);
   }
 
   public static final int COMBINER_FIELD_NUMBER = 6;
   private int combiner_;
   /**
-   *
-   *
    * 
    * How to combine the results of multiple conditions to determine if an
    * incident should be opened.
@@ -15757,16 +14363,12 @@ public com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder getConditionsOrBu
    * 
* * .google.monitoring.v3.AlertPolicy.ConditionCombinerType combiner = 6; - * * @return The enum numeric value on the wire for combiner. */ - @java.lang.Override - public int getCombinerValue() { + @java.lang.Override public int getCombinerValue() { return combiner_; } /** - * - * *
    * How to combine the results of multiple conditions to determine if an
    * incident should be opened.
@@ -15775,24 +14377,17 @@ public int getCombinerValue() {
    * 
* * .google.monitoring.v3.AlertPolicy.ConditionCombinerType combiner = 6; - * * @return The combiner. */ - @java.lang.Override - public com.google.monitoring.v3.AlertPolicy.ConditionCombinerType getCombiner() { + @java.lang.Override public com.google.monitoring.v3.AlertPolicy.ConditionCombinerType getCombiner() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.AlertPolicy.ConditionCombinerType result = - com.google.monitoring.v3.AlertPolicy.ConditionCombinerType.valueOf(combiner_); - return result == null - ? com.google.monitoring.v3.AlertPolicy.ConditionCombinerType.UNRECOGNIZED - : result; + com.google.monitoring.v3.AlertPolicy.ConditionCombinerType result = com.google.monitoring.v3.AlertPolicy.ConditionCombinerType.valueOf(combiner_); + return result == null ? com.google.monitoring.v3.AlertPolicy.ConditionCombinerType.UNRECOGNIZED : result; } public static final int ENABLED_FIELD_NUMBER = 17; private com.google.protobuf.BoolValue enabled_; /** - * - * *
    * Whether or not the policy is enabled. On write, the default interpretation
    * if unset is that the policy is enabled. On read, clients should not make
@@ -15802,7 +14397,6 @@ public com.google.monitoring.v3.AlertPolicy.ConditionCombinerType getCombiner()
    * 
* * .google.protobuf.BoolValue enabled = 17; - * * @return Whether the enabled field is set. */ @java.lang.Override @@ -15810,8 +14404,6 @@ public boolean hasEnabled() { return enabled_ != null; } /** - * - * *
    * Whether or not the policy is enabled. On write, the default interpretation
    * if unset is that the policy is enabled. On read, clients should not make
@@ -15821,7 +14413,6 @@ public boolean hasEnabled() {
    * 
* * .google.protobuf.BoolValue enabled = 17; - * * @return The enabled. */ @java.lang.Override @@ -15829,8 +14420,6 @@ public com.google.protobuf.BoolValue getEnabled() { return enabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : enabled_; } /** - * - * *
    * Whether or not the policy is enabled. On write, the default interpretation
    * if unset is that the policy is enabled. On read, clients should not make
@@ -15849,15 +14438,12 @@ public com.google.protobuf.BoolValueOrBuilder getEnabledOrBuilder() {
   public static final int VALIDITY_FIELD_NUMBER = 18;
   private com.google.rpc.Status validity_;
   /**
-   *
-   *
    * 
    * Read-only description of how the alert policy is invalid. OK if the alert
    * policy is valid. If not OK, the alert policy will not generate incidents.
    * 
* * .google.rpc.Status validity = 18; - * * @return Whether the validity field is set. */ @java.lang.Override @@ -15865,15 +14451,12 @@ public boolean hasValidity() { return validity_ != null; } /** - * - * *
    * Read-only description of how the alert policy is invalid. OK if the alert
    * policy is valid. If not OK, the alert policy will not generate incidents.
    * 
* * .google.rpc.Status validity = 18; - * * @return The validity. */ @java.lang.Override @@ -15881,8 +14464,6 @@ public com.google.rpc.Status getValidity() { return validity_ == null ? com.google.rpc.Status.getDefaultInstance() : validity_; } /** - * - * *
    * Read-only description of how the alert policy is invalid. OK if the alert
    * policy is valid. If not OK, the alert policy will not generate incidents.
@@ -15898,8 +14479,6 @@ public com.google.rpc.StatusOrBuilder getValidityOrBuilder() {
   public static final int NOTIFICATION_CHANNELS_FIELD_NUMBER = 14;
   private com.google.protobuf.LazyStringList notificationChannels_;
   /**
-   *
-   *
    * 
    * Identifies the notification channels to which notifications should be sent
    * when incidents are opened or closed or when new violations occur on
@@ -15913,15 +14492,13 @@ public com.google.rpc.StatusOrBuilder getValidityOrBuilder() {
    * 
* * repeated string notification_channels = 14; - * * @return A list containing the notificationChannels. */ - public com.google.protobuf.ProtocolStringList getNotificationChannelsList() { + public com.google.protobuf.ProtocolStringList + getNotificationChannelsList() { return notificationChannels_; } /** - * - * *
    * Identifies the notification channels to which notifications should be sent
    * when incidents are opened or closed or when new violations occur on
@@ -15935,15 +14512,12 @@ public com.google.protobuf.ProtocolStringList getNotificationChannelsList() {
    * 
* * repeated string notification_channels = 14; - * * @return The count of notificationChannels. */ public int getNotificationChannelsCount() { return notificationChannels_.size(); } /** - * - * *
    * Identifies the notification channels to which notifications should be sent
    * when incidents are opened or closed or when new violations occur on
@@ -15957,7 +14531,6 @@ public int getNotificationChannelsCount() {
    * 
* * repeated string notification_channels = 14; - * * @param index The index of the element to return. * @return The notificationChannels at the given index. */ @@ -15965,8 +14538,6 @@ public java.lang.String getNotificationChannels(int index) { return notificationChannels_.get(index); } /** - * - * *
    * Identifies the notification channels to which notifications should be sent
    * when incidents are opened or closed or when new violations occur on
@@ -15980,26 +14551,23 @@ public java.lang.String getNotificationChannels(int index) {
    * 
* * repeated string notification_channels = 14; - * * @param index The index of the value to return. * @return The bytes of the notificationChannels at the given index. */ - public com.google.protobuf.ByteString getNotificationChannelsBytes(int index) { + public com.google.protobuf.ByteString + getNotificationChannelsBytes(int index) { return notificationChannels_.getByteString(index); } public static final int CREATION_RECORD_FIELD_NUMBER = 10; private com.google.monitoring.v3.MutationRecord creationRecord_; /** - * - * *
    * A read-only record of the creation of the alerting policy. If provided
    * in a call to create or update, this field will be ignored.
    * 
* * .google.monitoring.v3.MutationRecord creation_record = 10; - * * @return Whether the creationRecord field is set. */ @java.lang.Override @@ -16007,26 +14575,19 @@ public boolean hasCreationRecord() { return creationRecord_ != null; } /** - * - * *
    * A read-only record of the creation of the alerting policy. If provided
    * in a call to create or update, this field will be ignored.
    * 
* * .google.monitoring.v3.MutationRecord creation_record = 10; - * * @return The creationRecord. */ @java.lang.Override public com.google.monitoring.v3.MutationRecord getCreationRecord() { - return creationRecord_ == null - ? com.google.monitoring.v3.MutationRecord.getDefaultInstance() - : creationRecord_; + return creationRecord_ == null ? com.google.monitoring.v3.MutationRecord.getDefaultInstance() : creationRecord_; } /** - * - * *
    * A read-only record of the creation of the alerting policy. If provided
    * in a call to create or update, this field will be ignored.
@@ -16042,15 +14603,12 @@ public com.google.monitoring.v3.MutationRecordOrBuilder getCreationRecordOrBuild
   public static final int MUTATION_RECORD_FIELD_NUMBER = 11;
   private com.google.monitoring.v3.MutationRecord mutationRecord_;
   /**
-   *
-   *
    * 
    * A read-only record of the most recent change to the alerting policy. If
    * provided in a call to create or update, this field will be ignored.
    * 
* * .google.monitoring.v3.MutationRecord mutation_record = 11; - * * @return Whether the mutationRecord field is set. */ @java.lang.Override @@ -16058,26 +14616,19 @@ public boolean hasMutationRecord() { return mutationRecord_ != null; } /** - * - * *
    * A read-only record of the most recent change to the alerting policy. If
    * provided in a call to create or update, this field will be ignored.
    * 
* * .google.monitoring.v3.MutationRecord mutation_record = 11; - * * @return The mutationRecord. */ @java.lang.Override public com.google.monitoring.v3.MutationRecord getMutationRecord() { - return mutationRecord_ == null - ? com.google.monitoring.v3.MutationRecord.getDefaultInstance() - : mutationRecord_; + return mutationRecord_ == null ? com.google.monitoring.v3.MutationRecord.getDefaultInstance() : mutationRecord_; } /** - * - * *
    * A read-only record of the most recent change to the alerting policy. If
    * provided in a call to create or update, this field will be ignored.
@@ -16093,14 +14644,11 @@ public com.google.monitoring.v3.MutationRecordOrBuilder getMutationRecordOrBuild
   public static final int ALERT_STRATEGY_FIELD_NUMBER = 21;
   private com.google.monitoring.v3.AlertPolicy.AlertStrategy alertStrategy_;
   /**
-   *
-   *
    * 
    * Control over how this alert policy's notification channels are notified.
    * 
* * .google.monitoring.v3.AlertPolicy.AlertStrategy alert_strategy = 21; - * * @return Whether the alertStrategy field is set. */ @java.lang.Override @@ -16108,25 +14656,18 @@ public boolean hasAlertStrategy() { return alertStrategy_ != null; } /** - * - * *
    * Control over how this alert policy's notification channels are notified.
    * 
* * .google.monitoring.v3.AlertPolicy.AlertStrategy alert_strategy = 21; - * * @return The alertStrategy. */ @java.lang.Override public com.google.monitoring.v3.AlertPolicy.AlertStrategy getAlertStrategy() { - return alertStrategy_ == null - ? com.google.monitoring.v3.AlertPolicy.AlertStrategy.getDefaultInstance() - : alertStrategy_; + return alertStrategy_ == null ? com.google.monitoring.v3.AlertPolicy.AlertStrategy.getDefaultInstance() : alertStrategy_; } /** - * - * *
    * Control over how this alert policy's notification channels are notified.
    * 
@@ -16139,7 +14680,6 @@ public com.google.monitoring.v3.AlertPolicy.AlertStrategyOrBuilder getAlertStrat } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -16151,16 +14691,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, displayName_); } - if (combiner_ - != com.google.monitoring.v3.AlertPolicy.ConditionCombinerType.COMBINE_UNSPECIFIED - .getNumber()) { + if (combiner_ != com.google.monitoring.v3.AlertPolicy.ConditionCombinerType.COMBINE_UNSPECIFIED.getNumber()) { output.writeEnum(6, combiner_); } if (creationRecord_ != null) { @@ -16176,11 +14715,14 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(13, getDocumentation()); } for (int i = 0; i < notificationChannels_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 14, notificationChannels_.getRaw(i)); - } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetUserLabels(), UserLabelsDefaultEntryHolder.defaultEntry, 16); + com.google.protobuf.GeneratedMessageV3.writeString(output, 14, notificationChannels_.getRaw(i)); + } + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetUserLabels(), + UserLabelsDefaultEntryHolder.defaultEntry, + 16); if (enabled_ != null) { output.writeMessage(17, getEnabled()); } @@ -16205,22 +14747,25 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_); } - if (combiner_ - != com.google.monitoring.v3.AlertPolicy.ConditionCombinerType.COMBINE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, combiner_); + if (combiner_ != com.google.monitoring.v3.AlertPolicy.ConditionCombinerType.COMBINE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, combiner_); } if (creationRecord_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getCreationRecord()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getCreationRecord()); } if (mutationRecord_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getMutationRecord()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getMutationRecord()); } for (int i = 0; i < conditions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, conditions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, conditions_.get(i)); } if (documentation_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getDocumentation()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, getDocumentation()); } { int dataSize = 0; @@ -16230,24 +14775,27 @@ public int getSerializedSize() { size += dataSize; size += 1 * getNotificationChannelsList().size(); } - for (java.util.Map.Entry entry : - internalGetUserLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry userLabels__ = - UserLabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, userLabels__); + for (java.util.Map.Entry entry + : internalGetUserLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + userLabels__ = UserLabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(16, userLabels__); } if (enabled_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(17, getEnabled()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(17, getEnabled()); } if (validity_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, getValidity()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(18, getValidity()); } if (alertStrategy_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(21, getAlertStrategy()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(21, getAlertStrategy()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -16257,42 +14805,53 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.AlertPolicy)) { return super.equals(obj); } com.google.monitoring.v3.AlertPolicy other = (com.google.monitoring.v3.AlertPolicy) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (hasDocumentation() != other.hasDocumentation()) return false; if (hasDocumentation()) { - if (!getDocumentation().equals(other.getDocumentation())) return false; + if (!getDocumentation() + .equals(other.getDocumentation())) return false; } - if (!internalGetUserLabels().equals(other.internalGetUserLabels())) return false; - if (!getConditionsList().equals(other.getConditionsList())) return false; + if (!internalGetUserLabels().equals( + other.internalGetUserLabels())) return false; + if (!getConditionsList() + .equals(other.getConditionsList())) return false; if (combiner_ != other.combiner_) return false; if (hasEnabled() != other.hasEnabled()) return false; if (hasEnabled()) { - if (!getEnabled().equals(other.getEnabled())) return false; + if (!getEnabled() + .equals(other.getEnabled())) return false; } if (hasValidity() != other.hasValidity()) return false; if (hasValidity()) { - if (!getValidity().equals(other.getValidity())) return false; + if (!getValidity() + .equals(other.getValidity())) return false; } - if (!getNotificationChannelsList().equals(other.getNotificationChannelsList())) return false; + if (!getNotificationChannelsList() + .equals(other.getNotificationChannelsList())) return false; if (hasCreationRecord() != other.hasCreationRecord()) return false; if (hasCreationRecord()) { - if (!getCreationRecord().equals(other.getCreationRecord())) return false; + if (!getCreationRecord() + .equals(other.getCreationRecord())) return false; } if (hasMutationRecord() != other.hasMutationRecord()) return false; if (hasMutationRecord()) { - if (!getMutationRecord().equals(other.getMutationRecord())) return false; + if (!getMutationRecord() + .equals(other.getMutationRecord())) return false; } if (hasAlertStrategy() != other.hasAlertStrategy()) return false; if (hasAlertStrategy()) { - if (!getAlertStrategy().equals(other.getAlertStrategy())) return false; + if (!getAlertStrategy() + .equals(other.getAlertStrategy())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -16352,103 +14911,97 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.AlertPolicy parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.AlertPolicy parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.AlertPolicy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.AlertPolicy parseFrom(com.google.protobuf.ByteString data) + public static com.google.monitoring.v3.AlertPolicy parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.AlertPolicy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.AlertPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.AlertPolicy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.AlertPolicy 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.monitoring.v3.AlertPolicy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.AlertPolicy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.AlertPolicy parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.AlertPolicy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.AlertPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.AlertPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 description of the conditions under which some aspect of your system is
    * considered to be "unhealthy" and the ways to notify people or services about
@@ -16458,43 +15011,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.monitoring.v3.AlertPolicy}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.AlertPolicy)
       com.google.monitoring.v3.AlertPolicyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.monitoring.v3.AlertProto
-          .internal_static_google_monitoring_v3_AlertPolicy_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 16:
           return internalGetUserLabels();
         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 16:
           return internalGetMutableUserLabels();
         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.monitoring.v3.AlertProto
-          .internal_static_google_monitoring_v3_AlertPolicy_fieldAccessorTable
+      return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.AlertPolicy.class,
-              com.google.monitoring.v3.AlertPolicy.Builder.class);
+              com.google.monitoring.v3.AlertPolicy.class, com.google.monitoring.v3.AlertPolicy.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.AlertPolicy.newBuilder()
@@ -16502,17 +15055,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getConditionsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -16571,9 +15124,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.monitoring.v3.AlertProto
-          .internal_static_google_monitoring_v3_AlertPolicy_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_descriptor;
     }
 
     @java.lang.Override
@@ -16651,39 +15204,38 @@ public com.google.monitoring.v3.AlertPolicy 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.monitoring.v3.AlertPolicy) {
-        return mergeFrom((com.google.monitoring.v3.AlertPolicy) other);
+        return mergeFrom((com.google.monitoring.v3.AlertPolicy)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -16703,7 +15255,8 @@ public Builder mergeFrom(com.google.monitoring.v3.AlertPolicy other) {
       if (other.hasDocumentation()) {
         mergeDocumentation(other.getDocumentation());
       }
-      internalGetMutableUserLabels().mergeFrom(other.internalGetUserLabels());
+      internalGetMutableUserLabels().mergeFrom(
+          other.internalGetUserLabels());
       if (conditionsBuilder_ == null) {
         if (!other.conditions_.isEmpty()) {
           if (conditions_.isEmpty()) {
@@ -16722,10 +15275,9 @@ public Builder mergeFrom(com.google.monitoring.v3.AlertPolicy other) {
             conditionsBuilder_ = null;
             conditions_ = other.conditions_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            conditionsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getConditionsFieldBuilder()
-                    : null;
+            conditionsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getConditionsFieldBuilder() : null;
           } else {
             conditionsBuilder_.addAllMessages(other.conditions_);
           }
@@ -16787,13 +15339,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required if the policy exists. The resource name for this policy. The
      * format is:
@@ -16806,13 +15355,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -16821,8 +15370,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required if the policy exists. The resource name for this policy. The
      * format is:
@@ -16835,14 +15382,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -16850,8 +15398,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required if the policy exists. The resource name for this policy. The
      * format is:
@@ -16864,22 +15410,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required if the policy exists. The resource name for this policy. The
      * format is:
@@ -16892,18 +15436,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required if the policy exists. The resource name for this policy. The
      * format is:
@@ -16916,16 +15457,16 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -16933,8 +15474,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * A short name or phrase used to identify the policy in dashboards,
      * notifications, and incidents. To avoid confusion, don't use the same
@@ -16943,13 +15482,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string display_name = 2; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -16958,8 +15497,6 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * A short name or phrase used to identify the policy in dashboards,
      * notifications, and incidents. To avoid confusion, don't use the same
@@ -16968,14 +15505,15 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -16983,8 +15521,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * A short name or phrase used to identify the policy in dashboards,
      * notifications, and incidents. To avoid confusion, don't use the same
@@ -16993,22 +15529,20 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * A short name or phrase used to identify the policy in dashboards,
      * notifications, and incidents. To avoid confusion, don't use the same
@@ -17017,18 +15551,15 @@ public Builder setDisplayName(java.lang.String value) {
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * A short name or phrase used to identify the policy in dashboards,
      * notifications, and incidents. To avoid confusion, don't use the same
@@ -17037,16 +15568,16 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -17054,13 +15585,8 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private com.google.monitoring.v3.AlertPolicy.Documentation documentation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy.Documentation, - com.google.monitoring.v3.AlertPolicy.Documentation.Builder, - com.google.monitoring.v3.AlertPolicy.DocumentationOrBuilder> - documentationBuilder_; + com.google.monitoring.v3.AlertPolicy.Documentation, com.google.monitoring.v3.AlertPolicy.Documentation.Builder, com.google.monitoring.v3.AlertPolicy.DocumentationOrBuilder> documentationBuilder_; /** - * - * *
      * Documentation that is included with notifications and incidents related to
      * this policy. Best practice is for the documentation to include information
@@ -17070,15 +15596,12 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.monitoring.v3.AlertPolicy.Documentation documentation = 13; - * * @return Whether the documentation field is set. */ public boolean hasDocumentation() { return documentationBuilder_ != null || documentation_ != null; } /** - * - * *
      * Documentation that is included with notifications and incidents related to
      * this policy. Best practice is for the documentation to include information
@@ -17088,21 +15611,16 @@ public boolean hasDocumentation() {
      * 
* * .google.monitoring.v3.AlertPolicy.Documentation documentation = 13; - * * @return The documentation. */ public com.google.monitoring.v3.AlertPolicy.Documentation getDocumentation() { if (documentationBuilder_ == null) { - return documentation_ == null - ? com.google.monitoring.v3.AlertPolicy.Documentation.getDefaultInstance() - : documentation_; + return documentation_ == null ? com.google.monitoring.v3.AlertPolicy.Documentation.getDefaultInstance() : documentation_; } else { return documentationBuilder_.getMessage(); } } /** - * - * *
      * Documentation that is included with notifications and incidents related to
      * this policy. Best practice is for the documentation to include information
@@ -17127,8 +15645,6 @@ public Builder setDocumentation(com.google.monitoring.v3.AlertPolicy.Documentati
       return this;
     }
     /**
-     *
-     *
      * 
      * Documentation that is included with notifications and incidents related to
      * this policy. Best practice is for the documentation to include information
@@ -17151,8 +15667,6 @@ public Builder setDocumentation(
       return this;
     }
     /**
-     *
-     *
      * 
      * Documentation that is included with notifications and incidents related to
      * this policy. Best practice is for the documentation to include information
@@ -17167,9 +15681,7 @@ public Builder mergeDocumentation(com.google.monitoring.v3.AlertPolicy.Documenta
       if (documentationBuilder_ == null) {
         if (documentation_ != null) {
           documentation_ =
-              com.google.monitoring.v3.AlertPolicy.Documentation.newBuilder(documentation_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.monitoring.v3.AlertPolicy.Documentation.newBuilder(documentation_).mergeFrom(value).buildPartial();
         } else {
           documentation_ = value;
         }
@@ -17181,8 +15693,6 @@ public Builder mergeDocumentation(com.google.monitoring.v3.AlertPolicy.Documenta
       return this;
     }
     /**
-     *
-     *
      * 
      * Documentation that is included with notifications and incidents related to
      * this policy. Best practice is for the documentation to include information
@@ -17205,8 +15715,6 @@ public Builder clearDocumentation() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Documentation that is included with notifications and incidents related to
      * this policy. Best practice is for the documentation to include information
@@ -17218,13 +15726,11 @@ public Builder clearDocumentation() {
      * .google.monitoring.v3.AlertPolicy.Documentation documentation = 13;
      */
     public com.google.monitoring.v3.AlertPolicy.Documentation.Builder getDocumentationBuilder() {
-
+      
       onChanged();
       return getDocumentationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Documentation that is included with notifications and incidents related to
      * this policy. Best practice is for the documentation to include information
@@ -17239,14 +15745,11 @@ public com.google.monitoring.v3.AlertPolicy.DocumentationOrBuilder getDocumentat
       if (documentationBuilder_ != null) {
         return documentationBuilder_.getMessageOrBuilder();
       } else {
-        return documentation_ == null
-            ? com.google.monitoring.v3.AlertPolicy.Documentation.getDefaultInstance()
-            : documentation_;
+        return documentation_ == null ?
+            com.google.monitoring.v3.AlertPolicy.Documentation.getDefaultInstance() : documentation_;
       }
     }
     /**
-     *
-     *
      * 
      * Documentation that is included with notifications and incidents related to
      * this policy. Best practice is for the documentation to include information
@@ -17258,40 +15761,35 @@ public com.google.monitoring.v3.AlertPolicy.DocumentationOrBuilder getDocumentat
      * .google.monitoring.v3.AlertPolicy.Documentation documentation = 13;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.AlertPolicy.Documentation,
-            com.google.monitoring.v3.AlertPolicy.Documentation.Builder,
-            com.google.monitoring.v3.AlertPolicy.DocumentationOrBuilder>
+        com.google.monitoring.v3.AlertPolicy.Documentation, com.google.monitoring.v3.AlertPolicy.Documentation.Builder, com.google.monitoring.v3.AlertPolicy.DocumentationOrBuilder> 
         getDocumentationFieldBuilder() {
       if (documentationBuilder_ == null) {
-        documentationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.monitoring.v3.AlertPolicy.Documentation,
-                com.google.monitoring.v3.AlertPolicy.Documentation.Builder,
-                com.google.monitoring.v3.AlertPolicy.DocumentationOrBuilder>(
-                getDocumentation(), getParentForChildren(), isClean());
+        documentationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.monitoring.v3.AlertPolicy.Documentation, com.google.monitoring.v3.AlertPolicy.Documentation.Builder, com.google.monitoring.v3.AlertPolicy.DocumentationOrBuilder>(
+                getDocumentation(),
+                getParentForChildren(),
+                isClean());
         documentation_ = null;
       }
       return documentationBuilder_;
     }
 
-    private com.google.protobuf.MapField userLabels_;
-
+    private com.google.protobuf.MapField<
+        java.lang.String, java.lang.String> userLabels_;
     private com.google.protobuf.MapField
-        internalGetUserLabels() {
+    internalGetUserLabels() {
       if (userLabels_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             UserLabelsDefaultEntryHolder.defaultEntry);
       }
       return userLabels_;
     }
-
     private com.google.protobuf.MapField
-        internalGetMutableUserLabels() {
-      onChanged();
-      ;
+    internalGetMutableUserLabels() {
+      onChanged();;
       if (userLabels_ == null) {
-        userLabels_ =
-            com.google.protobuf.MapField.newMapField(UserLabelsDefaultEntryHolder.defaultEntry);
+        userLabels_ = com.google.protobuf.MapField.newMapField(
+            UserLabelsDefaultEntryHolder.defaultEntry);
       }
       if (!userLabels_.isMutable()) {
         userLabels_ = userLabels_.copy();
@@ -17303,8 +15801,6 @@ public int getUserLabelsCount() {
       return internalGetUserLabels().getMap().size();
     }
     /**
-     *
-     *
      * 
      * User-supplied key/value data to be used for organizing and
      * identifying the `AlertPolicy` objects.
@@ -17316,22 +15812,22 @@ public int getUserLabelsCount() {
      *
      * map<string, string> user_labels = 16;
      */
+
     @java.lang.Override
-    public boolean containsUserLabels(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
+    public boolean containsUserLabels(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
       return internalGetUserLabels().getMap().containsKey(key);
     }
-    /** Use {@link #getUserLabelsMap()} instead. */
+    /**
+     * Use {@link #getUserLabelsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getUserLabels() {
       return getUserLabelsMap();
     }
     /**
-     *
-     *
      * 
      * User-supplied key/value data to be used for organizing and
      * identifying the `AlertPolicy` objects.
@@ -17344,12 +15840,11 @@ public java.util.Map getUserLabels() {
      * map<string, string> user_labels = 16;
      */
     @java.lang.Override
+
     public java.util.Map getUserLabelsMap() {
       return internalGetUserLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * User-supplied key/value data to be used for organizing and
      * identifying the `AlertPolicy` objects.
@@ -17362,17 +15857,16 @@ public java.util.Map getUserLabelsMap() {
      * map<string, string> user_labels = 16;
      */
     @java.lang.Override
+
     public java.lang.String getUserLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      java.util.Map map = internalGetUserLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      java.util.Map map =
+          internalGetUserLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * User-supplied key/value data to be used for organizing and
      * identifying the `AlertPolicy` objects.
@@ -17385,11 +15879,12 @@ public java.lang.String getUserLabelsOrDefault(
      * map<string, string> user_labels = 16;
      */
     @java.lang.Override
-    public java.lang.String getUserLabelsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      java.util.Map map = internalGetUserLabels().getMap();
+
+    public java.lang.String getUserLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      java.util.Map map =
+          internalGetUserLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -17397,12 +15892,11 @@ public java.lang.String getUserLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearUserLabels() {
-      internalGetMutableUserLabels().getMutableMap().clear();
+      internalGetMutableUserLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * User-supplied key/value data to be used for organizing and
      * identifying the `AlertPolicy` objects.
@@ -17414,21 +15908,23 @@ public Builder clearUserLabels() {
      *
      * map<string, string> user_labels = 16;
      */
-    public Builder removeUserLabels(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      internalGetMutableUserLabels().getMutableMap().remove(key);
+
+    public Builder removeUserLabels(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      internalGetMutableUserLabels().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableUserLabels() {
+    public java.util.Map
+    getMutableUserLabels() {
       return internalGetMutableUserLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * User-supplied key/value data to be used for organizing and
      * identifying the `AlertPolicy` objects.
@@ -17440,19 +15936,16 @@ public java.util.Map getMutableUserLabels()
      *
      * map<string, string> user_labels = 16;
      */
-    public Builder putUserLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      if (value == null) {
-        throw new java.lang.NullPointerException();
-      }
-      internalGetMutableUserLabels().getMutableMap().put(key, value);
+    public Builder putUserLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      if (value == null) { throw new java.lang.NullPointerException(); }
+      internalGetMutableUserLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * User-supplied key/value data to be used for organizing and
      * identifying the `AlertPolicy` objects.
@@ -17464,31 +15957,27 @@ public Builder putUserLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> user_labels = 16;
      */
-    public Builder putAllUserLabels(java.util.Map values) {
-      internalGetMutableUserLabels().getMutableMap().putAll(values);
+
+    public Builder putAllUserLabels(
+        java.util.Map values) {
+      internalGetMutableUserLabels().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     private java.util.List conditions_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureConditionsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
-        conditions_ =
-            new java.util.ArrayList(conditions_);
+        conditions_ = new java.util.ArrayList(conditions_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.monitoring.v3.AlertPolicy.Condition,
-            com.google.monitoring.v3.AlertPolicy.Condition.Builder,
-            com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder>
-        conditionsBuilder_;
+        com.google.monitoring.v3.AlertPolicy.Condition, com.google.monitoring.v3.AlertPolicy.Condition.Builder, com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder> conditionsBuilder_;
 
     /**
-     *
-     *
      * 
      * A list of conditions for the policy. The conditions are combined by AND or
      * OR according to the `combiner` field. If the combined conditions evaluate
@@ -17508,8 +15997,6 @@ public java.util.List getConditi
       }
     }
     /**
-     *
-     *
      * 
      * A list of conditions for the policy. The conditions are combined by AND or
      * OR according to the `combiner` field. If the combined conditions evaluate
@@ -17529,8 +16016,6 @@ public int getConditionsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of conditions for the policy. The conditions are combined by AND or
      * OR according to the `combiner` field. If the combined conditions evaluate
@@ -17550,8 +16035,6 @@ public com.google.monitoring.v3.AlertPolicy.Condition getConditions(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * A list of conditions for the policy. The conditions are combined by AND or
      * OR according to the `combiner` field. If the combined conditions evaluate
@@ -17563,7 +16046,8 @@ public com.google.monitoring.v3.AlertPolicy.Condition getConditions(int index) {
      *
      * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12;
      */
-    public Builder setConditions(int index, com.google.monitoring.v3.AlertPolicy.Condition value) {
+    public Builder setConditions(
+        int index, com.google.monitoring.v3.AlertPolicy.Condition value) {
       if (conditionsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -17577,8 +16061,6 @@ public Builder setConditions(int index, com.google.monitoring.v3.AlertPolicy.Con
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of conditions for the policy. The conditions are combined by AND or
      * OR according to the `combiner` field. If the combined conditions evaluate
@@ -17602,8 +16084,6 @@ public Builder setConditions(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of conditions for the policy. The conditions are combined by AND or
      * OR according to the `combiner` field. If the combined conditions evaluate
@@ -17629,8 +16109,6 @@ public Builder addConditions(com.google.monitoring.v3.AlertPolicy.Condition valu
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of conditions for the policy. The conditions are combined by AND or
      * OR according to the `combiner` field. If the combined conditions evaluate
@@ -17642,7 +16120,8 @@ public Builder addConditions(com.google.monitoring.v3.AlertPolicy.Condition valu
      *
      * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12;
      */
-    public Builder addConditions(int index, com.google.monitoring.v3.AlertPolicy.Condition value) {
+    public Builder addConditions(
+        int index, com.google.monitoring.v3.AlertPolicy.Condition value) {
       if (conditionsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -17656,8 +16135,6 @@ public Builder addConditions(int index, com.google.monitoring.v3.AlertPolicy.Con
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of conditions for the policy. The conditions are combined by AND or
      * OR according to the `combiner` field. If the combined conditions evaluate
@@ -17681,8 +16158,6 @@ public Builder addConditions(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of conditions for the policy. The conditions are combined by AND or
      * OR according to the `combiner` field. If the combined conditions evaluate
@@ -17706,8 +16181,6 @@ public Builder addConditions(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of conditions for the policy. The conditions are combined by AND or
      * OR according to the `combiner` field. If the combined conditions evaluate
@@ -17723,7 +16196,8 @@ public Builder addAllConditions(
         java.lang.Iterable values) {
       if (conditionsBuilder_ == null) {
         ensureConditionsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, conditions_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, conditions_);
         onChanged();
       } else {
         conditionsBuilder_.addAllMessages(values);
@@ -17731,8 +16205,6 @@ public Builder addAllConditions(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of conditions for the policy. The conditions are combined by AND or
      * OR according to the `combiner` field. If the combined conditions evaluate
@@ -17755,8 +16227,6 @@ public Builder clearConditions() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of conditions for the policy. The conditions are combined by AND or
      * OR according to the `combiner` field. If the combined conditions evaluate
@@ -17779,8 +16249,6 @@ public Builder removeConditions(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of conditions for the policy. The conditions are combined by AND or
      * OR according to the `combiner` field. If the combined conditions evaluate
@@ -17792,12 +16260,11 @@ public Builder removeConditions(int index) {
      *
      * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12;
      */
-    public com.google.monitoring.v3.AlertPolicy.Condition.Builder getConditionsBuilder(int index) {
+    public com.google.monitoring.v3.AlertPolicy.Condition.Builder getConditionsBuilder(
+        int index) {
       return getConditionsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * A list of conditions for the policy. The conditions are combined by AND or
      * OR according to the `combiner` field. If the combined conditions evaluate
@@ -17812,14 +16279,11 @@ public com.google.monitoring.v3.AlertPolicy.Condition.Builder getConditionsBuild
     public com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder getConditionsOrBuilder(
         int index) {
       if (conditionsBuilder_ == null) {
-        return conditions_.get(index);
-      } else {
+        return conditions_.get(index);  } else {
         return conditionsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * A list of conditions for the policy. The conditions are combined by AND or
      * OR according to the `combiner` field. If the combined conditions evaluate
@@ -17831,8 +16295,8 @@ public com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder getConditionsOrBu
      *
      * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12;
      */
-    public java.util.List
-        getConditionsOrBuilderList() {
+    public java.util.List 
+         getConditionsOrBuilderList() {
       if (conditionsBuilder_ != null) {
         return conditionsBuilder_.getMessageOrBuilderList();
       } else {
@@ -17840,8 +16304,6 @@ public com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder getConditionsOrBu
       }
     }
     /**
-     *
-     *
      * 
      * A list of conditions for the policy. The conditions are combined by AND or
      * OR according to the `combiner` field. If the combined conditions evaluate
@@ -17854,12 +16316,10 @@ public com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder getConditionsOrBu
      * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12;
      */
     public com.google.monitoring.v3.AlertPolicy.Condition.Builder addConditionsBuilder() {
-      return getConditionsFieldBuilder()
-          .addBuilder(com.google.monitoring.v3.AlertPolicy.Condition.getDefaultInstance());
+      return getConditionsFieldBuilder().addBuilder(
+          com.google.monitoring.v3.AlertPolicy.Condition.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of conditions for the policy. The conditions are combined by AND or
      * OR according to the `combiner` field. If the combined conditions evaluate
@@ -17871,13 +16331,12 @@ public com.google.monitoring.v3.AlertPolicy.Condition.Builder addConditionsBuild
      *
      * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12;
      */
-    public com.google.monitoring.v3.AlertPolicy.Condition.Builder addConditionsBuilder(int index) {
-      return getConditionsFieldBuilder()
-          .addBuilder(index, com.google.monitoring.v3.AlertPolicy.Condition.getDefaultInstance());
+    public com.google.monitoring.v3.AlertPolicy.Condition.Builder addConditionsBuilder(
+        int index) {
+      return getConditionsFieldBuilder().addBuilder(
+          index, com.google.monitoring.v3.AlertPolicy.Condition.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of conditions for the policy. The conditions are combined by AND or
      * OR according to the `combiner` field. If the combined conditions evaluate
@@ -17889,23 +16348,20 @@ public com.google.monitoring.v3.AlertPolicy.Condition.Builder addConditionsBuild
      *
      * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12;
      */
-    public java.util.List
-        getConditionsBuilderList() {
+    public java.util.List 
+         getConditionsBuilderList() {
       return getConditionsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.monitoring.v3.AlertPolicy.Condition,
-            com.google.monitoring.v3.AlertPolicy.Condition.Builder,
-            com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder>
+        com.google.monitoring.v3.AlertPolicy.Condition, com.google.monitoring.v3.AlertPolicy.Condition.Builder, com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder> 
         getConditionsFieldBuilder() {
       if (conditionsBuilder_ == null) {
-        conditionsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.monitoring.v3.AlertPolicy.Condition,
-                com.google.monitoring.v3.AlertPolicy.Condition.Builder,
-                com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder>(
-                conditions_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+        conditionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.monitoring.v3.AlertPolicy.Condition, com.google.monitoring.v3.AlertPolicy.Condition.Builder, com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder>(
+                conditions_,
+                ((bitField0_ & 0x00000002) != 0),
+                getParentForChildren(),
+                isClean());
         conditions_ = null;
       }
       return conditionsBuilder_;
@@ -17913,8 +16369,6 @@ public com.google.monitoring.v3.AlertPolicy.Condition.Builder addConditionsBuild
 
     private int combiner_ = 0;
     /**
-     *
-     *
      * 
      * How to combine the results of multiple conditions to determine if an
      * incident should be opened.
@@ -17923,16 +16377,12 @@ public com.google.monitoring.v3.AlertPolicy.Condition.Builder addConditionsBuild
      * 
* * .google.monitoring.v3.AlertPolicy.ConditionCombinerType combiner = 6; - * * @return The enum numeric value on the wire for combiner. */ - @java.lang.Override - public int getCombinerValue() { + @java.lang.Override public int getCombinerValue() { return combiner_; } /** - * - * *
      * How to combine the results of multiple conditions to determine if an
      * incident should be opened.
@@ -17941,19 +16391,16 @@ public int getCombinerValue() {
      * 
* * .google.monitoring.v3.AlertPolicy.ConditionCombinerType combiner = 6; - * * @param value The enum numeric value on the wire for combiner to set. * @return This builder for chaining. */ public Builder setCombinerValue(int value) { - + combiner_ = value; onChanged(); return this; } /** - * - * *
      * How to combine the results of multiple conditions to determine if an
      * incident should be opened.
@@ -17962,21 +16409,15 @@ public Builder setCombinerValue(int value) {
      * 
* * .google.monitoring.v3.AlertPolicy.ConditionCombinerType combiner = 6; - * * @return The combiner. */ @java.lang.Override public com.google.monitoring.v3.AlertPolicy.ConditionCombinerType getCombiner() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.AlertPolicy.ConditionCombinerType result = - com.google.monitoring.v3.AlertPolicy.ConditionCombinerType.valueOf(combiner_); - return result == null - ? com.google.monitoring.v3.AlertPolicy.ConditionCombinerType.UNRECOGNIZED - : result; + com.google.monitoring.v3.AlertPolicy.ConditionCombinerType result = com.google.monitoring.v3.AlertPolicy.ConditionCombinerType.valueOf(combiner_); + return result == null ? com.google.monitoring.v3.AlertPolicy.ConditionCombinerType.UNRECOGNIZED : result; } /** - * - * *
      * How to combine the results of multiple conditions to determine if an
      * incident should be opened.
@@ -17985,7 +16426,6 @@ public com.google.monitoring.v3.AlertPolicy.ConditionCombinerType getCombiner()
      * 
* * .google.monitoring.v3.AlertPolicy.ConditionCombinerType combiner = 6; - * * @param value The combiner to set. * @return This builder for chaining. */ @@ -17993,14 +16433,12 @@ public Builder setCombiner(com.google.monitoring.v3.AlertPolicy.ConditionCombine if (value == null) { throw new NullPointerException(); } - + combiner_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * How to combine the results of multiple conditions to determine if an
      * incident should be opened.
@@ -18009,11 +16447,10 @@ public Builder setCombiner(com.google.monitoring.v3.AlertPolicy.ConditionCombine
      * 
* * .google.monitoring.v3.AlertPolicy.ConditionCombinerType combiner = 6; - * * @return This builder for chaining. */ public Builder clearCombiner() { - + combiner_ = 0; onChanged(); return this; @@ -18021,13 +16458,8 @@ public Builder clearCombiner() { private com.google.protobuf.BoolValue enabled_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, - com.google.protobuf.BoolValue.Builder, - com.google.protobuf.BoolValueOrBuilder> - enabledBuilder_; + com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> enabledBuilder_; /** - * - * *
      * Whether or not the policy is enabled. On write, the default interpretation
      * if unset is that the policy is enabled. On read, clients should not make
@@ -18037,15 +16469,12 @@ public Builder clearCombiner() {
      * 
* * .google.protobuf.BoolValue enabled = 17; - * * @return Whether the enabled field is set. */ public boolean hasEnabled() { return enabledBuilder_ != null || enabled_ != null; } /** - * - * *
      * Whether or not the policy is enabled. On write, the default interpretation
      * if unset is that the policy is enabled. On read, clients should not make
@@ -18055,7 +16484,6 @@ public boolean hasEnabled() {
      * 
* * .google.protobuf.BoolValue enabled = 17; - * * @return The enabled. */ public com.google.protobuf.BoolValue getEnabled() { @@ -18066,8 +16494,6 @@ public com.google.protobuf.BoolValue getEnabled() { } } /** - * - * *
      * Whether or not the policy is enabled. On write, the default interpretation
      * if unset is that the policy is enabled. On read, clients should not make
@@ -18092,8 +16518,6 @@ public Builder setEnabled(com.google.protobuf.BoolValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Whether or not the policy is enabled. On write, the default interpretation
      * if unset is that the policy is enabled. On read, clients should not make
@@ -18104,7 +16528,8 @@ public Builder setEnabled(com.google.protobuf.BoolValue value) {
      *
      * .google.protobuf.BoolValue enabled = 17;
      */
-    public Builder setEnabled(com.google.protobuf.BoolValue.Builder builderForValue) {
+    public Builder setEnabled(
+        com.google.protobuf.BoolValue.Builder builderForValue) {
       if (enabledBuilder_ == null) {
         enabled_ = builderForValue.build();
         onChanged();
@@ -18115,8 +16540,6 @@ public Builder setEnabled(com.google.protobuf.BoolValue.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * Whether or not the policy is enabled. On write, the default interpretation
      * if unset is that the policy is enabled. On read, clients should not make
@@ -18131,7 +16554,7 @@ public Builder mergeEnabled(com.google.protobuf.BoolValue value) {
       if (enabledBuilder_ == null) {
         if (enabled_ != null) {
           enabled_ =
-              com.google.protobuf.BoolValue.newBuilder(enabled_).mergeFrom(value).buildPartial();
+            com.google.protobuf.BoolValue.newBuilder(enabled_).mergeFrom(value).buildPartial();
         } else {
           enabled_ = value;
         }
@@ -18143,8 +16566,6 @@ public Builder mergeEnabled(com.google.protobuf.BoolValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Whether or not the policy is enabled. On write, the default interpretation
      * if unset is that the policy is enabled. On read, clients should not make
@@ -18167,8 +16588,6 @@ public Builder clearEnabled() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Whether or not the policy is enabled. On write, the default interpretation
      * if unset is that the policy is enabled. On read, clients should not make
@@ -18180,13 +16599,11 @@ public Builder clearEnabled() {
      * .google.protobuf.BoolValue enabled = 17;
      */
     public com.google.protobuf.BoolValue.Builder getEnabledBuilder() {
-
+      
       onChanged();
       return getEnabledFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Whether or not the policy is enabled. On write, the default interpretation
      * if unset is that the policy is enabled. On read, clients should not make
@@ -18201,12 +16618,11 @@ public com.google.protobuf.BoolValueOrBuilder getEnabledOrBuilder() {
       if (enabledBuilder_ != null) {
         return enabledBuilder_.getMessageOrBuilder();
       } else {
-        return enabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : enabled_;
+        return enabled_ == null ?
+            com.google.protobuf.BoolValue.getDefaultInstance() : enabled_;
       }
     }
     /**
-     *
-     *
      * 
      * Whether or not the policy is enabled. On write, the default interpretation
      * if unset is that the policy is enabled. On read, clients should not make
@@ -18218,17 +16634,14 @@ public com.google.protobuf.BoolValueOrBuilder getEnabledOrBuilder() {
      * .google.protobuf.BoolValue enabled = 17;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.BoolValue,
-            com.google.protobuf.BoolValue.Builder,
-            com.google.protobuf.BoolValueOrBuilder>
+        com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> 
         getEnabledFieldBuilder() {
       if (enabledBuilder_ == null) {
-        enabledBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.BoolValue,
-                com.google.protobuf.BoolValue.Builder,
-                com.google.protobuf.BoolValueOrBuilder>(
-                getEnabled(), getParentForChildren(), isClean());
+        enabledBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
+                getEnabled(),
+                getParentForChildren(),
+                isClean());
         enabled_ = null;
       }
       return enabledBuilder_;
@@ -18236,33 +16649,26 @@ public com.google.protobuf.BoolValueOrBuilder getEnabledOrBuilder() {
 
     private com.google.rpc.Status validity_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
-        validityBuilder_;
+        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> validityBuilder_;
     /**
-     *
-     *
      * 
      * Read-only description of how the alert policy is invalid. OK if the alert
      * policy is valid. If not OK, the alert policy will not generate incidents.
      * 
* * .google.rpc.Status validity = 18; - * * @return Whether the validity field is set. */ public boolean hasValidity() { return validityBuilder_ != null || validity_ != null; } /** - * - * *
      * Read-only description of how the alert policy is invalid. OK if the alert
      * policy is valid. If not OK, the alert policy will not generate incidents.
      * 
* * .google.rpc.Status validity = 18; - * * @return The validity. */ public com.google.rpc.Status getValidity() { @@ -18273,8 +16679,6 @@ public com.google.rpc.Status getValidity() { } } /** - * - * *
      * Read-only description of how the alert policy is invalid. OK if the alert
      * policy is valid. If not OK, the alert policy will not generate incidents.
@@ -18296,8 +16700,6 @@ public Builder setValidity(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Read-only description of how the alert policy is invalid. OK if the alert
      * policy is valid. If not OK, the alert policy will not generate incidents.
@@ -18305,7 +16707,8 @@ public Builder setValidity(com.google.rpc.Status value) {
      *
      * .google.rpc.Status validity = 18;
      */
-    public Builder setValidity(com.google.rpc.Status.Builder builderForValue) {
+    public Builder setValidity(
+        com.google.rpc.Status.Builder builderForValue) {
       if (validityBuilder_ == null) {
         validity_ = builderForValue.build();
         onChanged();
@@ -18316,8 +16719,6 @@ public Builder setValidity(com.google.rpc.Status.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Read-only description of how the alert policy is invalid. OK if the alert
      * policy is valid. If not OK, the alert policy will not generate incidents.
@@ -18328,7 +16729,8 @@ public Builder setValidity(com.google.rpc.Status.Builder builderForValue) {
     public Builder mergeValidity(com.google.rpc.Status value) {
       if (validityBuilder_ == null) {
         if (validity_ != null) {
-          validity_ = com.google.rpc.Status.newBuilder(validity_).mergeFrom(value).buildPartial();
+          validity_ =
+            com.google.rpc.Status.newBuilder(validity_).mergeFrom(value).buildPartial();
         } else {
           validity_ = value;
         }
@@ -18340,8 +16742,6 @@ public Builder mergeValidity(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Read-only description of how the alert policy is invalid. OK if the alert
      * policy is valid. If not OK, the alert policy will not generate incidents.
@@ -18361,8 +16761,6 @@ public Builder clearValidity() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Read-only description of how the alert policy is invalid. OK if the alert
      * policy is valid. If not OK, the alert policy will not generate incidents.
@@ -18371,13 +16769,11 @@ public Builder clearValidity() {
      * .google.rpc.Status validity = 18;
      */
     public com.google.rpc.Status.Builder getValidityBuilder() {
-
+      
       onChanged();
       return getValidityFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Read-only description of how the alert policy is invalid. OK if the alert
      * policy is valid. If not OK, the alert policy will not generate incidents.
@@ -18389,12 +16785,11 @@ public com.google.rpc.StatusOrBuilder getValidityOrBuilder() {
       if (validityBuilder_ != null) {
         return validityBuilder_.getMessageOrBuilder();
       } else {
-        return validity_ == null ? com.google.rpc.Status.getDefaultInstance() : validity_;
+        return validity_ == null ?
+            com.google.rpc.Status.getDefaultInstance() : validity_;
       }
     }
     /**
-     *
-     *
      * 
      * Read-only description of how the alert policy is invalid. OK if the alert
      * policy is valid. If not OK, the alert policy will not generate incidents.
@@ -18403,31 +16798,27 @@ public com.google.rpc.StatusOrBuilder getValidityOrBuilder() {
      * .google.rpc.Status validity = 18;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> 
         getValidityFieldBuilder() {
       if (validityBuilder_ == null) {
-        validityBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.rpc.Status,
-                com.google.rpc.Status.Builder,
-                com.google.rpc.StatusOrBuilder>(getValidity(), getParentForChildren(), isClean());
+        validityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
+                getValidity(),
+                getParentForChildren(),
+                isClean());
         validity_ = null;
       }
       return validityBuilder_;
     }
 
-    private com.google.protobuf.LazyStringList notificationChannels_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
-
+    private com.google.protobuf.LazyStringList notificationChannels_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     private void ensureNotificationChannelsIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
         notificationChannels_ = new com.google.protobuf.LazyStringArrayList(notificationChannels_);
         bitField0_ |= 0x00000004;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * Identifies the notification channels to which notifications should be sent
      * when incidents are opened or closed or when new violations occur on
@@ -18441,15 +16832,13 @@ private void ensureNotificationChannelsIsMutable() {
      * 
* * repeated string notification_channels = 14; - * * @return A list containing the notificationChannels. */ - public com.google.protobuf.ProtocolStringList getNotificationChannelsList() { + public com.google.protobuf.ProtocolStringList + getNotificationChannelsList() { return notificationChannels_.getUnmodifiableView(); } /** - * - * *
      * Identifies the notification channels to which notifications should be sent
      * when incidents are opened or closed or when new violations occur on
@@ -18463,15 +16852,12 @@ public com.google.protobuf.ProtocolStringList getNotificationChannelsList() {
      * 
* * repeated string notification_channels = 14; - * * @return The count of notificationChannels. */ public int getNotificationChannelsCount() { return notificationChannels_.size(); } /** - * - * *
      * Identifies the notification channels to which notifications should be sent
      * when incidents are opened or closed or when new violations occur on
@@ -18485,7 +16871,6 @@ public int getNotificationChannelsCount() {
      * 
* * repeated string notification_channels = 14; - * * @param index The index of the element to return. * @return The notificationChannels at the given index. */ @@ -18493,8 +16878,6 @@ public java.lang.String getNotificationChannels(int index) { return notificationChannels_.get(index); } /** - * - * *
      * Identifies the notification channels to which notifications should be sent
      * when incidents are opened or closed or when new violations occur on
@@ -18508,16 +16891,14 @@ public java.lang.String getNotificationChannels(int index) {
      * 
* * repeated string notification_channels = 14; - * * @param index The index of the value to return. * @return The bytes of the notificationChannels at the given index. */ - public com.google.protobuf.ByteString getNotificationChannelsBytes(int index) { + public com.google.protobuf.ByteString + getNotificationChannelsBytes(int index) { return notificationChannels_.getByteString(index); } /** - * - * *
      * Identifies the notification channels to which notifications should be sent
      * when incidents are opened or closed or when new violations occur on
@@ -18531,23 +16912,21 @@ public com.google.protobuf.ByteString getNotificationChannelsBytes(int index) {
      * 
* * repeated string notification_channels = 14; - * * @param index The index to set the value at. * @param value The notificationChannels to set. * @return This builder for chaining. */ - public Builder setNotificationChannels(int index, java.lang.String value) { + public Builder setNotificationChannels( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNotificationChannelsIsMutable(); + throw new NullPointerException(); + } + ensureNotificationChannelsIsMutable(); notificationChannels_.set(index, value); onChanged(); return this; } /** - * - * *
      * Identifies the notification channels to which notifications should be sent
      * when incidents are opened or closed or when new violations occur on
@@ -18561,22 +16940,20 @@ public Builder setNotificationChannels(int index, java.lang.String value) {
      * 
* * repeated string notification_channels = 14; - * * @param value The notificationChannels to add. * @return This builder for chaining. */ - public Builder addNotificationChannels(java.lang.String value) { + public Builder addNotificationChannels( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNotificationChannelsIsMutable(); + throw new NullPointerException(); + } + ensureNotificationChannelsIsMutable(); notificationChannels_.add(value); onChanged(); return this; } /** - * - * *
      * Identifies the notification channels to which notifications should be sent
      * when incidents are opened or closed or when new violations occur on
@@ -18590,19 +16967,18 @@ public Builder addNotificationChannels(java.lang.String value) {
      * 
* * repeated string notification_channels = 14; - * * @param values The notificationChannels to add. * @return This builder for chaining. */ - public Builder addAllNotificationChannels(java.lang.Iterable values) { + public Builder addAllNotificationChannels( + java.lang.Iterable values) { ensureNotificationChannelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, notificationChannels_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, notificationChannels_); onChanged(); return this; } /** - * - * *
      * Identifies the notification channels to which notifications should be sent
      * when incidents are opened or closed or when new violations occur on
@@ -18616,7 +16992,6 @@ public Builder addAllNotificationChannels(java.lang.Iterable v
      * 
* * repeated string notification_channels = 14; - * * @return This builder for chaining. */ public Builder clearNotificationChannels() { @@ -18626,8 +17001,6 @@ public Builder clearNotificationChannels() { return this; } /** - * - * *
      * Identifies the notification channels to which notifications should be sent
      * when incidents are opened or closed or when new violations occur on
@@ -18641,15 +17014,15 @@ public Builder clearNotificationChannels() {
      * 
* * repeated string notification_channels = 14; - * * @param value The bytes of the notificationChannels to add. * @return This builder for chaining. */ - public Builder addNotificationChannelsBytes(com.google.protobuf.ByteString value) { + public Builder addNotificationChannelsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureNotificationChannelsIsMutable(); notificationChannels_.add(value); onChanged(); @@ -18658,49 +17031,36 @@ public Builder addNotificationChannelsBytes(com.google.protobuf.ByteString value private com.google.monitoring.v3.MutationRecord creationRecord_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.MutationRecord, - com.google.monitoring.v3.MutationRecord.Builder, - com.google.monitoring.v3.MutationRecordOrBuilder> - creationRecordBuilder_; + com.google.monitoring.v3.MutationRecord, com.google.monitoring.v3.MutationRecord.Builder, com.google.monitoring.v3.MutationRecordOrBuilder> creationRecordBuilder_; /** - * - * *
      * A read-only record of the creation of the alerting policy. If provided
      * in a call to create or update, this field will be ignored.
      * 
* * .google.monitoring.v3.MutationRecord creation_record = 10; - * * @return Whether the creationRecord field is set. */ public boolean hasCreationRecord() { return creationRecordBuilder_ != null || creationRecord_ != null; } /** - * - * *
      * A read-only record of the creation of the alerting policy. If provided
      * in a call to create or update, this field will be ignored.
      * 
* * .google.monitoring.v3.MutationRecord creation_record = 10; - * * @return The creationRecord. */ public com.google.monitoring.v3.MutationRecord getCreationRecord() { if (creationRecordBuilder_ == null) { - return creationRecord_ == null - ? com.google.monitoring.v3.MutationRecord.getDefaultInstance() - : creationRecord_; + return creationRecord_ == null ? com.google.monitoring.v3.MutationRecord.getDefaultInstance() : creationRecord_; } else { return creationRecordBuilder_.getMessage(); } } /** - * - * *
      * A read-only record of the creation of the alerting policy. If provided
      * in a call to create or update, this field will be ignored.
@@ -18722,8 +17082,6 @@ public Builder setCreationRecord(com.google.monitoring.v3.MutationRecord value)
       return this;
     }
     /**
-     *
-     *
      * 
      * A read-only record of the creation of the alerting policy. If provided
      * in a call to create or update, this field will be ignored.
@@ -18743,8 +17101,6 @@ public Builder setCreationRecord(
       return this;
     }
     /**
-     *
-     *
      * 
      * A read-only record of the creation of the alerting policy. If provided
      * in a call to create or update, this field will be ignored.
@@ -18756,9 +17112,7 @@ public Builder mergeCreationRecord(com.google.monitoring.v3.MutationRecord value
       if (creationRecordBuilder_ == null) {
         if (creationRecord_ != null) {
           creationRecord_ =
-              com.google.monitoring.v3.MutationRecord.newBuilder(creationRecord_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.monitoring.v3.MutationRecord.newBuilder(creationRecord_).mergeFrom(value).buildPartial();
         } else {
           creationRecord_ = value;
         }
@@ -18770,8 +17124,6 @@ public Builder mergeCreationRecord(com.google.monitoring.v3.MutationRecord value
       return this;
     }
     /**
-     *
-     *
      * 
      * A read-only record of the creation of the alerting policy. If provided
      * in a call to create or update, this field will be ignored.
@@ -18791,8 +17143,6 @@ public Builder clearCreationRecord() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A read-only record of the creation of the alerting policy. If provided
      * in a call to create or update, this field will be ignored.
@@ -18801,13 +17151,11 @@ public Builder clearCreationRecord() {
      * .google.monitoring.v3.MutationRecord creation_record = 10;
      */
     public com.google.monitoring.v3.MutationRecord.Builder getCreationRecordBuilder() {
-
+      
       onChanged();
       return getCreationRecordFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A read-only record of the creation of the alerting policy. If provided
      * in a call to create or update, this field will be ignored.
@@ -18819,14 +17167,11 @@ public com.google.monitoring.v3.MutationRecordOrBuilder getCreationRecordOrBuild
       if (creationRecordBuilder_ != null) {
         return creationRecordBuilder_.getMessageOrBuilder();
       } else {
-        return creationRecord_ == null
-            ? com.google.monitoring.v3.MutationRecord.getDefaultInstance()
-            : creationRecord_;
+        return creationRecord_ == null ?
+            com.google.monitoring.v3.MutationRecord.getDefaultInstance() : creationRecord_;
       }
     }
     /**
-     *
-     *
      * 
      * A read-only record of the creation of the alerting policy. If provided
      * in a call to create or update, this field will be ignored.
@@ -18835,17 +17180,14 @@ public com.google.monitoring.v3.MutationRecordOrBuilder getCreationRecordOrBuild
      * .google.monitoring.v3.MutationRecord creation_record = 10;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.MutationRecord,
-            com.google.monitoring.v3.MutationRecord.Builder,
-            com.google.monitoring.v3.MutationRecordOrBuilder>
+        com.google.monitoring.v3.MutationRecord, com.google.monitoring.v3.MutationRecord.Builder, com.google.monitoring.v3.MutationRecordOrBuilder> 
         getCreationRecordFieldBuilder() {
       if (creationRecordBuilder_ == null) {
-        creationRecordBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.monitoring.v3.MutationRecord,
-                com.google.monitoring.v3.MutationRecord.Builder,
-                com.google.monitoring.v3.MutationRecordOrBuilder>(
-                getCreationRecord(), getParentForChildren(), isClean());
+        creationRecordBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.monitoring.v3.MutationRecord, com.google.monitoring.v3.MutationRecord.Builder, com.google.monitoring.v3.MutationRecordOrBuilder>(
+                getCreationRecord(),
+                getParentForChildren(),
+                isClean());
         creationRecord_ = null;
       }
       return creationRecordBuilder_;
@@ -18853,49 +17195,36 @@ public com.google.monitoring.v3.MutationRecordOrBuilder getCreationRecordOrBuild
 
     private com.google.monitoring.v3.MutationRecord mutationRecord_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.MutationRecord,
-            com.google.monitoring.v3.MutationRecord.Builder,
-            com.google.monitoring.v3.MutationRecordOrBuilder>
-        mutationRecordBuilder_;
+        com.google.monitoring.v3.MutationRecord, com.google.monitoring.v3.MutationRecord.Builder, com.google.monitoring.v3.MutationRecordOrBuilder> mutationRecordBuilder_;
     /**
-     *
-     *
      * 
      * A read-only record of the most recent change to the alerting policy. If
      * provided in a call to create or update, this field will be ignored.
      * 
* * .google.monitoring.v3.MutationRecord mutation_record = 11; - * * @return Whether the mutationRecord field is set. */ public boolean hasMutationRecord() { return mutationRecordBuilder_ != null || mutationRecord_ != null; } /** - * - * *
      * A read-only record of the most recent change to the alerting policy. If
      * provided in a call to create or update, this field will be ignored.
      * 
* * .google.monitoring.v3.MutationRecord mutation_record = 11; - * * @return The mutationRecord. */ public com.google.monitoring.v3.MutationRecord getMutationRecord() { if (mutationRecordBuilder_ == null) { - return mutationRecord_ == null - ? com.google.monitoring.v3.MutationRecord.getDefaultInstance() - : mutationRecord_; + return mutationRecord_ == null ? com.google.monitoring.v3.MutationRecord.getDefaultInstance() : mutationRecord_; } else { return mutationRecordBuilder_.getMessage(); } } /** - * - * *
      * A read-only record of the most recent change to the alerting policy. If
      * provided in a call to create or update, this field will be ignored.
@@ -18917,8 +17246,6 @@ public Builder setMutationRecord(com.google.monitoring.v3.MutationRecord value)
       return this;
     }
     /**
-     *
-     *
      * 
      * A read-only record of the most recent change to the alerting policy. If
      * provided in a call to create or update, this field will be ignored.
@@ -18938,8 +17265,6 @@ public Builder setMutationRecord(
       return this;
     }
     /**
-     *
-     *
      * 
      * A read-only record of the most recent change to the alerting policy. If
      * provided in a call to create or update, this field will be ignored.
@@ -18951,9 +17276,7 @@ public Builder mergeMutationRecord(com.google.monitoring.v3.MutationRecord value
       if (mutationRecordBuilder_ == null) {
         if (mutationRecord_ != null) {
           mutationRecord_ =
-              com.google.monitoring.v3.MutationRecord.newBuilder(mutationRecord_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.monitoring.v3.MutationRecord.newBuilder(mutationRecord_).mergeFrom(value).buildPartial();
         } else {
           mutationRecord_ = value;
         }
@@ -18965,8 +17288,6 @@ public Builder mergeMutationRecord(com.google.monitoring.v3.MutationRecord value
       return this;
     }
     /**
-     *
-     *
      * 
      * A read-only record of the most recent change to the alerting policy. If
      * provided in a call to create or update, this field will be ignored.
@@ -18986,8 +17307,6 @@ public Builder clearMutationRecord() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A read-only record of the most recent change to the alerting policy. If
      * provided in a call to create or update, this field will be ignored.
@@ -18996,13 +17315,11 @@ public Builder clearMutationRecord() {
      * .google.monitoring.v3.MutationRecord mutation_record = 11;
      */
     public com.google.monitoring.v3.MutationRecord.Builder getMutationRecordBuilder() {
-
+      
       onChanged();
       return getMutationRecordFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A read-only record of the most recent change to the alerting policy. If
      * provided in a call to create or update, this field will be ignored.
@@ -19014,14 +17331,11 @@ public com.google.monitoring.v3.MutationRecordOrBuilder getMutationRecordOrBuild
       if (mutationRecordBuilder_ != null) {
         return mutationRecordBuilder_.getMessageOrBuilder();
       } else {
-        return mutationRecord_ == null
-            ? com.google.monitoring.v3.MutationRecord.getDefaultInstance()
-            : mutationRecord_;
+        return mutationRecord_ == null ?
+            com.google.monitoring.v3.MutationRecord.getDefaultInstance() : mutationRecord_;
       }
     }
     /**
-     *
-     *
      * 
      * A read-only record of the most recent change to the alerting policy. If
      * provided in a call to create or update, this field will be ignored.
@@ -19030,17 +17344,14 @@ public com.google.monitoring.v3.MutationRecordOrBuilder getMutationRecordOrBuild
      * .google.monitoring.v3.MutationRecord mutation_record = 11;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.MutationRecord,
-            com.google.monitoring.v3.MutationRecord.Builder,
-            com.google.monitoring.v3.MutationRecordOrBuilder>
+        com.google.monitoring.v3.MutationRecord, com.google.monitoring.v3.MutationRecord.Builder, com.google.monitoring.v3.MutationRecordOrBuilder> 
         getMutationRecordFieldBuilder() {
       if (mutationRecordBuilder_ == null) {
-        mutationRecordBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.monitoring.v3.MutationRecord,
-                com.google.monitoring.v3.MutationRecord.Builder,
-                com.google.monitoring.v3.MutationRecordOrBuilder>(
-                getMutationRecord(), getParentForChildren(), isClean());
+        mutationRecordBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.monitoring.v3.MutationRecord, com.google.monitoring.v3.MutationRecord.Builder, com.google.monitoring.v3.MutationRecordOrBuilder>(
+                getMutationRecord(),
+                getParentForChildren(),
+                isClean());
         mutationRecord_ = null;
       }
       return mutationRecordBuilder_;
@@ -19048,47 +17359,34 @@ public com.google.monitoring.v3.MutationRecordOrBuilder getMutationRecordOrBuild
 
     private com.google.monitoring.v3.AlertPolicy.AlertStrategy alertStrategy_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.AlertPolicy.AlertStrategy,
-            com.google.monitoring.v3.AlertPolicy.AlertStrategy.Builder,
-            com.google.monitoring.v3.AlertPolicy.AlertStrategyOrBuilder>
-        alertStrategyBuilder_;
+        com.google.monitoring.v3.AlertPolicy.AlertStrategy, com.google.monitoring.v3.AlertPolicy.AlertStrategy.Builder, com.google.monitoring.v3.AlertPolicy.AlertStrategyOrBuilder> alertStrategyBuilder_;
     /**
-     *
-     *
      * 
      * Control over how this alert policy's notification channels are notified.
      * 
* * .google.monitoring.v3.AlertPolicy.AlertStrategy alert_strategy = 21; - * * @return Whether the alertStrategy field is set. */ public boolean hasAlertStrategy() { return alertStrategyBuilder_ != null || alertStrategy_ != null; } /** - * - * *
      * Control over how this alert policy's notification channels are notified.
      * 
* * .google.monitoring.v3.AlertPolicy.AlertStrategy alert_strategy = 21; - * * @return The alertStrategy. */ public com.google.monitoring.v3.AlertPolicy.AlertStrategy getAlertStrategy() { if (alertStrategyBuilder_ == null) { - return alertStrategy_ == null - ? com.google.monitoring.v3.AlertPolicy.AlertStrategy.getDefaultInstance() - : alertStrategy_; + return alertStrategy_ == null ? com.google.monitoring.v3.AlertPolicy.AlertStrategy.getDefaultInstance() : alertStrategy_; } else { return alertStrategyBuilder_.getMessage(); } } /** - * - * *
      * Control over how this alert policy's notification channels are notified.
      * 
@@ -19109,8 +17407,6 @@ public Builder setAlertStrategy(com.google.monitoring.v3.AlertPolicy.AlertStrate return this; } /** - * - * *
      * Control over how this alert policy's notification channels are notified.
      * 
@@ -19129,8 +17425,6 @@ public Builder setAlertStrategy( return this; } /** - * - * *
      * Control over how this alert policy's notification channels are notified.
      * 
@@ -19141,9 +17435,7 @@ public Builder mergeAlertStrategy(com.google.monitoring.v3.AlertPolicy.AlertStra if (alertStrategyBuilder_ == null) { if (alertStrategy_ != null) { alertStrategy_ = - com.google.monitoring.v3.AlertPolicy.AlertStrategy.newBuilder(alertStrategy_) - .mergeFrom(value) - .buildPartial(); + com.google.monitoring.v3.AlertPolicy.AlertStrategy.newBuilder(alertStrategy_).mergeFrom(value).buildPartial(); } else { alertStrategy_ = value; } @@ -19155,8 +17447,6 @@ public Builder mergeAlertStrategy(com.google.monitoring.v3.AlertPolicy.AlertStra return this; } /** - * - * *
      * Control over how this alert policy's notification channels are notified.
      * 
@@ -19175,8 +17465,6 @@ public Builder clearAlertStrategy() { return this; } /** - * - * *
      * Control over how this alert policy's notification channels are notified.
      * 
@@ -19184,13 +17472,11 @@ public Builder clearAlertStrategy() { * .google.monitoring.v3.AlertPolicy.AlertStrategy alert_strategy = 21; */ public com.google.monitoring.v3.AlertPolicy.AlertStrategy.Builder getAlertStrategyBuilder() { - + onChanged(); return getAlertStrategyFieldBuilder().getBuilder(); } /** - * - * *
      * Control over how this alert policy's notification channels are notified.
      * 
@@ -19201,14 +17487,11 @@ public com.google.monitoring.v3.AlertPolicy.AlertStrategyOrBuilder getAlertStrat if (alertStrategyBuilder_ != null) { return alertStrategyBuilder_.getMessageOrBuilder(); } else { - return alertStrategy_ == null - ? com.google.monitoring.v3.AlertPolicy.AlertStrategy.getDefaultInstance() - : alertStrategy_; + return alertStrategy_ == null ? + com.google.monitoring.v3.AlertPolicy.AlertStrategy.getDefaultInstance() : alertStrategy_; } } /** - * - * *
      * Control over how this alert policy's notification channels are notified.
      * 
@@ -19216,24 +17499,21 @@ public com.google.monitoring.v3.AlertPolicy.AlertStrategyOrBuilder getAlertStrat * .google.monitoring.v3.AlertPolicy.AlertStrategy alert_strategy = 21; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy.AlertStrategy, - com.google.monitoring.v3.AlertPolicy.AlertStrategy.Builder, - com.google.monitoring.v3.AlertPolicy.AlertStrategyOrBuilder> + com.google.monitoring.v3.AlertPolicy.AlertStrategy, com.google.monitoring.v3.AlertPolicy.AlertStrategy.Builder, com.google.monitoring.v3.AlertPolicy.AlertStrategyOrBuilder> getAlertStrategyFieldBuilder() { if (alertStrategyBuilder_ == null) { - alertStrategyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy.AlertStrategy, - com.google.monitoring.v3.AlertPolicy.AlertStrategy.Builder, - com.google.monitoring.v3.AlertPolicy.AlertStrategyOrBuilder>( - getAlertStrategy(), getParentForChildren(), isClean()); + alertStrategyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.AlertPolicy.AlertStrategy, com.google.monitoring.v3.AlertPolicy.AlertStrategy.Builder, com.google.monitoring.v3.AlertPolicy.AlertStrategyOrBuilder>( + getAlertStrategy(), + getParentForChildren(), + isClean()); alertStrategy_ = null; } return alertStrategyBuilder_; } - @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); } @@ -19243,12 +17523,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.AlertPolicy) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.AlertPolicy) private static final com.google.monitoring.v3.AlertPolicy DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.AlertPolicy(); } @@ -19257,16 +17537,16 @@ public static com.google.monitoring.v3.AlertPolicy getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AlertPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AlertPolicy(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AlertPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AlertPolicy(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -19281,4 +17561,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.AlertPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyName.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyName.java similarity index 100% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyName.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyName.java diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyOrBuilder.java similarity index 91% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyOrBuilder.java index ac3e7210..2dd65429 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyOrBuilder.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/monitoring/v3/alert.proto package com.google.monitoring.v3; -public interface AlertPolicyOrBuilder - extends +public interface AlertPolicyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.AlertPolicy) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required if the policy exists. The resource name for this policy. The
    * format is:
@@ -38,13 +20,10 @@ public interface AlertPolicyOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required if the policy exists. The resource name for this policy. The
    * format is:
@@ -57,14 +36,12 @@ public interface AlertPolicyOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * A short name or phrase used to identify the policy in dashboards,
    * notifications, and incidents. To avoid confusion, don't use the same
@@ -73,13 +50,10 @@ public interface AlertPolicyOrBuilder
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * A short name or phrase used to identify the policy in dashboards,
    * notifications, and incidents. To avoid confusion, don't use the same
@@ -88,14 +62,12 @@ public interface AlertPolicyOrBuilder
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Documentation that is included with notifications and incidents related to
    * this policy. Best practice is for the documentation to include information
@@ -105,13 +77,10 @@ public interface AlertPolicyOrBuilder
    * 
* * .google.monitoring.v3.AlertPolicy.Documentation documentation = 13; - * * @return Whether the documentation field is set. */ boolean hasDocumentation(); /** - * - * *
    * Documentation that is included with notifications and incidents related to
    * this policy. Best practice is for the documentation to include information
@@ -121,13 +90,10 @@ public interface AlertPolicyOrBuilder
    * 
* * .google.monitoring.v3.AlertPolicy.Documentation documentation = 13; - * * @return The documentation. */ com.google.monitoring.v3.AlertPolicy.Documentation getDocumentation(); /** - * - * *
    * Documentation that is included with notifications and incidents related to
    * this policy. Best practice is for the documentation to include information
@@ -141,8 +107,6 @@ public interface AlertPolicyOrBuilder
   com.google.monitoring.v3.AlertPolicy.DocumentationOrBuilder getDocumentationOrBuilder();
 
   /**
-   *
-   *
    * 
    * User-supplied key/value data to be used for organizing and
    * identifying the `AlertPolicy` objects.
@@ -156,8 +120,6 @@ public interface AlertPolicyOrBuilder
    */
   int getUserLabelsCount();
   /**
-   *
-   *
    * 
    * User-supplied key/value data to be used for organizing and
    * identifying the `AlertPolicy` objects.
@@ -169,13 +131,15 @@ public interface AlertPolicyOrBuilder
    *
    * map<string, string> user_labels = 16;
    */
-  boolean containsUserLabels(java.lang.String key);
-  /** Use {@link #getUserLabelsMap()} instead. */
+  boolean containsUserLabels(
+      java.lang.String key);
+  /**
+   * Use {@link #getUserLabelsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getUserLabels();
+  java.util.Map
+  getUserLabels();
   /**
-   *
-   *
    * 
    * User-supplied key/value data to be used for organizing and
    * identifying the `AlertPolicy` objects.
@@ -187,10 +151,9 @@ public interface AlertPolicyOrBuilder
    *
    * map<string, string> user_labels = 16;
    */
-  java.util.Map getUserLabelsMap();
+  java.util.Map
+  getUserLabelsMap();
   /**
-   *
-   *
    * 
    * User-supplied key/value data to be used for organizing and
    * identifying the `AlertPolicy` objects.
@@ -202,10 +165,11 @@ public interface AlertPolicyOrBuilder
    *
    * map<string, string> user_labels = 16;
    */
-  java.lang.String getUserLabelsOrDefault(java.lang.String key, java.lang.String defaultValue);
+
+  java.lang.String getUserLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * User-supplied key/value data to be used for organizing and
    * identifying the `AlertPolicy` objects.
@@ -217,11 +181,11 @@ public interface AlertPolicyOrBuilder
    *
    * map<string, string> user_labels = 16;
    */
-  java.lang.String getUserLabelsOrThrow(java.lang.String key);
+
+  java.lang.String getUserLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * A list of conditions for the policy. The conditions are combined by AND or
    * OR according to the `combiner` field. If the combined conditions evaluate
@@ -233,10 +197,9 @@ public interface AlertPolicyOrBuilder
    *
    * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12;
    */
-  java.util.List getConditionsList();
+  java.util.List 
+      getConditionsList();
   /**
-   *
-   *
    * 
    * A list of conditions for the policy. The conditions are combined by AND or
    * OR according to the `combiner` field. If the combined conditions evaluate
@@ -250,8 +213,6 @@ public interface AlertPolicyOrBuilder
    */
   com.google.monitoring.v3.AlertPolicy.Condition getConditions(int index);
   /**
-   *
-   *
    * 
    * A list of conditions for the policy. The conditions are combined by AND or
    * OR according to the `combiner` field. If the combined conditions evaluate
@@ -265,8 +226,6 @@ public interface AlertPolicyOrBuilder
    */
   int getConditionsCount();
   /**
-   *
-   *
    * 
    * A list of conditions for the policy. The conditions are combined by AND or
    * OR according to the `combiner` field. If the combined conditions evaluate
@@ -278,11 +237,9 @@ public interface AlertPolicyOrBuilder
    *
    * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12;
    */
-  java.util.List
+  java.util.List 
       getConditionsOrBuilderList();
   /**
-   *
-   *
    * 
    * A list of conditions for the policy. The conditions are combined by AND or
    * OR according to the `combiner` field. If the combined conditions evaluate
@@ -294,11 +251,10 @@ public interface AlertPolicyOrBuilder
    *
    * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12;
    */
-  com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder getConditionsOrBuilder(int index);
+  com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder getConditionsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * How to combine the results of multiple conditions to determine if an
    * incident should be opened.
@@ -307,13 +263,10 @@ public interface AlertPolicyOrBuilder
    * 
* * .google.monitoring.v3.AlertPolicy.ConditionCombinerType combiner = 6; - * * @return The enum numeric value on the wire for combiner. */ int getCombinerValue(); /** - * - * *
    * How to combine the results of multiple conditions to determine if an
    * incident should be opened.
@@ -322,14 +275,11 @@ public interface AlertPolicyOrBuilder
    * 
* * .google.monitoring.v3.AlertPolicy.ConditionCombinerType combiner = 6; - * * @return The combiner. */ com.google.monitoring.v3.AlertPolicy.ConditionCombinerType getCombiner(); /** - * - * *
    * Whether or not the policy is enabled. On write, the default interpretation
    * if unset is that the policy is enabled. On read, clients should not make
@@ -339,13 +289,10 @@ public interface AlertPolicyOrBuilder
    * 
* * .google.protobuf.BoolValue enabled = 17; - * * @return Whether the enabled field is set. */ boolean hasEnabled(); /** - * - * *
    * Whether or not the policy is enabled. On write, the default interpretation
    * if unset is that the policy is enabled. On read, clients should not make
@@ -355,13 +302,10 @@ public interface AlertPolicyOrBuilder
    * 
* * .google.protobuf.BoolValue enabled = 17; - * * @return The enabled. */ com.google.protobuf.BoolValue getEnabled(); /** - * - * *
    * Whether or not the policy is enabled. On write, the default interpretation
    * if unset is that the policy is enabled. On read, clients should not make
@@ -375,34 +319,26 @@ public interface AlertPolicyOrBuilder
   com.google.protobuf.BoolValueOrBuilder getEnabledOrBuilder();
 
   /**
-   *
-   *
    * 
    * Read-only description of how the alert policy is invalid. OK if the alert
    * policy is valid. If not OK, the alert policy will not generate incidents.
    * 
* * .google.rpc.Status validity = 18; - * * @return Whether the validity field is set. */ boolean hasValidity(); /** - * - * *
    * Read-only description of how the alert policy is invalid. OK if the alert
    * policy is valid. If not OK, the alert policy will not generate incidents.
    * 
* * .google.rpc.Status validity = 18; - * * @return The validity. */ com.google.rpc.Status getValidity(); /** - * - * *
    * Read-only description of how the alert policy is invalid. OK if the alert
    * policy is valid. If not OK, the alert policy will not generate incidents.
@@ -413,8 +349,6 @@ public interface AlertPolicyOrBuilder
   com.google.rpc.StatusOrBuilder getValidityOrBuilder();
 
   /**
-   *
-   *
    * 
    * Identifies the notification channels to which notifications should be sent
    * when incidents are opened or closed or when new violations occur on
@@ -428,13 +362,11 @@ public interface AlertPolicyOrBuilder
    * 
* * repeated string notification_channels = 14; - * * @return A list containing the notificationChannels. */ - java.util.List getNotificationChannelsList(); + java.util.List + getNotificationChannelsList(); /** - * - * *
    * Identifies the notification channels to which notifications should be sent
    * when incidents are opened or closed or when new violations occur on
@@ -448,13 +380,10 @@ public interface AlertPolicyOrBuilder
    * 
* * repeated string notification_channels = 14; - * * @return The count of notificationChannels. */ int getNotificationChannelsCount(); /** - * - * *
    * Identifies the notification channels to which notifications should be sent
    * when incidents are opened or closed or when new violations occur on
@@ -468,14 +397,11 @@ public interface AlertPolicyOrBuilder
    * 
* * repeated string notification_channels = 14; - * * @param index The index of the element to return. * @return The notificationChannels at the given index. */ java.lang.String getNotificationChannels(int index); /** - * - * *
    * Identifies the notification channels to which notifications should be sent
    * when incidents are opened or closed or when new violations occur on
@@ -489,41 +415,33 @@ public interface AlertPolicyOrBuilder
    * 
* * repeated string notification_channels = 14; - * * @param index The index of the value to return. * @return The bytes of the notificationChannels at the given index. */ - com.google.protobuf.ByteString getNotificationChannelsBytes(int index); + com.google.protobuf.ByteString + getNotificationChannelsBytes(int index); /** - * - * *
    * A read-only record of the creation of the alerting policy. If provided
    * in a call to create or update, this field will be ignored.
    * 
* * .google.monitoring.v3.MutationRecord creation_record = 10; - * * @return Whether the creationRecord field is set. */ boolean hasCreationRecord(); /** - * - * *
    * A read-only record of the creation of the alerting policy. If provided
    * in a call to create or update, this field will be ignored.
    * 
* * .google.monitoring.v3.MutationRecord creation_record = 10; - * * @return The creationRecord. */ com.google.monitoring.v3.MutationRecord getCreationRecord(); /** - * - * *
    * A read-only record of the creation of the alerting policy. If provided
    * in a call to create or update, this field will be ignored.
@@ -534,34 +452,26 @@ public interface AlertPolicyOrBuilder
   com.google.monitoring.v3.MutationRecordOrBuilder getCreationRecordOrBuilder();
 
   /**
-   *
-   *
    * 
    * A read-only record of the most recent change to the alerting policy. If
    * provided in a call to create or update, this field will be ignored.
    * 
* * .google.monitoring.v3.MutationRecord mutation_record = 11; - * * @return Whether the mutationRecord field is set. */ boolean hasMutationRecord(); /** - * - * *
    * A read-only record of the most recent change to the alerting policy. If
    * provided in a call to create or update, this field will be ignored.
    * 
* * .google.monitoring.v3.MutationRecord mutation_record = 11; - * * @return The mutationRecord. */ com.google.monitoring.v3.MutationRecord getMutationRecord(); /** - * - * *
    * A read-only record of the most recent change to the alerting policy. If
    * provided in a call to create or update, this field will be ignored.
@@ -572,32 +482,24 @@ public interface AlertPolicyOrBuilder
   com.google.monitoring.v3.MutationRecordOrBuilder getMutationRecordOrBuilder();
 
   /**
-   *
-   *
    * 
    * Control over how this alert policy's notification channels are notified.
    * 
* * .google.monitoring.v3.AlertPolicy.AlertStrategy alert_strategy = 21; - * * @return Whether the alertStrategy field is set. */ boolean hasAlertStrategy(); /** - * - * *
    * Control over how this alert policy's notification channels are notified.
    * 
* * .google.monitoring.v3.AlertPolicy.AlertStrategy alert_strategy = 21; - * * @return The alertStrategy. */ com.google.monitoring.v3.AlertPolicy.AlertStrategy getAlertStrategy(); /** - * - * *
    * Control over how this alert policy's notification channels are notified.
    * 
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertProto.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertProto.java new file mode 100644 index 00000000..8aa944ba --- /dev/null +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertProto.java @@ -0,0 +1,275 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/alert.proto + +package com.google.monitoring.v3; + +public final class AlertProto { + private AlertProto() {} + 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_monitoring_v3_AlertPolicy_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_AlertPolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_AlertPolicy_Documentation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_AlertPolicy_Documentation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_AlertPolicy_Condition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_AlertPolicy_Condition_Trigger_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_AlertPolicy_Condition_Trigger_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricThreshold_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricThreshold_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricAbsence_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricAbsence_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_LabelExtractorsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_LabelExtractorsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_AlertPolicy_Condition_MonitoringQueryLanguageCondition_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_AlertPolicy_Condition_MonitoringQueryLanguageCondition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_NotificationRateLimit_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_NotificationRateLimit_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_AlertPolicy_UserLabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_AlertPolicy_UserLabelsEntry_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/monitoring/v3/alert.proto\022\024goog" + + "le.monitoring.v3\032\037google/api/field_behav" + + "ior.proto\032\031google/api/resource.proto\032!go" + + "ogle/monitoring/v3/common.proto\032*google/" + + "monitoring/v3/mutation_record.proto\032\036goo" + + "gle/protobuf/duration.proto\032\036google/prot" + + "obuf/wrappers.proto\032\027google/rpc/status.p" + + "roto\"\343\027\n\013AlertPolicy\022\014\n\004name\030\001 \001(\t\022\024\n\014di" + + "splay_name\030\002 \001(\t\022F\n\rdocumentation\030\r \001(\0132" + + "/.google.monitoring.v3.AlertPolicy.Docum" + + "entation\022F\n\013user_labels\030\020 \003(\01321.google.m" + + "onitoring.v3.AlertPolicy.UserLabelsEntry" + + "\022?\n\nconditions\030\014 \003(\0132+.google.monitoring" + + ".v3.AlertPolicy.Condition\022I\n\010combiner\030\006 " + + "\001(\01627.google.monitoring.v3.AlertPolicy.C" + + "onditionCombinerType\022+\n\007enabled\030\021 \001(\0132\032." + + "google.protobuf.BoolValue\022$\n\010validity\030\022 " + + "\001(\0132\022.google.rpc.Status\022\035\n\025notification_" + + "channels\030\016 \003(\t\022=\n\017creation_record\030\n \001(\0132" + + "$.google.monitoring.v3.MutationRecord\022=\n" + + "\017mutation_record\030\013 \001(\0132$.google.monitori" + + "ng.v3.MutationRecord\022G\n\016alert_strategy\030\025" + + " \001(\0132/.google.monitoring.v3.AlertPolicy." + + "AlertStrategy\0323\n\rDocumentation\022\017\n\007conten" + + "t\030\001 \001(\t\022\021\n\tmime_type\030\002 \001(\t\032\326\r\n\tCondition" + + "\022\014\n\004name\030\014 \001(\t\022\024\n\014display_name\030\006 \001(\t\022Z\n\023" + + "condition_threshold\030\001 \001(\0132;.google.monit" + + "oring.v3.AlertPolicy.Condition.MetricThr" + + "esholdH\000\022U\n\020condition_absent\030\002 \001(\01329.goo" + + "gle.monitoring.v3.AlertPolicy.Condition." + + "MetricAbsenceH\000\022U\n\025condition_matched_log" + + "\030\024 \001(\01324.google.monitoring.v3.AlertPolic" + + "y.Condition.LogMatchH\000\022{\n#condition_moni" + + "toring_query_language\030\023 \001(\0132L.google.mon" + + "itoring.v3.AlertPolicy.Condition.Monitor" + + "ingQueryLanguageConditionH\000\0325\n\007Trigger\022\017" + + "\n\005count\030\001 \001(\005H\000\022\021\n\007percent\030\002 \001(\001H\000B\006\n\004ty" + + "pe\032\206\003\n\017MetricThreshold\022\023\n\006filter\030\002 \001(\tB\003" + + "\340A\002\0227\n\014aggregations\030\010 \003(\0132!.google.monit" + + "oring.v3.Aggregation\022\032\n\022denominator_filt" + + "er\030\t \001(\t\022C\n\030denominator_aggregations\030\n \003" + + "(\0132!.google.monitoring.v3.Aggregation\0228\n" + + "\ncomparison\030\004 \001(\0162$.google.monitoring.v3" + + ".ComparisonType\022\027\n\017threshold_value\030\005 \001(\001" + + "\022+\n\010duration\030\006 \001(\0132\031.google.protobuf.Dur" + + "ation\022D\n\007trigger\030\007 \001(\01323.google.monitori" + + "ng.v3.AlertPolicy.Condition.Trigger\032\320\001\n\r" + + "MetricAbsence\022\023\n\006filter\030\001 \001(\tB\003\340A\002\0227\n\014ag" + + "gregations\030\005 \003(\0132!.google.monitoring.v3." + + "Aggregation\022+\n\010duration\030\002 \001(\0132\031.google.p" + + "rotobuf.Duration\022D\n\007trigger\030\003 \001(\01323.goog" + + "le.monitoring.v3.AlertPolicy.Condition.T" + + "rigger\032\274\001\n\010LogMatch\022\023\n\006filter\030\001 \001(\tB\003\340A\002" + + "\022c\n\020label_extractors\030\002 \003(\0132I.google.moni" + + "toring.v3.AlertPolicy.Condition.LogMatch" + + ".LabelExtractorsEntry\0326\n\024LabelExtractors" + + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032\244\001" + + "\n MonitoringQueryLanguageCondition\022\r\n\005qu" + + "ery\030\001 \001(\t\022+\n\010duration\030\002 \001(\0132\031.google.pro" + + "tobuf.Duration\022D\n\007trigger\030\003 \001(\01323.google" + + ".monitoring.v3.AlertPolicy.Condition.Tri" + + "gger:\227\002\352A\223\002\n.monitoring.googleapis.com/A" + + "lertPolicyCondition\022Fprojects/{project}/" + + "alertPolicies/{alert_policy}/conditions/" + + "{condition}\022Porganizations/{organization" + + "}/alertPolicies/{alert_policy}/condition" + + "s/{condition}\022Dfolders/{folder}/alertPol" + + "icies/{alert_policy}/conditions/{conditi" + + "on}\022\001*B\013\n\tcondition\032\352\001\n\rAlertStrategy\022f\n" + + "\027notification_rate_limit\030\001 \001(\0132E.google." + + "monitoring.v3.AlertPolicy.AlertStrategy." + + "NotificationRateLimit\022-\n\nauto_close\030\003 \001(" + + "\0132\031.google.protobuf.Duration\032B\n\025Notifica" + + "tionRateLimit\022)\n\006period\030\001 \001(\0132\031.google.p" + + "rotobuf.Duration\0321\n\017UserLabelsEntry\022\013\n\003k" + + "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"a\n\025Condition" + + "CombinerType\022\027\n\023COMBINE_UNSPECIFIED\020\000\022\007\n" + + "\003AND\020\001\022\006\n\002OR\020\002\022\036\n\032AND_WITH_MATCHING_RESO" + + "URCE\020\003:\311\001\352A\305\001\n%monitoring.googleapis.com" + + "/AlertPolicy\022/projects/{project}/alertPo" + + "licies/{alert_policy}\0229organizations/{or" + + "ganization}/alertPolicies/{alert_policy}" + + "\022-folders/{folder}/alertPolicies/{alert_" + + "policy}\022\001*B\302\001\n\030com.google.monitoring.v3B" + + "\nAlertProtoP\001Z>google.golang.org/genprot" + + "o/googleapis/monitoring/v3;monitoring\252\002\032" + + "Google.Cloud.Monitoring.V3\312\002\032Google\\Clou" + + "d\\Monitoring\\V3\352\002\035Google::Cloud::Monitor" + + "ing::V3b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.monitoring.v3.CommonProto.getDescriptor(), + com.google.monitoring.v3.MutationRecordProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.WrappersProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_monitoring_v3_AlertPolicy_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_monitoring_v3_AlertPolicy_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_AlertPolicy_descriptor, + new java.lang.String[] { "Name", "DisplayName", "Documentation", "UserLabels", "Conditions", "Combiner", "Enabled", "Validity", "NotificationChannels", "CreationRecord", "MutationRecord", "AlertStrategy", }); + internal_static_google_monitoring_v3_AlertPolicy_Documentation_descriptor = + internal_static_google_monitoring_v3_AlertPolicy_descriptor.getNestedTypes().get(0); + internal_static_google_monitoring_v3_AlertPolicy_Documentation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_AlertPolicy_Documentation_descriptor, + new java.lang.String[] { "Content", "MimeType", }); + internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor = + internal_static_google_monitoring_v3_AlertPolicy_descriptor.getNestedTypes().get(1); + internal_static_google_monitoring_v3_AlertPolicy_Condition_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor, + new java.lang.String[] { "Name", "DisplayName", "ConditionThreshold", "ConditionAbsent", "ConditionMatchedLog", "ConditionMonitoringQueryLanguage", "Condition", }); + internal_static_google_monitoring_v3_AlertPolicy_Condition_Trigger_descriptor = + internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor.getNestedTypes().get(0); + internal_static_google_monitoring_v3_AlertPolicy_Condition_Trigger_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_AlertPolicy_Condition_Trigger_descriptor, + new java.lang.String[] { "Count", "Percent", "Type", }); + internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricThreshold_descriptor = + internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor.getNestedTypes().get(1); + internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricThreshold_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricThreshold_descriptor, + new java.lang.String[] { "Filter", "Aggregations", "DenominatorFilter", "DenominatorAggregations", "Comparison", "ThresholdValue", "Duration", "Trigger", }); + internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricAbsence_descriptor = + internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor.getNestedTypes().get(2); + internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricAbsence_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricAbsence_descriptor, + new java.lang.String[] { "Filter", "Aggregations", "Duration", "Trigger", }); + internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_descriptor = + internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor.getNestedTypes().get(3); + internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_descriptor, + new java.lang.String[] { "Filter", "LabelExtractors", }); + internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_LabelExtractorsEntry_descriptor = + internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_descriptor.getNestedTypes().get(0); + internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_LabelExtractorsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_LabelExtractorsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_monitoring_v3_AlertPolicy_Condition_MonitoringQueryLanguageCondition_descriptor = + internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor.getNestedTypes().get(4); + internal_static_google_monitoring_v3_AlertPolicy_Condition_MonitoringQueryLanguageCondition_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_AlertPolicy_Condition_MonitoringQueryLanguageCondition_descriptor, + new java.lang.String[] { "Query", "Duration", "Trigger", }); + internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_descriptor = + internal_static_google_monitoring_v3_AlertPolicy_descriptor.getNestedTypes().get(2); + internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_descriptor, + new java.lang.String[] { "NotificationRateLimit", "AutoClose", }); + internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_NotificationRateLimit_descriptor = + internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_descriptor.getNestedTypes().get(0); + internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_NotificationRateLimit_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_NotificationRateLimit_descriptor, + new java.lang.String[] { "Period", }); + internal_static_google_monitoring_v3_AlertPolicy_UserLabelsEntry_descriptor = + internal_static_google_monitoring_v3_AlertPolicy_descriptor.getNestedTypes().get(3); + internal_static_google_monitoring_v3_AlertPolicy_UserLabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_AlertPolicy_UserLabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.monitoring.v3.CommonProto.getDescriptor(); + com.google.monitoring.v3.MutationRecordProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.WrappersProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertServiceProto.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertServiceProto.java new file mode 100644 index 00000000..7dc24be9 --- /dev/null +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertServiceProto.java @@ -0,0 +1,182 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/alert_service.proto + +package com.google.monitoring.v3; + +public final class AlertServiceProto { + private AlertServiceProto() {} + 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_monitoring_v3_CreateAlertPolicyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_CreateAlertPolicyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_GetAlertPolicyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_GetAlertPolicyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_ListAlertPoliciesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_ListAlertPoliciesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_ListAlertPoliciesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_ListAlertPoliciesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_UpdateAlertPolicyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_UpdateAlertPolicyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_DeleteAlertPolicyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_DeleteAlertPolicyRequest_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/monitoring/v3/alert_service.pro" + + "to\022\024google.monitoring.v3\032\034google/api/ann" + + "otations.proto\032\027google/api/client.proto\032" + + "\037google/api/field_behavior.proto\032\031google" + + "/api/resource.proto\032 google/monitoring/v" + + "3/alert.proto\032\033google/protobuf/empty.pro" + + "to\032 google/protobuf/field_mask.proto\"\225\001\n" + + "\030CreateAlertPolicyRequest\022;\n\004name\030\003 \001(\tB" + + "-\340A\002\372A\'\022%monitoring.googleapis.com/Alert" + + "Policy\022<\n\014alert_policy\030\002 \001(\0132!.google.mo" + + "nitoring.v3.AlertPolicyB\003\340A\002\"T\n\025GetAlert" + + "PolicyRequest\022;\n\004name\030\003 \001(\tB-\340A\002\372A\'\n%mon" + + "itoring.googleapis.com/AlertPolicy\"\240\001\n\030L" + + "istAlertPoliciesRequest\022;\n\004name\030\004 \001(\tB-\340" + + "A\002\372A\'\022%monitoring.googleapis.com/AlertPo" + + "licy\022\016\n\006filter\030\005 \001(\t\022\020\n\010order_by\030\006 \001(\t\022\021" + + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\203\001" + + "\n\031ListAlertPoliciesResponse\0229\n\016alert_pol" + + "icies\030\003 \003(\0132!.google.monitoring.v3.Alert" + + "Policy\022\027\n\017next_page_token\030\002 \001(\t\022\022\n\ntotal" + + "_size\030\004 \001(\005\"\211\001\n\030UpdateAlertPolicyRequest" + + "\022/\n\013update_mask\030\002 \001(\0132\032.google.protobuf." + + "FieldMask\022<\n\014alert_policy\030\003 \001(\0132!.google" + + ".monitoring.v3.AlertPolicyB\003\340A\002\"W\n\030Delet" + + "eAlertPolicyRequest\022;\n\004name\030\003 \001(\tB-\340A\002\372A" + + "\'\n%monitoring.googleapis.com/AlertPolicy" + + "2\236\010\n\022AlertPolicyService\022\250\001\n\021ListAlertPol" + + "icies\022..google.monitoring.v3.ListAlertPo" + + "liciesRequest\032/.google.monitoring.v3.Lis" + + "tAlertPoliciesResponse\"2\202\323\344\223\002%\022#/v3/{nam" + + "e=projects/*}/alertPolicies\332A\004name\022\226\001\n\016G" + + "etAlertPolicy\022+.google.monitoring.v3.Get" + + "AlertPolicyRequest\032!.google.monitoring.v" + + "3.AlertPolicy\"4\202\323\344\223\002\'\022%/v3/{name=project" + + "s/*/alertPolicies/*}\332A\004name\022\265\001\n\021CreateAl" + + "ertPolicy\022..google.monitoring.v3.CreateA" + + "lertPolicyRequest\032!.google.monitoring.v3" + + ".AlertPolicy\"M\202\323\344\223\0023\"#/v3/{name=projects" + + "/*}/alertPolicies:\014alert_policy\332A\021name,a" + + "lert_policy\022\221\001\n\021DeleteAlertPolicy\022..goog" + + "le.monitoring.v3.DeleteAlertPolicyReques" + + "t\032\026.google.protobuf.Empty\"4\202\323\344\223\002\'*%/v3/{" + + "name=projects/*/alertPolicies/*}\332A\004name\022" + + "\313\001\n\021UpdateAlertPolicy\022..google.monitorin" + + "g.v3.UpdateAlertPolicyRequest\032!.google.m" + + "onitoring.v3.AlertPolicy\"c\202\323\344\223\002B22/v3/{a" + + "lert_policy.name=projects/*/alertPolicie" + + "s/*}:\014alert_policy\332A\030update_mask,alert_p" + + "olicy\032\251\001\312A\031monitoring.googleapis.com\322A\211\001" + + "https://www.googleapis.com/auth/cloud-pl" + + "atform,https://www.googleapis.com/auth/m" + + "onitoring,https://www.googleapis.com/aut" + + "h/monitoring.readB\311\001\n\030com.google.monitor" + + "ing.v3B\021AlertServiceProtoP\001Z>google.gola" + + "ng.org/genproto/googleapis/monitoring/v3" + + ";monitoring\252\002\032Google.Cloud.Monitoring.V3" + + "\312\002\032Google\\Cloud\\Monitoring\\V3\352\002\035Google::" + + "Cloud::Monitoring::V3b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.monitoring.v3.AlertProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_monitoring_v3_CreateAlertPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_monitoring_v3_CreateAlertPolicyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_CreateAlertPolicyRequest_descriptor, + new java.lang.String[] { "Name", "AlertPolicy", }); + internal_static_google_monitoring_v3_GetAlertPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_monitoring_v3_GetAlertPolicyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_GetAlertPolicyRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_monitoring_v3_ListAlertPoliciesRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_monitoring_v3_ListAlertPoliciesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_ListAlertPoliciesRequest_descriptor, + new java.lang.String[] { "Name", "Filter", "OrderBy", "PageSize", "PageToken", }); + internal_static_google_monitoring_v3_ListAlertPoliciesResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_monitoring_v3_ListAlertPoliciesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_ListAlertPoliciesResponse_descriptor, + new java.lang.String[] { "AlertPolicies", "NextPageToken", "TotalSize", }); + internal_static_google_monitoring_v3_UpdateAlertPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_monitoring_v3_UpdateAlertPolicyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_UpdateAlertPolicyRequest_descriptor, + new java.lang.String[] { "UpdateMask", "AlertPolicy", }); + internal_static_google_monitoring_v3_DeleteAlertPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_monitoring_v3_DeleteAlertPolicyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_DeleteAlertPolicyRequest_descriptor, + new java.lang.String[] { "Name", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.monitoring.v3.AlertProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/BasicSli.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/BasicSli.java similarity index 76% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/BasicSli.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/BasicSli.java index d484f092..62889a87 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/BasicSli.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/BasicSli.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/monitoring/v3/service.proto package com.google.monitoring.v3; /** - * - * *
  * An SLI measuring performance on a well-known service type. Performance will
  * be computed on the basis of pre-defined metrics. The type of the
@@ -32,16 +15,15 @@
  *
  * Protobuf type {@code google.monitoring.v3.BasicSli}
  */
-public final class BasicSli extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class BasicSli extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.BasicSli)
     BasicSliOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use BasicSli.newBuilder() to construct.
   private BasicSli(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private BasicSli() {
     method_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     location_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -50,15 +32,16 @@ private BasicSli() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BasicSli();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private BasicSli(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -78,88 +61,75 @@ private BasicSli(
           case 0:
             done = true;
             break;
-          case 18:
-            {
-              com.google.monitoring.v3.BasicSli.AvailabilityCriteria.Builder subBuilder = null;
-              if (sliCriteriaCase_ == 2) {
-                subBuilder =
-                    ((com.google.monitoring.v3.BasicSli.AvailabilityCriteria) sliCriteria_)
-                        .toBuilder();
-              }
-              sliCriteria_ =
-                  input.readMessage(
-                      com.google.monitoring.v3.BasicSli.AvailabilityCriteria.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.monitoring.v3.BasicSli.AvailabilityCriteria) sliCriteria_);
-                sliCriteria_ = subBuilder.buildPartial();
-              }
-              sliCriteriaCase_ = 2;
-              break;
+          case 18: {
+            com.google.monitoring.v3.BasicSli.AvailabilityCriteria.Builder subBuilder = null;
+            if (sliCriteriaCase_ == 2) {
+              subBuilder = ((com.google.monitoring.v3.BasicSli.AvailabilityCriteria) sliCriteria_).toBuilder();
             }
-          case 26:
-            {
-              com.google.monitoring.v3.BasicSli.LatencyCriteria.Builder subBuilder = null;
-              if (sliCriteriaCase_ == 3) {
-                subBuilder =
-                    ((com.google.monitoring.v3.BasicSli.LatencyCriteria) sliCriteria_).toBuilder();
-              }
-              sliCriteria_ =
-                  input.readMessage(
-                      com.google.monitoring.v3.BasicSli.LatencyCriteria.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.monitoring.v3.BasicSli.LatencyCriteria) sliCriteria_);
-                sliCriteria_ = subBuilder.buildPartial();
-              }
-              sliCriteriaCase_ = 3;
-              break;
+            sliCriteria_ =
+                input.readMessage(com.google.monitoring.v3.BasicSli.AvailabilityCriteria.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.monitoring.v3.BasicSli.AvailabilityCriteria) sliCriteria_);
+              sliCriteria_ = subBuilder.buildPartial();
             }
-          case 58:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                method_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              method_.add(s);
-              break;
+            sliCriteriaCase_ = 2;
+            break;
+          }
+          case 26: {
+            com.google.monitoring.v3.BasicSli.LatencyCriteria.Builder subBuilder = null;
+            if (sliCriteriaCase_ == 3) {
+              subBuilder = ((com.google.monitoring.v3.BasicSli.LatencyCriteria) sliCriteria_).toBuilder();
             }
-          case 66:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                location_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000002;
-              }
-              location_.add(s);
-              break;
+            sliCriteria_ =
+                input.readMessage(com.google.monitoring.v3.BasicSli.LatencyCriteria.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.monitoring.v3.BasicSli.LatencyCriteria) sliCriteria_);
+              sliCriteria_ = subBuilder.buildPartial();
             }
-          case 74:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                version_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000004;
-              }
-              version_.add(s);
-              break;
+            sliCriteriaCase_ = 3;
+            break;
+          }
+          case 58: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              method_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            method_.add(s);
+            break;
+          }
+          case 66: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              location_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000002;
+            }
+            location_.add(s);
+            break;
+          }
+          case 74: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+              version_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000004;
             }
+            version_.add(s);
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         method_ = method_.getUnmodifiableView();
@@ -174,58 +144,54 @@ private BasicSli(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.monitoring.v3.ServiceMonitoringProto
-        .internal_static_google_monitoring_v3_BasicSli_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_BasicSli_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.monitoring.v3.ServiceMonitoringProto
-        .internal_static_google_monitoring_v3_BasicSli_fieldAccessorTable
+    return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_BasicSli_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.BasicSli.class,
-            com.google.monitoring.v3.BasicSli.Builder.class);
+            com.google.monitoring.v3.BasicSli.class, com.google.monitoring.v3.BasicSli.Builder.class);
   }
 
-  public interface AvailabilityCriteriaOrBuilder
-      extends
+  public interface AvailabilityCriteriaOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.monitoring.v3.BasicSli.AvailabilityCriteria)
-      com.google.protobuf.MessageOrBuilder {}
+      com.google.protobuf.MessageOrBuilder {
+  }
   /**
-   *
-   *
    * 
    * Future parameters for the availability SLI.
    * 
* * Protobuf type {@code google.monitoring.v3.BasicSli.AvailabilityCriteria} */ - public static final class AvailabilityCriteria extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class AvailabilityCriteria extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.BasicSli.AvailabilityCriteria) AvailabilityCriteriaOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AvailabilityCriteria.newBuilder() to construct. private AvailabilityCriteria(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AvailabilityCriteria() {} + private AvailabilityCriteria() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AvailabilityCriteria(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AvailabilityCriteria( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -244,42 +210,39 @@ private AvailabilityCriteria( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringProto - .internal_static_google_monitoring_v3_BasicSli_AvailabilityCriteria_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_BasicSli_AvailabilityCriteria_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringProto - .internal_static_google_monitoring_v3_BasicSli_AvailabilityCriteria_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_BasicSli_AvailabilityCriteria_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.BasicSli.AvailabilityCriteria.class, - com.google.monitoring.v3.BasicSli.AvailabilityCriteria.Builder.class); + com.google.monitoring.v3.BasicSli.AvailabilityCriteria.class, com.google.monitoring.v3.BasicSli.AvailabilityCriteria.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -291,7 +254,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -309,13 +273,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.monitoring.v3.BasicSli.AvailabilityCriteria)) { return super.equals(obj); } - com.google.monitoring.v3.BasicSli.AvailabilityCriteria other = - (com.google.monitoring.v3.BasicSli.AvailabilityCriteria) obj; + com.google.monitoring.v3.BasicSli.AvailabilityCriteria other = (com.google.monitoring.v3.BasicSli.AvailabilityCriteria) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -334,94 +297,87 @@ public int hashCode() { } public static com.google.monitoring.v3.BasicSli.AvailabilityCriteria parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.BasicSli.AvailabilityCriteria parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.BasicSli.AvailabilityCriteria parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.BasicSli.AvailabilityCriteria parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.BasicSli.AvailabilityCriteria parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.BasicSli.AvailabilityCriteria parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.BasicSli.AvailabilityCriteria parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.BasicSli.AvailabilityCriteria parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.BasicSli.AvailabilityCriteria parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.BasicSli.AvailabilityCriteria parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.BasicSli.AvailabilityCriteria parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.BasicSli.AvailabilityCriteria parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.BasicSli.AvailabilityCriteria parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.BasicSli.AvailabilityCriteria parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.BasicSli.AvailabilityCriteria prototype) { + public static Builder newBuilder(com.google.monitoring.v3.BasicSli.AvailabilityCriteria prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -431,32 +387,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Future parameters for the availability SLI.
      * 
* * Protobuf type {@code google.monitoring.v3.BasicSli.AvailabilityCriteria} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.BasicSli.AvailabilityCriteria) com.google.monitoring.v3.BasicSli.AvailabilityCriteriaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringProto - .internal_static_google_monitoring_v3_BasicSli_AvailabilityCriteria_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_BasicSli_AvailabilityCriteria_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringProto - .internal_static_google_monitoring_v3_BasicSli_AvailabilityCriteria_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_BasicSli_AvailabilityCriteria_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.BasicSli.AvailabilityCriteria.class, - com.google.monitoring.v3.BasicSli.AvailabilityCriteria.Builder.class); + com.google.monitoring.v3.BasicSli.AvailabilityCriteria.class, com.google.monitoring.v3.BasicSli.AvailabilityCriteria.Builder.class); } // Construct using com.google.monitoring.v3.BasicSli.AvailabilityCriteria.newBuilder() @@ -464,15 +415,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -480,9 +432,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.ServiceMonitoringProto - .internal_static_google_monitoring_v3_BasicSli_AvailabilityCriteria_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_BasicSli_AvailabilityCriteria_descriptor; } @java.lang.Override @@ -501,8 +453,7 @@ public com.google.monitoring.v3.BasicSli.AvailabilityCriteria build() { @java.lang.Override public com.google.monitoring.v3.BasicSli.AvailabilityCriteria buildPartial() { - com.google.monitoring.v3.BasicSli.AvailabilityCriteria result = - new com.google.monitoring.v3.BasicSli.AvailabilityCriteria(this); + com.google.monitoring.v3.BasicSli.AvailabilityCriteria result = new com.google.monitoring.v3.BasicSli.AvailabilityCriteria(this); onBuilt(); return result; } @@ -511,41 +462,38 @@ public com.google.monitoring.v3.BasicSli.AvailabilityCriteria 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.monitoring.v3.BasicSli.AvailabilityCriteria) { - return mergeFrom((com.google.monitoring.v3.BasicSli.AvailabilityCriteria) other); + return mergeFrom((com.google.monitoring.v3.BasicSli.AvailabilityCriteria)other); } else { super.mergeFrom(other); return this; @@ -553,8 +501,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.BasicSli.AvailabilityCriteria other) { - if (other == com.google.monitoring.v3.BasicSli.AvailabilityCriteria.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.BasicSli.AvailabilityCriteria.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -574,8 +521,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.BasicSli.AvailabilityCriteria) e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.BasicSli.AvailabilityCriteria) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -584,7 +530,6 @@ public Builder mergeFrom( } return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -597,12 +542,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.BasicSli.AvailabilityCriteria) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.BasicSli.AvailabilityCriteria) private static final com.google.monitoring.v3.BasicSli.AvailabilityCriteria DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.BasicSli.AvailabilityCriteria(); } @@ -611,16 +556,16 @@ public static com.google.monitoring.v3.BasicSli.AvailabilityCriteria getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AvailabilityCriteria parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AvailabilityCriteria(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AvailabilityCriteria parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AvailabilityCriteria(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -635,42 +580,34 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.BasicSli.AvailabilityCriteria getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface LatencyCriteriaOrBuilder - extends + public interface LatencyCriteriaOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.BasicSli.LatencyCriteria) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Good service is defined to be the count of requests made to this service
      * that return in no more than `threshold`.
      * 
* * .google.protobuf.Duration threshold = 3; - * * @return Whether the threshold field is set. */ boolean hasThreshold(); /** - * - * *
      * Good service is defined to be the count of requests made to this service
      * that return in no more than `threshold`.
      * 
* * .google.protobuf.Duration threshold = 3; - * * @return The threshold. */ com.google.protobuf.Duration getThreshold(); /** - * - * *
      * Good service is defined to be the count of requests made to this service
      * that return in no more than `threshold`.
@@ -681,37 +618,36 @@ public interface LatencyCriteriaOrBuilder
     com.google.protobuf.DurationOrBuilder getThresholdOrBuilder();
   }
   /**
-   *
-   *
    * 
    * Parameters for a latency threshold SLI.
    * 
* * Protobuf type {@code google.monitoring.v3.BasicSli.LatencyCriteria} */ - public static final class LatencyCriteria extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class LatencyCriteria extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.BasicSli.LatencyCriteria) LatencyCriteriaOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LatencyCriteria.newBuilder() to construct. private LatencyCriteria(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private LatencyCriteria() {} + private LatencyCriteria() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LatencyCriteria(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private LatencyCriteria( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -730,67 +666,60 @@ private LatencyCriteria( case 0: done = true; break; - case 26: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (threshold_ != null) { - subBuilder = threshold_.toBuilder(); - } - threshold_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(threshold_); - threshold_ = subBuilder.buildPartial(); - } - - break; + case 26: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (threshold_ != null) { + subBuilder = threshold_.toBuilder(); + } + threshold_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(threshold_); + threshold_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringProto - .internal_static_google_monitoring_v3_BasicSli_LatencyCriteria_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_BasicSli_LatencyCriteria_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringProto - .internal_static_google_monitoring_v3_BasicSli_LatencyCriteria_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_BasicSli_LatencyCriteria_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.BasicSli.LatencyCriteria.class, - com.google.monitoring.v3.BasicSli.LatencyCriteria.Builder.class); + com.google.monitoring.v3.BasicSli.LatencyCriteria.class, com.google.monitoring.v3.BasicSli.LatencyCriteria.Builder.class); } public static final int THRESHOLD_FIELD_NUMBER = 3; private com.google.protobuf.Duration threshold_; /** - * - * *
      * Good service is defined to be the count of requests made to this service
      * that return in no more than `threshold`.
      * 
* * .google.protobuf.Duration threshold = 3; - * * @return Whether the threshold field is set. */ @java.lang.Override @@ -798,15 +727,12 @@ public boolean hasThreshold() { return threshold_ != null; } /** - * - * *
      * Good service is defined to be the count of requests made to this service
      * that return in no more than `threshold`.
      * 
* * .google.protobuf.Duration threshold = 3; - * * @return The threshold. */ @java.lang.Override @@ -814,8 +740,6 @@ public com.google.protobuf.Duration getThreshold() { return threshold_ == null ? com.google.protobuf.Duration.getDefaultInstance() : threshold_; } /** - * - * *
      * Good service is defined to be the count of requests made to this service
      * that return in no more than `threshold`.
@@ -829,7 +753,6 @@ public com.google.protobuf.DurationOrBuilder getThresholdOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -841,7 +764,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 (threshold_ != null) {
         output.writeMessage(3, getThreshold());
       }
@@ -855,7 +779,8 @@ public int getSerializedSize() {
 
       size = 0;
       if (threshold_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getThreshold());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(3, getThreshold());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -865,17 +790,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.monitoring.v3.BasicSli.LatencyCriteria)) {
         return super.equals(obj);
       }
-      com.google.monitoring.v3.BasicSli.LatencyCriteria other =
-          (com.google.monitoring.v3.BasicSli.LatencyCriteria) obj;
+      com.google.monitoring.v3.BasicSli.LatencyCriteria other = (com.google.monitoring.v3.BasicSli.LatencyCriteria) obj;
 
       if (hasThreshold() != other.hasThreshold()) return false;
       if (hasThreshold()) {
-        if (!getThreshold().equals(other.getThreshold())) return false;
+        if (!getThreshold()
+            .equals(other.getThreshold())) return false;
       }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -898,93 +823,87 @@ public int hashCode() {
     }
 
     public static com.google.monitoring.v3.BasicSli.LatencyCriteria parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.monitoring.v3.BasicSli.LatencyCriteria parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.monitoring.v3.BasicSli.LatencyCriteria parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.monitoring.v3.BasicSli.LatencyCriteria parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.monitoring.v3.BasicSli.LatencyCriteria parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.monitoring.v3.BasicSli.LatencyCriteria parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.monitoring.v3.BasicSli.LatencyCriteria parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.monitoring.v3.BasicSli.LatencyCriteria parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.monitoring.v3.BasicSli.LatencyCriteria parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.monitoring.v3.BasicSli.LatencyCriteria parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.monitoring.v3.BasicSli.LatencyCriteria parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.monitoring.v3.BasicSli.LatencyCriteria parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.monitoring.v3.BasicSli.LatencyCriteria parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.monitoring.v3.BasicSli.LatencyCriteria parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
     public static Builder newBuilder(com.google.monitoring.v3.BasicSli.LatencyCriteria prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -994,32 +913,27 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Parameters for a latency threshold SLI.
      * 
* * Protobuf type {@code google.monitoring.v3.BasicSli.LatencyCriteria} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.BasicSli.LatencyCriteria) com.google.monitoring.v3.BasicSli.LatencyCriteriaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringProto - .internal_static_google_monitoring_v3_BasicSli_LatencyCriteria_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_BasicSli_LatencyCriteria_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringProto - .internal_static_google_monitoring_v3_BasicSli_LatencyCriteria_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_BasicSli_LatencyCriteria_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.BasicSli.LatencyCriteria.class, - com.google.monitoring.v3.BasicSli.LatencyCriteria.Builder.class); + com.google.monitoring.v3.BasicSli.LatencyCriteria.class, com.google.monitoring.v3.BasicSli.LatencyCriteria.Builder.class); } // Construct using com.google.monitoring.v3.BasicSli.LatencyCriteria.newBuilder() @@ -1027,15 +941,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1049,9 +964,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.ServiceMonitoringProto - .internal_static_google_monitoring_v3_BasicSli_LatencyCriteria_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_BasicSli_LatencyCriteria_descriptor; } @java.lang.Override @@ -1070,8 +985,7 @@ public com.google.monitoring.v3.BasicSli.LatencyCriteria build() { @java.lang.Override public com.google.monitoring.v3.BasicSli.LatencyCriteria buildPartial() { - com.google.monitoring.v3.BasicSli.LatencyCriteria result = - new com.google.monitoring.v3.BasicSli.LatencyCriteria(this); + com.google.monitoring.v3.BasicSli.LatencyCriteria result = new com.google.monitoring.v3.BasicSli.LatencyCriteria(this); if (thresholdBuilder_ == null) { result.threshold_ = threshold_; } else { @@ -1085,41 +999,38 @@ public com.google.monitoring.v3.BasicSli.LatencyCriteria 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.monitoring.v3.BasicSli.LatencyCriteria) { - return mergeFrom((com.google.monitoring.v3.BasicSli.LatencyCriteria) other); + return mergeFrom((com.google.monitoring.v3.BasicSli.LatencyCriteria)other); } else { super.mergeFrom(other); return this; @@ -1127,8 +1038,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.BasicSli.LatencyCriteria other) { - if (other == com.google.monitoring.v3.BasicSli.LatencyCriteria.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.BasicSli.LatencyCriteria.getDefaultInstance()) return this; if (other.hasThreshold()) { mergeThreshold(other.getThreshold()); } @@ -1151,8 +1061,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.BasicSli.LatencyCriteria) e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.BasicSli.LatencyCriteria) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1164,49 +1073,36 @@ public Builder mergeFrom( private com.google.protobuf.Duration threshold_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - thresholdBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> thresholdBuilder_; /** - * - * *
        * Good service is defined to be the count of requests made to this service
        * that return in no more than `threshold`.
        * 
* * .google.protobuf.Duration threshold = 3; - * * @return Whether the threshold field is set. */ public boolean hasThreshold() { return thresholdBuilder_ != null || threshold_ != null; } /** - * - * *
        * Good service is defined to be the count of requests made to this service
        * that return in no more than `threshold`.
        * 
* * .google.protobuf.Duration threshold = 3; - * * @return The threshold. */ public com.google.protobuf.Duration getThreshold() { if (thresholdBuilder_ == null) { - return threshold_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : threshold_; + return threshold_ == null ? com.google.protobuf.Duration.getDefaultInstance() : threshold_; } else { return thresholdBuilder_.getMessage(); } } /** - * - * *
        * Good service is defined to be the count of requests made to this service
        * that return in no more than `threshold`.
@@ -1228,8 +1124,6 @@ public Builder setThreshold(com.google.protobuf.Duration value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Good service is defined to be the count of requests made to this service
        * that return in no more than `threshold`.
@@ -1237,7 +1131,8 @@ public Builder setThreshold(com.google.protobuf.Duration value) {
        *
        * .google.protobuf.Duration threshold = 3;
        */
-      public Builder setThreshold(com.google.protobuf.Duration.Builder builderForValue) {
+      public Builder setThreshold(
+          com.google.protobuf.Duration.Builder builderForValue) {
         if (thresholdBuilder_ == null) {
           threshold_ = builderForValue.build();
           onChanged();
@@ -1248,8 +1143,6 @@ public Builder setThreshold(com.google.protobuf.Duration.Builder builderForValue
         return this;
       }
       /**
-       *
-       *
        * 
        * Good service is defined to be the count of requests made to this service
        * that return in no more than `threshold`.
@@ -1261,7 +1154,7 @@ public Builder mergeThreshold(com.google.protobuf.Duration value) {
         if (thresholdBuilder_ == null) {
           if (threshold_ != null) {
             threshold_ =
-                com.google.protobuf.Duration.newBuilder(threshold_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(threshold_).mergeFrom(value).buildPartial();
           } else {
             threshold_ = value;
           }
@@ -1273,8 +1166,6 @@ public Builder mergeThreshold(com.google.protobuf.Duration value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Good service is defined to be the count of requests made to this service
        * that return in no more than `threshold`.
@@ -1294,8 +1185,6 @@ public Builder clearThreshold() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Good service is defined to be the count of requests made to this service
        * that return in no more than `threshold`.
@@ -1304,13 +1193,11 @@ public Builder clearThreshold() {
        * .google.protobuf.Duration threshold = 3;
        */
       public com.google.protobuf.Duration.Builder getThresholdBuilder() {
-
+        
         onChanged();
         return getThresholdFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Good service is defined to be the count of requests made to this service
        * that return in no more than `threshold`.
@@ -1322,14 +1209,11 @@ public com.google.protobuf.DurationOrBuilder getThresholdOrBuilder() {
         if (thresholdBuilder_ != null) {
           return thresholdBuilder_.getMessageOrBuilder();
         } else {
-          return threshold_ == null
-              ? com.google.protobuf.Duration.getDefaultInstance()
-              : threshold_;
+          return threshold_ == null ?
+              com.google.protobuf.Duration.getDefaultInstance() : threshold_;
         }
       }
       /**
-       *
-       *
        * 
        * Good service is defined to be the count of requests made to this service
        * that return in no more than `threshold`.
@@ -1338,22 +1222,18 @@ public com.google.protobuf.DurationOrBuilder getThresholdOrBuilder() {
        * .google.protobuf.Duration threshold = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration,
-              com.google.protobuf.Duration.Builder,
-              com.google.protobuf.DurationOrBuilder>
+          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
           getThresholdFieldBuilder() {
         if (thresholdBuilder_ == null) {
-          thresholdBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Duration,
-                  com.google.protobuf.Duration.Builder,
-                  com.google.protobuf.DurationOrBuilder>(
-                  getThreshold(), getParentForChildren(), isClean());
+          thresholdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                  getThreshold(),
+                  getParentForChildren(),
+                  isClean());
           threshold_ = null;
         }
         return thresholdBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1366,12 +1246,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.monitoring.v3.BasicSli.LatencyCriteria)
     }
 
     // @@protoc_insertion_point(class_scope:google.monitoring.v3.BasicSli.LatencyCriteria)
     private static final com.google.monitoring.v3.BasicSli.LatencyCriteria DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.monitoring.v3.BasicSli.LatencyCriteria();
     }
@@ -1380,16 +1260,16 @@ public static com.google.monitoring.v3.BasicSli.LatencyCriteria getDefaultInstan
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public LatencyCriteria parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new LatencyCriteria(input, extensionRegistry);
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public LatencyCriteria parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new LatencyCriteria(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1404,20 +1284,18 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.monitoring.v3.BasicSli.LatencyCriteria getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   private int sliCriteriaCase_ = 0;
   private java.lang.Object sliCriteria_;
-
   public enum SliCriteriaCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     AVAILABILITY(2),
     LATENCY(3),
     SLICRITERIA_NOT_SET(0);
     private final int value;
-
     private SliCriteriaCase(int value) {
       this.value = value;
     }
@@ -1433,31 +1311,26 @@ public static SliCriteriaCase valueOf(int value) {
 
     public static SliCriteriaCase forNumber(int value) {
       switch (value) {
-        case 2:
-          return AVAILABILITY;
-        case 3:
-          return LATENCY;
-        case 0:
-          return SLICRITERIA_NOT_SET;
-        default:
-          return null;
+        case 2: return AVAILABILITY;
+        case 3: return LATENCY;
+        case 0: return SLICRITERIA_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SliCriteriaCase getSliCriteriaCase() {
-    return SliCriteriaCase.forNumber(sliCriteriaCase_);
+  public SliCriteriaCase
+  getSliCriteriaCase() {
+    return SliCriteriaCase.forNumber(
+        sliCriteriaCase_);
   }
 
   public static final int METHOD_FIELD_NUMBER = 7;
   private com.google.protobuf.LazyStringList method_;
   /**
-   *
-   *
    * 
    * OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from
    * other methods will not be used to calculate performance for this SLI. If
@@ -1467,15 +1340,13 @@ public SliCriteriaCase getSliCriteriaCase() {
    * 
* * repeated string method = 7; - * * @return A list containing the method. */ - public com.google.protobuf.ProtocolStringList getMethodList() { + public com.google.protobuf.ProtocolStringList + getMethodList() { return method_; } /** - * - * *
    * OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from
    * other methods will not be used to calculate performance for this SLI. If
@@ -1485,15 +1356,12 @@ public com.google.protobuf.ProtocolStringList getMethodList() {
    * 
* * repeated string method = 7; - * * @return The count of method. */ public int getMethodCount() { return method_.size(); } /** - * - * *
    * OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from
    * other methods will not be used to calculate performance for this SLI. If
@@ -1503,7 +1371,6 @@ public int getMethodCount() {
    * 
* * repeated string method = 7; - * * @param index The index of the element to return. * @return The method at the given index. */ @@ -1511,8 +1378,6 @@ public java.lang.String getMethod(int index) { return method_.get(index); } /** - * - * *
    * OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from
    * other methods will not be used to calculate performance for this SLI. If
@@ -1522,19 +1387,17 @@ public java.lang.String getMethod(int index) {
    * 
* * repeated string method = 7; - * * @param index The index of the value to return. * @return The bytes of the method at the given index. */ - public com.google.protobuf.ByteString getMethodBytes(int index) { + public com.google.protobuf.ByteString + getMethodBytes(int index) { return method_.getByteString(index); } public static final int LOCATION_FIELD_NUMBER = 8; private com.google.protobuf.LazyStringList location_; /** - * - * *
    * OPTIONAL: The set of locations to which this SLI is relevant. Telemetry
    * from other locations will not be used to calculate performance for this
@@ -1544,15 +1407,13 @@ public com.google.protobuf.ByteString getMethodBytes(int index) {
    * 
* * repeated string location = 8; - * * @return A list containing the location. */ - public com.google.protobuf.ProtocolStringList getLocationList() { + public com.google.protobuf.ProtocolStringList + getLocationList() { return location_; } /** - * - * *
    * OPTIONAL: The set of locations to which this SLI is relevant. Telemetry
    * from other locations will not be used to calculate performance for this
@@ -1562,15 +1423,12 @@ public com.google.protobuf.ProtocolStringList getLocationList() {
    * 
* * repeated string location = 8; - * * @return The count of location. */ public int getLocationCount() { return location_.size(); } /** - * - * *
    * OPTIONAL: The set of locations to which this SLI is relevant. Telemetry
    * from other locations will not be used to calculate performance for this
@@ -1580,7 +1438,6 @@ public int getLocationCount() {
    * 
* * repeated string location = 8; - * * @param index The index of the element to return. * @return The location at the given index. */ @@ -1588,8 +1445,6 @@ public java.lang.String getLocation(int index) { return location_.get(index); } /** - * - * *
    * OPTIONAL: The set of locations to which this SLI is relevant. Telemetry
    * from other locations will not be used to calculate performance for this
@@ -1599,19 +1454,17 @@ public java.lang.String getLocation(int index) {
    * 
* * repeated string location = 8; - * * @param index The index of the value to return. * @return The bytes of the location at the given index. */ - public com.google.protobuf.ByteString getLocationBytes(int index) { + public com.google.protobuf.ByteString + getLocationBytes(int index) { return location_.getByteString(index); } public static final int VERSION_FIELD_NUMBER = 9; private com.google.protobuf.LazyStringList version_; /** - * - * *
    * OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry
    * from other API versions will not be used to calculate performance for this
@@ -1621,15 +1474,13 @@ public com.google.protobuf.ByteString getLocationBytes(int index) {
    * 
* * repeated string version = 9; - * * @return A list containing the version. */ - public com.google.protobuf.ProtocolStringList getVersionList() { + public com.google.protobuf.ProtocolStringList + getVersionList() { return version_; } /** - * - * *
    * OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry
    * from other API versions will not be used to calculate performance for this
@@ -1639,15 +1490,12 @@ public com.google.protobuf.ProtocolStringList getVersionList() {
    * 
* * repeated string version = 9; - * * @return The count of version. */ public int getVersionCount() { return version_.size(); } /** - * - * *
    * OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry
    * from other API versions will not be used to calculate performance for this
@@ -1657,7 +1505,6 @@ public int getVersionCount() {
    * 
* * repeated string version = 9; - * * @param index The index of the element to return. * @return The version at the given index. */ @@ -1665,8 +1512,6 @@ public java.lang.String getVersion(int index) { return version_.get(index); } /** - * - * *
    * OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry
    * from other API versions will not be used to calculate performance for this
@@ -1676,25 +1521,22 @@ public java.lang.String getVersion(int index) {
    * 
* * repeated string version = 9; - * * @param index The index of the value to return. * @return The bytes of the version at the given index. */ - public com.google.protobuf.ByteString getVersionBytes(int index) { + public com.google.protobuf.ByteString + getVersionBytes(int index) { return version_.getByteString(index); } public static final int AVAILABILITY_FIELD_NUMBER = 2; /** - * - * *
    * Good service is defined to be the count of requests made to this service
    * that return successfully.
    * 
* * .google.monitoring.v3.BasicSli.AvailabilityCriteria availability = 2; - * * @return Whether the availability field is set. */ @java.lang.Override @@ -1702,27 +1544,22 @@ public boolean hasAvailability() { return sliCriteriaCase_ == 2; } /** - * - * *
    * Good service is defined to be the count of requests made to this service
    * that return successfully.
    * 
* * .google.monitoring.v3.BasicSli.AvailabilityCriteria availability = 2; - * * @return The availability. */ @java.lang.Override public com.google.monitoring.v3.BasicSli.AvailabilityCriteria getAvailability() { if (sliCriteriaCase_ == 2) { - return (com.google.monitoring.v3.BasicSli.AvailabilityCriteria) sliCriteria_; + return (com.google.monitoring.v3.BasicSli.AvailabilityCriteria) sliCriteria_; } return com.google.monitoring.v3.BasicSli.AvailabilityCriteria.getDefaultInstance(); } /** - * - * *
    * Good service is defined to be the count of requests made to this service
    * that return successfully.
@@ -1731,25 +1568,21 @@ public com.google.monitoring.v3.BasicSli.AvailabilityCriteria getAvailability()
    * .google.monitoring.v3.BasicSli.AvailabilityCriteria availability = 2;
    */
   @java.lang.Override
-  public com.google.monitoring.v3.BasicSli.AvailabilityCriteriaOrBuilder
-      getAvailabilityOrBuilder() {
+  public com.google.monitoring.v3.BasicSli.AvailabilityCriteriaOrBuilder getAvailabilityOrBuilder() {
     if (sliCriteriaCase_ == 2) {
-      return (com.google.monitoring.v3.BasicSli.AvailabilityCriteria) sliCriteria_;
+       return (com.google.monitoring.v3.BasicSli.AvailabilityCriteria) sliCriteria_;
     }
     return com.google.monitoring.v3.BasicSli.AvailabilityCriteria.getDefaultInstance();
   }
 
   public static final int LATENCY_FIELD_NUMBER = 3;
   /**
-   *
-   *
    * 
    * Good service is defined to be the count of requests made to this service
    * that are fast enough with respect to `latency.threshold`.
    * 
* * .google.monitoring.v3.BasicSli.LatencyCriteria latency = 3; - * * @return Whether the latency field is set. */ @java.lang.Override @@ -1757,27 +1590,22 @@ public boolean hasLatency() { return sliCriteriaCase_ == 3; } /** - * - * *
    * Good service is defined to be the count of requests made to this service
    * that are fast enough with respect to `latency.threshold`.
    * 
* * .google.monitoring.v3.BasicSli.LatencyCriteria latency = 3; - * * @return The latency. */ @java.lang.Override public com.google.monitoring.v3.BasicSli.LatencyCriteria getLatency() { if (sliCriteriaCase_ == 3) { - return (com.google.monitoring.v3.BasicSli.LatencyCriteria) sliCriteria_; + return (com.google.monitoring.v3.BasicSli.LatencyCriteria) sliCriteria_; } return com.google.monitoring.v3.BasicSli.LatencyCriteria.getDefaultInstance(); } /** - * - * *
    * Good service is defined to be the count of requests made to this service
    * that are fast enough with respect to `latency.threshold`.
@@ -1788,13 +1616,12 @@ public com.google.monitoring.v3.BasicSli.LatencyCriteria getLatency() {
   @java.lang.Override
   public com.google.monitoring.v3.BasicSli.LatencyCriteriaOrBuilder getLatencyOrBuilder() {
     if (sliCriteriaCase_ == 3) {
-      return (com.google.monitoring.v3.BasicSli.LatencyCriteria) sliCriteria_;
+       return (com.google.monitoring.v3.BasicSli.LatencyCriteria) sliCriteria_;
     }
     return com.google.monitoring.v3.BasicSli.LatencyCriteria.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1806,7 +1633,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 (sliCriteriaCase_ == 2) {
       output.writeMessage(2, (com.google.monitoring.v3.BasicSli.AvailabilityCriteria) sliCriteria_);
     }
@@ -1832,14 +1660,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (sliCriteriaCase_ == 2) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, (com.google.monitoring.v3.BasicSli.AvailabilityCriteria) sliCriteria_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, (com.google.monitoring.v3.BasicSli.AvailabilityCriteria) sliCriteria_);
     }
     if (sliCriteriaCase_ == 3) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              3, (com.google.monitoring.v3.BasicSli.LatencyCriteria) sliCriteria_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, (com.google.monitoring.v3.BasicSli.LatencyCriteria) sliCriteria_);
     }
     {
       int dataSize = 0;
@@ -1873,23 +1699,28 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.monitoring.v3.BasicSli)) {
       return super.equals(obj);
     }
     com.google.monitoring.v3.BasicSli other = (com.google.monitoring.v3.BasicSli) obj;
 
-    if (!getMethodList().equals(other.getMethodList())) return false;
-    if (!getLocationList().equals(other.getLocationList())) return false;
-    if (!getVersionList().equals(other.getVersionList())) return false;
+    if (!getMethodList()
+        .equals(other.getMethodList())) return false;
+    if (!getLocationList()
+        .equals(other.getLocationList())) return false;
+    if (!getVersionList()
+        .equals(other.getVersionList())) return false;
     if (!getSliCriteriaCase().equals(other.getSliCriteriaCase())) return false;
     switch (sliCriteriaCase_) {
       case 2:
-        if (!getAvailability().equals(other.getAvailability())) return false;
+        if (!getAvailability()
+            .equals(other.getAvailability())) return false;
         break;
       case 3:
-        if (!getLatency().equals(other.getLatency())) return false;
+        if (!getLatency()
+            .equals(other.getLatency())) return false;
         break;
       case 0:
       default:
@@ -1934,103 +1765,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.monitoring.v3.BasicSli parseFrom(java.nio.ByteBuffer data)
+  public static com.google.monitoring.v3.BasicSli parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.monitoring.v3.BasicSli parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.monitoring.v3.BasicSli parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.monitoring.v3.BasicSli parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.monitoring.v3.BasicSli parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.monitoring.v3.BasicSli parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.monitoring.v3.BasicSli parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.monitoring.v3.BasicSli 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.monitoring.v3.BasicSli parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.monitoring.v3.BasicSli parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.monitoring.v3.BasicSli parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.monitoring.v3.BasicSli parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.monitoring.v3.BasicSli parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.monitoring.v3.BasicSli prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * An SLI measuring performance on a well-known service type. Performance will
    * be computed on the basis of pre-defined metrics. The type of the
@@ -2042,23 +1867,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.monitoring.v3.BasicSli}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.BasicSli)
       com.google.monitoring.v3.BasicSliOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.monitoring.v3.ServiceMonitoringProto
-          .internal_static_google_monitoring_v3_BasicSli_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_BasicSli_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.ServiceMonitoringProto
-          .internal_static_google_monitoring_v3_BasicSli_fieldAccessorTable
+      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_BasicSli_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.BasicSli.class,
-              com.google.monitoring.v3.BasicSli.Builder.class);
+              com.google.monitoring.v3.BasicSli.class, com.google.monitoring.v3.BasicSli.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.BasicSli.newBuilder()
@@ -2066,15 +1889,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2090,9 +1914,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.monitoring.v3.ServiceMonitoringProto
-          .internal_static_google_monitoring_v3_BasicSli_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_BasicSli_descriptor;
     }
 
     @java.lang.Override
@@ -2151,39 +1975,38 @@ public com.google.monitoring.v3.BasicSli 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.monitoring.v3.BasicSli) {
-        return mergeFrom((com.google.monitoring.v3.BasicSli) other);
+        return mergeFrom((com.google.monitoring.v3.BasicSli)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2223,20 +2046,17 @@ public Builder mergeFrom(com.google.monitoring.v3.BasicSli other) {
         onChanged();
       }
       switch (other.getSliCriteriaCase()) {
-        case AVAILABILITY:
-          {
-            mergeAvailability(other.getAvailability());
-            break;
-          }
-        case LATENCY:
-          {
-            mergeLatency(other.getLatency());
-            break;
-          }
-        case SLICRITERIA_NOT_SET:
-          {
-            break;
-          }
+        case AVAILABILITY: {
+          mergeAvailability(other.getAvailability());
+          break;
+        }
+        case LATENCY: {
+          mergeLatency(other.getLatency());
+          break;
+        }
+        case SLICRITERIA_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -2266,12 +2086,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int sliCriteriaCase_ = 0;
     private java.lang.Object sliCriteria_;
-
-    public SliCriteriaCase getSliCriteriaCase() {
-      return SliCriteriaCase.forNumber(sliCriteriaCase_);
+    public SliCriteriaCase
+        getSliCriteriaCase() {
+      return SliCriteriaCase.forNumber(
+          sliCriteriaCase_);
     }
 
     public Builder clearSliCriteria() {
@@ -2283,18 +2103,14 @@ public Builder clearSliCriteria() {
 
     private int bitField0_;
 
-    private com.google.protobuf.LazyStringList method_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
-
+    private com.google.protobuf.LazyStringList method_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     private void ensureMethodIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         method_ = new com.google.protobuf.LazyStringArrayList(method_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from
      * other methods will not be used to calculate performance for this SLI. If
@@ -2304,15 +2120,13 @@ private void ensureMethodIsMutable() {
      * 
* * repeated string method = 7; - * * @return A list containing the method. */ - public com.google.protobuf.ProtocolStringList getMethodList() { + public com.google.protobuf.ProtocolStringList + getMethodList() { return method_.getUnmodifiableView(); } /** - * - * *
      * OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from
      * other methods will not be used to calculate performance for this SLI. If
@@ -2322,15 +2136,12 @@ public com.google.protobuf.ProtocolStringList getMethodList() {
      * 
* * repeated string method = 7; - * * @return The count of method. */ public int getMethodCount() { return method_.size(); } /** - * - * *
      * OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from
      * other methods will not be used to calculate performance for this SLI. If
@@ -2340,7 +2151,6 @@ public int getMethodCount() {
      * 
* * repeated string method = 7; - * * @param index The index of the element to return. * @return The method at the given index. */ @@ -2348,8 +2158,6 @@ public java.lang.String getMethod(int index) { return method_.get(index); } /** - * - * *
      * OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from
      * other methods will not be used to calculate performance for this SLI. If
@@ -2359,16 +2167,14 @@ public java.lang.String getMethod(int index) {
      * 
* * repeated string method = 7; - * * @param index The index of the value to return. * @return The bytes of the method at the given index. */ - public com.google.protobuf.ByteString getMethodBytes(int index) { + public com.google.protobuf.ByteString + getMethodBytes(int index) { return method_.getByteString(index); } /** - * - * *
      * OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from
      * other methods will not be used to calculate performance for this SLI. If
@@ -2378,23 +2184,21 @@ public com.google.protobuf.ByteString getMethodBytes(int index) {
      * 
* * repeated string method = 7; - * * @param index The index to set the value at. * @param value The method to set. * @return This builder for chaining. */ - public Builder setMethod(int index, java.lang.String value) { + public Builder setMethod( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMethodIsMutable(); + throw new NullPointerException(); + } + ensureMethodIsMutable(); method_.set(index, value); onChanged(); return this; } /** - * - * *
      * OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from
      * other methods will not be used to calculate performance for this SLI. If
@@ -2404,22 +2208,20 @@ public Builder setMethod(int index, java.lang.String value) {
      * 
* * repeated string method = 7; - * * @param value The method to add. * @return This builder for chaining. */ - public Builder addMethod(java.lang.String value) { + public Builder addMethod( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMethodIsMutable(); + throw new NullPointerException(); + } + ensureMethodIsMutable(); method_.add(value); onChanged(); return this; } /** - * - * *
      * OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from
      * other methods will not be used to calculate performance for this SLI. If
@@ -2429,19 +2231,18 @@ public Builder addMethod(java.lang.String value) {
      * 
* * repeated string method = 7; - * * @param values The method to add. * @return This builder for chaining. */ - public Builder addAllMethod(java.lang.Iterable values) { + public Builder addAllMethod( + java.lang.Iterable values) { ensureMethodIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, method_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, method_); onChanged(); return this; } /** - * - * *
      * OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from
      * other methods will not be used to calculate performance for this SLI. If
@@ -2451,7 +2252,6 @@ public Builder addAllMethod(java.lang.Iterable values) {
      * 
* * repeated string method = 7; - * * @return This builder for chaining. */ public Builder clearMethod() { @@ -2461,8 +2261,6 @@ public Builder clearMethod() { return this; } /** - * - * *
      * OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from
      * other methods will not be used to calculate performance for this SLI. If
@@ -2472,33 +2270,29 @@ public Builder clearMethod() {
      * 
* * repeated string method = 7; - * * @param value The bytes of the method to add. * @return This builder for chaining. */ - public Builder addMethodBytes(com.google.protobuf.ByteString value) { + public Builder addMethodBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureMethodIsMutable(); method_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList location_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList location_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureLocationIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { location_ = new com.google.protobuf.LazyStringArrayList(location_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * OPTIONAL: The set of locations to which this SLI is relevant. Telemetry
      * from other locations will not be used to calculate performance for this
@@ -2508,15 +2302,13 @@ private void ensureLocationIsMutable() {
      * 
* * repeated string location = 8; - * * @return A list containing the location. */ - public com.google.protobuf.ProtocolStringList getLocationList() { + public com.google.protobuf.ProtocolStringList + getLocationList() { return location_.getUnmodifiableView(); } /** - * - * *
      * OPTIONAL: The set of locations to which this SLI is relevant. Telemetry
      * from other locations will not be used to calculate performance for this
@@ -2526,15 +2318,12 @@ public com.google.protobuf.ProtocolStringList getLocationList() {
      * 
* * repeated string location = 8; - * * @return The count of location. */ public int getLocationCount() { return location_.size(); } /** - * - * *
      * OPTIONAL: The set of locations to which this SLI is relevant. Telemetry
      * from other locations will not be used to calculate performance for this
@@ -2544,7 +2333,6 @@ public int getLocationCount() {
      * 
* * repeated string location = 8; - * * @param index The index of the element to return. * @return The location at the given index. */ @@ -2552,8 +2340,6 @@ public java.lang.String getLocation(int index) { return location_.get(index); } /** - * - * *
      * OPTIONAL: The set of locations to which this SLI is relevant. Telemetry
      * from other locations will not be used to calculate performance for this
@@ -2563,16 +2349,14 @@ public java.lang.String getLocation(int index) {
      * 
* * repeated string location = 8; - * * @param index The index of the value to return. * @return The bytes of the location at the given index. */ - public com.google.protobuf.ByteString getLocationBytes(int index) { + public com.google.protobuf.ByteString + getLocationBytes(int index) { return location_.getByteString(index); } /** - * - * *
      * OPTIONAL: The set of locations to which this SLI is relevant. Telemetry
      * from other locations will not be used to calculate performance for this
@@ -2582,23 +2366,21 @@ public com.google.protobuf.ByteString getLocationBytes(int index) {
      * 
* * repeated string location = 8; - * * @param index The index to set the value at. * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation(int index, java.lang.String value) { + public Builder setLocation( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLocationIsMutable(); + throw new NullPointerException(); + } + ensureLocationIsMutable(); location_.set(index, value); onChanged(); return this; } /** - * - * *
      * OPTIONAL: The set of locations to which this SLI is relevant. Telemetry
      * from other locations will not be used to calculate performance for this
@@ -2608,22 +2390,20 @@ public Builder setLocation(int index, java.lang.String value) {
      * 
* * repeated string location = 8; - * * @param value The location to add. * @return This builder for chaining. */ - public Builder addLocation(java.lang.String value) { + public Builder addLocation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLocationIsMutable(); + throw new NullPointerException(); + } + ensureLocationIsMutable(); location_.add(value); onChanged(); return this; } /** - * - * *
      * OPTIONAL: The set of locations to which this SLI is relevant. Telemetry
      * from other locations will not be used to calculate performance for this
@@ -2633,19 +2413,18 @@ public Builder addLocation(java.lang.String value) {
      * 
* * repeated string location = 8; - * * @param values The location to add. * @return This builder for chaining. */ - public Builder addAllLocation(java.lang.Iterable values) { + public Builder addAllLocation( + java.lang.Iterable values) { ensureLocationIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, location_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, location_); onChanged(); return this; } /** - * - * *
      * OPTIONAL: The set of locations to which this SLI is relevant. Telemetry
      * from other locations will not be used to calculate performance for this
@@ -2655,7 +2434,6 @@ public Builder addAllLocation(java.lang.Iterable values) {
      * 
* * repeated string location = 8; - * * @return This builder for chaining. */ public Builder clearLocation() { @@ -2665,8 +2443,6 @@ public Builder clearLocation() { return this; } /** - * - * *
      * OPTIONAL: The set of locations to which this SLI is relevant. Telemetry
      * from other locations will not be used to calculate performance for this
@@ -2676,33 +2452,29 @@ public Builder clearLocation() {
      * 
* * repeated string location = 8; - * * @param value The bytes of the location to add. * @return This builder for chaining. */ - public Builder addLocationBytes(com.google.protobuf.ByteString value) { + public Builder addLocationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLocationIsMutable(); location_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList version_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList version_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureVersionIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { version_ = new com.google.protobuf.LazyStringArrayList(version_); bitField0_ |= 0x00000004; - } + } } /** - * - * *
      * OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry
      * from other API versions will not be used to calculate performance for this
@@ -2712,15 +2484,13 @@ private void ensureVersionIsMutable() {
      * 
* * repeated string version = 9; - * * @return A list containing the version. */ - public com.google.protobuf.ProtocolStringList getVersionList() { + public com.google.protobuf.ProtocolStringList + getVersionList() { return version_.getUnmodifiableView(); } /** - * - * *
      * OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry
      * from other API versions will not be used to calculate performance for this
@@ -2730,15 +2500,12 @@ public com.google.protobuf.ProtocolStringList getVersionList() {
      * 
* * repeated string version = 9; - * * @return The count of version. */ public int getVersionCount() { return version_.size(); } /** - * - * *
      * OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry
      * from other API versions will not be used to calculate performance for this
@@ -2748,7 +2515,6 @@ public int getVersionCount() {
      * 
* * repeated string version = 9; - * * @param index The index of the element to return. * @return The version at the given index. */ @@ -2756,8 +2522,6 @@ public java.lang.String getVersion(int index) { return version_.get(index); } /** - * - * *
      * OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry
      * from other API versions will not be used to calculate performance for this
@@ -2767,16 +2531,14 @@ public java.lang.String getVersion(int index) {
      * 
* * repeated string version = 9; - * * @param index The index of the value to return. * @return The bytes of the version at the given index. */ - public com.google.protobuf.ByteString getVersionBytes(int index) { + public com.google.protobuf.ByteString + getVersionBytes(int index) { return version_.getByteString(index); } /** - * - * *
      * OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry
      * from other API versions will not be used to calculate performance for this
@@ -2786,23 +2548,21 @@ public com.google.protobuf.ByteString getVersionBytes(int index) {
      * 
* * repeated string version = 9; - * * @param index The index to set the value at. * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(int index, java.lang.String value) { + public Builder setVersion( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureVersionIsMutable(); + throw new NullPointerException(); + } + ensureVersionIsMutable(); version_.set(index, value); onChanged(); return this; } /** - * - * *
      * OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry
      * from other API versions will not be used to calculate performance for this
@@ -2812,22 +2572,20 @@ public Builder setVersion(int index, java.lang.String value) {
      * 
* * repeated string version = 9; - * * @param value The version to add. * @return This builder for chaining. */ - public Builder addVersion(java.lang.String value) { + public Builder addVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureVersionIsMutable(); + throw new NullPointerException(); + } + ensureVersionIsMutable(); version_.add(value); onChanged(); return this; } /** - * - * *
      * OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry
      * from other API versions will not be used to calculate performance for this
@@ -2837,19 +2595,18 @@ public Builder addVersion(java.lang.String value) {
      * 
* * repeated string version = 9; - * * @param values The version to add. * @return This builder for chaining. */ - public Builder addAllVersion(java.lang.Iterable values) { + public Builder addAllVersion( + java.lang.Iterable values) { ensureVersionIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, version_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, version_); onChanged(); return this; } /** - * - * *
      * OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry
      * from other API versions will not be used to calculate performance for this
@@ -2859,7 +2616,6 @@ public Builder addAllVersion(java.lang.Iterable values) {
      * 
* * repeated string version = 9; - * * @return This builder for chaining. */ public Builder clearVersion() { @@ -2869,8 +2625,6 @@ public Builder clearVersion() { return this; } /** - * - * *
      * OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry
      * from other API versions will not be used to calculate performance for this
@@ -2880,15 +2634,15 @@ public Builder clearVersion() {
      * 
* * repeated string version = 9; - * * @param value The bytes of the version to add. * @return This builder for chaining. */ - public Builder addVersionBytes(com.google.protobuf.ByteString value) { + public Builder addVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureVersionIsMutable(); version_.add(value); onChanged(); @@ -2896,20 +2650,14 @@ public Builder addVersionBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.BasicSli.AvailabilityCriteria, - com.google.monitoring.v3.BasicSli.AvailabilityCriteria.Builder, - com.google.monitoring.v3.BasicSli.AvailabilityCriteriaOrBuilder> - availabilityBuilder_; + com.google.monitoring.v3.BasicSli.AvailabilityCriteria, com.google.monitoring.v3.BasicSli.AvailabilityCriteria.Builder, com.google.monitoring.v3.BasicSli.AvailabilityCriteriaOrBuilder> availabilityBuilder_; /** - * - * *
      * Good service is defined to be the count of requests made to this service
      * that return successfully.
      * 
* * .google.monitoring.v3.BasicSli.AvailabilityCriteria availability = 2; - * * @return Whether the availability field is set. */ @java.lang.Override @@ -2917,15 +2665,12 @@ public boolean hasAvailability() { return sliCriteriaCase_ == 2; } /** - * - * *
      * Good service is defined to be the count of requests made to this service
      * that return successfully.
      * 
* * .google.monitoring.v3.BasicSli.AvailabilityCriteria availability = 2; - * * @return The availability. */ @java.lang.Override @@ -2943,8 +2688,6 @@ public com.google.monitoring.v3.BasicSli.AvailabilityCriteria getAvailability() } } /** - * - * *
      * Good service is defined to be the count of requests made to this service
      * that return successfully.
@@ -2966,8 +2709,6 @@ public Builder setAvailability(com.google.monitoring.v3.BasicSli.AvailabilityCri
       return this;
     }
     /**
-     *
-     *
      * 
      * Good service is defined to be the count of requests made to this service
      * that return successfully.
@@ -2987,8 +2728,6 @@ public Builder setAvailability(
       return this;
     }
     /**
-     *
-     *
      * 
      * Good service is defined to be the count of requests made to this service
      * that return successfully.
@@ -2998,14 +2737,10 @@ public Builder setAvailability(
      */
     public Builder mergeAvailability(com.google.monitoring.v3.BasicSli.AvailabilityCriteria value) {
       if (availabilityBuilder_ == null) {
-        if (sliCriteriaCase_ == 2
-            && sliCriteria_
-                != com.google.monitoring.v3.BasicSli.AvailabilityCriteria.getDefaultInstance()) {
-          sliCriteria_ =
-              com.google.monitoring.v3.BasicSli.AvailabilityCriteria.newBuilder(
-                      (com.google.monitoring.v3.BasicSli.AvailabilityCriteria) sliCriteria_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (sliCriteriaCase_ == 2 &&
+            sliCriteria_ != com.google.monitoring.v3.BasicSli.AvailabilityCriteria.getDefaultInstance()) {
+          sliCriteria_ = com.google.monitoring.v3.BasicSli.AvailabilityCriteria.newBuilder((com.google.monitoring.v3.BasicSli.AvailabilityCriteria) sliCriteria_)
+              .mergeFrom(value).buildPartial();
         } else {
           sliCriteria_ = value;
         }
@@ -3020,8 +2755,6 @@ public Builder mergeAvailability(com.google.monitoring.v3.BasicSli.AvailabilityC
       return this;
     }
     /**
-     *
-     *
      * 
      * Good service is defined to be the count of requests made to this service
      * that return successfully.
@@ -3046,8 +2779,6 @@ public Builder clearAvailability() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Good service is defined to be the count of requests made to this service
      * that return successfully.
@@ -3059,8 +2790,6 @@ public com.google.monitoring.v3.BasicSli.AvailabilityCriteria.Builder getAvailab
       return getAvailabilityFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Good service is defined to be the count of requests made to this service
      * that return successfully.
@@ -3069,8 +2798,7 @@ public com.google.monitoring.v3.BasicSli.AvailabilityCriteria.Builder getAvailab
      * .google.monitoring.v3.BasicSli.AvailabilityCriteria availability = 2;
      */
     @java.lang.Override
-    public com.google.monitoring.v3.BasicSli.AvailabilityCriteriaOrBuilder
-        getAvailabilityOrBuilder() {
+    public com.google.monitoring.v3.BasicSli.AvailabilityCriteriaOrBuilder getAvailabilityOrBuilder() {
       if ((sliCriteriaCase_ == 2) && (availabilityBuilder_ != null)) {
         return availabilityBuilder_.getMessageOrBuilder();
       } else {
@@ -3081,8 +2809,6 @@ public com.google.monitoring.v3.BasicSli.AvailabilityCriteria.Builder getAvailab
       }
     }
     /**
-     *
-     *
      * 
      * Good service is defined to be the count of requests made to this service
      * that return successfully.
@@ -3091,46 +2817,33 @@ public com.google.monitoring.v3.BasicSli.AvailabilityCriteria.Builder getAvailab
      * .google.monitoring.v3.BasicSli.AvailabilityCriteria availability = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.BasicSli.AvailabilityCriteria,
-            com.google.monitoring.v3.BasicSli.AvailabilityCriteria.Builder,
-            com.google.monitoring.v3.BasicSli.AvailabilityCriteriaOrBuilder>
+        com.google.monitoring.v3.BasicSli.AvailabilityCriteria, com.google.monitoring.v3.BasicSli.AvailabilityCriteria.Builder, com.google.monitoring.v3.BasicSli.AvailabilityCriteriaOrBuilder> 
         getAvailabilityFieldBuilder() {
       if (availabilityBuilder_ == null) {
         if (!(sliCriteriaCase_ == 2)) {
-          sliCriteria_ =
-              com.google.monitoring.v3.BasicSli.AvailabilityCriteria.getDefaultInstance();
+          sliCriteria_ = com.google.monitoring.v3.BasicSli.AvailabilityCriteria.getDefaultInstance();
         }
-        availabilityBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.monitoring.v3.BasicSli.AvailabilityCriteria,
-                com.google.monitoring.v3.BasicSli.AvailabilityCriteria.Builder,
-                com.google.monitoring.v3.BasicSli.AvailabilityCriteriaOrBuilder>(
+        availabilityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.monitoring.v3.BasicSli.AvailabilityCriteria, com.google.monitoring.v3.BasicSli.AvailabilityCriteria.Builder, com.google.monitoring.v3.BasicSli.AvailabilityCriteriaOrBuilder>(
                 (com.google.monitoring.v3.BasicSli.AvailabilityCriteria) sliCriteria_,
                 getParentForChildren(),
                 isClean());
         sliCriteria_ = null;
       }
       sliCriteriaCase_ = 2;
-      onChanged();
-      ;
+      onChanged();;
       return availabilityBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.BasicSli.LatencyCriteria,
-            com.google.monitoring.v3.BasicSli.LatencyCriteria.Builder,
-            com.google.monitoring.v3.BasicSli.LatencyCriteriaOrBuilder>
-        latencyBuilder_;
+        com.google.monitoring.v3.BasicSli.LatencyCriteria, com.google.monitoring.v3.BasicSli.LatencyCriteria.Builder, com.google.monitoring.v3.BasicSli.LatencyCriteriaOrBuilder> latencyBuilder_;
     /**
-     *
-     *
      * 
      * Good service is defined to be the count of requests made to this service
      * that are fast enough with respect to `latency.threshold`.
      * 
* * .google.monitoring.v3.BasicSli.LatencyCriteria latency = 3; - * * @return Whether the latency field is set. */ @java.lang.Override @@ -3138,15 +2851,12 @@ public boolean hasLatency() { return sliCriteriaCase_ == 3; } /** - * - * *
      * Good service is defined to be the count of requests made to this service
      * that are fast enough with respect to `latency.threshold`.
      * 
* * .google.monitoring.v3.BasicSli.LatencyCriteria latency = 3; - * * @return The latency. */ @java.lang.Override @@ -3164,8 +2874,6 @@ public com.google.monitoring.v3.BasicSli.LatencyCriteria getLatency() { } } /** - * - * *
      * Good service is defined to be the count of requests made to this service
      * that are fast enough with respect to `latency.threshold`.
@@ -3187,8 +2895,6 @@ public Builder setLatency(com.google.monitoring.v3.BasicSli.LatencyCriteria valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Good service is defined to be the count of requests made to this service
      * that are fast enough with respect to `latency.threshold`.
@@ -3208,8 +2914,6 @@ public Builder setLatency(
       return this;
     }
     /**
-     *
-     *
      * 
      * Good service is defined to be the count of requests made to this service
      * that are fast enough with respect to `latency.threshold`.
@@ -3219,14 +2923,10 @@ public Builder setLatency(
      */
     public Builder mergeLatency(com.google.monitoring.v3.BasicSli.LatencyCriteria value) {
       if (latencyBuilder_ == null) {
-        if (sliCriteriaCase_ == 3
-            && sliCriteria_
-                != com.google.monitoring.v3.BasicSli.LatencyCriteria.getDefaultInstance()) {
-          sliCriteria_ =
-              com.google.monitoring.v3.BasicSli.LatencyCriteria.newBuilder(
-                      (com.google.monitoring.v3.BasicSli.LatencyCriteria) sliCriteria_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (sliCriteriaCase_ == 3 &&
+            sliCriteria_ != com.google.monitoring.v3.BasicSli.LatencyCriteria.getDefaultInstance()) {
+          sliCriteria_ = com.google.monitoring.v3.BasicSli.LatencyCriteria.newBuilder((com.google.monitoring.v3.BasicSli.LatencyCriteria) sliCriteria_)
+              .mergeFrom(value).buildPartial();
         } else {
           sliCriteria_ = value;
         }
@@ -3241,8 +2941,6 @@ public Builder mergeLatency(com.google.monitoring.v3.BasicSli.LatencyCriteria va
       return this;
     }
     /**
-     *
-     *
      * 
      * Good service is defined to be the count of requests made to this service
      * that are fast enough with respect to `latency.threshold`.
@@ -3267,8 +2965,6 @@ public Builder clearLatency() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Good service is defined to be the count of requests made to this service
      * that are fast enough with respect to `latency.threshold`.
@@ -3280,8 +2976,6 @@ public com.google.monitoring.v3.BasicSli.LatencyCriteria.Builder getLatencyBuild
       return getLatencyFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Good service is defined to be the count of requests made to this service
      * that are fast enough with respect to `latency.threshold`.
@@ -3301,8 +2995,6 @@ public com.google.monitoring.v3.BasicSli.LatencyCriteriaOrBuilder getLatencyOrBu
       }
     }
     /**
-     *
-     *
      * 
      * Good service is defined to be the count of requests made to this service
      * that are fast enough with respect to `latency.threshold`.
@@ -3311,32 +3003,26 @@ public com.google.monitoring.v3.BasicSli.LatencyCriteriaOrBuilder getLatencyOrBu
      * .google.monitoring.v3.BasicSli.LatencyCriteria latency = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.BasicSli.LatencyCriteria,
-            com.google.monitoring.v3.BasicSli.LatencyCriteria.Builder,
-            com.google.monitoring.v3.BasicSli.LatencyCriteriaOrBuilder>
+        com.google.monitoring.v3.BasicSli.LatencyCriteria, com.google.monitoring.v3.BasicSli.LatencyCriteria.Builder, com.google.monitoring.v3.BasicSli.LatencyCriteriaOrBuilder> 
         getLatencyFieldBuilder() {
       if (latencyBuilder_ == null) {
         if (!(sliCriteriaCase_ == 3)) {
           sliCriteria_ = com.google.monitoring.v3.BasicSli.LatencyCriteria.getDefaultInstance();
         }
-        latencyBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.monitoring.v3.BasicSli.LatencyCriteria,
-                com.google.monitoring.v3.BasicSli.LatencyCriteria.Builder,
-                com.google.monitoring.v3.BasicSli.LatencyCriteriaOrBuilder>(
+        latencyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.monitoring.v3.BasicSli.LatencyCriteria, com.google.monitoring.v3.BasicSli.LatencyCriteria.Builder, com.google.monitoring.v3.BasicSli.LatencyCriteriaOrBuilder>(
                 (com.google.monitoring.v3.BasicSli.LatencyCriteria) sliCriteria_,
                 getParentForChildren(),
                 isClean());
         sliCriteria_ = null;
       }
       sliCriteriaCase_ = 3;
-      onChanged();
-      ;
+      onChanged();;
       return latencyBuilder_;
     }
-
     @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);
     }
 
@@ -3346,12 +3032,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.monitoring.v3.BasicSli)
   }
 
   // @@protoc_insertion_point(class_scope:google.monitoring.v3.BasicSli)
   private static final com.google.monitoring.v3.BasicSli DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.monitoring.v3.BasicSli();
   }
@@ -3360,16 +3046,16 @@ public static com.google.monitoring.v3.BasicSli getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public BasicSli parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new BasicSli(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public BasicSli parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new BasicSli(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -3384,4 +3070,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.monitoring.v3.BasicSli getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/BasicSliOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/BasicSliOrBuilder.java
similarity index 87%
rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/BasicSliOrBuilder.java
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/BasicSliOrBuilder.java
index 77a46296..016726d3 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/BasicSliOrBuilder.java
+++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/BasicSliOrBuilder.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/monitoring/v3/service.proto
 
 package com.google.monitoring.v3;
 
-public interface BasicSliOrBuilder
-    extends
+public interface BasicSliOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.monitoring.v3.BasicSli)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from
    * other methods will not be used to calculate performance for this SLI. If
@@ -35,13 +17,11 @@ public interface BasicSliOrBuilder
    * 
* * repeated string method = 7; - * * @return A list containing the method. */ - java.util.List getMethodList(); + java.util.List + getMethodList(); /** - * - * *
    * OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from
    * other methods will not be used to calculate performance for this SLI. If
@@ -51,13 +31,10 @@ public interface BasicSliOrBuilder
    * 
* * repeated string method = 7; - * * @return The count of method. */ int getMethodCount(); /** - * - * *
    * OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from
    * other methods will not be used to calculate performance for this SLI. If
@@ -67,14 +44,11 @@ public interface BasicSliOrBuilder
    * 
* * repeated string method = 7; - * * @param index The index of the element to return. * @return The method at the given index. */ java.lang.String getMethod(int index); /** - * - * *
    * OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from
    * other methods will not be used to calculate performance for this SLI. If
@@ -84,15 +58,13 @@ public interface BasicSliOrBuilder
    * 
* * repeated string method = 7; - * * @param index The index of the value to return. * @return The bytes of the method at the given index. */ - com.google.protobuf.ByteString getMethodBytes(int index); + com.google.protobuf.ByteString + getMethodBytes(int index); /** - * - * *
    * OPTIONAL: The set of locations to which this SLI is relevant. Telemetry
    * from other locations will not be used to calculate performance for this
@@ -102,13 +74,11 @@ public interface BasicSliOrBuilder
    * 
* * repeated string location = 8; - * * @return A list containing the location. */ - java.util.List getLocationList(); + java.util.List + getLocationList(); /** - * - * *
    * OPTIONAL: The set of locations to which this SLI is relevant. Telemetry
    * from other locations will not be used to calculate performance for this
@@ -118,13 +88,10 @@ public interface BasicSliOrBuilder
    * 
* * repeated string location = 8; - * * @return The count of location. */ int getLocationCount(); /** - * - * *
    * OPTIONAL: The set of locations to which this SLI is relevant. Telemetry
    * from other locations will not be used to calculate performance for this
@@ -134,14 +101,11 @@ public interface BasicSliOrBuilder
    * 
* * repeated string location = 8; - * * @param index The index of the element to return. * @return The location at the given index. */ java.lang.String getLocation(int index); /** - * - * *
    * OPTIONAL: The set of locations to which this SLI is relevant. Telemetry
    * from other locations will not be used to calculate performance for this
@@ -151,15 +115,13 @@ public interface BasicSliOrBuilder
    * 
* * repeated string location = 8; - * * @param index The index of the value to return. * @return The bytes of the location at the given index. */ - com.google.protobuf.ByteString getLocationBytes(int index); + com.google.protobuf.ByteString + getLocationBytes(int index); /** - * - * *
    * OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry
    * from other API versions will not be used to calculate performance for this
@@ -169,13 +131,11 @@ public interface BasicSliOrBuilder
    * 
* * repeated string version = 9; - * * @return A list containing the version. */ - java.util.List getVersionList(); + java.util.List + getVersionList(); /** - * - * *
    * OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry
    * from other API versions will not be used to calculate performance for this
@@ -185,13 +145,10 @@ public interface BasicSliOrBuilder
    * 
* * repeated string version = 9; - * * @return The count of version. */ int getVersionCount(); /** - * - * *
    * OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry
    * from other API versions will not be used to calculate performance for this
@@ -201,14 +158,11 @@ public interface BasicSliOrBuilder
    * 
* * repeated string version = 9; - * * @param index The index of the element to return. * @return The version at the given index. */ java.lang.String getVersion(int index); /** - * - * *
    * OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry
    * from other API versions will not be used to calculate performance for this
@@ -218,41 +172,33 @@ public interface BasicSliOrBuilder
    * 
* * repeated string version = 9; - * * @param index The index of the value to return. * @return The bytes of the version at the given index. */ - com.google.protobuf.ByteString getVersionBytes(int index); + com.google.protobuf.ByteString + getVersionBytes(int index); /** - * - * *
    * Good service is defined to be the count of requests made to this service
    * that return successfully.
    * 
* * .google.monitoring.v3.BasicSli.AvailabilityCriteria availability = 2; - * * @return Whether the availability field is set. */ boolean hasAvailability(); /** - * - * *
    * Good service is defined to be the count of requests made to this service
    * that return successfully.
    * 
* * .google.monitoring.v3.BasicSli.AvailabilityCriteria availability = 2; - * * @return The availability. */ com.google.monitoring.v3.BasicSli.AvailabilityCriteria getAvailability(); /** - * - * *
    * Good service is defined to be the count of requests made to this service
    * that return successfully.
@@ -263,34 +209,26 @@ public interface BasicSliOrBuilder
   com.google.monitoring.v3.BasicSli.AvailabilityCriteriaOrBuilder getAvailabilityOrBuilder();
 
   /**
-   *
-   *
    * 
    * Good service is defined to be the count of requests made to this service
    * that are fast enough with respect to `latency.threshold`.
    * 
* * .google.monitoring.v3.BasicSli.LatencyCriteria latency = 3; - * * @return Whether the latency field is set. */ boolean hasLatency(); /** - * - * *
    * Good service is defined to be the count of requests made to this service
    * that are fast enough with respect to `latency.threshold`.
    * 
* * .google.monitoring.v3.BasicSli.LatencyCriteria latency = 3; - * * @return The latency. */ com.google.monitoring.v3.BasicSli.LatencyCriteria getLatency(); /** - * - * *
    * Good service is defined to be the count of requests made to this service
    * that are fast enough with respect to `latency.threshold`.
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CommonProto.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CommonProto.java
new file mode 100644
index 00000000..90cbb73e
--- /dev/null
+++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CommonProto.java
@@ -0,0 +1,120 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/monitoring/v3/common.proto
+
+package com.google.monitoring.v3;
+
+public final class CommonProto {
+  private CommonProto() {}
+  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_monitoring_v3_TypedValue_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_TypedValue_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_TimeInterval_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_TimeInterval_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_Aggregation_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_Aggregation_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/monitoring/v3/common.proto\022\024goo" +
+      "gle.monitoring.v3\032\035google/api/distributi" +
+      "on.proto\032\036google/protobuf/duration.proto" +
+      "\032\037google/protobuf/timestamp.proto\"\252\001\n\nTy" +
+      "pedValue\022\024\n\nbool_value\030\001 \001(\010H\000\022\025\n\013int64_" +
+      "value\030\002 \001(\003H\000\022\026\n\014double_value\030\003 \001(\001H\000\022\026\n" +
+      "\014string_value\030\004 \001(\tH\000\0226\n\022distribution_va" +
+      "lue\030\005 \001(\0132\030.google.api.DistributionH\000B\007\n" +
+      "\005value\"l\n\014TimeInterval\022,\n\010end_time\030\002 \001(\013" +
+      "2\032.google.protobuf.Timestamp\022.\n\nstart_ti" +
+      "me\030\001 \001(\0132\032.google.protobuf.Timestamp\"\255\007\n" +
+      "\013Aggregation\0223\n\020alignment_period\030\001 \001(\0132\031" +
+      ".google.protobuf.Duration\022E\n\022per_series_" +
+      "aligner\030\002 \001(\0162).google.monitoring.v3.Agg" +
+      "regation.Aligner\022G\n\024cross_series_reducer" +
+      "\030\004 \001(\0162).google.monitoring.v3.Aggregatio" +
+      "n.Reducer\022\027\n\017group_by_fields\030\005 \003(\t\"\213\003\n\007A" +
+      "ligner\022\016\n\nALIGN_NONE\020\000\022\017\n\013ALIGN_DELTA\020\001\022" +
+      "\016\n\nALIGN_RATE\020\002\022\025\n\021ALIGN_INTERPOLATE\020\003\022\024" +
+      "\n\020ALIGN_NEXT_OLDER\020\004\022\r\n\tALIGN_MIN\020\n\022\r\n\tA" +
+      "LIGN_MAX\020\013\022\016\n\nALIGN_MEAN\020\014\022\017\n\013ALIGN_COUN" +
+      "T\020\r\022\r\n\tALIGN_SUM\020\016\022\020\n\014ALIGN_STDDEV\020\017\022\024\n\020" +
+      "ALIGN_COUNT_TRUE\020\020\022\025\n\021ALIGN_COUNT_FALSE\020" +
+      "\030\022\027\n\023ALIGN_FRACTION_TRUE\020\021\022\027\n\023ALIGN_PERC" +
+      "ENTILE_99\020\022\022\027\n\023ALIGN_PERCENTILE_95\020\023\022\027\n\023" +
+      "ALIGN_PERCENTILE_50\020\024\022\027\n\023ALIGN_PERCENTIL" +
+      "E_05\020\025\022\030\n\024ALIGN_PERCENT_CHANGE\020\027\"\261\002\n\007Red" +
+      "ucer\022\017\n\013REDUCE_NONE\020\000\022\017\n\013REDUCE_MEAN\020\001\022\016" +
+      "\n\nREDUCE_MIN\020\002\022\016\n\nREDUCE_MAX\020\003\022\016\n\nREDUCE" +
+      "_SUM\020\004\022\021\n\rREDUCE_STDDEV\020\005\022\020\n\014REDUCE_COUN" +
+      "T\020\006\022\025\n\021REDUCE_COUNT_TRUE\020\007\022\026\n\022REDUCE_COU" +
+      "NT_FALSE\020\017\022\030\n\024REDUCE_FRACTION_TRUE\020\010\022\030\n\024" +
+      "REDUCE_PERCENTILE_99\020\t\022\030\n\024REDUCE_PERCENT" +
+      "ILE_95\020\n\022\030\n\024REDUCE_PERCENTILE_50\020\013\022\030\n\024RE" +
+      "DUCE_PERCENTILE_05\020\014*\236\001\n\016ComparisonType\022" +
+      "\032\n\026COMPARISON_UNSPECIFIED\020\000\022\021\n\rCOMPARISO" +
+      "N_GT\020\001\022\021\n\rCOMPARISON_GE\020\002\022\021\n\rCOMPARISON_" +
+      "LT\020\003\022\021\n\rCOMPARISON_LE\020\004\022\021\n\rCOMPARISON_EQ" +
+      "\020\005\022\021\n\rCOMPARISON_NE\020\006*a\n\013ServiceTier\022\034\n\030" +
+      "SERVICE_TIER_UNSPECIFIED\020\000\022\026\n\022SERVICE_TI" +
+      "ER_BASIC\020\001\022\030\n\024SERVICE_TIER_PREMIUM\020\002\032\002\030\001" +
+      "B\303\001\n\030com.google.monitoring.v3B\013CommonPro" +
+      "toP\001Z>google.golang.org/genproto/googlea" +
+      "pis/monitoring/v3;monitoring\252\002\032Google.Cl" +
+      "oud.Monitoring.V3\312\002\032Google\\Cloud\\Monitor" +
+      "ing\\V3\352\002\035Google::Cloud::Monitoring::V3b\006" +
+      "proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.DistributionProto.getDescriptor(),
+          com.google.protobuf.DurationProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+        });
+    internal_static_google_monitoring_v3_TypedValue_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_monitoring_v3_TypedValue_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_TypedValue_descriptor,
+        new java.lang.String[] { "BoolValue", "Int64Value", "DoubleValue", "StringValue", "DistributionValue", "Value", });
+    internal_static_google_monitoring_v3_TimeInterval_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_monitoring_v3_TimeInterval_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_TimeInterval_descriptor,
+        new java.lang.String[] { "EndTime", "StartTime", });
+    internal_static_google_monitoring_v3_Aggregation_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_monitoring_v3_Aggregation_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_Aggregation_descriptor,
+        new java.lang.String[] { "AlignmentPeriod", "PerSeriesAligner", "CrossSeriesReducer", "GroupByFields", });
+    com.google.api.DistributionProto.getDescriptor();
+    com.google.protobuf.DurationProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ComparisonType.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ComparisonType.java
similarity index 72%
rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ComparisonType.java
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ComparisonType.java
index 0f5c2f20..98216500 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ComparisonType.java
+++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ComparisonType.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/monitoring/v3/common.proto
 
 package com.google.monitoring.v3;
 
 /**
- *
- *
  * 
  * Specifies an ordering relationship on two arguments, called `left` and
  * `right`.
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.monitoring.v3.ComparisonType}
  */
-public enum ComparisonType implements com.google.protobuf.ProtocolMessageEnum {
+public enum ComparisonType
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * No ordering relationship is specified.
    * 
@@ -40,8 +22,6 @@ public enum ComparisonType implements com.google.protobuf.ProtocolMessageEnum { */ COMPARISON_UNSPECIFIED(0), /** - * - * *
    * True if the left argument is greater than the right argument.
    * 
@@ -50,8 +30,6 @@ public enum ComparisonType implements com.google.protobuf.ProtocolMessageEnum { */ COMPARISON_GT(1), /** - * - * *
    * True if the left argument is greater than or equal to the right argument.
    * 
@@ -60,8 +38,6 @@ public enum ComparisonType implements com.google.protobuf.ProtocolMessageEnum { */ COMPARISON_GE(2), /** - * - * *
    * True if the left argument is less than the right argument.
    * 
@@ -70,8 +46,6 @@ public enum ComparisonType implements com.google.protobuf.ProtocolMessageEnum { */ COMPARISON_LT(3), /** - * - * *
    * True if the left argument is less than or equal to the right argument.
    * 
@@ -80,8 +54,6 @@ public enum ComparisonType implements com.google.protobuf.ProtocolMessageEnum { */ COMPARISON_LE(4), /** - * - * *
    * True if the left argument is equal to the right argument.
    * 
@@ -90,8 +62,6 @@ public enum ComparisonType implements com.google.protobuf.ProtocolMessageEnum { */ COMPARISON_EQ(5), /** - * - * *
    * True if the left argument is not equal to the right argument.
    * 
@@ -103,8 +73,6 @@ public enum ComparisonType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * No ordering relationship is specified.
    * 
@@ -113,8 +81,6 @@ public enum ComparisonType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMPARISON_UNSPECIFIED_VALUE = 0; /** - * - * *
    * True if the left argument is greater than the right argument.
    * 
@@ -123,8 +89,6 @@ public enum ComparisonType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMPARISON_GT_VALUE = 1; /** - * - * *
    * True if the left argument is greater than or equal to the right argument.
    * 
@@ -133,8 +97,6 @@ public enum ComparisonType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMPARISON_GE_VALUE = 2; /** - * - * *
    * True if the left argument is less than the right argument.
    * 
@@ -143,8 +105,6 @@ public enum ComparisonType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMPARISON_LT_VALUE = 3; /** - * - * *
    * True if the left argument is less than or equal to the right argument.
    * 
@@ -153,8 +113,6 @@ public enum ComparisonType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMPARISON_LE_VALUE = 4; /** - * - * *
    * True if the left argument is equal to the right argument.
    * 
@@ -163,8 +121,6 @@ public enum ComparisonType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMPARISON_EQ_VALUE = 5; /** - * - * *
    * True if the left argument is not equal to the right argument.
    * 
@@ -173,6 +129,7 @@ public enum ComparisonType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMPARISON_NE_VALUE = 6; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -197,57 +154,53 @@ public static ComparisonType valueOf(int value) { */ public static ComparisonType forNumber(int value) { switch (value) { - case 0: - return COMPARISON_UNSPECIFIED; - case 1: - return COMPARISON_GT; - case 2: - return COMPARISON_GE; - case 3: - return COMPARISON_LT; - case 4: - return COMPARISON_LE; - case 5: - return COMPARISON_EQ; - case 6: - return COMPARISON_NE; - default: - return null; + case 0: return COMPARISON_UNSPECIFIED; + case 1: return COMPARISON_GT; + case 2: return COMPARISON_GE; + case 3: return COMPARISON_LT; + case 4: return COMPARISON_LE; + case 5: return COMPARISON_EQ; + case 6: return COMPARISON_NE; + 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 ComparisonType findValueByNumber(int number) { - return ComparisonType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + ComparisonType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ComparisonType findValueByNumber(int number) { + return ComparisonType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.monitoring.v3.CommonProto.getDescriptor().getEnumTypes().get(0); } private static final ComparisonType[] VALUES = values(); - public static ComparisonType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ComparisonType 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; @@ -263,3 +216,4 @@ private ComparisonType(int value) { // @@protoc_insertion_point(enum_scope:google.monitoring.v3.ComparisonType) } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateAlertPolicyRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateAlertPolicyRequest.java similarity index 68% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateAlertPolicyRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateAlertPolicyRequest.java index e3463b2b..088874e9 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateAlertPolicyRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateAlertPolicyRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/alert_service.proto package com.google.monitoring.v3; /** - * - * *
  * The protocol for the `CreateAlertPolicy` request.
  * 
* * Protobuf type {@code google.monitoring.v3.CreateAlertPolicyRequest} */ -public final class CreateAlertPolicyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateAlertPolicyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.CreateAlertPolicyRequest) CreateAlertPolicyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateAlertPolicyRequest.newBuilder() to construct. private CreateAlertPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateAlertPolicyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateAlertPolicyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateAlertPolicyRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,68 +53,60 @@ private CreateAlertPolicyRequest( case 0: done = true; break; - case 18: - { - com.google.monitoring.v3.AlertPolicy.Builder subBuilder = null; - if (alertPolicy_ != null) { - subBuilder = alertPolicy_.toBuilder(); - } - alertPolicy_ = - input.readMessage( - com.google.monitoring.v3.AlertPolicy.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(alertPolicy_); - alertPolicy_ = subBuilder.buildPartial(); - } - - break; + case 18: { + com.google.monitoring.v3.AlertPolicy.Builder subBuilder = null; + if (alertPolicy_ != null) { + subBuilder = alertPolicy_.toBuilder(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; + alertPolicy_ = input.readMessage(com.google.monitoring.v3.AlertPolicy.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(alertPolicy_); + alertPolicy_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.AlertServiceProto - .internal_static_google_monitoring_v3_CreateAlertPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_CreateAlertPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.AlertServiceProto - .internal_static_google_monitoring_v3_CreateAlertPolicyRequest_fieldAccessorTable + return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_CreateAlertPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateAlertPolicyRequest.class, - com.google.monitoring.v3.CreateAlertPolicyRequest.Builder.class); + com.google.monitoring.v3.CreateAlertPolicyRequest.class, com.google.monitoring.v3.CreateAlertPolicyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
    * which to create the alerting policy. The format is:
@@ -145,10 +120,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * container.
    * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -157,15 +129,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
    * which to create the alerting policy. The format is:
@@ -179,18 +150,17 @@ public java.lang.String getName() {
    * container.
    * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -201,18 +171,13 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int ALERT_POLICY_FIELD_NUMBER = 2; private com.google.monitoring.v3.AlertPolicy alertPolicy_; /** - * - * *
    * Required. The requested alerting policy. You should omit the `name` field in this
    * policy. The name will be returned in the new policy, including
    * a new `[ALERT_POLICY_ID]` value.
    * 
* - * - * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the alertPolicy field is set. */ @java.lang.Override @@ -220,38 +185,27 @@ public boolean hasAlertPolicy() { return alertPolicy_ != null; } /** - * - * *
    * Required. The requested alerting policy. You should omit the `name` field in this
    * policy. The name will be returned in the new policy, including
    * a new `[ALERT_POLICY_ID]` value.
    * 
* - * - * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The alertPolicy. */ @java.lang.Override public com.google.monitoring.v3.AlertPolicy getAlertPolicy() { - return alertPolicy_ == null - ? com.google.monitoring.v3.AlertPolicy.getDefaultInstance() - : alertPolicy_; + return alertPolicy_ == null ? com.google.monitoring.v3.AlertPolicy.getDefaultInstance() : alertPolicy_; } /** - * - * *
    * Required. The requested alerting policy. You should omit the `name` field in this
    * policy. The name will be returned in the new policy, including
    * a new `[ALERT_POLICY_ID]` value.
    * 
* - * - * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPolicyOrBuilder() { @@ -259,7 +213,6 @@ public com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPolicyOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -271,7 +224,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 (alertPolicy_ != null) { output.writeMessage(2, getAlertPolicy()); } @@ -288,7 +242,8 @@ public int getSerializedSize() { size = 0; if (alertPolicy_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAlertPolicy()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAlertPolicy()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); @@ -301,18 +256,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.monitoring.v3.CreateAlertPolicyRequest)) { return super.equals(obj); } - com.google.monitoring.v3.CreateAlertPolicyRequest other = - (com.google.monitoring.v3.CreateAlertPolicyRequest) obj; + com.google.monitoring.v3.CreateAlertPolicyRequest other = (com.google.monitoring.v3.CreateAlertPolicyRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasAlertPolicy() != other.hasAlertPolicy()) return false; if (hasAlertPolicy()) { - if (!getAlertPolicy().equals(other.getAlertPolicy())) return false; + if (!getAlertPolicy() + .equals(other.getAlertPolicy())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -337,126 +293,117 @@ public int hashCode() { } public static com.google.monitoring.v3.CreateAlertPolicyRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.CreateAlertPolicyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.CreateAlertPolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.CreateAlertPolicyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.CreateAlertPolicyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.CreateAlertPolicyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.CreateAlertPolicyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.CreateAlertPolicyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.CreateAlertPolicyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.CreateAlertPolicyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.CreateAlertPolicyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.CreateAlertPolicyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.CreateAlertPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.CreateAlertPolicyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.CreateAlertPolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 protocol for the `CreateAlertPolicy` request.
    * 
* * Protobuf type {@code google.monitoring.v3.CreateAlertPolicyRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.CreateAlertPolicyRequest) com.google.monitoring.v3.CreateAlertPolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.AlertServiceProto - .internal_static_google_monitoring_v3_CreateAlertPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_CreateAlertPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.AlertServiceProto - .internal_static_google_monitoring_v3_CreateAlertPolicyRequest_fieldAccessorTable + return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_CreateAlertPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateAlertPolicyRequest.class, - com.google.monitoring.v3.CreateAlertPolicyRequest.Builder.class); + com.google.monitoring.v3.CreateAlertPolicyRequest.class, com.google.monitoring.v3.CreateAlertPolicyRequest.Builder.class); } // Construct using com.google.monitoring.v3.CreateAlertPolicyRequest.newBuilder() @@ -464,15 +411,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -488,9 +436,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.AlertServiceProto - .internal_static_google_monitoring_v3_CreateAlertPolicyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_CreateAlertPolicyRequest_descriptor; } @java.lang.Override @@ -509,8 +457,7 @@ public com.google.monitoring.v3.CreateAlertPolicyRequest build() { @java.lang.Override public com.google.monitoring.v3.CreateAlertPolicyRequest buildPartial() { - com.google.monitoring.v3.CreateAlertPolicyRequest result = - new com.google.monitoring.v3.CreateAlertPolicyRequest(this); + com.google.monitoring.v3.CreateAlertPolicyRequest result = new com.google.monitoring.v3.CreateAlertPolicyRequest(this); result.name_ = name_; if (alertPolicyBuilder_ == null) { result.alertPolicy_ = alertPolicy_; @@ -525,39 +472,38 @@ public com.google.monitoring.v3.CreateAlertPolicyRequest 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.monitoring.v3.CreateAlertPolicyRequest) { - return mergeFrom((com.google.monitoring.v3.CreateAlertPolicyRequest) other); + return mergeFrom((com.google.monitoring.v3.CreateAlertPolicyRequest)other); } else { super.mergeFrom(other); return this; @@ -565,8 +511,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.CreateAlertPolicyRequest other) { - if (other == com.google.monitoring.v3.CreateAlertPolicyRequest.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.CreateAlertPolicyRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -593,8 +538,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.CreateAlertPolicyRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.CreateAlertPolicyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -606,8 +550,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
      * which to create the alerting policy. The format is:
@@ -621,16 +563,14 @@ public Builder mergeFrom(
      * container.
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -639,8 +579,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
      * which to create the alerting policy. The format is:
@@ -654,17 +592,16 @@ public java.lang.String getName() {
      * container.
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -672,8 +609,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
      * which to create the alerting policy. The format is:
@@ -687,25 +622,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * container.
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
      * which to create the alerting policy. The format is:
@@ -719,21 +650,16 @@ public Builder setName(java.lang.String value) {
      * container.
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
      * which to create the alerting policy. The format is:
@@ -747,19 +673,17 @@ public Builder clearName() {
      * container.
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -767,64 +691,45 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.monitoring.v3.AlertPolicy alertPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy, - com.google.monitoring.v3.AlertPolicy.Builder, - com.google.monitoring.v3.AlertPolicyOrBuilder> - alertPolicyBuilder_; + com.google.monitoring.v3.AlertPolicy, com.google.monitoring.v3.AlertPolicy.Builder, com.google.monitoring.v3.AlertPolicyOrBuilder> alertPolicyBuilder_; /** - * - * *
      * Required. The requested alerting policy. You should omit the `name` field in this
      * policy. The name will be returned in the new policy, including
      * a new `[ALERT_POLICY_ID]` value.
      * 
* - * - * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the alertPolicy field is set. */ public boolean hasAlertPolicy() { return alertPolicyBuilder_ != null || alertPolicy_ != null; } /** - * - * *
      * Required. The requested alerting policy. You should omit the `name` field in this
      * policy. The name will be returned in the new policy, including
      * a new `[ALERT_POLICY_ID]` value.
      * 
* - * - * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The alertPolicy. */ public com.google.monitoring.v3.AlertPolicy getAlertPolicy() { if (alertPolicyBuilder_ == null) { - return alertPolicy_ == null - ? com.google.monitoring.v3.AlertPolicy.getDefaultInstance() - : alertPolicy_; + return alertPolicy_ == null ? com.google.monitoring.v3.AlertPolicy.getDefaultInstance() : alertPolicy_; } else { return alertPolicyBuilder_.getMessage(); } } /** - * - * *
      * Required. The requested alerting policy. You should omit the `name` field in this
      * policy. The name will be returned in the new policy, including
      * a new `[ALERT_POLICY_ID]` value.
      * 
* - * - * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAlertPolicy(com.google.monitoring.v3.AlertPolicy value) { if (alertPolicyBuilder_ == null) { @@ -840,19 +745,16 @@ public Builder setAlertPolicy(com.google.monitoring.v3.AlertPolicy value) { return this; } /** - * - * *
      * Required. The requested alerting policy. You should omit the `name` field in this
      * policy. The name will be returned in the new policy, including
      * a new `[ALERT_POLICY_ID]` value.
      * 
* - * - * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setAlertPolicy(com.google.monitoring.v3.AlertPolicy.Builder builderForValue) { + public Builder setAlertPolicy( + com.google.monitoring.v3.AlertPolicy.Builder builderForValue) { if (alertPolicyBuilder_ == null) { alertPolicy_ = builderForValue.build(); onChanged(); @@ -863,25 +765,19 @@ public Builder setAlertPolicy(com.google.monitoring.v3.AlertPolicy.Builder build return this; } /** - * - * *
      * Required. The requested alerting policy. You should omit the `name` field in this
      * policy. The name will be returned in the new policy, including
      * a new `[ALERT_POLICY_ID]` value.
      * 
* - * - * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAlertPolicy(com.google.monitoring.v3.AlertPolicy value) { if (alertPolicyBuilder_ == null) { if (alertPolicy_ != null) { alertPolicy_ = - com.google.monitoring.v3.AlertPolicy.newBuilder(alertPolicy_) - .mergeFrom(value) - .buildPartial(); + com.google.monitoring.v3.AlertPolicy.newBuilder(alertPolicy_).mergeFrom(value).buildPartial(); } else { alertPolicy_ = value; } @@ -893,17 +789,13 @@ public Builder mergeAlertPolicy(com.google.monitoring.v3.AlertPolicy value) { return this; } /** - * - * *
      * Required. The requested alerting policy. You should omit the `name` field in this
      * policy. The name will be returned in the new policy, including
      * a new `[ALERT_POLICY_ID]` value.
      * 
* - * - * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAlertPolicy() { if (alertPolicyBuilder_ == null) { @@ -917,77 +809,61 @@ public Builder clearAlertPolicy() { return this; } /** - * - * *
      * Required. The requested alerting policy. You should omit the `name` field in this
      * policy. The name will be returned in the new policy, including
      * a new `[ALERT_POLICY_ID]` value.
      * 
* - * - * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.monitoring.v3.AlertPolicy.Builder getAlertPolicyBuilder() { - + onChanged(); return getAlertPolicyFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The requested alerting policy. You should omit the `name` field in this
      * policy. The name will be returned in the new policy, including
      * a new `[ALERT_POLICY_ID]` value.
      * 
* - * - * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPolicyOrBuilder() { if (alertPolicyBuilder_ != null) { return alertPolicyBuilder_.getMessageOrBuilder(); } else { - return alertPolicy_ == null - ? com.google.monitoring.v3.AlertPolicy.getDefaultInstance() - : alertPolicy_; + return alertPolicy_ == null ? + com.google.monitoring.v3.AlertPolicy.getDefaultInstance() : alertPolicy_; } } /** - * - * *
      * Required. The requested alerting policy. You should omit the `name` field in this
      * policy. The name will be returned in the new policy, including
      * a new `[ALERT_POLICY_ID]` value.
      * 
* - * - * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy, - com.google.monitoring.v3.AlertPolicy.Builder, - com.google.monitoring.v3.AlertPolicyOrBuilder> + com.google.monitoring.v3.AlertPolicy, com.google.monitoring.v3.AlertPolicy.Builder, com.google.monitoring.v3.AlertPolicyOrBuilder> getAlertPolicyFieldBuilder() { if (alertPolicyBuilder_ == null) { - alertPolicyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy, - com.google.monitoring.v3.AlertPolicy.Builder, - com.google.monitoring.v3.AlertPolicyOrBuilder>( - getAlertPolicy(), getParentForChildren(), isClean()); + alertPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.AlertPolicy, com.google.monitoring.v3.AlertPolicy.Builder, com.google.monitoring.v3.AlertPolicyOrBuilder>( + getAlertPolicy(), + getParentForChildren(), + isClean()); alertPolicy_ = null; } return alertPolicyBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -997,12 +873,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.CreateAlertPolicyRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.CreateAlertPolicyRequest) private static final com.google.monitoring.v3.CreateAlertPolicyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.CreateAlertPolicyRequest(); } @@ -1011,16 +887,16 @@ public static com.google.monitoring.v3.CreateAlertPolicyRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateAlertPolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateAlertPolicyRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateAlertPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateAlertPolicyRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1035,4 +911,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.CreateAlertPolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateAlertPolicyRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateAlertPolicyRequestOrBuilder.java similarity index 66% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateAlertPolicyRequestOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateAlertPolicyRequestOrBuilder.java index d84bfb52..4f733502 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateAlertPolicyRequestOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateAlertPolicyRequestOrBuilder.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/monitoring/v3/alert_service.proto package com.google.monitoring.v3; -public interface CreateAlertPolicyRequestOrBuilder - extends +public interface CreateAlertPolicyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.CreateAlertPolicyRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
    * which to create the alerting policy. The format is:
@@ -39,16 +21,11 @@ public interface CreateAlertPolicyRequestOrBuilder
    * container.
    * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
    * which to create the alerting policy. The format is:
@@ -62,58 +39,42 @@ public interface CreateAlertPolicyRequestOrBuilder
    * container.
    * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The requested alerting policy. You should omit the `name` field in this
    * policy. The name will be returned in the new policy, including
    * a new `[ALERT_POLICY_ID]` value.
    * 
* - * - * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the alertPolicy field is set. */ boolean hasAlertPolicy(); /** - * - * *
    * Required. The requested alerting policy. You should omit the `name` field in this
    * policy. The name will be returned in the new policy, including
    * a new `[ALERT_POLICY_ID]` value.
    * 
* - * - * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The alertPolicy. */ com.google.monitoring.v3.AlertPolicy getAlertPolicy(); /** - * - * *
    * Required. The requested alerting policy. You should omit the `name` field in this
    * policy. The name will be returned in the new policy, including
    * a new `[ALERT_POLICY_ID]` value.
    * 
* - * - * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPolicyOrBuilder(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateGroupRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateGroupRequest.java similarity index 70% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateGroupRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateGroupRequest.java index d6056ebc..b6a9eda7 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateGroupRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateGroupRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/group_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `CreateGroup` request.
  * 
* * Protobuf type {@code google.monitoring.v3.CreateGroupRequest} */ -public final class CreateGroupRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateGroupRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.CreateGroupRequest) CreateGroupRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateGroupRequest.newBuilder() to construct. private CreateGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateGroupRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateGroupRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateGroupRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,82 +53,72 @@ private CreateGroupRequest( case 0: done = true; break; - case 18: - { - com.google.monitoring.v3.Group.Builder subBuilder = null; - if (group_ != null) { - subBuilder = group_.toBuilder(); - } - group_ = - input.readMessage(com.google.monitoring.v3.Group.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(group_); - group_ = subBuilder.buildPartial(); - } - - break; + case 18: { + com.google.monitoring.v3.Group.Builder subBuilder = null; + if (group_ != null) { + subBuilder = group_.toBuilder(); } - case 24: - { - validateOnly_ = input.readBool(); - break; + group_ = input.readMessage(com.google.monitoring.v3.Group.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(group_); + group_ = subBuilder.buildPartial(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 24: { + + validateOnly_ = input.readBool(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.GroupServiceProto - .internal_static_google_monitoring_v3_CreateGroupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_CreateGroupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.GroupServiceProto - .internal_static_google_monitoring_v3_CreateGroupRequest_fieldAccessorTable + return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_CreateGroupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateGroupRequest.class, - com.google.monitoring.v3.CreateGroupRequest.Builder.class); + com.google.monitoring.v3.CreateGroupRequest.class, com.google.monitoring.v3.CreateGroupRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 4; private volatile java.lang.Object name_; /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
    * which to create the group. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -154,33 +127,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
    * which to create the group. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -191,15 +162,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int GROUP_FIELD_NUMBER = 2; private com.google.monitoring.v3.Group group_; /** - * - * *
    * Required. A group definition. It is an error to define the `name` field because
    * the system assigns the name.
    * 
* * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the group field is set. */ @java.lang.Override @@ -207,15 +175,12 @@ public boolean hasGroup() { return group_ != null; } /** - * - * *
    * Required. A group definition. It is an error to define the `name` field because
    * the system assigns the name.
    * 
* * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The group. */ @java.lang.Override @@ -223,8 +188,6 @@ public com.google.monitoring.v3.Group getGroup() { return group_ == null ? com.google.monitoring.v3.Group.getDefaultInstance() : group_; } /** - * - * *
    * Required. A group definition. It is an error to define the `name` field because
    * the system assigns the name.
@@ -240,14 +203,11 @@ public com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder() {
   public static final int VALIDATE_ONLY_FIELD_NUMBER = 3;
   private boolean validateOnly_;
   /**
-   *
-   *
    * 
    * If true, validate this request but do not create the group.
    * 
* * bool validate_only = 3; - * * @return The validateOnly. */ @java.lang.Override @@ -256,7 +216,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -268,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (group_ != null) { output.writeMessage(2, getGroup()); } @@ -288,10 +248,12 @@ public int getSerializedSize() { size = 0; if (group_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getGroup()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getGroup()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, validateOnly_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, name_); @@ -304,20 +266,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.monitoring.v3.CreateGroupRequest)) { return super.equals(obj); } - com.google.monitoring.v3.CreateGroupRequest other = - (com.google.monitoring.v3.CreateGroupRequest) obj; + com.google.monitoring.v3.CreateGroupRequest other = (com.google.monitoring.v3.CreateGroupRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasGroup() != other.hasGroup()) return false; if (hasGroup()) { - if (!getGroup().equals(other.getGroup())) return false; + if (!getGroup() + .equals(other.getGroup())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -336,133 +300,125 @@ public int hashCode() { hash = (53 * hash) + getGroup().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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.monitoring.v3.CreateGroupRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.CreateGroupRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.CreateGroupRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.CreateGroupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.CreateGroupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.CreateGroupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.CreateGroupRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.CreateGroupRequest 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.monitoring.v3.CreateGroupRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.CreateGroupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.CreateGroupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.CreateGroupRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.CreateGroupRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.CreateGroupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.CreateGroupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 `CreateGroup` request.
    * 
* * Protobuf type {@code google.monitoring.v3.CreateGroupRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.CreateGroupRequest) com.google.monitoring.v3.CreateGroupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.GroupServiceProto - .internal_static_google_monitoring_v3_CreateGroupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_CreateGroupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.GroupServiceProto - .internal_static_google_monitoring_v3_CreateGroupRequest_fieldAccessorTable + return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_CreateGroupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateGroupRequest.class, - com.google.monitoring.v3.CreateGroupRequest.Builder.class); + com.google.monitoring.v3.CreateGroupRequest.class, com.google.monitoring.v3.CreateGroupRequest.Builder.class); } // Construct using com.google.monitoring.v3.CreateGroupRequest.newBuilder() @@ -470,15 +426,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -496,9 +453,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.GroupServiceProto - .internal_static_google_monitoring_v3_CreateGroupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_CreateGroupRequest_descriptor; } @java.lang.Override @@ -517,8 +474,7 @@ public com.google.monitoring.v3.CreateGroupRequest build() { @java.lang.Override public com.google.monitoring.v3.CreateGroupRequest buildPartial() { - com.google.monitoring.v3.CreateGroupRequest result = - new com.google.monitoring.v3.CreateGroupRequest(this); + com.google.monitoring.v3.CreateGroupRequest result = new com.google.monitoring.v3.CreateGroupRequest(this); result.name_ = name_; if (groupBuilder_ == null) { result.group_ = group_; @@ -534,39 +490,38 @@ public com.google.monitoring.v3.CreateGroupRequest 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.monitoring.v3.CreateGroupRequest) { - return mergeFrom((com.google.monitoring.v3.CreateGroupRequest) other); + return mergeFrom((com.google.monitoring.v3.CreateGroupRequest)other); } else { super.mergeFrom(other); return this; @@ -616,24 +571,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
      * which to create the group. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -642,25 +593,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
      * which to create the group. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -668,73 +616,60 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
      * which to create the group. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
      * which to create the group. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
      * which to create the group. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -742,35 +677,26 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.monitoring.v3.Group group_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Group, - com.google.monitoring.v3.Group.Builder, - com.google.monitoring.v3.GroupOrBuilder> - groupBuilder_; + com.google.monitoring.v3.Group, com.google.monitoring.v3.Group.Builder, com.google.monitoring.v3.GroupOrBuilder> groupBuilder_; /** - * - * *
      * Required. A group definition. It is an error to define the `name` field because
      * the system assigns the name.
      * 
* * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the group field is set. */ public boolean hasGroup() { return groupBuilder_ != null || group_ != null; } /** - * - * *
      * Required. A group definition. It is an error to define the `name` field because
      * the system assigns the name.
      * 
* * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The group. */ public com.google.monitoring.v3.Group getGroup() { @@ -781,8 +707,6 @@ public com.google.monitoring.v3.Group getGroup() { } } /** - * - * *
      * Required. A group definition. It is an error to define the `name` field because
      * the system assigns the name.
@@ -804,8 +728,6 @@ public Builder setGroup(com.google.monitoring.v3.Group value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. A group definition. It is an error to define the `name` field because
      * the system assigns the name.
@@ -813,7 +735,8 @@ public Builder setGroup(com.google.monitoring.v3.Group value) {
      *
      * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED];
      */
-    public Builder setGroup(com.google.monitoring.v3.Group.Builder builderForValue) {
+    public Builder setGroup(
+        com.google.monitoring.v3.Group.Builder builderForValue) {
       if (groupBuilder_ == null) {
         group_ = builderForValue.build();
         onChanged();
@@ -824,8 +747,6 @@ public Builder setGroup(com.google.monitoring.v3.Group.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. A group definition. It is an error to define the `name` field because
      * the system assigns the name.
@@ -837,7 +758,7 @@ public Builder mergeGroup(com.google.monitoring.v3.Group value) {
       if (groupBuilder_ == null) {
         if (group_ != null) {
           group_ =
-              com.google.monitoring.v3.Group.newBuilder(group_).mergeFrom(value).buildPartial();
+            com.google.monitoring.v3.Group.newBuilder(group_).mergeFrom(value).buildPartial();
         } else {
           group_ = value;
         }
@@ -849,8 +770,6 @@ public Builder mergeGroup(com.google.monitoring.v3.Group value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. A group definition. It is an error to define the `name` field because
      * the system assigns the name.
@@ -870,8 +789,6 @@ public Builder clearGroup() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. A group definition. It is an error to define the `name` field because
      * the system assigns the name.
@@ -880,13 +797,11 @@ public Builder clearGroup() {
      * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED];
      */
     public com.google.monitoring.v3.Group.Builder getGroupBuilder() {
-
+      
       onChanged();
       return getGroupFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Required. A group definition. It is an error to define the `name` field because
      * the system assigns the name.
@@ -898,12 +813,11 @@ public com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder() {
       if (groupBuilder_ != null) {
         return groupBuilder_.getMessageOrBuilder();
       } else {
-        return group_ == null ? com.google.monitoring.v3.Group.getDefaultInstance() : group_;
+        return group_ == null ?
+            com.google.monitoring.v3.Group.getDefaultInstance() : group_;
       }
     }
     /**
-     *
-     *
      * 
      * Required. A group definition. It is an error to define the `name` field because
      * the system assigns the name.
@@ -912,32 +826,26 @@ public com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder() {
      * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.Group,
-            com.google.monitoring.v3.Group.Builder,
-            com.google.monitoring.v3.GroupOrBuilder>
+        com.google.monitoring.v3.Group, com.google.monitoring.v3.Group.Builder, com.google.monitoring.v3.GroupOrBuilder> 
         getGroupFieldBuilder() {
       if (groupBuilder_ == null) {
-        groupBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.monitoring.v3.Group,
-                com.google.monitoring.v3.Group.Builder,
-                com.google.monitoring.v3.GroupOrBuilder>(
-                getGroup(), getParentForChildren(), isClean());
+        groupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.monitoring.v3.Group, com.google.monitoring.v3.Group.Builder, com.google.monitoring.v3.GroupOrBuilder>(
+                getGroup(),
+                getParentForChildren(),
+                isClean());
         group_ = null;
       }
       return groupBuilder_;
     }
 
-    private boolean validateOnly_;
+    private boolean validateOnly_ ;
     /**
-     *
-     *
      * 
      * If true, validate this request but do not create the group.
      * 
* * bool validate_only = 3; - * * @return The validateOnly. */ @java.lang.Override @@ -945,43 +853,37 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * If true, validate this request but do not create the group.
      * 
* * bool validate_only = 3; - * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** - * - * *
      * If true, validate this request but do not create the group.
      * 
* * bool validate_only = 3; - * * @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); } @@ -991,12 +893,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.CreateGroupRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.CreateGroupRequest) private static final com.google.monitoring.v3.CreateGroupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.CreateGroupRequest(); } @@ -1005,16 +907,16 @@ public static com.google.monitoring.v3.CreateGroupRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateGroupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateGroupRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateGroupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateGroupRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1029,4 +931,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.CreateGroupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateGroupRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateGroupRequestOrBuilder.java similarity index 65% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateGroupRequestOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateGroupRequestOrBuilder.java index 2293356a..63565256 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateGroupRequestOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateGroupRequestOrBuilder.java @@ -1,90 +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/monitoring/v3/group_service.proto package com.google.monitoring.v3; -public interface CreateGroupRequestOrBuilder - extends +public interface CreateGroupRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.CreateGroupRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
    * which to create the group. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
    * which to create the group. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. A group definition. It is an error to define the `name` field because
    * the system assigns the name.
    * 
* * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the group field is set. */ boolean hasGroup(); /** - * - * *
    * Required. A group definition. It is an error to define the `name` field because
    * the system assigns the name.
    * 
* * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The group. */ com.google.monitoring.v3.Group getGroup(); /** - * - * *
    * Required. A group definition. It is an error to define the `name` field because
    * the system assigns the name.
@@ -95,14 +62,11 @@ public interface CreateGroupRequestOrBuilder
   com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder();
 
   /**
-   *
-   *
    * 
    * If true, validate this request but do not create the group.
    * 
* * bool validate_only = 3; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateMetricDescriptorRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateMetricDescriptorRequest.java similarity index 64% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateMetricDescriptorRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateMetricDescriptorRequest.java index 254986b4..876ee6b2 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateMetricDescriptorRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateMetricDescriptorRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `CreateMetricDescriptor` request.
  * 
* * Protobuf type {@code google.monitoring.v3.CreateMetricDescriptorRequest} */ -public final class CreateMetricDescriptorRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateMetricDescriptorRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.CreateMetricDescriptorRequest) CreateMetricDescriptorRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateMetricDescriptorRequest.newBuilder() to construct. private CreateMetricDescriptorRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateMetricDescriptorRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateMetricDescriptorRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateMetricDescriptorRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,67 +53,60 @@ private CreateMetricDescriptorRequest( case 0: done = true; break; - case 18: - { - com.google.api.MetricDescriptor.Builder subBuilder = null; - if (metricDescriptor_ != null) { - subBuilder = metricDescriptor_.toBuilder(); - } - metricDescriptor_ = - input.readMessage(com.google.api.MetricDescriptor.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(metricDescriptor_); - metricDescriptor_ = subBuilder.buildPartial(); - } - - break; + case 18: { + com.google.api.MetricDescriptor.Builder subBuilder = null; + if (metricDescriptor_ != null) { + subBuilder = metricDescriptor_.toBuilder(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; + metricDescriptor_ = input.readMessage(com.google.api.MetricDescriptor.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(metricDescriptor_); + metricDescriptor_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_CreateMetricDescriptorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateMetricDescriptorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_CreateMetricDescriptorRequest_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateMetricDescriptorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateMetricDescriptorRequest.class, - com.google.monitoring.v3.CreateMetricDescriptorRequest.Builder.class); + com.google.monitoring.v3.CreateMetricDescriptorRequest.class, com.google.monitoring.v3.CreateMetricDescriptorRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
@@ -138,10 +114,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -150,15 +123,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
@@ -166,18 +138,17 @@ public java.lang.String getName() {
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -188,17 +159,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int METRIC_DESCRIPTOR_FIELD_NUMBER = 2; private com.google.api.MetricDescriptor metricDescriptor_; /** - * - * *
    * Required. The new [custom metric](https://cloud.google.com/monitoring/custom-metrics)
    * descriptor.
    * 
* - * - * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the metricDescriptor field is set. */ @java.lang.Override @@ -206,36 +172,25 @@ public boolean hasMetricDescriptor() { return metricDescriptor_ != null; } /** - * - * *
    * Required. The new [custom metric](https://cloud.google.com/monitoring/custom-metrics)
    * descriptor.
    * 
* - * - * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The metricDescriptor. */ @java.lang.Override public com.google.api.MetricDescriptor getMetricDescriptor() { - return metricDescriptor_ == null - ? com.google.api.MetricDescriptor.getDefaultInstance() - : metricDescriptor_; + return metricDescriptor_ == null ? com.google.api.MetricDescriptor.getDefaultInstance() : metricDescriptor_; } /** - * - * *
    * Required. The new [custom metric](https://cloud.google.com/monitoring/custom-metrics)
    * descriptor.
    * 
* - * - * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.api.MetricDescriptorOrBuilder getMetricDescriptorOrBuilder() { @@ -243,7 +198,6 @@ public com.google.api.MetricDescriptorOrBuilder getMetricDescriptorOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,7 +209,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 (metricDescriptor_ != null) { output.writeMessage(2, getMetricDescriptor()); } @@ -272,7 +227,8 @@ public int getSerializedSize() { size = 0; if (metricDescriptor_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMetricDescriptor()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getMetricDescriptor()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); @@ -285,18 +241,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.monitoring.v3.CreateMetricDescriptorRequest)) { return super.equals(obj); } - com.google.monitoring.v3.CreateMetricDescriptorRequest other = - (com.google.monitoring.v3.CreateMetricDescriptorRequest) obj; + com.google.monitoring.v3.CreateMetricDescriptorRequest other = (com.google.monitoring.v3.CreateMetricDescriptorRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasMetricDescriptor() != other.hasMetricDescriptor()) return false; if (hasMetricDescriptor()) { - if (!getMetricDescriptor().equals(other.getMetricDescriptor())) return false; + if (!getMetricDescriptor() + .equals(other.getMetricDescriptor())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -321,127 +278,117 @@ public int hashCode() { } public static com.google.monitoring.v3.CreateMetricDescriptorRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.CreateMetricDescriptorRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.CreateMetricDescriptorRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.CreateMetricDescriptorRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.CreateMetricDescriptorRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.CreateMetricDescriptorRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.CreateMetricDescriptorRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.CreateMetricDescriptorRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.CreateMetricDescriptorRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.CreateMetricDescriptorRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.CreateMetricDescriptorRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.CreateMetricDescriptorRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.CreateMetricDescriptorRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.CreateMetricDescriptorRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.CreateMetricDescriptorRequest prototype) { + public static Builder newBuilder(com.google.monitoring.v3.CreateMetricDescriptorRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 `CreateMetricDescriptor` request.
    * 
* * Protobuf type {@code google.monitoring.v3.CreateMetricDescriptorRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.CreateMetricDescriptorRequest) com.google.monitoring.v3.CreateMetricDescriptorRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_CreateMetricDescriptorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateMetricDescriptorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_CreateMetricDescriptorRequest_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateMetricDescriptorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateMetricDescriptorRequest.class, - com.google.monitoring.v3.CreateMetricDescriptorRequest.Builder.class); + com.google.monitoring.v3.CreateMetricDescriptorRequest.class, com.google.monitoring.v3.CreateMetricDescriptorRequest.Builder.class); } // Construct using com.google.monitoring.v3.CreateMetricDescriptorRequest.newBuilder() @@ -449,15 +396,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -473,9 +421,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_CreateMetricDescriptorRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateMetricDescriptorRequest_descriptor; } @java.lang.Override @@ -494,8 +442,7 @@ public com.google.monitoring.v3.CreateMetricDescriptorRequest build() { @java.lang.Override public com.google.monitoring.v3.CreateMetricDescriptorRequest buildPartial() { - com.google.monitoring.v3.CreateMetricDescriptorRequest result = - new com.google.monitoring.v3.CreateMetricDescriptorRequest(this); + com.google.monitoring.v3.CreateMetricDescriptorRequest result = new com.google.monitoring.v3.CreateMetricDescriptorRequest(this); result.name_ = name_; if (metricDescriptorBuilder_ == null) { result.metricDescriptor_ = metricDescriptor_; @@ -510,39 +457,38 @@ public com.google.monitoring.v3.CreateMetricDescriptorRequest 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.monitoring.v3.CreateMetricDescriptorRequest) { - return mergeFrom((com.google.monitoring.v3.CreateMetricDescriptorRequest) other); + return mergeFrom((com.google.monitoring.v3.CreateMetricDescriptorRequest)other); } else { super.mergeFrom(other); return this; @@ -550,8 +496,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.CreateMetricDescriptorRequest other) { - if (other == com.google.monitoring.v3.CreateMetricDescriptorRequest.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.CreateMetricDescriptorRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -578,8 +523,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.CreateMetricDescriptorRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.CreateMetricDescriptorRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -591,8 +535,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
@@ -600,16 +542,14 @@ public Builder mergeFrom(
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -618,8 +558,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
@@ -627,17 +565,16 @@ public java.lang.String getName() {
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -645,8 +582,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
@@ -654,25 +589,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
@@ -680,21 +611,16 @@ public Builder setName(java.lang.String value) {
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
@@ -702,19 +628,17 @@ public Builder clearName() {
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -722,61 +646,42 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.api.MetricDescriptor metricDescriptor_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.MetricDescriptor, - com.google.api.MetricDescriptor.Builder, - com.google.api.MetricDescriptorOrBuilder> - metricDescriptorBuilder_; + com.google.api.MetricDescriptor, com.google.api.MetricDescriptor.Builder, com.google.api.MetricDescriptorOrBuilder> metricDescriptorBuilder_; /** - * - * *
      * Required. The new [custom metric](https://cloud.google.com/monitoring/custom-metrics)
      * descriptor.
      * 
* - * - * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the metricDescriptor field is set. */ public boolean hasMetricDescriptor() { return metricDescriptorBuilder_ != null || metricDescriptor_ != null; } /** - * - * *
      * Required. The new [custom metric](https://cloud.google.com/monitoring/custom-metrics)
      * descriptor.
      * 
* - * - * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The metricDescriptor. */ public com.google.api.MetricDescriptor getMetricDescriptor() { if (metricDescriptorBuilder_ == null) { - return metricDescriptor_ == null - ? com.google.api.MetricDescriptor.getDefaultInstance() - : metricDescriptor_; + return metricDescriptor_ == null ? com.google.api.MetricDescriptor.getDefaultInstance() : metricDescriptor_; } else { return metricDescriptorBuilder_.getMessage(); } } /** - * - * *
      * Required. The new [custom metric](https://cloud.google.com/monitoring/custom-metrics)
      * descriptor.
      * 
* - * - * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setMetricDescriptor(com.google.api.MetricDescriptor value) { if (metricDescriptorBuilder_ == null) { @@ -792,18 +697,15 @@ public Builder setMetricDescriptor(com.google.api.MetricDescriptor value) { return this; } /** - * - * *
      * Required. The new [custom metric](https://cloud.google.com/monitoring/custom-metrics)
      * descriptor.
      * 
* - * - * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setMetricDescriptor(com.google.api.MetricDescriptor.Builder builderForValue) { + public Builder setMetricDescriptor( + com.google.api.MetricDescriptor.Builder builderForValue) { if (metricDescriptorBuilder_ == null) { metricDescriptor_ = builderForValue.build(); onChanged(); @@ -814,24 +716,18 @@ public Builder setMetricDescriptor(com.google.api.MetricDescriptor.Builder build return this; } /** - * - * *
      * Required. The new [custom metric](https://cloud.google.com/monitoring/custom-metrics)
      * descriptor.
      * 
* - * - * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeMetricDescriptor(com.google.api.MetricDescriptor value) { if (metricDescriptorBuilder_ == null) { if (metricDescriptor_ != null) { metricDescriptor_ = - com.google.api.MetricDescriptor.newBuilder(metricDescriptor_) - .mergeFrom(value) - .buildPartial(); + com.google.api.MetricDescriptor.newBuilder(metricDescriptor_).mergeFrom(value).buildPartial(); } else { metricDescriptor_ = value; } @@ -843,16 +739,12 @@ public Builder mergeMetricDescriptor(com.google.api.MetricDescriptor value) { return this; } /** - * - * *
      * Required. The new [custom metric](https://cloud.google.com/monitoring/custom-metrics)
      * descriptor.
      * 
* - * - * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearMetricDescriptor() { if (metricDescriptorBuilder_ == null) { @@ -866,74 +758,58 @@ public Builder clearMetricDescriptor() { return this; } /** - * - * *
      * Required. The new [custom metric](https://cloud.google.com/monitoring/custom-metrics)
      * descriptor.
      * 
* - * - * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.api.MetricDescriptor.Builder getMetricDescriptorBuilder() { - + onChanged(); return getMetricDescriptorFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The new [custom metric](https://cloud.google.com/monitoring/custom-metrics)
      * descriptor.
      * 
* - * - * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.api.MetricDescriptorOrBuilder getMetricDescriptorOrBuilder() { if (metricDescriptorBuilder_ != null) { return metricDescriptorBuilder_.getMessageOrBuilder(); } else { - return metricDescriptor_ == null - ? com.google.api.MetricDescriptor.getDefaultInstance() - : metricDescriptor_; + return metricDescriptor_ == null ? + com.google.api.MetricDescriptor.getDefaultInstance() : metricDescriptor_; } } /** - * - * *
      * Required. The new [custom metric](https://cloud.google.com/monitoring/custom-metrics)
      * descriptor.
      * 
* - * - * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.MetricDescriptor, - com.google.api.MetricDescriptor.Builder, - com.google.api.MetricDescriptorOrBuilder> + com.google.api.MetricDescriptor, com.google.api.MetricDescriptor.Builder, com.google.api.MetricDescriptorOrBuilder> getMetricDescriptorFieldBuilder() { if (metricDescriptorBuilder_ == null) { - metricDescriptorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.api.MetricDescriptor, - com.google.api.MetricDescriptor.Builder, - com.google.api.MetricDescriptorOrBuilder>( - getMetricDescriptor(), getParentForChildren(), isClean()); + metricDescriptorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.api.MetricDescriptor, com.google.api.MetricDescriptor.Builder, com.google.api.MetricDescriptorOrBuilder>( + getMetricDescriptor(), + getParentForChildren(), + isClean()); metricDescriptor_ = null; } return metricDescriptorBuilder_; } - @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); } @@ -943,12 +819,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.CreateMetricDescriptorRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.CreateMetricDescriptorRequest) private static final com.google.monitoring.v3.CreateMetricDescriptorRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.CreateMetricDescriptorRequest(); } @@ -957,16 +833,16 @@ public static com.google.monitoring.v3.CreateMetricDescriptorRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateMetricDescriptorRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateMetricDescriptorRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateMetricDescriptorRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateMetricDescriptorRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -981,4 +857,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.monitoring.v3.CreateMetricDescriptorRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateMetricDescriptorRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateMetricDescriptorRequestOrBuilder.java similarity index 52% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateMetricDescriptorRequestOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateMetricDescriptorRequestOrBuilder.java index 77302acb..817cca68 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateMetricDescriptorRequestOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateMetricDescriptorRequestOrBuilder.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/monitoring/v3/metric_service.proto package com.google.monitoring.v3; -public interface CreateMetricDescriptorRequestOrBuilder - extends +public interface CreateMetricDescriptorRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.CreateMetricDescriptorRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
@@ -33,16 +15,11 @@ public interface CreateMetricDescriptorRequestOrBuilder
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
@@ -50,55 +27,39 @@ public interface CreateMetricDescriptorRequestOrBuilder
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The new [custom metric](https://cloud.google.com/monitoring/custom-metrics)
    * descriptor.
    * 
* - * - * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the metricDescriptor field is set. */ boolean hasMetricDescriptor(); /** - * - * *
    * Required. The new [custom metric](https://cloud.google.com/monitoring/custom-metrics)
    * descriptor.
    * 
* - * - * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The metricDescriptor. */ com.google.api.MetricDescriptor getMetricDescriptor(); /** - * - * *
    * Required. The new [custom metric](https://cloud.google.com/monitoring/custom-metrics)
    * descriptor.
    * 
* - * - * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.api.MetricDescriptorOrBuilder getMetricDescriptorOrBuilder(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateNotificationChannelRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateNotificationChannelRequest.java similarity index 65% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateNotificationChannelRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateNotificationChannelRequest.java index 06a0d534..d789e3c3 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateNotificationChannelRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateNotificationChannelRequest.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/notification_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `CreateNotificationChannel` request.
  * 
* * Protobuf type {@code google.monitoring.v3.CreateNotificationChannelRequest} */ -public final class CreateNotificationChannelRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateNotificationChannelRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.CreateNotificationChannelRequest) CreateNotificationChannelRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateNotificationChannelRequest.newBuilder() to construct. - private CreateNotificationChannelRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateNotificationChannelRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateNotificationChannelRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateNotificationChannelRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateNotificationChannelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,68 +53,60 @@ private CreateNotificationChannelRequest( case 0: done = true; break; - case 18: - { - com.google.monitoring.v3.NotificationChannel.Builder subBuilder = null; - if (notificationChannel_ != null) { - subBuilder = notificationChannel_.toBuilder(); - } - notificationChannel_ = - input.readMessage( - com.google.monitoring.v3.NotificationChannel.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(notificationChannel_); - notificationChannel_ = subBuilder.buildPartial(); - } - - break; + case 18: { + com.google.monitoring.v3.NotificationChannel.Builder subBuilder = null; + if (notificationChannel_ != null) { + subBuilder = notificationChannel_.toBuilder(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; + notificationChannel_ = input.readMessage(com.google.monitoring.v3.NotificationChannel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(notificationChannel_); + notificationChannel_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_CreateNotificationChannelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_CreateNotificationChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_CreateNotificationChannelRequest_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_CreateNotificationChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateNotificationChannelRequest.class, - com.google.monitoring.v3.CreateNotificationChannelRequest.Builder.class); + com.google.monitoring.v3.CreateNotificationChannelRequest.class, com.google.monitoring.v3.CreateNotificationChannelRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
@@ -143,10 +117,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * but will add `/notificationChannels/[CHANNEL_ID]` to identify the channel.
    * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -155,15 +126,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
@@ -174,18 +144,17 @@ public java.lang.String getName() {
    * but will add `/notificationChannels/[CHANNEL_ID]` to identify the channel.
    * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -196,16 +165,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int NOTIFICATION_CHANNEL_FIELD_NUMBER = 2; private com.google.monitoring.v3.NotificationChannel notificationChannel_; /** - * - * *
    * Required. The definition of the `NotificationChannel` to create.
    * 
* - * - * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the notificationChannel field is set. */ @java.lang.Override @@ -213,34 +177,23 @@ public boolean hasNotificationChannel() { return notificationChannel_ != null; } /** - * - * *
    * Required. The definition of the `NotificationChannel` to create.
    * 
* - * - * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The notificationChannel. */ @java.lang.Override public com.google.monitoring.v3.NotificationChannel getNotificationChannel() { - return notificationChannel_ == null - ? com.google.monitoring.v3.NotificationChannel.getDefaultInstance() - : notificationChannel_; + return notificationChannel_ == null ? com.google.monitoring.v3.NotificationChannel.getDefaultInstance() : notificationChannel_; } /** - * - * *
    * Required. The definition of the `NotificationChannel` to create.
    * 
* - * - * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChannelOrBuilder() { @@ -248,7 +201,6 @@ public com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChan } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -260,7 +212,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (notificationChannel_ != null) { output.writeMessage(2, getNotificationChannel()); } @@ -277,7 +230,8 @@ public int getSerializedSize() { size = 0; if (notificationChannel_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getNotificationChannel()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getNotificationChannel()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); @@ -290,18 +244,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.monitoring.v3.CreateNotificationChannelRequest)) { return super.equals(obj); } - com.google.monitoring.v3.CreateNotificationChannelRequest other = - (com.google.monitoring.v3.CreateNotificationChannelRequest) obj; + com.google.monitoring.v3.CreateNotificationChannelRequest other = (com.google.monitoring.v3.CreateNotificationChannelRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasNotificationChannel() != other.hasNotificationChannel()) return false; if (hasNotificationChannel()) { - if (!getNotificationChannel().equals(other.getNotificationChannel())) return false; + if (!getNotificationChannel() + .equals(other.getNotificationChannel())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -326,127 +281,117 @@ public int hashCode() { } public static com.google.monitoring.v3.CreateNotificationChannelRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.CreateNotificationChannelRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.CreateNotificationChannelRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.CreateNotificationChannelRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.CreateNotificationChannelRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.CreateNotificationChannelRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.CreateNotificationChannelRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.CreateNotificationChannelRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.CreateNotificationChannelRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.CreateNotificationChannelRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.CreateNotificationChannelRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.CreateNotificationChannelRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.CreateNotificationChannelRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.CreateNotificationChannelRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.CreateNotificationChannelRequest prototype) { + public static Builder newBuilder(com.google.monitoring.v3.CreateNotificationChannelRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 `CreateNotificationChannel` request.
    * 
* * Protobuf type {@code google.monitoring.v3.CreateNotificationChannelRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.CreateNotificationChannelRequest) com.google.monitoring.v3.CreateNotificationChannelRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_CreateNotificationChannelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_CreateNotificationChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_CreateNotificationChannelRequest_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_CreateNotificationChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateNotificationChannelRequest.class, - com.google.monitoring.v3.CreateNotificationChannelRequest.Builder.class); + com.google.monitoring.v3.CreateNotificationChannelRequest.class, com.google.monitoring.v3.CreateNotificationChannelRequest.Builder.class); } // Construct using com.google.monitoring.v3.CreateNotificationChannelRequest.newBuilder() @@ -454,15 +399,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -478,9 +424,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_CreateNotificationChannelRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_CreateNotificationChannelRequest_descriptor; } @java.lang.Override @@ -499,8 +445,7 @@ public com.google.monitoring.v3.CreateNotificationChannelRequest build() { @java.lang.Override public com.google.monitoring.v3.CreateNotificationChannelRequest buildPartial() { - com.google.monitoring.v3.CreateNotificationChannelRequest result = - new com.google.monitoring.v3.CreateNotificationChannelRequest(this); + com.google.monitoring.v3.CreateNotificationChannelRequest result = new com.google.monitoring.v3.CreateNotificationChannelRequest(this); result.name_ = name_; if (notificationChannelBuilder_ == null) { result.notificationChannel_ = notificationChannel_; @@ -515,39 +460,38 @@ public com.google.monitoring.v3.CreateNotificationChannelRequest 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.monitoring.v3.CreateNotificationChannelRequest) { - return mergeFrom((com.google.monitoring.v3.CreateNotificationChannelRequest) other); + return mergeFrom((com.google.monitoring.v3.CreateNotificationChannelRequest)other); } else { super.mergeFrom(other); return this; @@ -555,8 +499,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.CreateNotificationChannelRequest other) { - if (other == com.google.monitoring.v3.CreateNotificationChannelRequest.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.CreateNotificationChannelRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -583,8 +526,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.CreateNotificationChannelRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.CreateNotificationChannelRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -596,8 +538,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
@@ -608,16 +548,14 @@ public Builder mergeFrom(
      * but will add `/notificationChannels/[CHANNEL_ID]` to identify the channel.
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -626,8 +564,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
@@ -638,17 +574,16 @@ public java.lang.String getName() {
      * but will add `/notificationChannels/[CHANNEL_ID]` to identify the channel.
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -656,8 +591,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
@@ -668,25 +601,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * but will add `/notificationChannels/[CHANNEL_ID]` to identify the channel.
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
@@ -697,21 +626,16 @@ public Builder setName(java.lang.String value) {
      * but will add `/notificationChannels/[CHANNEL_ID]` to identify the channel.
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
@@ -722,19 +646,17 @@ public Builder clearName() {
      * but will add `/notificationChannels/[CHANNEL_ID]` to identify the channel.
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -742,58 +664,39 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.monitoring.v3.NotificationChannel notificationChannel_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.NotificationChannel, - com.google.monitoring.v3.NotificationChannel.Builder, - com.google.monitoring.v3.NotificationChannelOrBuilder> - notificationChannelBuilder_; + com.google.monitoring.v3.NotificationChannel, com.google.monitoring.v3.NotificationChannel.Builder, com.google.monitoring.v3.NotificationChannelOrBuilder> notificationChannelBuilder_; /** - * - * *
      * Required. The definition of the `NotificationChannel` to create.
      * 
* - * - * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the notificationChannel field is set. */ public boolean hasNotificationChannel() { return notificationChannelBuilder_ != null || notificationChannel_ != null; } /** - * - * *
      * Required. The definition of the `NotificationChannel` to create.
      * 
* - * - * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The notificationChannel. */ public com.google.monitoring.v3.NotificationChannel getNotificationChannel() { if (notificationChannelBuilder_ == null) { - return notificationChannel_ == null - ? com.google.monitoring.v3.NotificationChannel.getDefaultInstance() - : notificationChannel_; + return notificationChannel_ == null ? com.google.monitoring.v3.NotificationChannel.getDefaultInstance() : notificationChannel_; } else { return notificationChannelBuilder_.getMessage(); } } /** - * - * *
      * Required. The definition of the `NotificationChannel` to create.
      * 
* - * - * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setNotificationChannel(com.google.monitoring.v3.NotificationChannel value) { if (notificationChannelBuilder_ == null) { @@ -809,15 +712,11 @@ public Builder setNotificationChannel(com.google.monitoring.v3.NotificationChann return this; } /** - * - * *
      * Required. The definition of the `NotificationChannel` to create.
      * 
* - * - * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setNotificationChannel( com.google.monitoring.v3.NotificationChannel.Builder builderForValue) { @@ -831,23 +730,17 @@ public Builder setNotificationChannel( return this; } /** - * - * *
      * Required. The definition of the `NotificationChannel` to create.
      * 
* - * - * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeNotificationChannel(com.google.monitoring.v3.NotificationChannel value) { if (notificationChannelBuilder_ == null) { if (notificationChannel_ != null) { notificationChannel_ = - com.google.monitoring.v3.NotificationChannel.newBuilder(notificationChannel_) - .mergeFrom(value) - .buildPartial(); + com.google.monitoring.v3.NotificationChannel.newBuilder(notificationChannel_).mergeFrom(value).buildPartial(); } else { notificationChannel_ = value; } @@ -859,15 +752,11 @@ public Builder mergeNotificationChannel(com.google.monitoring.v3.NotificationCha return this; } /** - * - * *
      * Required. The definition of the `NotificationChannel` to create.
      * 
* - * - * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearNotificationChannel() { if (notificationChannelBuilder_ == null) { @@ -881,71 +770,55 @@ public Builder clearNotificationChannel() { return this; } /** - * - * *
      * Required. The definition of the `NotificationChannel` to create.
      * 
* - * - * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.monitoring.v3.NotificationChannel.Builder getNotificationChannelBuilder() { - + onChanged(); return getNotificationChannelFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The definition of the `NotificationChannel` to create.
      * 
* - * - * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChannelOrBuilder() { if (notificationChannelBuilder_ != null) { return notificationChannelBuilder_.getMessageOrBuilder(); } else { - return notificationChannel_ == null - ? com.google.monitoring.v3.NotificationChannel.getDefaultInstance() - : notificationChannel_; + return notificationChannel_ == null ? + com.google.monitoring.v3.NotificationChannel.getDefaultInstance() : notificationChannel_; } } /** - * - * *
      * Required. The definition of the `NotificationChannel` to create.
      * 
* - * - * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.NotificationChannel, - com.google.monitoring.v3.NotificationChannel.Builder, - com.google.monitoring.v3.NotificationChannelOrBuilder> + com.google.monitoring.v3.NotificationChannel, com.google.monitoring.v3.NotificationChannel.Builder, com.google.monitoring.v3.NotificationChannelOrBuilder> getNotificationChannelFieldBuilder() { if (notificationChannelBuilder_ == null) { - notificationChannelBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.NotificationChannel, - com.google.monitoring.v3.NotificationChannel.Builder, - com.google.monitoring.v3.NotificationChannelOrBuilder>( - getNotificationChannel(), getParentForChildren(), isClean()); + notificationChannelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.NotificationChannel, com.google.monitoring.v3.NotificationChannel.Builder, com.google.monitoring.v3.NotificationChannelOrBuilder>( + getNotificationChannel(), + getParentForChildren(), + isClean()); notificationChannel_ = null; } return notificationChannelBuilder_; } - @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); } @@ -955,12 +828,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.CreateNotificationChannelRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.CreateNotificationChannelRequest) private static final com.google.monitoring.v3.CreateNotificationChannelRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.CreateNotificationChannelRequest(); } @@ -969,16 +842,16 @@ public static com.google.monitoring.v3.CreateNotificationChannelRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateNotificationChannelRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateNotificationChannelRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateNotificationChannelRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateNotificationChannelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -993,4 +866,6 @@ public com.google.protobuf.Parser getParserFor public com.google.monitoring.v3.CreateNotificationChannelRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateNotificationChannelRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateNotificationChannelRequestOrBuilder.java similarity index 58% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateNotificationChannelRequestOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateNotificationChannelRequestOrBuilder.java index f85deb79..97fcf031 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateNotificationChannelRequestOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateNotificationChannelRequestOrBuilder.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/monitoring/v3/notification_service.proto package com.google.monitoring.v3; -public interface CreateNotificationChannelRequestOrBuilder - extends +public interface CreateNotificationChannelRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.CreateNotificationChannelRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
@@ -36,16 +18,11 @@ public interface CreateNotificationChannelRequestOrBuilder
    * but will add `/notificationChannels/[CHANNEL_ID]` to identify the channel.
    * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
@@ -56,52 +33,36 @@ public interface CreateNotificationChannelRequestOrBuilder
    * but will add `/notificationChannels/[CHANNEL_ID]` to identify the channel.
    * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The definition of the `NotificationChannel` to create.
    * 
* - * - * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the notificationChannel field is set. */ boolean hasNotificationChannel(); /** - * - * *
    * Required. The definition of the `NotificationChannel` to create.
    * 
* - * - * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The notificationChannel. */ com.google.monitoring.v3.NotificationChannel getNotificationChannel(); /** - * - * *
    * Required. The definition of the `NotificationChannel` to create.
    * 
* - * - * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChannelOrBuilder(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceLevelObjectiveRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceLevelObjectiveRequest.java similarity index 66% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceLevelObjectiveRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceLevelObjectiveRequest.java index 65019b59..188331b1 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceLevelObjectiveRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceLevelObjectiveRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/service_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `CreateServiceLevelObjective` request.
  * 
* * Protobuf type {@code google.monitoring.v3.CreateServiceLevelObjectiveRequest} */ -public final class CreateServiceLevelObjectiveRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateServiceLevelObjectiveRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.CreateServiceLevelObjectiveRequest) CreateServiceLevelObjectiveRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateServiceLevelObjectiveRequest.newBuilder() to construct. - private CreateServiceLevelObjectiveRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateServiceLevelObjectiveRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateServiceLevelObjectiveRequest() { parent_ = ""; serviceLevelObjectiveId_ = ""; @@ -45,15 +26,16 @@ private CreateServiceLevelObjectiveRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateServiceLevelObjectiveRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateServiceLevelObjectiveRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,84 +54,72 @@ private CreateServiceLevelObjectiveRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.monitoring.v3.ServiceLevelObjective.Builder subBuilder = null; + if (serviceLevelObjective_ != null) { + subBuilder = serviceLevelObjective_.toBuilder(); } - case 18: - { - com.google.monitoring.v3.ServiceLevelObjective.Builder subBuilder = null; - if (serviceLevelObjective_ != null) { - subBuilder = serviceLevelObjective_.toBuilder(); - } - serviceLevelObjective_ = - input.readMessage( - com.google.monitoring.v3.ServiceLevelObjective.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(serviceLevelObjective_); - serviceLevelObjective_ = subBuilder.buildPartial(); - } - - break; + serviceLevelObjective_ = input.readMessage(com.google.monitoring.v3.ServiceLevelObjective.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(serviceLevelObjective_); + serviceLevelObjective_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - serviceLevelObjectiveId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + serviceLevelObjectiveId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_CreateServiceLevelObjectiveRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_CreateServiceLevelObjectiveRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_CreateServiceLevelObjectiveRequest_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_CreateServiceLevelObjectiveRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateServiceLevelObjectiveRequest.class, - com.google.monitoring.v3.CreateServiceLevelObjectiveRequest.Builder.class); + com.google.monitoring.v3.CreateServiceLevelObjectiveRequest.class, com.google.monitoring.v3.CreateServiceLevelObjectiveRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Resource name of the parent `Service`. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -158,32 +128,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Resource name of the parent `Service`. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -194,8 +162,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int SERVICE_LEVEL_OBJECTIVE_ID_FIELD_NUMBER = 3; private volatile java.lang.Object serviceLevelObjectiveId_; /** - * - * *
    * Optional. The ServiceLevelObjective id to use for this
    * ServiceLevelObjective. If omitted, an id will be generated instead. Must
@@ -203,7 +169,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string service_level_objective_id = 3; - * * @return The serviceLevelObjectiveId. */ @java.lang.Override @@ -212,15 +177,14 @@ public java.lang.String getServiceLevelObjectiveId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceLevelObjectiveId_ = s; return s; } } /** - * - * *
    * Optional. The ServiceLevelObjective id to use for this
    * ServiceLevelObjective. If omitted, an id will be generated instead. Must
@@ -228,15 +192,16 @@ public java.lang.String getServiceLevelObjectiveId() {
    * 
* * string service_level_objective_id = 3; - * * @return The bytes for serviceLevelObjectiveId. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceLevelObjectiveIdBytes() { + public com.google.protobuf.ByteString + getServiceLevelObjectiveIdBytes() { java.lang.Object ref = serviceLevelObjectiveId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceLevelObjectiveId_ = b; return b; } else { @@ -247,18 +212,13 @@ public com.google.protobuf.ByteString getServiceLevelObjectiveIdBytes() { public static final int SERVICE_LEVEL_OBJECTIVE_FIELD_NUMBER = 2; private com.google.monitoring.v3.ServiceLevelObjective serviceLevelObjective_; /** - * - * *
    * Required. The `ServiceLevelObjective` to create.
    * The provided `name` will be respected if no `ServiceLevelObjective` exists
    * with this name.
    * 
* - * - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the serviceLevelObjective field is set. */ @java.lang.Override @@ -266,47 +226,34 @@ public boolean hasServiceLevelObjective() { return serviceLevelObjective_ != null; } /** - * - * *
    * Required. The `ServiceLevelObjective` to create.
    * The provided `name` will be respected if no `ServiceLevelObjective` exists
    * with this name.
    * 
* - * - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The serviceLevelObjective. */ @java.lang.Override public com.google.monitoring.v3.ServiceLevelObjective getServiceLevelObjective() { - return serviceLevelObjective_ == null - ? com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance() - : serviceLevelObjective_; + return serviceLevelObjective_ == null ? com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance() : serviceLevelObjective_; } /** - * - * *
    * Required. The `ServiceLevelObjective` to create.
    * The provided `name` will be respected if no `ServiceLevelObjective` exists
    * with this name.
    * 
* - * - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder - getServiceLevelObjectiveOrBuilder() { + public com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder getServiceLevelObjectiveOrBuilder() { return getServiceLevelObjective(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -318,7 +265,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -341,8 +289,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (serviceLevelObjective_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(2, getServiceLevelObjective()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getServiceLevelObjective()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceLevelObjectiveId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, serviceLevelObjectiveId_); @@ -355,19 +303,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.monitoring.v3.CreateServiceLevelObjectiveRequest)) { return super.equals(obj); } - com.google.monitoring.v3.CreateServiceLevelObjectiveRequest other = - (com.google.monitoring.v3.CreateServiceLevelObjectiveRequest) obj; + com.google.monitoring.v3.CreateServiceLevelObjectiveRequest other = (com.google.monitoring.v3.CreateServiceLevelObjectiveRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getServiceLevelObjectiveId().equals(other.getServiceLevelObjectiveId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getServiceLevelObjectiveId() + .equals(other.getServiceLevelObjectiveId())) return false; if (hasServiceLevelObjective() != other.hasServiceLevelObjective()) return false; if (hasServiceLevelObjective()) { - if (!getServiceLevelObjective().equals(other.getServiceLevelObjective())) return false; + if (!getServiceLevelObjective() + .equals(other.getServiceLevelObjective())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -394,127 +344,117 @@ public int hashCode() { } public static com.google.monitoring.v3.CreateServiceLevelObjectiveRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.CreateServiceLevelObjectiveRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.CreateServiceLevelObjectiveRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.CreateServiceLevelObjectiveRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.CreateServiceLevelObjectiveRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.CreateServiceLevelObjectiveRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.CreateServiceLevelObjectiveRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.CreateServiceLevelObjectiveRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.CreateServiceLevelObjectiveRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.CreateServiceLevelObjectiveRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.CreateServiceLevelObjectiveRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.CreateServiceLevelObjectiveRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.CreateServiceLevelObjectiveRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.CreateServiceLevelObjectiveRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.CreateServiceLevelObjectiveRequest prototype) { + public static Builder newBuilder(com.google.monitoring.v3.CreateServiceLevelObjectiveRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 `CreateServiceLevelObjective` request.
    * 
* * Protobuf type {@code google.monitoring.v3.CreateServiceLevelObjectiveRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.CreateServiceLevelObjectiveRequest) com.google.monitoring.v3.CreateServiceLevelObjectiveRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_CreateServiceLevelObjectiveRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_CreateServiceLevelObjectiveRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_CreateServiceLevelObjectiveRequest_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_CreateServiceLevelObjectiveRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateServiceLevelObjectiveRequest.class, - com.google.monitoring.v3.CreateServiceLevelObjectiveRequest.Builder.class); + com.google.monitoring.v3.CreateServiceLevelObjectiveRequest.class, com.google.monitoring.v3.CreateServiceLevelObjectiveRequest.Builder.class); } // Construct using com.google.monitoring.v3.CreateServiceLevelObjectiveRequest.newBuilder() @@ -522,15 +462,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -548,9 +489,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_CreateServiceLevelObjectiveRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_CreateServiceLevelObjectiveRequest_descriptor; } @java.lang.Override @@ -569,8 +510,7 @@ public com.google.monitoring.v3.CreateServiceLevelObjectiveRequest build() { @java.lang.Override public com.google.monitoring.v3.CreateServiceLevelObjectiveRequest buildPartial() { - com.google.monitoring.v3.CreateServiceLevelObjectiveRequest result = - new com.google.monitoring.v3.CreateServiceLevelObjectiveRequest(this); + com.google.monitoring.v3.CreateServiceLevelObjectiveRequest result = new com.google.monitoring.v3.CreateServiceLevelObjectiveRequest(this); result.parent_ = parent_; result.serviceLevelObjectiveId_ = serviceLevelObjectiveId_; if (serviceLevelObjectiveBuilder_ == null) { @@ -586,39 +526,38 @@ public com.google.monitoring.v3.CreateServiceLevelObjectiveRequest 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.monitoring.v3.CreateServiceLevelObjectiveRequest) { - return mergeFrom((com.google.monitoring.v3.CreateServiceLevelObjectiveRequest) other); + return mergeFrom((com.google.monitoring.v3.CreateServiceLevelObjectiveRequest)other); } else { super.mergeFrom(other); return this; @@ -626,8 +565,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.CreateServiceLevelObjectiveRequest other) { - if (other == com.google.monitoring.v3.CreateServiceLevelObjectiveRequest.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.CreateServiceLevelObjectiveRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -658,8 +596,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.CreateServiceLevelObjectiveRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.CreateServiceLevelObjectiveRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -671,23 +608,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Resource name of the parent `Service`. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -696,24 +629,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of the parent `Service`. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -721,70 +651,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of the parent `Service`. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the parent `Service`. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the parent `Service`. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -792,8 +709,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object serviceLevelObjectiveId_ = ""; /** - * - * *
      * Optional. The ServiceLevelObjective id to use for this
      * ServiceLevelObjective. If omitted, an id will be generated instead. Must
@@ -801,13 +716,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string service_level_objective_id = 3; - * * @return The serviceLevelObjectiveId. */ public java.lang.String getServiceLevelObjectiveId() { java.lang.Object ref = serviceLevelObjectiveId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceLevelObjectiveId_ = s; return s; @@ -816,8 +731,6 @@ public java.lang.String getServiceLevelObjectiveId() { } } /** - * - * *
      * Optional. The ServiceLevelObjective id to use for this
      * ServiceLevelObjective. If omitted, an id will be generated instead. Must
@@ -825,14 +738,15 @@ public java.lang.String getServiceLevelObjectiveId() {
      * 
* * string service_level_objective_id = 3; - * * @return The bytes for serviceLevelObjectiveId. */ - public com.google.protobuf.ByteString getServiceLevelObjectiveIdBytes() { + public com.google.protobuf.ByteString + getServiceLevelObjectiveIdBytes() { java.lang.Object ref = serviceLevelObjectiveId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceLevelObjectiveId_ = b; return b; } else { @@ -840,8 +754,6 @@ public com.google.protobuf.ByteString getServiceLevelObjectiveIdBytes() { } } /** - * - * *
      * Optional. The ServiceLevelObjective id to use for this
      * ServiceLevelObjective. If omitted, an id will be generated instead. Must
@@ -849,22 +761,20 @@ public com.google.protobuf.ByteString getServiceLevelObjectiveIdBytes() {
      * 
* * string service_level_objective_id = 3; - * * @param value The serviceLevelObjectiveId to set. * @return This builder for chaining. */ - public Builder setServiceLevelObjectiveId(java.lang.String value) { + public Builder setServiceLevelObjectiveId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceLevelObjectiveId_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The ServiceLevelObjective id to use for this
      * ServiceLevelObjective. If omitted, an id will be generated instead. Must
@@ -872,18 +782,15 @@ public Builder setServiceLevelObjectiveId(java.lang.String value) {
      * 
* * string service_level_objective_id = 3; - * * @return This builder for chaining. */ public Builder clearServiceLevelObjectiveId() { - + serviceLevelObjectiveId_ = getDefaultInstance().getServiceLevelObjectiveId(); onChanged(); return this; } /** - * - * *
      * Optional. The ServiceLevelObjective id to use for this
      * ServiceLevelObjective. If omitted, an id will be generated instead. Must
@@ -891,16 +798,16 @@ public Builder clearServiceLevelObjectiveId() {
      * 
* * string service_level_objective_id = 3; - * * @param value The bytes for serviceLevelObjectiveId to set. * @return This builder for chaining. */ - public Builder setServiceLevelObjectiveIdBytes(com.google.protobuf.ByteString value) { + public Builder setServiceLevelObjectiveIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceLevelObjectiveId_ = value; onChanged(); return this; @@ -908,64 +815,45 @@ public Builder setServiceLevelObjectiveIdBytes(com.google.protobuf.ByteString va private com.google.monitoring.v3.ServiceLevelObjective serviceLevelObjective_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.ServiceLevelObjective, - com.google.monitoring.v3.ServiceLevelObjective.Builder, - com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder> - serviceLevelObjectiveBuilder_; + com.google.monitoring.v3.ServiceLevelObjective, com.google.monitoring.v3.ServiceLevelObjective.Builder, com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder> serviceLevelObjectiveBuilder_; /** - * - * *
      * Required. The `ServiceLevelObjective` to create.
      * The provided `name` will be respected if no `ServiceLevelObjective` exists
      * with this name.
      * 
* - * - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the serviceLevelObjective field is set. */ public boolean hasServiceLevelObjective() { return serviceLevelObjectiveBuilder_ != null || serviceLevelObjective_ != null; } /** - * - * *
      * Required. The `ServiceLevelObjective` to create.
      * The provided `name` will be respected if no `ServiceLevelObjective` exists
      * with this name.
      * 
* - * - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The serviceLevelObjective. */ public com.google.monitoring.v3.ServiceLevelObjective getServiceLevelObjective() { if (serviceLevelObjectiveBuilder_ == null) { - return serviceLevelObjective_ == null - ? com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance() - : serviceLevelObjective_; + return serviceLevelObjective_ == null ? com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance() : serviceLevelObjective_; } else { return serviceLevelObjectiveBuilder_.getMessage(); } } /** - * - * *
      * Required. The `ServiceLevelObjective` to create.
      * The provided `name` will be respected if no `ServiceLevelObjective` exists
      * with this name.
      * 
* - * - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setServiceLevelObjective(com.google.monitoring.v3.ServiceLevelObjective value) { if (serviceLevelObjectiveBuilder_ == null) { @@ -981,17 +869,13 @@ public Builder setServiceLevelObjective(com.google.monitoring.v3.ServiceLevelObj return this; } /** - * - * *
      * Required. The `ServiceLevelObjective` to create.
      * The provided `name` will be respected if no `ServiceLevelObjective` exists
      * with this name.
      * 
* - * - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setServiceLevelObjective( com.google.monitoring.v3.ServiceLevelObjective.Builder builderForValue) { @@ -1005,26 +889,19 @@ public Builder setServiceLevelObjective( return this; } /** - * - * *
      * Required. The `ServiceLevelObjective` to create.
      * The provided `name` will be respected if no `ServiceLevelObjective` exists
      * with this name.
      * 
* - * - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeServiceLevelObjective( - com.google.monitoring.v3.ServiceLevelObjective value) { + public Builder mergeServiceLevelObjective(com.google.monitoring.v3.ServiceLevelObjective value) { if (serviceLevelObjectiveBuilder_ == null) { if (serviceLevelObjective_ != null) { serviceLevelObjective_ = - com.google.monitoring.v3.ServiceLevelObjective.newBuilder(serviceLevelObjective_) - .mergeFrom(value) - .buildPartial(); + com.google.monitoring.v3.ServiceLevelObjective.newBuilder(serviceLevelObjective_).mergeFrom(value).buildPartial(); } else { serviceLevelObjective_ = value; } @@ -1036,17 +913,13 @@ public Builder mergeServiceLevelObjective( return this; } /** - * - * *
      * Required. The `ServiceLevelObjective` to create.
      * The provided `name` will be respected if no `ServiceLevelObjective` exists
      * with this name.
      * 
* - * - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearServiceLevelObjective() { if (serviceLevelObjectiveBuilder_ == null) { @@ -1060,79 +933,61 @@ public Builder clearServiceLevelObjective() { return this; } /** - * - * *
      * Required. The `ServiceLevelObjective` to create.
      * The provided `name` will be respected if no `ServiceLevelObjective` exists
      * with this name.
      * 
* - * - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.monitoring.v3.ServiceLevelObjective.Builder - getServiceLevelObjectiveBuilder() { - + public com.google.monitoring.v3.ServiceLevelObjective.Builder getServiceLevelObjectiveBuilder() { + onChanged(); return getServiceLevelObjectiveFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The `ServiceLevelObjective` to create.
      * The provided `name` will be respected if no `ServiceLevelObjective` exists
      * with this name.
      * 
* - * - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder - getServiceLevelObjectiveOrBuilder() { + public com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder getServiceLevelObjectiveOrBuilder() { if (serviceLevelObjectiveBuilder_ != null) { return serviceLevelObjectiveBuilder_.getMessageOrBuilder(); } else { - return serviceLevelObjective_ == null - ? com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance() - : serviceLevelObjective_; + return serviceLevelObjective_ == null ? + com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance() : serviceLevelObjective_; } } /** - * - * *
      * Required. The `ServiceLevelObjective` to create.
      * The provided `name` will be respected if no `ServiceLevelObjective` exists
      * with this name.
      * 
* - * - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.ServiceLevelObjective, - com.google.monitoring.v3.ServiceLevelObjective.Builder, - com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder> + com.google.monitoring.v3.ServiceLevelObjective, com.google.monitoring.v3.ServiceLevelObjective.Builder, com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder> getServiceLevelObjectiveFieldBuilder() { if (serviceLevelObjectiveBuilder_ == null) { - serviceLevelObjectiveBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.ServiceLevelObjective, - com.google.monitoring.v3.ServiceLevelObjective.Builder, - com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder>( - getServiceLevelObjective(), getParentForChildren(), isClean()); + serviceLevelObjectiveBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.ServiceLevelObjective, com.google.monitoring.v3.ServiceLevelObjective.Builder, com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder>( + getServiceLevelObjective(), + getParentForChildren(), + isClean()); serviceLevelObjective_ = null; } return serviceLevelObjectiveBuilder_; } - @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); } @@ -1142,12 +997,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.CreateServiceLevelObjectiveRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.CreateServiceLevelObjectiveRequest) private static final com.google.monitoring.v3.CreateServiceLevelObjectiveRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.CreateServiceLevelObjectiveRequest(); } @@ -1156,16 +1011,16 @@ public static com.google.monitoring.v3.CreateServiceLevelObjectiveRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateServiceLevelObjectiveRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateServiceLevelObjectiveRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateServiceLevelObjectiveRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateServiceLevelObjectiveRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1180,4 +1035,6 @@ public com.google.protobuf.Parser getParserF public com.google.monitoring.v3.CreateServiceLevelObjectiveRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceLevelObjectiveRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceLevelObjectiveRequestOrBuilder.java similarity index 59% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceLevelObjectiveRequestOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceLevelObjectiveRequestOrBuilder.java index 488f0661..ac19543a 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceLevelObjectiveRequestOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceLevelObjectiveRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/service_service.proto package com.google.monitoring.v3; -public interface CreateServiceLevelObjectiveRequestOrBuilder - extends +public interface CreateServiceLevelObjectiveRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.CreateServiceLevelObjectiveRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the parent `Service`. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Resource name of the parent `Service`. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Optional. The ServiceLevelObjective id to use for this
    * ServiceLevelObjective. If omitted, an id will be generated instead. Must
@@ -64,13 +37,10 @@ public interface CreateServiceLevelObjectiveRequestOrBuilder
    * 
* * string service_level_objective_id = 3; - * * @return The serviceLevelObjectiveId. */ java.lang.String getServiceLevelObjectiveId(); /** - * - * *
    * Optional. The ServiceLevelObjective id to use for this
    * ServiceLevelObjective. If omitted, an id will be generated instead. Must
@@ -78,55 +48,41 @@ public interface CreateServiceLevelObjectiveRequestOrBuilder
    * 
* * string service_level_objective_id = 3; - * * @return The bytes for serviceLevelObjectiveId. */ - com.google.protobuf.ByteString getServiceLevelObjectiveIdBytes(); + com.google.protobuf.ByteString + getServiceLevelObjectiveIdBytes(); /** - * - * *
    * Required. The `ServiceLevelObjective` to create.
    * The provided `name` will be respected if no `ServiceLevelObjective` exists
    * with this name.
    * 
* - * - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the serviceLevelObjective field is set. */ boolean hasServiceLevelObjective(); /** - * - * *
    * Required. The `ServiceLevelObjective` to create.
    * The provided `name` will be respected if no `ServiceLevelObjective` exists
    * with this name.
    * 
* - * - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The serviceLevelObjective. */ com.google.monitoring.v3.ServiceLevelObjective getServiceLevelObjective(); /** - * - * *
    * Required. The `ServiceLevelObjective` to create.
    * The provided `name` will be respected if no `ServiceLevelObjective` exists
    * with this name.
    * 
* - * - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder getServiceLevelObjectiveOrBuilder(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceRequest.java similarity index 69% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceRequest.java index a1713a01..995f5f1e 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceRequest.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/monitoring/v3/service_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `CreateService` request.
  * 
* * Protobuf type {@code google.monitoring.v3.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.monitoring.v3.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() { parent_ = ""; serviceId_ = ""; @@ -44,15 +26,16 @@ 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; } - private CreateServiceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,84 +54,73 @@ private CreateServiceRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.monitoring.v3.Service.Builder subBuilder = null; + if (service_ != null) { + subBuilder = service_.toBuilder(); } - case 18: - { - com.google.monitoring.v3.Service.Builder subBuilder = null; - if (service_ != null) { - subBuilder = service_.toBuilder(); - } - service_ = - input.readMessage(com.google.monitoring.v3.Service.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(service_); - service_ = subBuilder.buildPartial(); - } - - break; + service_ = input.readMessage(com.google.monitoring.v3.Service.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(service_); + service_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - serviceId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + serviceId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_CreateServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_CreateServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_CreateServiceRequest_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_CreateServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateServiceRequest.class, - com.google.monitoring.v3.CreateServiceRequest.Builder.class); + com.google.monitoring.v3.CreateServiceRequest.class, com.google.monitoring.v3.CreateServiceRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Resource [name](https://cloud.google.com/monitoring/api/v3#project_name) of
    * the parent workspace. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -157,33 +129,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Resource [name](https://cloud.google.com/monitoring/api/v3#project_name) of
    * the parent workspace. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -194,15 +164,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int SERVICE_ID_FIELD_NUMBER = 3; private volatile java.lang.Object serviceId_; /** - * - * *
    * Optional. The Service id to use for this Service. If omitted, an id will be
    * generated instead. Must match the pattern `[a-z0-9\-]+`
    * 
* * string service_id = 3; - * * @return The serviceId. */ @java.lang.Override @@ -211,30 +178,30 @@ public java.lang.String getServiceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceId_ = s; return s; } } /** - * - * *
    * Optional. The Service id to use for this Service. If omitted, an id will be
    * generated instead. Must match the pattern `[a-z0-9\-]+`
    * 
* * string service_id = 3; - * * @return The bytes for serviceId. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceIdBytes() { + public com.google.protobuf.ByteString + getServiceIdBytes() { java.lang.Object ref = serviceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceId_ = b; return b; } else { @@ -245,15 +212,11 @@ public com.google.protobuf.ByteString getServiceIdBytes() { public static final int SERVICE_FIELD_NUMBER = 2; private com.google.monitoring.v3.Service service_; /** - * - * *
    * Required. The `Service` to create.
    * 
* - * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the service field is set. */ @java.lang.Override @@ -261,15 +224,11 @@ public boolean hasService() { return service_ != null; } /** - * - * *
    * Required. The `Service` to create.
    * 
* - * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The service. */ @java.lang.Override @@ -277,14 +236,11 @@ public com.google.monitoring.v3.Service getService() { return service_ == null ? com.google.monitoring.v3.Service.getDefaultInstance() : service_; } /** - * - * *
    * Required. The `Service` to create.
    * 
* - * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.monitoring.v3.ServiceOrBuilder getServiceOrBuilder() { @@ -292,7 +248,6 @@ public com.google.monitoring.v3.ServiceOrBuilder getServiceOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -304,7 +259,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -327,7 +283,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (service_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getService()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getService()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, serviceId_); @@ -340,19 +297,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.monitoring.v3.CreateServiceRequest)) { return super.equals(obj); } - com.google.monitoring.v3.CreateServiceRequest other = - (com.google.monitoring.v3.CreateServiceRequest) obj; + com.google.monitoring.v3.CreateServiceRequest other = (com.google.monitoring.v3.CreateServiceRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getServiceId().equals(other.getServiceId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getServiceId() + .equals(other.getServiceId())) return false; if (hasService() != other.hasService()) return false; if (hasService()) { - if (!getService().equals(other.getService())) return false; + if (!getService() + .equals(other.getService())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -378,127 +337,118 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.CreateServiceRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.CreateServiceRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.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.monitoring.v3.CreateServiceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.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.monitoring.v3.CreateServiceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.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.monitoring.v3.CreateServiceRequest 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.monitoring.v3.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.monitoring.v3.CreateServiceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.CreateServiceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.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.monitoring.v3.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.monitoring.v3.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.monitoring.v3.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; } /** - * - * *
    * The `CreateService` request.
    * 
* * Protobuf type {@code google.monitoring.v3.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.monitoring.v3.CreateServiceRequest) com.google.monitoring.v3.CreateServiceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_CreateServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_CreateServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_CreateServiceRequest_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_CreateServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateServiceRequest.class, - com.google.monitoring.v3.CreateServiceRequest.Builder.class); + com.google.monitoring.v3.CreateServiceRequest.class, com.google.monitoring.v3.CreateServiceRequest.Builder.class); } // Construct using com.google.monitoring.v3.CreateServiceRequest.newBuilder() @@ -506,15 +456,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -532,9 +483,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_CreateServiceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_CreateServiceRequest_descriptor; } @java.lang.Override @@ -553,8 +504,7 @@ public com.google.monitoring.v3.CreateServiceRequest build() { @java.lang.Override public com.google.monitoring.v3.CreateServiceRequest buildPartial() { - com.google.monitoring.v3.CreateServiceRequest result = - new com.google.monitoring.v3.CreateServiceRequest(this); + com.google.monitoring.v3.CreateServiceRequest result = new com.google.monitoring.v3.CreateServiceRequest(this); result.parent_ = parent_; result.serviceId_ = serviceId_; if (serviceBuilder_ == null) { @@ -570,39 +520,38 @@ public com.google.monitoring.v3.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.monitoring.v3.CreateServiceRequest) { - return mergeFrom((com.google.monitoring.v3.CreateServiceRequest) other); + return mergeFrom((com.google.monitoring.v3.CreateServiceRequest)other); } else { super.mergeFrom(other); return this; @@ -653,24 +602,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Resource [name](https://cloud.google.com/monitoring/api/v3#project_name) of
      * the parent workspace. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -679,25 +624,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource [name](https://cloud.google.com/monitoring/api/v3#project_name) of
      * the parent workspace. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -705,73 +647,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource [name](https://cloud.google.com/monitoring/api/v3#project_name) of
      * the parent workspace. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource [name](https://cloud.google.com/monitoring/api/v3#project_name) of
      * the parent workspace. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Resource [name](https://cloud.google.com/monitoring/api/v3#project_name) of
      * the parent workspace. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -779,21 +708,19 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object serviceId_ = ""; /** - * - * *
      * Optional. The Service id to use for this Service. If omitted, an id will be
      * generated instead. Must match the pattern `[a-z0-9\-]+`
      * 
* * string service_id = 3; - * * @return The serviceId. */ public java.lang.String getServiceId() { java.lang.Object ref = serviceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceId_ = s; return s; @@ -802,22 +729,21 @@ public java.lang.String getServiceId() { } } /** - * - * *
      * Optional. The Service id to use for this Service. If omitted, an id will be
      * generated instead. Must match the pattern `[a-z0-9\-]+`
      * 
* * string service_id = 3; - * * @return The bytes for serviceId. */ - public com.google.protobuf.ByteString getServiceIdBytes() { + public com.google.protobuf.ByteString + getServiceIdBytes() { java.lang.Object ref = serviceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceId_ = b; return b; } else { @@ -825,64 +751,57 @@ public com.google.protobuf.ByteString getServiceIdBytes() { } } /** - * - * *
      * Optional. The Service id to use for this Service. If omitted, an id will be
      * generated instead. Must match the pattern `[a-z0-9\-]+`
      * 
* * string service_id = 3; - * * @param value The serviceId to set. * @return This builder for chaining. */ - public Builder setServiceId(java.lang.String value) { + public Builder setServiceId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceId_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The Service id to use for this Service. If omitted, an id will be
      * generated instead. Must match the pattern `[a-z0-9\-]+`
      * 
* * string service_id = 3; - * * @return This builder for chaining. */ public Builder clearServiceId() { - + serviceId_ = getDefaultInstance().getServiceId(); onChanged(); return this; } /** - * - * *
      * Optional. The Service id to use for this Service. If omitted, an id will be
      * generated instead. Must match the pattern `[a-z0-9\-]+`
      * 
* * string service_id = 3; - * * @param value The bytes for serviceId to set. * @return This builder for chaining. */ - public Builder setServiceIdBytes(com.google.protobuf.ByteString value) { + public Builder setServiceIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceId_ = value; onChanged(); return this; @@ -890,35 +809,24 @@ public Builder setServiceIdBytes(com.google.protobuf.ByteString value) { private com.google.monitoring.v3.Service service_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service, - com.google.monitoring.v3.Service.Builder, - com.google.monitoring.v3.ServiceOrBuilder> - serviceBuilder_; + com.google.monitoring.v3.Service, com.google.monitoring.v3.Service.Builder, com.google.monitoring.v3.ServiceOrBuilder> serviceBuilder_; /** - * - * *
      * Required. The `Service` to create.
      * 
* - * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the service field is set. */ public boolean hasService() { return serviceBuilder_ != null || service_ != null; } /** - * - * *
      * Required. The `Service` to create.
      * 
* - * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The service. */ public com.google.monitoring.v3.Service getService() { @@ -929,14 +837,11 @@ public com.google.monitoring.v3.Service getService() { } } /** - * - * *
      * Required. The `Service` to create.
      * 
* - * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setService(com.google.monitoring.v3.Service value) { if (serviceBuilder_ == null) { @@ -952,16 +857,14 @@ public Builder setService(com.google.monitoring.v3.Service value) { return this; } /** - * - * *
      * Required. The `Service` to create.
      * 
* - * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setService(com.google.monitoring.v3.Service.Builder builderForValue) { + public Builder setService( + com.google.monitoring.v3.Service.Builder builderForValue) { if (serviceBuilder_ == null) { service_ = builderForValue.build(); onChanged(); @@ -972,20 +875,17 @@ public Builder setService(com.google.monitoring.v3.Service.Builder builderForVal return this; } /** - * - * *
      * Required. The `Service` to create.
      * 
* - * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeService(com.google.monitoring.v3.Service value) { if (serviceBuilder_ == null) { if (service_ != null) { service_ = - com.google.monitoring.v3.Service.newBuilder(service_).mergeFrom(value).buildPartial(); + com.google.monitoring.v3.Service.newBuilder(service_).mergeFrom(value).buildPartial(); } else { service_ = value; } @@ -997,14 +897,11 @@ public Builder mergeService(com.google.monitoring.v3.Service value) { return this; } /** - * - * *
      * Required. The `Service` to create.
      * 
* - * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearService() { if (serviceBuilder_ == null) { @@ -1018,66 +915,55 @@ public Builder clearService() { return this; } /** - * - * *
      * Required. The `Service` to create.
      * 
* - * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.monitoring.v3.Service.Builder getServiceBuilder() { - + onChanged(); return getServiceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The `Service` to create.
      * 
* - * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.monitoring.v3.ServiceOrBuilder getServiceOrBuilder() { if (serviceBuilder_ != null) { return serviceBuilder_.getMessageOrBuilder(); } else { - return service_ == null ? com.google.monitoring.v3.Service.getDefaultInstance() : service_; + return service_ == null ? + com.google.monitoring.v3.Service.getDefaultInstance() : service_; } } /** - * - * *
      * Required. The `Service` to create.
      * 
* - * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service, - com.google.monitoring.v3.Service.Builder, - com.google.monitoring.v3.ServiceOrBuilder> + com.google.monitoring.v3.Service, com.google.monitoring.v3.Service.Builder, com.google.monitoring.v3.ServiceOrBuilder> getServiceFieldBuilder() { if (serviceBuilder_ == null) { - serviceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service, - com.google.monitoring.v3.Service.Builder, - com.google.monitoring.v3.ServiceOrBuilder>( - getService(), getParentForChildren(), isClean()); + serviceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.Service, com.google.monitoring.v3.Service.Builder, com.google.monitoring.v3.ServiceOrBuilder>( + 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); } @@ -1087,12 +973,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.CreateServiceRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.CreateServiceRequest) private static final com.google.monitoring.v3.CreateServiceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.CreateServiceRequest(); } @@ -1101,16 +987,16 @@ public static com.google.monitoring.v3.CreateServiceRequest getDefaultInstance() 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 { - return new CreateServiceRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateServiceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1125,4 +1011,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.CreateServiceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceRequestOrBuilder.java similarity index 61% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceRequestOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceRequestOrBuilder.java index 3af4f285..bb0da9e7 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceRequestOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceRequestOrBuilder.java @@ -1,123 +1,82 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/service_service.proto package com.google.monitoring.v3; -public interface CreateServiceRequestOrBuilder - extends +public interface CreateServiceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.CreateServiceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource [name](https://cloud.google.com/monitoring/api/v3#project_name) of
    * the parent workspace. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Resource [name](https://cloud.google.com/monitoring/api/v3#project_name) of
    * the parent workspace. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Optional. The Service id to use for this Service. If omitted, an id will be
    * generated instead. Must match the pattern `[a-z0-9\-]+`
    * 
* * string service_id = 3; - * * @return The serviceId. */ java.lang.String getServiceId(); /** - * - * *
    * Optional. The Service id to use for this Service. If omitted, an id will be
    * generated instead. Must match the pattern `[a-z0-9\-]+`
    * 
* * string service_id = 3; - * * @return The bytes for serviceId. */ - com.google.protobuf.ByteString getServiceIdBytes(); + com.google.protobuf.ByteString + getServiceIdBytes(); /** - * - * *
    * Required. The `Service` to create.
    * 
* - * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the service field is set. */ boolean hasService(); /** - * - * *
    * Required. The `Service` to create.
    * 
* - * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The service. */ com.google.monitoring.v3.Service getService(); /** - * - * *
    * Required. The `Service` to create.
    * 
* - * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.monitoring.v3.ServiceOrBuilder getServiceOrBuilder(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesError.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesError.java similarity index 66% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesError.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesError.java index 49f254e8..29d8cc30 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesError.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesError.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric_service.proto package com.google.monitoring.v3; /** - * - * *
  * DEPRECATED. Used to hold per-time-series error status.
  * 
* * Protobuf type {@code google.monitoring.v3.CreateTimeSeriesError} */ -public final class CreateTimeSeriesError extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateTimeSeriesError extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.CreateTimeSeriesError) CreateTimeSeriesErrorOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateTimeSeriesError.newBuilder() to construct. private CreateTimeSeriesError(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CreateTimeSeriesError() {} + private CreateTimeSeriesError() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateTimeSeriesError(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateTimeSeriesError( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,109 +52,91 @@ private CreateTimeSeriesError( case 0: done = true; break; - case 10: - { - com.google.monitoring.v3.TimeSeries.Builder subBuilder = null; - if (timeSeries_ != null) { - subBuilder = timeSeries_.toBuilder(); - } - timeSeries_ = - input.readMessage( - com.google.monitoring.v3.TimeSeries.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timeSeries_); - timeSeries_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.monitoring.v3.TimeSeries.Builder subBuilder = null; + if (timeSeries_ != null) { + subBuilder = timeSeries_.toBuilder(); + } + timeSeries_ = input.readMessage(com.google.monitoring.v3.TimeSeries.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timeSeries_); + timeSeries_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + com.google.rpc.Status.Builder subBuilder = null; + if (status_ != null) { + subBuilder = status_.toBuilder(); } - case 18: - { - com.google.rpc.Status.Builder subBuilder = null; - if (status_ != null) { - subBuilder = status_.toBuilder(); - } - status_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(status_); - status_ = subBuilder.buildPartial(); - } - - break; + status_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(status_); + status_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_CreateTimeSeriesError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateTimeSeriesError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_CreateTimeSeriesError_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateTimeSeriesError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateTimeSeriesError.class, - com.google.monitoring.v3.CreateTimeSeriesError.Builder.class); + com.google.monitoring.v3.CreateTimeSeriesError.class, com.google.monitoring.v3.CreateTimeSeriesError.Builder.class); } public static final int TIME_SERIES_FIELD_NUMBER = 1; private com.google.monitoring.v3.TimeSeries timeSeries_; /** - * - * *
    * DEPRECATED. Time series ID that resulted in the `status` error.
    * 
* * .google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true]; - * * @return Whether the timeSeries field is set. */ @java.lang.Override - @java.lang.Deprecated - public boolean hasTimeSeries() { + @java.lang.Deprecated public boolean hasTimeSeries() { return timeSeries_ != null; } /** - * - * *
    * DEPRECATED. Time series ID that resulted in the `status` error.
    * 
* * .google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true]; - * * @return The timeSeries. */ @java.lang.Override - @java.lang.Deprecated - public com.google.monitoring.v3.TimeSeries getTimeSeries() { - return timeSeries_ == null - ? com.google.monitoring.v3.TimeSeries.getDefaultInstance() - : timeSeries_; + @java.lang.Deprecated public com.google.monitoring.v3.TimeSeries getTimeSeries() { + return timeSeries_ == null ? com.google.monitoring.v3.TimeSeries.getDefaultInstance() : timeSeries_; } /** - * - * *
    * DEPRECATED. Time series ID that resulted in the `status` error.
    * 
@@ -178,48 +144,37 @@ public com.google.monitoring.v3.TimeSeries getTimeSeries() { * .google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder() { + @java.lang.Deprecated public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder() { return getTimeSeries(); } public static final int STATUS_FIELD_NUMBER = 2; private com.google.rpc.Status status_; /** - * - * *
    * DEPRECATED. The status of the requested write operation for `time_series`.
    * 
* * .google.rpc.Status status = 2 [deprecated = true]; - * * @return Whether the status field is set. */ @java.lang.Override - @java.lang.Deprecated - public boolean hasStatus() { + @java.lang.Deprecated public boolean hasStatus() { return status_ != null; } /** - * - * *
    * DEPRECATED. The status of the requested write operation for `time_series`.
    * 
* * .google.rpc.Status status = 2 [deprecated = true]; - * * @return The status. */ @java.lang.Override - @java.lang.Deprecated - public com.google.rpc.Status getStatus() { + @java.lang.Deprecated public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** - * - * *
    * DEPRECATED. The status of the requested write operation for `time_series`.
    * 
@@ -227,13 +182,11 @@ public com.google.rpc.Status getStatus() { * .google.rpc.Status status = 2 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { + @java.lang.Deprecated public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { return getStatus(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,7 +198,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 (timeSeries_ != null) { output.writeMessage(1, getTimeSeries()); } @@ -262,10 +216,12 @@ public int getSerializedSize() { size = 0; if (timeSeries_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTimeSeries()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTimeSeries()); } if (status_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStatus()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStatus()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -275,21 +231,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.monitoring.v3.CreateTimeSeriesError)) { return super.equals(obj); } - com.google.monitoring.v3.CreateTimeSeriesError other = - (com.google.monitoring.v3.CreateTimeSeriesError) obj; + com.google.monitoring.v3.CreateTimeSeriesError other = (com.google.monitoring.v3.CreateTimeSeriesError) obj; if (hasTimeSeries() != other.hasTimeSeries()) return false; if (hasTimeSeries()) { - if (!getTimeSeries().equals(other.getTimeSeries())) return false; + if (!getTimeSeries() + .equals(other.getTimeSeries())) return false; } if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { - if (!getStatus().equals(other.getStatus())) return false; + if (!getStatus() + .equals(other.getStatus())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -315,127 +272,118 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.CreateTimeSeriesError parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.CreateTimeSeriesError parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.CreateTimeSeriesError parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.CreateTimeSeriesError parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.CreateTimeSeriesError parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.CreateTimeSeriesError parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.CreateTimeSeriesError parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.CreateTimeSeriesError 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.monitoring.v3.CreateTimeSeriesError parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.CreateTimeSeriesError parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.CreateTimeSeriesError parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.CreateTimeSeriesError parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.CreateTimeSeriesError parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.CreateTimeSeriesError parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.CreateTimeSeriesError prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * DEPRECATED. Used to hold per-time-series error status.
    * 
* * Protobuf type {@code google.monitoring.v3.CreateTimeSeriesError} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.CreateTimeSeriesError) com.google.monitoring.v3.CreateTimeSeriesErrorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_CreateTimeSeriesError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateTimeSeriesError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_CreateTimeSeriesError_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateTimeSeriesError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateTimeSeriesError.class, - com.google.monitoring.v3.CreateTimeSeriesError.Builder.class); + com.google.monitoring.v3.CreateTimeSeriesError.class, com.google.monitoring.v3.CreateTimeSeriesError.Builder.class); } // Construct using com.google.monitoring.v3.CreateTimeSeriesError.newBuilder() @@ -443,15 +391,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -471,9 +420,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_CreateTimeSeriesError_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateTimeSeriesError_descriptor; } @java.lang.Override @@ -492,8 +441,7 @@ public com.google.monitoring.v3.CreateTimeSeriesError build() { @java.lang.Override public com.google.monitoring.v3.CreateTimeSeriesError buildPartial() { - com.google.monitoring.v3.CreateTimeSeriesError result = - new com.google.monitoring.v3.CreateTimeSeriesError(this); + com.google.monitoring.v3.CreateTimeSeriesError result = new com.google.monitoring.v3.CreateTimeSeriesError(this); if (timeSeriesBuilder_ == null) { result.timeSeries_ = timeSeries_; } else { @@ -512,39 +460,38 @@ public com.google.monitoring.v3.CreateTimeSeriesError 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.monitoring.v3.CreateTimeSeriesError) { - return mergeFrom((com.google.monitoring.v3.CreateTimeSeriesError) other); + return mergeFrom((com.google.monitoring.v3.CreateTimeSeriesError)other); } else { super.mergeFrom(other); return this; @@ -590,57 +537,41 @@ public Builder mergeFrom( private com.google.monitoring.v3.TimeSeries timeSeries_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TimeSeries, - com.google.monitoring.v3.TimeSeries.Builder, - com.google.monitoring.v3.TimeSeriesOrBuilder> - timeSeriesBuilder_; + com.google.monitoring.v3.TimeSeries, com.google.monitoring.v3.TimeSeries.Builder, com.google.monitoring.v3.TimeSeriesOrBuilder> timeSeriesBuilder_; /** - * - * *
      * DEPRECATED. Time series ID that resulted in the `status` error.
      * 
* * .google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true]; - * * @return Whether the timeSeries field is set. */ - @java.lang.Deprecated - public boolean hasTimeSeries() { + @java.lang.Deprecated public boolean hasTimeSeries() { return timeSeriesBuilder_ != null || timeSeries_ != null; } /** - * - * *
      * DEPRECATED. Time series ID that resulted in the `status` error.
      * 
* * .google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true]; - * * @return The timeSeries. */ - @java.lang.Deprecated - public com.google.monitoring.v3.TimeSeries getTimeSeries() { + @java.lang.Deprecated public com.google.monitoring.v3.TimeSeries getTimeSeries() { if (timeSeriesBuilder_ == null) { - return timeSeries_ == null - ? com.google.monitoring.v3.TimeSeries.getDefaultInstance() - : timeSeries_; + return timeSeries_ == null ? com.google.monitoring.v3.TimeSeries.getDefaultInstance() : timeSeries_; } else { return timeSeriesBuilder_.getMessage(); } } /** - * - * *
      * DEPRECATED. Time series ID that resulted in the `status` error.
      * 
* * .google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true]; */ - @java.lang.Deprecated - public Builder setTimeSeries(com.google.monitoring.v3.TimeSeries value) { + @java.lang.Deprecated public Builder setTimeSeries(com.google.monitoring.v3.TimeSeries value) { if (timeSeriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,16 +585,14 @@ public Builder setTimeSeries(com.google.monitoring.v3.TimeSeries value) { return this; } /** - * - * *
      * DEPRECATED. Time series ID that resulted in the `status` error.
      * 
* * .google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true]; */ - @java.lang.Deprecated - public Builder setTimeSeries(com.google.monitoring.v3.TimeSeries.Builder builderForValue) { + @java.lang.Deprecated public Builder setTimeSeries( + com.google.monitoring.v3.TimeSeries.Builder builderForValue) { if (timeSeriesBuilder_ == null) { timeSeries_ = builderForValue.build(); onChanged(); @@ -674,22 +603,17 @@ public Builder setTimeSeries(com.google.monitoring.v3.TimeSeries.Builder builder return this; } /** - * - * *
      * DEPRECATED. Time series ID that resulted in the `status` error.
      * 
* * .google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true]; */ - @java.lang.Deprecated - public Builder mergeTimeSeries(com.google.monitoring.v3.TimeSeries value) { + @java.lang.Deprecated public Builder mergeTimeSeries(com.google.monitoring.v3.TimeSeries value) { if (timeSeriesBuilder_ == null) { if (timeSeries_ != null) { timeSeries_ = - com.google.monitoring.v3.TimeSeries.newBuilder(timeSeries_) - .mergeFrom(value) - .buildPartial(); + com.google.monitoring.v3.TimeSeries.newBuilder(timeSeries_).mergeFrom(value).buildPartial(); } else { timeSeries_ = value; } @@ -701,16 +625,13 @@ public Builder mergeTimeSeries(com.google.monitoring.v3.TimeSeries value) { return this; } /** - * - * *
      * DEPRECATED. Time series ID that resulted in the `status` error.
      * 
* * .google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true]; */ - @java.lang.Deprecated - public Builder clearTimeSeries() { + @java.lang.Deprecated public Builder clearTimeSeries() { if (timeSeriesBuilder_ == null) { timeSeries_ = null; onChanged(); @@ -722,42 +643,33 @@ public Builder clearTimeSeries() { return this; } /** - * - * *
      * DEPRECATED. Time series ID that resulted in the `status` error.
      * 
* * .google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.monitoring.v3.TimeSeries.Builder getTimeSeriesBuilder() { - + @java.lang.Deprecated public com.google.monitoring.v3.TimeSeries.Builder getTimeSeriesBuilder() { + onChanged(); return getTimeSeriesFieldBuilder().getBuilder(); } /** - * - * *
      * DEPRECATED. Time series ID that resulted in the `status` error.
      * 
* * .google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder() { + @java.lang.Deprecated public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder() { if (timeSeriesBuilder_ != null) { return timeSeriesBuilder_.getMessageOrBuilder(); } else { - return timeSeries_ == null - ? com.google.monitoring.v3.TimeSeries.getDefaultInstance() - : timeSeries_; + return timeSeries_ == null ? + com.google.monitoring.v3.TimeSeries.getDefaultInstance() : timeSeries_; } } /** - * - * *
      * DEPRECATED. Time series ID that resulted in the `status` error.
      * 
@@ -765,17 +677,14 @@ public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder() { * .google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TimeSeries, - com.google.monitoring.v3.TimeSeries.Builder, - com.google.monitoring.v3.TimeSeriesOrBuilder> + com.google.monitoring.v3.TimeSeries, com.google.monitoring.v3.TimeSeries.Builder, com.google.monitoring.v3.TimeSeriesOrBuilder> getTimeSeriesFieldBuilder() { if (timeSeriesBuilder_ == null) { - timeSeriesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TimeSeries, - com.google.monitoring.v3.TimeSeries.Builder, - com.google.monitoring.v3.TimeSeriesOrBuilder>( - getTimeSeries(), getParentForChildren(), isClean()); + timeSeriesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.TimeSeries, com.google.monitoring.v3.TimeSeries.Builder, com.google.monitoring.v3.TimeSeriesOrBuilder>( + getTimeSeries(), + getParentForChildren(), + isClean()); timeSeries_ = null; } return timeSeriesBuilder_; @@ -783,36 +692,27 @@ public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder() { private com.google.rpc.Status status_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - statusBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_; /** - * - * *
      * DEPRECATED. The status of the requested write operation for `time_series`.
      * 
* * .google.rpc.Status status = 2 [deprecated = true]; - * * @return Whether the status field is set. */ - @java.lang.Deprecated - public boolean hasStatus() { + @java.lang.Deprecated public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** - * - * *
      * DEPRECATED. The status of the requested write operation for `time_series`.
      * 
* * .google.rpc.Status status = 2 [deprecated = true]; - * * @return The status. */ - @java.lang.Deprecated - public com.google.rpc.Status getStatus() { + @java.lang.Deprecated public com.google.rpc.Status getStatus() { if (statusBuilder_ == null) { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } else { @@ -820,16 +720,13 @@ public com.google.rpc.Status getStatus() { } } /** - * - * *
      * DEPRECATED. The status of the requested write operation for `time_series`.
      * 
* * .google.rpc.Status status = 2 [deprecated = true]; */ - @java.lang.Deprecated - public Builder setStatus(com.google.rpc.Status value) { + @java.lang.Deprecated public Builder setStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -843,16 +740,14 @@ public Builder setStatus(com.google.rpc.Status value) { return this; } /** - * - * *
      * DEPRECATED. The status of the requested write operation for `time_series`.
      * 
* * .google.rpc.Status status = 2 [deprecated = true]; */ - @java.lang.Deprecated - public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { + @java.lang.Deprecated public Builder setStatus( + com.google.rpc.Status.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); @@ -863,19 +758,17 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
      * DEPRECATED. The status of the requested write operation for `time_series`.
      * 
* * .google.rpc.Status status = 2 [deprecated = true]; */ - @java.lang.Deprecated - public Builder mergeStatus(com.google.rpc.Status value) { + @java.lang.Deprecated public Builder mergeStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { if (status_ != null) { - status_ = com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial(); + status_ = + com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } @@ -887,16 +780,13 @@ public Builder mergeStatus(com.google.rpc.Status value) { return this; } /** - * - * *
      * DEPRECATED. The status of the requested write operation for `time_series`.
      * 
* * .google.rpc.Status status = 2 [deprecated = true]; */ - @java.lang.Deprecated - public Builder clearStatus() { + @java.lang.Deprecated public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); @@ -908,40 +798,33 @@ public Builder clearStatus() { return this; } /** - * - * *
      * DEPRECATED. The status of the requested write operation for `time_series`.
      * 
* * .google.rpc.Status status = 2 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.rpc.Status.Builder getStatusBuilder() { - + @java.lang.Deprecated public com.google.rpc.Status.Builder getStatusBuilder() { + onChanged(); return getStatusFieldBuilder().getBuilder(); } /** - * - * *
      * DEPRECATED. The status of the requested write operation for `time_series`.
      * 
* * .google.rpc.Status status = 2 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { + @java.lang.Deprecated public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { - return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; + return status_ == null ? + com.google.rpc.Status.getDefaultInstance() : status_; } } /** - * - * *
      * DEPRECATED. The status of the requested write operation for `time_series`.
      * 
@@ -949,21 +832,21 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { * .google.rpc.Status status = 2 [deprecated = true]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { - statusBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, - com.google.rpc.Status.Builder, - com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean()); + statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( + getStatus(), + getParentForChildren(), + isClean()); status_ = null; } return statusBuilder_; } - @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); } @@ -973,12 +856,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.CreateTimeSeriesError) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.CreateTimeSeriesError) private static final com.google.monitoring.v3.CreateTimeSeriesError DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.CreateTimeSeriesError(); } @@ -987,16 +870,16 @@ public static com.google.monitoring.v3.CreateTimeSeriesError getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTimeSeriesError parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTimeSeriesError(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTimeSeriesError parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTimeSeriesError(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1011,4 +894,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.CreateTimeSeriesError getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesErrorOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesErrorOrBuilder.java similarity index 58% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesErrorOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesErrorOrBuilder.java index ec6e99f9..701e58f3 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesErrorOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesErrorOrBuilder.java @@ -1,101 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric_service.proto package com.google.monitoring.v3; -public interface CreateTimeSeriesErrorOrBuilder - extends +public interface CreateTimeSeriesErrorOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.CreateTimeSeriesError) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * DEPRECATED. Time series ID that resulted in the `status` error.
    * 
* * .google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true]; - * * @return Whether the timeSeries field is set. */ - @java.lang.Deprecated - boolean hasTimeSeries(); + @java.lang.Deprecated boolean hasTimeSeries(); /** - * - * *
    * DEPRECATED. Time series ID that resulted in the `status` error.
    * 
* * .google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true]; - * * @return The timeSeries. */ - @java.lang.Deprecated - com.google.monitoring.v3.TimeSeries getTimeSeries(); + @java.lang.Deprecated com.google.monitoring.v3.TimeSeries getTimeSeries(); /** - * - * *
    * DEPRECATED. Time series ID that resulted in the `status` error.
    * 
* * .google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true]; */ - @java.lang.Deprecated - com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder(); + @java.lang.Deprecated com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder(); /** - * - * *
    * DEPRECATED. The status of the requested write operation for `time_series`.
    * 
* * .google.rpc.Status status = 2 [deprecated = true]; - * * @return Whether the status field is set. */ - @java.lang.Deprecated - boolean hasStatus(); + @java.lang.Deprecated boolean hasStatus(); /** - * - * *
    * DEPRECATED. The status of the requested write operation for `time_series`.
    * 
* * .google.rpc.Status status = 2 [deprecated = true]; - * * @return The status. */ - @java.lang.Deprecated - com.google.rpc.Status getStatus(); + @java.lang.Deprecated com.google.rpc.Status getStatus(); /** - * - * *
    * DEPRECATED. The status of the requested write operation for `time_series`.
    * 
* * .google.rpc.Status status = 2 [deprecated = true]; */ - @java.lang.Deprecated - com.google.rpc.StatusOrBuilder getStatusOrBuilder(); + @java.lang.Deprecated com.google.rpc.StatusOrBuilder getStatusOrBuilder(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesRequest.java similarity index 71% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesRequest.java index eade8c64..0fe3a88d 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesRequest.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/monitoring/v3/metric_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `CreateTimeSeries` request.
  * 
* * Protobuf type {@code google.monitoring.v3.CreateTimeSeriesRequest} */ -public final class CreateTimeSeriesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateTimeSeriesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.CreateTimeSeriesRequest) CreateTimeSeriesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateTimeSeriesRequest.newBuilder() to construct. private CreateTimeSeriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateTimeSeriesRequest() { name_ = ""; timeSeries_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private CreateTimeSeriesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateTimeSeriesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateTimeSeriesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,37 +55,35 @@ private CreateTimeSeriesRequest( case 0: done = true; break; - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - timeSeries_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - timeSeries_.add( - input.readMessage( - com.google.monitoring.v3.TimeSeries.parser(), extensionRegistry)); - break; + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + timeSeries_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + timeSeries_.add( + input.readMessage(com.google.monitoring.v3.TimeSeries.parser(), extensionRegistry)); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { timeSeries_ = java.util.Collections.unmodifiableList(timeSeries_); @@ -111,37 +92,29 @@ private CreateTimeSeriesRequest( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_CreateTimeSeriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateTimeSeriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_CreateTimeSeriesRequest_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateTimeSeriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateTimeSeriesRequest.class, - com.google.monitoring.v3.CreateTimeSeriesRequest.Builder.class); + com.google.monitoring.v3.CreateTimeSeriesRequest.class, com.google.monitoring.v3.CreateTimeSeriesRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -150,33 +123,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -187,8 +158,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int TIME_SERIES_FIELD_NUMBER = 2; private java.util.List timeSeries_; /** - * - * *
    * Required. The new data to be added to a list of time series.
    * Adds at most one data point to each of several time series.  The new data
@@ -198,17 +167,13 @@ public com.google.protobuf.ByteString getNameBytes() {
    * The maximum number of `TimeSeries` objects per `Create` request is 200.
    * 
* - * - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getTimeSeriesList() { return timeSeries_; } /** - * - * *
    * Required. The new data to be added to a list of time series.
    * Adds at most one data point to each of several time series.  The new data
@@ -218,18 +183,14 @@ public java.util.List getTimeSeriesList() {
    * The maximum number of `TimeSeries` objects per `Create` request is 200.
    * 
* - * - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getTimeSeriesOrBuilderList() { return timeSeries_; } /** - * - * *
    * Required. The new data to be added to a list of time series.
    * Adds at most one data point to each of several time series.  The new data
@@ -239,17 +200,13 @@ public java.util.List getTimeSeriesList() {
    * The maximum number of `TimeSeries` objects per `Create` request is 200.
    * 
* - * - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getTimeSeriesCount() { return timeSeries_.size(); } /** - * - * *
    * Required. The new data to be added to a list of time series.
    * Adds at most one data point to each of several time series.  The new data
@@ -259,17 +216,13 @@ public int getTimeSeriesCount() {
    * The maximum number of `TimeSeries` objects per `Create` request is 200.
    * 
* - * - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.monitoring.v3.TimeSeries getTimeSeries(int index) { return timeSeries_.get(index); } /** - * - * *
    * Required. The new data to be added to a list of time series.
    * Adds at most one data point to each of several time series.  The new data
@@ -279,17 +232,15 @@ public com.google.monitoring.v3.TimeSeries getTimeSeries(int index) {
    * The maximum number of `TimeSeries` objects per `Create` request is 200.
    * 
* - * - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder(int index) { + public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder( + int index) { return timeSeries_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -301,7 +252,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 < timeSeries_.size(); i++) { output.writeMessage(2, timeSeries_.get(i)); } @@ -318,7 +270,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < timeSeries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, timeSeries_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, timeSeries_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); @@ -331,16 +284,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.monitoring.v3.CreateTimeSeriesRequest)) { return super.equals(obj); } - com.google.monitoring.v3.CreateTimeSeriesRequest other = - (com.google.monitoring.v3.CreateTimeSeriesRequest) obj; + com.google.monitoring.v3.CreateTimeSeriesRequest other = (com.google.monitoring.v3.CreateTimeSeriesRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getTimeSeriesList().equals(other.getTimeSeriesList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getTimeSeriesList() + .equals(other.getTimeSeriesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -363,127 +317,118 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.CreateTimeSeriesRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.CreateTimeSeriesRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.CreateTimeSeriesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.CreateTimeSeriesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.CreateTimeSeriesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.CreateTimeSeriesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.CreateTimeSeriesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.CreateTimeSeriesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.CreateTimeSeriesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.CreateTimeSeriesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.CreateTimeSeriesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.CreateTimeSeriesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.CreateTimeSeriesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.CreateTimeSeriesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.CreateTimeSeriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.CreateTimeSeriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 `CreateTimeSeries` request.
    * 
* * Protobuf type {@code google.monitoring.v3.CreateTimeSeriesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.CreateTimeSeriesRequest) com.google.monitoring.v3.CreateTimeSeriesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_CreateTimeSeriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateTimeSeriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_CreateTimeSeriesRequest_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateTimeSeriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateTimeSeriesRequest.class, - com.google.monitoring.v3.CreateTimeSeriesRequest.Builder.class); + com.google.monitoring.v3.CreateTimeSeriesRequest.class, com.google.monitoring.v3.CreateTimeSeriesRequest.Builder.class); } // Construct using com.google.monitoring.v3.CreateTimeSeriesRequest.newBuilder() @@ -491,17 +436,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getTimeSeriesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -517,9 +462,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_CreateTimeSeriesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateTimeSeriesRequest_descriptor; } @java.lang.Override @@ -538,8 +483,7 @@ public com.google.monitoring.v3.CreateTimeSeriesRequest build() { @java.lang.Override public com.google.monitoring.v3.CreateTimeSeriesRequest buildPartial() { - com.google.monitoring.v3.CreateTimeSeriesRequest result = - new com.google.monitoring.v3.CreateTimeSeriesRequest(this); + com.google.monitoring.v3.CreateTimeSeriesRequest result = new com.google.monitoring.v3.CreateTimeSeriesRequest(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (timeSeriesBuilder_ == null) { @@ -559,39 +503,38 @@ public com.google.monitoring.v3.CreateTimeSeriesRequest 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.monitoring.v3.CreateTimeSeriesRequest) { - return mergeFrom((com.google.monitoring.v3.CreateTimeSeriesRequest) other); + return mergeFrom((com.google.monitoring.v3.CreateTimeSeriesRequest)other); } else { super.mergeFrom(other); return this; @@ -599,8 +542,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.CreateTimeSeriesRequest other) { - if (other == com.google.monitoring.v3.CreateTimeSeriesRequest.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.CreateTimeSeriesRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -623,10 +565,9 @@ public Builder mergeFrom(com.google.monitoring.v3.CreateTimeSeriesRequest other) timeSeriesBuilder_ = null; timeSeries_ = other.timeSeries_; bitField0_ = (bitField0_ & ~0x00000001); - timeSeriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTimeSeriesFieldBuilder() - : null; + timeSeriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTimeSeriesFieldBuilder() : null; } else { timeSeriesBuilder_.addAllMessages(other.timeSeries_); } @@ -660,29 +601,24 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -691,25 +627,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -717,97 +650,78 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } private java.util.List timeSeries_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTimeSeriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { timeSeries_ = new java.util.ArrayList(timeSeries_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.TimeSeries, - com.google.monitoring.v3.TimeSeries.Builder, - com.google.monitoring.v3.TimeSeriesOrBuilder> - timeSeriesBuilder_; + com.google.monitoring.v3.TimeSeries, com.google.monitoring.v3.TimeSeries.Builder, com.google.monitoring.v3.TimeSeriesOrBuilder> timeSeriesBuilder_; /** - * - * *
      * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
@@ -817,9 +731,7 @@ private void ensureTimeSeriesIsMutable() {
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getTimeSeriesList() { if (timeSeriesBuilder_ == null) { @@ -829,8 +741,6 @@ public java.util.List getTimeSeriesList() { } } /** - * - * *
      * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
@@ -840,9 +750,7 @@ public java.util.List getTimeSeriesList() {
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; */ public int getTimeSeriesCount() { if (timeSeriesBuilder_ == null) { @@ -852,8 +760,6 @@ public int getTimeSeriesCount() { } } /** - * - * *
      * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
@@ -863,9 +769,7 @@ public int getTimeSeriesCount() {
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.monitoring.v3.TimeSeries getTimeSeries(int index) { if (timeSeriesBuilder_ == null) { @@ -875,8 +779,6 @@ public com.google.monitoring.v3.TimeSeries getTimeSeries(int index) { } } /** - * - * *
      * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
@@ -886,11 +788,10 @@ public com.google.monitoring.v3.TimeSeries getTimeSeries(int index) {
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTimeSeries(int index, com.google.monitoring.v3.TimeSeries value) { + public Builder setTimeSeries( + int index, com.google.monitoring.v3.TimeSeries value) { if (timeSeriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -904,8 +805,6 @@ public Builder setTimeSeries(int index, com.google.monitoring.v3.TimeSeries valu return this; } /** - * - * *
      * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
@@ -915,9 +814,7 @@ public Builder setTimeSeries(int index, com.google.monitoring.v3.TimeSeries valu
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTimeSeries( int index, com.google.monitoring.v3.TimeSeries.Builder builderForValue) { @@ -931,8 +828,6 @@ public Builder setTimeSeries( return this; } /** - * - * *
      * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
@@ -942,9 +837,7 @@ public Builder setTimeSeries(
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addTimeSeries(com.google.monitoring.v3.TimeSeries value) { if (timeSeriesBuilder_ == null) { @@ -960,8 +853,6 @@ public Builder addTimeSeries(com.google.monitoring.v3.TimeSeries value) { return this; } /** - * - * *
      * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
@@ -971,11 +862,10 @@ public Builder addTimeSeries(com.google.monitoring.v3.TimeSeries value) {
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addTimeSeries(int index, com.google.monitoring.v3.TimeSeries value) { + public Builder addTimeSeries( + int index, com.google.monitoring.v3.TimeSeries value) { if (timeSeriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -989,8 +879,6 @@ public Builder addTimeSeries(int index, com.google.monitoring.v3.TimeSeries valu return this; } /** - * - * *
      * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
@@ -1000,11 +888,10 @@ public Builder addTimeSeries(int index, com.google.monitoring.v3.TimeSeries valu
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addTimeSeries(com.google.monitoring.v3.TimeSeries.Builder builderForValue) { + public Builder addTimeSeries( + com.google.monitoring.v3.TimeSeries.Builder builderForValue) { if (timeSeriesBuilder_ == null) { ensureTimeSeriesIsMutable(); timeSeries_.add(builderForValue.build()); @@ -1015,8 +902,6 @@ public Builder addTimeSeries(com.google.monitoring.v3.TimeSeries.Builder builder return this; } /** - * - * *
      * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
@@ -1026,9 +911,7 @@ public Builder addTimeSeries(com.google.monitoring.v3.TimeSeries.Builder builder
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addTimeSeries( int index, com.google.monitoring.v3.TimeSeries.Builder builderForValue) { @@ -1042,8 +925,6 @@ public Builder addTimeSeries( return this; } /** - * - * *
      * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
@@ -1053,15 +934,14 @@ public Builder addTimeSeries(
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllTimeSeries( java.lang.Iterable values) { if (timeSeriesBuilder_ == null) { ensureTimeSeriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, timeSeries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, timeSeries_); onChanged(); } else { timeSeriesBuilder_.addAllMessages(values); @@ -1069,8 +949,6 @@ public Builder addAllTimeSeries( return this; } /** - * - * *
      * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
@@ -1080,9 +958,7 @@ public Builder addAllTimeSeries(
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTimeSeries() { if (timeSeriesBuilder_ == null) { @@ -1095,8 +971,6 @@ public Builder clearTimeSeries() { return this; } /** - * - * *
      * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
@@ -1106,9 +980,7 @@ public Builder clearTimeSeries() {
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeTimeSeries(int index) { if (timeSeriesBuilder_ == null) { @@ -1121,8 +993,6 @@ public Builder removeTimeSeries(int index) { return this; } /** - * - * *
      * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
@@ -1132,16 +1002,13 @@ public Builder removeTimeSeries(int index) {
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.monitoring.v3.TimeSeries.Builder getTimeSeriesBuilder(int index) { + public com.google.monitoring.v3.TimeSeries.Builder getTimeSeriesBuilder( + int index) { return getTimeSeriesFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
@@ -1151,20 +1018,16 @@ public com.google.monitoring.v3.TimeSeries.Builder getTimeSeriesBuilder(int inde
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder(int index) { + public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder( + int index) { if (timeSeriesBuilder_ == null) { - return timeSeries_.get(index); - } else { + return timeSeries_.get(index); } else { return timeSeriesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
@@ -1174,12 +1037,10 @@ public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder(int i
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getTimeSeriesOrBuilderList() { + public java.util.List + getTimeSeriesOrBuilderList() { if (timeSeriesBuilder_ != null) { return timeSeriesBuilder_.getMessageOrBuilderList(); } else { @@ -1187,8 +1048,6 @@ public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder(int i } } /** - * - * *
      * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
@@ -1198,17 +1057,13 @@ public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder(int i
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.monitoring.v3.TimeSeries.Builder addTimeSeriesBuilder() { - return getTimeSeriesFieldBuilder() - .addBuilder(com.google.monitoring.v3.TimeSeries.getDefaultInstance()); + return getTimeSeriesFieldBuilder().addBuilder( + com.google.monitoring.v3.TimeSeries.getDefaultInstance()); } /** - * - * *
      * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
@@ -1218,17 +1073,14 @@ public com.google.monitoring.v3.TimeSeries.Builder addTimeSeriesBuilder() {
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.monitoring.v3.TimeSeries.Builder addTimeSeriesBuilder(int index) { - return getTimeSeriesFieldBuilder() - .addBuilder(index, com.google.monitoring.v3.TimeSeries.getDefaultInstance()); + public com.google.monitoring.v3.TimeSeries.Builder addTimeSeriesBuilder( + int index) { + return getTimeSeriesFieldBuilder().addBuilder( + index, com.google.monitoring.v3.TimeSeries.getDefaultInstance()); } /** - * - * *
      * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
@@ -1238,33 +1090,29 @@ public com.google.monitoring.v3.TimeSeries.Builder addTimeSeriesBuilder(int inde
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List getTimeSeriesBuilderList() { + public java.util.List + getTimeSeriesBuilderList() { return getTimeSeriesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.TimeSeries, - com.google.monitoring.v3.TimeSeries.Builder, - com.google.monitoring.v3.TimeSeriesOrBuilder> + com.google.monitoring.v3.TimeSeries, com.google.monitoring.v3.TimeSeries.Builder, com.google.monitoring.v3.TimeSeriesOrBuilder> getTimeSeriesFieldBuilder() { if (timeSeriesBuilder_ == null) { - timeSeriesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.TimeSeries, - com.google.monitoring.v3.TimeSeries.Builder, - com.google.monitoring.v3.TimeSeriesOrBuilder>( - timeSeries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + timeSeriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.monitoring.v3.TimeSeries, com.google.monitoring.v3.TimeSeries.Builder, com.google.monitoring.v3.TimeSeriesOrBuilder>( + timeSeries_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); timeSeries_ = null; } return timeSeriesBuilder_; } - @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); } @@ -1274,12 +1122,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.CreateTimeSeriesRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.CreateTimeSeriesRequest) private static final com.google.monitoring.v3.CreateTimeSeriesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.CreateTimeSeriesRequest(); } @@ -1288,16 +1136,16 @@ public static com.google.monitoring.v3.CreateTimeSeriesRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTimeSeriesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTimeSeriesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTimeSeriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTimeSeriesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1312,4 +1160,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.CreateTimeSeriesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesRequestOrBuilder.java similarity index 65% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesRequestOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesRequestOrBuilder.java index d06e8642..6199890b 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesRequestOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric_service.proto package com.google.monitoring.v3; -public interface CreateTimeSeriesRequestOrBuilder - extends +public interface CreateTimeSeriesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.CreateTimeSeriesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The new data to be added to a list of time series.
    * Adds at most one data point to each of several time series.  The new data
@@ -68,14 +41,11 @@ public interface CreateTimeSeriesRequestOrBuilder
    * The maximum number of `TimeSeries` objects per `Create` request is 200.
    * 
* - * - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getTimeSeriesList(); + java.util.List + getTimeSeriesList(); /** - * - * *
    * Required. The new data to be added to a list of time series.
    * Adds at most one data point to each of several time series.  The new data
@@ -85,14 +55,10 @@ public interface CreateTimeSeriesRequestOrBuilder
    * The maximum number of `TimeSeries` objects per `Create` request is 200.
    * 
* - * - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.monitoring.v3.TimeSeries getTimeSeries(int index); /** - * - * *
    * Required. The new data to be added to a list of time series.
    * Adds at most one data point to each of several time series.  The new data
@@ -102,14 +68,10 @@ public interface CreateTimeSeriesRequestOrBuilder
    * The maximum number of `TimeSeries` objects per `Create` request is 200.
    * 
* - * - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; */ int getTimeSeriesCount(); /** - * - * *
    * Required. The new data to be added to a list of time series.
    * Adds at most one data point to each of several time series.  The new data
@@ -119,15 +81,11 @@ public interface CreateTimeSeriesRequestOrBuilder
    * The maximum number of `TimeSeries` objects per `Create` request is 200.
    * 
* - * - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List + java.util.List getTimeSeriesOrBuilderList(); /** - * - * *
    * Required. The new data to be added to a list of time series.
    * Adds at most one data point to each of several time series.  The new data
@@ -137,9 +95,8 @@ public interface CreateTimeSeriesRequestOrBuilder
    * The maximum number of `TimeSeries` objects per `Create` request is 200.
    * 
* - * - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder(int index); + com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder( + int index); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesSummary.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesSummary.java similarity index 75% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesSummary.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesSummary.java index e4d20609..d8c2d989 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesSummary.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesSummary.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric_service.proto package com.google.monitoring.v3; /** - * - * *
  * Summary of the result of a failed request to write data to a time series.
  * 
* * Protobuf type {@code google.monitoring.v3.CreateTimeSeriesSummary} */ -public final class CreateTimeSeriesSummary extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateTimeSeriesSummary extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.CreateTimeSeriesSummary) CreateTimeSeriesSummaryOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateTimeSeriesSummary.newBuilder() to construct. private CreateTimeSeriesSummary(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateTimeSeriesSummary() { errors_ = 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 CreateTimeSeriesSummary(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateTimeSeriesSummary( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,43 +54,39 @@ private CreateTimeSeriesSummary( case 0: done = true; break; - case 8: - { - totalPointCount_ = input.readInt32(); - break; - } - case 16: - { - successPointCount_ = input.readInt32(); - break; - } - case 26: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - errors_ = - new java.util.ArrayList< - com.google.monitoring.v3.CreateTimeSeriesSummary.Error>(); - mutable_bitField0_ |= 0x00000001; - } - errors_.add( - input.readMessage( - com.google.monitoring.v3.CreateTimeSeriesSummary.Error.parser(), - extensionRegistry)); - break; + case 8: { + + totalPointCount_ = input.readInt32(); + break; + } + case 16: { + + successPointCount_ = input.readInt32(); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + errors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + errors_.add( + input.readMessage(com.google.monitoring.v3.CreateTimeSeriesSummary.Error.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { errors_ = java.util.Collections.unmodifiableList(errors_); @@ -116,54 +95,42 @@ private CreateTimeSeriesSummary( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_CreateTimeSeriesSummary_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateTimeSeriesSummary_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_CreateTimeSeriesSummary_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateTimeSeriesSummary_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateTimeSeriesSummary.class, - com.google.monitoring.v3.CreateTimeSeriesSummary.Builder.class); + com.google.monitoring.v3.CreateTimeSeriesSummary.class, com.google.monitoring.v3.CreateTimeSeriesSummary.Builder.class); } - public interface ErrorOrBuilder - extends + public interface ErrorOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.CreateTimeSeriesSummary.Error) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The status of the requested write operation.
      * 
* * .google.rpc.Status status = 1; - * * @return Whether the status field is set. */ boolean hasStatus(); /** - * - * *
      * The status of the requested write operation.
      * 
* * .google.rpc.Status status = 1; - * * @return The status. */ com.google.rpc.Status getStatus(); /** - * - * *
      * The status of the requested write operation.
      * 
@@ -173,50 +140,46 @@ public interface ErrorOrBuilder com.google.rpc.StatusOrBuilder getStatusOrBuilder(); /** - * - * *
      * The number of points that couldn't be written because of `status`.
      * 
* * int32 point_count = 2; - * * @return The pointCount. */ int getPointCount(); } /** - * - * *
    * Detailed information about an error category.
    * 
* * Protobuf type {@code google.monitoring.v3.CreateTimeSeriesSummary.Error} */ - public static final class Error extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Error extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.CreateTimeSeriesSummary.Error) ErrorOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Error.newBuilder() to construct. private Error(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Error() {} + private Error() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Error(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Error( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -235,70 +198,64 @@ private Error( case 0: done = true; break; - case 10: - { - com.google.rpc.Status.Builder subBuilder = null; - if (status_ != null) { - subBuilder = status_.toBuilder(); - } - status_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(status_); - status_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.rpc.Status.Builder subBuilder = null; + if (status_ != null) { + subBuilder = status_.toBuilder(); } - case 16: - { - pointCount_ = input.readInt32(); - break; + status_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(status_); + status_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 16: { + + pointCount_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_CreateTimeSeriesSummary_Error_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateTimeSeriesSummary_Error_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_CreateTimeSeriesSummary_Error_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateTimeSeriesSummary_Error_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateTimeSeriesSummary.Error.class, - com.google.monitoring.v3.CreateTimeSeriesSummary.Error.Builder.class); + com.google.monitoring.v3.CreateTimeSeriesSummary.Error.class, com.google.monitoring.v3.CreateTimeSeriesSummary.Error.Builder.class); } public static final int STATUS_FIELD_NUMBER = 1; private com.google.rpc.Status status_; /** - * - * *
      * The status of the requested write operation.
      * 
* * .google.rpc.Status status = 1; - * * @return Whether the status field is set. */ @java.lang.Override @@ -306,14 +263,11 @@ public boolean hasStatus() { return status_ != null; } /** - * - * *
      * The status of the requested write operation.
      * 
* * .google.rpc.Status status = 1; - * * @return The status. */ @java.lang.Override @@ -321,8 +275,6 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** - * - * *
      * The status of the requested write operation.
      * 
@@ -337,14 +289,11 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { public static final int POINT_COUNT_FIELD_NUMBER = 2; private int pointCount_; /** - * - * *
      * The number of points that couldn't be written because of `status`.
      * 
* * int32 point_count = 2; - * * @return The pointCount. */ @java.lang.Override @@ -353,7 +302,6 @@ public int getPointCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -365,7 +313,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 (status_ != null) { output.writeMessage(1, getStatus()); } @@ -382,10 +331,12 @@ public int getSerializedSize() { size = 0; if (status_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStatus()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStatus()); } if (pointCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pointCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pointCount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -395,19 +346,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.CreateTimeSeriesSummary.Error)) { return super.equals(obj); } - com.google.monitoring.v3.CreateTimeSeriesSummary.Error other = - (com.google.monitoring.v3.CreateTimeSeriesSummary.Error) obj; + com.google.monitoring.v3.CreateTimeSeriesSummary.Error other = (com.google.monitoring.v3.CreateTimeSeriesSummary.Error) obj; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { - if (!getStatus().equals(other.getStatus())) return false; + if (!getStatus() + .equals(other.getStatus())) return false; } - if (getPointCount() != other.getPointCount()) return false; + if (getPointCount() + != other.getPointCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -431,94 +383,87 @@ public int hashCode() { } public static com.google.monitoring.v3.CreateTimeSeriesSummary.Error parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.CreateTimeSeriesSummary.Error parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.CreateTimeSeriesSummary.Error parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.CreateTimeSeriesSummary.Error parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.CreateTimeSeriesSummary.Error parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.CreateTimeSeriesSummary.Error parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.CreateTimeSeriesSummary.Error parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.CreateTimeSeriesSummary.Error parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.CreateTimeSeriesSummary.Error parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.CreateTimeSeriesSummary.Error parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.CreateTimeSeriesSummary.Error parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.CreateTimeSeriesSummary.Error parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.CreateTimeSeriesSummary.Error parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.CreateTimeSeriesSummary.Error parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.CreateTimeSeriesSummary.Error prototype) { + public static Builder newBuilder(com.google.monitoring.v3.CreateTimeSeriesSummary.Error prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -528,32 +473,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Detailed information about an error category.
      * 
* * Protobuf type {@code google.monitoring.v3.CreateTimeSeriesSummary.Error} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.CreateTimeSeriesSummary.Error) com.google.monitoring.v3.CreateTimeSeriesSummary.ErrorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_CreateTimeSeriesSummary_Error_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateTimeSeriesSummary_Error_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_CreateTimeSeriesSummary_Error_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateTimeSeriesSummary_Error_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateTimeSeriesSummary.Error.class, - com.google.monitoring.v3.CreateTimeSeriesSummary.Error.Builder.class); + com.google.monitoring.v3.CreateTimeSeriesSummary.Error.class, com.google.monitoring.v3.CreateTimeSeriesSummary.Error.Builder.class); } // Construct using com.google.monitoring.v3.CreateTimeSeriesSummary.Error.newBuilder() @@ -561,15 +501,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -585,9 +526,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_CreateTimeSeriesSummary_Error_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateTimeSeriesSummary_Error_descriptor; } @java.lang.Override @@ -606,8 +547,7 @@ public com.google.monitoring.v3.CreateTimeSeriesSummary.Error build() { @java.lang.Override public com.google.monitoring.v3.CreateTimeSeriesSummary.Error buildPartial() { - com.google.monitoring.v3.CreateTimeSeriesSummary.Error result = - new com.google.monitoring.v3.CreateTimeSeriesSummary.Error(this); + com.google.monitoring.v3.CreateTimeSeriesSummary.Error result = new com.google.monitoring.v3.CreateTimeSeriesSummary.Error(this); if (statusBuilder_ == null) { result.status_ = status_; } else { @@ -622,41 +562,38 @@ public com.google.monitoring.v3.CreateTimeSeriesSummary.Error 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.monitoring.v3.CreateTimeSeriesSummary.Error) { - return mergeFrom((com.google.monitoring.v3.CreateTimeSeriesSummary.Error) other); + return mergeFrom((com.google.monitoring.v3.CreateTimeSeriesSummary.Error)other); } else { super.mergeFrom(other); return this; @@ -664,8 +601,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.CreateTimeSeriesSummary.Error other) { - if (other == com.google.monitoring.v3.CreateTimeSeriesSummary.Error.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.CreateTimeSeriesSummary.Error.getDefaultInstance()) return this; if (other.hasStatus()) { mergeStatus(other.getStatus()); } @@ -691,8 +627,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.CreateTimeSeriesSummary.Error) e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.CreateTimeSeriesSummary.Error) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -704,31 +639,24 @@ public Builder mergeFrom( private com.google.rpc.Status status_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - statusBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_; /** - * - * *
        * The status of the requested write operation.
        * 
* * .google.rpc.Status status = 1; - * * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** - * - * *
        * The status of the requested write operation.
        * 
* * .google.rpc.Status status = 1; - * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -739,8 +667,6 @@ public com.google.rpc.Status getStatus() { } } /** - * - * *
        * The status of the requested write operation.
        * 
@@ -761,15 +687,14 @@ public Builder setStatus(com.google.rpc.Status value) { return this; } /** - * - * *
        * The status of the requested write operation.
        * 
* * .google.rpc.Status status = 1; */ - public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { + public Builder setStatus( + com.google.rpc.Status.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); @@ -780,8 +705,6 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
        * The status of the requested write operation.
        * 
@@ -791,7 +714,8 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { public Builder mergeStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { if (status_ != null) { - status_ = com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial(); + status_ = + com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } @@ -803,8 +727,6 @@ public Builder mergeStatus(com.google.rpc.Status value) { return this; } /** - * - * *
        * The status of the requested write operation.
        * 
@@ -823,8 +745,6 @@ public Builder clearStatus() { return this; } /** - * - * *
        * The status of the requested write operation.
        * 
@@ -832,13 +752,11 @@ public Builder clearStatus() { * .google.rpc.Status status = 1; */ public com.google.rpc.Status.Builder getStatusBuilder() { - + onChanged(); return getStatusFieldBuilder().getBuilder(); } /** - * - * *
        * The status of the requested write operation.
        * 
@@ -849,12 +767,11 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { - return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; + return status_ == null ? + com.google.rpc.Status.getDefaultInstance() : status_; } } /** - * - * *
        * The status of the requested write operation.
        * 
@@ -862,29 +779,26 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { * .google.rpc.Status status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { - statusBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, - com.google.rpc.Status.Builder, - com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean()); + statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( + getStatus(), + getParentForChildren(), + isClean()); status_ = null; } return statusBuilder_; } - private int pointCount_; + private int pointCount_ ; /** - * - * *
        * The number of points that couldn't be written because of `status`.
        * 
* * int32 point_count = 2; - * * @return The pointCount. */ @java.lang.Override @@ -892,41 +806,34 @@ public int getPointCount() { return pointCount_; } /** - * - * *
        * The number of points that couldn't be written because of `status`.
        * 
* * int32 point_count = 2; - * * @param value The pointCount to set. * @return This builder for chaining. */ public Builder setPointCount(int value) { - + pointCount_ = value; onChanged(); return this; } /** - * - * *
        * The number of points that couldn't be written because of `status`.
        * 
* * int32 point_count = 2; - * * @return This builder for chaining. */ public Builder clearPointCount() { - + pointCount_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -939,12 +846,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.CreateTimeSeriesSummary.Error) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.CreateTimeSeriesSummary.Error) private static final com.google.monitoring.v3.CreateTimeSeriesSummary.Error DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.CreateTimeSeriesSummary.Error(); } @@ -953,16 +860,16 @@ public static com.google.monitoring.v3.CreateTimeSeriesSummary.Error getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Error parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Error(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Error parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Error(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -977,19 +884,17 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.CreateTimeSeriesSummary.Error getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int TOTAL_POINT_COUNT_FIELD_NUMBER = 1; private int totalPointCount_; /** - * - * *
    * The number of points in the request.
    * 
* * int32 total_point_count = 1; - * * @return The totalPointCount. */ @java.lang.Override @@ -1000,14 +905,11 @@ public int getTotalPointCount() { public static final int SUCCESS_POINT_COUNT_FIELD_NUMBER = 2; private int successPointCount_; /** - * - * *
    * The number of points that were successfully written.
    * 
* * int32 success_point_count = 2; - * * @return The successPointCount. */ @java.lang.Override @@ -1018,8 +920,6 @@ public int getSuccessPointCount() { public static final int ERRORS_FIELD_NUMBER = 3; private java.util.List errors_; /** - * - * *
    * The number of points that failed to be written. Order is not guaranteed.
    * 
@@ -1031,8 +931,6 @@ public java.util.List ge return errors_; } /** - * - * *
    * The number of points that failed to be written. Order is not guaranteed.
    * 
@@ -1040,13 +938,11 @@ public java.util.List ge * repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3; */ @java.lang.Override - public java.util.List + public java.util.List getErrorsOrBuilderList() { return errors_; } /** - * - * *
    * The number of points that failed to be written. Order is not guaranteed.
    * 
@@ -1058,8 +954,6 @@ public int getErrorsCount() { return errors_.size(); } /** - * - * *
    * The number of points that failed to be written. Order is not guaranteed.
    * 
@@ -1071,8 +965,6 @@ public com.google.monitoring.v3.CreateTimeSeriesSummary.Error getErrors(int inde return errors_.get(index); } /** - * - * *
    * The number of points that failed to be written. Order is not guaranteed.
    * 
@@ -1086,7 +978,6 @@ public com.google.monitoring.v3.CreateTimeSeriesSummary.ErrorOrBuilder getErrors } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1098,7 +989,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 (totalPointCount_ != 0) { output.writeInt32(1, totalPointCount_); } @@ -1118,13 +1010,16 @@ public int getSerializedSize() { size = 0; if (totalPointCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, totalPointCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, totalPointCount_); } if (successPointCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, successPointCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, successPointCount_); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, errors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1134,17 +1029,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.monitoring.v3.CreateTimeSeriesSummary)) { return super.equals(obj); } - com.google.monitoring.v3.CreateTimeSeriesSummary other = - (com.google.monitoring.v3.CreateTimeSeriesSummary) obj; + com.google.monitoring.v3.CreateTimeSeriesSummary other = (com.google.monitoring.v3.CreateTimeSeriesSummary) obj; - if (getTotalPointCount() != other.getTotalPointCount()) return false; - if (getSuccessPointCount() != other.getSuccessPointCount()) return false; - if (!getErrorsList().equals(other.getErrorsList())) return false; + if (getTotalPointCount() + != other.getTotalPointCount()) return false; + if (getSuccessPointCount() + != other.getSuccessPointCount()) return false; + if (!getErrorsList() + .equals(other.getErrorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1169,127 +1066,118 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.CreateTimeSeriesSummary parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.CreateTimeSeriesSummary parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.CreateTimeSeriesSummary parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.CreateTimeSeriesSummary parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.CreateTimeSeriesSummary parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.CreateTimeSeriesSummary parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.CreateTimeSeriesSummary parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.CreateTimeSeriesSummary parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.CreateTimeSeriesSummary parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.CreateTimeSeriesSummary parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.CreateTimeSeriesSummary parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.CreateTimeSeriesSummary parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.CreateTimeSeriesSummary parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.CreateTimeSeriesSummary parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.CreateTimeSeriesSummary parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.CreateTimeSeriesSummary prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Summary of the result of a failed request to write data to a time series.
    * 
* * Protobuf type {@code google.monitoring.v3.CreateTimeSeriesSummary} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.CreateTimeSeriesSummary) com.google.monitoring.v3.CreateTimeSeriesSummaryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_CreateTimeSeriesSummary_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateTimeSeriesSummary_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_CreateTimeSeriesSummary_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateTimeSeriesSummary_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateTimeSeriesSummary.class, - com.google.monitoring.v3.CreateTimeSeriesSummary.Builder.class); + com.google.monitoring.v3.CreateTimeSeriesSummary.class, com.google.monitoring.v3.CreateTimeSeriesSummary.Builder.class); } // Construct using com.google.monitoring.v3.CreateTimeSeriesSummary.newBuilder() @@ -1297,17 +1185,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getErrorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1325,9 +1213,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_CreateTimeSeriesSummary_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateTimeSeriesSummary_descriptor; } @java.lang.Override @@ -1346,8 +1234,7 @@ public com.google.monitoring.v3.CreateTimeSeriesSummary build() { @java.lang.Override public com.google.monitoring.v3.CreateTimeSeriesSummary buildPartial() { - com.google.monitoring.v3.CreateTimeSeriesSummary result = - new com.google.monitoring.v3.CreateTimeSeriesSummary(this); + com.google.monitoring.v3.CreateTimeSeriesSummary result = new com.google.monitoring.v3.CreateTimeSeriesSummary(this); int from_bitField0_ = bitField0_; result.totalPointCount_ = totalPointCount_; result.successPointCount_ = successPointCount_; @@ -1368,39 +1255,38 @@ public com.google.monitoring.v3.CreateTimeSeriesSummary 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.monitoring.v3.CreateTimeSeriesSummary) { - return mergeFrom((com.google.monitoring.v3.CreateTimeSeriesSummary) other); + return mergeFrom((com.google.monitoring.v3.CreateTimeSeriesSummary)other); } else { super.mergeFrom(other); return this; @@ -1408,8 +1294,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.CreateTimeSeriesSummary other) { - if (other == com.google.monitoring.v3.CreateTimeSeriesSummary.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.CreateTimeSeriesSummary.getDefaultInstance()) return this; if (other.getTotalPointCount() != 0) { setTotalPointCount(other.getTotalPointCount()); } @@ -1434,10 +1319,9 @@ public Builder mergeFrom(com.google.monitoring.v3.CreateTimeSeriesSummary other) errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000001); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getErrorsFieldBuilder() - : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getErrorsFieldBuilder() : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -1471,19 +1355,15 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private int totalPointCount_; + private int totalPointCount_ ; /** - * - * *
      * The number of points in the request.
      * 
* * int32 total_point_count = 1; - * * @return The totalPointCount. */ @java.lang.Override @@ -1491,51 +1371,42 @@ public int getTotalPointCount() { return totalPointCount_; } /** - * - * *
      * The number of points in the request.
      * 
* * int32 total_point_count = 1; - * * @param value The totalPointCount to set. * @return This builder for chaining. */ public Builder setTotalPointCount(int value) { - + totalPointCount_ = value; onChanged(); return this; } /** - * - * *
      * The number of points in the request.
      * 
* * int32 total_point_count = 1; - * * @return This builder for chaining. */ public Builder clearTotalPointCount() { - + totalPointCount_ = 0; onChanged(); return this; } - private int successPointCount_; + private int successPointCount_ ; /** - * - * *
      * The number of points that were successfully written.
      * 
* * int32 success_point_count = 2; - * * @return The successPointCount. */ @java.lang.Override @@ -1543,62 +1414,48 @@ public int getSuccessPointCount() { return successPointCount_; } /** - * - * *
      * The number of points that were successfully written.
      * 
* * int32 success_point_count = 2; - * * @param value The successPointCount to set. * @return This builder for chaining. */ public Builder setSuccessPointCount(int value) { - + successPointCount_ = value; onChanged(); return this; } /** - * - * *
      * The number of points that were successfully written.
      * 
* * int32 success_point_count = 2; - * * @return This builder for chaining. */ public Builder clearSuccessPointCount() { - + successPointCount_ = 0; onChanged(); return this; } private java.util.List errors_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - errors_ = - new java.util.ArrayList( - errors_); + errors_ = new java.util.ArrayList(errors_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.CreateTimeSeriesSummary.Error, - com.google.monitoring.v3.CreateTimeSeriesSummary.Error.Builder, - com.google.monitoring.v3.CreateTimeSeriesSummary.ErrorOrBuilder> - errorsBuilder_; + com.google.monitoring.v3.CreateTimeSeriesSummary.Error, com.google.monitoring.v3.CreateTimeSeriesSummary.Error.Builder, com.google.monitoring.v3.CreateTimeSeriesSummary.ErrorOrBuilder> errorsBuilder_; /** - * - * *
      * The number of points that failed to be written. Order is not guaranteed.
      * 
@@ -1613,8 +1470,6 @@ public java.util.List ge } } /** - * - * *
      * The number of points that failed to be written. Order is not guaranteed.
      * 
@@ -1629,8 +1484,6 @@ public int getErrorsCount() { } } /** - * - * *
      * The number of points that failed to be written. Order is not guaranteed.
      * 
@@ -1645,8 +1498,6 @@ public com.google.monitoring.v3.CreateTimeSeriesSummary.Error getErrors(int inde } } /** - * - * *
      * The number of points that failed to be written. Order is not guaranteed.
      * 
@@ -1668,8 +1519,6 @@ public Builder setErrors( return this; } /** - * - * *
      * The number of points that failed to be written. Order is not guaranteed.
      * 
@@ -1688,8 +1537,6 @@ public Builder setErrors( return this; } /** - * - * *
      * The number of points that failed to be written. Order is not guaranteed.
      * 
@@ -1710,8 +1557,6 @@ public Builder addErrors(com.google.monitoring.v3.CreateTimeSeriesSummary.Error return this; } /** - * - * *
      * The number of points that failed to be written. Order is not guaranteed.
      * 
@@ -1733,8 +1578,6 @@ public Builder addErrors( return this; } /** - * - * *
      * The number of points that failed to be written. Order is not guaranteed.
      * 
@@ -1753,8 +1596,6 @@ public Builder addErrors( return this; } /** - * - * *
      * The number of points that failed to be written. Order is not guaranteed.
      * 
@@ -1773,8 +1614,6 @@ public Builder addErrors( return this; } /** - * - * *
      * The number of points that failed to be written. Order is not guaranteed.
      * 
@@ -1782,11 +1621,11 @@ public Builder addErrors( * repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3; */ public Builder addAllErrors( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -1794,8 +1633,6 @@ public Builder addAllErrors( return this; } /** - * - * *
      * The number of points that failed to be written. Order is not guaranteed.
      * 
@@ -1813,8 +1650,6 @@ public Builder clearErrors() { return this; } /** - * - * *
      * The number of points that failed to be written. Order is not guaranteed.
      * 
@@ -1832,8 +1667,6 @@ public Builder removeErrors(int index) { return this; } /** - * - * *
      * The number of points that failed to be written. Order is not guaranteed.
      * 
@@ -1845,8 +1678,6 @@ public com.google.monitoring.v3.CreateTimeSeriesSummary.Error.Builder getErrorsB return getErrorsFieldBuilder().getBuilder(index); } /** - * - * *
      * The number of points that failed to be written. Order is not guaranteed.
      * 
@@ -1856,22 +1687,19 @@ public com.google.monitoring.v3.CreateTimeSeriesSummary.Error.Builder getErrorsB public com.google.monitoring.v3.CreateTimeSeriesSummary.ErrorOrBuilder getErrorsOrBuilder( int index) { if (errorsBuilder_ == null) { - return errors_.get(index); - } else { + return errors_.get(index); } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The number of points that failed to be written. Order is not guaranteed.
      * 
* * repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3; */ - public java.util.List - getErrorsOrBuilderList() { + public java.util.List + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -1879,8 +1707,6 @@ public com.google.monitoring.v3.CreateTimeSeriesSummary.ErrorOrBuilder getErrors } } /** - * - * *
      * The number of points that failed to be written. Order is not guaranteed.
      * 
@@ -1888,12 +1714,10 @@ public com.google.monitoring.v3.CreateTimeSeriesSummary.ErrorOrBuilder getErrors * repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3; */ public com.google.monitoring.v3.CreateTimeSeriesSummary.Error.Builder addErrorsBuilder() { - return getErrorsFieldBuilder() - .addBuilder(com.google.monitoring.v3.CreateTimeSeriesSummary.Error.getDefaultInstance()); + return getErrorsFieldBuilder().addBuilder( + com.google.monitoring.v3.CreateTimeSeriesSummary.Error.getDefaultInstance()); } /** - * - * *
      * The number of points that failed to be written. Order is not guaranteed.
      * 
@@ -1902,43 +1726,37 @@ public com.google.monitoring.v3.CreateTimeSeriesSummary.Error.Builder addErrorsB */ public com.google.monitoring.v3.CreateTimeSeriesSummary.Error.Builder addErrorsBuilder( int index) { - return getErrorsFieldBuilder() - .addBuilder( - index, com.google.monitoring.v3.CreateTimeSeriesSummary.Error.getDefaultInstance()); + return getErrorsFieldBuilder().addBuilder( + index, com.google.monitoring.v3.CreateTimeSeriesSummary.Error.getDefaultInstance()); } /** - * - * *
      * The number of points that failed to be written. Order is not guaranteed.
      * 
* * repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3; */ - public java.util.List - getErrorsBuilderList() { + public java.util.List + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.CreateTimeSeriesSummary.Error, - com.google.monitoring.v3.CreateTimeSeriesSummary.Error.Builder, - com.google.monitoring.v3.CreateTimeSeriesSummary.ErrorOrBuilder> + com.google.monitoring.v3.CreateTimeSeriesSummary.Error, com.google.monitoring.v3.CreateTimeSeriesSummary.Error.Builder, com.google.monitoring.v3.CreateTimeSeriesSummary.ErrorOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.CreateTimeSeriesSummary.Error, - com.google.monitoring.v3.CreateTimeSeriesSummary.Error.Builder, - com.google.monitoring.v3.CreateTimeSeriesSummary.ErrorOrBuilder>( - errors_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.monitoring.v3.CreateTimeSeriesSummary.Error, com.google.monitoring.v3.CreateTimeSeriesSummary.Error.Builder, com.google.monitoring.v3.CreateTimeSeriesSummary.ErrorOrBuilder>( + errors_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); errors_ = null; } return errorsBuilder_; } - @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); } @@ -1948,12 +1766,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.CreateTimeSeriesSummary) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.CreateTimeSeriesSummary) private static final com.google.monitoring.v3.CreateTimeSeriesSummary DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.CreateTimeSeriesSummary(); } @@ -1962,16 +1780,16 @@ public static com.google.monitoring.v3.CreateTimeSeriesSummary getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTimeSeriesSummary parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTimeSeriesSummary(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTimeSeriesSummary parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTimeSeriesSummary(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1986,4 +1804,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.CreateTimeSeriesSummary getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesSummaryOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesSummaryOrBuilder.java similarity index 71% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesSummaryOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesSummaryOrBuilder.java index aa6b46e1..8558dcfb 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesSummaryOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesSummaryOrBuilder.java @@ -1,67 +1,42 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric_service.proto package com.google.monitoring.v3; -public interface CreateTimeSeriesSummaryOrBuilder - extends +public interface CreateTimeSeriesSummaryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.CreateTimeSeriesSummary) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The number of points in the request.
    * 
* * int32 total_point_count = 1; - * * @return The totalPointCount. */ int getTotalPointCount(); /** - * - * *
    * The number of points that were successfully written.
    * 
* * int32 success_point_count = 2; - * * @return The successPointCount. */ int getSuccessPointCount(); /** - * - * *
    * The number of points that failed to be written. Order is not guaranteed.
    * 
* * repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3; */ - java.util.List getErrorsList(); + java.util.List + getErrorsList(); /** - * - * *
    * The number of points that failed to be written. Order is not guaranteed.
    * 
@@ -70,8 +45,6 @@ public interface CreateTimeSeriesSummaryOrBuilder */ com.google.monitoring.v3.CreateTimeSeriesSummary.Error getErrors(int index); /** - * - * *
    * The number of points that failed to be written. Order is not guaranteed.
    * 
@@ -80,24 +53,21 @@ public interface CreateTimeSeriesSummaryOrBuilder */ int getErrorsCount(); /** - * - * *
    * The number of points that failed to be written. Order is not guaranteed.
    * 
* * repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3; */ - java.util.List + java.util.List getErrorsOrBuilderList(); /** - * - * *
    * The number of points that failed to be written. Order is not guaranteed.
    * 
* * repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3; */ - com.google.monitoring.v3.CreateTimeSeriesSummary.ErrorOrBuilder getErrorsOrBuilder(int index); + com.google.monitoring.v3.CreateTimeSeriesSummary.ErrorOrBuilder getErrorsOrBuilder( + int index); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequest.java similarity index 62% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequest.java index 01e9712b..7adaff5a 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequest.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/uptime_service.proto package com.google.monitoring.v3; /** - * - * *
  * The protocol for the `CreateUptimeCheckConfig` request.
  * 
* * Protobuf type {@code google.monitoring.v3.CreateUptimeCheckConfigRequest} */ -public final class CreateUptimeCheckConfigRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateUptimeCheckConfigRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.CreateUptimeCheckConfigRequest) CreateUptimeCheckConfigRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateUptimeCheckConfigRequest.newBuilder() to construct. - private CreateUptimeCheckConfigRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateUptimeCheckConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateUptimeCheckConfigRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateUptimeCheckConfigRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateUptimeCheckConfigRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,78 +53,67 @@ private CreateUptimeCheckConfigRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.monitoring.v3.UptimeCheckConfig.Builder subBuilder = null; + if (uptimeCheckConfig_ != null) { + subBuilder = uptimeCheckConfig_.toBuilder(); } - case 18: - { - com.google.monitoring.v3.UptimeCheckConfig.Builder subBuilder = null; - if (uptimeCheckConfig_ != null) { - subBuilder = uptimeCheckConfig_.toBuilder(); - } - uptimeCheckConfig_ = - input.readMessage( - com.google.monitoring.v3.UptimeCheckConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(uptimeCheckConfig_); - uptimeCheckConfig_ = subBuilder.buildPartial(); - } - - break; + uptimeCheckConfig_ = input.readMessage(com.google.monitoring.v3.UptimeCheckConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(uptimeCheckConfig_); + uptimeCheckConfig_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.UptimeServiceProto - .internal_static_google_monitoring_v3_CreateUptimeCheckConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_CreateUptimeCheckConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.UptimeServiceProto - .internal_static_google_monitoring_v3_CreateUptimeCheckConfigRequest_fieldAccessorTable + return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_CreateUptimeCheckConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateUptimeCheckConfigRequest.class, - com.google.monitoring.v3.CreateUptimeCheckConfigRequest.Builder.class); + com.google.monitoring.v3.CreateUptimeCheckConfigRequest.class, com.google.monitoring.v3.CreateUptimeCheckConfigRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
    * which to create the Uptime check. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -151,33 +122,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
    * which to create the Uptime check. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -188,16 +157,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int UPTIME_CHECK_CONFIG_FIELD_NUMBER = 2; private com.google.monitoring.v3.UptimeCheckConfig uptimeCheckConfig_; /** - * - * *
    * Required. The new Uptime check configuration.
    * 
* - * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the uptimeCheckConfig field is set. */ @java.lang.Override @@ -205,34 +169,23 @@ public boolean hasUptimeCheckConfig() { return uptimeCheckConfig_ != null; } /** - * - * *
    * Required. The new Uptime check configuration.
    * 
* - * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The uptimeCheckConfig. */ @java.lang.Override public com.google.monitoring.v3.UptimeCheckConfig getUptimeCheckConfig() { - return uptimeCheckConfig_ == null - ? com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance() - : uptimeCheckConfig_; + return uptimeCheckConfig_ == null ? com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance() : uptimeCheckConfig_; } /** - * - * *
    * Required. The new Uptime check configuration.
    * 
* - * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigOrBuilder() { @@ -240,7 +193,6 @@ public com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigO } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -252,7 +204,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -272,7 +225,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (uptimeCheckConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUptimeCheckConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUptimeCheckConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -282,18 +236,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.monitoring.v3.CreateUptimeCheckConfigRequest)) { return super.equals(obj); } - com.google.monitoring.v3.CreateUptimeCheckConfigRequest other = - (com.google.monitoring.v3.CreateUptimeCheckConfigRequest) obj; + com.google.monitoring.v3.CreateUptimeCheckConfigRequest other = (com.google.monitoring.v3.CreateUptimeCheckConfigRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasUptimeCheckConfig() != other.hasUptimeCheckConfig()) return false; if (hasUptimeCheckConfig()) { - if (!getUptimeCheckConfig().equals(other.getUptimeCheckConfig())) return false; + if (!getUptimeCheckConfig() + .equals(other.getUptimeCheckConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -318,127 +273,117 @@ public int hashCode() { } public static com.google.monitoring.v3.CreateUptimeCheckConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.CreateUptimeCheckConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.CreateUptimeCheckConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.CreateUptimeCheckConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.CreateUptimeCheckConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.CreateUptimeCheckConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.CreateUptimeCheckConfigRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.CreateUptimeCheckConfigRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.CreateUptimeCheckConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.CreateUptimeCheckConfigRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.CreateUptimeCheckConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.CreateUptimeCheckConfigRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.CreateUptimeCheckConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.CreateUptimeCheckConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.CreateUptimeCheckConfigRequest prototype) { + public static Builder newBuilder(com.google.monitoring.v3.CreateUptimeCheckConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 protocol for the `CreateUptimeCheckConfig` request.
    * 
* * Protobuf type {@code google.monitoring.v3.CreateUptimeCheckConfigRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.CreateUptimeCheckConfigRequest) com.google.monitoring.v3.CreateUptimeCheckConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.UptimeServiceProto - .internal_static_google_monitoring_v3_CreateUptimeCheckConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_CreateUptimeCheckConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.UptimeServiceProto - .internal_static_google_monitoring_v3_CreateUptimeCheckConfigRequest_fieldAccessorTable + return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_CreateUptimeCheckConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateUptimeCheckConfigRequest.class, - com.google.monitoring.v3.CreateUptimeCheckConfigRequest.Builder.class); + com.google.monitoring.v3.CreateUptimeCheckConfigRequest.class, com.google.monitoring.v3.CreateUptimeCheckConfigRequest.Builder.class); } // Construct using com.google.monitoring.v3.CreateUptimeCheckConfigRequest.newBuilder() @@ -446,15 +391,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -470,9 +416,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.UptimeServiceProto - .internal_static_google_monitoring_v3_CreateUptimeCheckConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_CreateUptimeCheckConfigRequest_descriptor; } @java.lang.Override @@ -491,8 +437,7 @@ public com.google.monitoring.v3.CreateUptimeCheckConfigRequest build() { @java.lang.Override public com.google.monitoring.v3.CreateUptimeCheckConfigRequest buildPartial() { - com.google.monitoring.v3.CreateUptimeCheckConfigRequest result = - new com.google.monitoring.v3.CreateUptimeCheckConfigRequest(this); + com.google.monitoring.v3.CreateUptimeCheckConfigRequest result = new com.google.monitoring.v3.CreateUptimeCheckConfigRequest(this); result.parent_ = parent_; if (uptimeCheckConfigBuilder_ == null) { result.uptimeCheckConfig_ = uptimeCheckConfig_; @@ -507,39 +452,38 @@ public com.google.monitoring.v3.CreateUptimeCheckConfigRequest 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.monitoring.v3.CreateUptimeCheckConfigRequest) { - return mergeFrom((com.google.monitoring.v3.CreateUptimeCheckConfigRequest) other); + return mergeFrom((com.google.monitoring.v3.CreateUptimeCheckConfigRequest)other); } else { super.mergeFrom(other); return this; @@ -547,8 +491,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.CreateUptimeCheckConfigRequest other) { - if (other == com.google.monitoring.v3.CreateUptimeCheckConfigRequest.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.CreateUptimeCheckConfigRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -575,8 +518,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.CreateUptimeCheckConfigRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.CreateUptimeCheckConfigRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -588,24 +530,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
      * which to create the Uptime check. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -614,25 +552,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
      * which to create the Uptime check. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -640,73 +575,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
      * which to create the Uptime check. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
      * which to create the Uptime check. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
      * which to create the Uptime check. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -714,58 +636,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.monitoring.v3.UptimeCheckConfig uptimeCheckConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig, - com.google.monitoring.v3.UptimeCheckConfig.Builder, - com.google.monitoring.v3.UptimeCheckConfigOrBuilder> - uptimeCheckConfigBuilder_; + com.google.monitoring.v3.UptimeCheckConfig, com.google.monitoring.v3.UptimeCheckConfig.Builder, com.google.monitoring.v3.UptimeCheckConfigOrBuilder> uptimeCheckConfigBuilder_; /** - * - * *
      * Required. The new Uptime check configuration.
      * 
* - * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the uptimeCheckConfig field is set. */ public boolean hasUptimeCheckConfig() { return uptimeCheckConfigBuilder_ != null || uptimeCheckConfig_ != null; } /** - * - * *
      * Required. The new Uptime check configuration.
      * 
* - * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The uptimeCheckConfig. */ public com.google.monitoring.v3.UptimeCheckConfig getUptimeCheckConfig() { if (uptimeCheckConfigBuilder_ == null) { - return uptimeCheckConfig_ == null - ? com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance() - : uptimeCheckConfig_; + return uptimeCheckConfig_ == null ? com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance() : uptimeCheckConfig_; } else { return uptimeCheckConfigBuilder_.getMessage(); } } /** - * - * *
      * Required. The new Uptime check configuration.
      * 
* - * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUptimeCheckConfig(com.google.monitoring.v3.UptimeCheckConfig value) { if (uptimeCheckConfigBuilder_ == null) { @@ -781,15 +684,11 @@ public Builder setUptimeCheckConfig(com.google.monitoring.v3.UptimeCheckConfig v return this; } /** - * - * *
      * Required. The new Uptime check configuration.
      * 
* - * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUptimeCheckConfig( com.google.monitoring.v3.UptimeCheckConfig.Builder builderForValue) { @@ -803,23 +702,17 @@ public Builder setUptimeCheckConfig( return this; } /** - * - * *
      * Required. The new Uptime check configuration.
      * 
* - * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUptimeCheckConfig(com.google.monitoring.v3.UptimeCheckConfig value) { if (uptimeCheckConfigBuilder_ == null) { if (uptimeCheckConfig_ != null) { uptimeCheckConfig_ = - com.google.monitoring.v3.UptimeCheckConfig.newBuilder(uptimeCheckConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.monitoring.v3.UptimeCheckConfig.newBuilder(uptimeCheckConfig_).mergeFrom(value).buildPartial(); } else { uptimeCheckConfig_ = value; } @@ -831,15 +724,11 @@ public Builder mergeUptimeCheckConfig(com.google.monitoring.v3.UptimeCheckConfig return this; } /** - * - * *
      * Required. The new Uptime check configuration.
      * 
* - * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUptimeCheckConfig() { if (uptimeCheckConfigBuilder_ == null) { @@ -853,71 +742,55 @@ public Builder clearUptimeCheckConfig() { return this; } /** - * - * *
      * Required. The new Uptime check configuration.
      * 
* - * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.monitoring.v3.UptimeCheckConfig.Builder getUptimeCheckConfigBuilder() { - + onChanged(); return getUptimeCheckConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The new Uptime check configuration.
      * 
* - * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigOrBuilder() { if (uptimeCheckConfigBuilder_ != null) { return uptimeCheckConfigBuilder_.getMessageOrBuilder(); } else { - return uptimeCheckConfig_ == null - ? com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance() - : uptimeCheckConfig_; + return uptimeCheckConfig_ == null ? + com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance() : uptimeCheckConfig_; } } /** - * - * *
      * Required. The new Uptime check configuration.
      * 
* - * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig, - com.google.monitoring.v3.UptimeCheckConfig.Builder, - com.google.monitoring.v3.UptimeCheckConfigOrBuilder> + com.google.monitoring.v3.UptimeCheckConfig, com.google.monitoring.v3.UptimeCheckConfig.Builder, com.google.monitoring.v3.UptimeCheckConfigOrBuilder> getUptimeCheckConfigFieldBuilder() { if (uptimeCheckConfigBuilder_ == null) { - uptimeCheckConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig, - com.google.monitoring.v3.UptimeCheckConfig.Builder, - com.google.monitoring.v3.UptimeCheckConfigOrBuilder>( - getUptimeCheckConfig(), getParentForChildren(), isClean()); + uptimeCheckConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.UptimeCheckConfig, com.google.monitoring.v3.UptimeCheckConfig.Builder, com.google.monitoring.v3.UptimeCheckConfigOrBuilder>( + getUptimeCheckConfig(), + getParentForChildren(), + isClean()); uptimeCheckConfig_ = null; } return uptimeCheckConfigBuilder_; } - @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); } @@ -927,12 +800,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.CreateUptimeCheckConfigRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.CreateUptimeCheckConfigRequest) private static final com.google.monitoring.v3.CreateUptimeCheckConfigRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.CreateUptimeCheckConfigRequest(); } @@ -941,16 +814,16 @@ public static com.google.monitoring.v3.CreateUptimeCheckConfigRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateUptimeCheckConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateUptimeCheckConfigRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateUptimeCheckConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateUptimeCheckConfigRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -965,4 +838,6 @@ public com.google.protobuf.Parser getParserForTy public com.google.monitoring.v3.CreateUptimeCheckConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequestOrBuilder.java new file mode 100644 index 00000000..c0c7f4b1 --- /dev/null +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequestOrBuilder.java @@ -0,0 +1,60 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/uptime_service.proto + +package com.google.monitoring.v3; + +public interface CreateUptimeCheckConfigRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.monitoring.v3.CreateUptimeCheckConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
+   * which to create the Uptime check. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
+   * which to create the Uptime check. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * Required. The new Uptime check configuration.
+   * 
+ * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the uptimeCheckConfig field is set. + */ + boolean hasUptimeCheckConfig(); + /** + *
+   * Required. The new Uptime check configuration.
+   * 
+ * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The uptimeCheckConfig. + */ + com.google.monitoring.v3.UptimeCheckConfig getUptimeCheckConfig(); + /** + *
+   * Required. The new Uptime check configuration.
+   * 
+ * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigOrBuilder(); +} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequest.java similarity index 66% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequest.java index 7945d180..2a972dc2 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/alert_service.proto package com.google.monitoring.v3; /** - * - * *
  * The protocol for the `DeleteAlertPolicy` request.
  * 
* * Protobuf type {@code google.monitoring.v3.DeleteAlertPolicyRequest} */ -public final class DeleteAlertPolicyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteAlertPolicyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.DeleteAlertPolicyRequest) DeleteAlertPolicyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteAlertPolicyRequest.newBuilder() to construct. private DeleteAlertPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteAlertPolicyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteAlertPolicyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteAlertPolicyRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,62 +53,54 @@ private DeleteAlertPolicyRequest( case 0: done = true; break; - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.AlertServiceProto - .internal_static_google_monitoring_v3_DeleteAlertPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_DeleteAlertPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.AlertServiceProto - .internal_static_google_monitoring_v3_DeleteAlertPolicyRequest_fieldAccessorTable + return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_DeleteAlertPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.DeleteAlertPolicyRequest.class, - com.google.monitoring.v3.DeleteAlertPolicyRequest.Builder.class); + com.google.monitoring.v3.DeleteAlertPolicyRequest.class, com.google.monitoring.v3.DeleteAlertPolicyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** - * - * *
    * Required. The alerting policy to delete. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
    * For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy].
    * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -134,33 +109,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The alerting policy to delete. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
    * For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy].
    * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); } @@ -205,15 +178,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.monitoring.v3.DeleteAlertPolicyRequest)) { return super.equals(obj); } - com.google.monitoring.v3.DeleteAlertPolicyRequest other = - (com.google.monitoring.v3.DeleteAlertPolicyRequest) obj; + com.google.monitoring.v3.DeleteAlertPolicyRequest other = (com.google.monitoring.v3.DeleteAlertPolicyRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,126 +206,117 @@ public int hashCode() { } public static com.google.monitoring.v3.DeleteAlertPolicyRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.DeleteAlertPolicyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.DeleteAlertPolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.DeleteAlertPolicyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.DeleteAlertPolicyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.DeleteAlertPolicyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.DeleteAlertPolicyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.DeleteAlertPolicyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.DeleteAlertPolicyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.DeleteAlertPolicyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.DeleteAlertPolicyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.DeleteAlertPolicyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.DeleteAlertPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.DeleteAlertPolicyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.DeleteAlertPolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 protocol for the `DeleteAlertPolicy` request.
    * 
* * Protobuf type {@code google.monitoring.v3.DeleteAlertPolicyRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.DeleteAlertPolicyRequest) com.google.monitoring.v3.DeleteAlertPolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.AlertServiceProto - .internal_static_google_monitoring_v3_DeleteAlertPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_DeleteAlertPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.AlertServiceProto - .internal_static_google_monitoring_v3_DeleteAlertPolicyRequest_fieldAccessorTable + return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_DeleteAlertPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.DeleteAlertPolicyRequest.class, - com.google.monitoring.v3.DeleteAlertPolicyRequest.Builder.class); + com.google.monitoring.v3.DeleteAlertPolicyRequest.class, com.google.monitoring.v3.DeleteAlertPolicyRequest.Builder.class); } // Construct using com.google.monitoring.v3.DeleteAlertPolicyRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.AlertServiceProto - .internal_static_google_monitoring_v3_DeleteAlertPolicyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_DeleteAlertPolicyRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.monitoring.v3.DeleteAlertPolicyRequest build() { @java.lang.Override public com.google.monitoring.v3.DeleteAlertPolicyRequest buildPartial() { - com.google.monitoring.v3.DeleteAlertPolicyRequest result = - new com.google.monitoring.v3.DeleteAlertPolicyRequest(this); + com.google.monitoring.v3.DeleteAlertPolicyRequest result = new com.google.monitoring.v3.DeleteAlertPolicyRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.monitoring.v3.DeleteAlertPolicyRequest 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.monitoring.v3.DeleteAlertPolicyRequest) { - return mergeFrom((com.google.monitoring.v3.DeleteAlertPolicyRequest) other); + return mergeFrom((com.google.monitoring.v3.DeleteAlertPolicyRequest)other); } else { super.mergeFrom(other); return this; @@ -450,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.DeleteAlertPolicyRequest other) { - if (other == com.google.monitoring.v3.DeleteAlertPolicyRequest.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.DeleteAlertPolicyRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -475,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.DeleteAlertPolicyRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.DeleteAlertPolicyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -488,24 +449,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The alerting policy to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
      * For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy].
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -514,25 +471,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The alerting policy to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
      * For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy].
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -540,80 +494,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The alerting policy to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
      * For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy].
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The alerting policy to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
      * For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy].
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The alerting policy to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
      * For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy].
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -623,12 +564,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.DeleteAlertPolicyRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.DeleteAlertPolicyRequest) private static final com.google.monitoring.v3.DeleteAlertPolicyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.DeleteAlertPolicyRequest(); } @@ -637,16 +578,16 @@ public static com.google.monitoring.v3.DeleteAlertPolicyRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteAlertPolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteAlertPolicyRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteAlertPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteAlertPolicyRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -661,4 +602,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.DeleteAlertPolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequestOrBuilder.java new file mode 100644 index 00000000..7d37089e --- /dev/null +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/alert_service.proto + +package com.google.monitoring.v3; + +public interface DeleteAlertPolicyRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.monitoring.v3.DeleteAlertPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The alerting policy to delete. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
+   * For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy].
+   * 
+ * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The alerting policy to delete. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
+   * For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy].
+   * 
+ * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteGroupRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteGroupRequest.java similarity index 68% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteGroupRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteGroupRequest.java index d771c35a..94117c79 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteGroupRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteGroupRequest.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/monitoring/v3/group_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `DeleteGroup` request. The default behavior is to be able to delete a
  * single group without any descendants.
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.monitoring.v3.DeleteGroupRequest}
  */
-public final class DeleteGroupRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteGroupRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.DeleteGroupRequest)
     DeleteGroupRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteGroupRequest.newBuilder() to construct.
   private DeleteGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteGroupRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteGroupRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private DeleteGroupRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,66 +54,58 @@ private DeleteGroupRequest(
           case 0:
             done = true;
             break;
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 32:
-            {
-              recursive_ = input.readBool();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            name_ = s;
+            break;
+          }
+          case 32: {
+
+            recursive_ = input.readBool();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.monitoring.v3.GroupServiceProto
-        .internal_static_google_monitoring_v3_DeleteGroupRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_DeleteGroupRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.monitoring.v3.GroupServiceProto
-        .internal_static_google_monitoring_v3_DeleteGroupRequest_fieldAccessorTable
+    return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_DeleteGroupRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.DeleteGroupRequest.class,
-            com.google.monitoring.v3.DeleteGroupRequest.Builder.class);
+            com.google.monitoring.v3.DeleteGroupRequest.class, com.google.monitoring.v3.DeleteGroupRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 3;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. The group to delete. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
    * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -139,32 +114,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The group to delete. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
    * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -175,8 +148,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int RECURSIVE_FIELD_NUMBER = 4; private boolean recursive_; /** - * - * *
    * If this field is true, then the request means to delete a group with all
    * its descendants. Otherwise, the request means to delete a group only when
@@ -184,7 +155,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * bool recursive = 4; - * * @return The recursive. */ @java.lang.Override @@ -193,7 +163,6 @@ public boolean getRecursive() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,7 +174,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, 3, name_); } @@ -225,7 +195,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); } if (recursive_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, recursive_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, recursive_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -235,16 +206,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.monitoring.v3.DeleteGroupRequest)) { return super.equals(obj); } - com.google.monitoring.v3.DeleteGroupRequest other = - (com.google.monitoring.v3.DeleteGroupRequest) obj; + com.google.monitoring.v3.DeleteGroupRequest other = (com.google.monitoring.v3.DeleteGroupRequest) obj; - if (!getName().equals(other.getName())) return false; - if (getRecursive() != other.getRecursive()) return false; + if (!getName() + .equals(other.getName())) return false; + if (getRecursive() + != other.getRecursive()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -259,110 +231,104 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + RECURSIVE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRecursive()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRecursive()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.monitoring.v3.DeleteGroupRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.DeleteGroupRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.DeleteGroupRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.DeleteGroupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.DeleteGroupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.DeleteGroupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.DeleteGroupRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.DeleteGroupRequest 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.monitoring.v3.DeleteGroupRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.DeleteGroupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.DeleteGroupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.DeleteGroupRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.DeleteGroupRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.DeleteGroupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.DeleteGroupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 `DeleteGroup` request. The default behavior is to be able to delete a
    * single group without any descendants.
@@ -370,23 +336,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.monitoring.v3.DeleteGroupRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.DeleteGroupRequest)
       com.google.monitoring.v3.DeleteGroupRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.monitoring.v3.GroupServiceProto
-          .internal_static_google_monitoring_v3_DeleteGroupRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_DeleteGroupRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.GroupServiceProto
-          .internal_static_google_monitoring_v3_DeleteGroupRequest_fieldAccessorTable
+      return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_DeleteGroupRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.DeleteGroupRequest.class,
-              com.google.monitoring.v3.DeleteGroupRequest.Builder.class);
+              com.google.monitoring.v3.DeleteGroupRequest.class, com.google.monitoring.v3.DeleteGroupRequest.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.DeleteGroupRequest.newBuilder()
@@ -394,15 +358,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -414,9 +379,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.monitoring.v3.GroupServiceProto
-          .internal_static_google_monitoring_v3_DeleteGroupRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_DeleteGroupRequest_descriptor;
     }
 
     @java.lang.Override
@@ -435,8 +400,7 @@ public com.google.monitoring.v3.DeleteGroupRequest build() {
 
     @java.lang.Override
     public com.google.monitoring.v3.DeleteGroupRequest buildPartial() {
-      com.google.monitoring.v3.DeleteGroupRequest result =
-          new com.google.monitoring.v3.DeleteGroupRequest(this);
+      com.google.monitoring.v3.DeleteGroupRequest result = new com.google.monitoring.v3.DeleteGroupRequest(this);
       result.name_ = name_;
       result.recursive_ = recursive_;
       onBuilt();
@@ -447,39 +411,38 @@ public com.google.monitoring.v3.DeleteGroupRequest 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.monitoring.v3.DeleteGroupRequest) {
-        return mergeFrom((com.google.monitoring.v3.DeleteGroupRequest) other);
+        return mergeFrom((com.google.monitoring.v3.DeleteGroupRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -526,23 +489,19 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The group to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -551,24 +510,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The group to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -576,79 +532,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The group to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The group to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The group to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean recursive_; + private boolean recursive_ ; /** - * - * *
      * If this field is true, then the request means to delete a group with all
      * its descendants. Otherwise, the request means to delete a group only when
@@ -656,7 +597,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * bool recursive = 4; - * * @return The recursive. */ @java.lang.Override @@ -664,8 +604,6 @@ public boolean getRecursive() { return recursive_; } /** - * - * *
      * If this field is true, then the request means to delete a group with all
      * its descendants. Otherwise, the request means to delete a group only when
@@ -673,19 +611,16 @@ public boolean getRecursive() {
      * 
* * bool recursive = 4; - * * @param value The recursive to set. * @return This builder for chaining. */ public Builder setRecursive(boolean value) { - + recursive_ = value; onChanged(); return this; } /** - * - * *
      * If this field is true, then the request means to delete a group with all
      * its descendants. Otherwise, the request means to delete a group only when
@@ -693,18 +628,17 @@ public Builder setRecursive(boolean value) {
      * 
* * bool recursive = 4; - * * @return This builder for chaining. */ public Builder clearRecursive() { - + recursive_ = 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); } @@ -714,12 +648,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.DeleteGroupRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.DeleteGroupRequest) private static final com.google.monitoring.v3.DeleteGroupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.DeleteGroupRequest(); } @@ -728,16 +662,16 @@ public static com.google.monitoring.v3.DeleteGroupRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteGroupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteGroupRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteGroupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteGroupRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -752,4 +686,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.DeleteGroupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteGroupRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteGroupRequestOrBuilder.java similarity index 50% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteGroupRequestOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteGroupRequestOrBuilder.java index e2b4ee99..e36a25e5 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteGroupRequestOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteGroupRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/group_service.proto package com.google.monitoring.v3; -public interface DeleteGroupRequestOrBuilder - extends +public interface DeleteGroupRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.DeleteGroupRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The group to delete. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
    * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The group to delete. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
    * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * If this field is true, then the request means to delete a group with all
    * its descendants. Otherwise, the request means to delete a group only when
@@ -64,7 +37,6 @@ public interface DeleteGroupRequestOrBuilder
    * 
* * bool recursive = 4; - * * @return The recursive. */ boolean getRecursive(); diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequest.java similarity index 66% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequest.java index de4b0445..2735ec5c 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `DeleteMetricDescriptor` request.
  * 
* * Protobuf type {@code google.monitoring.v3.DeleteMetricDescriptorRequest} */ -public final class DeleteMetricDescriptorRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteMetricDescriptorRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.DeleteMetricDescriptorRequest) DeleteMetricDescriptorRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteMetricDescriptorRequest.newBuilder() to construct. private DeleteMetricDescriptorRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteMetricDescriptorRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteMetricDescriptorRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteMetricDescriptorRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,52 +53,47 @@ private DeleteMetricDescriptorRequest( case 0: done = true; break; - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_DeleteMetricDescriptorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_DeleteMetricDescriptorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_DeleteMetricDescriptorRequest_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_DeleteMetricDescriptorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.DeleteMetricDescriptorRequest.class, - com.google.monitoring.v3.DeleteMetricDescriptorRequest.Builder.class); + com.google.monitoring.v3.DeleteMetricDescriptorRequest.class, com.google.monitoring.v3.DeleteMetricDescriptorRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** - * - * *
    * Required. The metric descriptor on which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
@@ -123,10 +101,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * `"custom.googleapis.com/my_test_metric"`.
    * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,15 +110,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The metric descriptor on which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
@@ -151,18 +125,17 @@ public java.lang.String getName() {
    * `"custom.googleapis.com/my_test_metric"`.
    * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -171,7 +144,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,7 +155,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); } @@ -207,15 +180,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.DeleteMetricDescriptorRequest)) { return super.equals(obj); } - com.google.monitoring.v3.DeleteMetricDescriptorRequest other = - (com.google.monitoring.v3.DeleteMetricDescriptorRequest) obj; + com.google.monitoring.v3.DeleteMetricDescriptorRequest other = (com.google.monitoring.v3.DeleteMetricDescriptorRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -235,127 +208,117 @@ public int hashCode() { } public static com.google.monitoring.v3.DeleteMetricDescriptorRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.DeleteMetricDescriptorRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.DeleteMetricDescriptorRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.DeleteMetricDescriptorRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.DeleteMetricDescriptorRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.DeleteMetricDescriptorRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.DeleteMetricDescriptorRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.DeleteMetricDescriptorRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.DeleteMetricDescriptorRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.DeleteMetricDescriptorRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.DeleteMetricDescriptorRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.DeleteMetricDescriptorRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.DeleteMetricDescriptorRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.DeleteMetricDescriptorRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.DeleteMetricDescriptorRequest prototype) { + public static Builder newBuilder(com.google.monitoring.v3.DeleteMetricDescriptorRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 `DeleteMetricDescriptor` request.
    * 
* * Protobuf type {@code google.monitoring.v3.DeleteMetricDescriptorRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.DeleteMetricDescriptorRequest) com.google.monitoring.v3.DeleteMetricDescriptorRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_DeleteMetricDescriptorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_DeleteMetricDescriptorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_DeleteMetricDescriptorRequest_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_DeleteMetricDescriptorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.DeleteMetricDescriptorRequest.class, - com.google.monitoring.v3.DeleteMetricDescriptorRequest.Builder.class); + com.google.monitoring.v3.DeleteMetricDescriptorRequest.class, com.google.monitoring.v3.DeleteMetricDescriptorRequest.Builder.class); } // Construct using com.google.monitoring.v3.DeleteMetricDescriptorRequest.newBuilder() @@ -363,15 +326,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -381,9 +345,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_DeleteMetricDescriptorRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_DeleteMetricDescriptorRequest_descriptor; } @java.lang.Override @@ -402,8 +366,7 @@ public com.google.monitoring.v3.DeleteMetricDescriptorRequest build() { @java.lang.Override public com.google.monitoring.v3.DeleteMetricDescriptorRequest buildPartial() { - com.google.monitoring.v3.DeleteMetricDescriptorRequest result = - new com.google.monitoring.v3.DeleteMetricDescriptorRequest(this); + com.google.monitoring.v3.DeleteMetricDescriptorRequest result = new com.google.monitoring.v3.DeleteMetricDescriptorRequest(this); result.name_ = name_; onBuilt(); return result; @@ -413,39 +376,38 @@ public com.google.monitoring.v3.DeleteMetricDescriptorRequest 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.monitoring.v3.DeleteMetricDescriptorRequest) { - return mergeFrom((com.google.monitoring.v3.DeleteMetricDescriptorRequest) other); + return mergeFrom((com.google.monitoring.v3.DeleteMetricDescriptorRequest)other); } else { super.mergeFrom(other); return this; @@ -453,8 +415,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.DeleteMetricDescriptorRequest other) { - if (other == com.google.monitoring.v3.DeleteMetricDescriptorRequest.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.DeleteMetricDescriptorRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -478,8 +439,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.DeleteMetricDescriptorRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.DeleteMetricDescriptorRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -491,8 +451,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The metric descriptor on which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
@@ -500,16 +458,14 @@ public Builder mergeFrom(
      * `"custom.googleapis.com/my_test_metric"`.
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -518,8 +474,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The metric descriptor on which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
@@ -527,17 +481,16 @@ public java.lang.String getName() {
      * `"custom.googleapis.com/my_test_metric"`.
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -545,8 +498,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The metric descriptor on which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
@@ -554,25 +505,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * `"custom.googleapis.com/my_test_metric"`.
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The metric descriptor on which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
@@ -580,21 +527,16 @@ public Builder setName(java.lang.String value) {
      * `"custom.googleapis.com/my_test_metric"`.
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The metric descriptor on which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
@@ -602,26 +544,24 @@ public Builder clearName() {
      * `"custom.googleapis.com/my_test_metric"`.
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -631,12 +571,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.DeleteMetricDescriptorRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.DeleteMetricDescriptorRequest) private static final com.google.monitoring.v3.DeleteMetricDescriptorRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.DeleteMetricDescriptorRequest(); } @@ -645,16 +585,16 @@ public static com.google.monitoring.v3.DeleteMetricDescriptorRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteMetricDescriptorRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteMetricDescriptorRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteMetricDescriptorRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteMetricDescriptorRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -669,4 +609,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.monitoring.v3.DeleteMetricDescriptorRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequestOrBuilder.java new file mode 100644 index 00000000..c22394a5 --- /dev/null +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequestOrBuilder.java @@ -0,0 +1,35 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/metric_service.proto + +package com.google.monitoring.v3; + +public interface DeleteMetricDescriptorRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.monitoring.v3.DeleteMetricDescriptorRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The metric descriptor on which to execute the request. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
+   * An example of `[METRIC_ID]` is:
+   * `"custom.googleapis.com/my_test_metric"`.
+   * 
+ * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The metric descriptor on which to execute the request. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
+   * An example of `[METRIC_ID]` is:
+   * `"custom.googleapis.com/my_test_metric"`.
+   * 
+ * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteNotificationChannelRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteNotificationChannelRequest.java similarity index 67% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteNotificationChannelRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteNotificationChannelRequest.java index 6c4311ea..a5810710 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteNotificationChannelRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteNotificationChannelRequest.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/notification_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `DeleteNotificationChannel` request.
  * 
* * Protobuf type {@code google.monitoring.v3.DeleteNotificationChannelRequest} */ -public final class DeleteNotificationChannelRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteNotificationChannelRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.DeleteNotificationChannelRequest) DeleteNotificationChannelRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteNotificationChannelRequest.newBuilder() to construct. - private DeleteNotificationChannelRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteNotificationChannelRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteNotificationChannelRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteNotificationChannelRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteNotificationChannelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,66 +53,58 @@ private DeleteNotificationChannelRequest( case 0: done = true; break; - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 40: - { - force_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + case 40: { + + force_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_DeleteNotificationChannelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_DeleteNotificationChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_DeleteNotificationChannelRequest_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_DeleteNotificationChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.DeleteNotificationChannelRequest.class, - com.google.monitoring.v3.DeleteNotificationChannelRequest.Builder.class); + com.google.monitoring.v3.DeleteNotificationChannelRequest.class, com.google.monitoring.v3.DeleteNotificationChannelRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** - * - * *
    * Required. The channel for which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
    * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -139,32 +113,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The channel for which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
    * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -175,8 +147,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FORCE_FIELD_NUMBER = 5; private boolean force_; /** - * - * *
    * If true, the notification channel will be deleted regardless of its
    * use in alert policies (the policies will be updated to remove the
@@ -185,7 +155,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * bool force = 5; - * * @return The force. */ @java.lang.Override @@ -194,7 +163,6 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,7 +174,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, 3, name_); } @@ -226,7 +195,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, force_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, force_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -236,16 +206,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.monitoring.v3.DeleteNotificationChannelRequest)) { return super.equals(obj); } - com.google.monitoring.v3.DeleteNotificationChannelRequest other = - (com.google.monitoring.v3.DeleteNotificationChannelRequest) obj; + com.google.monitoring.v3.DeleteNotificationChannelRequest other = (com.google.monitoring.v3.DeleteNotificationChannelRequest) obj; - if (!getName().equals(other.getName())) return false; - if (getForce() != other.getForce()) return false; + if (!getName() + .equals(other.getName())) return false; + if (getForce() + != other.getForce()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -260,134 +231,125 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getForce()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.monitoring.v3.DeleteNotificationChannelRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.DeleteNotificationChannelRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.DeleteNotificationChannelRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.DeleteNotificationChannelRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.DeleteNotificationChannelRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.DeleteNotificationChannelRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.DeleteNotificationChannelRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.DeleteNotificationChannelRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.DeleteNotificationChannelRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.DeleteNotificationChannelRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.DeleteNotificationChannelRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.DeleteNotificationChannelRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.DeleteNotificationChannelRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.DeleteNotificationChannelRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.DeleteNotificationChannelRequest prototype) { + public static Builder newBuilder(com.google.monitoring.v3.DeleteNotificationChannelRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 `DeleteNotificationChannel` request.
    * 
* * Protobuf type {@code google.monitoring.v3.DeleteNotificationChannelRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.DeleteNotificationChannelRequest) com.google.monitoring.v3.DeleteNotificationChannelRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_DeleteNotificationChannelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_DeleteNotificationChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_DeleteNotificationChannelRequest_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_DeleteNotificationChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.DeleteNotificationChannelRequest.class, - com.google.monitoring.v3.DeleteNotificationChannelRequest.Builder.class); + com.google.monitoring.v3.DeleteNotificationChannelRequest.class, com.google.monitoring.v3.DeleteNotificationChannelRequest.Builder.class); } // Construct using com.google.monitoring.v3.DeleteNotificationChannelRequest.newBuilder() @@ -395,15 +357,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -415,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_DeleteNotificationChannelRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_DeleteNotificationChannelRequest_descriptor; } @java.lang.Override @@ -436,8 +399,7 @@ public com.google.monitoring.v3.DeleteNotificationChannelRequest build() { @java.lang.Override public com.google.monitoring.v3.DeleteNotificationChannelRequest buildPartial() { - com.google.monitoring.v3.DeleteNotificationChannelRequest result = - new com.google.monitoring.v3.DeleteNotificationChannelRequest(this); + com.google.monitoring.v3.DeleteNotificationChannelRequest result = new com.google.monitoring.v3.DeleteNotificationChannelRequest(this); result.name_ = name_; result.force_ = force_; onBuilt(); @@ -448,39 +410,38 @@ public com.google.monitoring.v3.DeleteNotificationChannelRequest 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.monitoring.v3.DeleteNotificationChannelRequest) { - return mergeFrom((com.google.monitoring.v3.DeleteNotificationChannelRequest) other); + return mergeFrom((com.google.monitoring.v3.DeleteNotificationChannelRequest)other); } else { super.mergeFrom(other); return this; @@ -488,8 +449,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.DeleteNotificationChannelRequest other) { - if (other == com.google.monitoring.v3.DeleteNotificationChannelRequest.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.DeleteNotificationChannelRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -516,8 +476,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.DeleteNotificationChannelRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.DeleteNotificationChannelRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -529,23 +488,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The channel for which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -554,24 +509,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The channel for which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -579,79 +531,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The channel for which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The channel for which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The channel for which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean force_; + private boolean force_ ; /** - * - * *
      * If true, the notification channel will be deleted regardless of its
      * use in alert policies (the policies will be updated to remove the
@@ -660,7 +597,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * bool force = 5; - * * @return The force. */ @java.lang.Override @@ -668,8 +604,6 @@ public boolean getForce() { return force_; } /** - * - * *
      * If true, the notification channel will be deleted regardless of its
      * use in alert policies (the policies will be updated to remove the
@@ -678,19 +612,16 @@ public boolean getForce() {
      * 
* * bool force = 5; - * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** - * - * *
      * If true, the notification channel will be deleted regardless of its
      * use in alert policies (the policies will be updated to remove the
@@ -699,18 +630,17 @@ public Builder setForce(boolean value) {
      * 
* * bool force = 5; - * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = 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); } @@ -720,12 +650,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.DeleteNotificationChannelRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.DeleteNotificationChannelRequest) private static final com.google.monitoring.v3.DeleteNotificationChannelRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.DeleteNotificationChannelRequest(); } @@ -734,16 +664,16 @@ public static com.google.monitoring.v3.DeleteNotificationChannelRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteNotificationChannelRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteNotificationChannelRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteNotificationChannelRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteNotificationChannelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -758,4 +688,6 @@ public com.google.protobuf.Parser getParserFor public com.google.monitoring.v3.DeleteNotificationChannelRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteNotificationChannelRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteNotificationChannelRequestOrBuilder.java similarity index 53% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteNotificationChannelRequestOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteNotificationChannelRequestOrBuilder.java index ea0e0542..5850c4cf 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteNotificationChannelRequestOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteNotificationChannelRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/notification_service.proto package com.google.monitoring.v3; -public interface DeleteNotificationChannelRequestOrBuilder - extends +public interface DeleteNotificationChannelRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.DeleteNotificationChannelRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The channel for which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
    * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The channel for which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
    * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * If true, the notification channel will be deleted regardless of its
    * use in alert policies (the policies will be updated to remove the
@@ -65,7 +38,6 @@ public interface DeleteNotificationChannelRequestOrBuilder
    * 
* * bool force = 5; - * * @return The force. */ boolean getForce(); diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceLevelObjectiveRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceLevelObjectiveRequest.java similarity index 66% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceLevelObjectiveRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceLevelObjectiveRequest.java index 185dcd86..82cc1005 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceLevelObjectiveRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceLevelObjectiveRequest.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/service_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `DeleteServiceLevelObjective` request.
  * 
* * Protobuf type {@code google.monitoring.v3.DeleteServiceLevelObjectiveRequest} */ -public final class DeleteServiceLevelObjectiveRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteServiceLevelObjectiveRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.DeleteServiceLevelObjectiveRequest) DeleteServiceLevelObjectiveRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteServiceLevelObjectiveRequest.newBuilder() to construct. - private DeleteServiceLevelObjectiveRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteServiceLevelObjectiveRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteServiceLevelObjectiveRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteServiceLevelObjectiveRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteServiceLevelObjectiveRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,61 +53,53 @@ private DeleteServiceLevelObjectiveRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_DeleteServiceLevelObjectiveRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_DeleteServiceLevelObjectiveRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_DeleteServiceLevelObjectiveRequest_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_DeleteServiceLevelObjectiveRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest.class, - com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest.Builder.class); + com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest.class, com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. Resource name of the `ServiceLevelObjective` to delete. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -134,32 +108,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Resource name of the `ServiceLevelObjective` to delete. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -168,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -204,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest)) { return super.equals(obj); } - com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest other = - (com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest) obj; + com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest other = (com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,127 +204,117 @@ public int hashCode() { } public static com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest prototype) { + public static Builder newBuilder(com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 `DeleteServiceLevelObjective` request.
    * 
* * Protobuf type {@code google.monitoring.v3.DeleteServiceLevelObjectiveRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.DeleteServiceLevelObjectiveRequest) com.google.monitoring.v3.DeleteServiceLevelObjectiveRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_DeleteServiceLevelObjectiveRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_DeleteServiceLevelObjectiveRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_DeleteServiceLevelObjectiveRequest_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_DeleteServiceLevelObjectiveRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest.class, - com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest.Builder.class); + com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest.class, com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest.Builder.class); } // Construct using com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest.newBuilder() @@ -360,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_DeleteServiceLevelObjectiveRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_DeleteServiceLevelObjectiveRequest_descriptor; } @java.lang.Override @@ -399,8 +362,7 @@ public com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest build() { @java.lang.Override public com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest buildPartial() { - com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest result = - new com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest(this); + com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest result = new com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +372,38 @@ public com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest 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.monitoring.v3.DeleteServiceLevelObjectiveRequest) { - return mergeFrom((com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest) other); + return mergeFrom((com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest)other); } else { super.mergeFrom(other); return this; @@ -450,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest other) { - if (other == com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -475,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -488,23 +447,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. Resource name of the `ServiceLevelObjective` to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -513,24 +468,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Resource name of the `ServiceLevelObjective` to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -538,77 +490,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Resource name of the `ServiceLevelObjective` to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the `ServiceLevelObjective` to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the `ServiceLevelObjective` to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -618,12 +557,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.DeleteServiceLevelObjectiveRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.DeleteServiceLevelObjectiveRequest) private static final com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest(); } @@ -632,16 +571,16 @@ public static com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteServiceLevelObjectiveRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteServiceLevelObjectiveRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteServiceLevelObjectiveRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteServiceLevelObjectiveRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -656,4 +595,6 @@ public com.google.protobuf.Parser getParserF public com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceLevelObjectiveRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceLevelObjectiveRequestOrBuilder.java new file mode 100644 index 00000000..37e3e294 --- /dev/null +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceLevelObjectiveRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/service_service.proto + +package com.google.monitoring.v3; + +public interface DeleteServiceLevelObjectiveRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.monitoring.v3.DeleteServiceLevelObjectiveRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Resource name of the `ServiceLevelObjective` to delete. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Resource name of the `ServiceLevelObjective` to delete. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceRequest.java similarity index 67% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceRequest.java index 34047b1c..aa75269b 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/service_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `DeleteService` request.
  * 
* * Protobuf type {@code google.monitoring.v3.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.monitoring.v3.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() { name_ = ""; } @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; } - private DeleteServiceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,61 +53,53 @@ private DeleteServiceRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_DeleteServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_DeleteServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_DeleteServiceRequest_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_DeleteServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.DeleteServiceRequest.class, - com.google.monitoring.v3.DeleteServiceRequest.Builder.class); + com.google.monitoring.v3.DeleteServiceRequest.class, com.google.monitoring.v3.DeleteServiceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. Resource name of the `Service` to delete. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -133,32 +108,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Resource name of the `Service` to delete. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.DeleteServiceRequest)) { return super.equals(obj); } - com.google.monitoring.v3.DeleteServiceRequest other = - (com.google.monitoring.v3.DeleteServiceRequest) obj; + com.google.monitoring.v3.DeleteServiceRequest other = (com.google.monitoring.v3.DeleteServiceRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -230,127 +203,118 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.DeleteServiceRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.DeleteServiceRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.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.monitoring.v3.DeleteServiceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.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.monitoring.v3.DeleteServiceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.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.monitoring.v3.DeleteServiceRequest 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.monitoring.v3.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.monitoring.v3.DeleteServiceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.DeleteServiceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.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.monitoring.v3.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.monitoring.v3.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.monitoring.v3.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; } /** - * - * *
    * The `DeleteService` request.
    * 
* * Protobuf type {@code google.monitoring.v3.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.monitoring.v3.DeleteServiceRequest) com.google.monitoring.v3.DeleteServiceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_DeleteServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_DeleteServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_DeleteServiceRequest_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_DeleteServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.DeleteServiceRequest.class, - com.google.monitoring.v3.DeleteServiceRequest.Builder.class); + com.google.monitoring.v3.DeleteServiceRequest.class, com.google.monitoring.v3.DeleteServiceRequest.Builder.class); } // Construct using com.google.monitoring.v3.DeleteServiceRequest.newBuilder() @@ -358,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -376,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_DeleteServiceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_DeleteServiceRequest_descriptor; } @java.lang.Override @@ -397,8 +362,7 @@ public com.google.monitoring.v3.DeleteServiceRequest build() { @java.lang.Override public com.google.monitoring.v3.DeleteServiceRequest buildPartial() { - com.google.monitoring.v3.DeleteServiceRequest result = - new com.google.monitoring.v3.DeleteServiceRequest(this); + com.google.monitoring.v3.DeleteServiceRequest result = new com.google.monitoring.v3.DeleteServiceRequest(this); result.name_ = name_; onBuilt(); return result; @@ -408,39 +372,38 @@ public com.google.monitoring.v3.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.monitoring.v3.DeleteServiceRequest) { - return mergeFrom((com.google.monitoring.v3.DeleteServiceRequest) other); + return mergeFrom((com.google.monitoring.v3.DeleteServiceRequest)other); } else { super.mergeFrom(other); return this; @@ -484,23 +447,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. Resource name of the `Service` to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -509,24 +468,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Resource name of the `Service` to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -534,77 +490,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Resource name of the `Service` to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the `Service` to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the `Service` to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -614,12 +557,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.DeleteServiceRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.DeleteServiceRequest) private static final com.google.monitoring.v3.DeleteServiceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.DeleteServiceRequest(); } @@ -628,16 +571,16 @@ public static com.google.monitoring.v3.DeleteServiceRequest getDefaultInstance() 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 { - return new DeleteServiceRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteServiceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -652,4 +595,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.DeleteServiceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceRequestOrBuilder.java new file mode 100644 index 00000000..5d66d4cd --- /dev/null +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/service_service.proto + +package com.google.monitoring.v3; + +public interface DeleteServiceRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.monitoring.v3.DeleteServiceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Resource name of the `Service` to delete. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Resource name of the `Service` to delete. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequest.java similarity index 64% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequest.java index 1e1b5c65..205a48b4 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequest.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/uptime_service.proto package com.google.monitoring.v3; /** - * - * *
  * The protocol for the `DeleteUptimeCheckConfig` request.
  * 
* * Protobuf type {@code google.monitoring.v3.DeleteUptimeCheckConfigRequest} */ -public final class DeleteUptimeCheckConfigRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteUptimeCheckConfigRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.DeleteUptimeCheckConfigRequest) DeleteUptimeCheckConfigRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteUptimeCheckConfigRequest.newBuilder() to construct. - private DeleteUptimeCheckConfigRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteUptimeCheckConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteUptimeCheckConfigRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteUptimeCheckConfigRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteUptimeCheckConfigRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,61 +53,53 @@ private DeleteUptimeCheckConfigRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.UptimeServiceProto - .internal_static_google_monitoring_v3_DeleteUptimeCheckConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_DeleteUptimeCheckConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.UptimeServiceProto - .internal_static_google_monitoring_v3_DeleteUptimeCheckConfigRequest_fieldAccessorTable + return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_DeleteUptimeCheckConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.DeleteUptimeCheckConfigRequest.class, - com.google.monitoring.v3.DeleteUptimeCheckConfigRequest.Builder.class); + com.google.monitoring.v3.DeleteUptimeCheckConfigRequest.class, com.google.monitoring.v3.DeleteUptimeCheckConfigRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The Uptime check configuration to delete. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -134,32 +108,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The Uptime check configuration to delete. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -168,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -204,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.DeleteUptimeCheckConfigRequest)) { return super.equals(obj); } - com.google.monitoring.v3.DeleteUptimeCheckConfigRequest other = - (com.google.monitoring.v3.DeleteUptimeCheckConfigRequest) obj; + com.google.monitoring.v3.DeleteUptimeCheckConfigRequest other = (com.google.monitoring.v3.DeleteUptimeCheckConfigRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,127 +204,117 @@ public int hashCode() { } public static com.google.monitoring.v3.DeleteUptimeCheckConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.DeleteUptimeCheckConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.DeleteUptimeCheckConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.DeleteUptimeCheckConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.DeleteUptimeCheckConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.DeleteUptimeCheckConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.DeleteUptimeCheckConfigRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.DeleteUptimeCheckConfigRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.DeleteUptimeCheckConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.DeleteUptimeCheckConfigRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.DeleteUptimeCheckConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.DeleteUptimeCheckConfigRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.DeleteUptimeCheckConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.DeleteUptimeCheckConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.DeleteUptimeCheckConfigRequest prototype) { + public static Builder newBuilder(com.google.monitoring.v3.DeleteUptimeCheckConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 protocol for the `DeleteUptimeCheckConfig` request.
    * 
* * Protobuf type {@code google.monitoring.v3.DeleteUptimeCheckConfigRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.DeleteUptimeCheckConfigRequest) com.google.monitoring.v3.DeleteUptimeCheckConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.UptimeServiceProto - .internal_static_google_monitoring_v3_DeleteUptimeCheckConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_DeleteUptimeCheckConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.UptimeServiceProto - .internal_static_google_monitoring_v3_DeleteUptimeCheckConfigRequest_fieldAccessorTable + return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_DeleteUptimeCheckConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.DeleteUptimeCheckConfigRequest.class, - com.google.monitoring.v3.DeleteUptimeCheckConfigRequest.Builder.class); + com.google.monitoring.v3.DeleteUptimeCheckConfigRequest.class, com.google.monitoring.v3.DeleteUptimeCheckConfigRequest.Builder.class); } // Construct using com.google.monitoring.v3.DeleteUptimeCheckConfigRequest.newBuilder() @@ -360,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.UptimeServiceProto - .internal_static_google_monitoring_v3_DeleteUptimeCheckConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_DeleteUptimeCheckConfigRequest_descriptor; } @java.lang.Override @@ -399,8 +362,7 @@ public com.google.monitoring.v3.DeleteUptimeCheckConfigRequest build() { @java.lang.Override public com.google.monitoring.v3.DeleteUptimeCheckConfigRequest buildPartial() { - com.google.monitoring.v3.DeleteUptimeCheckConfigRequest result = - new com.google.monitoring.v3.DeleteUptimeCheckConfigRequest(this); + com.google.monitoring.v3.DeleteUptimeCheckConfigRequest result = new com.google.monitoring.v3.DeleteUptimeCheckConfigRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +372,38 @@ public com.google.monitoring.v3.DeleteUptimeCheckConfigRequest 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.monitoring.v3.DeleteUptimeCheckConfigRequest) { - return mergeFrom((com.google.monitoring.v3.DeleteUptimeCheckConfigRequest) other); + return mergeFrom((com.google.monitoring.v3.DeleteUptimeCheckConfigRequest)other); } else { super.mergeFrom(other); return this; @@ -450,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.DeleteUptimeCheckConfigRequest other) { - if (other == com.google.monitoring.v3.DeleteUptimeCheckConfigRequest.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.DeleteUptimeCheckConfigRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -475,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.DeleteUptimeCheckConfigRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.DeleteUptimeCheckConfigRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -488,23 +447,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The Uptime check configuration to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -513,24 +468,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The Uptime check configuration to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -538,77 +490,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The Uptime check configuration to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The Uptime check configuration to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The Uptime check configuration to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -618,12 +557,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.DeleteUptimeCheckConfigRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.DeleteUptimeCheckConfigRequest) private static final com.google.monitoring.v3.DeleteUptimeCheckConfigRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.DeleteUptimeCheckConfigRequest(); } @@ -632,16 +571,16 @@ public static com.google.monitoring.v3.DeleteUptimeCheckConfigRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteUptimeCheckConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteUptimeCheckConfigRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteUptimeCheckConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteUptimeCheckConfigRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -656,4 +595,6 @@ public com.google.protobuf.Parser getParserForTy public com.google.monitoring.v3.DeleteUptimeCheckConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequestOrBuilder.java new file mode 100644 index 00000000..45545d1c --- /dev/null +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/uptime_service.proto + +package com.google.monitoring.v3; + +public interface DeleteUptimeCheckConfigRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.monitoring.v3.DeleteUptimeCheckConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The Uptime check configuration to delete. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The Uptime check configuration to delete. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DistributionCut.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DistributionCut.java similarity index 73% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DistributionCut.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DistributionCut.java index 3fe83483..7d2dbdf8 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DistributionCut.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DistributionCut.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/monitoring/v3/service.proto package com.google.monitoring.v3; /** - * - * *
  * A `DistributionCut` defines a `TimeSeries` and thresholds used for measuring
  * good service and total service. The `TimeSeries` must have `ValueType =
@@ -31,31 +14,31 @@
  *
  * Protobuf type {@code google.monitoring.v3.DistributionCut}
  */
-public final class DistributionCut extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DistributionCut extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.DistributionCut)
     DistributionCutOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DistributionCut.newBuilder() to construct.
   private DistributionCut(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DistributionCut() {
     distributionFilter_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DistributionCut();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private DistributionCut(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,67 +57,60 @@ private DistributionCut(
           case 0:
             done = true;
             break;
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              distributionFilter_ = s;
-              break;
+            distributionFilter_ = s;
+            break;
+          }
+          case 42: {
+            com.google.monitoring.v3.Range.Builder subBuilder = null;
+            if (range_ != null) {
+              subBuilder = range_.toBuilder();
             }
-          case 42:
-            {
-              com.google.monitoring.v3.Range.Builder subBuilder = null;
-              if (range_ != null) {
-                subBuilder = range_.toBuilder();
-              }
-              range_ =
-                  input.readMessage(com.google.monitoring.v3.Range.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(range_);
-                range_ = subBuilder.buildPartial();
-              }
-
-              break;
+            range_ = input.readMessage(com.google.monitoring.v3.Range.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(range_);
+              range_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.monitoring.v3.ServiceMonitoringProto
-        .internal_static_google_monitoring_v3_DistributionCut_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_DistributionCut_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.monitoring.v3.ServiceMonitoringProto
-        .internal_static_google_monitoring_v3_DistributionCut_fieldAccessorTable
+    return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_DistributionCut_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.DistributionCut.class,
-            com.google.monitoring.v3.DistributionCut.Builder.class);
+            com.google.monitoring.v3.DistributionCut.class, com.google.monitoring.v3.DistributionCut.Builder.class);
   }
 
   public static final int DISTRIBUTION_FILTER_FIELD_NUMBER = 4;
   private volatile java.lang.Object distributionFilter_;
   /**
-   *
-   *
    * 
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` aggregating values. Must have `ValueType =
@@ -142,7 +118,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string distribution_filter = 4; - * * @return The distributionFilter. */ @java.lang.Override @@ -151,15 +126,14 @@ public java.lang.String getDistributionFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); distributionFilter_ = s; return s; } } /** - * - * *
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` aggregating values. Must have `ValueType =
@@ -167,15 +141,16 @@ public java.lang.String getDistributionFilter() {
    * 
* * string distribution_filter = 4; - * * @return The bytes for distributionFilter. */ @java.lang.Override - public com.google.protobuf.ByteString getDistributionFilterBytes() { + public com.google.protobuf.ByteString + getDistributionFilterBytes() { java.lang.Object ref = distributionFilter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); distributionFilter_ = b; return b; } else { @@ -186,15 +161,12 @@ public com.google.protobuf.ByteString getDistributionFilterBytes() { public static final int RANGE_FIELD_NUMBER = 5; private com.google.monitoring.v3.Range range_; /** - * - * *
    * Range of values considered "good." For a one-sided range, set one bound to
    * an infinite value.
    * 
* * .google.monitoring.v3.Range range = 5; - * * @return Whether the range field is set. */ @java.lang.Override @@ -202,15 +174,12 @@ public boolean hasRange() { return range_ != null; } /** - * - * *
    * Range of values considered "good." For a one-sided range, set one bound to
    * an infinite value.
    * 
* * .google.monitoring.v3.Range range = 5; - * * @return The range. */ @java.lang.Override @@ -218,8 +187,6 @@ public com.google.monitoring.v3.Range getRange() { return range_ == null ? com.google.monitoring.v3.Range.getDefaultInstance() : range_; } /** - * - * *
    * Range of values considered "good." For a one-sided range, set one bound to
    * an infinite value.
@@ -233,7 +200,6 @@ public com.google.monitoring.v3.RangeOrBuilder getRangeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -245,7 +211,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(distributionFilter_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 4, distributionFilter_);
     }
@@ -265,7 +232,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, distributionFilter_);
     }
     if (range_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getRange());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getRange());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -275,17 +243,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.monitoring.v3.DistributionCut)) {
       return super.equals(obj);
     }
     com.google.monitoring.v3.DistributionCut other = (com.google.monitoring.v3.DistributionCut) obj;
 
-    if (!getDistributionFilter().equals(other.getDistributionFilter())) return false;
+    if (!getDistributionFilter()
+        .equals(other.getDistributionFilter())) return false;
     if (hasRange() != other.hasRange()) return false;
     if (hasRange()) {
-      if (!getRange().equals(other.getRange())) return false;
+      if (!getRange()
+          .equals(other.getRange())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -309,104 +279,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.monitoring.v3.DistributionCut parseFrom(java.nio.ByteBuffer data)
+  public static com.google.monitoring.v3.DistributionCut parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.monitoring.v3.DistributionCut parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.monitoring.v3.DistributionCut parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.monitoring.v3.DistributionCut parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.monitoring.v3.DistributionCut parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.monitoring.v3.DistributionCut parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.monitoring.v3.DistributionCut 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.monitoring.v3.DistributionCut parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.monitoring.v3.DistributionCut parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.monitoring.v3.DistributionCut parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.monitoring.v3.DistributionCut parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.monitoring.v3.DistributionCut parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.monitoring.v3.DistributionCut parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.monitoring.v3.DistributionCut prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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 `DistributionCut` defines a `TimeSeries` and thresholds used for measuring
    * good service and total service. The `TimeSeries` must have `ValueType =
@@ -417,23 +380,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.monitoring.v3.DistributionCut}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.DistributionCut)
       com.google.monitoring.v3.DistributionCutOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.monitoring.v3.ServiceMonitoringProto
-          .internal_static_google_monitoring_v3_DistributionCut_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_DistributionCut_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.ServiceMonitoringProto
-          .internal_static_google_monitoring_v3_DistributionCut_fieldAccessorTable
+      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_DistributionCut_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.DistributionCut.class,
-              com.google.monitoring.v3.DistributionCut.Builder.class);
+              com.google.monitoring.v3.DistributionCut.class, com.google.monitoring.v3.DistributionCut.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.DistributionCut.newBuilder()
@@ -441,15 +402,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -465,9 +427,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.monitoring.v3.ServiceMonitoringProto
-          .internal_static_google_monitoring_v3_DistributionCut_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_DistributionCut_descriptor;
     }
 
     @java.lang.Override
@@ -486,8 +448,7 @@ public com.google.monitoring.v3.DistributionCut build() {
 
     @java.lang.Override
     public com.google.monitoring.v3.DistributionCut buildPartial() {
-      com.google.monitoring.v3.DistributionCut result =
-          new com.google.monitoring.v3.DistributionCut(this);
+      com.google.monitoring.v3.DistributionCut result = new com.google.monitoring.v3.DistributionCut(this);
       result.distributionFilter_ = distributionFilter_;
       if (rangeBuilder_ == null) {
         result.range_ = range_;
@@ -502,39 +463,38 @@ public com.google.monitoring.v3.DistributionCut 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.monitoring.v3.DistributionCut) {
-        return mergeFrom((com.google.monitoring.v3.DistributionCut) other);
+        return mergeFrom((com.google.monitoring.v3.DistributionCut)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -581,8 +541,6 @@ public Builder mergeFrom(
 
     private java.lang.Object distributionFilter_ = "";
     /**
-     *
-     *
      * 
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` aggregating values. Must have `ValueType =
@@ -590,13 +548,13 @@ public Builder mergeFrom(
      * 
* * string distribution_filter = 4; - * * @return The distributionFilter. */ public java.lang.String getDistributionFilter() { java.lang.Object ref = distributionFilter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); distributionFilter_ = s; return s; @@ -605,8 +563,6 @@ public java.lang.String getDistributionFilter() { } } /** - * - * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` aggregating values. Must have `ValueType =
@@ -614,14 +570,15 @@ public java.lang.String getDistributionFilter() {
      * 
* * string distribution_filter = 4; - * * @return The bytes for distributionFilter. */ - public com.google.protobuf.ByteString getDistributionFilterBytes() { + public com.google.protobuf.ByteString + getDistributionFilterBytes() { java.lang.Object ref = distributionFilter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); distributionFilter_ = b; return b; } else { @@ -629,8 +586,6 @@ public com.google.protobuf.ByteString getDistributionFilterBytes() { } } /** - * - * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` aggregating values. Must have `ValueType =
@@ -638,22 +593,20 @@ public com.google.protobuf.ByteString getDistributionFilterBytes() {
      * 
* * string distribution_filter = 4; - * * @param value The distributionFilter to set. * @return This builder for chaining. */ - public Builder setDistributionFilter(java.lang.String value) { + public Builder setDistributionFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + distributionFilter_ = value; onChanged(); return this; } /** - * - * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` aggregating values. Must have `ValueType =
@@ -661,18 +614,15 @@ public Builder setDistributionFilter(java.lang.String value) {
      * 
* * string distribution_filter = 4; - * * @return This builder for chaining. */ public Builder clearDistributionFilter() { - + distributionFilter_ = getDefaultInstance().getDistributionFilter(); onChanged(); return this; } /** - * - * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` aggregating values. Must have `ValueType =
@@ -680,16 +630,16 @@ public Builder clearDistributionFilter() {
      * 
* * string distribution_filter = 4; - * * @param value The bytes for distributionFilter to set. * @return This builder for chaining. */ - public Builder setDistributionFilterBytes(com.google.protobuf.ByteString value) { + public Builder setDistributionFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + distributionFilter_ = value; onChanged(); return this; @@ -697,35 +647,26 @@ public Builder setDistributionFilterBytes(com.google.protobuf.ByteString value) private com.google.monitoring.v3.Range range_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Range, - com.google.monitoring.v3.Range.Builder, - com.google.monitoring.v3.RangeOrBuilder> - rangeBuilder_; + com.google.monitoring.v3.Range, com.google.monitoring.v3.Range.Builder, com.google.monitoring.v3.RangeOrBuilder> rangeBuilder_; /** - * - * *
      * Range of values considered "good." For a one-sided range, set one bound to
      * an infinite value.
      * 
* * .google.monitoring.v3.Range range = 5; - * * @return Whether the range field is set. */ public boolean hasRange() { return rangeBuilder_ != null || range_ != null; } /** - * - * *
      * Range of values considered "good." For a one-sided range, set one bound to
      * an infinite value.
      * 
* * .google.monitoring.v3.Range range = 5; - * * @return The range. */ public com.google.monitoring.v3.Range getRange() { @@ -736,8 +677,6 @@ public com.google.monitoring.v3.Range getRange() { } } /** - * - * *
      * Range of values considered "good." For a one-sided range, set one bound to
      * an infinite value.
@@ -759,8 +698,6 @@ public Builder setRange(com.google.monitoring.v3.Range value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Range of values considered "good." For a one-sided range, set one bound to
      * an infinite value.
@@ -768,7 +705,8 @@ public Builder setRange(com.google.monitoring.v3.Range value) {
      *
      * .google.monitoring.v3.Range range = 5;
      */
-    public Builder setRange(com.google.monitoring.v3.Range.Builder builderForValue) {
+    public Builder setRange(
+        com.google.monitoring.v3.Range.Builder builderForValue) {
       if (rangeBuilder_ == null) {
         range_ = builderForValue.build();
         onChanged();
@@ -779,8 +717,6 @@ public Builder setRange(com.google.monitoring.v3.Range.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * Range of values considered "good." For a one-sided range, set one bound to
      * an infinite value.
@@ -792,7 +728,7 @@ public Builder mergeRange(com.google.monitoring.v3.Range value) {
       if (rangeBuilder_ == null) {
         if (range_ != null) {
           range_ =
-              com.google.monitoring.v3.Range.newBuilder(range_).mergeFrom(value).buildPartial();
+            com.google.monitoring.v3.Range.newBuilder(range_).mergeFrom(value).buildPartial();
         } else {
           range_ = value;
         }
@@ -804,8 +740,6 @@ public Builder mergeRange(com.google.monitoring.v3.Range value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Range of values considered "good." For a one-sided range, set one bound to
      * an infinite value.
@@ -825,8 +759,6 @@ public Builder clearRange() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Range of values considered "good." For a one-sided range, set one bound to
      * an infinite value.
@@ -835,13 +767,11 @@ public Builder clearRange() {
      * .google.monitoring.v3.Range range = 5;
      */
     public com.google.monitoring.v3.Range.Builder getRangeBuilder() {
-
+      
       onChanged();
       return getRangeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Range of values considered "good." For a one-sided range, set one bound to
      * an infinite value.
@@ -853,12 +783,11 @@ public com.google.monitoring.v3.RangeOrBuilder getRangeOrBuilder() {
       if (rangeBuilder_ != null) {
         return rangeBuilder_.getMessageOrBuilder();
       } else {
-        return range_ == null ? com.google.monitoring.v3.Range.getDefaultInstance() : range_;
+        return range_ == null ?
+            com.google.monitoring.v3.Range.getDefaultInstance() : range_;
       }
     }
     /**
-     *
-     *
      * 
      * Range of values considered "good." For a one-sided range, set one bound to
      * an infinite value.
@@ -867,24 +796,21 @@ public com.google.monitoring.v3.RangeOrBuilder getRangeOrBuilder() {
      * .google.monitoring.v3.Range range = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.Range,
-            com.google.monitoring.v3.Range.Builder,
-            com.google.monitoring.v3.RangeOrBuilder>
+        com.google.monitoring.v3.Range, com.google.monitoring.v3.Range.Builder, com.google.monitoring.v3.RangeOrBuilder> 
         getRangeFieldBuilder() {
       if (rangeBuilder_ == null) {
-        rangeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.monitoring.v3.Range,
-                com.google.monitoring.v3.Range.Builder,
-                com.google.monitoring.v3.RangeOrBuilder>(
-                getRange(), getParentForChildren(), isClean());
+        rangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.monitoring.v3.Range, com.google.monitoring.v3.Range.Builder, com.google.monitoring.v3.RangeOrBuilder>(
+                getRange(),
+                getParentForChildren(),
+                isClean());
         range_ = null;
       }
       return rangeBuilder_;
     }
-
     @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);
     }
 
@@ -894,12 +820,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.monitoring.v3.DistributionCut)
   }
 
   // @@protoc_insertion_point(class_scope:google.monitoring.v3.DistributionCut)
   private static final com.google.monitoring.v3.DistributionCut DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.monitoring.v3.DistributionCut();
   }
@@ -908,16 +834,16 @@ public static com.google.monitoring.v3.DistributionCut getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public DistributionCut parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new DistributionCut(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public DistributionCut parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new DistributionCut(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -932,4 +858,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.monitoring.v3.DistributionCut getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DistributionCutOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DistributionCutOrBuilder.java
similarity index 70%
rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DistributionCutOrBuilder.java
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DistributionCutOrBuilder.java
index b5d2ddff..bc6dd007 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DistributionCutOrBuilder.java
+++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DistributionCutOrBuilder.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/monitoring/v3/service.proto
 
 package com.google.monitoring.v3;
 
-public interface DistributionCutOrBuilder
-    extends
+public interface DistributionCutOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.monitoring.v3.DistributionCut)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` aggregating values. Must have `ValueType =
@@ -33,13 +15,10 @@ public interface DistributionCutOrBuilder
    * 
* * string distribution_filter = 4; - * * @return The distributionFilter. */ java.lang.String getDistributionFilter(); /** - * - * *
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` aggregating values. Must have `ValueType =
@@ -47,40 +26,32 @@ public interface DistributionCutOrBuilder
    * 
* * string distribution_filter = 4; - * * @return The bytes for distributionFilter. */ - com.google.protobuf.ByteString getDistributionFilterBytes(); + com.google.protobuf.ByteString + getDistributionFilterBytes(); /** - * - * *
    * Range of values considered "good." For a one-sided range, set one bound to
    * an infinite value.
    * 
* * .google.monitoring.v3.Range range = 5; - * * @return Whether the range field is set. */ boolean hasRange(); /** - * - * *
    * Range of values considered "good." For a one-sided range, set one bound to
    * an infinite value.
    * 
* * .google.monitoring.v3.Range range = 5; - * * @return The range. */ com.google.monitoring.v3.Range getRange(); /** - * - * *
    * Range of values considered "good." For a one-sided range, set one bound to
    * an infinite value.
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabels.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabels.java
similarity index 63%
rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabels.java
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabels.java
index 80c27efd..2b249460 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabels.java
+++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabels.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/monitoring/v3/dropped_labels.proto
 
 package com.google.monitoring.v3;
 
 /**
- *
- *
  * 
  * A set of (label, value) pairs that were removed from a Distribution
  * time series during aggregation and then added as an attachment to a
@@ -40,29 +23,30 @@
  *
  * Protobuf type {@code google.monitoring.v3.DroppedLabels}
  */
-public final class DroppedLabels extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DroppedLabels extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.DroppedLabels)
     DroppedLabelsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DroppedLabels.newBuilder() to construct.
   private DroppedLabels(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private DroppedLabels() {}
+  private DroppedLabels() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DroppedLabels();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private DroppedLabels(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -82,82 +66,82 @@ private DroppedLabels(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                label_ =
-                    com.google.protobuf.MapField.newMapField(LabelDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry label__ =
-                  input.readMessage(
-                      LabelDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              label_.getMutableMap().put(label__.getKey(), label__.getValue());
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              label_ = com.google.protobuf.MapField.newMapField(
+                  LabelDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            com.google.protobuf.MapEntry
+            label__ = input.readMessage(
+                LabelDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            label_.getMutableMap().put(
+                label__.getKey(), label__.getValue());
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.monitoring.v3.DroppedLabelsProto
-        .internal_static_google_monitoring_v3_DroppedLabels_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.monitoring.v3.DroppedLabelsProto.internal_static_google_monitoring_v3_DroppedLabels_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 internalGetLabel();
       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.monitoring.v3.DroppedLabelsProto
-        .internal_static_google_monitoring_v3_DroppedLabels_fieldAccessorTable
+    return com.google.monitoring.v3.DroppedLabelsProto.internal_static_google_monitoring_v3_DroppedLabels_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.DroppedLabels.class,
-            com.google.monitoring.v3.DroppedLabels.Builder.class);
+            com.google.monitoring.v3.DroppedLabels.class, com.google.monitoring.v3.DroppedLabels.Builder.class);
   }
 
   public static final int LABEL_FIELD_NUMBER = 1;
-
   private static final class LabelDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry defaultEntry =
-        com.google.protobuf.MapEntry.newDefaultInstance(
-            com.google.monitoring.v3.DroppedLabelsProto
-                .internal_static_google_monitoring_v3_DroppedLabels_LabelEntry_descriptor,
-            com.google.protobuf.WireFormat.FieldType.STRING,
-            "",
-            com.google.protobuf.WireFormat.FieldType.STRING,
-            "");
-  }
-
-  private com.google.protobuf.MapField label_;
-
-  private com.google.protobuf.MapField internalGetLabel() {
+    static final com.google.protobuf.MapEntry<
+        java.lang.String, java.lang.String> defaultEntry =
+            com.google.protobuf.MapEntry
+            .newDefaultInstance(
+                com.google.monitoring.v3.DroppedLabelsProto.internal_static_google_monitoring_v3_DroppedLabels_LabelEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "");
+  }
+  private com.google.protobuf.MapField<
+      java.lang.String, java.lang.String> label_;
+  private com.google.protobuf.MapField
+  internalGetLabel() {
     if (label_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(LabelDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(
+          LabelDefaultEntryHolder.defaultEntry);
     }
     return label_;
   }
@@ -166,30 +150,28 @@ public int getLabelCount() {
     return internalGetLabel().getMap().size();
   }
   /**
-   *
-   *
    * 
    * Map from label to its value, for all labels dropped in any aggregation.
    * 
* * map<string, string> label = 1; */ + @java.lang.Override - public boolean containsLabel(java.lang.String key) { - if (key == null) { - throw new java.lang.NullPointerException(); - } + public boolean containsLabel( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } return internalGetLabel().getMap().containsKey(key); } - /** Use {@link #getLabelMap()} instead. */ + /** + * Use {@link #getLabelMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabel() { return getLabelMap(); } /** - * - * *
    * Map from label to its value, for all labels dropped in any aggregation.
    * 
@@ -197,12 +179,11 @@ public java.util.Map getLabel() { * map<string, string> label = 1; */ @java.lang.Override + public java.util.Map getLabelMap() { return internalGetLabel().getMap(); } /** - * - * *
    * Map from label to its value, for all labels dropped in any aggregation.
    * 
@@ -210,16 +191,16 @@ public java.util.Map getLabelMap() { * map<string, string> label = 1; */ @java.lang.Override - public java.lang.String getLabelOrDefault(java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new java.lang.NullPointerException(); - } - java.util.Map map = internalGetLabel().getMap(); + + public java.lang.String getLabelOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetLabel().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Map from label to its value, for all labels dropped in any aggregation.
    * 
@@ -227,11 +208,12 @@ public java.lang.String getLabelOrDefault(java.lang.String key, java.lang.String * map<string, string> label = 1; */ @java.lang.Override - public java.lang.String getLabelOrThrow(java.lang.String key) { - if (key == null) { - throw new java.lang.NullPointerException(); - } - java.util.Map map = internalGetLabel().getMap(); + + public java.lang.String getLabelOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetLabel().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -239,7 +221,6 @@ public java.lang.String getLabelOrThrow(java.lang.String key) { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -251,9 +232,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, internalGetLabel(), LabelDefaultEntryHolder.defaultEntry, 1); + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabel(), + LabelDefaultEntryHolder.defaultEntry, + 1); unknownFields.writeTo(output); } @@ -263,15 +249,15 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - for (java.util.Map.Entry entry : - internalGetLabel().getMap().entrySet()) { - com.google.protobuf.MapEntry label__ = - LabelDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, label__); + for (java.util.Map.Entry entry + : internalGetLabel().getMap().entrySet()) { + com.google.protobuf.MapEntry + label__ = LabelDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, label__); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -281,14 +267,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.DroppedLabels)) { return super.equals(obj); } com.google.monitoring.v3.DroppedLabels other = (com.google.monitoring.v3.DroppedLabels) obj; - if (!internalGetLabel().equals(other.internalGetLabel())) return false; + if (!internalGetLabel().equals( + other.internalGetLabel())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -309,104 +296,97 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.DroppedLabels parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.DroppedLabels parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.DroppedLabels parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.DroppedLabels parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.DroppedLabels parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.DroppedLabels parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.DroppedLabels parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.DroppedLabels 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.monitoring.v3.DroppedLabels parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.DroppedLabels parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.DroppedLabels parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.DroppedLabels parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.DroppedLabels parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.DroppedLabels prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 set of (label, value) pairs that were removed from a Distribution
    * time series during aggregation and then added as an attachment to a
@@ -426,43 +406,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.monitoring.v3.DroppedLabels}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.DroppedLabels)
       com.google.monitoring.v3.DroppedLabelsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.monitoring.v3.DroppedLabelsProto
-          .internal_static_google_monitoring_v3_DroppedLabels_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.monitoring.v3.DroppedLabelsProto.internal_static_google_monitoring_v3_DroppedLabels_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 1:
           return internalGetLabel();
         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 internalGetMutableLabel();
         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.monitoring.v3.DroppedLabelsProto
-          .internal_static_google_monitoring_v3_DroppedLabels_fieldAccessorTable
+      return com.google.monitoring.v3.DroppedLabelsProto.internal_static_google_monitoring_v3_DroppedLabels_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.DroppedLabels.class,
-              com.google.monitoring.v3.DroppedLabels.Builder.class);
+              com.google.monitoring.v3.DroppedLabels.class, com.google.monitoring.v3.DroppedLabels.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.DroppedLabels.newBuilder()
@@ -470,15 +450,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -487,9 +468,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.monitoring.v3.DroppedLabelsProto
-          .internal_static_google_monitoring_v3_DroppedLabels_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.monitoring.v3.DroppedLabelsProto.internal_static_google_monitoring_v3_DroppedLabels_descriptor;
     }
 
     @java.lang.Override
@@ -508,8 +489,7 @@ public com.google.monitoring.v3.DroppedLabels build() {
 
     @java.lang.Override
     public com.google.monitoring.v3.DroppedLabels buildPartial() {
-      com.google.monitoring.v3.DroppedLabels result =
-          new com.google.monitoring.v3.DroppedLabels(this);
+      com.google.monitoring.v3.DroppedLabels result = new com.google.monitoring.v3.DroppedLabels(this);
       int from_bitField0_ = bitField0_;
       result.label_ = internalGetLabel();
       result.label_.makeImmutable();
@@ -521,39 +501,38 @@ public com.google.monitoring.v3.DroppedLabels 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.monitoring.v3.DroppedLabels) {
-        return mergeFrom((com.google.monitoring.v3.DroppedLabels) other);
+        return mergeFrom((com.google.monitoring.v3.DroppedLabels)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -562,7 +541,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
 
     public Builder mergeFrom(com.google.monitoring.v3.DroppedLabels other) {
       if (other == com.google.monitoring.v3.DroppedLabels.getDefaultInstance()) return this;
-      internalGetMutableLabel().mergeFrom(other.internalGetLabel());
+      internalGetMutableLabel().mergeFrom(
+          other.internalGetLabel());
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
       return this;
@@ -591,24 +571,24 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
-    private com.google.protobuf.MapField label_;
-
-    private com.google.protobuf.MapField internalGetLabel() {
+    private com.google.protobuf.MapField<
+        java.lang.String, java.lang.String> label_;
+    private com.google.protobuf.MapField
+    internalGetLabel() {
       if (label_ == null) {
-        return com.google.protobuf.MapField.emptyMapField(LabelDefaultEntryHolder.defaultEntry);
+        return com.google.protobuf.MapField.emptyMapField(
+            LabelDefaultEntryHolder.defaultEntry);
       }
       return label_;
     }
-
     private com.google.protobuf.MapField
-        internalGetMutableLabel() {
-      onChanged();
-      ;
+    internalGetMutableLabel() {
+      onChanged();;
       if (label_ == null) {
-        label_ = com.google.protobuf.MapField.newMapField(LabelDefaultEntryHolder.defaultEntry);
+        label_ = com.google.protobuf.MapField.newMapField(
+            LabelDefaultEntryHolder.defaultEntry);
       }
       if (!label_.isMutable()) {
         label_ = label_.copy();
@@ -620,30 +600,28 @@ public int getLabelCount() {
       return internalGetLabel().getMap().size();
     }
     /**
-     *
-     *
      * 
      * Map from label to its value, for all labels dropped in any aggregation.
      * 
* * map<string, string> label = 1; */ + @java.lang.Override - public boolean containsLabel(java.lang.String key) { - if (key == null) { - throw new java.lang.NullPointerException(); - } + public boolean containsLabel( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } return internalGetLabel().getMap().containsKey(key); } - /** Use {@link #getLabelMap()} instead. */ + /** + * Use {@link #getLabelMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabel() { return getLabelMap(); } /** - * - * *
      * Map from label to its value, for all labels dropped in any aggregation.
      * 
@@ -651,12 +629,11 @@ public java.util.Map getLabel() { * map<string, string> label = 1; */ @java.lang.Override + public java.util.Map getLabelMap() { return internalGetLabel().getMap(); } /** - * - * *
      * Map from label to its value, for all labels dropped in any aggregation.
      * 
@@ -664,16 +641,16 @@ public java.util.Map getLabelMap() { * map<string, string> label = 1; */ @java.lang.Override - public java.lang.String getLabelOrDefault(java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new java.lang.NullPointerException(); - } - java.util.Map map = internalGetLabel().getMap(); + + public java.lang.String getLabelOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetLabel().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Map from label to its value, for all labels dropped in any aggregation.
      * 
@@ -681,11 +658,12 @@ public java.lang.String getLabelOrDefault(java.lang.String key, java.lang.String * map<string, string> label = 1; */ @java.lang.Override - public java.lang.String getLabelOrThrow(java.lang.String key) { - if (key == null) { - throw new java.lang.NullPointerException(); - } - java.util.Map map = internalGetLabel().getMap(); + + public java.lang.String getLabelOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetLabel().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -693,65 +671,66 @@ public java.lang.String getLabelOrThrow(java.lang.String key) { } public Builder clearLabel() { - internalGetMutableLabel().getMutableMap().clear(); + internalGetMutableLabel().getMutableMap() + .clear(); return this; } /** - * - * *
      * Map from label to its value, for all labels dropped in any aggregation.
      * 
* * map<string, string> label = 1; */ - public Builder removeLabel(java.lang.String key) { - if (key == null) { - throw new java.lang.NullPointerException(); - } - internalGetMutableLabel().getMutableMap().remove(key); + + public Builder removeLabel( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + internalGetMutableLabel().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabel() { + public java.util.Map + getMutableLabel() { return internalGetMutableLabel().getMutableMap(); } /** - * - * *
      * Map from label to its value, for all labels dropped in any aggregation.
      * 
* * map<string, string> label = 1; */ - public Builder putLabel(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new java.lang.NullPointerException(); - } - if (value == null) { - throw new java.lang.NullPointerException(); - } - internalGetMutableLabel().getMutableMap().put(key, value); + public Builder putLabel( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new java.lang.NullPointerException(); } + if (value == null) { throw new java.lang.NullPointerException(); } + internalGetMutableLabel().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Map from label to its value, for all labels dropped in any aggregation.
      * 
* * map<string, string> label = 1; */ - public Builder putAllLabel(java.util.Map values) { - internalGetMutableLabel().getMutableMap().putAll(values); + + public Builder putAllLabel( + java.util.Map values) { + internalGetMutableLabel().getMutableMap() + .putAll(values); 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); } @@ -761,12 +740,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.DroppedLabels) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.DroppedLabels) private static final com.google.monitoring.v3.DroppedLabels DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.DroppedLabels(); } @@ -775,16 +754,16 @@ public static com.google.monitoring.v3.DroppedLabels getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DroppedLabels parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DroppedLabels(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DroppedLabels parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DroppedLabels(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -799,4 +778,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.DroppedLabels getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabelsOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabelsOrBuilder.java similarity index 52% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabelsOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabelsOrBuilder.java index 0d0fa812..eefe22ca 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabelsOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabelsOrBuilder.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/monitoring/v3/dropped_labels.proto package com.google.monitoring.v3; -public interface DroppedLabelsOrBuilder - extends +public interface DroppedLabelsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.DroppedLabels) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Map from label to its value, for all labels dropped in any aggregation.
    * 
@@ -34,46 +16,48 @@ public interface DroppedLabelsOrBuilder */ int getLabelCount(); /** - * - * *
    * Map from label to its value, for all labels dropped in any aggregation.
    * 
* * map<string, string> label = 1; */ - boolean containsLabel(java.lang.String key); - /** Use {@link #getLabelMap()} instead. */ + boolean containsLabel( + java.lang.String key); + /** + * Use {@link #getLabelMap()} instead. + */ @java.lang.Deprecated - java.util.Map getLabel(); + java.util.Map + getLabel(); /** - * - * *
    * Map from label to its value, for all labels dropped in any aggregation.
    * 
* * map<string, string> label = 1; */ - java.util.Map getLabelMap(); + java.util.Map + getLabelMap(); /** - * - * *
    * Map from label to its value, for all labels dropped in any aggregation.
    * 
* * map<string, string> label = 1; */ - java.lang.String getLabelOrDefault(java.lang.String key, java.lang.String defaultValue); + + java.lang.String getLabelOrDefault( + java.lang.String key, + java.lang.String defaultValue); /** - * - * *
    * Map from label to its value, for all labels dropped in any aggregation.
    * 
* * map<string, string> label = 1; */ - java.lang.String getLabelOrThrow(java.lang.String key); + + java.lang.String getLabelOrThrow( + java.lang.String key); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabelsProto.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabelsProto.java new file mode 100644 index 00000000..9095dabc --- /dev/null +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabelsProto.java @@ -0,0 +1,67 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/dropped_labels.proto + +package com.google.monitoring.v3; + +public final class DroppedLabelsProto { + private DroppedLabelsProto() {} + 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_monitoring_v3_DroppedLabels_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_DroppedLabels_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_DroppedLabels_LabelEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_DroppedLabels_LabelEntry_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/monitoring/v3/dropped_labels.pr" + + "oto\022\024google.monitoring.v3\"|\n\rDroppedLabe" + + "ls\022=\n\005label\030\001 \003(\0132..google.monitoring.v3" + + ".DroppedLabels.LabelEntry\032,\n\nLabelEntry\022" + + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\312\001\n\030com." + + "google.monitoring.v3B\022DroppedLabelsProto" + + "P\001Z>google.golang.org/genproto/googleapi" + + "s/monitoring/v3;monitoring\252\002\032Google.Clou" + + "d.Monitoring.V3\312\002\032Google\\Cloud\\Monitorin" + + "g\\V3\352\002\035Google::Cloud::Monitoring::V3b\006pr" + + "oto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_google_monitoring_v3_DroppedLabels_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_monitoring_v3_DroppedLabels_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_DroppedLabels_descriptor, + new java.lang.String[] { "Label", }); + internal_static_google_monitoring_v3_DroppedLabels_LabelEntry_descriptor = + internal_static_google_monitoring_v3_DroppedLabels_descriptor.getNestedTypes().get(0); + internal_static_google_monitoring_v3_DroppedLabels_LabelEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_DroppedLabels_LabelEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/FolderName.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/FolderName.java similarity index 100% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/FolderName.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/FolderName.java diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequest.java similarity index 66% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequest.java index ace5da25..2bb02ad8 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/alert_service.proto package com.google.monitoring.v3; /** - * - * *
  * The protocol for the `GetAlertPolicy` request.
  * 
* * Protobuf type {@code google.monitoring.v3.GetAlertPolicyRequest} */ -public final class GetAlertPolicyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetAlertPolicyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.GetAlertPolicyRequest) GetAlertPolicyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetAlertPolicyRequest.newBuilder() to construct. private GetAlertPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetAlertPolicyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetAlertPolicyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetAlertPolicyRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,61 +53,53 @@ private GetAlertPolicyRequest( case 0: done = true; break; - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.AlertServiceProto - .internal_static_google_monitoring_v3_GetAlertPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_GetAlertPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.AlertServiceProto - .internal_static_google_monitoring_v3_GetAlertPolicyRequest_fieldAccessorTable + return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_GetAlertPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetAlertPolicyRequest.class, - com.google.monitoring.v3.GetAlertPolicyRequest.Builder.class); + com.google.monitoring.v3.GetAlertPolicyRequest.class, com.google.monitoring.v3.GetAlertPolicyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** - * - * *
    * Required. The alerting policy to retrieve. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
    * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -133,32 +108,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The alerting policy to retrieve. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
    * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.GetAlertPolicyRequest)) { return super.equals(obj); } - com.google.monitoring.v3.GetAlertPolicyRequest other = - (com.google.monitoring.v3.GetAlertPolicyRequest) obj; + com.google.monitoring.v3.GetAlertPolicyRequest other = (com.google.monitoring.v3.GetAlertPolicyRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -230,127 +203,118 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.GetAlertPolicyRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.GetAlertPolicyRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.GetAlertPolicyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.GetAlertPolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.GetAlertPolicyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.GetAlertPolicyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.GetAlertPolicyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.GetAlertPolicyRequest 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.monitoring.v3.GetAlertPolicyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.GetAlertPolicyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.GetAlertPolicyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.GetAlertPolicyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.GetAlertPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.GetAlertPolicyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.GetAlertPolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 protocol for the `GetAlertPolicy` request.
    * 
* * Protobuf type {@code google.monitoring.v3.GetAlertPolicyRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.GetAlertPolicyRequest) com.google.monitoring.v3.GetAlertPolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.AlertServiceProto - .internal_static_google_monitoring_v3_GetAlertPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_GetAlertPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.AlertServiceProto - .internal_static_google_monitoring_v3_GetAlertPolicyRequest_fieldAccessorTable + return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_GetAlertPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetAlertPolicyRequest.class, - com.google.monitoring.v3.GetAlertPolicyRequest.Builder.class); + com.google.monitoring.v3.GetAlertPolicyRequest.class, com.google.monitoring.v3.GetAlertPolicyRequest.Builder.class); } // Construct using com.google.monitoring.v3.GetAlertPolicyRequest.newBuilder() @@ -358,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -376,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.AlertServiceProto - .internal_static_google_monitoring_v3_GetAlertPolicyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_GetAlertPolicyRequest_descriptor; } @java.lang.Override @@ -397,8 +362,7 @@ public com.google.monitoring.v3.GetAlertPolicyRequest build() { @java.lang.Override public com.google.monitoring.v3.GetAlertPolicyRequest buildPartial() { - com.google.monitoring.v3.GetAlertPolicyRequest result = - new com.google.monitoring.v3.GetAlertPolicyRequest(this); + com.google.monitoring.v3.GetAlertPolicyRequest result = new com.google.monitoring.v3.GetAlertPolicyRequest(this); result.name_ = name_; onBuilt(); return result; @@ -408,39 +372,38 @@ public com.google.monitoring.v3.GetAlertPolicyRequest 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.monitoring.v3.GetAlertPolicyRequest) { - return mergeFrom((com.google.monitoring.v3.GetAlertPolicyRequest) other); + return mergeFrom((com.google.monitoring.v3.GetAlertPolicyRequest)other); } else { super.mergeFrom(other); return this; @@ -484,23 +447,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The alerting policy to retrieve. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -509,24 +468,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The alerting policy to retrieve. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -534,77 +490,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The alerting policy to retrieve. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The alerting policy to retrieve. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The alerting policy to retrieve. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -614,12 +557,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.GetAlertPolicyRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.GetAlertPolicyRequest) private static final com.google.monitoring.v3.GetAlertPolicyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.GetAlertPolicyRequest(); } @@ -628,16 +571,16 @@ public static com.google.monitoring.v3.GetAlertPolicyRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAlertPolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetAlertPolicyRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAlertPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetAlertPolicyRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -652,4 +595,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.GetAlertPolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequestOrBuilder.java new file mode 100644 index 00000000..86dabddb --- /dev/null +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/alert_service.proto + +package com.google.monitoring.v3; + +public interface GetAlertPolicyRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.monitoring.v3.GetAlertPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The alerting policy to retrieve. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
+   * 
+ * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The alerting policy to retrieve. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
+   * 
+ * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetGroupRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetGroupRequest.java similarity index 65% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetGroupRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetGroupRequest.java index 6ef7bb21..51039422 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetGroupRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetGroupRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/group_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `GetGroup` request.
  * 
* * Protobuf type {@code google.monitoring.v3.GetGroupRequest} */ -public final class GetGroupRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetGroupRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.GetGroupRequest) GetGroupRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetGroupRequest.newBuilder() to construct. private GetGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetGroupRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetGroupRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetGroupRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,61 +53,53 @@ private GetGroupRequest( case 0: done = true; break; - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.GroupServiceProto - .internal_static_google_monitoring_v3_GetGroupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_GetGroupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.GroupServiceProto - .internal_static_google_monitoring_v3_GetGroupRequest_fieldAccessorTable + return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_GetGroupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetGroupRequest.class, - com.google.monitoring.v3.GetGroupRequest.Builder.class); + com.google.monitoring.v3.GetGroupRequest.class, com.google.monitoring.v3.GetGroupRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** - * - * *
    * Required. The group to retrieve. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
    * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -133,32 +108,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The group to retrieve. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
    * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); } @@ -203,14 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.GetGroupRequest)) { return super.equals(obj); } com.google.monitoring.v3.GetGroupRequest other = (com.google.monitoring.v3.GetGroupRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -229,127 +203,118 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.GetGroupRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.GetGroupRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.GetGroupRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.GetGroupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.GetGroupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.GetGroupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.GetGroupRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.GetGroupRequest 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.monitoring.v3.GetGroupRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.GetGroupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.GetGroupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.GetGroupRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.GetGroupRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.GetGroupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.GetGroupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 `GetGroup` request.
    * 
* * Protobuf type {@code google.monitoring.v3.GetGroupRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.GetGroupRequest) com.google.monitoring.v3.GetGroupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.GroupServiceProto - .internal_static_google_monitoring_v3_GetGroupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_GetGroupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.GroupServiceProto - .internal_static_google_monitoring_v3_GetGroupRequest_fieldAccessorTable + return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_GetGroupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetGroupRequest.class, - com.google.monitoring.v3.GetGroupRequest.Builder.class); + com.google.monitoring.v3.GetGroupRequest.class, com.google.monitoring.v3.GetGroupRequest.Builder.class); } // Construct using com.google.monitoring.v3.GetGroupRequest.newBuilder() @@ -357,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -375,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.GroupServiceProto - .internal_static_google_monitoring_v3_GetGroupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_GetGroupRequest_descriptor; } @java.lang.Override @@ -396,8 +362,7 @@ public com.google.monitoring.v3.GetGroupRequest build() { @java.lang.Override public com.google.monitoring.v3.GetGroupRequest buildPartial() { - com.google.monitoring.v3.GetGroupRequest result = - new com.google.monitoring.v3.GetGroupRequest(this); + com.google.monitoring.v3.GetGroupRequest result = new com.google.monitoring.v3.GetGroupRequest(this); result.name_ = name_; onBuilt(); return result; @@ -407,39 +372,38 @@ public com.google.monitoring.v3.GetGroupRequest 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.monitoring.v3.GetGroupRequest) { - return mergeFrom((com.google.monitoring.v3.GetGroupRequest) other); + return mergeFrom((com.google.monitoring.v3.GetGroupRequest)other); } else { super.mergeFrom(other); return this; @@ -483,23 +447,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The group to retrieve. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -508,24 +468,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The group to retrieve. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -533,77 +490,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The group to retrieve. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The group to retrieve. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The group to retrieve. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -613,12 +557,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.GetGroupRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.GetGroupRequest) private static final com.google.monitoring.v3.GetGroupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.GetGroupRequest(); } @@ -627,16 +571,16 @@ public static com.google.monitoring.v3.GetGroupRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetGroupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetGroupRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetGroupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetGroupRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -651,4 +595,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.GetGroupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetGroupRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetGroupRequestOrBuilder.java new file mode 100644 index 00000000..4f2c952a --- /dev/null +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetGroupRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/group_service.proto + +package com.google.monitoring.v3; + +public interface GetGroupRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.monitoring.v3.GetGroupRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The group to retrieve. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
+   * 
+ * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The group to retrieve. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
+   * 
+ * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequest.java similarity index 66% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequest.java index 3bc32e64..22d2aaf8 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `GetMetricDescriptor` request.
  * 
* * Protobuf type {@code google.monitoring.v3.GetMetricDescriptorRequest} */ -public final class GetMetricDescriptorRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetMetricDescriptorRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.GetMetricDescriptorRequest) GetMetricDescriptorRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetMetricDescriptorRequest.newBuilder() to construct. private GetMetricDescriptorRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetMetricDescriptorRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetMetricDescriptorRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetMetricDescriptorRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,52 +53,47 @@ private GetMetricDescriptorRequest( case 0: done = true; break; - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_GetMetricDescriptorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_GetMetricDescriptorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_GetMetricDescriptorRequest_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_GetMetricDescriptorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetMetricDescriptorRequest.class, - com.google.monitoring.v3.GetMetricDescriptorRequest.Builder.class); + com.google.monitoring.v3.GetMetricDescriptorRequest.class, com.google.monitoring.v3.GetMetricDescriptorRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** - * - * *
    * Required. The metric descriptor on which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
@@ -123,10 +101,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * `"compute.googleapis.com/instance/disk/read_bytes_count"`.
    * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,15 +110,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The metric descriptor on which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
@@ -151,18 +125,17 @@ public java.lang.String getName() {
    * `"compute.googleapis.com/instance/disk/read_bytes_count"`.
    * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -171,7 +144,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,7 +155,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); } @@ -207,15 +180,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.GetMetricDescriptorRequest)) { return super.equals(obj); } - com.google.monitoring.v3.GetMetricDescriptorRequest other = - (com.google.monitoring.v3.GetMetricDescriptorRequest) obj; + com.google.monitoring.v3.GetMetricDescriptorRequest other = (com.google.monitoring.v3.GetMetricDescriptorRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -235,126 +208,117 @@ public int hashCode() { } public static com.google.monitoring.v3.GetMetricDescriptorRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.GetMetricDescriptorRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.GetMetricDescriptorRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.GetMetricDescriptorRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.GetMetricDescriptorRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.GetMetricDescriptorRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.GetMetricDescriptorRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.GetMetricDescriptorRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.GetMetricDescriptorRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.GetMetricDescriptorRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.GetMetricDescriptorRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.GetMetricDescriptorRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.GetMetricDescriptorRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.GetMetricDescriptorRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.GetMetricDescriptorRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 `GetMetricDescriptor` request.
    * 
* * Protobuf type {@code google.monitoring.v3.GetMetricDescriptorRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.GetMetricDescriptorRequest) com.google.monitoring.v3.GetMetricDescriptorRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_GetMetricDescriptorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_GetMetricDescriptorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_GetMetricDescriptorRequest_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_GetMetricDescriptorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetMetricDescriptorRequest.class, - com.google.monitoring.v3.GetMetricDescriptorRequest.Builder.class); + com.google.monitoring.v3.GetMetricDescriptorRequest.class, com.google.monitoring.v3.GetMetricDescriptorRequest.Builder.class); } // Construct using com.google.monitoring.v3.GetMetricDescriptorRequest.newBuilder() @@ -362,15 +326,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -380,9 +345,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_GetMetricDescriptorRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_GetMetricDescriptorRequest_descriptor; } @java.lang.Override @@ -401,8 +366,7 @@ public com.google.monitoring.v3.GetMetricDescriptorRequest build() { @java.lang.Override public com.google.monitoring.v3.GetMetricDescriptorRequest buildPartial() { - com.google.monitoring.v3.GetMetricDescriptorRequest result = - new com.google.monitoring.v3.GetMetricDescriptorRequest(this); + com.google.monitoring.v3.GetMetricDescriptorRequest result = new com.google.monitoring.v3.GetMetricDescriptorRequest(this); result.name_ = name_; onBuilt(); return result; @@ -412,39 +376,38 @@ public com.google.monitoring.v3.GetMetricDescriptorRequest 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.monitoring.v3.GetMetricDescriptorRequest) { - return mergeFrom((com.google.monitoring.v3.GetMetricDescriptorRequest) other); + return mergeFrom((com.google.monitoring.v3.GetMetricDescriptorRequest)other); } else { super.mergeFrom(other); return this; @@ -452,8 +415,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.GetMetricDescriptorRequest other) { - if (other == com.google.monitoring.v3.GetMetricDescriptorRequest.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.GetMetricDescriptorRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -477,8 +439,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.GetMetricDescriptorRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.GetMetricDescriptorRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -490,8 +451,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The metric descriptor on which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
@@ -499,16 +458,14 @@ public Builder mergeFrom(
      * `"compute.googleapis.com/instance/disk/read_bytes_count"`.
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -517,8 +474,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The metric descriptor on which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
@@ -526,17 +481,16 @@ public java.lang.String getName() {
      * `"compute.googleapis.com/instance/disk/read_bytes_count"`.
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -544,8 +498,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The metric descriptor on which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
@@ -553,25 +505,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * `"compute.googleapis.com/instance/disk/read_bytes_count"`.
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The metric descriptor on which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
@@ -579,21 +527,16 @@ public Builder setName(java.lang.String value) {
      * `"compute.googleapis.com/instance/disk/read_bytes_count"`.
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The metric descriptor on which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
@@ -601,26 +544,24 @@ public Builder clearName() {
      * `"compute.googleapis.com/instance/disk/read_bytes_count"`.
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -630,12 +571,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.GetMetricDescriptorRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.GetMetricDescriptorRequest) private static final com.google.monitoring.v3.GetMetricDescriptorRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.GetMetricDescriptorRequest(); } @@ -644,16 +585,16 @@ public static com.google.monitoring.v3.GetMetricDescriptorRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetMetricDescriptorRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetMetricDescriptorRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetMetricDescriptorRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetMetricDescriptorRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -668,4 +609,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.monitoring.v3.GetMetricDescriptorRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequestOrBuilder.java new file mode 100644 index 00000000..dfe792dd --- /dev/null +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequestOrBuilder.java @@ -0,0 +1,35 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/metric_service.proto + +package com.google.monitoring.v3; + +public interface GetMetricDescriptorRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.monitoring.v3.GetMetricDescriptorRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The metric descriptor on which to execute the request. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
+   * An example value of `[METRIC_ID]` is
+   * `"compute.googleapis.com/instance/disk/read_bytes_count"`.
+   * 
+ * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The metric descriptor on which to execute the request. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
+   * An example value of `[METRIC_ID]` is
+   * `"compute.googleapis.com/instance/disk/read_bytes_count"`.
+   * 
+ * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequest.java similarity index 64% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequest.java index e5eb6ec2..49f6cd08 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequest.java @@ -1,59 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `GetMonitoredResourceDescriptor` request.
  * 
* * Protobuf type {@code google.monitoring.v3.GetMonitoredResourceDescriptorRequest} */ -public final class GetMonitoredResourceDescriptorRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetMonitoredResourceDescriptorRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.GetMonitoredResourceDescriptorRequest) GetMonitoredResourceDescriptorRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetMonitoredResourceDescriptorRequest.newBuilder() to construct. - private GetMonitoredResourceDescriptorRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetMonitoredResourceDescriptorRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetMonitoredResourceDescriptorRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetMonitoredResourceDescriptorRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetMonitoredResourceDescriptorRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,52 +53,47 @@ private GetMonitoredResourceDescriptorRequest( case 0: done = true; break; - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_GetMonitoredResourceDescriptorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_GetMonitoredResourceDescriptorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_GetMonitoredResourceDescriptorRequest_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_GetMonitoredResourceDescriptorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest.class, - com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest.Builder.class); + com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest.class, com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** - * - * *
    * Required. The monitored resource descriptor to get.  The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/monitoredResourceDescriptors/[RESOURCE_TYPE]
@@ -125,10 +101,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * `cloudsql_database`.
    * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -137,15 +110,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The monitored resource descriptor to get.  The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/monitoredResourceDescriptors/[RESOURCE_TYPE]
@@ -153,18 +125,17 @@ public java.lang.String getName() {
    * `cloudsql_database`.
    * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -173,7 +144,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -185,7 +155,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); } @@ -209,15 +180,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest)) { return super.equals(obj); } - com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest other = - (com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest) obj; + com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest other = (com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -237,127 +208,117 @@ public int hashCode() { } public static com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest prototype) { + public static Builder newBuilder(com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 `GetMonitoredResourceDescriptor` request.
    * 
* * Protobuf type {@code google.monitoring.v3.GetMonitoredResourceDescriptorRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.GetMonitoredResourceDescriptorRequest) com.google.monitoring.v3.GetMonitoredResourceDescriptorRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_GetMonitoredResourceDescriptorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_GetMonitoredResourceDescriptorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_GetMonitoredResourceDescriptorRequest_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_GetMonitoredResourceDescriptorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest.class, - com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest.Builder.class); + com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest.class, com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest.Builder.class); } // Construct using com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest.newBuilder() @@ -365,15 +326,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -383,14 +345,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_GetMonitoredResourceDescriptorRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_GetMonitoredResourceDescriptorRequest_descriptor; } @java.lang.Override - public com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest - getDefaultInstanceForType() { + public com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest getDefaultInstanceForType() { return com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest.getDefaultInstance(); } @@ -405,8 +366,7 @@ public com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest build() { @java.lang.Override public com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest buildPartial() { - com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest result = - new com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest(this); + com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest result = new com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest(this); result.name_ = name_; onBuilt(); return result; @@ -416,39 +376,38 @@ public com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest 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.monitoring.v3.GetMonitoredResourceDescriptorRequest) { - return mergeFrom((com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest) other); + return mergeFrom((com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest)other); } else { super.mergeFrom(other); return this; @@ -456,9 +415,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest other) { - if (other - == com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -482,9 +439,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -496,8 +451,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The monitored resource descriptor to get.  The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/monitoredResourceDescriptors/[RESOURCE_TYPE]
@@ -505,16 +458,14 @@ public Builder mergeFrom(
      * `cloudsql_database`.
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -523,8 +474,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The monitored resource descriptor to get.  The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/monitoredResourceDescriptors/[RESOURCE_TYPE]
@@ -532,17 +481,16 @@ public java.lang.String getName() {
      * `cloudsql_database`.
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -550,8 +498,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The monitored resource descriptor to get.  The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/monitoredResourceDescriptors/[RESOURCE_TYPE]
@@ -559,25 +505,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * `cloudsql_database`.
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The monitored resource descriptor to get.  The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/monitoredResourceDescriptors/[RESOURCE_TYPE]
@@ -585,21 +527,16 @@ public Builder setName(java.lang.String value) {
      * `cloudsql_database`.
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The monitored resource descriptor to get.  The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/monitoredResourceDescriptors/[RESOURCE_TYPE]
@@ -607,26 +544,24 @@ public Builder clearName() {
      * `cloudsql_database`.
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -636,32 +571,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.GetMonitoredResourceDescriptorRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.GetMonitoredResourceDescriptorRequest) - private static final com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest - DEFAULT_INSTANCE; - + private static final com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest(); } - public static com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest - getDefaultInstance() { + public static com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetMonitoredResourceDescriptorRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetMonitoredResourceDescriptorRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetMonitoredResourceDescriptorRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetMonitoredResourceDescriptorRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -673,8 +606,9 @@ public com.google.protobuf.Parser getPars } @java.lang.Override - public com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest - getDefaultInstanceForType() { + public com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequestOrBuilder.java new file mode 100644 index 00000000..e1665730 --- /dev/null +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequestOrBuilder.java @@ -0,0 +1,35 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/metric_service.proto + +package com.google.monitoring.v3; + +public interface GetMonitoredResourceDescriptorRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.monitoring.v3.GetMonitoredResourceDescriptorRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The monitored resource descriptor to get.  The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/monitoredResourceDescriptors/[RESOURCE_TYPE]
+   * The `[RESOURCE_TYPE]` is a predefined type, such as
+   * `cloudsql_database`.
+   * 
+ * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The monitored resource descriptor to get.  The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/monitoredResourceDescriptors/[RESOURCE_TYPE]
+   * The `[RESOURCE_TYPE]` is a predefined type, such as
+   * `cloudsql_database`.
+   * 
+ * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequest.java similarity index 62% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequest.java index ea3611e6..82b6515a 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequest.java @@ -1,59 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/notification_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `GetNotificationChannelDescriptor` response.
  * 
* * Protobuf type {@code google.monitoring.v3.GetNotificationChannelDescriptorRequest} */ -public final class GetNotificationChannelDescriptorRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetNotificationChannelDescriptorRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.GetNotificationChannelDescriptorRequest) GetNotificationChannelDescriptorRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetNotificationChannelDescriptorRequest.newBuilder() to construct. - private GetNotificationChannelDescriptorRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetNotificationChannelDescriptorRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetNotificationChannelDescriptorRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetNotificationChannelDescriptorRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetNotificationChannelDescriptorRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,61 +53,53 @@ private GetNotificationChannelDescriptorRequest( case 0: done = true; break; - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_GetNotificationChannelDescriptorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_GetNotificationChannelDescriptorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_GetNotificationChannelDescriptorRequest_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_GetNotificationChannelDescriptorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetNotificationChannelDescriptorRequest.class, - com.google.monitoring.v3.GetNotificationChannelDescriptorRequest.Builder.class); + com.google.monitoring.v3.GetNotificationChannelDescriptorRequest.class, com.google.monitoring.v3.GetNotificationChannelDescriptorRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** - * - * *
    * Required. The channel type for which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[CHANNEL_TYPE]
    * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +108,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The channel type for which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[CHANNEL_TYPE]
    * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); } @@ -205,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.GetNotificationChannelDescriptorRequest)) { return super.equals(obj); } - com.google.monitoring.v3.GetNotificationChannelDescriptorRequest other = - (com.google.monitoring.v3.GetNotificationChannelDescriptorRequest) obj; + com.google.monitoring.v3.GetNotificationChannelDescriptorRequest other = (com.google.monitoring.v3.GetNotificationChannelDescriptorRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +204,117 @@ public int hashCode() { } public static com.google.monitoring.v3.GetNotificationChannelDescriptorRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.GetNotificationChannelDescriptorRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.GetNotificationChannelDescriptorRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.GetNotificationChannelDescriptorRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.GetNotificationChannelDescriptorRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.monitoring.v3.GetNotificationChannelDescriptorRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.GetNotificationChannelDescriptorRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.GetNotificationChannelDescriptorRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.GetNotificationChannelDescriptorRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.GetNotificationChannelDescriptorRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.GetNotificationChannelDescriptorRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.GetNotificationChannelDescriptorRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.GetNotificationChannelDescriptorRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.GetNotificationChannelDescriptorRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.GetNotificationChannelDescriptorRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.GetNotificationChannelDescriptorRequest prototype) { + public static Builder newBuilder(com.google.monitoring.v3.GetNotificationChannelDescriptorRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 `GetNotificationChannelDescriptor` response.
    * 
* * Protobuf type {@code google.monitoring.v3.GetNotificationChannelDescriptorRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.GetNotificationChannelDescriptorRequest) com.google.monitoring.v3.GetNotificationChannelDescriptorRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_GetNotificationChannelDescriptorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_GetNotificationChannelDescriptorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_GetNotificationChannelDescriptorRequest_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_GetNotificationChannelDescriptorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetNotificationChannelDescriptorRequest.class, - com.google.monitoring.v3.GetNotificationChannelDescriptorRequest.Builder.class); + com.google.monitoring.v3.GetNotificationChannelDescriptorRequest.class, com.google.monitoring.v3.GetNotificationChannelDescriptorRequest.Builder.class); } // Construct using com.google.monitoring.v3.GetNotificationChannelDescriptorRequest.newBuilder() @@ -361,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_GetNotificationChannelDescriptorRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_GetNotificationChannelDescriptorRequest_descriptor; } @java.lang.Override - public com.google.monitoring.v3.GetNotificationChannelDescriptorRequest - getDefaultInstanceForType() { + public com.google.monitoring.v3.GetNotificationChannelDescriptorRequest getDefaultInstanceForType() { return com.google.monitoring.v3.GetNotificationChannelDescriptorRequest.getDefaultInstance(); } @@ -401,8 +362,7 @@ public com.google.monitoring.v3.GetNotificationChannelDescriptorRequest build() @java.lang.Override public com.google.monitoring.v3.GetNotificationChannelDescriptorRequest buildPartial() { - com.google.monitoring.v3.GetNotificationChannelDescriptorRequest result = - new com.google.monitoring.v3.GetNotificationChannelDescriptorRequest(this); + com.google.monitoring.v3.GetNotificationChannelDescriptorRequest result = new com.google.monitoring.v3.GetNotificationChannelDescriptorRequest(this); result.name_ = name_; onBuilt(); return result; @@ -412,50 +372,46 @@ public com.google.monitoring.v3.GetNotificationChannelDescriptorRequest 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.monitoring.v3.GetNotificationChannelDescriptorRequest) { - return mergeFrom((com.google.monitoring.v3.GetNotificationChannelDescriptorRequest) other); + return mergeFrom((com.google.monitoring.v3.GetNotificationChannelDescriptorRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.monitoring.v3.GetNotificationChannelDescriptorRequest other) { - if (other - == com.google.monitoring.v3.GetNotificationChannelDescriptorRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.monitoring.v3.GetNotificationChannelDescriptorRequest other) { + if (other == com.google.monitoring.v3.GetNotificationChannelDescriptorRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -479,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.GetNotificationChannelDescriptorRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.GetNotificationChannelDescriptorRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -493,23 +447,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The channel type for which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[CHANNEL_TYPE]
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -518,24 +468,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The channel type for which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[CHANNEL_TYPE]
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -543,77 +490,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The channel type for which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[CHANNEL_TYPE]
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The channel type for which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[CHANNEL_TYPE]
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The channel type for which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[CHANNEL_TYPE]
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -623,32 +557,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.GetNotificationChannelDescriptorRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.GetNotificationChannelDescriptorRequest) - private static final com.google.monitoring.v3.GetNotificationChannelDescriptorRequest - DEFAULT_INSTANCE; - + private static final com.google.monitoring.v3.GetNotificationChannelDescriptorRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.monitoring.v3.GetNotificationChannelDescriptorRequest(); } - public static com.google.monitoring.v3.GetNotificationChannelDescriptorRequest - getDefaultInstance() { + public static com.google.monitoring.v3.GetNotificationChannelDescriptorRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetNotificationChannelDescriptorRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetNotificationChannelDescriptorRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetNotificationChannelDescriptorRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetNotificationChannelDescriptorRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -660,8 +592,9 @@ public com.google.protobuf.Parser getPa } @java.lang.Override - public com.google.monitoring.v3.GetNotificationChannelDescriptorRequest - getDefaultInstanceForType() { + public com.google.monitoring.v3.GetNotificationChannelDescriptorRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequestOrBuilder.java new file mode 100644 index 00000000..613f8914 --- /dev/null +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/notification_service.proto + +package com.google.monitoring.v3; + +public interface GetNotificationChannelDescriptorRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.monitoring.v3.GetNotificationChannelDescriptorRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The channel type for which to execute the request. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[CHANNEL_TYPE]
+   * 
+ * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The channel type for which to execute the request. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[CHANNEL_TYPE]
+   * 
+ * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequest.java similarity index 65% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequest.java index e14063a1..f97f5eed 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/notification_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `GetNotificationChannel` request.
  * 
* * Protobuf type {@code google.monitoring.v3.GetNotificationChannelRequest} */ -public final class GetNotificationChannelRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetNotificationChannelRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.GetNotificationChannelRequest) GetNotificationChannelRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetNotificationChannelRequest.newBuilder() to construct. private GetNotificationChannelRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetNotificationChannelRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetNotificationChannelRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetNotificationChannelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,61 +53,53 @@ private GetNotificationChannelRequest( case 0: done = true; break; - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_GetNotificationChannelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_GetNotificationChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_GetNotificationChannelRequest_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_GetNotificationChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetNotificationChannelRequest.class, - com.google.monitoring.v3.GetNotificationChannelRequest.Builder.class); + com.google.monitoring.v3.GetNotificationChannelRequest.class, com.google.monitoring.v3.GetNotificationChannelRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** - * - * *
    * Required. The channel for which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
    * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -133,32 +108,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The channel for which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
    * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.GetNotificationChannelRequest)) { return super.equals(obj); } - com.google.monitoring.v3.GetNotificationChannelRequest other = - (com.google.monitoring.v3.GetNotificationChannelRequest) obj; + com.google.monitoring.v3.GetNotificationChannelRequest other = (com.google.monitoring.v3.GetNotificationChannelRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ public int hashCode() { } public static com.google.monitoring.v3.GetNotificationChannelRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.GetNotificationChannelRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.GetNotificationChannelRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.GetNotificationChannelRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.GetNotificationChannelRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.GetNotificationChannelRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.GetNotificationChannelRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.GetNotificationChannelRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.GetNotificationChannelRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.GetNotificationChannelRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.GetNotificationChannelRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.GetNotificationChannelRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.GetNotificationChannelRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.GetNotificationChannelRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.GetNotificationChannelRequest prototype) { + public static Builder newBuilder(com.google.monitoring.v3.GetNotificationChannelRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 `GetNotificationChannel` request.
    * 
* * Protobuf type {@code google.monitoring.v3.GetNotificationChannelRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.GetNotificationChannelRequest) com.google.monitoring.v3.GetNotificationChannelRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_GetNotificationChannelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_GetNotificationChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_GetNotificationChannelRequest_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_GetNotificationChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetNotificationChannelRequest.class, - com.google.monitoring.v3.GetNotificationChannelRequest.Builder.class); + com.google.monitoring.v3.GetNotificationChannelRequest.class, com.google.monitoring.v3.GetNotificationChannelRequest.Builder.class); } // Construct using com.google.monitoring.v3.GetNotificationChannelRequest.newBuilder() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_GetNotificationChannelRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_GetNotificationChannelRequest_descriptor; } @java.lang.Override @@ -398,8 +362,7 @@ public com.google.monitoring.v3.GetNotificationChannelRequest build() { @java.lang.Override public com.google.monitoring.v3.GetNotificationChannelRequest buildPartial() { - com.google.monitoring.v3.GetNotificationChannelRequest result = - new com.google.monitoring.v3.GetNotificationChannelRequest(this); + com.google.monitoring.v3.GetNotificationChannelRequest result = new com.google.monitoring.v3.GetNotificationChannelRequest(this); result.name_ = name_; onBuilt(); return result; @@ -409,39 +372,38 @@ public com.google.monitoring.v3.GetNotificationChannelRequest 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.monitoring.v3.GetNotificationChannelRequest) { - return mergeFrom((com.google.monitoring.v3.GetNotificationChannelRequest) other); + return mergeFrom((com.google.monitoring.v3.GetNotificationChannelRequest)other); } else { super.mergeFrom(other); return this; @@ -449,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.GetNotificationChannelRequest other) { - if (other == com.google.monitoring.v3.GetNotificationChannelRequest.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.GetNotificationChannelRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -474,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.GetNotificationChannelRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.GetNotificationChannelRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -487,23 +447,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The channel for which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -512,24 +468,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The channel for which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -537,77 +490,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The channel for which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The channel for which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The channel for which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
      * 
* - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -617,12 +557,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.GetNotificationChannelRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.GetNotificationChannelRequest) private static final com.google.monitoring.v3.GetNotificationChannelRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.GetNotificationChannelRequest(); } @@ -631,16 +571,16 @@ public static com.google.monitoring.v3.GetNotificationChannelRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetNotificationChannelRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetNotificationChannelRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetNotificationChannelRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetNotificationChannelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -655,4 +595,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.monitoring.v3.GetNotificationChannelRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequestOrBuilder.java new file mode 100644 index 00000000..84e67ede --- /dev/null +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/notification_service.proto + +package com.google.monitoring.v3; + +public interface GetNotificationChannelRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.monitoring.v3.GetNotificationChannelRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The channel for which to execute the request. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
+   * 
+ * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The channel for which to execute the request. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
+   * 
+ * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeRequest.java similarity index 71% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeRequest.java index bb608366..51001c08 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeRequest.java @@ -1,59 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/notification_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `GetNotificationChannelVerificationCode` request.
  * 
* * Protobuf type {@code google.monitoring.v3.GetNotificationChannelVerificationCodeRequest} */ -public final class GetNotificationChannelVerificationCodeRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetNotificationChannelVerificationCodeRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.GetNotificationChannelVerificationCodeRequest) GetNotificationChannelVerificationCodeRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetNotificationChannelVerificationCodeRequest.newBuilder() to construct. - private GetNotificationChannelVerificationCodeRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetNotificationChannelVerificationCodeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetNotificationChannelVerificationCodeRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetNotificationChannelVerificationCodeRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetNotificationChannelVerificationCodeRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,77 +53,67 @@ private GetNotificationChannelVerificationCodeRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (expireTime_ != null) { + subBuilder = expireTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (expireTime_ != null) { - subBuilder = expireTime_.toBuilder(); - } - expireTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(expireTime_); - expireTime_ = subBuilder.buildPartial(); - } - - break; + expireTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(expireTime_); + expireTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeRequest_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest.class, - com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest.Builder.class); + com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest.class, com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The notification channel for which a verification code is to be generated
    * and retrieved. This must name a channel that is already verified; if
    * the specified channel is not verified, the request will fail.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -151,33 +122,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The notification channel for which a verification code is to be generated
    * and retrieved. This must name a channel that is already verified; if
    * the specified channel is not verified, the request will fail.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -188,8 +157,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int EXPIRE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp expireTime_; /** - * - * *
    * The desired expiration time. If specified, the API will guarantee that
    * the returned code will not be valid after the specified timestamp;
@@ -203,7 +170,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.protobuf.Timestamp expire_time = 2; - * * @return Whether the expireTime field is set. */ @java.lang.Override @@ -211,8 +177,6 @@ public boolean hasExpireTime() { return expireTime_ != null; } /** - * - * *
    * The desired expiration time. If specified, the API will guarantee that
    * the returned code will not be valid after the specified timestamp;
@@ -226,7 +190,6 @@ public boolean hasExpireTime() {
    * 
* * .google.protobuf.Timestamp expire_time = 2; - * * @return The expireTime. */ @java.lang.Override @@ -234,8 +197,6 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** - * - * *
    * The desired expiration time. If specified, the API will guarantee that
    * the returned code will not be valid after the specified timestamp;
@@ -256,7 +217,6 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -268,7 +228,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -288,7 +249,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (expireTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getExpireTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getExpireTime());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -298,18 +260,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.monitoring.v3.GetNotificationChannelVerificationCodeRequest)) {
       return super.equals(obj);
     }
-    com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest other =
-        (com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest) obj;
+    com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest other = (com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest) obj;
 
-    if (!getName().equals(other.getName())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
     if (hasExpireTime() != other.hasExpireTime()) return false;
     if (hasExpireTime()) {
-      if (!getExpireTime().equals(other.getExpireTime())) return false;
+      if (!getExpireTime()
+          .equals(other.getExpireTime())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -334,145 +297,134 @@ public int hashCode() {
   }
 
   public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest parseFrom(
-      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest parseFrom(byte[] data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest
-      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
-  public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest
-      parseDelimitedFrom(
-          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+  public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest parseDelimitedFrom(
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest prototype) {
+  public static Builder newBuilder(com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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 `GetNotificationChannelVerificationCode` request.
    * 
* * Protobuf type {@code google.monitoring.v3.GetNotificationChannelVerificationCodeRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.GetNotificationChannelVerificationCodeRequest) com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeRequest_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest.class, - com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest.Builder.class); + com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest.class, com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest.Builder.class); } - // Construct using - // com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest.newBuilder() + // Construct using com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -488,22 +440,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeRequest_descriptor; } @java.lang.Override - public com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest - getDefaultInstanceForType() { - return com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest - .getDefaultInstance(); + public com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest getDefaultInstanceForType() { + return com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest.getDefaultInstance(); } @java.lang.Override public com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest build() { - com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest result = - buildPartial(); + com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -512,8 +461,7 @@ public com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest bu @java.lang.Override public com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest buildPartial() { - com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest result = - new com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest(this); + com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest result = new com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest(this); result.name_ = name_; if (expireTimeBuilder_ == null) { result.expireTime_ = expireTime_; @@ -528,51 +476,46 @@ public com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest bu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest) { - return mergeFrom( - (com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest) other); + return mergeFrom((com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest other) { - if (other - == com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest other) { + if (other == com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -599,9 +542,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -613,24 +554,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The notification channel for which a verification code is to be generated
      * and retrieved. This must name a channel that is already verified; if
      * the specified channel is not verified, the request will fail.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -639,25 +576,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The notification channel for which a verification code is to be generated
      * and retrieved. This must name a channel that is already verified; if
      * the specified channel is not verified, the request will fail.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -665,73 +599,60 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The notification channel for which a verification code is to be generated
      * and retrieved. This must name a channel that is already verified; if
      * the specified channel is not verified, the request will fail.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The notification channel for which a verification code is to be generated
      * and retrieved. This must name a channel that is already verified; if
      * the specified channel is not verified, the request will fail.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The notification channel for which a verification code is to be generated
      * and retrieved. This must name a channel that is already verified; if
      * the specified channel is not verified, the request will fail.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -739,13 +660,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp expireTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - expireTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; /** - * - * *
      * The desired expiration time. If specified, the API will guarantee that
      * the returned code will not be valid after the specified timestamp;
@@ -759,15 +675,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.Timestamp expire_time = 2; - * * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return expireTimeBuilder_ != null || expireTime_ != null; } /** - * - * *
      * The desired expiration time. If specified, the API will guarantee that
      * the returned code will not be valid after the specified timestamp;
@@ -781,21 +694,16 @@ public boolean hasExpireTime() {
      * 
* * .google.protobuf.Timestamp expire_time = 2; - * * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** - * - * *
      * The desired expiration time. If specified, the API will guarantee that
      * the returned code will not be valid after the specified timestamp;
@@ -824,8 +732,6 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The desired expiration time. If specified, the API will guarantee that
      * the returned code will not be valid after the specified timestamp;
@@ -840,7 +746,8 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp expire_time = 2;
      */
-    public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setExpireTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (expireTimeBuilder_ == null) {
         expireTime_ = builderForValue.build();
         onChanged();
@@ -851,8 +758,6 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The desired expiration time. If specified, the API will guarantee that
      * the returned code will not be valid after the specified timestamp;
@@ -871,7 +776,7 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) {
       if (expireTimeBuilder_ == null) {
         if (expireTime_ != null) {
           expireTime_ =
-              com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial();
         } else {
           expireTime_ = value;
         }
@@ -883,8 +788,6 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The desired expiration time. If specified, the API will guarantee that
      * the returned code will not be valid after the specified timestamp;
@@ -911,8 +814,6 @@ public Builder clearExpireTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The desired expiration time. If specified, the API will guarantee that
      * the returned code will not be valid after the specified timestamp;
@@ -928,13 +829,11 @@ public Builder clearExpireTime() {
      * .google.protobuf.Timestamp expire_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() {
-
+      
       onChanged();
       return getExpireTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The desired expiration time. If specified, the API will guarantee that
      * the returned code will not be valid after the specified timestamp;
@@ -953,14 +852,11 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
       if (expireTimeBuilder_ != null) {
         return expireTimeBuilder_.getMessageOrBuilder();
       } else {
-        return expireTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : expireTime_;
+        return expireTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The desired expiration time. If specified, the API will guarantee that
      * the returned code will not be valid after the specified timestamp;
@@ -976,24 +872,21 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
      * .google.protobuf.Timestamp expire_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> 
         getExpireTimeFieldBuilder() {
       if (expireTimeBuilder_ == null) {
-        expireTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getExpireTime(), getParentForChildren(), isClean());
+        expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getExpireTime(),
+                getParentForChildren(),
+                isClean());
         expireTime_ = null;
       }
       return expireTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1003,47 +896,44 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.monitoring.v3.GetNotificationChannelVerificationCodeRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.monitoring.v3.GetNotificationChannelVerificationCodeRequest)
-  private static final com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest
-      DEFAULT_INSTANCE;
-
+  private static final com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest DEFAULT_INSTANCE;
   static {
     DEFAULT_INSTANCE = new com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest();
   }
 
-  public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest
-      getDefaultInstance() {
+  public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
   private static final com.google.protobuf.Parser
-      PARSER =
-          new com.google.protobuf.AbstractParser() {
-            @java.lang.Override
-            public GetNotificationChannelVerificationCodeRequest parsePartialFrom(
-                com.google.protobuf.CodedInputStream input,
-                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-                throws com.google.protobuf.InvalidProtocolBufferException {
-              return new GetNotificationChannelVerificationCodeRequest(input, extensionRegistry);
-            }
-          };
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public GetNotificationChannelVerificationCodeRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new GetNotificationChannelVerificationCodeRequest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
   }
 
   @java.lang.Override
-  public com.google.protobuf.Parser
-      getParserForType() {
+  public com.google.protobuf.Parser getParserForType() {
     return PARSER;
   }
 
   @java.lang.Override
-  public com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest
-      getDefaultInstanceForType() {
+  public com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeRequestOrBuilder.java
similarity index 77%
rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeRequestOrBuilder.java
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeRequestOrBuilder.java
index a086e963..c7b3d567 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeRequestOrBuilder.java
+++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeRequestOrBuilder.java
@@ -1,64 +1,37 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/monitoring/v3/notification_service.proto
 
 package com.google.monitoring.v3;
 
-public interface GetNotificationChannelVerificationCodeRequestOrBuilder
-    extends
+public interface GetNotificationChannelVerificationCodeRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.monitoring.v3.GetNotificationChannelVerificationCodeRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The notification channel for which a verification code is to be generated
    * and retrieved. This must name a channel that is already verified; if
    * the specified channel is not verified, the request will fail.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The notification channel for which a verification code is to be generated
    * and retrieved. This must name a channel that is already verified; if
    * the specified channel is not verified, the request will fail.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The desired expiration time. If specified, the API will guarantee that
    * the returned code will not be valid after the specified timestamp;
@@ -72,13 +45,10 @@ public interface GetNotificationChannelVerificationCodeRequestOrBuilder
    * 
* * .google.protobuf.Timestamp expire_time = 2; - * * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** - * - * *
    * The desired expiration time. If specified, the API will guarantee that
    * the returned code will not be valid after the specified timestamp;
@@ -92,13 +62,10 @@ public interface GetNotificationChannelVerificationCodeRequestOrBuilder
    * 
* * .google.protobuf.Timestamp expire_time = 2; - * * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** - * - * *
    * The desired expiration time. If specified, the API will guarantee that
    * the returned code will not be valid after the specified timestamp;
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeResponse.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeResponse.java
similarity index 68%
rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeResponse.java
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeResponse.java
index e490a02c..eb9653a8 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeResponse.java
+++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeResponse.java
@@ -1,59 +1,40 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/monitoring/v3/notification_service.proto
 
 package com.google.monitoring.v3;
 
 /**
- *
- *
  * 
  * The `GetNotificationChannelVerificationCode` request.
  * 
* * Protobuf type {@code google.monitoring.v3.GetNotificationChannelVerificationCodeResponse} */ -public final class GetNotificationChannelVerificationCodeResponse - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetNotificationChannelVerificationCodeResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.GetNotificationChannelVerificationCodeResponse) GetNotificationChannelVerificationCodeResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetNotificationChannelVerificationCodeResponse.newBuilder() to construct. - private GetNotificationChannelVerificationCodeResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetNotificationChannelVerificationCodeResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetNotificationChannelVerificationCodeResponse() { code_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetNotificationChannelVerificationCodeResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetNotificationChannelVerificationCodeResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,67 +53,60 @@ private GetNotificationChannelVerificationCodeResponse( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - code_ = s; - break; + code_ = s; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (expireTime_ != null) { + subBuilder = expireTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (expireTime_ != null) { - subBuilder = expireTime_.toBuilder(); - } - expireTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(expireTime_); - expireTime_ = subBuilder.buildPartial(); - } - - break; + expireTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(expireTime_); + expireTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeResponse_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse.class, - com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse.Builder.class); + com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse.class, com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse.Builder.class); } public static final int CODE_FIELD_NUMBER = 1; private volatile java.lang.Object code_; /** - * - * *
    * The verification code, which may be used to verify other channels
    * that have an equivalent identity (i.e. other channels of the same
@@ -141,7 +115,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string code = 1; - * * @return The code. */ @java.lang.Override @@ -150,15 +123,14 @@ public java.lang.String getCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); code_ = s; return s; } } /** - * - * *
    * The verification code, which may be used to verify other channels
    * that have an equivalent identity (i.e. other channels of the same
@@ -167,15 +139,16 @@ public java.lang.String getCode() {
    * 
* * string code = 1; - * * @return The bytes for code. */ @java.lang.Override - public com.google.protobuf.ByteString getCodeBytes() { + public com.google.protobuf.ByteString + getCodeBytes() { java.lang.Object ref = code_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); code_ = b; return b; } else { @@ -186,8 +159,6 @@ public com.google.protobuf.ByteString getCodeBytes() { public static final int EXPIRE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp expireTime_; /** - * - * *
    * The expiration time associated with the code that was returned. If
    * an expiration was provided in the request, this is the minimum of the
@@ -195,7 +166,6 @@ public com.google.protobuf.ByteString getCodeBytes() {
    * 
* * .google.protobuf.Timestamp expire_time = 2; - * * @return Whether the expireTime field is set. */ @java.lang.Override @@ -203,8 +173,6 @@ public boolean hasExpireTime() { return expireTime_ != null; } /** - * - * *
    * The expiration time associated with the code that was returned. If
    * an expiration was provided in the request, this is the minimum of the
@@ -212,7 +180,6 @@ public boolean hasExpireTime() {
    * 
* * .google.protobuf.Timestamp expire_time = 2; - * * @return The expireTime. */ @java.lang.Override @@ -220,8 +187,6 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** - * - * *
    * The expiration time associated with the code that was returned. If
    * an expiration was provided in the request, this is the minimum of the
@@ -236,7 +201,6 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -248,7 +212,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, code_);
     }
@@ -268,7 +233,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, code_);
     }
     if (expireTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getExpireTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getExpireTime());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -278,18 +244,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.monitoring.v3.GetNotificationChannelVerificationCodeResponse)) {
       return super.equals(obj);
     }
-    com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse other =
-        (com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse) obj;
+    com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse other = (com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse) obj;
 
-    if (!getCode().equals(other.getCode())) return false;
+    if (!getCode()
+        .equals(other.getCode())) return false;
     if (hasExpireTime() != other.hasExpireTime()) return false;
     if (hasExpireTime()) {
-      if (!getExpireTime().equals(other.getExpireTime())) return false;
+      if (!getExpireTime()
+          .equals(other.getExpireTime())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -314,146 +281,134 @@ public int hashCode() {
   }
 
   public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse parseFrom(
-      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse parseFrom(byte[] data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse
-      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
-  public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse
-      parseDelimitedFrom(
-          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+  public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse parseDelimitedFrom(
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse prototype) {
+  public static Builder newBuilder(com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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 `GetNotificationChannelVerificationCode` request.
    * 
* * Protobuf type {@code google.monitoring.v3.GetNotificationChannelVerificationCodeResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.GetNotificationChannelVerificationCodeResponse) com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeResponse_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse.class, - com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse.Builder - .class); + com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse.class, com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse.Builder.class); } - // Construct using - // com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse.newBuilder() + // Construct using com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -469,22 +424,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeResponse_descriptor; } @java.lang.Override - public com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse - getDefaultInstanceForType() { - return com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse - .getDefaultInstance(); + public com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse getDefaultInstanceForType() { + return com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse.getDefaultInstance(); } @java.lang.Override public com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse build() { - com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse result = - buildPartial(); + com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -493,8 +445,7 @@ public com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse b @java.lang.Override public com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse buildPartial() { - com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse result = - new com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse(this); + com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse result = new com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse(this); result.code_ = code_; if (expireTimeBuilder_ == null) { result.expireTime_ = expireTime_; @@ -509,52 +460,46 @@ public com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse b public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse) { - return mergeFrom( - (com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse) other); + if (other instanceof com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse) { + return mergeFrom((com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse other) { - if (other - == com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse other) { + if (other == com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse.getDefaultInstance()) return this; if (!other.getCode().isEmpty()) { code_ = other.code_; onChanged(); @@ -581,9 +526,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -595,8 +538,6 @@ public Builder mergeFrom( private java.lang.Object code_ = ""; /** - * - * *
      * The verification code, which may be used to verify other channels
      * that have an equivalent identity (i.e. other channels of the same
@@ -605,13 +546,13 @@ public Builder mergeFrom(
      * 
* * string code = 1; - * * @return The code. */ public java.lang.String getCode() { java.lang.Object ref = code_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); code_ = s; return s; @@ -620,8 +561,6 @@ public java.lang.String getCode() { } } /** - * - * *
      * The verification code, which may be used to verify other channels
      * that have an equivalent identity (i.e. other channels of the same
@@ -630,14 +569,15 @@ public java.lang.String getCode() {
      * 
* * string code = 1; - * * @return The bytes for code. */ - public com.google.protobuf.ByteString getCodeBytes() { + public com.google.protobuf.ByteString + getCodeBytes() { java.lang.Object ref = code_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); code_ = b; return b; } else { @@ -645,8 +585,6 @@ public com.google.protobuf.ByteString getCodeBytes() { } } /** - * - * *
      * The verification code, which may be used to verify other channels
      * that have an equivalent identity (i.e. other channels of the same
@@ -655,22 +593,20 @@ public com.google.protobuf.ByteString getCodeBytes() {
      * 
* * string code = 1; - * * @param value The code to set. * @return This builder for chaining. */ - public Builder setCode(java.lang.String value) { + public Builder setCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + code_ = value; onChanged(); return this; } /** - * - * *
      * The verification code, which may be used to verify other channels
      * that have an equivalent identity (i.e. other channels of the same
@@ -679,18 +615,15 @@ public Builder setCode(java.lang.String value) {
      * 
* * string code = 1; - * * @return This builder for chaining. */ public Builder clearCode() { - + code_ = getDefaultInstance().getCode(); onChanged(); return this; } /** - * - * *
      * The verification code, which may be used to verify other channels
      * that have an equivalent identity (i.e. other channels of the same
@@ -699,16 +632,16 @@ public Builder clearCode() {
      * 
* * string code = 1; - * * @param value The bytes for code to set. * @return This builder for chaining. */ - public Builder setCodeBytes(com.google.protobuf.ByteString value) { + public Builder setCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + code_ = value; onChanged(); return this; @@ -716,13 +649,8 @@ public Builder setCodeBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp expireTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - expireTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; /** - * - * *
      * The expiration time associated with the code that was returned. If
      * an expiration was provided in the request, this is the minimum of the
@@ -730,15 +658,12 @@ public Builder setCodeBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.Timestamp expire_time = 2; - * * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return expireTimeBuilder_ != null || expireTime_ != null; } /** - * - * *
      * The expiration time associated with the code that was returned. If
      * an expiration was provided in the request, this is the minimum of the
@@ -746,21 +671,16 @@ public boolean hasExpireTime() {
      * 
* * .google.protobuf.Timestamp expire_time = 2; - * * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** - * - * *
      * The expiration time associated with the code that was returned. If
      * an expiration was provided in the request, this is the minimum of the
@@ -783,8 +703,6 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The expiration time associated with the code that was returned. If
      * an expiration was provided in the request, this is the minimum of the
@@ -793,7 +711,8 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp expire_time = 2;
      */
-    public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setExpireTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (expireTimeBuilder_ == null) {
         expireTime_ = builderForValue.build();
         onChanged();
@@ -804,8 +723,6 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The expiration time associated with the code that was returned. If
      * an expiration was provided in the request, this is the minimum of the
@@ -818,7 +735,7 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) {
       if (expireTimeBuilder_ == null) {
         if (expireTime_ != null) {
           expireTime_ =
-              com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial();
         } else {
           expireTime_ = value;
         }
@@ -830,8 +747,6 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The expiration time associated with the code that was returned. If
      * an expiration was provided in the request, this is the minimum of the
@@ -852,8 +767,6 @@ public Builder clearExpireTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The expiration time associated with the code that was returned. If
      * an expiration was provided in the request, this is the minimum of the
@@ -863,13 +776,11 @@ public Builder clearExpireTime() {
      * .google.protobuf.Timestamp expire_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() {
-
+      
       onChanged();
       return getExpireTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The expiration time associated with the code that was returned. If
      * an expiration was provided in the request, this is the minimum of the
@@ -882,14 +793,11 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
       if (expireTimeBuilder_ != null) {
         return expireTimeBuilder_.getMessageOrBuilder();
       } else {
-        return expireTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : expireTime_;
+        return expireTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The expiration time associated with the code that was returned. If
      * an expiration was provided in the request, this is the minimum of the
@@ -899,24 +807,21 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
      * .google.protobuf.Timestamp expire_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> 
         getExpireTimeFieldBuilder() {
       if (expireTimeBuilder_ == null) {
-        expireTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getExpireTime(), getParentForChildren(), isClean());
+        expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getExpireTime(),
+                getParentForChildren(),
+                isClean());
         expireTime_ = null;
       }
       return expireTimeBuilder_;
     }
-
     @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);
     }
 
@@ -926,49 +831,44 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.monitoring.v3.GetNotificationChannelVerificationCodeResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.monitoring.v3.GetNotificationChannelVerificationCodeResponse)
-  private static final com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse
-      DEFAULT_INSTANCE;
-
+  private static final com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse DEFAULT_INSTANCE;
   static {
-    DEFAULT_INSTANCE =
-        new com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse();
+    DEFAULT_INSTANCE = new com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse();
   }
 
-  public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse
-      getDefaultInstance() {
+  public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
   private static final com.google.protobuf.Parser
-      PARSER =
-          new com.google.protobuf.AbstractParser() {
-            @java.lang.Override
-            public GetNotificationChannelVerificationCodeResponse parsePartialFrom(
-                com.google.protobuf.CodedInputStream input,
-                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-                throws com.google.protobuf.InvalidProtocolBufferException {
-              return new GetNotificationChannelVerificationCodeResponse(input, extensionRegistry);
-            }
-          };
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public GetNotificationChannelVerificationCodeResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new GetNotificationChannelVerificationCodeResponse(input, extensionRegistry);
+    }
+  };
 
-  public static com.google.protobuf.Parser
-      parser() {
+  public static com.google.protobuf.Parser parser() {
     return PARSER;
   }
 
   @java.lang.Override
-  public com.google.protobuf.Parser
-      getParserForType() {
+  public com.google.protobuf.Parser getParserForType() {
     return PARSER;
   }
 
   @java.lang.Override
-  public com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse
-      getDefaultInstanceForType() {
+  public com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeResponseOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeResponseOrBuilder.java
similarity index 76%
rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeResponseOrBuilder.java
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeResponseOrBuilder.java
index 9fba9869..fce8597e 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeResponseOrBuilder.java
+++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeResponseOrBuilder.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/monitoring/v3/notification_service.proto
 
 package com.google.monitoring.v3;
 
-public interface GetNotificationChannelVerificationCodeResponseOrBuilder
-    extends
+public interface GetNotificationChannelVerificationCodeResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.monitoring.v3.GetNotificationChannelVerificationCodeResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The verification code, which may be used to verify other channels
    * that have an equivalent identity (i.e. other channels of the same
@@ -34,13 +16,10 @@ public interface GetNotificationChannelVerificationCodeResponseOrBuilder
    * 
* * string code = 1; - * * @return The code. */ java.lang.String getCode(); /** - * - * *
    * The verification code, which may be used to verify other channels
    * that have an equivalent identity (i.e. other channels of the same
@@ -49,14 +28,12 @@ public interface GetNotificationChannelVerificationCodeResponseOrBuilder
    * 
* * string code = 1; - * * @return The bytes for code. */ - com.google.protobuf.ByteString getCodeBytes(); + com.google.protobuf.ByteString + getCodeBytes(); /** - * - * *
    * The expiration time associated with the code that was returned. If
    * an expiration was provided in the request, this is the minimum of the
@@ -64,13 +41,10 @@ public interface GetNotificationChannelVerificationCodeResponseOrBuilder
    * 
* * .google.protobuf.Timestamp expire_time = 2; - * * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** - * - * *
    * The expiration time associated with the code that was returned. If
    * an expiration was provided in the request, this is the minimum of the
@@ -78,13 +52,10 @@ public interface GetNotificationChannelVerificationCodeResponseOrBuilder
    * 
* * .google.protobuf.Timestamp expire_time = 2; - * * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** - * - * *
    * The expiration time associated with the code that was returned. If
    * an expiration was provided in the request, this is the minimum of the
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceLevelObjectiveRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceLevelObjectiveRequest.java
similarity index 70%
rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceLevelObjectiveRequest.java
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceLevelObjectiveRequest.java
index d91a2e6f..f6cc745c 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceLevelObjectiveRequest.java
+++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceLevelObjectiveRequest.java
@@ -1,43 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/monitoring/v3/service_service.proto
 
 package com.google.monitoring.v3;
 
 /**
- *
- *
  * 
  * The `GetServiceLevelObjective` request.
  * 
* * Protobuf type {@code google.monitoring.v3.GetServiceLevelObjectiveRequest} */ -public final class GetServiceLevelObjectiveRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetServiceLevelObjectiveRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.GetServiceLevelObjectiveRequest) GetServiceLevelObjectiveRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetServiceLevelObjectiveRequest.newBuilder() to construct. - private GetServiceLevelObjectiveRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetServiceLevelObjectiveRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetServiceLevelObjectiveRequest() { name_ = ""; view_ = 0; @@ -45,15 +26,16 @@ private GetServiceLevelObjectiveRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetServiceLevelObjectiveRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetServiceLevelObjectiveRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,68 +54,59 @@ private GetServiceLevelObjectiveRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + view_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_GetServiceLevelObjectiveRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_GetServiceLevelObjectiveRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_GetServiceLevelObjectiveRequest_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_GetServiceLevelObjectiveRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetServiceLevelObjectiveRequest.class, - com.google.monitoring.v3.GetServiceLevelObjectiveRequest.Builder.class); + com.google.monitoring.v3.GetServiceLevelObjectiveRequest.class, com.google.monitoring.v3.GetServiceLevelObjectiveRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. Resource name of the `ServiceLevelObjective` to get. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -142,32 +115,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Resource name of the `ServiceLevelObjective` to get. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -178,8 +149,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_; /** - * - * *
    * View of the `ServiceLevelObjective` to return. If `DEFAULT`, return the
    * `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
@@ -188,16 +157,12 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.monitoring.v3.ServiceLevelObjective.View view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * View of the `ServiceLevelObjective` to return. If `DEFAULT`, return the
    * `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
@@ -206,21 +171,15 @@ public int getViewValue() {
    * 
* * .google.monitoring.v3.ServiceLevelObjective.View view = 2; - * * @return The view. */ - @java.lang.Override - public com.google.monitoring.v3.ServiceLevelObjective.View getView() { + @java.lang.Override public com.google.monitoring.v3.ServiceLevelObjective.View getView() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.ServiceLevelObjective.View result = - com.google.monitoring.v3.ServiceLevelObjective.View.valueOf(view_); - return result == null - ? com.google.monitoring.v3.ServiceLevelObjective.View.UNRECOGNIZED - : result; + com.google.monitoring.v3.ServiceLevelObjective.View result = com.google.monitoring.v3.ServiceLevelObjective.View.valueOf(view_); + return result == null ? com.google.monitoring.v3.ServiceLevelObjective.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -232,7 +191,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_); } @@ -252,7 +212,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (view_ != com.google.monitoring.v3.ServiceLevelObjective.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -262,15 +223,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.monitoring.v3.GetServiceLevelObjectiveRequest)) { return super.equals(obj); } - com.google.monitoring.v3.GetServiceLevelObjectiveRequest other = - (com.google.monitoring.v3.GetServiceLevelObjectiveRequest) obj; + com.google.monitoring.v3.GetServiceLevelObjectiveRequest other = (com.google.monitoring.v3.GetServiceLevelObjectiveRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (view_ != other.view_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -293,127 +254,117 @@ public int hashCode() { } public static com.google.monitoring.v3.GetServiceLevelObjectiveRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.GetServiceLevelObjectiveRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.GetServiceLevelObjectiveRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.GetServiceLevelObjectiveRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.GetServiceLevelObjectiveRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.GetServiceLevelObjectiveRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.GetServiceLevelObjectiveRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.GetServiceLevelObjectiveRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.GetServiceLevelObjectiveRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.GetServiceLevelObjectiveRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.GetServiceLevelObjectiveRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.GetServiceLevelObjectiveRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.GetServiceLevelObjectiveRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.GetServiceLevelObjectiveRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.GetServiceLevelObjectiveRequest prototype) { + public static Builder newBuilder(com.google.monitoring.v3.GetServiceLevelObjectiveRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 `GetServiceLevelObjective` request.
    * 
* * Protobuf type {@code google.monitoring.v3.GetServiceLevelObjectiveRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.GetServiceLevelObjectiveRequest) com.google.monitoring.v3.GetServiceLevelObjectiveRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_GetServiceLevelObjectiveRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_GetServiceLevelObjectiveRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_GetServiceLevelObjectiveRequest_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_GetServiceLevelObjectiveRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetServiceLevelObjectiveRequest.class, - com.google.monitoring.v3.GetServiceLevelObjectiveRequest.Builder.class); + com.google.monitoring.v3.GetServiceLevelObjectiveRequest.class, com.google.monitoring.v3.GetServiceLevelObjectiveRequest.Builder.class); } // Construct using com.google.monitoring.v3.GetServiceLevelObjectiveRequest.newBuilder() @@ -421,15 +372,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -441,9 +393,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_GetServiceLevelObjectiveRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_GetServiceLevelObjectiveRequest_descriptor; } @java.lang.Override @@ -462,8 +414,7 @@ public com.google.monitoring.v3.GetServiceLevelObjectiveRequest build() { @java.lang.Override public com.google.monitoring.v3.GetServiceLevelObjectiveRequest buildPartial() { - com.google.monitoring.v3.GetServiceLevelObjectiveRequest result = - new com.google.monitoring.v3.GetServiceLevelObjectiveRequest(this); + com.google.monitoring.v3.GetServiceLevelObjectiveRequest result = new com.google.monitoring.v3.GetServiceLevelObjectiveRequest(this); result.name_ = name_; result.view_ = view_; onBuilt(); @@ -474,39 +425,38 @@ public com.google.monitoring.v3.GetServiceLevelObjectiveRequest 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.monitoring.v3.GetServiceLevelObjectiveRequest) { - return mergeFrom((com.google.monitoring.v3.GetServiceLevelObjectiveRequest) other); + return mergeFrom((com.google.monitoring.v3.GetServiceLevelObjectiveRequest)other); } else { super.mergeFrom(other); return this; @@ -514,8 +464,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.GetServiceLevelObjectiveRequest other) { - if (other == com.google.monitoring.v3.GetServiceLevelObjectiveRequest.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.GetServiceLevelObjectiveRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -542,8 +491,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.GetServiceLevelObjectiveRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.GetServiceLevelObjectiveRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -555,23 +503,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. Resource name of the `ServiceLevelObjective` to get. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -580,24 +524,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Resource name of the `ServiceLevelObjective` to get. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -605,70 +546,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Resource name of the `ServiceLevelObjective` to get. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the `ServiceLevelObjective` to get. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the `ServiceLevelObjective` to get. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -676,8 +604,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * View of the `ServiceLevelObjective` to return. If `DEFAULT`, return the
      * `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
@@ -686,16 +612,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.monitoring.v3.ServiceLevelObjective.View view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * View of the `ServiceLevelObjective` to return. If `DEFAULT`, return the
      * `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
@@ -704,19 +626,16 @@ public int getViewValue() {
      * 
* * .google.monitoring.v3.ServiceLevelObjective.View view = 2; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** - * - * *
      * View of the `ServiceLevelObjective` to return. If `DEFAULT`, return the
      * `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
@@ -725,21 +644,15 @@ public Builder setViewValue(int value) {
      * 
* * .google.monitoring.v3.ServiceLevelObjective.View view = 2; - * * @return The view. */ @java.lang.Override public com.google.monitoring.v3.ServiceLevelObjective.View getView() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.ServiceLevelObjective.View result = - com.google.monitoring.v3.ServiceLevelObjective.View.valueOf(view_); - return result == null - ? com.google.monitoring.v3.ServiceLevelObjective.View.UNRECOGNIZED - : result; + com.google.monitoring.v3.ServiceLevelObjective.View result = com.google.monitoring.v3.ServiceLevelObjective.View.valueOf(view_); + return result == null ? com.google.monitoring.v3.ServiceLevelObjective.View.UNRECOGNIZED : result; } /** - * - * *
      * View of the `ServiceLevelObjective` to return. If `DEFAULT`, return the
      * `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
@@ -748,7 +661,6 @@ public com.google.monitoring.v3.ServiceLevelObjective.View getView() {
      * 
* * .google.monitoring.v3.ServiceLevelObjective.View view = 2; - * * @param value The view to set. * @return This builder for chaining. */ @@ -756,14 +668,12 @@ public Builder setView(com.google.monitoring.v3.ServiceLevelObjective.View value if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * View of the `ServiceLevelObjective` to return. If `DEFAULT`, return the
      * `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
@@ -772,18 +682,17 @@ public Builder setView(com.google.monitoring.v3.ServiceLevelObjective.View value
      * 
* * .google.monitoring.v3.ServiceLevelObjective.View view = 2; - * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -793,12 +702,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.GetServiceLevelObjectiveRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.GetServiceLevelObjectiveRequest) private static final com.google.monitoring.v3.GetServiceLevelObjectiveRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.GetServiceLevelObjectiveRequest(); } @@ -807,16 +716,16 @@ public static com.google.monitoring.v3.GetServiceLevelObjectiveRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetServiceLevelObjectiveRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetServiceLevelObjectiveRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetServiceLevelObjectiveRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetServiceLevelObjectiveRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -831,4 +740,6 @@ public com.google.protobuf.Parser getParserForT public com.google.monitoring.v3.GetServiceLevelObjectiveRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceLevelObjectiveRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceLevelObjectiveRequestOrBuilder.java similarity index 64% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceLevelObjectiveRequestOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceLevelObjectiveRequestOrBuilder.java index ea7d080f..1406b02a 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceLevelObjectiveRequestOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceLevelObjectiveRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/service_service.proto package com.google.monitoring.v3; -public interface GetServiceLevelObjectiveRequestOrBuilder - extends +public interface GetServiceLevelObjectiveRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.GetServiceLevelObjectiveRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the `ServiceLevelObjective` to get. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. Resource name of the `ServiceLevelObjective` to get. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * View of the `ServiceLevelObjective` to return. If `DEFAULT`, return the
    * `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
@@ -65,13 +38,10 @@ public interface GetServiceLevelObjectiveRequestOrBuilder
    * 
* * .google.monitoring.v3.ServiceLevelObjective.View view = 2; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * View of the `ServiceLevelObjective` to return. If `DEFAULT`, return the
    * `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
@@ -80,7 +50,6 @@ public interface GetServiceLevelObjectiveRequestOrBuilder
    * 
* * .google.monitoring.v3.ServiceLevelObjective.View view = 2; - * * @return The view. */ com.google.monitoring.v3.ServiceLevelObjective.View getView(); diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceRequest.java similarity index 66% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceRequest.java index cd03b962..fdcd5baa 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/service_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `GetService` request.
  * 
* * Protobuf type {@code google.monitoring.v3.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.monitoring.v3.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() { name_ = ""; } @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; } - private GetServiceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,61 +53,53 @@ private GetServiceRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_GetServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_GetServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_GetServiceRequest_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_GetServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetServiceRequest.class, - com.google.monitoring.v3.GetServiceRequest.Builder.class); + com.google.monitoring.v3.GetServiceRequest.class, com.google.monitoring.v3.GetServiceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. Resource name of the `Service`. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -133,32 +108,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Resource name of the `Service`. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.GetServiceRequest)) { return super.equals(obj); } - com.google.monitoring.v3.GetServiceRequest other = - (com.google.monitoring.v3.GetServiceRequest) obj; + com.google.monitoring.v3.GetServiceRequest other = (com.google.monitoring.v3.GetServiceRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -230,127 +203,118 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.GetServiceRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.GetServiceRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.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.monitoring.v3.GetServiceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.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.monitoring.v3.GetServiceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.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.monitoring.v3.GetServiceRequest 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.monitoring.v3.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.monitoring.v3.GetServiceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.GetServiceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.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.monitoring.v3.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.monitoring.v3.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.monitoring.v3.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; } /** - * - * *
    * The `GetService` request.
    * 
* * Protobuf type {@code google.monitoring.v3.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.monitoring.v3.GetServiceRequest) com.google.monitoring.v3.GetServiceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_GetServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_GetServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_GetServiceRequest_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_GetServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetServiceRequest.class, - com.google.monitoring.v3.GetServiceRequest.Builder.class); + com.google.monitoring.v3.GetServiceRequest.class, com.google.monitoring.v3.GetServiceRequest.Builder.class); } // Construct using com.google.monitoring.v3.GetServiceRequest.newBuilder() @@ -358,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -376,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_GetServiceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_GetServiceRequest_descriptor; } @java.lang.Override @@ -397,8 +362,7 @@ public com.google.monitoring.v3.GetServiceRequest build() { @java.lang.Override public com.google.monitoring.v3.GetServiceRequest buildPartial() { - com.google.monitoring.v3.GetServiceRequest result = - new com.google.monitoring.v3.GetServiceRequest(this); + com.google.monitoring.v3.GetServiceRequest result = new com.google.monitoring.v3.GetServiceRequest(this); result.name_ = name_; onBuilt(); return result; @@ -408,39 +372,38 @@ public com.google.monitoring.v3.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.monitoring.v3.GetServiceRequest) { - return mergeFrom((com.google.monitoring.v3.GetServiceRequest) other); + return mergeFrom((com.google.monitoring.v3.GetServiceRequest)other); } else { super.mergeFrom(other); return this; @@ -484,23 +447,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. Resource name of the `Service`. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -509,24 +468,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Resource name of the `Service`. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -534,77 +490,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Resource name of the `Service`. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the `Service`. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the `Service`. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -614,12 +557,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.GetServiceRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.GetServiceRequest) private static final com.google.monitoring.v3.GetServiceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.GetServiceRequest(); } @@ -628,16 +571,16 @@ public static com.google.monitoring.v3.GetServiceRequest getDefaultInstance() { 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 { - return new GetServiceRequest(input, extensionRegistry); - } - }; + 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 { + return new GetServiceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -652,4 +595,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.GetServiceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceRequestOrBuilder.java new file mode 100644 index 00000000..3a518960 --- /dev/null +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/service_service.proto + +package com.google.monitoring.v3; + +public interface GetServiceRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.monitoring.v3.GetServiceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Resource name of the `Service`. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Resource name of the `Service`. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequest.java similarity index 65% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequest.java index 9801e213..390cdd36 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/uptime_service.proto package com.google.monitoring.v3; /** - * - * *
  * The protocol for the `GetUptimeCheckConfig` request.
  * 
* * Protobuf type {@code google.monitoring.v3.GetUptimeCheckConfigRequest} */ -public final class GetUptimeCheckConfigRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetUptimeCheckConfigRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.GetUptimeCheckConfigRequest) GetUptimeCheckConfigRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetUptimeCheckConfigRequest.newBuilder() to construct. private GetUptimeCheckConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetUptimeCheckConfigRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetUptimeCheckConfigRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetUptimeCheckConfigRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,61 +53,53 @@ private GetUptimeCheckConfigRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.UptimeServiceProto - .internal_static_google_monitoring_v3_GetUptimeCheckConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_GetUptimeCheckConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.UptimeServiceProto - .internal_static_google_monitoring_v3_GetUptimeCheckConfigRequest_fieldAccessorTable + return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_GetUptimeCheckConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetUptimeCheckConfigRequest.class, - com.google.monitoring.v3.GetUptimeCheckConfigRequest.Builder.class); + com.google.monitoring.v3.GetUptimeCheckConfigRequest.class, com.google.monitoring.v3.GetUptimeCheckConfigRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The Uptime check configuration to retrieve. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -133,32 +108,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The Uptime check configuration to retrieve. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.GetUptimeCheckConfigRequest)) { return super.equals(obj); } - com.google.monitoring.v3.GetUptimeCheckConfigRequest other = - (com.google.monitoring.v3.GetUptimeCheckConfigRequest) obj; + com.google.monitoring.v3.GetUptimeCheckConfigRequest other = (com.google.monitoring.v3.GetUptimeCheckConfigRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,126 +204,117 @@ public int hashCode() { } public static com.google.monitoring.v3.GetUptimeCheckConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.GetUptimeCheckConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.GetUptimeCheckConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.GetUptimeCheckConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.GetUptimeCheckConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.GetUptimeCheckConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.GetUptimeCheckConfigRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.GetUptimeCheckConfigRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.GetUptimeCheckConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.GetUptimeCheckConfigRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.GetUptimeCheckConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.GetUptimeCheckConfigRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.GetUptimeCheckConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.GetUptimeCheckConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.GetUptimeCheckConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 protocol for the `GetUptimeCheckConfig` request.
    * 
* * Protobuf type {@code google.monitoring.v3.GetUptimeCheckConfigRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.GetUptimeCheckConfigRequest) com.google.monitoring.v3.GetUptimeCheckConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.UptimeServiceProto - .internal_static_google_monitoring_v3_GetUptimeCheckConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_GetUptimeCheckConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.UptimeServiceProto - .internal_static_google_monitoring_v3_GetUptimeCheckConfigRequest_fieldAccessorTable + return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_GetUptimeCheckConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetUptimeCheckConfigRequest.class, - com.google.monitoring.v3.GetUptimeCheckConfigRequest.Builder.class); + com.google.monitoring.v3.GetUptimeCheckConfigRequest.class, com.google.monitoring.v3.GetUptimeCheckConfigRequest.Builder.class); } // Construct using com.google.monitoring.v3.GetUptimeCheckConfigRequest.newBuilder() @@ -358,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -376,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.UptimeServiceProto - .internal_static_google_monitoring_v3_GetUptimeCheckConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_GetUptimeCheckConfigRequest_descriptor; } @java.lang.Override @@ -397,8 +362,7 @@ public com.google.monitoring.v3.GetUptimeCheckConfigRequest build() { @java.lang.Override public com.google.monitoring.v3.GetUptimeCheckConfigRequest buildPartial() { - com.google.monitoring.v3.GetUptimeCheckConfigRequest result = - new com.google.monitoring.v3.GetUptimeCheckConfigRequest(this); + com.google.monitoring.v3.GetUptimeCheckConfigRequest result = new com.google.monitoring.v3.GetUptimeCheckConfigRequest(this); result.name_ = name_; onBuilt(); return result; @@ -408,39 +372,38 @@ public com.google.monitoring.v3.GetUptimeCheckConfigRequest 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.monitoring.v3.GetUptimeCheckConfigRequest) { - return mergeFrom((com.google.monitoring.v3.GetUptimeCheckConfigRequest) other); + return mergeFrom((com.google.monitoring.v3.GetUptimeCheckConfigRequest)other); } else { super.mergeFrom(other); return this; @@ -448,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.GetUptimeCheckConfigRequest other) { - if (other == com.google.monitoring.v3.GetUptimeCheckConfigRequest.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.GetUptimeCheckConfigRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -473,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.GetUptimeCheckConfigRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.GetUptimeCheckConfigRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -486,23 +447,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The Uptime check configuration to retrieve. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -511,24 +468,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The Uptime check configuration to retrieve. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -536,77 +490,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The Uptime check configuration to retrieve. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The Uptime check configuration to retrieve. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The Uptime check configuration to retrieve. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -616,12 +557,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.GetUptimeCheckConfigRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.GetUptimeCheckConfigRequest) private static final com.google.monitoring.v3.GetUptimeCheckConfigRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.GetUptimeCheckConfigRequest(); } @@ -630,16 +571,16 @@ public static com.google.monitoring.v3.GetUptimeCheckConfigRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetUptimeCheckConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetUptimeCheckConfigRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetUptimeCheckConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetUptimeCheckConfigRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -654,4 +595,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.monitoring.v3.GetUptimeCheckConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequestOrBuilder.java new file mode 100644 index 00000000..b8a3fc9d --- /dev/null +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/uptime_service.proto + +package com.google.monitoring.v3; + +public interface GetUptimeCheckConfigRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.monitoring.v3.GetUptimeCheckConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The Uptime check configuration to retrieve. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The Uptime check configuration to retrieve. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Group.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Group.java similarity index 76% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Group.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Group.java index 5194bc26..6613d742 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Group.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Group.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/monitoring/v3/group.proto package com.google.monitoring.v3; /** - * - * *
  * The description of a dynamic collection of monitored resources. Each group
  * has a filter that is matched against monitored resources and their associated
@@ -49,16 +32,15 @@
  *
  * Protobuf type {@code google.monitoring.v3.Group}
  */
-public final class Group extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Group extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.Group)
     GroupOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Group.newBuilder() to construct.
   private Group(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Group() {
     name_ = "";
     displayName_ = "";
@@ -68,15 +50,16 @@ private Group() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Group();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Group(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -95,68 +78,63 @@ private Group(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              displayName_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            displayName_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              parentName_ = s;
-              break;
-            }
-          case 42:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            parentName_ = s;
+            break;
+          }
+          case 42: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              filter_ = s;
-              break;
-            }
-          case 48:
-            {
-              isCluster_ = input.readBool();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            filter_ = s;
+            break;
+          }
+          case 48: {
+
+            isCluster_ = input.readBool();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.monitoring.v3.GroupProto
-        .internal_static_google_monitoring_v3_Group_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.monitoring.v3.GroupProto.internal_static_google_monitoring_v3_Group_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.monitoring.v3.GroupProto
-        .internal_static_google_monitoring_v3_Group_fieldAccessorTable
+    return com.google.monitoring.v3.GroupProto.internal_static_google_monitoring_v3_Group_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.monitoring.v3.Group.class, com.google.monitoring.v3.Group.Builder.class);
   }
@@ -164,8 +142,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Output only. The name of this group. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -175,7 +151,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -184,15 +159,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The name of this group. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -202,15 +176,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -221,14 +196,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * A user-assigned name for this group, used only for display purposes.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -237,29 +209,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * A user-assigned name for this group, used only for display purposes.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -270,8 +242,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int PARENT_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object parentName_; /** - * - * *
    * The name of the group's parent, if it has one. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -279,7 +249,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * string parent_name = 3; - * * @return The parentName. */ @java.lang.Override @@ -288,15 +257,14 @@ public java.lang.String getParentName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentName_ = s; return s; } } /** - * - * *
    * The name of the group's parent, if it has one. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -304,15 +272,16 @@ public java.lang.String getParentName() {
    * 
* * string parent_name = 3; - * * @return The bytes for parentName. */ @java.lang.Override - public com.google.protobuf.ByteString getParentNameBytes() { + public com.google.protobuf.ByteString + getParentNameBytes() { java.lang.Object ref = parentName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parentName_ = b; return b; } else { @@ -323,15 +292,12 @@ public com.google.protobuf.ByteString getParentNameBytes() { public static final int FILTER_FIELD_NUMBER = 5; private volatile java.lang.Object filter_; /** - * - * *
    * The filter used to determine which monitored resources belong to this
    * group.
    * 
* * string filter = 5; - * * @return The filter. */ @java.lang.Override @@ -340,30 +306,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * The filter used to determine which monitored resources belong to this
    * group.
    * 
* * string filter = 5; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -374,15 +340,12 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int IS_CLUSTER_FIELD_NUMBER = 6; private boolean isCluster_; /** - * - * *
    * If true, the members of this group are considered to be a cluster.
    * The system can perform additional analysis on groups that are clusters.
    * 
* * bool is_cluster = 6; - * * @return The isCluster. */ @java.lang.Override @@ -391,7 +354,6 @@ public boolean getIsCluster() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -403,7 +365,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_); } @@ -441,7 +404,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, filter_); } if (isCluster_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, isCluster_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, isCluster_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -451,18 +415,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.monitoring.v3.Group)) { return super.equals(obj); } com.google.monitoring.v3.Group other = (com.google.monitoring.v3.Group) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getParentName().equals(other.getParentName())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getIsCluster() != other.getIsCluster()) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getParentName() + .equals(other.getParentName())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getIsCluster() + != other.getIsCluster()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -483,109 +452,104 @@ public int hashCode() { hash = (37 * hash) + FILTER_FIELD_NUMBER; hash = (53 * hash) + getFilter().hashCode(); hash = (37 * hash) + IS_CLUSTER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsCluster()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsCluster()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.monitoring.v3.Group parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.Group parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.Group parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.Group parseFrom(com.google.protobuf.ByteString data) + public static com.google.monitoring.v3.Group parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.Group parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.Group parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.Group parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.Group 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.monitoring.v3.Group parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.Group parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.Group parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.Group parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.monitoring.v3.Group parseFrom( + com.google.protobuf.CodedInputStream 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.monitoring.v3.Group parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.Group prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 description of a dynamic collection of monitored resources. Each group
    * has a filter that is matched against monitored resources and their associated
@@ -614,20 +578,19 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.monitoring.v3.Group}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.Group)
       com.google.monitoring.v3.GroupOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.monitoring.v3.GroupProto
-          .internal_static_google_monitoring_v3_Group_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.monitoring.v3.GroupProto.internal_static_google_monitoring_v3_Group_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.GroupProto
-          .internal_static_google_monitoring_v3_Group_fieldAccessorTable
+      return com.google.monitoring.v3.GroupProto.internal_static_google_monitoring_v3_Group_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.monitoring.v3.Group.class, com.google.monitoring.v3.Group.Builder.class);
     }
@@ -637,15 +600,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -663,9 +627,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.monitoring.v3.GroupProto
-          .internal_static_google_monitoring_v3_Group_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.monitoring.v3.GroupProto.internal_static_google_monitoring_v3_Group_descriptor;
     }
 
     @java.lang.Override
@@ -698,39 +662,38 @@ public com.google.monitoring.v3.Group 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.monitoring.v3.Group) {
-        return mergeFrom((com.google.monitoring.v3.Group) other);
+        return mergeFrom((com.google.monitoring.v3.Group)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -789,8 +752,6 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The name of this group. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -800,13 +761,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -815,8 +776,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The name of this group. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -826,14 +785,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -841,8 +801,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The name of this group. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -852,22 +810,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The name of this group. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -877,18 +833,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The name of this group. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -898,16 +851,16 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -915,20 +868,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * A user-assigned name for this group, used only for display purposes.
      * 
* * string display_name = 2; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -937,21 +888,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * A user-assigned name for this group, used only for display purposes.
      * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -959,61 +909,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * A user-assigned name for this group, used only for display purposes.
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * A user-assigned name for this group, used only for display purposes.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * A user-assigned name for this group, used only for display purposes.
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1021,8 +964,6 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object parentName_ = ""; /** - * - * *
      * The name of the group's parent, if it has one. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1030,13 +971,13 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string parent_name = 3; - * * @return The parentName. */ public java.lang.String getParentName() { java.lang.Object ref = parentName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentName_ = s; return s; @@ -1045,8 +986,6 @@ public java.lang.String getParentName() { } } /** - * - * *
      * The name of the group's parent, if it has one. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1054,14 +993,15 @@ public java.lang.String getParentName() {
      * 
* * string parent_name = 3; - * * @return The bytes for parentName. */ - public com.google.protobuf.ByteString getParentNameBytes() { + public com.google.protobuf.ByteString + getParentNameBytes() { java.lang.Object ref = parentName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parentName_ = b; return b; } else { @@ -1069,8 +1009,6 @@ public com.google.protobuf.ByteString getParentNameBytes() { } } /** - * - * *
      * The name of the group's parent, if it has one. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1078,22 +1016,20 @@ public com.google.protobuf.ByteString getParentNameBytes() {
      * 
* * string parent_name = 3; - * * @param value The parentName to set. * @return This builder for chaining. */ - public Builder setParentName(java.lang.String value) { + public Builder setParentName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parentName_ = value; onChanged(); return this; } /** - * - * *
      * The name of the group's parent, if it has one. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1101,18 +1037,15 @@ public Builder setParentName(java.lang.String value) {
      * 
* * string parent_name = 3; - * * @return This builder for chaining. */ public Builder clearParentName() { - + parentName_ = getDefaultInstance().getParentName(); onChanged(); return this; } /** - * - * *
      * The name of the group's parent, if it has one. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1120,16 +1053,16 @@ public Builder clearParentName() {
      * 
* * string parent_name = 3; - * * @param value The bytes for parentName to set. * @return This builder for chaining. */ - public Builder setParentNameBytes(com.google.protobuf.ByteString value) { + public Builder setParentNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parentName_ = value; onChanged(); return this; @@ -1137,21 +1070,19 @@ public Builder setParentNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * The filter used to determine which monitored resources belong to this
      * group.
      * 
* * string filter = 5; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1160,22 +1091,21 @@ public java.lang.String getFilter() { } } /** - * - * *
      * The filter used to determine which monitored resources belong to this
      * group.
      * 
* * string filter = 5; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1183,80 +1113,70 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * The filter used to determine which monitored resources belong to this
      * group.
      * 
* * string filter = 5; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * The filter used to determine which monitored resources belong to this
      * group.
      * 
* * string filter = 5; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * The filter used to determine which monitored resources belong to this
      * group.
      * 
* * string filter = 5; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private boolean isCluster_; + private boolean isCluster_ ; /** - * - * *
      * If true, the members of this group are considered to be a cluster.
      * The system can perform additional analysis on groups that are clusters.
      * 
* * bool is_cluster = 6; - * * @return The isCluster. */ @java.lang.Override @@ -1264,45 +1184,39 @@ public boolean getIsCluster() { return isCluster_; } /** - * - * *
      * If true, the members of this group are considered to be a cluster.
      * The system can perform additional analysis on groups that are clusters.
      * 
* * bool is_cluster = 6; - * * @param value The isCluster to set. * @return This builder for chaining. */ public Builder setIsCluster(boolean value) { - + isCluster_ = value; onChanged(); return this; } /** - * - * *
      * If true, the members of this group are considered to be a cluster.
      * The system can perform additional analysis on groups that are clusters.
      * 
* * bool is_cluster = 6; - * * @return This builder for chaining. */ public Builder clearIsCluster() { - + isCluster_ = 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); } @@ -1312,12 +1226,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.Group) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.Group) private static final com.google.monitoring.v3.Group DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.Group(); } @@ -1326,16 +1240,16 @@ public static com.google.monitoring.v3.Group getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Group parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Group(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Group parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Group(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1350,4 +1264,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.Group getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupName.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupName.java similarity index 100% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupName.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupName.java diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupOrBuilder.java similarity index 74% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupOrBuilder.java index 86948e1d..9405b652 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupOrBuilder.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/monitoring/v3/group.proto package com.google.monitoring.v3; -public interface GroupOrBuilder - extends +public interface GroupOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.Group) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The name of this group. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -35,13 +17,10 @@ public interface GroupOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The name of this group. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -51,39 +30,32 @@ public interface GroupOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * A user-assigned name for this group, used only for display purposes.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * A user-assigned name for this group, used only for display purposes.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * The name of the group's parent, if it has one. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -91,13 +63,10 @@ public interface GroupOrBuilder
    * 
* * string parent_name = 3; - * * @return The parentName. */ java.lang.String getParentName(); /** - * - * *
    * The name of the group's parent, if it has one. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -105,48 +74,40 @@ public interface GroupOrBuilder
    * 
* * string parent_name = 3; - * * @return The bytes for parentName. */ - com.google.protobuf.ByteString getParentNameBytes(); + com.google.protobuf.ByteString + getParentNameBytes(); /** - * - * *
    * The filter used to determine which monitored resources belong to this
    * group.
    * 
* * string filter = 5; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * The filter used to determine which monitored resources belong to this
    * group.
    * 
* * string filter = 5; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * If true, the members of this group are considered to be a cluster.
    * The system can perform additional analysis on groups that are clusters.
    * 
* * bool is_cluster = 6; - * * @return The isCluster. */ boolean getIsCluster(); diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupProto.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupProto.java new file mode 100644 index 00000000..30736f0f --- /dev/null +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupProto.java @@ -0,0 +1,66 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/group.proto + +package com.google.monitoring.v3; + +public final class GroupProto { + private GroupProto() {} + 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_monitoring_v3_Group_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_Group_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/monitoring/v3/group.proto\022\024goog" + + "le.monitoring.v3\032\031google/api/resource.pr" + + "oto\"\200\002\n\005Group\022\014\n\004name\030\001 \001(\t\022\024\n\014display_n" + + "ame\030\002 \001(\t\022\023\n\013parent_name\030\003 \001(\t\022\016\n\006filter" + + "\030\005 \001(\t\022\022\n\nis_cluster\030\006 \001(\010:\231\001\352A\225\001\n\037monit" + + "oring.googleapis.com/Group\022!projects/{pr" + + "oject}/groups/{group}\022+organizations/{or" + + "ganization}/groups/{group}\022\037folders/{fol" + + "der}/groups/{group}\022\001*B\302\001\n\030com.google.mo" + + "nitoring.v3B\nGroupProtoP\001Z>google.golang" + + ".org/genproto/googleapis/monitoring/v3;m" + + "onitoring\252\002\032Google.Cloud.Monitoring.V3\312\002" + + "\032Google\\Cloud\\Monitoring\\V3\352\002\035Google::Cl" + + "oud::Monitoring::V3b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + }); + internal_static_google_monitoring_v3_Group_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_monitoring_v3_Group_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_Group_descriptor, + new java.lang.String[] { "Name", "DisplayName", "ParentName", "Filter", "IsCluster", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupResourceType.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupResourceType.java similarity index 70% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupResourceType.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupResourceType.java index 8e582398..0b0d242b 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupResourceType.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupResourceType.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/monitoring/v3/uptime.proto package com.google.monitoring.v3; /** - * - * *
  * The supported resource types that can be used as values of
  * `group_resource.resource_type`.
@@ -31,10 +14,9 @@
  *
  * Protobuf enum {@code google.monitoring.v3.GroupResourceType}
  */
-public enum GroupResourceType implements com.google.protobuf.ProtocolMessageEnum {
+public enum GroupResourceType
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Default value (not valid).
    * 
@@ -43,8 +25,6 @@ public enum GroupResourceType implements com.google.protobuf.ProtocolMessageEnum */ RESOURCE_TYPE_UNSPECIFIED(0), /** - * - * *
    * A group of instances from Google Cloud Platform (GCP) or
    * Amazon Web Services (AWS).
@@ -54,8 +34,6 @@ public enum GroupResourceType implements com.google.protobuf.ProtocolMessageEnum
    */
   INSTANCE(1),
   /**
-   *
-   *
    * 
    * A group of Amazon ELB load balancers.
    * 
@@ -67,8 +45,6 @@ public enum GroupResourceType implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
    * Default value (not valid).
    * 
@@ -77,8 +53,6 @@ public enum GroupResourceType implements com.google.protobuf.ProtocolMessageEnum */ public static final int RESOURCE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * A group of instances from Google Cloud Platform (GCP) or
    * Amazon Web Services (AWS).
@@ -88,8 +62,6 @@ public enum GroupResourceType implements com.google.protobuf.ProtocolMessageEnum
    */
   public static final int INSTANCE_VALUE = 1;
   /**
-   *
-   *
    * 
    * A group of Amazon ELB load balancers.
    * 
@@ -98,6 +70,7 @@ public enum GroupResourceType implements com.google.protobuf.ProtocolMessageEnum */ public static final int AWS_ELB_LOAD_BALANCER_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -122,42 +95,39 @@ public static GroupResourceType valueOf(int value) { */ public static GroupResourceType forNumber(int value) { switch (value) { - case 0: - return RESOURCE_TYPE_UNSPECIFIED; - case 1: - return INSTANCE; - case 2: - return AWS_ELB_LOAD_BALANCER; - default: - return null; + case 0: return RESOURCE_TYPE_UNSPECIFIED; + case 1: return INSTANCE; + case 2: return AWS_ELB_LOAD_BALANCER; + 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 GroupResourceType findValueByNumber(int number) { - return GroupResourceType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + GroupResourceType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public GroupResourceType findValueByNumber(int number) { + return GroupResourceType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.monitoring.v3.UptimeProto.getDescriptor().getEnumTypes().get(1); } @@ -166,7 +136,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static GroupResourceType 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; @@ -182,3 +153,4 @@ private GroupResourceType(int value) { // @@protoc_insertion_point(enum_scope:google.monitoring.v3.GroupResourceType) } + diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupServiceProto.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupServiceProto.java new file mode 100644 index 00000000..d5825eeb --- /dev/null +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupServiceProto.java @@ -0,0 +1,217 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/group_service.proto + +package com.google.monitoring.v3; + +public final class GroupServiceProto { + private GroupServiceProto() {} + 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_monitoring_v3_ListGroupsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_ListGroupsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_ListGroupsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_ListGroupsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_GetGroupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_GetGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_CreateGroupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_CreateGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_UpdateGroupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_UpdateGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_DeleteGroupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_DeleteGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_ListGroupMembersRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_ListGroupMembersRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_ListGroupMembersResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_ListGroupMembersResponse_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/monitoring/v3/group_service.pro" + + "to\022\024google.monitoring.v3\032\034google/api/ann" + + "otations.proto\032\027google/api/client.proto\032" + + "\037google/api/field_behavior.proto\032#google" + + "/api/monitored_resource.proto\032\031google/ap" + + "i/resource.proto\032!google/monitoring/v3/c" + + "ommon.proto\032 google/monitoring/v3/group." + + "proto\032\033google/protobuf/empty.proto\"\310\002\n\021L" + + "istGroupsRequest\0225\n\004name\030\007 \001(\tB\'\340A\002\372A!\022\037" + + "monitoring.googleapis.com/Group\022A\n\021child" + + "ren_of_group\030\002 \001(\tB$\372A!\n\037monitoring.goog" + + "leapis.com/GroupH\000\022B\n\022ancestors_of_group" + + "\030\003 \001(\tB$\372A!\n\037monitoring.googleapis.com/G" + + "roupH\000\022D\n\024descendants_of_group\030\004 \001(\tB$\372A" + + "!\n\037monitoring.googleapis.com/GroupH\000\022\021\n\t" + + "page_size\030\005 \001(\005\022\022\n\npage_token\030\006 \001(\tB\010\n\006f" + + "ilter\"Y\n\022ListGroupsResponse\022*\n\005group\030\001 \003" + + "(\0132\033.google.monitoring.v3.Group\022\027\n\017next_" + + "page_token\030\002 \001(\t\"H\n\017GetGroupRequest\0225\n\004n" + + "ame\030\003 \001(\tB\'\340A\002\372A!\n\037monitoring.googleapis" + + ".com/Group\"\223\001\n\022CreateGroupRequest\0225\n\004nam" + + "e\030\004 \001(\tB\'\340A\002\372A!\022\037monitoring.googleapis.c" + + "om/Group\022/\n\005group\030\002 \001(\0132\033.google.monitor" + + "ing.v3.GroupB\003\340A\002\022\025\n\rvalidate_only\030\003 \001(\010" + + "\"\\\n\022UpdateGroupRequest\022/\n\005group\030\002 \001(\0132\033." + + "google.monitoring.v3.GroupB\003\340A\002\022\025\n\rvalid" + + "ate_only\030\003 \001(\010\"^\n\022DeleteGroupRequest\0225\n\004" + + "name\030\003 \001(\tB\'\340A\002\372A!\n\037monitoring.googleapi" + + "s.com/Group\022\021\n\trecursive\030\004 \001(\010\"\275\001\n\027ListG" + + "roupMembersRequest\0225\n\004name\030\007 \001(\tB\'\340A\002\372A!" + + "\n\037monitoring.googleapis.com/Group\022\021\n\tpag" + + "e_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\022\016\n\006filt" + + "er\030\005 \001(\t\0224\n\010interval\030\006 \001(\0132\".google.moni" + + "toring.v3.TimeInterval\"w\n\030ListGroupMembe" + + "rsResponse\022.\n\007members\030\001 \003(\0132\035.google.api" + + ".MonitoredResource\022\027\n\017next_page_token\030\002 " + + "\001(\t\022\022\n\ntotal_size\030\003 \001(\0052\230\010\n\014GroupService" + + "\022\214\001\n\nListGroups\022\'.google.monitoring.v3.L" + + "istGroupsRequest\032(.google.monitoring.v3." + + "ListGroupsResponse\"+\202\323\344\223\002\036\022\034/v3/{name=pr" + + "ojects/*}/groups\332A\004name\022}\n\010GetGroup\022%.go" + + "ogle.monitoring.v3.GetGroupRequest\032\033.goo" + + "gle.monitoring.v3.Group\"-\202\323\344\223\002 \022\036/v3/{na" + + "me=projects/*/groups/*}\332A\004name\022\216\001\n\013Creat" + + "eGroup\022(.google.monitoring.v3.CreateGrou" + + "pRequest\032\033.google.monitoring.v3.Group\"8\202" + + "\323\344\223\002%\"\034/v3/{name=projects/*}/groups:\005gro" + + "up\332A\nname,group\022\221\001\n\013UpdateGroup\022(.google" + + ".monitoring.v3.UpdateGroupRequest\032\033.goog" + + "le.monitoring.v3.Group\";\202\323\344\223\002-\032$/v3/{gro" + + "up.name=projects/*/groups/*}:\005group\332A\005gr" + + "oup\022~\n\013DeleteGroup\022(.google.monitoring.v" + + "3.DeleteGroupRequest\032\026.google.protobuf.E" + + "mpty\"-\202\323\344\223\002 *\036/v3/{name=projects/*/group" + + "s/*}\332A\004name\022\250\001\n\020ListGroupMembers\022-.googl" + + "e.monitoring.v3.ListGroupMembersRequest\032" + + "..google.monitoring.v3.ListGroupMembersR" + + "esponse\"5\202\323\344\223\002(\022&/v3/{name=projects/*/gr" + + "oups/*}/members\332A\004name\032\251\001\312A\031monitoring.g" + + "oogleapis.com\322A\211\001https://www.googleapis." + + "com/auth/cloud-platform,https://www.goog" + + "leapis.com/auth/monitoring,https://www.g" + + "oogleapis.com/auth/monitoring.readB\311\001\n\030c" + + "om.google.monitoring.v3B\021GroupServicePro" + + "toP\001Z>google.golang.org/genproto/googlea" + + "pis/monitoring/v3;monitoring\252\002\032Google.Cl" + + "oud.Monitoring.V3\312\002\032Google\\Cloud\\Monitor" + + "ing\\V3\352\002\035Google::Cloud::Monitoring::V3b\006" + + "proto3" + }; + 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.MonitoredResourceProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.monitoring.v3.CommonProto.getDescriptor(), + com.google.monitoring.v3.GroupProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + }); + internal_static_google_monitoring_v3_ListGroupsRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_monitoring_v3_ListGroupsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_ListGroupsRequest_descriptor, + new java.lang.String[] { "Name", "ChildrenOfGroup", "AncestorsOfGroup", "DescendantsOfGroup", "PageSize", "PageToken", "Filter", }); + internal_static_google_monitoring_v3_ListGroupsResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_monitoring_v3_ListGroupsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_ListGroupsResponse_descriptor, + new java.lang.String[] { "Group", "NextPageToken", }); + internal_static_google_monitoring_v3_GetGroupRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_monitoring_v3_GetGroupRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_GetGroupRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_monitoring_v3_CreateGroupRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_monitoring_v3_CreateGroupRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_CreateGroupRequest_descriptor, + new java.lang.String[] { "Name", "Group", "ValidateOnly", }); + internal_static_google_monitoring_v3_UpdateGroupRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_monitoring_v3_UpdateGroupRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_UpdateGroupRequest_descriptor, + new java.lang.String[] { "Group", "ValidateOnly", }); + internal_static_google_monitoring_v3_DeleteGroupRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_monitoring_v3_DeleteGroupRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_DeleteGroupRequest_descriptor, + new java.lang.String[] { "Name", "Recursive", }); + internal_static_google_monitoring_v3_ListGroupMembersRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_monitoring_v3_ListGroupMembersRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_ListGroupMembersRequest_descriptor, + new java.lang.String[] { "Name", "PageSize", "PageToken", "Filter", "Interval", }); + internal_static_google_monitoring_v3_ListGroupMembersResponse_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_monitoring_v3_ListGroupMembersResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_ListGroupMembersResponse_descriptor, + new java.lang.String[] { "Members", "NextPageToken", "TotalSize", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.MonitoredResourceProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.monitoring.v3.CommonProto.getDescriptor(); + com.google.monitoring.v3.GroupProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/InternalChecker.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/InternalChecker.java similarity index 75% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/InternalChecker.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/InternalChecker.java index cfd6e230..65ed9030 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/InternalChecker.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/InternalChecker.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/monitoring/v3/uptime.proto package com.google.monitoring.v3; /** - * - * *
  * An internal checker allows Uptime checks to run on private/internal GCP
  * resources.
@@ -28,17 +11,15 @@
  *
  * Protobuf type {@code google.monitoring.v3.InternalChecker}
  */
-@java.lang.Deprecated
-public final class InternalChecker extends com.google.protobuf.GeneratedMessageV3
-    implements
+@java.lang.Deprecated public final class InternalChecker extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.InternalChecker)
     InternalCheckerOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use InternalChecker.newBuilder() to construct.
   private InternalChecker(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private InternalChecker() {
     name_ = "";
     displayName_ = "";
@@ -50,15 +31,16 @@ private InternalChecker() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new InternalChecker();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private InternalChecker(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -77,95 +59,84 @@ private InternalChecker(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              displayName_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            displayName_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              network_ = s;
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            network_ = s;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              gcpZone_ = s;
-              break;
-            }
-          case 50:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            gcpZone_ = s;
+            break;
+          }
+          case 50: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              peerProjectId_ = s;
-              break;
-            }
-          case 56:
-            {
-              int rawValue = input.readEnum();
+            peerProjectId_ = s;
+            break;
+          }
+          case 56: {
+            int rawValue = input.readEnum();
 
-              state_ = rawValue;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            state_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.monitoring.v3.UptimeProto
-        .internal_static_google_monitoring_v3_InternalChecker_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_InternalChecker_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.monitoring.v3.UptimeProto
-        .internal_static_google_monitoring_v3_InternalChecker_fieldAccessorTable
+    return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_InternalChecker_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.InternalChecker.class,
-            com.google.monitoring.v3.InternalChecker.Builder.class);
+            com.google.monitoring.v3.InternalChecker.class, com.google.monitoring.v3.InternalChecker.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Operational states for an internal checker.
    * 
* * Protobuf enum {@code google.monitoring.v3.InternalChecker.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * An internal checker should never be in the unspecified state.
      * 
@@ -174,8 +145,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ UNSPECIFIED(0), /** - * - * *
      * The checker is being created, provisioned, and configured. A checker in
      * this state can be returned by `ListInternalCheckers` or
@@ -188,8 +157,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     CREATING(1),
     /**
-     *
-     *
      * 
      * The checker is running and available for use. A checker in this state
      * can be returned by `ListInternalCheckers` or `GetInternalChecker` as
@@ -207,8 +174,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * An internal checker should never be in the unspecified state.
      * 
@@ -217,8 +182,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNSPECIFIED_VALUE = 0; /** - * - * *
      * The checker is being created, provisioned, and configured. A checker in
      * this state can be returned by `ListInternalCheckers` or
@@ -231,8 +194,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CREATING_VALUE = 1;
     /**
-     *
-     *
      * 
      * The checker is running and available for use. A checker in this state
      * can be returned by `ListInternalCheckers` or `GetInternalChecker` as
@@ -247,6 +208,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RUNNING_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -271,49 +233,49 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return UNSPECIFIED;
-        case 1:
-          return CREATING;
-        case 2:
-          return RUNNING;
-        default:
-          return null;
+        case 0: return UNSPECIFIED;
+        case 1: return CREATING;
+        case 2: return RUNNING;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.monitoring.v3.InternalChecker.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -333,8 +295,6 @@ private State(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * A unique resource name for this InternalChecker. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID]
@@ -343,7 +303,6 @@ private State(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -352,15 +311,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * A unique resource name for this InternalChecker. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID]
@@ -369,15 +327,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -388,8 +347,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * The checker's human-readable name. The display name
    * should be unique within a Stackdriver Workspace in order to make it easier
@@ -397,7 +354,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -406,15 +362,14 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * The checker's human-readable name. The display name
    * should be unique within a Stackdriver Workspace in order to make it easier
@@ -422,15 +377,16 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -441,15 +397,12 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int NETWORK_FIELD_NUMBER = 3; private volatile java.lang.Object network_; /** - * - * *
    * The [GCP VPC network](https://cloud.google.com/vpc/docs/vpc) where the
    * internal resource lives (ex: "default").
    * 
* * string network = 3; - * * @return The network. */ @java.lang.Override @@ -458,30 +411,30 @@ public java.lang.String getNetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; } } /** - * - * *
    * The [GCP VPC network](https://cloud.google.com/vpc/docs/vpc) where the
    * internal resource lives (ex: "default").
    * 
* * string network = 3; - * * @return The bytes for network. */ @java.lang.Override - public com.google.protobuf.ByteString getNetworkBytes() { + public com.google.protobuf.ByteString + getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); network_ = b; return b; } else { @@ -492,15 +445,12 @@ public com.google.protobuf.ByteString getNetworkBytes() { public static final int GCP_ZONE_FIELD_NUMBER = 4; private volatile java.lang.Object gcpZone_; /** - * - * *
    * The GCP zone the Uptime check should egress from. Only respected for
    * internal Uptime checks, where internal_network is specified.
    * 
* * string gcp_zone = 4; - * * @return The gcpZone. */ @java.lang.Override @@ -509,30 +459,30 @@ public java.lang.String getGcpZone() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gcpZone_ = s; return s; } } /** - * - * *
    * The GCP zone the Uptime check should egress from. Only respected for
    * internal Uptime checks, where internal_network is specified.
    * 
* * string gcp_zone = 4; - * * @return The bytes for gcpZone. */ @java.lang.Override - public com.google.protobuf.ByteString getGcpZoneBytes() { + public com.google.protobuf.ByteString + getGcpZoneBytes() { java.lang.Object ref = gcpZone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); gcpZone_ = b; return b; } else { @@ -543,15 +493,12 @@ public com.google.protobuf.ByteString getGcpZoneBytes() { public static final int PEER_PROJECT_ID_FIELD_NUMBER = 6; private volatile java.lang.Object peerProjectId_; /** - * - * *
    * The GCP project ID where the internal checker lives. Not necessary
    * the same as the Workspace project.
    * 
* * string peer_project_id = 6; - * * @return The peerProjectId. */ @java.lang.Override @@ -560,30 +507,30 @@ public java.lang.String getPeerProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); peerProjectId_ = s; return s; } } /** - * - * *
    * The GCP project ID where the internal checker lives. Not necessary
    * the same as the Workspace project.
    * 
* * string peer_project_id = 6; - * * @return The bytes for peerProjectId. */ @java.lang.Override - public com.google.protobuf.ByteString getPeerProjectIdBytes() { + public com.google.protobuf.ByteString + getPeerProjectIdBytes() { java.lang.Object ref = peerProjectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); peerProjectId_ = b; return b; } else { @@ -594,41 +541,31 @@ public com.google.protobuf.ByteString getPeerProjectIdBytes() { public static final int STATE_FIELD_NUMBER = 7; private int state_; /** - * - * *
    * The current operational state of the internal checker.
    * 
* * .google.monitoring.v3.InternalChecker.State state = 7; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * The current operational state of the internal checker.
    * 
* * .google.monitoring.v3.InternalChecker.State state = 7; - * * @return The state. */ - @java.lang.Override - public com.google.monitoring.v3.InternalChecker.State getState() { + @java.lang.Override public com.google.monitoring.v3.InternalChecker.State getState() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.InternalChecker.State result = - com.google.monitoring.v3.InternalChecker.State.valueOf(state_); + com.google.monitoring.v3.InternalChecker.State result = com.google.monitoring.v3.InternalChecker.State.valueOf(state_); return result == null ? com.google.monitoring.v3.InternalChecker.State.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -640,7 +577,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_); } @@ -684,7 +622,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, peerProjectId_); } if (state_ != com.google.monitoring.v3.InternalChecker.State.UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, state_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -694,18 +633,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.monitoring.v3.InternalChecker)) { return super.equals(obj); } com.google.monitoring.v3.InternalChecker other = (com.google.monitoring.v3.InternalChecker) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getNetwork().equals(other.getNetwork())) return false; - if (!getGcpZone().equals(other.getGcpZone())) return false; - if (!getPeerProjectId().equals(other.getPeerProjectId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getNetwork() + .equals(other.getNetwork())) return false; + if (!getGcpZone() + .equals(other.getGcpZone())) return false; + if (!getPeerProjectId() + .equals(other.getPeerProjectId())) return false; if (state_ != other.state_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -735,104 +679,97 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.InternalChecker parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.InternalChecker parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.InternalChecker parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.InternalChecker parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.InternalChecker parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.InternalChecker parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.InternalChecker parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.InternalChecker 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.monitoring.v3.InternalChecker parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.InternalChecker parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.InternalChecker parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.InternalChecker parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.InternalChecker parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.InternalChecker parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.InternalChecker prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * An internal checker allows Uptime checks to run on private/internal GCP
    * resources.
@@ -840,23 +777,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.monitoring.v3.InternalChecker}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.InternalChecker)
       com.google.monitoring.v3.InternalCheckerOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.monitoring.v3.UptimeProto
-          .internal_static_google_monitoring_v3_InternalChecker_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_InternalChecker_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.UptimeProto
-          .internal_static_google_monitoring_v3_InternalChecker_fieldAccessorTable
+      return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_InternalChecker_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.InternalChecker.class,
-              com.google.monitoring.v3.InternalChecker.Builder.class);
+              com.google.monitoring.v3.InternalChecker.class, com.google.monitoring.v3.InternalChecker.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.InternalChecker.newBuilder()
@@ -864,15 +799,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -892,9 +828,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.monitoring.v3.UptimeProto
-          .internal_static_google_monitoring_v3_InternalChecker_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_InternalChecker_descriptor;
     }
 
     @java.lang.Override
@@ -913,8 +849,7 @@ public com.google.monitoring.v3.InternalChecker build() {
 
     @java.lang.Override
     public com.google.monitoring.v3.InternalChecker buildPartial() {
-      com.google.monitoring.v3.InternalChecker result =
-          new com.google.monitoring.v3.InternalChecker(this);
+      com.google.monitoring.v3.InternalChecker result = new com.google.monitoring.v3.InternalChecker(this);
       result.name_ = name_;
       result.displayName_ = displayName_;
       result.network_ = network_;
@@ -929,39 +864,38 @@ public com.google.monitoring.v3.InternalChecker 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.monitoring.v3.InternalChecker) {
-        return mergeFrom((com.google.monitoring.v3.InternalChecker) other);
+        return mergeFrom((com.google.monitoring.v3.InternalChecker)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1024,8 +958,6 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * A unique resource name for this InternalChecker. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID]
@@ -1034,13 +966,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1049,8 +981,6 @@ public java.lang.String getName() { } } /** - * - * *
      * A unique resource name for this InternalChecker. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID]
@@ -1059,14 +989,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1074,8 +1005,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * A unique resource name for this InternalChecker. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID]
@@ -1084,22 +1013,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * A unique resource name for this InternalChecker. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID]
@@ -1108,18 +1035,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * A unique resource name for this InternalChecker. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID]
@@ -1128,16 +1052,16 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1145,8 +1069,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * The checker's human-readable name. The display name
      * should be unique within a Stackdriver Workspace in order to make it easier
@@ -1154,13 +1076,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string display_name = 2; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1169,8 +1091,6 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The checker's human-readable name. The display name
      * should be unique within a Stackdriver Workspace in order to make it easier
@@ -1178,14 +1098,15 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1193,8 +1114,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * The checker's human-readable name. The display name
      * should be unique within a Stackdriver Workspace in order to make it easier
@@ -1202,22 +1121,20 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * The checker's human-readable name. The display name
      * should be unique within a Stackdriver Workspace in order to make it easier
@@ -1225,18 +1142,15 @@ public Builder setDisplayName(java.lang.String value) {
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * The checker's human-readable name. The display name
      * should be unique within a Stackdriver Workspace in order to make it easier
@@ -1244,16 +1158,16 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1261,21 +1175,19 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object network_ = ""; /** - * - * *
      * The [GCP VPC network](https://cloud.google.com/vpc/docs/vpc) where the
      * internal resource lives (ex: "default").
      * 
* * string network = 3; - * * @return The network. */ public java.lang.String getNetwork() { java.lang.Object ref = network_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; @@ -1284,22 +1196,21 @@ public java.lang.String getNetwork() { } } /** - * - * *
      * The [GCP VPC network](https://cloud.google.com/vpc/docs/vpc) where the
      * internal resource lives (ex: "default").
      * 
* * string network = 3; - * * @return The bytes for network. */ - public com.google.protobuf.ByteString getNetworkBytes() { + public com.google.protobuf.ByteString + getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); network_ = b; return b; } else { @@ -1307,64 +1218,57 @@ public com.google.protobuf.ByteString getNetworkBytes() { } } /** - * - * *
      * The [GCP VPC network](https://cloud.google.com/vpc/docs/vpc) where the
      * internal resource lives (ex: "default").
      * 
* * string network = 3; - * * @param value The network to set. * @return This builder for chaining. */ - public Builder setNetwork(java.lang.String value) { + public Builder setNetwork( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + network_ = value; onChanged(); return this; } /** - * - * *
      * The [GCP VPC network](https://cloud.google.com/vpc/docs/vpc) where the
      * internal resource lives (ex: "default").
      * 
* * string network = 3; - * * @return This builder for chaining. */ public Builder clearNetwork() { - + network_ = getDefaultInstance().getNetwork(); onChanged(); return this; } /** - * - * *
      * The [GCP VPC network](https://cloud.google.com/vpc/docs/vpc) where the
      * internal resource lives (ex: "default").
      * 
* * string network = 3; - * * @param value The bytes for network to set. * @return This builder for chaining. */ - public Builder setNetworkBytes(com.google.protobuf.ByteString value) { + public Builder setNetworkBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + network_ = value; onChanged(); return this; @@ -1372,21 +1276,19 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) { private java.lang.Object gcpZone_ = ""; /** - * - * *
      * The GCP zone the Uptime check should egress from. Only respected for
      * internal Uptime checks, where internal_network is specified.
      * 
* * string gcp_zone = 4; - * * @return The gcpZone. */ public java.lang.String getGcpZone() { java.lang.Object ref = gcpZone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gcpZone_ = s; return s; @@ -1395,22 +1297,21 @@ public java.lang.String getGcpZone() { } } /** - * - * *
      * The GCP zone the Uptime check should egress from. Only respected for
      * internal Uptime checks, where internal_network is specified.
      * 
* * string gcp_zone = 4; - * * @return The bytes for gcpZone. */ - public com.google.protobuf.ByteString getGcpZoneBytes() { + public com.google.protobuf.ByteString + getGcpZoneBytes() { java.lang.Object ref = gcpZone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); gcpZone_ = b; return b; } else { @@ -1418,64 +1319,57 @@ public com.google.protobuf.ByteString getGcpZoneBytes() { } } /** - * - * *
      * The GCP zone the Uptime check should egress from. Only respected for
      * internal Uptime checks, where internal_network is specified.
      * 
* * string gcp_zone = 4; - * * @param value The gcpZone to set. * @return This builder for chaining. */ - public Builder setGcpZone(java.lang.String value) { + public Builder setGcpZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + gcpZone_ = value; onChanged(); return this; } /** - * - * *
      * The GCP zone the Uptime check should egress from. Only respected for
      * internal Uptime checks, where internal_network is specified.
      * 
* * string gcp_zone = 4; - * * @return This builder for chaining. */ public Builder clearGcpZone() { - + gcpZone_ = getDefaultInstance().getGcpZone(); onChanged(); return this; } /** - * - * *
      * The GCP zone the Uptime check should egress from. Only respected for
      * internal Uptime checks, where internal_network is specified.
      * 
* * string gcp_zone = 4; - * * @param value The bytes for gcpZone to set. * @return This builder for chaining. */ - public Builder setGcpZoneBytes(com.google.protobuf.ByteString value) { + public Builder setGcpZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + gcpZone_ = value; onChanged(); return this; @@ -1483,21 +1377,19 @@ public Builder setGcpZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object peerProjectId_ = ""; /** - * - * *
      * The GCP project ID where the internal checker lives. Not necessary
      * the same as the Workspace project.
      * 
* * string peer_project_id = 6; - * * @return The peerProjectId. */ public java.lang.String getPeerProjectId() { java.lang.Object ref = peerProjectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); peerProjectId_ = s; return s; @@ -1506,22 +1398,21 @@ public java.lang.String getPeerProjectId() { } } /** - * - * *
      * The GCP project ID where the internal checker lives. Not necessary
      * the same as the Workspace project.
      * 
* * string peer_project_id = 6; - * * @return The bytes for peerProjectId. */ - public com.google.protobuf.ByteString getPeerProjectIdBytes() { + public com.google.protobuf.ByteString + getPeerProjectIdBytes() { java.lang.Object ref = peerProjectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); peerProjectId_ = b; return b; } else { @@ -1529,64 +1420,57 @@ public com.google.protobuf.ByteString getPeerProjectIdBytes() { } } /** - * - * *
      * The GCP project ID where the internal checker lives. Not necessary
      * the same as the Workspace project.
      * 
* * string peer_project_id = 6; - * * @param value The peerProjectId to set. * @return This builder for chaining. */ - public Builder setPeerProjectId(java.lang.String value) { + public Builder setPeerProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + peerProjectId_ = value; onChanged(); return this; } /** - * - * *
      * The GCP project ID where the internal checker lives. Not necessary
      * the same as the Workspace project.
      * 
* * string peer_project_id = 6; - * * @return This builder for chaining. */ public Builder clearPeerProjectId() { - + peerProjectId_ = getDefaultInstance().getPeerProjectId(); onChanged(); return this; } /** - * - * *
      * The GCP project ID where the internal checker lives. Not necessary
      * the same as the Workspace project.
      * 
* * string peer_project_id = 6; - * * @param value The bytes for peerProjectId to set. * @return This builder for chaining. */ - public Builder setPeerProjectIdBytes(com.google.protobuf.ByteString value) { + public Builder setPeerProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + peerProjectId_ = value; onChanged(); return this; @@ -1594,65 +1478,51 @@ public Builder setPeerProjectIdBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
      * The current operational state of the internal checker.
      * 
* * .google.monitoring.v3.InternalChecker.State state = 7; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * The current operational state of the internal checker.
      * 
* * .google.monitoring.v3.InternalChecker.State state = 7; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * The current operational state of the internal checker.
      * 
* * .google.monitoring.v3.InternalChecker.State state = 7; - * * @return The state. */ @java.lang.Override public com.google.monitoring.v3.InternalChecker.State getState() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.InternalChecker.State result = - com.google.monitoring.v3.InternalChecker.State.valueOf(state_); + com.google.monitoring.v3.InternalChecker.State result = com.google.monitoring.v3.InternalChecker.State.valueOf(state_); return result == null ? com.google.monitoring.v3.InternalChecker.State.UNRECOGNIZED : result; } /** - * - * *
      * The current operational state of the internal checker.
      * 
* * .google.monitoring.v3.InternalChecker.State state = 7; - * * @param value The state to set. * @return This builder for chaining. */ @@ -1660,31 +1530,28 @@ public Builder setState(com.google.monitoring.v3.InternalChecker.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The current operational state of the internal checker.
      * 
* * .google.monitoring.v3.InternalChecker.State state = 7; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1694,12 +1561,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.InternalChecker) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.InternalChecker) private static final com.google.monitoring.v3.InternalChecker DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.InternalChecker(); } @@ -1708,16 +1575,16 @@ public static com.google.monitoring.v3.InternalChecker getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InternalChecker parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InternalChecker(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InternalChecker parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InternalChecker(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1732,4 +1599,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.InternalChecker getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/InternalCheckerOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/InternalCheckerOrBuilder.java similarity index 77% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/InternalCheckerOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/InternalCheckerOrBuilder.java index fed6e5b2..f6aff410 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/InternalCheckerOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/InternalCheckerOrBuilder.java @@ -1,32 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/uptime.proto package com.google.monitoring.v3; -@java.lang.Deprecated -public interface InternalCheckerOrBuilder - extends +@java.lang.Deprecated public interface InternalCheckerOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.InternalChecker) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A unique resource name for this InternalChecker. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID]
@@ -35,13 +16,10 @@ public interface InternalCheckerOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * A unique resource name for this InternalChecker. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID]
@@ -50,14 +28,12 @@ public interface InternalCheckerOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The checker's human-readable name. The display name
    * should be unique within a Stackdriver Workspace in order to make it easier
@@ -65,13 +41,10 @@ public interface InternalCheckerOrBuilder
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * The checker's human-readable name. The display name
    * should be unique within a Stackdriver Workspace in order to make it easier
@@ -79,113 +52,92 @@ public interface InternalCheckerOrBuilder
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * The [GCP VPC network](https://cloud.google.com/vpc/docs/vpc) where the
    * internal resource lives (ex: "default").
    * 
* * string network = 3; - * * @return The network. */ java.lang.String getNetwork(); /** - * - * *
    * The [GCP VPC network](https://cloud.google.com/vpc/docs/vpc) where the
    * internal resource lives (ex: "default").
    * 
* * string network = 3; - * * @return The bytes for network. */ - com.google.protobuf.ByteString getNetworkBytes(); + com.google.protobuf.ByteString + getNetworkBytes(); /** - * - * *
    * The GCP zone the Uptime check should egress from. Only respected for
    * internal Uptime checks, where internal_network is specified.
    * 
* * string gcp_zone = 4; - * * @return The gcpZone. */ java.lang.String getGcpZone(); /** - * - * *
    * The GCP zone the Uptime check should egress from. Only respected for
    * internal Uptime checks, where internal_network is specified.
    * 
* * string gcp_zone = 4; - * * @return The bytes for gcpZone. */ - com.google.protobuf.ByteString getGcpZoneBytes(); + com.google.protobuf.ByteString + getGcpZoneBytes(); /** - * - * *
    * The GCP project ID where the internal checker lives. Not necessary
    * the same as the Workspace project.
    * 
* * string peer_project_id = 6; - * * @return The peerProjectId. */ java.lang.String getPeerProjectId(); /** - * - * *
    * The GCP project ID where the internal checker lives. Not necessary
    * the same as the Workspace project.
    * 
* * string peer_project_id = 6; - * * @return The bytes for peerProjectId. */ - com.google.protobuf.ByteString getPeerProjectIdBytes(); + com.google.protobuf.ByteString + getPeerProjectIdBytes(); /** - * - * *
    * The current operational state of the internal checker.
    * 
* * .google.monitoring.v3.InternalChecker.State state = 7; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * The current operational state of the internal checker.
    * 
* * .google.monitoring.v3.InternalChecker.State state = 7; - * * @return The state. */ com.google.monitoring.v3.InternalChecker.State getState(); diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/LabelValue.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/LabelValue.java similarity index 70% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/LabelValue.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/LabelValue.java index 384b09fb..b228338b 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/LabelValue.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/LabelValue.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric.proto package com.google.monitoring.v3; /** - * - * *
  * A label value.
  * 
* * Protobuf type {@code google.monitoring.v3.LabelValue} */ -public final class LabelValue extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LabelValue extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.LabelValue) LabelValueOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LabelValue.newBuilder() to construct. private LabelValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private LabelValue() {} + private LabelValue() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LabelValue(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private LabelValue( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,72 +52,64 @@ private LabelValue( case 0: done = true; break; - case 8: - { - valueCase_ = 1; - value_ = input.readBool(); - break; - } - case 16: - { - valueCase_ = 2; - value_ = input.readInt64(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - valueCase_ = 3; - value_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + valueCase_ = 1; + value_ = input.readBool(); + break; + } + case 16: { + valueCase_ = 2; + value_ = input.readInt64(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + valueCase_ = 3; + value_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricProto - .internal_static_google_monitoring_v3_LabelValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_LabelValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricProto - .internal_static_google_monitoring_v3_LabelValue_fieldAccessorTable + return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_LabelValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.LabelValue.class, - com.google.monitoring.v3.LabelValue.Builder.class); + com.google.monitoring.v3.LabelValue.class, com.google.monitoring.v3.LabelValue.Builder.class); } private int valueCase_ = 0; private java.lang.Object value_; - public enum ValueCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BOOL_VALUE(1), INT64_VALUE(2), STRING_VALUE(3), VALUE_NOT_SET(0); private final int value; - private ValueCase(int value) { this.value = value; } @@ -149,38 +125,31 @@ public static ValueCase valueOf(int value) { public static ValueCase forNumber(int value) { switch (value) { - case 1: - return BOOL_VALUE; - case 2: - return INT64_VALUE; - case 3: - return STRING_VALUE; - case 0: - return VALUE_NOT_SET; - default: - return null; + case 1: return BOOL_VALUE; + case 2: return INT64_VALUE; + case 3: return STRING_VALUE; + case 0: return VALUE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ValueCase getValueCase() { - return ValueCase.forNumber(valueCase_); + public ValueCase + getValueCase() { + return ValueCase.forNumber( + valueCase_); } public static final int BOOL_VALUE_FIELD_NUMBER = 1; /** - * - * *
    * A bool label value.
    * 
* * bool bool_value = 1; - * * @return Whether the boolValue field is set. */ @java.lang.Override @@ -188,14 +157,11 @@ public boolean hasBoolValue() { return valueCase_ == 1; } /** - * - * *
    * A bool label value.
    * 
* * bool bool_value = 1; - * * @return The boolValue. */ @java.lang.Override @@ -208,14 +174,11 @@ public boolean getBoolValue() { public static final int INT64_VALUE_FIELD_NUMBER = 2; /** - * - * *
    * An int64 label value.
    * 
* * int64 int64_value = 2; - * * @return Whether the int64Value field is set. */ @java.lang.Override @@ -223,14 +186,11 @@ public boolean hasInt64Value() { return valueCase_ == 2; } /** - * - * *
    * An int64 label value.
    * 
* * int64 int64_value = 2; - * * @return The int64Value. */ @java.lang.Override @@ -243,28 +203,22 @@ public long getInt64Value() { public static final int STRING_VALUE_FIELD_NUMBER = 3; /** - * - * *
    * A string label value.
    * 
* * string string_value = 3; - * * @return Whether the stringValue field is set. */ public boolean hasStringValue() { return valueCase_ == 3; } /** - * - * *
    * A string label value.
    * 
* * string string_value = 3; - * * @return The stringValue. */ public java.lang.String getStringValue() { @@ -275,7 +229,8 @@ public java.lang.String getStringValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueCase_ == 3) { value_ = s; @@ -284,24 +239,23 @@ public java.lang.String getStringValue() { } } /** - * - * *
    * A string label value.
    * 
* * string string_value = 3; - * * @return The bytes for stringValue. */ - public com.google.protobuf.ByteString getStringValueBytes() { + public com.google.protobuf.ByteString + getStringValueBytes() { java.lang.Object ref = ""; if (valueCase_ == 3) { ref = value_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (valueCase_ == 3) { value_ = b; } @@ -312,7 +266,6 @@ public com.google.protobuf.ByteString getStringValueBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -324,12 +277,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 (valueCase_ == 1) { - output.writeBool(1, (boolean) ((java.lang.Boolean) value_)); + output.writeBool( + 1, (boolean)((java.lang.Boolean) value_)); } if (valueCase_ == 2) { - output.writeInt64(2, (long) ((java.lang.Long) value_)); + output.writeInt64( + 2, (long)((java.lang.Long) value_)); } if (valueCase_ == 3) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, value_); @@ -344,14 +300,14 @@ public int getSerializedSize() { size = 0; if (valueCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 1, (boolean) ((java.lang.Boolean) value_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 1, (boolean)((java.lang.Boolean) value_)); } if (valueCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 2, (long) ((java.lang.Long) value_)); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size( + 2, (long)((java.lang.Long) value_)); } if (valueCase_ == 3) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, value_); @@ -364,7 +320,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.LabelValue)) { return super.equals(obj); @@ -374,13 +330,16 @@ public boolean equals(final java.lang.Object obj) { if (!getValueCase().equals(other.getValueCase())) return false; switch (valueCase_) { case 1: - if (getBoolValue() != other.getBoolValue()) return false; + if (getBoolValue() + != other.getBoolValue()) return false; break; case 2: - if (getInt64Value() != other.getInt64Value()) return false; + if (getInt64Value() + != other.getInt64Value()) return false; break; case 3: - if (!getStringValue().equals(other.getStringValue())) return false; + if (!getStringValue() + .equals(other.getStringValue())) return false; break; case 0: default: @@ -399,11 +358,13 @@ public int hashCode() { switch (valueCase_) { case 1: hash = (37 * hash) + BOOL_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBoolValue()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getBoolValue()); break; case 2: hash = (37 * hash) + INT64_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getInt64Value()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getInt64Value()); break; case 3: hash = (37 * hash) + STRING_VALUE_FIELD_NUMBER; @@ -417,126 +378,118 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.LabelValue parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.LabelValue parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.LabelValue parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.LabelValue parseFrom(com.google.protobuf.ByteString data) + public static com.google.monitoring.v3.LabelValue parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.LabelValue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.LabelValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.LabelValue parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.LabelValue 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.monitoring.v3.LabelValue parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.LabelValue parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.LabelValue parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.LabelValue parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.LabelValue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.LabelValue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 label value.
    * 
* * Protobuf type {@code google.monitoring.v3.LabelValue} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.LabelValue) com.google.monitoring.v3.LabelValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricProto - .internal_static_google_monitoring_v3_LabelValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_LabelValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricProto - .internal_static_google_monitoring_v3_LabelValue_fieldAccessorTable + return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_LabelValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.LabelValue.class, - com.google.monitoring.v3.LabelValue.Builder.class); + com.google.monitoring.v3.LabelValue.class, com.google.monitoring.v3.LabelValue.Builder.class); } // Construct using com.google.monitoring.v3.LabelValue.newBuilder() @@ -544,15 +497,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -562,9 +516,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.MetricProto - .internal_static_google_monitoring_v3_LabelValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_LabelValue_descriptor; } @java.lang.Override @@ -602,39 +556,38 @@ public com.google.monitoring.v3.LabelValue 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.monitoring.v3.LabelValue) { - return mergeFrom((com.google.monitoring.v3.LabelValue) other); + return mergeFrom((com.google.monitoring.v3.LabelValue)other); } else { super.mergeFrom(other); return this; @@ -644,27 +597,23 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.monitoring.v3.LabelValue other) { if (other == com.google.monitoring.v3.LabelValue.getDefaultInstance()) return this; switch (other.getValueCase()) { - case BOOL_VALUE: - { - setBoolValue(other.getBoolValue()); - break; - } - case INT64_VALUE: - { - setInt64Value(other.getInt64Value()); - break; - } - case STRING_VALUE: - { - valueCase_ = 3; - value_ = other.value_; - onChanged(); - break; - } - case VALUE_NOT_SET: - { - break; - } + case BOOL_VALUE: { + setBoolValue(other.getBoolValue()); + break; + } + case INT64_VALUE: { + setInt64Value(other.getInt64Value()); + break; + } + case STRING_VALUE: { + valueCase_ = 3; + value_ = other.value_; + onChanged(); + break; + } + case VALUE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -694,12 +643,12 @@ public Builder mergeFrom( } return this; } - private int valueCase_ = 0; private java.lang.Object value_; - - public ValueCase getValueCase() { - return ValueCase.forNumber(valueCase_); + public ValueCase + getValueCase() { + return ValueCase.forNumber( + valueCase_); } public Builder clearValue() { @@ -709,29 +658,24 @@ public Builder clearValue() { return this; } + /** - * - * *
      * A bool label value.
      * 
* * bool bool_value = 1; - * * @return Whether the boolValue field is set. */ public boolean hasBoolValue() { return valueCase_ == 1; } /** - * - * *
      * A bool label value.
      * 
* * bool bool_value = 1; - * * @return The boolValue. */ public boolean getBoolValue() { @@ -741,14 +685,11 @@ public boolean getBoolValue() { return false; } /** - * - * *
      * A bool label value.
      * 
* * bool bool_value = 1; - * * @param value The boolValue to set. * @return This builder for chaining. */ @@ -759,14 +700,11 @@ public Builder setBoolValue(boolean value) { return this; } /** - * - * *
      * A bool label value.
      * 
* * bool bool_value = 1; - * * @return This builder for chaining. */ public Builder clearBoolValue() { @@ -779,28 +717,22 @@ public Builder clearBoolValue() { } /** - * - * *
      * An int64 label value.
      * 
* * int64 int64_value = 2; - * * @return Whether the int64Value field is set. */ public boolean hasInt64Value() { return valueCase_ == 2; } /** - * - * *
      * An int64 label value.
      * 
* * int64 int64_value = 2; - * * @return The int64Value. */ public long getInt64Value() { @@ -810,14 +742,11 @@ public long getInt64Value() { return 0L; } /** - * - * *
      * An int64 label value.
      * 
* * int64 int64_value = 2; - * * @param value The int64Value to set. * @return This builder for chaining. */ @@ -828,14 +757,11 @@ public Builder setInt64Value(long value) { return this; } /** - * - * *
      * An int64 label value.
      * 
* * int64 int64_value = 2; - * * @return This builder for chaining. */ public Builder clearInt64Value() { @@ -848,14 +774,11 @@ public Builder clearInt64Value() { } /** - * - * *
      * A string label value.
      * 
* * string string_value = 3; - * * @return Whether the stringValue field is set. */ @java.lang.Override @@ -863,14 +786,11 @@ public boolean hasStringValue() { return valueCase_ == 3; } /** - * - * *
      * A string label value.
      * 
* * string string_value = 3; - * * @return The stringValue. */ @java.lang.Override @@ -880,7 +800,8 @@ public java.lang.String getStringValue() { ref = value_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueCase_ == 3) { value_ = s; @@ -891,25 +812,24 @@ public java.lang.String getStringValue() { } } /** - * - * *
      * A string label value.
      * 
* * string string_value = 3; - * * @return The bytes for stringValue. */ @java.lang.Override - public com.google.protobuf.ByteString getStringValueBytes() { + public com.google.protobuf.ByteString + getStringValueBytes() { java.lang.Object ref = ""; if (valueCase_ == 3) { ref = value_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (valueCase_ == 3) { value_ = b; } @@ -919,35 +839,30 @@ public com.google.protobuf.ByteString getStringValueBytes() { } } /** - * - * *
      * A string label value.
      * 
* * string string_value = 3; - * * @param value The stringValue to set. * @return This builder for chaining. */ - public Builder setStringValue(java.lang.String value) { + public Builder setStringValue( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - valueCase_ = 3; + throw new NullPointerException(); + } + valueCase_ = 3; value_ = value; onChanged(); return this; } /** - * - * *
      * A string label value.
      * 
* * string string_value = 3; - * * @return This builder for chaining. */ public Builder clearStringValue() { @@ -959,30 +874,28 @@ public Builder clearStringValue() { return this; } /** - * - * *
      * A string label value.
      * 
* * string string_value = 3; - * * @param value The bytes for stringValue to set. * @return This builder for chaining. */ - public Builder setStringValueBytes(com.google.protobuf.ByteString value) { + public Builder setStringValueBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); valueCase_ = 3; value_ = 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); } @@ -992,12 +905,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.LabelValue) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.LabelValue) private static final com.google.monitoring.v3.LabelValue DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.LabelValue(); } @@ -1006,16 +919,16 @@ public static com.google.monitoring.v3.LabelValue getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelValue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelValue(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelValue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelValue(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1030,4 +943,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.LabelValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/LabelValueOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/LabelValueOrBuilder.java similarity index 65% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/LabelValueOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/LabelValueOrBuilder.java index 128520de..f2bc866f 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/LabelValueOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/LabelValueOrBuilder.java @@ -1,114 +1,78 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric.proto package com.google.monitoring.v3; -public interface LabelValueOrBuilder - extends +public interface LabelValueOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.LabelValue) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A bool label value.
    * 
* * bool bool_value = 1; - * * @return Whether the boolValue field is set. */ boolean hasBoolValue(); /** - * - * *
    * A bool label value.
    * 
* * bool bool_value = 1; - * * @return The boolValue. */ boolean getBoolValue(); /** - * - * *
    * An int64 label value.
    * 
* * int64 int64_value = 2; - * * @return Whether the int64Value field is set. */ boolean hasInt64Value(); /** - * - * *
    * An int64 label value.
    * 
* * int64 int64_value = 2; - * * @return The int64Value. */ long getInt64Value(); /** - * - * *
    * A string label value.
    * 
* * string string_value = 3; - * * @return Whether the stringValue field is set. */ boolean hasStringValue(); /** - * - * *
    * A string label value.
    * 
* * string string_value = 3; - * * @return The stringValue. */ java.lang.String getStringValue(); /** - * - * *
    * A string label value.
    * 
* * string string_value = 3; - * * @return The bytes for stringValue. */ - com.google.protobuf.ByteString getStringValueBytes(); + com.google.protobuf.ByteString + getStringValueBytes(); public com.google.monitoring.v3.LabelValue.ValueCase getValueCase(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesRequest.java similarity index 74% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesRequest.java index 2ee17d00..e24c6be2 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesRequest.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/monitoring/v3/alert_service.proto package com.google.monitoring.v3; /** - * - * *
  * The protocol for the `ListAlertPolicies` request.
  * 
* * Protobuf type {@code google.monitoring.v3.ListAlertPoliciesRequest} */ -public final class ListAlertPoliciesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAlertPoliciesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListAlertPoliciesRequest) ListAlertPoliciesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAlertPoliciesRequest.newBuilder() to construct. private ListAlertPoliciesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAlertPoliciesRequest() { name_ = ""; filter_ = ""; @@ -46,15 +28,16 @@ private ListAlertPoliciesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAlertPoliciesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListAlertPoliciesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,78 +56,70 @@ private ListAlertPoliciesRequest( case 0: done = true; break; - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.AlertServiceProto - .internal_static_google_monitoring_v3_ListAlertPoliciesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_ListAlertPoliciesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.AlertServiceProto - .internal_static_google_monitoring_v3_ListAlertPoliciesRequest_fieldAccessorTable + return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_ListAlertPoliciesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListAlertPoliciesRequest.class, - com.google.monitoring.v3.ListAlertPoliciesRequest.Builder.class); + com.google.monitoring.v3.ListAlertPoliciesRequest.class, com.google.monitoring.v3.ListAlertPoliciesRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 4; private volatile java.lang.Object name_; /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
    * whose alert policies are to be listed. The format is:
@@ -156,10 +131,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * operation, instead.
    * 
* - * - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -168,15 +140,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
    * whose alert policies are to be listed. The format is:
@@ -188,18 +159,17 @@ public java.lang.String getName() {
    * operation, instead.
    * 
* - * - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -210,8 +180,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FILTER_FIELD_NUMBER = 5; private volatile java.lang.Object filter_; /** - * - * *
    * If provided, this field specifies the criteria that must be met by
    * alert policies to be included in the response.
@@ -220,7 +188,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string filter = 5; - * * @return The filter. */ @java.lang.Override @@ -229,15 +196,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * If provided, this field specifies the criteria that must be met by
    * alert policies to be included in the response.
@@ -246,15 +212,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 5; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -265,8 +232,6 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int ORDER_BY_FIELD_NUMBER = 6; private volatile java.lang.Object orderBy_; /** - * - * *
    * A comma-separated list of fields by which to sort the result. Supports
    * the same set of field references as the `filter` field. Entries can be
@@ -276,7 +241,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * string order_by = 6; - * * @return The orderBy. */ @java.lang.Override @@ -285,15 +249,14 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * A comma-separated list of fields by which to sort the result. Supports
    * the same set of field references as the `filter` field. Entries can be
@@ -303,15 +266,16 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 6; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -322,14 +286,11 @@ public com.google.protobuf.ByteString getOrderByBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of results to return in a single response.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -340,8 +301,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -349,7 +308,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -358,15 +316,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -374,15 +331,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -391,7 +349,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -403,7 +360,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 (pageSize_ != 0) { output.writeInt32(2, pageSize_); } @@ -429,7 +387,8 @@ public int getSerializedSize() { size = 0; if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -451,19 +410,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.monitoring.v3.ListAlertPoliciesRequest)) { return super.equals(obj); } - com.google.monitoring.v3.ListAlertPoliciesRequest other = - (com.google.monitoring.v3.ListAlertPoliciesRequest) obj; - - if (!getName().equals(other.getName())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.monitoring.v3.ListAlertPoliciesRequest other = (com.google.monitoring.v3.ListAlertPoliciesRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -491,126 +454,117 @@ public int hashCode() { } public static com.google.monitoring.v3.ListAlertPoliciesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListAlertPoliciesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListAlertPoliciesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListAlertPoliciesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListAlertPoliciesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListAlertPoliciesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.ListAlertPoliciesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.ListAlertPoliciesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListAlertPoliciesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.ListAlertPoliciesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.ListAlertPoliciesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListAlertPoliciesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListAlertPoliciesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListAlertPoliciesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.ListAlertPoliciesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 protocol for the `ListAlertPolicies` request.
    * 
* * Protobuf type {@code google.monitoring.v3.ListAlertPoliciesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListAlertPoliciesRequest) com.google.monitoring.v3.ListAlertPoliciesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.AlertServiceProto - .internal_static_google_monitoring_v3_ListAlertPoliciesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_ListAlertPoliciesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.AlertServiceProto - .internal_static_google_monitoring_v3_ListAlertPoliciesRequest_fieldAccessorTable + return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_ListAlertPoliciesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListAlertPoliciesRequest.class, - com.google.monitoring.v3.ListAlertPoliciesRequest.Builder.class); + com.google.monitoring.v3.ListAlertPoliciesRequest.class, com.google.monitoring.v3.ListAlertPoliciesRequest.Builder.class); } // Construct using com.google.monitoring.v3.ListAlertPoliciesRequest.newBuilder() @@ -618,15 +572,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -644,9 +599,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.AlertServiceProto - .internal_static_google_monitoring_v3_ListAlertPoliciesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_ListAlertPoliciesRequest_descriptor; } @java.lang.Override @@ -665,8 +620,7 @@ public com.google.monitoring.v3.ListAlertPoliciesRequest build() { @java.lang.Override public com.google.monitoring.v3.ListAlertPoliciesRequest buildPartial() { - com.google.monitoring.v3.ListAlertPoliciesRequest result = - new com.google.monitoring.v3.ListAlertPoliciesRequest(this); + com.google.monitoring.v3.ListAlertPoliciesRequest result = new com.google.monitoring.v3.ListAlertPoliciesRequest(this); result.name_ = name_; result.filter_ = filter_; result.orderBy_ = orderBy_; @@ -680,39 +634,38 @@ public com.google.monitoring.v3.ListAlertPoliciesRequest 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.monitoring.v3.ListAlertPoliciesRequest) { - return mergeFrom((com.google.monitoring.v3.ListAlertPoliciesRequest) other); + return mergeFrom((com.google.monitoring.v3.ListAlertPoliciesRequest)other); } else { super.mergeFrom(other); return this; @@ -720,8 +673,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.ListAlertPoliciesRequest other) { - if (other == com.google.monitoring.v3.ListAlertPoliciesRequest.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.ListAlertPoliciesRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -760,8 +712,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.ListAlertPoliciesRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.ListAlertPoliciesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -773,8 +724,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
      * whose alert policies are to be listed. The format is:
@@ -786,16 +735,14 @@ public Builder mergeFrom(
      * operation, instead.
      * 
* - * - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -804,8 +751,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
      * whose alert policies are to be listed. The format is:
@@ -817,17 +762,16 @@ public java.lang.String getName() {
      * operation, instead.
      * 
* - * - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -835,8 +779,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
      * whose alert policies are to be listed. The format is:
@@ -848,25 +790,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * operation, instead.
      * 
* - * - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
      * whose alert policies are to be listed. The format is:
@@ -878,21 +816,16 @@ public Builder setName(java.lang.String value) {
      * operation, instead.
      * 
* - * - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
      * whose alert policies are to be listed. The format is:
@@ -904,19 +837,17 @@ public Builder clearName() {
      * operation, instead.
      * 
* - * - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -924,8 +855,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * If provided, this field specifies the criteria that must be met by
      * alert policies to be included in the response.
@@ -934,13 +863,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 5; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -949,8 +878,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * If provided, this field specifies the criteria that must be met by
      * alert policies to be included in the response.
@@ -959,14 +886,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 5; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -974,8 +902,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * If provided, this field specifies the criteria that must be met by
      * alert policies to be included in the response.
@@ -984,22 +910,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 5; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * If provided, this field specifies the criteria that must be met by
      * alert policies to be included in the response.
@@ -1008,18 +932,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 5; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * If provided, this field specifies the criteria that must be met by
      * alert policies to be included in the response.
@@ -1028,16 +949,16 @@ public Builder clearFilter() {
      * 
* * string filter = 5; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1045,8 +966,6 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * A comma-separated list of fields by which to sort the result. Supports
      * the same set of field references as the `filter` field. Entries can be
@@ -1056,13 +975,13 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
      * 
* * string order_by = 6; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1071,8 +990,6 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * A comma-separated list of fields by which to sort the result. Supports
      * the same set of field references as the `filter` field. Entries can be
@@ -1082,14 +999,15 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 6; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1097,8 +1015,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * A comma-separated list of fields by which to sort the result. Supports
      * the same set of field references as the `filter` field. Entries can be
@@ -1108,22 +1024,20 @@ public com.google.protobuf.ByteString getOrderByBytes() {
      * 
* * string order_by = 6; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * A comma-separated list of fields by which to sort the result. Supports
      * the same set of field references as the `filter` field. Entries can be
@@ -1133,18 +1047,15 @@ public Builder setOrderBy(java.lang.String value) {
      * 
* * string order_by = 6; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * A comma-separated list of fields by which to sort the result. Supports
      * the same set of field references as the `filter` field. Entries can be
@@ -1154,31 +1065,28 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 6; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of results to return in a single response.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -1186,36 +1094,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of results to return in a single response.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of results to return in a single response.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1223,8 +1125,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1232,13 +1132,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1247,8 +1147,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1256,14 +1154,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1271,8 +1170,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1280,22 +1177,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1303,18 +1198,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1322,23 +1214,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1348,12 +1240,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListAlertPoliciesRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListAlertPoliciesRequest) private static final com.google.monitoring.v3.ListAlertPoliciesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListAlertPoliciesRequest(); } @@ -1362,16 +1254,16 @@ public static com.google.monitoring.v3.ListAlertPoliciesRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAlertPoliciesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListAlertPoliciesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAlertPoliciesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListAlertPoliciesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1386,4 +1278,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.ListAlertPoliciesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesRequestOrBuilder.java similarity index 75% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesRequestOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesRequestOrBuilder.java index a6bb26dc..cd95f3b0 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesRequestOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesRequestOrBuilder.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/monitoring/v3/alert_service.proto package com.google.monitoring.v3; -public interface ListAlertPoliciesRequestOrBuilder - extends +public interface ListAlertPoliciesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListAlertPoliciesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
    * whose alert policies are to be listed. The format is:
@@ -37,16 +19,11 @@ public interface ListAlertPoliciesRequestOrBuilder
    * operation, instead.
    * 
* - * - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
    * whose alert policies are to be listed. The format is:
@@ -58,17 +35,13 @@ public interface ListAlertPoliciesRequestOrBuilder
    * operation, instead.
    * 
* - * - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * If provided, this field specifies the criteria that must be met by
    * alert policies to be included in the response.
@@ -77,13 +50,10 @@ public interface ListAlertPoliciesRequestOrBuilder
    * 
* * string filter = 5; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * If provided, this field specifies the criteria that must be met by
    * alert policies to be included in the response.
@@ -92,14 +62,12 @@ public interface ListAlertPoliciesRequestOrBuilder
    * 
* * string filter = 5; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * A comma-separated list of fields by which to sort the result. Supports
    * the same set of field references as the `filter` field. Entries can be
@@ -109,13 +77,10 @@ public interface ListAlertPoliciesRequestOrBuilder
    * 
* * string order_by = 6; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * A comma-separated list of fields by which to sort the result. Supports
    * the same set of field references as the `filter` field. Entries can be
@@ -125,27 +90,22 @@ public interface ListAlertPoliciesRequestOrBuilder
    * 
* * string order_by = 6; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); /** - * - * *
    * The maximum number of results to return in a single response.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -153,13 +113,10 @@ public interface ListAlertPoliciesRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -167,8 +124,8 @@ public interface ListAlertPoliciesRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesResponse.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesResponse.java similarity index 74% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesResponse.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesResponse.java index f45c5a32..ff87e294 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesResponse.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesResponse.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/monitoring/v3/alert_service.proto package com.google.monitoring.v3; /** - * - * *
  * The protocol for the `ListAlertPolicies` response.
  * 
* * Protobuf type {@code google.monitoring.v3.ListAlertPoliciesResponse} */ -public final class ListAlertPoliciesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAlertPoliciesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListAlertPoliciesResponse) ListAlertPoliciesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAlertPoliciesResponse.newBuilder() to construct. private ListAlertPoliciesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAlertPoliciesResponse() { alertPolicies_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListAlertPoliciesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAlertPoliciesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListAlertPoliciesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,42 +55,40 @@ private ListAlertPoliciesResponse( case 0: done = true; break; - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - alertPolicies_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - alertPolicies_.add( - input.readMessage( - com.google.monitoring.v3.AlertPolicy.parser(), extensionRegistry)); - break; - } - case 32: - { - totalSize_ = input.readInt32(); - break; + nextPageToken_ = s; + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + alertPolicies_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + alertPolicies_.add( + input.readMessage(com.google.monitoring.v3.AlertPolicy.parser(), extensionRegistry)); + break; + } + case 32: { + + totalSize_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { alertPolicies_ = java.util.Collections.unmodifiableList(alertPolicies_); @@ -116,27 +97,22 @@ private ListAlertPoliciesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.AlertServiceProto - .internal_static_google_monitoring_v3_ListAlertPoliciesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_ListAlertPoliciesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.AlertServiceProto - .internal_static_google_monitoring_v3_ListAlertPoliciesResponse_fieldAccessorTable + return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_ListAlertPoliciesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListAlertPoliciesResponse.class, - com.google.monitoring.v3.ListAlertPoliciesResponse.Builder.class); + com.google.monitoring.v3.ListAlertPoliciesResponse.class, com.google.monitoring.v3.ListAlertPoliciesResponse.Builder.class); } public static final int ALERT_POLICIES_FIELD_NUMBER = 3; private java.util.List alertPolicies_; /** - * - * *
    * The returned alert policies.
    * 
@@ -148,8 +124,6 @@ public java.util.List getAlertPoliciesList return alertPolicies_; } /** - * - * *
    * The returned alert policies.
    * 
@@ -157,13 +131,11 @@ public java.util.List getAlertPoliciesList * repeated .google.monitoring.v3.AlertPolicy alert_policies = 3; */ @java.lang.Override - public java.util.List + public java.util.List getAlertPoliciesOrBuilderList() { return alertPolicies_; } /** - * - * *
    * The returned alert policies.
    * 
@@ -175,8 +147,6 @@ public int getAlertPoliciesCount() { return alertPolicies_.size(); } /** - * - * *
    * The returned alert policies.
    * 
@@ -188,8 +158,6 @@ public com.google.monitoring.v3.AlertPolicy getAlertPolicies(int index) { return alertPolicies_.get(index); } /** - * - * *
    * The returned alert policies.
    * 
@@ -197,15 +165,14 @@ public com.google.monitoring.v3.AlertPolicy getAlertPolicies(int index) { * repeated .google.monitoring.v3.AlertPolicy alert_policies = 3; */ @java.lang.Override - public com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPoliciesOrBuilder(int index) { + public com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPoliciesOrBuilder( + int index) { return alertPolicies_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * If there might be more results than were returned, then this field is set
    * to a non-empty value. To see the additional results,
@@ -213,7 +180,6 @@ public com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPoliciesOrBuilder(i
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -222,15 +188,14 @@ 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; } } /** - * - * *
    * If there might be more results than were returned, then this field is set
    * to a non-empty value. To see the additional results,
@@ -238,15 +203,16 @@ public java.lang.String getNextPageToken() {
    * 
* * 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 { @@ -257,15 +223,12 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int TOTAL_SIZE_FIELD_NUMBER = 4; private int totalSize_; /** - * - * *
    * The total number of alert policies in all pages. This number is only an
    * estimate, and may change in subsequent pages. https://aip.dev/158
    * 
* * int32 total_size = 4; - * * @return The totalSize. */ @java.lang.Override @@ -274,7 +237,6 @@ public int getTotalSize() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -286,7 +248,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(nextPageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } @@ -309,10 +272,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } for (int i = 0; i < alertPolicies_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, alertPolicies_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, alertPolicies_.get(i)); } if (totalSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, totalSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, totalSize_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -322,17 +287,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.monitoring.v3.ListAlertPoliciesResponse)) { return super.equals(obj); } - com.google.monitoring.v3.ListAlertPoliciesResponse other = - (com.google.monitoring.v3.ListAlertPoliciesResponse) obj; + com.google.monitoring.v3.ListAlertPoliciesResponse other = (com.google.monitoring.v3.ListAlertPoliciesResponse) obj; - if (!getAlertPoliciesList().equals(other.getAlertPoliciesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (getTotalSize() != other.getTotalSize()) return false; + if (!getAlertPoliciesList() + .equals(other.getAlertPoliciesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (getTotalSize() + != other.getTotalSize()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -358,126 +325,117 @@ public int hashCode() { } public static com.google.monitoring.v3.ListAlertPoliciesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListAlertPoliciesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListAlertPoliciesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListAlertPoliciesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListAlertPoliciesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListAlertPoliciesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.ListAlertPoliciesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.ListAlertPoliciesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListAlertPoliciesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.ListAlertPoliciesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.ListAlertPoliciesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListAlertPoliciesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListAlertPoliciesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListAlertPoliciesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.ListAlertPoliciesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 protocol for the `ListAlertPolicies` response.
    * 
* * Protobuf type {@code google.monitoring.v3.ListAlertPoliciesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListAlertPoliciesResponse) com.google.monitoring.v3.ListAlertPoliciesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.AlertServiceProto - .internal_static_google_monitoring_v3_ListAlertPoliciesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_ListAlertPoliciesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.AlertServiceProto - .internal_static_google_monitoring_v3_ListAlertPoliciesResponse_fieldAccessorTable + return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_ListAlertPoliciesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListAlertPoliciesResponse.class, - com.google.monitoring.v3.ListAlertPoliciesResponse.Builder.class); + com.google.monitoring.v3.ListAlertPoliciesResponse.class, com.google.monitoring.v3.ListAlertPoliciesResponse.Builder.class); } // Construct using com.google.monitoring.v3.ListAlertPoliciesResponse.newBuilder() @@ -485,17 +443,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getAlertPoliciesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -513,9 +471,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.AlertServiceProto - .internal_static_google_monitoring_v3_ListAlertPoliciesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_ListAlertPoliciesResponse_descriptor; } @java.lang.Override @@ -534,8 +492,7 @@ public com.google.monitoring.v3.ListAlertPoliciesResponse build() { @java.lang.Override public com.google.monitoring.v3.ListAlertPoliciesResponse buildPartial() { - com.google.monitoring.v3.ListAlertPoliciesResponse result = - new com.google.monitoring.v3.ListAlertPoliciesResponse(this); + com.google.monitoring.v3.ListAlertPoliciesResponse result = new com.google.monitoring.v3.ListAlertPoliciesResponse(this); int from_bitField0_ = bitField0_; if (alertPoliciesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -556,39 +513,38 @@ public com.google.monitoring.v3.ListAlertPoliciesResponse 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.monitoring.v3.ListAlertPoliciesResponse) { - return mergeFrom((com.google.monitoring.v3.ListAlertPoliciesResponse) other); + return mergeFrom((com.google.monitoring.v3.ListAlertPoliciesResponse)other); } else { super.mergeFrom(other); return this; @@ -596,8 +552,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.ListAlertPoliciesResponse other) { - if (other == com.google.monitoring.v3.ListAlertPoliciesResponse.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.ListAlertPoliciesResponse.getDefaultInstance()) return this; if (alertPoliciesBuilder_ == null) { if (!other.alertPolicies_.isEmpty()) { if (alertPolicies_.isEmpty()) { @@ -616,10 +571,9 @@ public Builder mergeFrom(com.google.monitoring.v3.ListAlertPoliciesResponse othe alertPoliciesBuilder_ = null; alertPolicies_ = other.alertPolicies_; bitField0_ = (bitField0_ & ~0x00000001); - alertPoliciesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAlertPoliciesFieldBuilder() - : null; + alertPoliciesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAlertPoliciesFieldBuilder() : null; } else { alertPoliciesBuilder_.addAllMessages(other.alertPolicies_); } @@ -651,8 +605,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.ListAlertPoliciesResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.ListAlertPoliciesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -661,29 +614,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List alertPolicies_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAlertPoliciesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - alertPolicies_ = - new java.util.ArrayList(alertPolicies_); + alertPolicies_ = new java.util.ArrayList(alertPolicies_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy, - com.google.monitoring.v3.AlertPolicy.Builder, - com.google.monitoring.v3.AlertPolicyOrBuilder> - alertPoliciesBuilder_; + com.google.monitoring.v3.AlertPolicy, com.google.monitoring.v3.AlertPolicy.Builder, com.google.monitoring.v3.AlertPolicyOrBuilder> alertPoliciesBuilder_; /** - * - * *
      * The returned alert policies.
      * 
@@ -698,8 +643,6 @@ public java.util.List getAlertPoliciesList } } /** - * - * *
      * The returned alert policies.
      * 
@@ -714,8 +657,6 @@ public int getAlertPoliciesCount() { } } /** - * - * *
      * The returned alert policies.
      * 
@@ -730,15 +671,14 @@ public com.google.monitoring.v3.AlertPolicy getAlertPolicies(int index) { } } /** - * - * *
      * The returned alert policies.
      * 
* * repeated .google.monitoring.v3.AlertPolicy alert_policies = 3; */ - public Builder setAlertPolicies(int index, com.google.monitoring.v3.AlertPolicy value) { + public Builder setAlertPolicies( + int index, com.google.monitoring.v3.AlertPolicy value) { if (alertPoliciesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -752,8 +692,6 @@ public Builder setAlertPolicies(int index, com.google.monitoring.v3.AlertPolicy return this; } /** - * - * *
      * The returned alert policies.
      * 
@@ -772,8 +710,6 @@ public Builder setAlertPolicies( return this; } /** - * - * *
      * The returned alert policies.
      * 
@@ -794,15 +730,14 @@ public Builder addAlertPolicies(com.google.monitoring.v3.AlertPolicy value) { return this; } /** - * - * *
      * The returned alert policies.
      * 
* * repeated .google.monitoring.v3.AlertPolicy alert_policies = 3; */ - public Builder addAlertPolicies(int index, com.google.monitoring.v3.AlertPolicy value) { + public Builder addAlertPolicies( + int index, com.google.monitoring.v3.AlertPolicy value) { if (alertPoliciesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -816,15 +751,14 @@ public Builder addAlertPolicies(int index, com.google.monitoring.v3.AlertPolicy return this; } /** - * - * *
      * The returned alert policies.
      * 
* * repeated .google.monitoring.v3.AlertPolicy alert_policies = 3; */ - public Builder addAlertPolicies(com.google.monitoring.v3.AlertPolicy.Builder builderForValue) { + public Builder addAlertPolicies( + com.google.monitoring.v3.AlertPolicy.Builder builderForValue) { if (alertPoliciesBuilder_ == null) { ensureAlertPoliciesIsMutable(); alertPolicies_.add(builderForValue.build()); @@ -835,8 +769,6 @@ public Builder addAlertPolicies(com.google.monitoring.v3.AlertPolicy.Builder bui return this; } /** - * - * *
      * The returned alert policies.
      * 
@@ -855,8 +787,6 @@ public Builder addAlertPolicies( return this; } /** - * - * *
      * The returned alert policies.
      * 
@@ -867,7 +797,8 @@ public Builder addAllAlertPolicies( java.lang.Iterable values) { if (alertPoliciesBuilder_ == null) { ensureAlertPoliciesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, alertPolicies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, alertPolicies_); onChanged(); } else { alertPoliciesBuilder_.addAllMessages(values); @@ -875,8 +806,6 @@ public Builder addAllAlertPolicies( return this; } /** - * - * *
      * The returned alert policies.
      * 
@@ -894,8 +823,6 @@ public Builder clearAlertPolicies() { return this; } /** - * - * *
      * The returned alert policies.
      * 
@@ -913,44 +840,39 @@ public Builder removeAlertPolicies(int index) { return this; } /** - * - * *
      * The returned alert policies.
      * 
* * repeated .google.monitoring.v3.AlertPolicy alert_policies = 3; */ - public com.google.monitoring.v3.AlertPolicy.Builder getAlertPoliciesBuilder(int index) { + public com.google.monitoring.v3.AlertPolicy.Builder getAlertPoliciesBuilder( + int index) { return getAlertPoliciesFieldBuilder().getBuilder(index); } /** - * - * *
      * The returned alert policies.
      * 
* * repeated .google.monitoring.v3.AlertPolicy alert_policies = 3; */ - public com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPoliciesOrBuilder(int index) { + public com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPoliciesOrBuilder( + int index) { if (alertPoliciesBuilder_ == null) { - return alertPolicies_.get(index); - } else { + return alertPolicies_.get(index); } else { return alertPoliciesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The returned alert policies.
      * 
* * repeated .google.monitoring.v3.AlertPolicy alert_policies = 3; */ - public java.util.List - getAlertPoliciesOrBuilderList() { + public java.util.List + getAlertPoliciesOrBuilderList() { if (alertPoliciesBuilder_ != null) { return alertPoliciesBuilder_.getMessageOrBuilderList(); } else { @@ -958,8 +880,6 @@ public com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPoliciesOrBuilder(i } } /** - * - * *
      * The returned alert policies.
      * 
@@ -967,47 +887,38 @@ public com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPoliciesOrBuilder(i * repeated .google.monitoring.v3.AlertPolicy alert_policies = 3; */ public com.google.monitoring.v3.AlertPolicy.Builder addAlertPoliciesBuilder() { - return getAlertPoliciesFieldBuilder() - .addBuilder(com.google.monitoring.v3.AlertPolicy.getDefaultInstance()); + return getAlertPoliciesFieldBuilder().addBuilder( + com.google.monitoring.v3.AlertPolicy.getDefaultInstance()); } /** - * - * *
      * The returned alert policies.
      * 
* * repeated .google.monitoring.v3.AlertPolicy alert_policies = 3; */ - public com.google.monitoring.v3.AlertPolicy.Builder addAlertPoliciesBuilder(int index) { - return getAlertPoliciesFieldBuilder() - .addBuilder(index, com.google.monitoring.v3.AlertPolicy.getDefaultInstance()); + public com.google.monitoring.v3.AlertPolicy.Builder addAlertPoliciesBuilder( + int index) { + return getAlertPoliciesFieldBuilder().addBuilder( + index, com.google.monitoring.v3.AlertPolicy.getDefaultInstance()); } /** - * - * *
      * The returned alert policies.
      * 
* * repeated .google.monitoring.v3.AlertPolicy alert_policies = 3; */ - public java.util.List - getAlertPoliciesBuilderList() { + public java.util.List + getAlertPoliciesBuilderList() { return getAlertPoliciesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy, - com.google.monitoring.v3.AlertPolicy.Builder, - com.google.monitoring.v3.AlertPolicyOrBuilder> + com.google.monitoring.v3.AlertPolicy, com.google.monitoring.v3.AlertPolicy.Builder, com.google.monitoring.v3.AlertPolicyOrBuilder> getAlertPoliciesFieldBuilder() { if (alertPoliciesBuilder_ == null) { - alertPoliciesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy, - com.google.monitoring.v3.AlertPolicy.Builder, - com.google.monitoring.v3.AlertPolicyOrBuilder>( + alertPoliciesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.monitoring.v3.AlertPolicy, com.google.monitoring.v3.AlertPolicy.Builder, com.google.monitoring.v3.AlertPolicyOrBuilder>( alertPolicies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1019,8 +930,6 @@ public com.google.monitoring.v3.AlertPolicy.Builder addAlertPoliciesBuilder(int private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * If there might be more results than were returned, then this field is set
      * to a non-empty value. To see the additional results,
@@ -1028,13 +937,13 @@ public com.google.monitoring.v3.AlertPolicy.Builder addAlertPoliciesBuilder(int
      * 
* * 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; @@ -1043,8 +952,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * If there might be more results than were returned, then this field is set
      * to a non-empty value. To see the additional results,
@@ -1052,14 +959,15 @@ public java.lang.String getNextPageToken() {
      * 
* * 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 { @@ -1067,8 +975,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * If there might be more results than were returned, then this field is set
      * to a non-empty value. To see the additional results,
@@ -1076,22 +982,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * 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; } /** - * - * *
      * If there might be more results than were returned, then this field is set
      * to a non-empty value. To see the additional results,
@@ -1099,18 +1003,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * If there might be more results than were returned, then this field is set
      * to a non-empty value. To see the additional results,
@@ -1118,32 +1019,29 @@ public Builder clearNextPageToken() {
      * 
* * 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; } - private int totalSize_; + private int totalSize_ ; /** - * - * *
      * The total number of alert policies in all pages. This number is only an
      * estimate, and may change in subsequent pages. https://aip.dev/158
      * 
* * int32 total_size = 4; - * * @return The totalSize. */ @java.lang.Override @@ -1151,45 +1049,39 @@ public int getTotalSize() { return totalSize_; } /** - * - * *
      * The total number of alert policies in all pages. This number is only an
      * estimate, and may change in subsequent pages. https://aip.dev/158
      * 
* * int32 total_size = 4; - * * @param value The totalSize to set. * @return This builder for chaining. */ public Builder setTotalSize(int value) { - + totalSize_ = value; onChanged(); return this; } /** - * - * *
      * The total number of alert policies in all pages. This number is only an
      * estimate, and may change in subsequent pages. https://aip.dev/158
      * 
* * int32 total_size = 4; - * * @return This builder for chaining. */ public Builder clearTotalSize() { - + totalSize_ = 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); } @@ -1199,12 +1091,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListAlertPoliciesResponse) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListAlertPoliciesResponse) private static final com.google.monitoring.v3.ListAlertPoliciesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListAlertPoliciesResponse(); } @@ -1213,16 +1105,16 @@ public static com.google.monitoring.v3.ListAlertPoliciesResponse getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAlertPoliciesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListAlertPoliciesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAlertPoliciesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListAlertPoliciesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1237,4 +1129,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.monitoring.v3.ListAlertPoliciesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesResponseOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesResponseOrBuilder.java similarity index 71% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesResponseOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesResponseOrBuilder.java index 73201de7..88d4ac61 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesResponseOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesResponseOrBuilder.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/monitoring/v3/alert_service.proto package com.google.monitoring.v3; -public interface ListAlertPoliciesResponseOrBuilder - extends +public interface ListAlertPoliciesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListAlertPoliciesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The returned alert policies.
    * 
* * repeated .google.monitoring.v3.AlertPolicy alert_policies = 3; */ - java.util.List getAlertPoliciesList(); + java.util.List + getAlertPoliciesList(); /** - * - * *
    * The returned alert policies.
    * 
@@ -44,8 +25,6 @@ public interface ListAlertPoliciesResponseOrBuilder */ com.google.monitoring.v3.AlertPolicy getAlertPolicies(int index); /** - * - * *
    * The returned alert policies.
    * 
@@ -54,30 +33,25 @@ public interface ListAlertPoliciesResponseOrBuilder */ int getAlertPoliciesCount(); /** - * - * *
    * The returned alert policies.
    * 
* * repeated .google.monitoring.v3.AlertPolicy alert_policies = 3; */ - java.util.List + java.util.List getAlertPoliciesOrBuilderList(); /** - * - * *
    * The returned alert policies.
    * 
* * repeated .google.monitoring.v3.AlertPolicy alert_policies = 3; */ - com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPoliciesOrBuilder(int index); + com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPoliciesOrBuilder( + int index); /** - * - * *
    * If there might be more results than were returned, then this field is set
    * to a non-empty value. To see the additional results,
@@ -85,13 +59,10 @@ public interface ListAlertPoliciesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * If there might be more results than were returned, then this field is set
    * to a non-empty value. To see the additional results,
@@ -99,21 +70,18 @@ public interface ListAlertPoliciesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * The total number of alert policies in all pages. This number is only an
    * estimate, and may change in subsequent pages. https://aip.dev/158
    * 
* * int32 total_size = 4; - * * @return The totalSize. */ int getTotalSize(); diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersRequest.java similarity index 73% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersRequest.java index 99b7f30a..5fa45ae7 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersRequest.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/monitoring/v3/group_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `ListGroupMembers` request.
  * 
* * Protobuf type {@code google.monitoring.v3.ListGroupMembersRequest} */ -public final class ListGroupMembersRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListGroupMembersRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListGroupMembersRequest) ListGroupMembersRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListGroupMembersRequest.newBuilder() to construct. private ListGroupMembersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListGroupMembersRequest() { name_ = ""; pageToken_ = ""; @@ -45,15 +27,16 @@ private ListGroupMembersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListGroupMembersRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListGroupMembersRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,96 +55,83 @@ private ListGroupMembersRequest( case 0: done = true; break; - case 24: - { - pageSize_ = input.readInt32(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + case 24: { - pageToken_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 50: - { - com.google.monitoring.v3.TimeInterval.Builder subBuilder = null; - if (interval_ != null) { - subBuilder = interval_.toBuilder(); - } - interval_ = - input.readMessage( - com.google.monitoring.v3.TimeInterval.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(interval_); - interval_ = subBuilder.buildPartial(); - } + pageToken_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - break; + filter_ = s; + break; + } + case 50: { + com.google.monitoring.v3.TimeInterval.Builder subBuilder = null; + if (interval_ != null) { + subBuilder = interval_.toBuilder(); } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; + interval_ = input.readMessage(com.google.monitoring.v3.TimeInterval.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(interval_); + interval_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.GroupServiceProto - .internal_static_google_monitoring_v3_ListGroupMembersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_ListGroupMembersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.GroupServiceProto - .internal_static_google_monitoring_v3_ListGroupMembersRequest_fieldAccessorTable + return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_ListGroupMembersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListGroupMembersRequest.class, - com.google.monitoring.v3.ListGroupMembersRequest.Builder.class); + com.google.monitoring.v3.ListGroupMembersRequest.class, com.google.monitoring.v3.ListGroupMembersRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 7; private volatile java.lang.Object name_; /** - * - * *
    * Required. The group whose members are listed. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
    * 
* - * - * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -170,32 +140,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The group whose members are listed. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
    * 
* - * - * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -206,14 +174,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * A positive number that is the maximum number of results to return.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -224,8 +189,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** - * - * *
    * If this field is not empty then it must contain the `next_page_token` value
    * returned by a previous call to this method.  Using this field causes the
@@ -233,7 +196,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -242,15 +204,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * If this field is not empty then it must contain the `next_page_token` value
    * returned by a previous call to this method.  Using this field causes the
@@ -258,15 +219,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -277,8 +239,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 5; private volatile java.lang.Object filter_; /** - * - * *
    * An optional [list
    * filter](https://cloud.google.com/monitoring/api/learn_more#filtering)
@@ -290,7 +250,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string filter = 5; - * * @return The filter. */ @java.lang.Override @@ -299,15 +258,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; } } /** - * - * *
    * An optional [list
    * filter](https://cloud.google.com/monitoring/api/learn_more#filtering)
@@ -319,15 +277,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 5; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -338,8 +297,6 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int INTERVAL_FIELD_NUMBER = 6; private com.google.monitoring.v3.TimeInterval interval_; /** - * - * *
    * An optional time interval for which results should be returned. Only
    * members that were part of the group during the specified interval are
@@ -348,7 +305,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * .google.monitoring.v3.TimeInterval interval = 6; - * * @return Whether the interval field is set. */ @java.lang.Override @@ -356,8 +312,6 @@ public boolean hasInterval() { return interval_ != null; } /** - * - * *
    * An optional time interval for which results should be returned. Only
    * members that were part of the group during the specified interval are
@@ -366,18 +320,13 @@ public boolean hasInterval() {
    * 
* * .google.monitoring.v3.TimeInterval interval = 6; - * * @return The interval. */ @java.lang.Override public com.google.monitoring.v3.TimeInterval getInterval() { - return interval_ == null - ? com.google.monitoring.v3.TimeInterval.getDefaultInstance() - : interval_; + return interval_ == null ? com.google.monitoring.v3.TimeInterval.getDefaultInstance() : interval_; } /** - * - * *
    * An optional time interval for which results should be returned. Only
    * members that were part of the group during the specified interval are
@@ -393,7 +342,6 @@ public com.google.monitoring.v3.TimeIntervalOrBuilder getIntervalOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -405,7 +353,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 (pageSize_ != 0) {
       output.writeInt32(3, pageSize_);
     }
@@ -431,7 +380,8 @@ public int getSerializedSize() {
 
     size = 0;
     if (pageSize_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(3, pageSize_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_);
@@ -440,7 +390,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, filter_);
     }
     if (interval_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getInterval());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getInterval());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, name_);
@@ -453,21 +404,25 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.monitoring.v3.ListGroupMembersRequest)) {
       return super.equals(obj);
     }
-    com.google.monitoring.v3.ListGroupMembersRequest other =
-        (com.google.monitoring.v3.ListGroupMembersRequest) obj;
+    com.google.monitoring.v3.ListGroupMembersRequest other = (com.google.monitoring.v3.ListGroupMembersRequest) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (getPageSize() != other.getPageSize()) return false;
-    if (!getPageToken().equals(other.getPageToken())) return false;
-    if (!getFilter().equals(other.getFilter())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (getPageSize()
+        != other.getPageSize()) return false;
+    if (!getPageToken()
+        .equals(other.getPageToken())) return false;
+    if (!getFilter()
+        .equals(other.getFilter())) return false;
     if (hasInterval() != other.hasInterval()) return false;
     if (hasInterval()) {
-      if (!getInterval().equals(other.getInterval())) return false;
+      if (!getInterval()
+          .equals(other.getInterval())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -497,127 +452,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.monitoring.v3.ListGroupMembersRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.monitoring.v3.ListGroupMembersRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.monitoring.v3.ListGroupMembersRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.monitoring.v3.ListGroupMembersRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.monitoring.v3.ListGroupMembersRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.monitoring.v3.ListGroupMembersRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.monitoring.v3.ListGroupMembersRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.monitoring.v3.ListGroupMembersRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.monitoring.v3.ListGroupMembersRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.monitoring.v3.ListGroupMembersRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.monitoring.v3.ListGroupMembersRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.monitoring.v3.ListGroupMembersRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.monitoring.v3.ListGroupMembersRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.monitoring.v3.ListGroupMembersRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.monitoring.v3.ListGroupMembersRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.monitoring.v3.ListGroupMembersRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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 `ListGroupMembers` request.
    * 
* * Protobuf type {@code google.monitoring.v3.ListGroupMembersRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListGroupMembersRequest) com.google.monitoring.v3.ListGroupMembersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.GroupServiceProto - .internal_static_google_monitoring_v3_ListGroupMembersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_ListGroupMembersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.GroupServiceProto - .internal_static_google_monitoring_v3_ListGroupMembersRequest_fieldAccessorTable + return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_ListGroupMembersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListGroupMembersRequest.class, - com.google.monitoring.v3.ListGroupMembersRequest.Builder.class); + com.google.monitoring.v3.ListGroupMembersRequest.class, com.google.monitoring.v3.ListGroupMembersRequest.Builder.class); } // Construct using com.google.monitoring.v3.ListGroupMembersRequest.newBuilder() @@ -625,15 +571,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -655,9 +602,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.GroupServiceProto - .internal_static_google_monitoring_v3_ListGroupMembersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_ListGroupMembersRequest_descriptor; } @java.lang.Override @@ -676,8 +623,7 @@ public com.google.monitoring.v3.ListGroupMembersRequest build() { @java.lang.Override public com.google.monitoring.v3.ListGroupMembersRequest buildPartial() { - com.google.monitoring.v3.ListGroupMembersRequest result = - new com.google.monitoring.v3.ListGroupMembersRequest(this); + com.google.monitoring.v3.ListGroupMembersRequest result = new com.google.monitoring.v3.ListGroupMembersRequest(this); result.name_ = name_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -695,39 +641,38 @@ public com.google.monitoring.v3.ListGroupMembersRequest 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.monitoring.v3.ListGroupMembersRequest) { - return mergeFrom((com.google.monitoring.v3.ListGroupMembersRequest) other); + return mergeFrom((com.google.monitoring.v3.ListGroupMembersRequest)other); } else { super.mergeFrom(other); return this; @@ -735,8 +680,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.ListGroupMembersRequest other) { - if (other == com.google.monitoring.v3.ListGroupMembersRequest.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.ListGroupMembersRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -786,23 +730,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The group whose members are listed. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
      * 
* - * - * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -811,24 +751,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The group whose members are listed. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
      * 
* - * - * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -836,85 +773,69 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The group whose members are listed. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
      * 
* - * - * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The group whose members are listed. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
      * 
* - * - * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The group whose members are listed. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
      * 
* - * - * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * A positive number that is the maximum number of results to return.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -922,36 +843,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * A positive number that is the maximum number of results to return.
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * A positive number that is the maximum number of results to return.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -959,8 +874,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * If this field is not empty then it must contain the `next_page_token` value
      * returned by a previous call to this method.  Using this field causes the
@@ -968,13 +881,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -983,8 +896,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * If this field is not empty then it must contain the `next_page_token` value
      * returned by a previous call to this method.  Using this field causes the
@@ -992,14 +903,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1007,8 +919,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * If this field is not empty then it must contain the `next_page_token` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1016,22 +926,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * If this field is not empty then it must contain the `next_page_token` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1039,18 +947,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * If this field is not empty then it must contain the `next_page_token` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1058,16 +963,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1075,8 +980,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * An optional [list
      * filter](https://cloud.google.com/monitoring/api/learn_more#filtering)
@@ -1088,13 +991,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 5; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1103,8 +1006,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * An optional [list
      * filter](https://cloud.google.com/monitoring/api/learn_more#filtering)
@@ -1116,14 +1017,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 5; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1131,8 +1033,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * An optional [list
      * filter](https://cloud.google.com/monitoring/api/learn_more#filtering)
@@ -1144,22 +1044,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 5; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * An optional [list
      * filter](https://cloud.google.com/monitoring/api/learn_more#filtering)
@@ -1171,18 +1069,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 5; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * An optional [list
      * filter](https://cloud.google.com/monitoring/api/learn_more#filtering)
@@ -1194,16 +1089,16 @@ public Builder clearFilter() {
      * 
* * string filter = 5; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1211,13 +1106,8 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private com.google.monitoring.v3.TimeInterval interval_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TimeInterval, - com.google.monitoring.v3.TimeInterval.Builder, - com.google.monitoring.v3.TimeIntervalOrBuilder> - intervalBuilder_; + com.google.monitoring.v3.TimeInterval, com.google.monitoring.v3.TimeInterval.Builder, com.google.monitoring.v3.TimeIntervalOrBuilder> intervalBuilder_; /** - * - * *
      * An optional time interval for which results should be returned. Only
      * members that were part of the group during the specified interval are
@@ -1226,15 +1116,12 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.monitoring.v3.TimeInterval interval = 6; - * * @return Whether the interval field is set. */ public boolean hasInterval() { return intervalBuilder_ != null || interval_ != null; } /** - * - * *
      * An optional time interval for which results should be returned. Only
      * members that were part of the group during the specified interval are
@@ -1243,21 +1130,16 @@ public boolean hasInterval() {
      * 
* * .google.monitoring.v3.TimeInterval interval = 6; - * * @return The interval. */ public com.google.monitoring.v3.TimeInterval getInterval() { if (intervalBuilder_ == null) { - return interval_ == null - ? com.google.monitoring.v3.TimeInterval.getDefaultInstance() - : interval_; + return interval_ == null ? com.google.monitoring.v3.TimeInterval.getDefaultInstance() : interval_; } else { return intervalBuilder_.getMessage(); } } /** - * - * *
      * An optional time interval for which results should be returned. Only
      * members that were part of the group during the specified interval are
@@ -1281,8 +1163,6 @@ public Builder setInterval(com.google.monitoring.v3.TimeInterval value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * An optional time interval for which results should be returned. Only
      * members that were part of the group during the specified interval are
@@ -1292,7 +1172,8 @@ public Builder setInterval(com.google.monitoring.v3.TimeInterval value) {
      *
      * .google.monitoring.v3.TimeInterval interval = 6;
      */
-    public Builder setInterval(com.google.monitoring.v3.TimeInterval.Builder builderForValue) {
+    public Builder setInterval(
+        com.google.monitoring.v3.TimeInterval.Builder builderForValue) {
       if (intervalBuilder_ == null) {
         interval_ = builderForValue.build();
         onChanged();
@@ -1303,8 +1184,6 @@ public Builder setInterval(com.google.monitoring.v3.TimeInterval.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * An optional time interval for which results should be returned. Only
      * members that were part of the group during the specified interval are
@@ -1318,9 +1197,7 @@ public Builder mergeInterval(com.google.monitoring.v3.TimeInterval value) {
       if (intervalBuilder_ == null) {
         if (interval_ != null) {
           interval_ =
-              com.google.monitoring.v3.TimeInterval.newBuilder(interval_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.monitoring.v3.TimeInterval.newBuilder(interval_).mergeFrom(value).buildPartial();
         } else {
           interval_ = value;
         }
@@ -1332,8 +1209,6 @@ public Builder mergeInterval(com.google.monitoring.v3.TimeInterval value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * An optional time interval for which results should be returned. Only
      * members that were part of the group during the specified interval are
@@ -1355,8 +1230,6 @@ public Builder clearInterval() {
       return this;
     }
     /**
-     *
-     *
      * 
      * An optional time interval for which results should be returned. Only
      * members that were part of the group during the specified interval are
@@ -1367,13 +1240,11 @@ public Builder clearInterval() {
      * .google.monitoring.v3.TimeInterval interval = 6;
      */
     public com.google.monitoring.v3.TimeInterval.Builder getIntervalBuilder() {
-
+      
       onChanged();
       return getIntervalFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * An optional time interval for which results should be returned. Only
      * members that were part of the group during the specified interval are
@@ -1387,14 +1258,11 @@ public com.google.monitoring.v3.TimeIntervalOrBuilder getIntervalOrBuilder() {
       if (intervalBuilder_ != null) {
         return intervalBuilder_.getMessageOrBuilder();
       } else {
-        return interval_ == null
-            ? com.google.monitoring.v3.TimeInterval.getDefaultInstance()
-            : interval_;
+        return interval_ == null ?
+            com.google.monitoring.v3.TimeInterval.getDefaultInstance() : interval_;
       }
     }
     /**
-     *
-     *
      * 
      * An optional time interval for which results should be returned. Only
      * members that were part of the group during the specified interval are
@@ -1405,24 +1273,21 @@ public com.google.monitoring.v3.TimeIntervalOrBuilder getIntervalOrBuilder() {
      * .google.monitoring.v3.TimeInterval interval = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.TimeInterval,
-            com.google.monitoring.v3.TimeInterval.Builder,
-            com.google.monitoring.v3.TimeIntervalOrBuilder>
+        com.google.monitoring.v3.TimeInterval, com.google.monitoring.v3.TimeInterval.Builder, com.google.monitoring.v3.TimeIntervalOrBuilder> 
         getIntervalFieldBuilder() {
       if (intervalBuilder_ == null) {
-        intervalBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.monitoring.v3.TimeInterval,
-                com.google.monitoring.v3.TimeInterval.Builder,
-                com.google.monitoring.v3.TimeIntervalOrBuilder>(
-                getInterval(), getParentForChildren(), isClean());
+        intervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.monitoring.v3.TimeInterval, com.google.monitoring.v3.TimeInterval.Builder, com.google.monitoring.v3.TimeIntervalOrBuilder>(
+                getInterval(),
+                getParentForChildren(),
+                isClean());
         interval_ = null;
       }
       return intervalBuilder_;
     }
-
     @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);
     }
 
@@ -1432,12 +1297,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListGroupMembersRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListGroupMembersRequest)
   private static final com.google.monitoring.v3.ListGroupMembersRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.monitoring.v3.ListGroupMembersRequest();
   }
@@ -1446,16 +1311,16 @@ public static com.google.monitoring.v3.ListGroupMembersRequest getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ListGroupMembersRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new ListGroupMembersRequest(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ListGroupMembersRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new ListGroupMembersRequest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1470,4 +1335,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.monitoring.v3.ListGroupMembersRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersRequestOrBuilder.java
similarity index 76%
rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersRequestOrBuilder.java
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersRequestOrBuilder.java
index 29156aae..b348d065 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersRequestOrBuilder.java
+++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersRequestOrBuilder.java
@@ -1,75 +1,45 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/monitoring/v3/group_service.proto
 
 package com.google.monitoring.v3;
 
-public interface ListGroupMembersRequestOrBuilder
-    extends
+public interface ListGroupMembersRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListGroupMembersRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The group whose members are listed. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
    * 
* - * - * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The group whose members are listed. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
    * 
* - * - * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * A positive number that is the maximum number of results to return.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If this field is not empty then it must contain the `next_page_token` value
    * returned by a previous call to this method.  Using this field causes the
@@ -77,13 +47,10 @@ public interface ListGroupMembersRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * If this field is not empty then it must contain the `next_page_token` value
    * returned by a previous call to this method.  Using this field causes the
@@ -91,14 +58,12 @@ public interface ListGroupMembersRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * An optional [list
    * filter](https://cloud.google.com/monitoring/api/learn_more#filtering)
@@ -110,13 +75,10 @@ public interface ListGroupMembersRequestOrBuilder
    * 
* * string filter = 5; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * An optional [list
    * filter](https://cloud.google.com/monitoring/api/learn_more#filtering)
@@ -128,14 +90,12 @@ public interface ListGroupMembersRequestOrBuilder
    * 
* * string filter = 5; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * An optional time interval for which results should be returned. Only
    * members that were part of the group during the specified interval are
@@ -144,13 +104,10 @@ public interface ListGroupMembersRequestOrBuilder
    * 
* * .google.monitoring.v3.TimeInterval interval = 6; - * * @return Whether the interval field is set. */ boolean hasInterval(); /** - * - * *
    * An optional time interval for which results should be returned. Only
    * members that were part of the group during the specified interval are
@@ -159,13 +116,10 @@ public interface ListGroupMembersRequestOrBuilder
    * 
* * .google.monitoring.v3.TimeInterval interval = 6; - * * @return The interval. */ com.google.monitoring.v3.TimeInterval getInterval(); /** - * - * *
    * An optional time interval for which results should be returned. Only
    * members that were part of the group during the specified interval are
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersResponse.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersResponse.java
similarity index 74%
rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersResponse.java
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersResponse.java
index 4bb184b7..ef14008e 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersResponse.java
+++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersResponse.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/monitoring/v3/group_service.proto
 
 package com.google.monitoring.v3;
 
 /**
- *
- *
  * 
  * The `ListGroupMembers` response.
  * 
* * Protobuf type {@code google.monitoring.v3.ListGroupMembersResponse} */ -public final class ListGroupMembersResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListGroupMembersResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListGroupMembersResponse) ListGroupMembersResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListGroupMembersResponse.newBuilder() to construct. private ListGroupMembersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListGroupMembersResponse() { members_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListGroupMembersResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListGroupMembersResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListGroupMembersResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,41 +55,40 @@ private ListGroupMembersResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - members_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - members_.add( - input.readMessage(com.google.api.MonitoredResource.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + members_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + members_.add( + input.readMessage(com.google.api.MonitoredResource.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 24: - { - totalSize_ = input.readInt32(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + case 24: { + + totalSize_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { members_ = java.util.Collections.unmodifiableList(members_); @@ -115,27 +97,22 @@ private ListGroupMembersResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.GroupServiceProto - .internal_static_google_monitoring_v3_ListGroupMembersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_ListGroupMembersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.GroupServiceProto - .internal_static_google_monitoring_v3_ListGroupMembersResponse_fieldAccessorTable + return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_ListGroupMembersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListGroupMembersResponse.class, - com.google.monitoring.v3.ListGroupMembersResponse.Builder.class); + com.google.monitoring.v3.ListGroupMembersResponse.class, com.google.monitoring.v3.ListGroupMembersResponse.Builder.class); } public static final int MEMBERS_FIELD_NUMBER = 1; private java.util.List members_; /** - * - * *
    * A set of monitored resources in the group.
    * 
@@ -147,8 +124,6 @@ public java.util.List getMembersList() { return members_; } /** - * - * *
    * A set of monitored resources in the group.
    * 
@@ -156,13 +131,11 @@ public java.util.List getMembersList() { * repeated .google.api.MonitoredResource members = 1; */ @java.lang.Override - public java.util.List + public java.util.List getMembersOrBuilderList() { return members_; } /** - * - * *
    * A set of monitored resources in the group.
    * 
@@ -174,8 +147,6 @@ public int getMembersCount() { return members_.size(); } /** - * - * *
    * A set of monitored resources in the group.
    * 
@@ -187,8 +158,6 @@ public com.google.api.MonitoredResource getMembers(int index) { return members_.get(index); } /** - * - * *
    * A set of monitored resources in the group.
    * 
@@ -196,15 +165,14 @@ public com.google.api.MonitoredResource getMembers(int index) { * repeated .google.api.MonitoredResource members = 1; */ @java.lang.Override - public com.google.api.MonitoredResourceOrBuilder getMembersOrBuilder(int index) { + public com.google.api.MonitoredResourceOrBuilder getMembersOrBuilder( + int index) { return members_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * If there are more results than have been returned, then this field is
    * set to a non-empty value.  To see the additional results, use that value as
@@ -212,7 +180,6 @@ public com.google.api.MonitoredResourceOrBuilder getMembersOrBuilder(int index)
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -221,15 +188,14 @@ 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; } } /** - * - * *
    * If there are more results than have been returned, then this field is
    * set to a non-empty value.  To see the additional results, use that value as
@@ -237,15 +203,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -256,14 +223,11 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int TOTAL_SIZE_FIELD_NUMBER = 3; private int totalSize_; /** - * - * *
    * The total number of elements matching this request.
    * 
* * int32 total_size = 3; - * * @return The totalSize. */ @java.lang.Override @@ -272,7 +236,6 @@ public int getTotalSize() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -284,7 +247,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 < members_.size(); i++) { output.writeMessage(1, members_.get(i)); } @@ -304,13 +268,15 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < members_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, members_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, members_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } if (totalSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, totalSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, totalSize_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -320,17 +286,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.monitoring.v3.ListGroupMembersResponse)) { return super.equals(obj); } - com.google.monitoring.v3.ListGroupMembersResponse other = - (com.google.monitoring.v3.ListGroupMembersResponse) obj; + com.google.monitoring.v3.ListGroupMembersResponse other = (com.google.monitoring.v3.ListGroupMembersResponse) obj; - if (!getMembersList().equals(other.getMembersList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (getTotalSize() != other.getTotalSize()) return false; + if (!getMembersList() + .equals(other.getMembersList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (getTotalSize() + != other.getTotalSize()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -356,126 +324,117 @@ public int hashCode() { } public static com.google.monitoring.v3.ListGroupMembersResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListGroupMembersResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListGroupMembersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListGroupMembersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListGroupMembersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListGroupMembersResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.ListGroupMembersResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.ListGroupMembersResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListGroupMembersResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.ListGroupMembersResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.ListGroupMembersResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListGroupMembersResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListGroupMembersResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListGroupMembersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.ListGroupMembersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 `ListGroupMembers` response.
    * 
* * Protobuf type {@code google.monitoring.v3.ListGroupMembersResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListGroupMembersResponse) com.google.monitoring.v3.ListGroupMembersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.GroupServiceProto - .internal_static_google_monitoring_v3_ListGroupMembersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_ListGroupMembersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.GroupServiceProto - .internal_static_google_monitoring_v3_ListGroupMembersResponse_fieldAccessorTable + return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_ListGroupMembersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListGroupMembersResponse.class, - com.google.monitoring.v3.ListGroupMembersResponse.Builder.class); + com.google.monitoring.v3.ListGroupMembersResponse.class, com.google.monitoring.v3.ListGroupMembersResponse.Builder.class); } // Construct using com.google.monitoring.v3.ListGroupMembersResponse.newBuilder() @@ -483,17 +442,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getMembersFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -511,9 +470,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.GroupServiceProto - .internal_static_google_monitoring_v3_ListGroupMembersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_ListGroupMembersResponse_descriptor; } @java.lang.Override @@ -532,8 +491,7 @@ public com.google.monitoring.v3.ListGroupMembersResponse build() { @java.lang.Override public com.google.monitoring.v3.ListGroupMembersResponse buildPartial() { - com.google.monitoring.v3.ListGroupMembersResponse result = - new com.google.monitoring.v3.ListGroupMembersResponse(this); + com.google.monitoring.v3.ListGroupMembersResponse result = new com.google.monitoring.v3.ListGroupMembersResponse(this); int from_bitField0_ = bitField0_; if (membersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -554,39 +512,38 @@ public com.google.monitoring.v3.ListGroupMembersResponse 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.monitoring.v3.ListGroupMembersResponse) { - return mergeFrom((com.google.monitoring.v3.ListGroupMembersResponse) other); + return mergeFrom((com.google.monitoring.v3.ListGroupMembersResponse)other); } else { super.mergeFrom(other); return this; @@ -594,8 +551,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.ListGroupMembersResponse other) { - if (other == com.google.monitoring.v3.ListGroupMembersResponse.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.ListGroupMembersResponse.getDefaultInstance()) return this; if (membersBuilder_ == null) { if (!other.members_.isEmpty()) { if (members_.isEmpty()) { @@ -614,10 +570,9 @@ public Builder mergeFrom(com.google.monitoring.v3.ListGroupMembersResponse other membersBuilder_ = null; members_ = other.members_; bitField0_ = (bitField0_ & ~0x00000001); - membersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMembersFieldBuilder() - : null; + membersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMembersFieldBuilder() : null; } else { membersBuilder_.addAllMessages(other.members_); } @@ -649,8 +604,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.ListGroupMembersResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.ListGroupMembersResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -659,28 +613,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List members_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMembersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { members_ = new java.util.ArrayList(members_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.MonitoredResource, - com.google.api.MonitoredResource.Builder, - com.google.api.MonitoredResourceOrBuilder> - membersBuilder_; + com.google.api.MonitoredResource, com.google.api.MonitoredResource.Builder, com.google.api.MonitoredResourceOrBuilder> membersBuilder_; /** - * - * *
      * A set of monitored resources in the group.
      * 
@@ -695,8 +642,6 @@ public java.util.List getMembersList() { } } /** - * - * *
      * A set of monitored resources in the group.
      * 
@@ -711,8 +656,6 @@ public int getMembersCount() { } } /** - * - * *
      * A set of monitored resources in the group.
      * 
@@ -727,15 +670,14 @@ public com.google.api.MonitoredResource getMembers(int index) { } } /** - * - * *
      * A set of monitored resources in the group.
      * 
* * repeated .google.api.MonitoredResource members = 1; */ - public Builder setMembers(int index, com.google.api.MonitoredResource value) { + public Builder setMembers( + int index, com.google.api.MonitoredResource value) { if (membersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -749,15 +691,14 @@ public Builder setMembers(int index, com.google.api.MonitoredResource value) { return this; } /** - * - * *
      * A set of monitored resources in the group.
      * 
* * repeated .google.api.MonitoredResource members = 1; */ - public Builder setMembers(int index, com.google.api.MonitoredResource.Builder builderForValue) { + public Builder setMembers( + int index, com.google.api.MonitoredResource.Builder builderForValue) { if (membersBuilder_ == null) { ensureMembersIsMutable(); members_.set(index, builderForValue.build()); @@ -768,8 +709,6 @@ public Builder setMembers(int index, com.google.api.MonitoredResource.Builder bu return this; } /** - * - * *
      * A set of monitored resources in the group.
      * 
@@ -790,15 +729,14 @@ public Builder addMembers(com.google.api.MonitoredResource value) { return this; } /** - * - * *
      * A set of monitored resources in the group.
      * 
* * repeated .google.api.MonitoredResource members = 1; */ - public Builder addMembers(int index, com.google.api.MonitoredResource value) { + public Builder addMembers( + int index, com.google.api.MonitoredResource value) { if (membersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -812,15 +750,14 @@ public Builder addMembers(int index, com.google.api.MonitoredResource value) { return this; } /** - * - * *
      * A set of monitored resources in the group.
      * 
* * repeated .google.api.MonitoredResource members = 1; */ - public Builder addMembers(com.google.api.MonitoredResource.Builder builderForValue) { + public Builder addMembers( + com.google.api.MonitoredResource.Builder builderForValue) { if (membersBuilder_ == null) { ensureMembersIsMutable(); members_.add(builderForValue.build()); @@ -831,15 +768,14 @@ public Builder addMembers(com.google.api.MonitoredResource.Builder builderForVal return this; } /** - * - * *
      * A set of monitored resources in the group.
      * 
* * repeated .google.api.MonitoredResource members = 1; */ - public Builder addMembers(int index, com.google.api.MonitoredResource.Builder builderForValue) { + public Builder addMembers( + int index, com.google.api.MonitoredResource.Builder builderForValue) { if (membersBuilder_ == null) { ensureMembersIsMutable(); members_.add(index, builderForValue.build()); @@ -850,8 +786,6 @@ public Builder addMembers(int index, com.google.api.MonitoredResource.Builder bu return this; } /** - * - * *
      * A set of monitored resources in the group.
      * 
@@ -862,7 +796,8 @@ public Builder addAllMembers( java.lang.Iterable values) { if (membersBuilder_ == null) { ensureMembersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, members_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, members_); onChanged(); } else { membersBuilder_.addAllMessages(values); @@ -870,8 +805,6 @@ public Builder addAllMembers( return this; } /** - * - * *
      * A set of monitored resources in the group.
      * 
@@ -889,8 +822,6 @@ public Builder clearMembers() { return this; } /** - * - * *
      * A set of monitored resources in the group.
      * 
@@ -908,44 +839,39 @@ public Builder removeMembers(int index) { return this; } /** - * - * *
      * A set of monitored resources in the group.
      * 
* * repeated .google.api.MonitoredResource members = 1; */ - public com.google.api.MonitoredResource.Builder getMembersBuilder(int index) { + public com.google.api.MonitoredResource.Builder getMembersBuilder( + int index) { return getMembersFieldBuilder().getBuilder(index); } /** - * - * *
      * A set of monitored resources in the group.
      * 
* * repeated .google.api.MonitoredResource members = 1; */ - public com.google.api.MonitoredResourceOrBuilder getMembersOrBuilder(int index) { + public com.google.api.MonitoredResourceOrBuilder getMembersOrBuilder( + int index) { if (membersBuilder_ == null) { - return members_.get(index); - } else { + return members_.get(index); } else { return membersBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A set of monitored resources in the group.
      * 
* * repeated .google.api.MonitoredResource members = 1; */ - public java.util.List - getMembersOrBuilderList() { + public java.util.List + getMembersOrBuilderList() { if (membersBuilder_ != null) { return membersBuilder_.getMessageOrBuilderList(); } else { @@ -953,8 +879,6 @@ public com.google.api.MonitoredResourceOrBuilder getMembersOrBuilder(int index) } } /** - * - * *
      * A set of monitored resources in the group.
      * 
@@ -962,47 +886,42 @@ public com.google.api.MonitoredResourceOrBuilder getMembersOrBuilder(int index) * repeated .google.api.MonitoredResource members = 1; */ public com.google.api.MonitoredResource.Builder addMembersBuilder() { - return getMembersFieldBuilder() - .addBuilder(com.google.api.MonitoredResource.getDefaultInstance()); + return getMembersFieldBuilder().addBuilder( + com.google.api.MonitoredResource.getDefaultInstance()); } /** - * - * *
      * A set of monitored resources in the group.
      * 
* * repeated .google.api.MonitoredResource members = 1; */ - public com.google.api.MonitoredResource.Builder addMembersBuilder(int index) { - return getMembersFieldBuilder() - .addBuilder(index, com.google.api.MonitoredResource.getDefaultInstance()); + public com.google.api.MonitoredResource.Builder addMembersBuilder( + int index) { + return getMembersFieldBuilder().addBuilder( + index, com.google.api.MonitoredResource.getDefaultInstance()); } /** - * - * *
      * A set of monitored resources in the group.
      * 
* * repeated .google.api.MonitoredResource members = 1; */ - public java.util.List getMembersBuilderList() { + public java.util.List + getMembersBuilderList() { return getMembersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.MonitoredResource, - com.google.api.MonitoredResource.Builder, - com.google.api.MonitoredResourceOrBuilder> + com.google.api.MonitoredResource, com.google.api.MonitoredResource.Builder, com.google.api.MonitoredResourceOrBuilder> getMembersFieldBuilder() { if (membersBuilder_ == null) { - membersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.MonitoredResource, - com.google.api.MonitoredResource.Builder, - com.google.api.MonitoredResourceOrBuilder>( - members_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + membersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.api.MonitoredResource, com.google.api.MonitoredResource.Builder, com.google.api.MonitoredResourceOrBuilder>( + members_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); members_ = null; } return membersBuilder_; @@ -1010,8 +929,6 @@ public java.util.List getMembersBuilde private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * If there are more results than have been returned, then this field is
      * set to a non-empty value.  To see the additional results, use that value as
@@ -1019,13 +936,13 @@ public java.util.List getMembersBuilde
      * 
* * 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; @@ -1034,8 +951,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * If there are more results than have been returned, then this field is
      * set to a non-empty value.  To see the additional results, use that value as
@@ -1043,14 +958,15 @@ public java.lang.String getNextPageToken() {
      * 
* * 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 { @@ -1058,8 +974,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * If there are more results than have been returned, then this field is
      * set to a non-empty value.  To see the additional results, use that value as
@@ -1067,22 +981,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * 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; } /** - * - * *
      * If there are more results than have been returned, then this field is
      * set to a non-empty value.  To see the additional results, use that value as
@@ -1090,18 +1002,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * If there are more results than have been returned, then this field is
      * set to a non-empty value.  To see the additional results, use that value as
@@ -1109,31 +1018,28 @@ public Builder clearNextPageToken() {
      * 
* * 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; } - private int totalSize_; + private int totalSize_ ; /** - * - * *
      * The total number of elements matching this request.
      * 
* * int32 total_size = 3; - * * @return The totalSize. */ @java.lang.Override @@ -1141,43 +1047,37 @@ public int getTotalSize() { return totalSize_; } /** - * - * *
      * The total number of elements matching this request.
      * 
* * int32 total_size = 3; - * * @param value The totalSize to set. * @return This builder for chaining. */ public Builder setTotalSize(int value) { - + totalSize_ = value; onChanged(); return this; } /** - * - * *
      * The total number of elements matching this request.
      * 
* * int32 total_size = 3; - * * @return This builder for chaining. */ public Builder clearTotalSize() { - + totalSize_ = 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); } @@ -1187,12 +1087,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListGroupMembersResponse) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListGroupMembersResponse) private static final com.google.monitoring.v3.ListGroupMembersResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListGroupMembersResponse(); } @@ -1201,16 +1101,16 @@ public static com.google.monitoring.v3.ListGroupMembersResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListGroupMembersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListGroupMembersResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListGroupMembersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListGroupMembersResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1225,4 +1125,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.ListGroupMembersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersResponseOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersResponseOrBuilder.java similarity index 70% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersResponseOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersResponseOrBuilder.java index 95302cfb..a149da47 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersResponseOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersResponseOrBuilder.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/monitoring/v3/group_service.proto package com.google.monitoring.v3; -public interface ListGroupMembersResponseOrBuilder - extends +public interface ListGroupMembersResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListGroupMembersResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A set of monitored resources in the group.
    * 
* * repeated .google.api.MonitoredResource members = 1; */ - java.util.List getMembersList(); + java.util.List + getMembersList(); /** - * - * *
    * A set of monitored resources in the group.
    * 
@@ -44,8 +25,6 @@ public interface ListGroupMembersResponseOrBuilder */ com.google.api.MonitoredResource getMembers(int index); /** - * - * *
    * A set of monitored resources in the group.
    * 
@@ -54,29 +33,25 @@ public interface ListGroupMembersResponseOrBuilder */ int getMembersCount(); /** - * - * *
    * A set of monitored resources in the group.
    * 
* * repeated .google.api.MonitoredResource members = 1; */ - java.util.List getMembersOrBuilderList(); + java.util.List + getMembersOrBuilderList(); /** - * - * *
    * A set of monitored resources in the group.
    * 
* * repeated .google.api.MonitoredResource members = 1; */ - com.google.api.MonitoredResourceOrBuilder getMembersOrBuilder(int index); + com.google.api.MonitoredResourceOrBuilder getMembersOrBuilder( + int index); /** - * - * *
    * If there are more results than have been returned, then this field is
    * set to a non-empty value.  To see the additional results, use that value as
@@ -84,13 +59,10 @@ public interface ListGroupMembersResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * If there are more results than have been returned, then this field is
    * set to a non-empty value.  To see the additional results, use that value as
@@ -98,20 +70,17 @@ public interface ListGroupMembersResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * The total number of elements matching this request.
    * 
* * int32 total_size = 3; - * * @return The totalSize. */ int getTotalSize(); diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsRequest.java similarity index 75% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsRequest.java index 4d123c3a..11e3217b 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsRequest.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/monitoring/v3/group_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `ListGroup` request.
  * 
* * Protobuf type {@code google.monitoring.v3.ListGroupsRequest} */ -public final class ListGroupsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListGroupsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListGroupsRequest) ListGroupsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListGroupsRequest.newBuilder() to construct. private ListGroupsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListGroupsRequest() { name_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListGroupsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListGroupsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListGroupsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,93 +54,83 @@ private ListGroupsRequest( case 0: done = true; break; - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - filterCase_ = 2; - filter_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - filterCase_ = 3; - filter_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - filterCase_ = 4; - filter_ = s; - break; - } - case 40: - { - pageSize_ = input.readInt32(); - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + filterCase_ = 2; + filter_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + filterCase_ = 3; + filter_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + filterCase_ = 4; + filter_ = s; + break; + } + case 40: { - pageToken_ = s; - break; - } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageToken_ = s; + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.GroupServiceProto - .internal_static_google_monitoring_v3_ListGroupsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_ListGroupsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.GroupServiceProto - .internal_static_google_monitoring_v3_ListGroupsRequest_fieldAccessorTable + return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_ListGroupsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListGroupsRequest.class, - com.google.monitoring.v3.ListGroupsRequest.Builder.class); + com.google.monitoring.v3.ListGroupsRequest.class, com.google.monitoring.v3.ListGroupsRequest.Builder.class); } private int filterCase_ = 0; private java.lang.Object filter_; - public enum FilterCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CHILDREN_OF_GROUP(2), ANCESTORS_OF_GROUP(3), DESCENDANTS_OF_GROUP(4), FILTER_NOT_SET(0); private final int value; - private FilterCase(int value) { this.value = value; } @@ -173,43 +146,34 @@ public static FilterCase valueOf(int value) { public static FilterCase forNumber(int value) { switch (value) { - case 2: - return CHILDREN_OF_GROUP; - case 3: - return ANCESTORS_OF_GROUP; - case 4: - return DESCENDANTS_OF_GROUP; - case 0: - return FILTER_NOT_SET; - default: - return null; + case 2: return CHILDREN_OF_GROUP; + case 3: return ANCESTORS_OF_GROUP; + case 4: return DESCENDANTS_OF_GROUP; + case 0: return FILTER_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public FilterCase getFilterCase() { - return FilterCase.forNumber(filterCase_); + public FilterCase + getFilterCase() { + return FilterCase.forNumber( + filterCase_); } public static final int NAME_FIELD_NUMBER = 7; private volatile java.lang.Object name_; /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
    * whose groups are to be listed. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * - * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -218,33 +182,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
    * whose groups are to be listed. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * - * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -254,8 +216,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CHILDREN_OF_GROUP_FIELD_NUMBER = 2; /** - * - * *
    * A group name. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -264,15 +224,12 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string children_of_group = 2 [(.google.api.resource_reference) = { ... } - * * @return Whether the childrenOfGroup field is set. */ public boolean hasChildrenOfGroup() { return filterCase_ == 2; } /** - * - * *
    * A group name. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -281,7 +238,6 @@ public boolean hasChildrenOfGroup() {
    * 
* * string children_of_group = 2 [(.google.api.resource_reference) = { ... } - * * @return The childrenOfGroup. */ public java.lang.String getChildrenOfGroup() { @@ -292,7 +248,8 @@ public java.lang.String getChildrenOfGroup() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (filterCase_ == 2) { filter_ = s; @@ -301,8 +258,6 @@ public java.lang.String getChildrenOfGroup() { } } /** - * - * *
    * A group name. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -311,17 +266,18 @@ public java.lang.String getChildrenOfGroup() {
    * 
* * string children_of_group = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for childrenOfGroup. */ - public com.google.protobuf.ByteString getChildrenOfGroupBytes() { + public com.google.protobuf.ByteString + getChildrenOfGroupBytes() { java.lang.Object ref = ""; if (filterCase_ == 2) { 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); if (filterCase_ == 2) { filter_ = b; } @@ -333,8 +289,6 @@ public com.google.protobuf.ByteString getChildrenOfGroupBytes() { public static final int ANCESTORS_OF_GROUP_FIELD_NUMBER = 3; /** - * - * *
    * A group name. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -345,15 +299,12 @@ public com.google.protobuf.ByteString getChildrenOfGroupBytes() {
    * 
* * string ancestors_of_group = 3 [(.google.api.resource_reference) = { ... } - * * @return Whether the ancestorsOfGroup field is set. */ public boolean hasAncestorsOfGroup() { return filterCase_ == 3; } /** - * - * *
    * A group name. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -364,7 +315,6 @@ public boolean hasAncestorsOfGroup() {
    * 
* * string ancestors_of_group = 3 [(.google.api.resource_reference) = { ... } - * * @return The ancestorsOfGroup. */ public java.lang.String getAncestorsOfGroup() { @@ -375,7 +325,8 @@ public java.lang.String getAncestorsOfGroup() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (filterCase_ == 3) { filter_ = s; @@ -384,8 +335,6 @@ public java.lang.String getAncestorsOfGroup() { } } /** - * - * *
    * A group name. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -396,17 +345,18 @@ public java.lang.String getAncestorsOfGroup() {
    * 
* * string ancestors_of_group = 3 [(.google.api.resource_reference) = { ... } - * * @return The bytes for ancestorsOfGroup. */ - public com.google.protobuf.ByteString getAncestorsOfGroupBytes() { + public com.google.protobuf.ByteString + getAncestorsOfGroupBytes() { java.lang.Object ref = ""; if (filterCase_ == 3) { 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); if (filterCase_ == 3) { filter_ = b; } @@ -418,8 +368,6 @@ public com.google.protobuf.ByteString getAncestorsOfGroupBytes() { public static final int DESCENDANTS_OF_GROUP_FIELD_NUMBER = 4; /** - * - * *
    * A group name. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -429,15 +377,12 @@ public com.google.protobuf.ByteString getAncestorsOfGroupBytes() {
    * 
* * string descendants_of_group = 4 [(.google.api.resource_reference) = { ... } - * * @return Whether the descendantsOfGroup field is set. */ public boolean hasDescendantsOfGroup() { return filterCase_ == 4; } /** - * - * *
    * A group name. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -447,7 +392,6 @@ public boolean hasDescendantsOfGroup() {
    * 
* * string descendants_of_group = 4 [(.google.api.resource_reference) = { ... } - * * @return The descendantsOfGroup. */ public java.lang.String getDescendantsOfGroup() { @@ -458,7 +402,8 @@ public java.lang.String getDescendantsOfGroup() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (filterCase_ == 4) { filter_ = s; @@ -467,8 +412,6 @@ public java.lang.String getDescendantsOfGroup() { } } /** - * - * *
    * A group name. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -478,17 +421,18 @@ public java.lang.String getDescendantsOfGroup() {
    * 
* * string descendants_of_group = 4 [(.google.api.resource_reference) = { ... } - * * @return The bytes for descendantsOfGroup. */ - public com.google.protobuf.ByteString getDescendantsOfGroupBytes() { + public com.google.protobuf.ByteString + getDescendantsOfGroupBytes() { java.lang.Object ref = ""; if (filterCase_ == 4) { 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); if (filterCase_ == 4) { filter_ = b; } @@ -501,14 +445,11 @@ public com.google.protobuf.ByteString getDescendantsOfGroupBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 5; private int pageSize_; /** - * - * *
    * A positive number that is the maximum number of results to return.
    * 
* * int32 page_size = 5; - * * @return The pageSize. */ @java.lang.Override @@ -519,8 +460,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 6; private volatile java.lang.Object pageToken_; /** - * - * *
    * If this field is not empty then it must contain the `next_page_token` value
    * returned by a previous call to this method.  Using this field causes the
@@ -528,7 +467,6 @@ public int getPageSize() {
    * 
* * string page_token = 6; - * * @return The pageToken. */ @java.lang.Override @@ -537,15 +475,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * If this field is not empty then it must contain the `next_page_token` value
    * returned by a previous call to this method.  Using this field causes the
@@ -553,15 +490,16 @@ public java.lang.String getPageToken() {
    * 
* * 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 { @@ -570,7 +508,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -582,7 +519,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 (filterCase_ == 2) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, filter_); } @@ -620,7 +558,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filter_); } 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_); @@ -636,27 +575,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.ListGroupsRequest)) { return super.equals(obj); } - com.google.monitoring.v3.ListGroupsRequest other = - (com.google.monitoring.v3.ListGroupsRequest) obj; + com.google.monitoring.v3.ListGroupsRequest other = (com.google.monitoring.v3.ListGroupsRequest) obj; - if (!getName().equals(other.getName())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getName() + .equals(other.getName())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getFilterCase().equals(other.getFilterCase())) return false; switch (filterCase_) { case 2: - if (!getChildrenOfGroup().equals(other.getChildrenOfGroup())) return false; + if (!getChildrenOfGroup() + .equals(other.getChildrenOfGroup())) return false; break; case 3: - if (!getAncestorsOfGroup().equals(other.getAncestorsOfGroup())) return false; + if (!getAncestorsOfGroup() + .equals(other.getAncestorsOfGroup())) return false; break; case 4: - if (!getDescendantsOfGroup().equals(other.getDescendantsOfGroup())) return false; + if (!getDescendantsOfGroup() + .equals(other.getDescendantsOfGroup())) return false; break; case 0: default: @@ -699,127 +643,118 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.ListGroupsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.ListGroupsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListGroupsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListGroupsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListGroupsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListGroupsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListGroupsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListGroupsRequest 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.monitoring.v3.ListGroupsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.ListGroupsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.ListGroupsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListGroupsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListGroupsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListGroupsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.ListGroupsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 `ListGroup` request.
    * 
* * Protobuf type {@code google.monitoring.v3.ListGroupsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListGroupsRequest) com.google.monitoring.v3.ListGroupsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.GroupServiceProto - .internal_static_google_monitoring_v3_ListGroupsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_ListGroupsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.GroupServiceProto - .internal_static_google_monitoring_v3_ListGroupsRequest_fieldAccessorTable + return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_ListGroupsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListGroupsRequest.class, - com.google.monitoring.v3.ListGroupsRequest.Builder.class); + com.google.monitoring.v3.ListGroupsRequest.class, com.google.monitoring.v3.ListGroupsRequest.Builder.class); } // Construct using com.google.monitoring.v3.ListGroupsRequest.newBuilder() @@ -827,15 +762,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -851,9 +787,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.GroupServiceProto - .internal_static_google_monitoring_v3_ListGroupsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_ListGroupsRequest_descriptor; } @java.lang.Override @@ -872,8 +808,7 @@ public com.google.monitoring.v3.ListGroupsRequest build() { @java.lang.Override public com.google.monitoring.v3.ListGroupsRequest buildPartial() { - com.google.monitoring.v3.ListGroupsRequest result = - new com.google.monitoring.v3.ListGroupsRequest(this); + com.google.monitoring.v3.ListGroupsRequest result = new com.google.monitoring.v3.ListGroupsRequest(this); result.name_ = name_; if (filterCase_ == 2) { result.filter_ = filter_; @@ -895,39 +830,38 @@ public com.google.monitoring.v3.ListGroupsRequest 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.monitoring.v3.ListGroupsRequest) { - return mergeFrom((com.google.monitoring.v3.ListGroupsRequest) other); + return mergeFrom((com.google.monitoring.v3.ListGroupsRequest)other); } else { super.mergeFrom(other); return this; @@ -948,31 +882,27 @@ public Builder mergeFrom(com.google.monitoring.v3.ListGroupsRequest other) { onChanged(); } switch (other.getFilterCase()) { - case CHILDREN_OF_GROUP: - { - filterCase_ = 2; - filter_ = other.filter_; - onChanged(); - break; - } - case ANCESTORS_OF_GROUP: - { - filterCase_ = 3; - filter_ = other.filter_; - onChanged(); - break; - } - case DESCENDANTS_OF_GROUP: - { - filterCase_ = 4; - filter_ = other.filter_; - onChanged(); - break; - } - case FILTER_NOT_SET: - { - break; - } + case CHILDREN_OF_GROUP: { + filterCase_ = 2; + filter_ = other.filter_; + onChanged(); + break; + } + case ANCESTORS_OF_GROUP: { + filterCase_ = 3; + filter_ = other.filter_; + onChanged(); + break; + } + case DESCENDANTS_OF_GROUP: { + filterCase_ = 4; + filter_ = other.filter_; + onChanged(); + break; + } + case FILTER_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1002,12 +932,12 @@ public Builder mergeFrom( } return this; } - private int filterCase_ = 0; private java.lang.Object filter_; - - public FilterCase getFilterCase() { - return FilterCase.forNumber(filterCase_); + public FilterCase + getFilterCase() { + return FilterCase.forNumber( + filterCase_); } public Builder clearFilter() { @@ -1017,26 +947,23 @@ public Builder clearFilter() { return this; } + private java.lang.Object name_ = ""; /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
      * whose groups are to be listed. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1045,25 +972,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
      * whose groups are to be listed. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1071,81 +995,66 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
      * whose groups are to be listed. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
      * whose groups are to be listed. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
      * whose groups are to be listed. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } /** - * - * *
      * A group name. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1154,7 +1063,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string children_of_group = 2 [(.google.api.resource_reference) = { ... } - * * @return Whether the childrenOfGroup field is set. */ @java.lang.Override @@ -1162,8 +1070,6 @@ public boolean hasChildrenOfGroup() { return filterCase_ == 2; } /** - * - * *
      * A group name. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1172,7 +1078,6 @@ public boolean hasChildrenOfGroup() {
      * 
* * string children_of_group = 2 [(.google.api.resource_reference) = { ... } - * * @return The childrenOfGroup. */ @java.lang.Override @@ -1182,7 +1087,8 @@ public java.lang.String getChildrenOfGroup() { 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(); if (filterCase_ == 2) { filter_ = s; @@ -1193,8 +1099,6 @@ public java.lang.String getChildrenOfGroup() { } } /** - * - * *
      * A group name. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1203,18 +1107,19 @@ public java.lang.String getChildrenOfGroup() {
      * 
* * string children_of_group = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for childrenOfGroup. */ @java.lang.Override - public com.google.protobuf.ByteString getChildrenOfGroupBytes() { + public com.google.protobuf.ByteString + getChildrenOfGroupBytes() { java.lang.Object ref = ""; if (filterCase_ == 2) { 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); if (filterCase_ == 2) { filter_ = b; } @@ -1224,8 +1129,6 @@ public com.google.protobuf.ByteString getChildrenOfGroupBytes() { } } /** - * - * *
      * A group name. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1234,22 +1137,20 @@ public com.google.protobuf.ByteString getChildrenOfGroupBytes() {
      * 
* * string children_of_group = 2 [(.google.api.resource_reference) = { ... } - * * @param value The childrenOfGroup to set. * @return This builder for chaining. */ - public Builder setChildrenOfGroup(java.lang.String value) { + public Builder setChildrenOfGroup( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - filterCase_ = 2; + throw new NullPointerException(); + } + filterCase_ = 2; filter_ = value; onChanged(); return this; } /** - * - * *
      * A group name. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1258,7 +1159,6 @@ public Builder setChildrenOfGroup(java.lang.String value) {
      * 
* * string children_of_group = 2 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearChildrenOfGroup() { @@ -1270,8 +1170,6 @@ public Builder clearChildrenOfGroup() { return this; } /** - * - * *
      * A group name. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1280,15 +1178,15 @@ public Builder clearChildrenOfGroup() {
      * 
* * string children_of_group = 2 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for childrenOfGroup to set. * @return This builder for chaining. */ - public Builder setChildrenOfGroupBytes(com.google.protobuf.ByteString value) { + public Builder setChildrenOfGroupBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); filterCase_ = 2; filter_ = value; onChanged(); @@ -1296,8 +1194,6 @@ public Builder setChildrenOfGroupBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * A group name. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1308,7 +1204,6 @@ public Builder setChildrenOfGroupBytes(com.google.protobuf.ByteString value) {
      * 
* * string ancestors_of_group = 3 [(.google.api.resource_reference) = { ... } - * * @return Whether the ancestorsOfGroup field is set. */ @java.lang.Override @@ -1316,8 +1211,6 @@ public boolean hasAncestorsOfGroup() { return filterCase_ == 3; } /** - * - * *
      * A group name. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1328,7 +1221,6 @@ public boolean hasAncestorsOfGroup() {
      * 
* * string ancestors_of_group = 3 [(.google.api.resource_reference) = { ... } - * * @return The ancestorsOfGroup. */ @java.lang.Override @@ -1338,7 +1230,8 @@ public java.lang.String getAncestorsOfGroup() { 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(); if (filterCase_ == 3) { filter_ = s; @@ -1349,8 +1242,6 @@ public java.lang.String getAncestorsOfGroup() { } } /** - * - * *
      * A group name. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1361,18 +1252,19 @@ public java.lang.String getAncestorsOfGroup() {
      * 
* * string ancestors_of_group = 3 [(.google.api.resource_reference) = { ... } - * * @return The bytes for ancestorsOfGroup. */ @java.lang.Override - public com.google.protobuf.ByteString getAncestorsOfGroupBytes() { + public com.google.protobuf.ByteString + getAncestorsOfGroupBytes() { java.lang.Object ref = ""; if (filterCase_ == 3) { 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); if (filterCase_ == 3) { filter_ = b; } @@ -1382,8 +1274,6 @@ public com.google.protobuf.ByteString getAncestorsOfGroupBytes() { } } /** - * - * *
      * A group name. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1394,22 +1284,20 @@ public com.google.protobuf.ByteString getAncestorsOfGroupBytes() {
      * 
* * string ancestors_of_group = 3 [(.google.api.resource_reference) = { ... } - * * @param value The ancestorsOfGroup to set. * @return This builder for chaining. */ - public Builder setAncestorsOfGroup(java.lang.String value) { + public Builder setAncestorsOfGroup( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - filterCase_ = 3; + throw new NullPointerException(); + } + filterCase_ = 3; filter_ = value; onChanged(); return this; } /** - * - * *
      * A group name. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1420,7 +1308,6 @@ public Builder setAncestorsOfGroup(java.lang.String value) {
      * 
* * string ancestors_of_group = 3 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearAncestorsOfGroup() { @@ -1432,8 +1319,6 @@ public Builder clearAncestorsOfGroup() { return this; } /** - * - * *
      * A group name. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1444,15 +1329,15 @@ public Builder clearAncestorsOfGroup() {
      * 
* * string ancestors_of_group = 3 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for ancestorsOfGroup to set. * @return This builder for chaining. */ - public Builder setAncestorsOfGroupBytes(com.google.protobuf.ByteString value) { + public Builder setAncestorsOfGroupBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); filterCase_ = 3; filter_ = value; onChanged(); @@ -1460,8 +1345,6 @@ public Builder setAncestorsOfGroupBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * A group name. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1471,7 +1354,6 @@ public Builder setAncestorsOfGroupBytes(com.google.protobuf.ByteString value) {
      * 
* * string descendants_of_group = 4 [(.google.api.resource_reference) = { ... } - * * @return Whether the descendantsOfGroup field is set. */ @java.lang.Override @@ -1479,8 +1361,6 @@ public boolean hasDescendantsOfGroup() { return filterCase_ == 4; } /** - * - * *
      * A group name. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1490,7 +1370,6 @@ public boolean hasDescendantsOfGroup() {
      * 
* * string descendants_of_group = 4 [(.google.api.resource_reference) = { ... } - * * @return The descendantsOfGroup. */ @java.lang.Override @@ -1500,7 +1379,8 @@ public java.lang.String getDescendantsOfGroup() { 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(); if (filterCase_ == 4) { filter_ = s; @@ -1511,8 +1391,6 @@ public java.lang.String getDescendantsOfGroup() { } } /** - * - * *
      * A group name. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1522,18 +1400,19 @@ public java.lang.String getDescendantsOfGroup() {
      * 
* * string descendants_of_group = 4 [(.google.api.resource_reference) = { ... } - * * @return The bytes for descendantsOfGroup. */ @java.lang.Override - public com.google.protobuf.ByteString getDescendantsOfGroupBytes() { + public com.google.protobuf.ByteString + getDescendantsOfGroupBytes() { java.lang.Object ref = ""; if (filterCase_ == 4) { 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); if (filterCase_ == 4) { filter_ = b; } @@ -1543,8 +1422,6 @@ public com.google.protobuf.ByteString getDescendantsOfGroupBytes() { } } /** - * - * *
      * A group name. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1554,22 +1431,20 @@ public com.google.protobuf.ByteString getDescendantsOfGroupBytes() {
      * 
* * string descendants_of_group = 4 [(.google.api.resource_reference) = { ... } - * * @param value The descendantsOfGroup to set. * @return This builder for chaining. */ - public Builder setDescendantsOfGroup(java.lang.String value) { + public Builder setDescendantsOfGroup( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - filterCase_ = 4; + throw new NullPointerException(); + } + filterCase_ = 4; filter_ = value; onChanged(); return this; } /** - * - * *
      * A group name. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1579,7 +1454,6 @@ public Builder setDescendantsOfGroup(java.lang.String value) {
      * 
* * string descendants_of_group = 4 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearDescendantsOfGroup() { @@ -1591,8 +1465,6 @@ public Builder clearDescendantsOfGroup() { return this; } /** - * - * *
      * A group name. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1602,31 +1474,28 @@ public Builder clearDescendantsOfGroup() {
      * 
* * string descendants_of_group = 4 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for descendantsOfGroup to set. * @return This builder for chaining. */ - public Builder setDescendantsOfGroupBytes(com.google.protobuf.ByteString value) { + public Builder setDescendantsOfGroupBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); filterCase_ = 4; filter_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * A positive number that is the maximum number of results to return.
      * 
* * int32 page_size = 5; - * * @return The pageSize. */ @java.lang.Override @@ -1634,36 +1503,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * A positive number that is the maximum number of results to return.
      * 
* * 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; } /** - * - * *
      * A positive number that is the maximum number of results to return.
      * 
* * int32 page_size = 5; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1671,8 +1534,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * If this field is not empty then it must contain the `next_page_token` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1680,13 +1541,13 @@ public Builder clearPageSize() {
      * 
* * 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; @@ -1695,8 +1556,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * If this field is not empty then it must contain the `next_page_token` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1704,14 +1563,15 @@ public java.lang.String getPageToken() {
      * 
* * 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 { @@ -1719,8 +1579,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * If this field is not empty then it must contain the `next_page_token` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1728,22 +1586,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * 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; } /** - * - * *
      * If this field is not empty then it must contain the `next_page_token` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1751,18 +1607,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 6; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * If this field is not empty then it must contain the `next_page_token` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1770,23 +1623,23 @@ public Builder clearPageToken() {
      * 
* * 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; } - @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); } @@ -1796,12 +1649,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListGroupsRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListGroupsRequest) private static final com.google.monitoring.v3.ListGroupsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListGroupsRequest(); } @@ -1810,16 +1663,16 @@ public static com.google.monitoring.v3.ListGroupsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListGroupsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListGroupsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListGroupsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListGroupsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1834,4 +1687,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.ListGroupsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsRequestOrBuilder.java similarity index 81% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsRequestOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsRequestOrBuilder.java index cd4f165b..32059f7b 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsRequestOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/group_service.proto package com.google.monitoring.v3; -public interface ListGroupsRequestOrBuilder - extends +public interface ListGroupsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListGroupsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
    * whose groups are to be listed. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * - * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
    * whose groups are to be listed. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * - * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * A group name. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -67,13 +40,10 @@ public interface ListGroupsRequestOrBuilder
    * 
* * string children_of_group = 2 [(.google.api.resource_reference) = { ... } - * * @return Whether the childrenOfGroup field is set. */ boolean hasChildrenOfGroup(); /** - * - * *
    * A group name. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -82,13 +52,10 @@ public interface ListGroupsRequestOrBuilder
    * 
* * string children_of_group = 2 [(.google.api.resource_reference) = { ... } - * * @return The childrenOfGroup. */ java.lang.String getChildrenOfGroup(); /** - * - * *
    * A group name. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -97,14 +64,12 @@ public interface ListGroupsRequestOrBuilder
    * 
* * string children_of_group = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for childrenOfGroup. */ - com.google.protobuf.ByteString getChildrenOfGroupBytes(); + com.google.protobuf.ByteString + getChildrenOfGroupBytes(); /** - * - * *
    * A group name. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -115,13 +80,10 @@ public interface ListGroupsRequestOrBuilder
    * 
* * string ancestors_of_group = 3 [(.google.api.resource_reference) = { ... } - * * @return Whether the ancestorsOfGroup field is set. */ boolean hasAncestorsOfGroup(); /** - * - * *
    * A group name. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -132,13 +94,10 @@ public interface ListGroupsRequestOrBuilder
    * 
* * string ancestors_of_group = 3 [(.google.api.resource_reference) = { ... } - * * @return The ancestorsOfGroup. */ java.lang.String getAncestorsOfGroup(); /** - * - * *
    * A group name. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -149,14 +108,12 @@ public interface ListGroupsRequestOrBuilder
    * 
* * string ancestors_of_group = 3 [(.google.api.resource_reference) = { ... } - * * @return The bytes for ancestorsOfGroup. */ - com.google.protobuf.ByteString getAncestorsOfGroupBytes(); + com.google.protobuf.ByteString + getAncestorsOfGroupBytes(); /** - * - * *
    * A group name. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -166,13 +123,10 @@ public interface ListGroupsRequestOrBuilder
    * 
* * string descendants_of_group = 4 [(.google.api.resource_reference) = { ... } - * * @return Whether the descendantsOfGroup field is set. */ boolean hasDescendantsOfGroup(); /** - * - * *
    * A group name. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -182,13 +136,10 @@ public interface ListGroupsRequestOrBuilder
    * 
* * string descendants_of_group = 4 [(.google.api.resource_reference) = { ... } - * * @return The descendantsOfGroup. */ java.lang.String getDescendantsOfGroup(); /** - * - * *
    * A group name. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -198,27 +149,22 @@ public interface ListGroupsRequestOrBuilder
    * 
* * string descendants_of_group = 4 [(.google.api.resource_reference) = { ... } - * * @return The bytes for descendantsOfGroup. */ - com.google.protobuf.ByteString getDescendantsOfGroupBytes(); + com.google.protobuf.ByteString + getDescendantsOfGroupBytes(); /** - * - * *
    * A positive number that is the maximum number of results to return.
    * 
* * int32 page_size = 5; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If this field is not empty then it must contain the `next_page_token` value
    * returned by a previous call to this method.  Using this field causes the
@@ -226,13 +172,10 @@ public interface ListGroupsRequestOrBuilder
    * 
* * string page_token = 6; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * If this field is not empty then it must contain the `next_page_token` value
    * returned by a previous call to this method.  Using this field causes the
@@ -240,10 +183,10 @@ public interface ListGroupsRequestOrBuilder
    * 
* * string page_token = 6; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); public com.google.monitoring.v3.ListGroupsRequest.FilterCase getFilterCase(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsResponse.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsResponse.java similarity index 74% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsResponse.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsResponse.java index 3e0ddc0e..0a741326 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsResponse.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsResponse.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/monitoring/v3/group_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `ListGroups` response.
  * 
* * Protobuf type {@code google.monitoring.v3.ListGroupsResponse} */ -public final class ListGroupsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListGroupsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListGroupsResponse) ListGroupsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListGroupsResponse.newBuilder() to construct. private ListGroupsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListGroupsResponse() { group_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListGroupsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListGroupsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListGroupsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,36 +55,35 @@ private ListGroupsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - group_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - group_.add( - input.readMessage(com.google.monitoring.v3.Group.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + group_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + group_.add( + input.readMessage(com.google.monitoring.v3.Group.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { group_ = java.util.Collections.unmodifiableList(group_); @@ -110,27 +92,22 @@ private ListGroupsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.GroupServiceProto - .internal_static_google_monitoring_v3_ListGroupsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_ListGroupsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.GroupServiceProto - .internal_static_google_monitoring_v3_ListGroupsResponse_fieldAccessorTable + return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_ListGroupsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListGroupsResponse.class, - com.google.monitoring.v3.ListGroupsResponse.Builder.class); + com.google.monitoring.v3.ListGroupsResponse.class, com.google.monitoring.v3.ListGroupsResponse.Builder.class); } public static final int GROUP_FIELD_NUMBER = 1; private java.util.List group_; /** - * - * *
    * The groups that match the specified filters.
    * 
@@ -142,8 +119,6 @@ public java.util.List getGroupList() { return group_; } /** - * - * *
    * The groups that match the specified filters.
    * 
@@ -151,12 +126,11 @@ public java.util.List getGroupList() { * repeated .google.monitoring.v3.Group group = 1; */ @java.lang.Override - public java.util.List getGroupOrBuilderList() { + public java.util.List + getGroupOrBuilderList() { return group_; } /** - * - * *
    * The groups that match the specified filters.
    * 
@@ -168,8 +142,6 @@ public int getGroupCount() { return group_.size(); } /** - * - * *
    * The groups that match the specified filters.
    * 
@@ -181,8 +153,6 @@ public com.google.monitoring.v3.Group getGroup(int index) { return group_.get(index); } /** - * - * *
    * The groups that match the specified filters.
    * 
@@ -190,15 +160,14 @@ public com.google.monitoring.v3.Group getGroup(int index) { * repeated .google.monitoring.v3.Group group = 1; */ @java.lang.Override - public com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder(int index) { + public com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder( + int index) { return group_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -206,7 +175,6 @@ public com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder(int index) {
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -215,15 +183,14 @@ 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; } } /** - * - * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -231,15 +198,16 @@ public java.lang.String getNextPageToken() {
    * 
* * 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 { @@ -248,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -260,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < group_.size(); i++) { output.writeMessage(1, group_.get(i)); } @@ -277,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < group_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, group_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, group_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -290,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.ListGroupsResponse)) { return super.equals(obj); } - com.google.monitoring.v3.ListGroupsResponse other = - (com.google.monitoring.v3.ListGroupsResponse) obj; + com.google.monitoring.v3.ListGroupsResponse other = (com.google.monitoring.v3.ListGroupsResponse) obj; - if (!getGroupList().equals(other.getGroupList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getGroupList() + .equals(other.getGroupList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -322,127 +292,118 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.ListGroupsResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.ListGroupsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListGroupsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListGroupsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListGroupsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListGroupsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListGroupsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListGroupsResponse 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.monitoring.v3.ListGroupsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.ListGroupsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.ListGroupsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListGroupsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListGroupsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListGroupsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.ListGroupsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 `ListGroups` response.
    * 
* * Protobuf type {@code google.monitoring.v3.ListGroupsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListGroupsResponse) com.google.monitoring.v3.ListGroupsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.GroupServiceProto - .internal_static_google_monitoring_v3_ListGroupsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_ListGroupsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.GroupServiceProto - .internal_static_google_monitoring_v3_ListGroupsResponse_fieldAccessorTable + return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_ListGroupsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListGroupsResponse.class, - com.google.monitoring.v3.ListGroupsResponse.Builder.class); + com.google.monitoring.v3.ListGroupsResponse.class, com.google.monitoring.v3.ListGroupsResponse.Builder.class); } // Construct using com.google.monitoring.v3.ListGroupsResponse.newBuilder() @@ -450,17 +411,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getGroupFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -476,9 +437,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.GroupServiceProto - .internal_static_google_monitoring_v3_ListGroupsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_ListGroupsResponse_descriptor; } @java.lang.Override @@ -497,8 +458,7 @@ public com.google.monitoring.v3.ListGroupsResponse build() { @java.lang.Override public com.google.monitoring.v3.ListGroupsResponse buildPartial() { - com.google.monitoring.v3.ListGroupsResponse result = - new com.google.monitoring.v3.ListGroupsResponse(this); + com.google.monitoring.v3.ListGroupsResponse result = new com.google.monitoring.v3.ListGroupsResponse(this); int from_bitField0_ = bitField0_; if (groupBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -518,39 +478,38 @@ public com.google.monitoring.v3.ListGroupsResponse 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.monitoring.v3.ListGroupsResponse) { - return mergeFrom((com.google.monitoring.v3.ListGroupsResponse) other); + return mergeFrom((com.google.monitoring.v3.ListGroupsResponse)other); } else { super.mergeFrom(other); return this; @@ -577,10 +536,9 @@ public Builder mergeFrom(com.google.monitoring.v3.ListGroupsResponse other) { groupBuilder_ = null; group_ = other.group_; bitField0_ = (bitField0_ & ~0x00000001); - groupBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getGroupFieldBuilder() - : null; + groupBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getGroupFieldBuilder() : null; } else { groupBuilder_.addAllMessages(other.group_); } @@ -618,28 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List group_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureGroupIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { group_ = new java.util.ArrayList(group_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.Group, - com.google.monitoring.v3.Group.Builder, - com.google.monitoring.v3.GroupOrBuilder> - groupBuilder_; + com.google.monitoring.v3.Group, com.google.monitoring.v3.Group.Builder, com.google.monitoring.v3.GroupOrBuilder> groupBuilder_; /** - * - * *
      * The groups that match the specified filters.
      * 
@@ -654,8 +605,6 @@ public java.util.List getGroupList() { } } /** - * - * *
      * The groups that match the specified filters.
      * 
@@ -670,8 +619,6 @@ public int getGroupCount() { } } /** - * - * *
      * The groups that match the specified filters.
      * 
@@ -686,15 +633,14 @@ public com.google.monitoring.v3.Group getGroup(int index) { } } /** - * - * *
      * The groups that match the specified filters.
      * 
* * repeated .google.monitoring.v3.Group group = 1; */ - public Builder setGroup(int index, com.google.monitoring.v3.Group value) { + public Builder setGroup( + int index, com.google.monitoring.v3.Group value) { if (groupBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -708,15 +654,14 @@ public Builder setGroup(int index, com.google.monitoring.v3.Group value) { return this; } /** - * - * *
      * The groups that match the specified filters.
      * 
* * repeated .google.monitoring.v3.Group group = 1; */ - public Builder setGroup(int index, com.google.monitoring.v3.Group.Builder builderForValue) { + public Builder setGroup( + int index, com.google.monitoring.v3.Group.Builder builderForValue) { if (groupBuilder_ == null) { ensureGroupIsMutable(); group_.set(index, builderForValue.build()); @@ -727,8 +672,6 @@ public Builder setGroup(int index, com.google.monitoring.v3.Group.Builder builde return this; } /** - * - * *
      * The groups that match the specified filters.
      * 
@@ -749,15 +692,14 @@ public Builder addGroup(com.google.monitoring.v3.Group value) { return this; } /** - * - * *
      * The groups that match the specified filters.
      * 
* * repeated .google.monitoring.v3.Group group = 1; */ - public Builder addGroup(int index, com.google.monitoring.v3.Group value) { + public Builder addGroup( + int index, com.google.monitoring.v3.Group value) { if (groupBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -771,15 +713,14 @@ public Builder addGroup(int index, com.google.monitoring.v3.Group value) { return this; } /** - * - * *
      * The groups that match the specified filters.
      * 
* * repeated .google.monitoring.v3.Group group = 1; */ - public Builder addGroup(com.google.monitoring.v3.Group.Builder builderForValue) { + public Builder addGroup( + com.google.monitoring.v3.Group.Builder builderForValue) { if (groupBuilder_ == null) { ensureGroupIsMutable(); group_.add(builderForValue.build()); @@ -790,15 +731,14 @@ public Builder addGroup(com.google.monitoring.v3.Group.Builder builderForValue) return this; } /** - * - * *
      * The groups that match the specified filters.
      * 
* * repeated .google.monitoring.v3.Group group = 1; */ - public Builder addGroup(int index, com.google.monitoring.v3.Group.Builder builderForValue) { + public Builder addGroup( + int index, com.google.monitoring.v3.Group.Builder builderForValue) { if (groupBuilder_ == null) { ensureGroupIsMutable(); group_.add(index, builderForValue.build()); @@ -809,8 +749,6 @@ public Builder addGroup(int index, com.google.monitoring.v3.Group.Builder builde return this; } /** - * - * *
      * The groups that match the specified filters.
      * 
@@ -821,7 +759,8 @@ public Builder addAllGroup( java.lang.Iterable values) { if (groupBuilder_ == null) { ensureGroupIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, group_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, group_); onChanged(); } else { groupBuilder_.addAllMessages(values); @@ -829,8 +768,6 @@ public Builder addAllGroup( return this; } /** - * - * *
      * The groups that match the specified filters.
      * 
@@ -848,8 +785,6 @@ public Builder clearGroup() { return this; } /** - * - * *
      * The groups that match the specified filters.
      * 
@@ -867,44 +802,39 @@ public Builder removeGroup(int index) { return this; } /** - * - * *
      * The groups that match the specified filters.
      * 
* * repeated .google.monitoring.v3.Group group = 1; */ - public com.google.monitoring.v3.Group.Builder getGroupBuilder(int index) { + public com.google.monitoring.v3.Group.Builder getGroupBuilder( + int index) { return getGroupFieldBuilder().getBuilder(index); } /** - * - * *
      * The groups that match the specified filters.
      * 
* * repeated .google.monitoring.v3.Group group = 1; */ - public com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder(int index) { + public com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder( + int index) { if (groupBuilder_ == null) { - return group_.get(index); - } else { + return group_.get(index); } else { return groupBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The groups that match the specified filters.
      * 
* * repeated .google.monitoring.v3.Group group = 1; */ - public java.util.List - getGroupOrBuilderList() { + public java.util.List + getGroupOrBuilderList() { if (groupBuilder_ != null) { return groupBuilder_.getMessageOrBuilderList(); } else { @@ -912,8 +842,6 @@ public com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder(int index) { } } /** - * - * *
      * The groups that match the specified filters.
      * 
@@ -921,46 +849,42 @@ public com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder(int index) { * repeated .google.monitoring.v3.Group group = 1; */ public com.google.monitoring.v3.Group.Builder addGroupBuilder() { - return getGroupFieldBuilder().addBuilder(com.google.monitoring.v3.Group.getDefaultInstance()); + return getGroupFieldBuilder().addBuilder( + com.google.monitoring.v3.Group.getDefaultInstance()); } /** - * - * *
      * The groups that match the specified filters.
      * 
* * repeated .google.monitoring.v3.Group group = 1; */ - public com.google.monitoring.v3.Group.Builder addGroupBuilder(int index) { - return getGroupFieldBuilder() - .addBuilder(index, com.google.monitoring.v3.Group.getDefaultInstance()); + public com.google.monitoring.v3.Group.Builder addGroupBuilder( + int index) { + return getGroupFieldBuilder().addBuilder( + index, com.google.monitoring.v3.Group.getDefaultInstance()); } /** - * - * *
      * The groups that match the specified filters.
      * 
* * repeated .google.monitoring.v3.Group group = 1; */ - public java.util.List getGroupBuilderList() { + public java.util.List + getGroupBuilderList() { return getGroupFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.Group, - com.google.monitoring.v3.Group.Builder, - com.google.monitoring.v3.GroupOrBuilder> + com.google.monitoring.v3.Group, com.google.monitoring.v3.Group.Builder, com.google.monitoring.v3.GroupOrBuilder> getGroupFieldBuilder() { if (groupBuilder_ == null) { - groupBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.Group, - com.google.monitoring.v3.Group.Builder, - com.google.monitoring.v3.GroupOrBuilder>( - group_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + groupBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.monitoring.v3.Group, com.google.monitoring.v3.Group.Builder, com.google.monitoring.v3.GroupOrBuilder>( + group_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); group_ = null; } return groupBuilder_; @@ -968,8 +892,6 @@ public java.util.List getGroupBuilderLis private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -977,13 +899,13 @@ public java.util.List getGroupBuilderLis
      * 
* * 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; @@ -992,8 +914,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -1001,14 +921,15 @@ public java.lang.String getNextPageToken() {
      * 
* * 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 { @@ -1016,8 +937,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -1025,22 +944,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * 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; } /** - * - * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -1048,18 +965,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -1067,23 +981,23 @@ public Builder clearNextPageToken() {
      * 
* * 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); } @@ -1093,12 +1007,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListGroupsResponse) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListGroupsResponse) private static final com.google.monitoring.v3.ListGroupsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListGroupsResponse(); } @@ -1107,16 +1021,16 @@ public static com.google.monitoring.v3.ListGroupsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListGroupsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListGroupsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListGroupsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListGroupsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1131,4 +1045,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.ListGroupsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsResponseOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsResponseOrBuilder.java similarity index 66% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsResponseOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsResponseOrBuilder.java index 676f6826..c6f8c823 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsResponseOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsResponseOrBuilder.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/monitoring/v3/group_service.proto package com.google.monitoring.v3; -public interface ListGroupsResponseOrBuilder - extends +public interface ListGroupsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListGroupsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The groups that match the specified filters.
    * 
* * repeated .google.monitoring.v3.Group group = 1; */ - java.util.List getGroupList(); + java.util.List + getGroupList(); /** - * - * *
    * The groups that match the specified filters.
    * 
@@ -44,8 +25,6 @@ public interface ListGroupsResponseOrBuilder */ com.google.monitoring.v3.Group getGroup(int index); /** - * - * *
    * The groups that match the specified filters.
    * 
@@ -54,29 +33,25 @@ public interface ListGroupsResponseOrBuilder */ int getGroupCount(); /** - * - * *
    * The groups that match the specified filters.
    * 
* * repeated .google.monitoring.v3.Group group = 1; */ - java.util.List getGroupOrBuilderList(); + java.util.List + getGroupOrBuilderList(); /** - * - * *
    * The groups that match the specified filters.
    * 
* * repeated .google.monitoring.v3.Group group = 1; */ - com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder(int index); + com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder( + int index); /** - * - * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -84,13 +59,10 @@ public interface ListGroupsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -98,8 +70,8 @@ public interface ListGroupsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsRequest.java similarity index 72% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsRequest.java index 5a4ff8ae..a51ba099 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsRequest.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/monitoring/v3/metric_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `ListMetricDescriptors` request.
  * 
* * Protobuf type {@code google.monitoring.v3.ListMetricDescriptorsRequest} */ -public final class ListMetricDescriptorsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListMetricDescriptorsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListMetricDescriptorsRequest) ListMetricDescriptorsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListMetricDescriptorsRequest.newBuilder() to construct. private ListMetricDescriptorsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListMetricDescriptorsRequest() { name_ = ""; filter_ = ""; @@ -45,15 +27,16 @@ private ListMetricDescriptorsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListMetricDescriptorsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListMetricDescriptorsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,81 +55,71 @@ private ListMetricDescriptorsRequest( case 0: done = true; break; - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 24: - { - pageSize_ = input.readInt32(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 24: { - pageToken_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageToken_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_ListMetricDescriptorsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListMetricDescriptorsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_ListMetricDescriptorsRequest_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListMetricDescriptorsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListMetricDescriptorsRequest.class, - com.google.monitoring.v3.ListMetricDescriptorsRequest.Builder.class); + com.google.monitoring.v3.ListMetricDescriptorsRequest.class, com.google.monitoring.v3.ListMetricDescriptorsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 5; private volatile java.lang.Object name_; /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -155,33 +128,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -192,8 +163,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** - * - * *
    * If this field is empty, all custom and
    * system-defined metric descriptors are returned.
@@ -205,7 +174,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -214,15 +182,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * If this field is empty, all custom and
    * system-defined metric descriptors are returned.
@@ -234,15 +201,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2; - * * @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 { @@ -253,14 +221,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * A positive number that is the maximum number of results to return.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -271,8 +236,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** - * - * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -280,7 +243,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -289,15 +251,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -305,15 +266,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -322,7 +284,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -334,7 +295,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(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, filter_); } @@ -360,7 +322,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -376,18 +339,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.monitoring.v3.ListMetricDescriptorsRequest)) { return super.equals(obj); } - com.google.monitoring.v3.ListMetricDescriptorsRequest other = - (com.google.monitoring.v3.ListMetricDescriptorsRequest) obj; - - if (!getName().equals(other.getName())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.monitoring.v3.ListMetricDescriptorsRequest other = (com.google.monitoring.v3.ListMetricDescriptorsRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -413,127 +379,117 @@ public int hashCode() { } public static com.google.monitoring.v3.ListMetricDescriptorsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListMetricDescriptorsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListMetricDescriptorsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListMetricDescriptorsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListMetricDescriptorsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListMetricDescriptorsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.ListMetricDescriptorsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.ListMetricDescriptorsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListMetricDescriptorsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.ListMetricDescriptorsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.ListMetricDescriptorsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListMetricDescriptorsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListMetricDescriptorsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListMetricDescriptorsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.ListMetricDescriptorsRequest prototype) { + public static Builder newBuilder(com.google.monitoring.v3.ListMetricDescriptorsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 `ListMetricDescriptors` request.
    * 
* * Protobuf type {@code google.monitoring.v3.ListMetricDescriptorsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListMetricDescriptorsRequest) com.google.monitoring.v3.ListMetricDescriptorsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_ListMetricDescriptorsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListMetricDescriptorsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_ListMetricDescriptorsRequest_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListMetricDescriptorsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListMetricDescriptorsRequest.class, - com.google.monitoring.v3.ListMetricDescriptorsRequest.Builder.class); + com.google.monitoring.v3.ListMetricDescriptorsRequest.class, com.google.monitoring.v3.ListMetricDescriptorsRequest.Builder.class); } // Construct using com.google.monitoring.v3.ListMetricDescriptorsRequest.newBuilder() @@ -541,15 +497,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -565,9 +522,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_ListMetricDescriptorsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListMetricDescriptorsRequest_descriptor; } @java.lang.Override @@ -586,8 +543,7 @@ public com.google.monitoring.v3.ListMetricDescriptorsRequest build() { @java.lang.Override public com.google.monitoring.v3.ListMetricDescriptorsRequest buildPartial() { - com.google.monitoring.v3.ListMetricDescriptorsRequest result = - new com.google.monitoring.v3.ListMetricDescriptorsRequest(this); + com.google.monitoring.v3.ListMetricDescriptorsRequest result = new com.google.monitoring.v3.ListMetricDescriptorsRequest(this); result.name_ = name_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -600,39 +556,38 @@ public com.google.monitoring.v3.ListMetricDescriptorsRequest 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.monitoring.v3.ListMetricDescriptorsRequest) { - return mergeFrom((com.google.monitoring.v3.ListMetricDescriptorsRequest) other); + return mergeFrom((com.google.monitoring.v3.ListMetricDescriptorsRequest)other); } else { super.mergeFrom(other); return this; @@ -640,8 +595,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.ListMetricDescriptorsRequest other) { - if (other == com.google.monitoring.v3.ListMetricDescriptorsRequest.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.ListMetricDescriptorsRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -676,8 +630,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.ListMetricDescriptorsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.ListMetricDescriptorsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -689,24 +642,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -715,25 +664,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -741,73 +687,60 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -815,8 +748,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * If this field is empty, all custom and
      * system-defined metric descriptors are returned.
@@ -828,13 +759,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 2; - * * @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; @@ -843,8 +774,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * If this field is empty, all custom and
      * system-defined metric descriptors are returned.
@@ -856,14 +785,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; - * * @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 { @@ -871,8 +801,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * If this field is empty, all custom and
      * system-defined metric descriptors are returned.
@@ -884,22 +812,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 2; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * If this field is empty, all custom and
      * system-defined metric descriptors are returned.
@@ -911,18 +837,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * If this field is empty, all custom and
      * system-defined metric descriptors are returned.
@@ -934,31 +857,28 @@ public Builder clearFilter() {
      * 
* * string filter = 2; - * * @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; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * A positive number that is the maximum number of results to return.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -966,36 +886,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * A positive number that is the maximum number of results to return.
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * A positive number that is the maximum number of results to return.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1003,8 +917,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1012,13 +924,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1027,8 +939,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1036,14 +946,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1051,8 +962,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1060,22 +969,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1083,18 +990,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1102,23 +1006,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1128,12 +1032,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListMetricDescriptorsRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListMetricDescriptorsRequest) private static final com.google.monitoring.v3.ListMetricDescriptorsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListMetricDescriptorsRequest(); } @@ -1142,16 +1046,16 @@ public static com.google.monitoring.v3.ListMetricDescriptorsRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMetricDescriptorsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListMetricDescriptorsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMetricDescriptorsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListMetricDescriptorsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1166,4 +1070,6 @@ public com.google.protobuf.Parser getParserForType public com.google.monitoring.v3.ListMetricDescriptorsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsRequestOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsRequestOrBuilder.java index 6d3705c1..79e81e34 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsRequestOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric_service.proto package com.google.monitoring.v3; -public interface ListMetricDescriptorsRequestOrBuilder - extends +public interface ListMetricDescriptorsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListMetricDescriptorsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * If this field is empty, all custom and
    * system-defined metric descriptors are returned.
@@ -70,13 +43,10 @@ public interface ListMetricDescriptorsRequestOrBuilder
    * 
* * string filter = 2; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * If this field is empty, all custom and
    * system-defined metric descriptors are returned.
@@ -88,27 +58,22 @@ public interface ListMetricDescriptorsRequestOrBuilder
    * 
* * string filter = 2; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * A positive number that is the maximum number of results to return.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -116,13 +81,10 @@ public interface ListMetricDescriptorsRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -130,8 +92,8 @@ public interface ListMetricDescriptorsRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsResponse.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsResponse.java similarity index 75% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsResponse.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsResponse.java index 488f2b9b..a5a631c6 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsResponse.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsResponse.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/monitoring/v3/metric_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `ListMetricDescriptors` response.
  * 
* * Protobuf type {@code google.monitoring.v3.ListMetricDescriptorsResponse} */ -public final class ListMetricDescriptorsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListMetricDescriptorsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListMetricDescriptorsResponse) ListMetricDescriptorsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListMetricDescriptorsResponse.newBuilder() to construct. private ListMetricDescriptorsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListMetricDescriptorsResponse() { metricDescriptors_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListMetricDescriptorsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListMetricDescriptorsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListMetricDescriptorsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,36 +55,35 @@ private ListMetricDescriptorsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - metricDescriptors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - metricDescriptors_.add( - input.readMessage(com.google.api.MetricDescriptor.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + metricDescriptors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + metricDescriptors_.add( + input.readMessage(com.google.api.MetricDescriptor.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { metricDescriptors_ = java.util.Collections.unmodifiableList(metricDescriptors_); @@ -110,27 +92,22 @@ private ListMetricDescriptorsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_ListMetricDescriptorsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListMetricDescriptorsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_ListMetricDescriptorsResponse_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListMetricDescriptorsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListMetricDescriptorsResponse.class, - com.google.monitoring.v3.ListMetricDescriptorsResponse.Builder.class); + com.google.monitoring.v3.ListMetricDescriptorsResponse.class, com.google.monitoring.v3.ListMetricDescriptorsResponse.Builder.class); } public static final int METRIC_DESCRIPTORS_FIELD_NUMBER = 1; private java.util.List metricDescriptors_; /** - * - * *
    * The metric descriptors that are available to the project
    * and that match the value of `filter`, if present.
@@ -143,8 +120,6 @@ public java.util.List getMetricDescriptorsList(
     return metricDescriptors_;
   }
   /**
-   *
-   *
    * 
    * The metric descriptors that are available to the project
    * and that match the value of `filter`, if present.
@@ -153,13 +128,11 @@ public java.util.List getMetricDescriptorsList(
    * repeated .google.api.MetricDescriptor metric_descriptors = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getMetricDescriptorsOrBuilderList() {
     return metricDescriptors_;
   }
   /**
-   *
-   *
    * 
    * The metric descriptors that are available to the project
    * and that match the value of `filter`, if present.
@@ -172,8 +145,6 @@ public int getMetricDescriptorsCount() {
     return metricDescriptors_.size();
   }
   /**
-   *
-   *
    * 
    * The metric descriptors that are available to the project
    * and that match the value of `filter`, if present.
@@ -186,8 +157,6 @@ public com.google.api.MetricDescriptor getMetricDescriptors(int index) {
     return metricDescriptors_.get(index);
   }
   /**
-   *
-   *
    * 
    * The metric descriptors that are available to the project
    * and that match the value of `filter`, if present.
@@ -196,15 +165,14 @@ public com.google.api.MetricDescriptor getMetricDescriptors(int index) {
    * repeated .google.api.MetricDescriptor metric_descriptors = 1;
    */
   @java.lang.Override
-  public com.google.api.MetricDescriptorOrBuilder getMetricDescriptorsOrBuilder(int index) {
+  public com.google.api.MetricDescriptorOrBuilder getMetricDescriptorsOrBuilder(
+      int index) {
     return metricDescriptors_.get(index);
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
   private volatile java.lang.Object nextPageToken_;
   /**
-   *
-   *
    * 
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -212,7 +180,6 @@ public com.google.api.MetricDescriptorOrBuilder getMetricDescriptorsOrBuilder(in
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -221,15 +188,14 @@ 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; } } /** - * - * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -237,15 +203,16 @@ public java.lang.String getNextPageToken() {
    * 
* * 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 { @@ -254,7 +221,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -266,7 +232,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 < metricDescriptors_.size(); i++) { output.writeMessage(1, metricDescriptors_.get(i)); } @@ -283,8 +250,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < metricDescriptors_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, metricDescriptors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, metricDescriptors_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -297,16 +264,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.monitoring.v3.ListMetricDescriptorsResponse)) { return super.equals(obj); } - com.google.monitoring.v3.ListMetricDescriptorsResponse other = - (com.google.monitoring.v3.ListMetricDescriptorsResponse) obj; + com.google.monitoring.v3.ListMetricDescriptorsResponse other = (com.google.monitoring.v3.ListMetricDescriptorsResponse) obj; - if (!getMetricDescriptorsList().equals(other.getMetricDescriptorsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getMetricDescriptorsList() + .equals(other.getMetricDescriptorsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -330,127 +298,117 @@ public int hashCode() { } public static com.google.monitoring.v3.ListMetricDescriptorsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListMetricDescriptorsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListMetricDescriptorsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListMetricDescriptorsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListMetricDescriptorsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListMetricDescriptorsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.ListMetricDescriptorsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.ListMetricDescriptorsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListMetricDescriptorsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.ListMetricDescriptorsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.ListMetricDescriptorsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListMetricDescriptorsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListMetricDescriptorsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListMetricDescriptorsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.ListMetricDescriptorsResponse prototype) { + public static Builder newBuilder(com.google.monitoring.v3.ListMetricDescriptorsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 `ListMetricDescriptors` response.
    * 
* * Protobuf type {@code google.monitoring.v3.ListMetricDescriptorsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListMetricDescriptorsResponse) com.google.monitoring.v3.ListMetricDescriptorsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_ListMetricDescriptorsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListMetricDescriptorsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_ListMetricDescriptorsResponse_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListMetricDescriptorsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListMetricDescriptorsResponse.class, - com.google.monitoring.v3.ListMetricDescriptorsResponse.Builder.class); + com.google.monitoring.v3.ListMetricDescriptorsResponse.class, com.google.monitoring.v3.ListMetricDescriptorsResponse.Builder.class); } // Construct using com.google.monitoring.v3.ListMetricDescriptorsResponse.newBuilder() @@ -458,17 +416,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getMetricDescriptorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -484,9 +442,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_ListMetricDescriptorsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListMetricDescriptorsResponse_descriptor; } @java.lang.Override @@ -505,8 +463,7 @@ public com.google.monitoring.v3.ListMetricDescriptorsResponse build() { @java.lang.Override public com.google.monitoring.v3.ListMetricDescriptorsResponse buildPartial() { - com.google.monitoring.v3.ListMetricDescriptorsResponse result = - new com.google.monitoring.v3.ListMetricDescriptorsResponse(this); + com.google.monitoring.v3.ListMetricDescriptorsResponse result = new com.google.monitoring.v3.ListMetricDescriptorsResponse(this); int from_bitField0_ = bitField0_; if (metricDescriptorsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -526,39 +483,38 @@ public com.google.monitoring.v3.ListMetricDescriptorsResponse 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.monitoring.v3.ListMetricDescriptorsResponse) { - return mergeFrom((com.google.monitoring.v3.ListMetricDescriptorsResponse) other); + return mergeFrom((com.google.monitoring.v3.ListMetricDescriptorsResponse)other); } else { super.mergeFrom(other); return this; @@ -566,8 +522,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.ListMetricDescriptorsResponse other) { - if (other == com.google.monitoring.v3.ListMetricDescriptorsResponse.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.ListMetricDescriptorsResponse.getDefaultInstance()) return this; if (metricDescriptorsBuilder_ == null) { if (!other.metricDescriptors_.isEmpty()) { if (metricDescriptors_.isEmpty()) { @@ -586,10 +541,9 @@ public Builder mergeFrom(com.google.monitoring.v3.ListMetricDescriptorsResponse metricDescriptorsBuilder_ = null; metricDescriptors_ = other.metricDescriptors_; bitField0_ = (bitField0_ & ~0x00000001); - metricDescriptorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMetricDescriptorsFieldBuilder() - : null; + metricDescriptorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMetricDescriptorsFieldBuilder() : null; } else { metricDescriptorsBuilder_.addAllMessages(other.metricDescriptors_); } @@ -618,8 +572,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.ListMetricDescriptorsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.ListMetricDescriptorsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -628,29 +581,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List metricDescriptors_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMetricDescriptorsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - metricDescriptors_ = - new java.util.ArrayList(metricDescriptors_); + metricDescriptors_ = new java.util.ArrayList(metricDescriptors_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.MetricDescriptor, - com.google.api.MetricDescriptor.Builder, - com.google.api.MetricDescriptorOrBuilder> - metricDescriptorsBuilder_; + com.google.api.MetricDescriptor, com.google.api.MetricDescriptor.Builder, com.google.api.MetricDescriptorOrBuilder> metricDescriptorsBuilder_; /** - * - * *
      * The metric descriptors that are available to the project
      * and that match the value of `filter`, if present.
@@ -666,8 +611,6 @@ public java.util.List getMetricDescriptorsList(
       }
     }
     /**
-     *
-     *
      * 
      * The metric descriptors that are available to the project
      * and that match the value of `filter`, if present.
@@ -683,8 +626,6 @@ public int getMetricDescriptorsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The metric descriptors that are available to the project
      * and that match the value of `filter`, if present.
@@ -700,8 +641,6 @@ public com.google.api.MetricDescriptor getMetricDescriptors(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The metric descriptors that are available to the project
      * and that match the value of `filter`, if present.
@@ -709,7 +648,8 @@ public com.google.api.MetricDescriptor getMetricDescriptors(int index) {
      *
      * repeated .google.api.MetricDescriptor metric_descriptors = 1;
      */
-    public Builder setMetricDescriptors(int index, com.google.api.MetricDescriptor value) {
+    public Builder setMetricDescriptors(
+        int index, com.google.api.MetricDescriptor value) {
       if (metricDescriptorsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -723,8 +663,6 @@ public Builder setMetricDescriptors(int index, com.google.api.MetricDescriptor v
       return this;
     }
     /**
-     *
-     *
      * 
      * The metric descriptors that are available to the project
      * and that match the value of `filter`, if present.
@@ -744,8 +682,6 @@ public Builder setMetricDescriptors(
       return this;
     }
     /**
-     *
-     *
      * 
      * The metric descriptors that are available to the project
      * and that match the value of `filter`, if present.
@@ -767,8 +703,6 @@ public Builder addMetricDescriptors(com.google.api.MetricDescriptor value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The metric descriptors that are available to the project
      * and that match the value of `filter`, if present.
@@ -776,7 +710,8 @@ public Builder addMetricDescriptors(com.google.api.MetricDescriptor value) {
      *
      * repeated .google.api.MetricDescriptor metric_descriptors = 1;
      */
-    public Builder addMetricDescriptors(int index, com.google.api.MetricDescriptor value) {
+    public Builder addMetricDescriptors(
+        int index, com.google.api.MetricDescriptor value) {
       if (metricDescriptorsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -790,8 +725,6 @@ public Builder addMetricDescriptors(int index, com.google.api.MetricDescriptor v
       return this;
     }
     /**
-     *
-     *
      * 
      * The metric descriptors that are available to the project
      * and that match the value of `filter`, if present.
@@ -799,7 +732,8 @@ public Builder addMetricDescriptors(int index, com.google.api.MetricDescriptor v
      *
      * repeated .google.api.MetricDescriptor metric_descriptors = 1;
      */
-    public Builder addMetricDescriptors(com.google.api.MetricDescriptor.Builder builderForValue) {
+    public Builder addMetricDescriptors(
+        com.google.api.MetricDescriptor.Builder builderForValue) {
       if (metricDescriptorsBuilder_ == null) {
         ensureMetricDescriptorsIsMutable();
         metricDescriptors_.add(builderForValue.build());
@@ -810,8 +744,6 @@ public Builder addMetricDescriptors(com.google.api.MetricDescriptor.Builder buil
       return this;
     }
     /**
-     *
-     *
      * 
      * The metric descriptors that are available to the project
      * and that match the value of `filter`, if present.
@@ -831,8 +763,6 @@ public Builder addMetricDescriptors(
       return this;
     }
     /**
-     *
-     *
      * 
      * The metric descriptors that are available to the project
      * and that match the value of `filter`, if present.
@@ -844,7 +774,8 @@ public Builder addAllMetricDescriptors(
         java.lang.Iterable values) {
       if (metricDescriptorsBuilder_ == null) {
         ensureMetricDescriptorsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metricDescriptors_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, metricDescriptors_);
         onChanged();
       } else {
         metricDescriptorsBuilder_.addAllMessages(values);
@@ -852,8 +783,6 @@ public Builder addAllMetricDescriptors(
       return this;
     }
     /**
-     *
-     *
      * 
      * The metric descriptors that are available to the project
      * and that match the value of `filter`, if present.
@@ -872,8 +801,6 @@ public Builder clearMetricDescriptors() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The metric descriptors that are available to the project
      * and that match the value of `filter`, if present.
@@ -892,8 +819,6 @@ public Builder removeMetricDescriptors(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The metric descriptors that are available to the project
      * and that match the value of `filter`, if present.
@@ -901,12 +826,11 @@ public Builder removeMetricDescriptors(int index) {
      *
      * repeated .google.api.MetricDescriptor metric_descriptors = 1;
      */
-    public com.google.api.MetricDescriptor.Builder getMetricDescriptorsBuilder(int index) {
+    public com.google.api.MetricDescriptor.Builder getMetricDescriptorsBuilder(
+        int index) {
       return getMetricDescriptorsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The metric descriptors that are available to the project
      * and that match the value of `filter`, if present.
@@ -914,16 +838,14 @@ public com.google.api.MetricDescriptor.Builder getMetricDescriptorsBuilder(int i
      *
      * repeated .google.api.MetricDescriptor metric_descriptors = 1;
      */
-    public com.google.api.MetricDescriptorOrBuilder getMetricDescriptorsOrBuilder(int index) {
+    public com.google.api.MetricDescriptorOrBuilder getMetricDescriptorsOrBuilder(
+        int index) {
       if (metricDescriptorsBuilder_ == null) {
-        return metricDescriptors_.get(index);
-      } else {
+        return metricDescriptors_.get(index);  } else {
         return metricDescriptorsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The metric descriptors that are available to the project
      * and that match the value of `filter`, if present.
@@ -931,8 +853,8 @@ public com.google.api.MetricDescriptorOrBuilder getMetricDescriptorsOrBuilder(in
      *
      * repeated .google.api.MetricDescriptor metric_descriptors = 1;
      */
-    public java.util.List
-        getMetricDescriptorsOrBuilderList() {
+    public java.util.List 
+         getMetricDescriptorsOrBuilderList() {
       if (metricDescriptorsBuilder_ != null) {
         return metricDescriptorsBuilder_.getMessageOrBuilderList();
       } else {
@@ -940,8 +862,6 @@ public com.google.api.MetricDescriptorOrBuilder getMetricDescriptorsOrBuilder(in
       }
     }
     /**
-     *
-     *
      * 
      * The metric descriptors that are available to the project
      * and that match the value of `filter`, if present.
@@ -950,12 +870,10 @@ public com.google.api.MetricDescriptorOrBuilder getMetricDescriptorsOrBuilder(in
      * repeated .google.api.MetricDescriptor metric_descriptors = 1;
      */
     public com.google.api.MetricDescriptor.Builder addMetricDescriptorsBuilder() {
-      return getMetricDescriptorsFieldBuilder()
-          .addBuilder(com.google.api.MetricDescriptor.getDefaultInstance());
+      return getMetricDescriptorsFieldBuilder().addBuilder(
+          com.google.api.MetricDescriptor.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The metric descriptors that are available to the project
      * and that match the value of `filter`, if present.
@@ -963,13 +881,12 @@ public com.google.api.MetricDescriptor.Builder addMetricDescriptorsBuilder() {
      *
      * repeated .google.api.MetricDescriptor metric_descriptors = 1;
      */
-    public com.google.api.MetricDescriptor.Builder addMetricDescriptorsBuilder(int index) {
-      return getMetricDescriptorsFieldBuilder()
-          .addBuilder(index, com.google.api.MetricDescriptor.getDefaultInstance());
+    public com.google.api.MetricDescriptor.Builder addMetricDescriptorsBuilder(
+        int index) {
+      return getMetricDescriptorsFieldBuilder().addBuilder(
+          index, com.google.api.MetricDescriptor.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The metric descriptors that are available to the project
      * and that match the value of `filter`, if present.
@@ -977,22 +894,16 @@ public com.google.api.MetricDescriptor.Builder addMetricDescriptorsBuilder(int i
      *
      * repeated .google.api.MetricDescriptor metric_descriptors = 1;
      */
-    public java.util.List
-        getMetricDescriptorsBuilderList() {
+    public java.util.List 
+         getMetricDescriptorsBuilderList() {
       return getMetricDescriptorsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.api.MetricDescriptor,
-            com.google.api.MetricDescriptor.Builder,
-            com.google.api.MetricDescriptorOrBuilder>
+        com.google.api.MetricDescriptor, com.google.api.MetricDescriptor.Builder, com.google.api.MetricDescriptorOrBuilder> 
         getMetricDescriptorsFieldBuilder() {
       if (metricDescriptorsBuilder_ == null) {
-        metricDescriptorsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.api.MetricDescriptor,
-                com.google.api.MetricDescriptor.Builder,
-                com.google.api.MetricDescriptorOrBuilder>(
+        metricDescriptorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.api.MetricDescriptor, com.google.api.MetricDescriptor.Builder, com.google.api.MetricDescriptorOrBuilder>(
                 metricDescriptors_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1004,8 +915,6 @@ public com.google.api.MetricDescriptor.Builder addMetricDescriptorsBuilder(int i
 
     private java.lang.Object nextPageToken_ = "";
     /**
-     *
-     *
      * 
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -1013,13 +922,13 @@ public com.google.api.MetricDescriptor.Builder addMetricDescriptorsBuilder(int i
      * 
* * 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; @@ -1028,8 +937,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -1037,14 +944,15 @@ public java.lang.String getNextPageToken() {
      * 
* * 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 { @@ -1052,8 +960,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -1061,22 +967,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * 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; } /** - * - * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -1084,18 +988,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -1103,23 +1004,23 @@ public Builder clearNextPageToken() {
      * 
* * 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); } @@ -1129,12 +1030,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListMetricDescriptorsResponse) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListMetricDescriptorsResponse) private static final com.google.monitoring.v3.ListMetricDescriptorsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListMetricDescriptorsResponse(); } @@ -1143,16 +1044,16 @@ public static com.google.monitoring.v3.ListMetricDescriptorsResponse getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMetricDescriptorsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListMetricDescriptorsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMetricDescriptorsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListMetricDescriptorsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1167,4 +1068,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.monitoring.v3.ListMetricDescriptorsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsResponseOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsResponseOrBuilder.java similarity index 73% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsResponseOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsResponseOrBuilder.java index 2803165f..9572d805 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsResponseOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsResponseOrBuilder.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/monitoring/v3/metric_service.proto package com.google.monitoring.v3; -public interface ListMetricDescriptorsResponseOrBuilder - extends +public interface ListMetricDescriptorsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListMetricDescriptorsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The metric descriptors that are available to the project
    * and that match the value of `filter`, if present.
@@ -33,10 +15,9 @@ public interface ListMetricDescriptorsResponseOrBuilder
    *
    * repeated .google.api.MetricDescriptor metric_descriptors = 1;
    */
-  java.util.List getMetricDescriptorsList();
+  java.util.List 
+      getMetricDescriptorsList();
   /**
-   *
-   *
    * 
    * The metric descriptors that are available to the project
    * and that match the value of `filter`, if present.
@@ -46,8 +27,6 @@ public interface ListMetricDescriptorsResponseOrBuilder
    */
   com.google.api.MetricDescriptor getMetricDescriptors(int index);
   /**
-   *
-   *
    * 
    * The metric descriptors that are available to the project
    * and that match the value of `filter`, if present.
@@ -57,8 +36,6 @@ public interface ListMetricDescriptorsResponseOrBuilder
    */
   int getMetricDescriptorsCount();
   /**
-   *
-   *
    * 
    * The metric descriptors that are available to the project
    * and that match the value of `filter`, if present.
@@ -66,11 +43,9 @@ public interface ListMetricDescriptorsResponseOrBuilder
    *
    * repeated .google.api.MetricDescriptor metric_descriptors = 1;
    */
-  java.util.List
+  java.util.List 
       getMetricDescriptorsOrBuilderList();
   /**
-   *
-   *
    * 
    * The metric descriptors that are available to the project
    * and that match the value of `filter`, if present.
@@ -78,11 +53,10 @@ public interface ListMetricDescriptorsResponseOrBuilder
    *
    * repeated .google.api.MetricDescriptor metric_descriptors = 1;
    */
-  com.google.api.MetricDescriptorOrBuilder getMetricDescriptorsOrBuilder(int index);
+  com.google.api.MetricDescriptorOrBuilder getMetricDescriptorsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -90,13 +64,10 @@ public interface ListMetricDescriptorsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -104,8 +75,8 @@ public interface ListMetricDescriptorsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsRequest.java similarity index 70% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsRequest.java index ea38baba..afb17309 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsRequest.java @@ -1,44 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `ListMonitoredResourceDescriptors` request.
  * 
* * Protobuf type {@code google.monitoring.v3.ListMonitoredResourceDescriptorsRequest} */ -public final class ListMonitoredResourceDescriptorsRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListMonitoredResourceDescriptorsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListMonitoredResourceDescriptorsRequest) ListMonitoredResourceDescriptorsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListMonitoredResourceDescriptorsRequest.newBuilder() to construct. - private ListMonitoredResourceDescriptorsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListMonitoredResourceDescriptorsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListMonitoredResourceDescriptorsRequest() { name_ = ""; filter_ = ""; @@ -47,15 +27,16 @@ private ListMonitoredResourceDescriptorsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListMonitoredResourceDescriptorsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListMonitoredResourceDescriptorsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,81 +55,71 @@ private ListMonitoredResourceDescriptorsRequest( case 0: done = true; break; - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 24: - { - pageSize_ = input.readInt32(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 24: { - pageToken_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageToken_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsRequest_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest.class, - com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest.Builder.class); + com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest.class, com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 5; private volatile java.lang.Object name_; /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -157,33 +128,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -194,8 +163,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** - * - * *
    * An optional [filter](https://cloud.google.com/monitoring/api/v3/filters)
    * describing the descriptors to be returned.  The filter can reference the
@@ -205,7 +172,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -214,15 +180,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; } } /** - * - * *
    * An optional [filter](https://cloud.google.com/monitoring/api/v3/filters)
    * describing the descriptors to be returned.  The filter can reference the
@@ -232,15 +197,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2; - * * @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 { @@ -251,14 +217,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * A positive number that is the maximum number of results to return.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -269,8 +232,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** - * - * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -278,7 +239,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -287,15 +247,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -303,15 +262,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -320,7 +280,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -332,7 +291,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(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, filter_); } @@ -358,7 +318,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -374,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.monitoring.v3.ListMonitoredResourceDescriptorsRequest)) { return super.equals(obj); } - com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest other = - (com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest) obj; - - if (!getName().equals(other.getName())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest other = (com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -411,127 +375,117 @@ public int hashCode() { } public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest prototype) { + public static Builder newBuilder(com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 `ListMonitoredResourceDescriptors` request.
    * 
* * Protobuf type {@code google.monitoring.v3.ListMonitoredResourceDescriptorsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListMonitoredResourceDescriptorsRequest) com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsRequest_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest.class, - com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest.Builder.class); + com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest.class, com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest.Builder.class); } // Construct using com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest.newBuilder() @@ -539,15 +493,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -563,14 +518,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsRequest_descriptor; } @java.lang.Override - public com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest - getDefaultInstanceForType() { + public com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest getDefaultInstanceForType() { return com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest.getDefaultInstance(); } @@ -585,8 +539,7 @@ public com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest build() @java.lang.Override public com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest buildPartial() { - com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest result = - new com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest(this); + com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest result = new com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest(this); result.name_ = name_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -599,50 +552,46 @@ public com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest 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.monitoring.v3.ListMonitoredResourceDescriptorsRequest) { - return mergeFrom((com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest) other); + return mergeFrom((com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest other) { - if (other - == com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest other) { + if (other == com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -677,9 +626,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -691,24 +638,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -717,25 +660,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -743,73 +683,60 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -817,8 +744,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * An optional [filter](https://cloud.google.com/monitoring/api/v3/filters)
      * describing the descriptors to be returned.  The filter can reference the
@@ -828,13 +753,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 2; - * * @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; @@ -843,8 +768,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * An optional [filter](https://cloud.google.com/monitoring/api/v3/filters)
      * describing the descriptors to be returned.  The filter can reference the
@@ -854,14 +777,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; - * * @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 { @@ -869,8 +793,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * An optional [filter](https://cloud.google.com/monitoring/api/v3/filters)
      * describing the descriptors to be returned.  The filter can reference the
@@ -880,22 +802,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 2; - * * @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; } /** - * - * *
      * An optional [filter](https://cloud.google.com/monitoring/api/v3/filters)
      * describing the descriptors to be returned.  The filter can reference the
@@ -905,18 +825,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * An optional [filter](https://cloud.google.com/monitoring/api/v3/filters)
      * describing the descriptors to be returned.  The filter can reference the
@@ -926,31 +843,28 @@ public Builder clearFilter() {
      * 
* * string filter = 2; - * * @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; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * A positive number that is the maximum number of results to return.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -958,36 +872,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * A positive number that is the maximum number of results to return.
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * A positive number that is the maximum number of results to return.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -995,8 +903,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1004,13 +910,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1019,8 +925,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1028,14 +932,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1043,8 +948,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1052,22 +955,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1075,18 +976,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1094,23 +992,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1120,32 +1018,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListMonitoredResourceDescriptorsRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListMonitoredResourceDescriptorsRequest) - private static final com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest - DEFAULT_INSTANCE; - + private static final com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest(); } - public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest - getDefaultInstance() { + public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMonitoredResourceDescriptorsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListMonitoredResourceDescriptorsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMonitoredResourceDescriptorsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListMonitoredResourceDescriptorsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1157,8 +1053,9 @@ public com.google.protobuf.Parser getPa } @java.lang.Override - public com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest - getDefaultInstanceForType() { + public com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsRequestOrBuilder.java similarity index 71% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsRequestOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsRequestOrBuilder.java index fb75abe4..ab9721fe 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsRequestOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric_service.proto package com.google.monitoring.v3; -public interface ListMonitoredResourceDescriptorsRequestOrBuilder - extends +public interface ListMonitoredResourceDescriptorsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListMonitoredResourceDescriptorsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * An optional [filter](https://cloud.google.com/monitoring/api/v3/filters)
    * describing the descriptors to be returned.  The filter can reference the
@@ -68,13 +41,10 @@ public interface ListMonitoredResourceDescriptorsRequestOrBuilder
    * 
* * string filter = 2; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * An optional [filter](https://cloud.google.com/monitoring/api/v3/filters)
    * describing the descriptors to be returned.  The filter can reference the
@@ -84,27 +54,22 @@ public interface ListMonitoredResourceDescriptorsRequestOrBuilder
    * 
* * string filter = 2; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * A positive number that is the maximum number of results to return.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -112,13 +77,10 @@ public interface ListMonitoredResourceDescriptorsRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -126,8 +88,8 @@ public interface ListMonitoredResourceDescriptorsRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsResponse.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsResponse.java similarity index 74% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsResponse.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsResponse.java index 9e870872..1d180e14 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsResponse.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsResponse.java @@ -1,44 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `ListMonitoredResourceDescriptors` response.
  * 
* * Protobuf type {@code google.monitoring.v3.ListMonitoredResourceDescriptorsResponse} */ -public final class ListMonitoredResourceDescriptorsResponse - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListMonitoredResourceDescriptorsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListMonitoredResourceDescriptorsResponse) ListMonitoredResourceDescriptorsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListMonitoredResourceDescriptorsResponse.newBuilder() to construct. - private ListMonitoredResourceDescriptorsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListMonitoredResourceDescriptorsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListMonitoredResourceDescriptorsResponse() { resourceDescriptors_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -46,15 +26,16 @@ private ListMonitoredResourceDescriptorsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListMonitoredResourceDescriptorsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListMonitoredResourceDescriptorsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,38 +55,35 @@ private ListMonitoredResourceDescriptorsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - resourceDescriptors_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - resourceDescriptors_.add( - input.readMessage( - com.google.api.MonitoredResourceDescriptor.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + resourceDescriptors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + resourceDescriptors_.add( + input.readMessage(com.google.api.MonitoredResourceDescriptor.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { resourceDescriptors_ = java.util.Collections.unmodifiableList(resourceDescriptors_); @@ -114,27 +92,22 @@ private ListMonitoredResourceDescriptorsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsResponse_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse.class, - com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse.Builder.class); + com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse.class, com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse.Builder.class); } public static final int RESOURCE_DESCRIPTORS_FIELD_NUMBER = 1; private java.util.List resourceDescriptors_; /** - * - * *
    * The monitored resource descriptors that are available to this project
    * and that match `filter`, if present.
@@ -147,8 +120,6 @@ public java.util.List getResourceDes
     return resourceDescriptors_;
   }
   /**
-   *
-   *
    * 
    * The monitored resource descriptors that are available to this project
    * and that match `filter`, if present.
@@ -157,13 +128,11 @@ public java.util.List getResourceDes
    * repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getResourceDescriptorsOrBuilderList() {
     return resourceDescriptors_;
   }
   /**
-   *
-   *
    * 
    * The monitored resource descriptors that are available to this project
    * and that match `filter`, if present.
@@ -176,8 +145,6 @@ public int getResourceDescriptorsCount() {
     return resourceDescriptors_.size();
   }
   /**
-   *
-   *
    * 
    * The monitored resource descriptors that are available to this project
    * and that match `filter`, if present.
@@ -190,8 +157,6 @@ public com.google.api.MonitoredResourceDescriptor getResourceDescriptors(int ind
     return resourceDescriptors_.get(index);
   }
   /**
-   *
-   *
    * 
    * The monitored resource descriptors that are available to this project
    * and that match `filter`, if present.
@@ -208,8 +173,6 @@ public com.google.api.MonitoredResourceDescriptorOrBuilder getResourceDescriptor
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
   private volatile java.lang.Object nextPageToken_;
   /**
-   *
-   *
    * 
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -217,7 +180,6 @@ public com.google.api.MonitoredResourceDescriptorOrBuilder getResourceDescriptor
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -226,15 +188,14 @@ 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; } } /** - * - * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -242,15 +203,16 @@ public java.lang.String getNextPageToken() {
    * 
* * 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 { @@ -259,7 +221,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -271,7 +232,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 < resourceDescriptors_.size(); i++) { output.writeMessage(1, resourceDescriptors_.get(i)); } @@ -288,8 +250,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < resourceDescriptors_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, resourceDescriptors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, resourceDescriptors_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -302,16 +264,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.monitoring.v3.ListMonitoredResourceDescriptorsResponse)) { return super.equals(obj); } - com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse other = - (com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse) obj; + com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse other = (com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse) obj; - if (!getResourceDescriptorsList().equals(other.getResourceDescriptorsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getResourceDescriptorsList() + .equals(other.getResourceDescriptorsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -335,147 +298,135 @@ public int hashCode() { } public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse prototype) { + public static Builder newBuilder(com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 `ListMonitoredResourceDescriptors` response.
    * 
* * Protobuf type {@code google.monitoring.v3.ListMonitoredResourceDescriptorsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListMonitoredResourceDescriptorsResponse) com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsResponse_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse.class, - com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse.Builder.class); + com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse.class, com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse.Builder.class); } - // Construct using - // com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse.newBuilder() + // Construct using com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getResourceDescriptorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -491,14 +442,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsResponse_descriptor; } @java.lang.Override - public com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse - getDefaultInstanceForType() { + public com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse getDefaultInstanceForType() { return com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse.getDefaultInstance(); } @@ -513,8 +463,7 @@ public com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse build() @java.lang.Override public com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse buildPartial() { - com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse result = - new com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse(this); + com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse result = new com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse(this); int from_bitField0_ = bitField0_; if (resourceDescriptorsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -534,50 +483,46 @@ public com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse) { - return mergeFrom((com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse) other); + return mergeFrom((com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse other) { - if (other - == com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse other) { + if (other == com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse.getDefaultInstance()) return this; if (resourceDescriptorsBuilder_ == null) { if (!other.resourceDescriptors_.isEmpty()) { if (resourceDescriptors_.isEmpty()) { @@ -596,10 +541,9 @@ public Builder mergeFrom( resourceDescriptorsBuilder_ = null; resourceDescriptors_ = other.resourceDescriptors_; bitField0_ = (bitField0_ & ~0x00000001); - resourceDescriptorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getResourceDescriptorsFieldBuilder() - : null; + resourceDescriptorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getResourceDescriptorsFieldBuilder() : null; } else { resourceDescriptorsBuilder_.addAllMessages(other.resourceDescriptors_); } @@ -628,9 +572,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -639,30 +581,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List resourceDescriptors_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureResourceDescriptorsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - resourceDescriptors_ = - new java.util.ArrayList( - resourceDescriptors_); + resourceDescriptors_ = new java.util.ArrayList(resourceDescriptors_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.MonitoredResourceDescriptor, - com.google.api.MonitoredResourceDescriptor.Builder, - com.google.api.MonitoredResourceDescriptorOrBuilder> - resourceDescriptorsBuilder_; + com.google.api.MonitoredResourceDescriptor, com.google.api.MonitoredResourceDescriptor.Builder, com.google.api.MonitoredResourceDescriptorOrBuilder> resourceDescriptorsBuilder_; /** - * - * *
      * The monitored resource descriptors that are available to this project
      * and that match `filter`, if present.
@@ -678,8 +611,6 @@ public java.util.List getResourceDes
       }
     }
     /**
-     *
-     *
      * 
      * The monitored resource descriptors that are available to this project
      * and that match `filter`, if present.
@@ -695,8 +626,6 @@ public int getResourceDescriptorsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The monitored resource descriptors that are available to this project
      * and that match `filter`, if present.
@@ -712,8 +641,6 @@ public com.google.api.MonitoredResourceDescriptor getResourceDescriptors(int ind
       }
     }
     /**
-     *
-     *
      * 
      * The monitored resource descriptors that are available to this project
      * and that match `filter`, if present.
@@ -736,8 +663,6 @@ public Builder setResourceDescriptors(
       return this;
     }
     /**
-     *
-     *
      * 
      * The monitored resource descriptors that are available to this project
      * and that match `filter`, if present.
@@ -757,8 +682,6 @@ public Builder setResourceDescriptors(
       return this;
     }
     /**
-     *
-     *
      * 
      * The monitored resource descriptors that are available to this project
      * and that match `filter`, if present.
@@ -780,8 +703,6 @@ public Builder addResourceDescriptors(com.google.api.MonitoredResourceDescriptor
       return this;
     }
     /**
-     *
-     *
      * 
      * The monitored resource descriptors that are available to this project
      * and that match `filter`, if present.
@@ -804,8 +725,6 @@ public Builder addResourceDescriptors(
       return this;
     }
     /**
-     *
-     *
      * 
      * The monitored resource descriptors that are available to this project
      * and that match `filter`, if present.
@@ -825,8 +744,6 @@ public Builder addResourceDescriptors(
       return this;
     }
     /**
-     *
-     *
      * 
      * The monitored resource descriptors that are available to this project
      * and that match `filter`, if present.
@@ -846,8 +763,6 @@ public Builder addResourceDescriptors(
       return this;
     }
     /**
-     *
-     *
      * 
      * The monitored resource descriptors that are available to this project
      * and that match `filter`, if present.
@@ -859,7 +774,8 @@ public Builder addAllResourceDescriptors(
         java.lang.Iterable values) {
       if (resourceDescriptorsBuilder_ == null) {
         ensureResourceDescriptorsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resourceDescriptors_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, resourceDescriptors_);
         onChanged();
       } else {
         resourceDescriptorsBuilder_.addAllMessages(values);
@@ -867,8 +783,6 @@ public Builder addAllResourceDescriptors(
       return this;
     }
     /**
-     *
-     *
      * 
      * The monitored resource descriptors that are available to this project
      * and that match `filter`, if present.
@@ -887,8 +801,6 @@ public Builder clearResourceDescriptors() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The monitored resource descriptors that are available to this project
      * and that match `filter`, if present.
@@ -907,8 +819,6 @@ public Builder removeResourceDescriptors(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The monitored resource descriptors that are available to this project
      * and that match `filter`, if present.
@@ -921,8 +831,6 @@ public com.google.api.MonitoredResourceDescriptor.Builder getResourceDescriptors
       return getResourceDescriptorsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The monitored resource descriptors that are available to this project
      * and that match `filter`, if present.
@@ -933,14 +841,11 @@ public com.google.api.MonitoredResourceDescriptor.Builder getResourceDescriptors
     public com.google.api.MonitoredResourceDescriptorOrBuilder getResourceDescriptorsOrBuilder(
         int index) {
       if (resourceDescriptorsBuilder_ == null) {
-        return resourceDescriptors_.get(index);
-      } else {
+        return resourceDescriptors_.get(index);  } else {
         return resourceDescriptorsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The monitored resource descriptors that are available to this project
      * and that match `filter`, if present.
@@ -948,8 +853,8 @@ public com.google.api.MonitoredResourceDescriptorOrBuilder getResourceDescriptor
      *
      * repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;
      */
-    public java.util.List
-        getResourceDescriptorsOrBuilderList() {
+    public java.util.List 
+         getResourceDescriptorsOrBuilderList() {
       if (resourceDescriptorsBuilder_ != null) {
         return resourceDescriptorsBuilder_.getMessageOrBuilderList();
       } else {
@@ -957,8 +862,6 @@ public com.google.api.MonitoredResourceDescriptorOrBuilder getResourceDescriptor
       }
     }
     /**
-     *
-     *
      * 
      * The monitored resource descriptors that are available to this project
      * and that match `filter`, if present.
@@ -967,12 +870,10 @@ public com.google.api.MonitoredResourceDescriptorOrBuilder getResourceDescriptor
      * repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;
      */
     public com.google.api.MonitoredResourceDescriptor.Builder addResourceDescriptorsBuilder() {
-      return getResourceDescriptorsFieldBuilder()
-          .addBuilder(com.google.api.MonitoredResourceDescriptor.getDefaultInstance());
+      return getResourceDescriptorsFieldBuilder().addBuilder(
+          com.google.api.MonitoredResourceDescriptor.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The monitored resource descriptors that are available to this project
      * and that match `filter`, if present.
@@ -982,12 +883,10 @@ public com.google.api.MonitoredResourceDescriptor.Builder addResourceDescriptors
      */
     public com.google.api.MonitoredResourceDescriptor.Builder addResourceDescriptorsBuilder(
         int index) {
-      return getResourceDescriptorsFieldBuilder()
-          .addBuilder(index, com.google.api.MonitoredResourceDescriptor.getDefaultInstance());
+      return getResourceDescriptorsFieldBuilder().addBuilder(
+          index, com.google.api.MonitoredResourceDescriptor.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The monitored resource descriptors that are available to this project
      * and that match `filter`, if present.
@@ -995,22 +894,16 @@ public com.google.api.MonitoredResourceDescriptor.Builder addResourceDescriptors
      *
      * repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;
      */
-    public java.util.List
-        getResourceDescriptorsBuilderList() {
+    public java.util.List 
+         getResourceDescriptorsBuilderList() {
       return getResourceDescriptorsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.api.MonitoredResourceDescriptor,
-            com.google.api.MonitoredResourceDescriptor.Builder,
-            com.google.api.MonitoredResourceDescriptorOrBuilder>
+        com.google.api.MonitoredResourceDescriptor, com.google.api.MonitoredResourceDescriptor.Builder, com.google.api.MonitoredResourceDescriptorOrBuilder> 
         getResourceDescriptorsFieldBuilder() {
       if (resourceDescriptorsBuilder_ == null) {
-        resourceDescriptorsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.api.MonitoredResourceDescriptor,
-                com.google.api.MonitoredResourceDescriptor.Builder,
-                com.google.api.MonitoredResourceDescriptorOrBuilder>(
+        resourceDescriptorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.api.MonitoredResourceDescriptor, com.google.api.MonitoredResourceDescriptor.Builder, com.google.api.MonitoredResourceDescriptorOrBuilder>(
                 resourceDescriptors_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1022,8 +915,6 @@ public com.google.api.MonitoredResourceDescriptor.Builder addResourceDescriptors
 
     private java.lang.Object nextPageToken_ = "";
     /**
-     *
-     *
      * 
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -1031,13 +922,13 @@ public com.google.api.MonitoredResourceDescriptor.Builder addResourceDescriptors
      * 
* * 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; @@ -1046,8 +937,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -1055,14 +944,15 @@ public java.lang.String getNextPageToken() {
      * 
* * 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 { @@ -1070,8 +960,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -1079,22 +967,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * 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; } /** - * - * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -1102,18 +988,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -1121,23 +1004,23 @@ public Builder clearNextPageToken() {
      * 
* * 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); } @@ -1147,32 +1030,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListMonitoredResourceDescriptorsResponse) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListMonitoredResourceDescriptorsResponse) - private static final com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse - DEFAULT_INSTANCE; - + private static final com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse(); } - public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse - getDefaultInstance() { + public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMonitoredResourceDescriptorsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListMonitoredResourceDescriptorsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMonitoredResourceDescriptorsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListMonitoredResourceDescriptorsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1184,8 +1065,9 @@ public com.google.protobuf.Parser getP } @java.lang.Override - public com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse - getDefaultInstanceForType() { + public com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsResponseOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsResponseOrBuilder.java similarity index 74% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsResponseOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsResponseOrBuilder.java index b283ee75..09db6c95 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsResponseOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsResponseOrBuilder.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/monitoring/v3/metric_service.proto package com.google.monitoring.v3; -public interface ListMonitoredResourceDescriptorsResponseOrBuilder - extends +public interface ListMonitoredResourceDescriptorsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListMonitoredResourceDescriptorsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The monitored resource descriptors that are available to this project
    * and that match `filter`, if present.
@@ -33,10 +15,9 @@ public interface ListMonitoredResourceDescriptorsResponseOrBuilder
    *
    * repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;
    */
-  java.util.List getResourceDescriptorsList();
+  java.util.List 
+      getResourceDescriptorsList();
   /**
-   *
-   *
    * 
    * The monitored resource descriptors that are available to this project
    * and that match `filter`, if present.
@@ -46,8 +27,6 @@ public interface ListMonitoredResourceDescriptorsResponseOrBuilder
    */
   com.google.api.MonitoredResourceDescriptor getResourceDescriptors(int index);
   /**
-   *
-   *
    * 
    * The monitored resource descriptors that are available to this project
    * and that match `filter`, if present.
@@ -57,8 +36,6 @@ public interface ListMonitoredResourceDescriptorsResponseOrBuilder
    */
   int getResourceDescriptorsCount();
   /**
-   *
-   *
    * 
    * The monitored resource descriptors that are available to this project
    * and that match `filter`, if present.
@@ -66,11 +43,9 @@ public interface ListMonitoredResourceDescriptorsResponseOrBuilder
    *
    * repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;
    */
-  java.util.List
+  java.util.List 
       getResourceDescriptorsOrBuilderList();
   /**
-   *
-   *
    * 
    * The monitored resource descriptors that are available to this project
    * and that match `filter`, if present.
@@ -78,11 +53,10 @@ public interface ListMonitoredResourceDescriptorsResponseOrBuilder
    *
    * repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;
    */
-  com.google.api.MonitoredResourceDescriptorOrBuilder getResourceDescriptorsOrBuilder(int index);
+  com.google.api.MonitoredResourceDescriptorOrBuilder getResourceDescriptorsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -90,13 +64,10 @@ public interface ListMonitoredResourceDescriptorsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -104,8 +75,8 @@ public interface ListMonitoredResourceDescriptorsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsRequest.java similarity index 68% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsRequest.java index f7a700ff..554c4842 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsRequest.java @@ -1,44 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/notification_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `ListNotificationChannelDescriptors` request.
  * 
* * Protobuf type {@code google.monitoring.v3.ListNotificationChannelDescriptorsRequest} */ -public final class ListNotificationChannelDescriptorsRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListNotificationChannelDescriptorsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListNotificationChannelDescriptorsRequest) ListNotificationChannelDescriptorsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListNotificationChannelDescriptorsRequest.newBuilder() to construct. - private ListNotificationChannelDescriptorsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListNotificationChannelDescriptorsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListNotificationChannelDescriptorsRequest() { name_ = ""; pageToken_ = ""; @@ -46,15 +26,16 @@ private ListNotificationChannelDescriptorsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListNotificationChannelDescriptorsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListNotificationChannelDescriptorsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,64 +54,58 @@ private ListNotificationChannelDescriptorsRequest( case 0: done = true; break; - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsRequest_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest.class, - com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest.Builder.class); + com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest.class, com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 4; private volatile java.lang.Object name_; /** - * - * *
    * Required. The REST resource name of the parent from which to retrieve
    * the notification channel descriptors. The expected syntax is:
@@ -143,10 +118,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * operation, instead.
    * 
* - * - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -155,15 +127,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The REST resource name of the parent from which to retrieve
    * the notification channel descriptors. The expected syntax is:
@@ -176,18 +147,17 @@ public java.lang.String getName() {
    * operation, instead.
    * 
* - * - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -198,8 +168,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of results to return in a single response. If
    * not set to a positive number, a reasonable value will be chosen by the
@@ -207,7 +175,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -218,8 +185,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * If non-empty, `page_token` must contain a value returned as the
    * `next_page_token` in a previous response to request the next set
@@ -227,7 +192,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -236,15 +200,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * If non-empty, `page_token` must contain a value returned as the
    * `next_page_token` in a previous response to request the next set
@@ -252,15 +215,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -269,7 +233,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -281,7 +244,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 (pageSize_ != 0) { output.writeInt32(2, pageSize_); } @@ -301,7 +265,8 @@ public int getSerializedSize() { size = 0; if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -317,17 +282,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.monitoring.v3.ListNotificationChannelDescriptorsRequest)) { return super.equals(obj); } - com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest other = - (com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest) obj; + com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest other = (com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest) obj; - if (!getName().equals(other.getName())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getName() + .equals(other.getName())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -351,145 +318,134 @@ public int hashCode() { } public static com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest prototype) { + public static Builder newBuilder(com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 `ListNotificationChannelDescriptors` request.
    * 
* * Protobuf type {@code google.monitoring.v3.ListNotificationChannelDescriptorsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListNotificationChannelDescriptorsRequest) com.google.monitoring.v3.ListNotificationChannelDescriptorsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsRequest_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest.class, - com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest.Builder.class); + com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest.class, com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest.Builder.class); } - // Construct using - // com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest.newBuilder() + // Construct using com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -503,16 +459,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsRequest_descriptor; } @java.lang.Override - public com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest - getDefaultInstanceForType() { - return com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest - .getDefaultInstance(); + public com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest getDefaultInstanceForType() { + return com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest.getDefaultInstance(); } @java.lang.Override @@ -526,8 +480,7 @@ public com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest build( @java.lang.Override public com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest buildPartial() { - com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest result = - new com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest(this); + com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest result = new com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest(this); result.name_ = name_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -539,51 +492,46 @@ public com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest) { - return mergeFrom( - (com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest) other); + return mergeFrom((com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest other) { - if (other - == com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest other) { + if (other == com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -614,9 +562,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -628,8 +574,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The REST resource name of the parent from which to retrieve
      * the notification channel descriptors. The expected syntax is:
@@ -642,16 +586,14 @@ public Builder mergeFrom(
      * operation, instead.
      * 
* - * - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -660,8 +602,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The REST resource name of the parent from which to retrieve
      * the notification channel descriptors. The expected syntax is:
@@ -674,17 +614,16 @@ public java.lang.String getName() {
      * operation, instead.
      * 
* - * - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -692,8 +631,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The REST resource name of the parent from which to retrieve
      * the notification channel descriptors. The expected syntax is:
@@ -706,25 +643,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * operation, instead.
      * 
* - * - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The REST resource name of the parent from which to retrieve
      * the notification channel descriptors. The expected syntax is:
@@ -737,21 +670,16 @@ public Builder setName(java.lang.String value) {
      * operation, instead.
      * 
* - * - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The REST resource name of the parent from which to retrieve
      * the notification channel descriptors. The expected syntax is:
@@ -764,28 +692,24 @@ public Builder clearName() {
      * operation, instead.
      * 
* - * - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of results to return in a single response. If
      * not set to a positive number, a reasonable value will be chosen by the
@@ -793,7 +717,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -801,8 +724,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of results to return in a single response. If
      * not set to a positive number, a reasonable value will be chosen by the
@@ -810,19 +731,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of results to return in a single response. If
      * not set to a positive number, a reasonable value will be chosen by the
@@ -830,11 +748,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -842,8 +759,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * If non-empty, `page_token` must contain a value returned as the
      * `next_page_token` in a previous response to request the next set
@@ -851,13 +766,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -866,8 +781,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * If non-empty, `page_token` must contain a value returned as the
      * `next_page_token` in a previous response to request the next set
@@ -875,14 +788,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -890,8 +804,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * If non-empty, `page_token` must contain a value returned as the
      * `next_page_token` in a previous response to request the next set
@@ -899,22 +811,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * If non-empty, `page_token` must contain a value returned as the
      * `next_page_token` in a previous response to request the next set
@@ -922,18 +832,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * If non-empty, `page_token` must contain a value returned as the
      * `next_page_token` in a previous response to request the next set
@@ -941,23 +848,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -967,33 +874,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListNotificationChannelDescriptorsRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListNotificationChannelDescriptorsRequest) - private static final com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest - DEFAULT_INSTANCE; - + private static final com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest(); } - public static com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest - getDefaultInstance() { + public static com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListNotificationChannelDescriptorsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListNotificationChannelDescriptorsRequest(input, extensionRegistry); - } - }; + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListNotificationChannelDescriptorsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListNotificationChannelDescriptorsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1005,8 +909,9 @@ public com.google.protobuf.Parser get } @java.lang.Override - public com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest - getDefaultInstanceForType() { + public com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsRequestOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsRequestOrBuilder.java index 8f1c010c..a7bf96ff 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsRequestOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsRequestOrBuilder.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/monitoring/v3/notification_service.proto package com.google.monitoring.v3; -public interface ListNotificationChannelDescriptorsRequestOrBuilder - extends +public interface ListNotificationChannelDescriptorsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListNotificationChannelDescriptorsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The REST resource name of the parent from which to retrieve
    * the notification channel descriptors. The expected syntax is:
@@ -38,16 +20,11 @@ public interface ListNotificationChannelDescriptorsRequestOrBuilder
    * operation, instead.
    * 
* - * - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The REST resource name of the parent from which to retrieve
    * the notification channel descriptors. The expected syntax is:
@@ -60,17 +37,13 @@ public interface ListNotificationChannelDescriptorsRequestOrBuilder
    * operation, instead.
    * 
* - * - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The maximum number of results to return in a single response. If
    * not set to a positive number, a reasonable value will be chosen by the
@@ -78,14 +51,11 @@ public interface ListNotificationChannelDescriptorsRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If non-empty, `page_token` must contain a value returned as the
    * `next_page_token` in a previous response to request the next set
@@ -93,13 +63,10 @@ public interface ListNotificationChannelDescriptorsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * If non-empty, `page_token` must contain a value returned as the
    * `next_page_token` in a previous response to request the next set
@@ -107,8 +74,8 @@ public interface ListNotificationChannelDescriptorsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsResponse.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsResponse.java similarity index 69% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsResponse.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsResponse.java index 0005f957..def53813 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsResponse.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsResponse.java @@ -1,44 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/notification_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `ListNotificationChannelDescriptors` response.
  * 
* * Protobuf type {@code google.monitoring.v3.ListNotificationChannelDescriptorsResponse} */ -public final class ListNotificationChannelDescriptorsResponse - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListNotificationChannelDescriptorsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListNotificationChannelDescriptorsResponse) ListNotificationChannelDescriptorsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListNotificationChannelDescriptorsResponse.newBuilder() to construct. - private ListNotificationChannelDescriptorsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListNotificationChannelDescriptorsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListNotificationChannelDescriptorsResponse() { channelDescriptors_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -46,15 +26,16 @@ private ListNotificationChannelDescriptorsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListNotificationChannelDescriptorsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListNotificationChannelDescriptorsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,40 +55,35 @@ private ListNotificationChannelDescriptorsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - channelDescriptors_ = - new java.util.ArrayList< - com.google.monitoring.v3.NotificationChannelDescriptor>(); - mutable_bitField0_ |= 0x00000001; - } - channelDescriptors_.add( - input.readMessage( - com.google.monitoring.v3.NotificationChannelDescriptor.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + channelDescriptors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + channelDescriptors_.add( + input.readMessage(com.google.monitoring.v3.NotificationChannelDescriptor.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { channelDescriptors_ = java.util.Collections.unmodifiableList(channelDescriptors_); @@ -116,109 +92,87 @@ private ListNotificationChannelDescriptorsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsResponse_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse.class, - com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse.Builder.class); + com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse.class, com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse.Builder.class); } public static final int CHANNEL_DESCRIPTORS_FIELD_NUMBER = 1; - private java.util.List - channelDescriptors_; + private java.util.List channelDescriptors_; /** - * - * *
    * The monitored resource descriptors supported for the specified
    * project, optionally filtered.
    * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; - * + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; */ @java.lang.Override - public java.util.List - getChannelDescriptorsList() { + public java.util.List getChannelDescriptorsList() { return channelDescriptors_; } /** - * - * *
    * The monitored resource descriptors supported for the specified
    * project, optionally filtered.
    * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; - * + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; */ @java.lang.Override - public java.util.List + public java.util.List getChannelDescriptorsOrBuilderList() { return channelDescriptors_; } /** - * - * *
    * The monitored resource descriptors supported for the specified
    * project, optionally filtered.
    * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; - * + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; */ @java.lang.Override public int getChannelDescriptorsCount() { return channelDescriptors_.size(); } /** - * - * *
    * The monitored resource descriptors supported for the specified
    * project, optionally filtered.
    * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; - * + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; */ @java.lang.Override public com.google.monitoring.v3.NotificationChannelDescriptor getChannelDescriptors(int index) { return channelDescriptors_.get(index); } /** - * - * *
    * The monitored resource descriptors supported for the specified
    * project, optionally filtered.
    * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; - * + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; */ @java.lang.Override - public com.google.monitoring.v3.NotificationChannelDescriptorOrBuilder - getChannelDescriptorsOrBuilder(int index) { + public com.google.monitoring.v3.NotificationChannelDescriptorOrBuilder getChannelDescriptorsOrBuilder( + int index) { return channelDescriptors_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * If not empty, indicates that there may be more results that match
    * the request. Use the value in the `page_token` field in a
@@ -227,7 +181,6 @@ public com.google.monitoring.v3.NotificationChannelDescriptor getChannelDescript
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -236,15 +189,14 @@ 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; } } /** - * - * *
    * If not empty, indicates that there may be more results that match
    * the request. Use the value in the `page_token` field in a
@@ -253,15 +205,16 @@ public java.lang.String getNextPageToken() {
    * 
* * 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 { @@ -270,7 +223,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -282,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 { for (int i = 0; i < channelDescriptors_.size(); i++) { output.writeMessage(1, channelDescriptors_.get(i)); } @@ -299,8 +252,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < channelDescriptors_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, channelDescriptors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, channelDescriptors_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -313,16 +266,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.monitoring.v3.ListNotificationChannelDescriptorsResponse)) { return super.equals(obj); } - com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse other = - (com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse) obj; + com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse other = (com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse) obj; - if (!getChannelDescriptorsList().equals(other.getChannelDescriptorsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getChannelDescriptorsList() + .equals(other.getChannelDescriptorsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -346,147 +300,135 @@ public int hashCode() { } public static com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse prototype) { + public static Builder newBuilder(com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 `ListNotificationChannelDescriptors` response.
    * 
* * Protobuf type {@code google.monitoring.v3.ListNotificationChannelDescriptorsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListNotificationChannelDescriptorsResponse) com.google.monitoring.v3.ListNotificationChannelDescriptorsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsResponse_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse.class, - com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse.Builder.class); + com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse.class, com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse.Builder.class); } - // Construct using - // com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse.newBuilder() + // Construct using com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getChannelDescriptorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -502,16 +444,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsResponse_descriptor; } @java.lang.Override - public com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse - getDefaultInstanceForType() { - return com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse - .getDefaultInstance(); + public com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse getDefaultInstanceForType() { + return com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse.getDefaultInstance(); } @java.lang.Override @@ -525,8 +465,7 @@ public com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse build @java.lang.Override public com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse buildPartial() { - com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse result = - new com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse(this); + com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse result = new com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse(this); int from_bitField0_ = bitField0_; if (channelDescriptorsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -546,51 +485,46 @@ public com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse) { - return mergeFrom( - (com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse) other); + return mergeFrom((com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse other) { - if (other - == com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse other) { + if (other == com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse.getDefaultInstance()) return this; if (channelDescriptorsBuilder_ == null) { if (!other.channelDescriptors_.isEmpty()) { if (channelDescriptors_.isEmpty()) { @@ -609,10 +543,9 @@ public Builder mergeFrom( channelDescriptorsBuilder_ = null; channelDescriptors_ = other.channelDescriptors_; bitField0_ = (bitField0_ & ~0x00000001); - channelDescriptorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getChannelDescriptorsFieldBuilder() - : null; + channelDescriptorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getChannelDescriptorsFieldBuilder() : null; } else { channelDescriptorsBuilder_.addAllMessages(other.channelDescriptors_); } @@ -641,9 +574,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -652,40 +583,29 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List - channelDescriptors_ = java.util.Collections.emptyList(); - + private java.util.List channelDescriptors_ = + java.util.Collections.emptyList(); private void ensureChannelDescriptorsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - channelDescriptors_ = - new java.util.ArrayList( - channelDescriptors_); + channelDescriptors_ = new java.util.ArrayList(channelDescriptors_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.NotificationChannelDescriptor, - com.google.monitoring.v3.NotificationChannelDescriptor.Builder, - com.google.monitoring.v3.NotificationChannelDescriptorOrBuilder> - channelDescriptorsBuilder_; + com.google.monitoring.v3.NotificationChannelDescriptor, com.google.monitoring.v3.NotificationChannelDescriptor.Builder, com.google.monitoring.v3.NotificationChannelDescriptorOrBuilder> channelDescriptorsBuilder_; /** - * - * *
      * The monitored resource descriptors supported for the specified
      * project, optionally filtered.
      * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; - * + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; */ - public java.util.List - getChannelDescriptorsList() { + public java.util.List getChannelDescriptorsList() { if (channelDescriptorsBuilder_ == null) { return java.util.Collections.unmodifiableList(channelDescriptors_); } else { @@ -693,15 +613,12 @@ private void ensureChannelDescriptorsIsMutable() { } } /** - * - * *
      * The monitored resource descriptors supported for the specified
      * project, optionally filtered.
      * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; - * + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; */ public int getChannelDescriptorsCount() { if (channelDescriptorsBuilder_ == null) { @@ -711,15 +628,12 @@ public int getChannelDescriptorsCount() { } } /** - * - * *
      * The monitored resource descriptors supported for the specified
      * project, optionally filtered.
      * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; - * + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; */ public com.google.monitoring.v3.NotificationChannelDescriptor getChannelDescriptors(int index) { if (channelDescriptorsBuilder_ == null) { @@ -729,15 +643,12 @@ public com.google.monitoring.v3.NotificationChannelDescriptor getChannelDescript } } /** - * - * *
      * The monitored resource descriptors supported for the specified
      * project, optionally filtered.
      * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; - * + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; */ public Builder setChannelDescriptors( int index, com.google.monitoring.v3.NotificationChannelDescriptor value) { @@ -754,15 +665,12 @@ public Builder setChannelDescriptors( return this; } /** - * - * *
      * The monitored resource descriptors supported for the specified
      * project, optionally filtered.
      * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; - * + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; */ public Builder setChannelDescriptors( int index, com.google.monitoring.v3.NotificationChannelDescriptor.Builder builderForValue) { @@ -776,18 +684,14 @@ public Builder setChannelDescriptors( return this; } /** - * - * *
      * The monitored resource descriptors supported for the specified
      * project, optionally filtered.
      * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; - * + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; */ - public Builder addChannelDescriptors( - com.google.monitoring.v3.NotificationChannelDescriptor value) { + public Builder addChannelDescriptors(com.google.monitoring.v3.NotificationChannelDescriptor value) { if (channelDescriptorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -801,15 +705,12 @@ public Builder addChannelDescriptors( return this; } /** - * - * *
      * The monitored resource descriptors supported for the specified
      * project, optionally filtered.
      * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; - * + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; */ public Builder addChannelDescriptors( int index, com.google.monitoring.v3.NotificationChannelDescriptor value) { @@ -826,15 +727,12 @@ public Builder addChannelDescriptors( return this; } /** - * - * *
      * The monitored resource descriptors supported for the specified
      * project, optionally filtered.
      * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; - * + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; */ public Builder addChannelDescriptors( com.google.monitoring.v3.NotificationChannelDescriptor.Builder builderForValue) { @@ -848,15 +746,12 @@ public Builder addChannelDescriptors( return this; } /** - * - * *
      * The monitored resource descriptors supported for the specified
      * project, optionally filtered.
      * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; - * + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; */ public Builder addChannelDescriptors( int index, com.google.monitoring.v3.NotificationChannelDescriptor.Builder builderForValue) { @@ -870,22 +765,19 @@ public Builder addChannelDescriptors( return this; } /** - * - * *
      * The monitored resource descriptors supported for the specified
      * project, optionally filtered.
      * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; - * + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; */ public Builder addAllChannelDescriptors( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (channelDescriptorsBuilder_ == null) { ensureChannelDescriptorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, channelDescriptors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, channelDescriptors_); onChanged(); } else { channelDescriptorsBuilder_.addAllMessages(values); @@ -893,15 +785,12 @@ public Builder addAllChannelDescriptors( return this; } /** - * - * *
      * The monitored resource descriptors supported for the specified
      * project, optionally filtered.
      * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; - * + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; */ public Builder clearChannelDescriptors() { if (channelDescriptorsBuilder_ == null) { @@ -914,15 +803,12 @@ public Builder clearChannelDescriptors() { return this; } /** - * - * *
      * The monitored resource descriptors supported for the specified
      * project, optionally filtered.
      * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; - * + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; */ public Builder removeChannelDescriptors(int index) { if (channelDescriptorsBuilder_ == null) { @@ -935,52 +821,42 @@ public Builder removeChannelDescriptors(int index) { return this; } /** - * - * *
      * The monitored resource descriptors supported for the specified
      * project, optionally filtered.
      * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; - * + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; */ - public com.google.monitoring.v3.NotificationChannelDescriptor.Builder - getChannelDescriptorsBuilder(int index) { + public com.google.monitoring.v3.NotificationChannelDescriptor.Builder getChannelDescriptorsBuilder( + int index) { return getChannelDescriptorsFieldBuilder().getBuilder(index); } /** - * - * *
      * The monitored resource descriptors supported for the specified
      * project, optionally filtered.
      * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; - * + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; */ - public com.google.monitoring.v3.NotificationChannelDescriptorOrBuilder - getChannelDescriptorsOrBuilder(int index) { + public com.google.monitoring.v3.NotificationChannelDescriptorOrBuilder getChannelDescriptorsOrBuilder( + int index) { if (channelDescriptorsBuilder_ == null) { - return channelDescriptors_.get(index); - } else { + return channelDescriptors_.get(index); } else { return channelDescriptorsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The monitored resource descriptors supported for the specified
      * project, optionally filtered.
      * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; - * + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; */ - public java.util.List - getChannelDescriptorsOrBuilderList() { + public java.util.List + getChannelDescriptorsOrBuilderList() { if (channelDescriptorsBuilder_ != null) { return channelDescriptorsBuilder_.getMessageOrBuilderList(); } else { @@ -988,65 +864,48 @@ public Builder removeChannelDescriptors(int index) { } } /** - * - * *
      * The monitored resource descriptors supported for the specified
      * project, optionally filtered.
      * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; - * + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; */ - public com.google.monitoring.v3.NotificationChannelDescriptor.Builder - addChannelDescriptorsBuilder() { - return getChannelDescriptorsFieldBuilder() - .addBuilder(com.google.monitoring.v3.NotificationChannelDescriptor.getDefaultInstance()); + public com.google.monitoring.v3.NotificationChannelDescriptor.Builder addChannelDescriptorsBuilder() { + return getChannelDescriptorsFieldBuilder().addBuilder( + com.google.monitoring.v3.NotificationChannelDescriptor.getDefaultInstance()); } /** - * - * *
      * The monitored resource descriptors supported for the specified
      * project, optionally filtered.
      * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; - * + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; */ - public com.google.monitoring.v3.NotificationChannelDescriptor.Builder - addChannelDescriptorsBuilder(int index) { - return getChannelDescriptorsFieldBuilder() - .addBuilder( - index, com.google.monitoring.v3.NotificationChannelDescriptor.getDefaultInstance()); + public com.google.monitoring.v3.NotificationChannelDescriptor.Builder addChannelDescriptorsBuilder( + int index) { + return getChannelDescriptorsFieldBuilder().addBuilder( + index, com.google.monitoring.v3.NotificationChannelDescriptor.getDefaultInstance()); } /** - * - * *
      * The monitored resource descriptors supported for the specified
      * project, optionally filtered.
      * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; - * + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; */ - public java.util.List - getChannelDescriptorsBuilderList() { + public java.util.List + getChannelDescriptorsBuilderList() { return getChannelDescriptorsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.NotificationChannelDescriptor, - com.google.monitoring.v3.NotificationChannelDescriptor.Builder, - com.google.monitoring.v3.NotificationChannelDescriptorOrBuilder> + com.google.monitoring.v3.NotificationChannelDescriptor, com.google.monitoring.v3.NotificationChannelDescriptor.Builder, com.google.monitoring.v3.NotificationChannelDescriptorOrBuilder> getChannelDescriptorsFieldBuilder() { if (channelDescriptorsBuilder_ == null) { - channelDescriptorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.NotificationChannelDescriptor, - com.google.monitoring.v3.NotificationChannelDescriptor.Builder, - com.google.monitoring.v3.NotificationChannelDescriptorOrBuilder>( + channelDescriptorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.monitoring.v3.NotificationChannelDescriptor, com.google.monitoring.v3.NotificationChannelDescriptor.Builder, com.google.monitoring.v3.NotificationChannelDescriptorOrBuilder>( channelDescriptors_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1058,8 +917,6 @@ public Builder removeChannelDescriptors(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * If not empty, indicates that there may be more results that match
      * the request. Use the value in the `page_token` field in a
@@ -1068,13 +925,13 @@ public Builder removeChannelDescriptors(int index) {
      * 
* * 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; @@ -1083,8 +940,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * If not empty, indicates that there may be more results that match
      * the request. Use the value in the `page_token` field in a
@@ -1093,14 +948,15 @@ public java.lang.String getNextPageToken() {
      * 
* * 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 { @@ -1108,8 +964,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * If not empty, indicates that there may be more results that match
      * the request. Use the value in the `page_token` field in a
@@ -1118,22 +972,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * 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; } /** - * - * *
      * If not empty, indicates that there may be more results that match
      * the request. Use the value in the `page_token` field in a
@@ -1142,18 +994,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * If not empty, indicates that there may be more results that match
      * the request. Use the value in the `page_token` field in a
@@ -1162,23 +1011,23 @@ public Builder clearNextPageToken() {
      * 
* * 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); } @@ -1188,33 +1037,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListNotificationChannelDescriptorsResponse) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListNotificationChannelDescriptorsResponse) - private static final com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse - DEFAULT_INSTANCE; - + private static final com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse(); } - public static com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse - getDefaultInstance() { + public static com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListNotificationChannelDescriptorsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListNotificationChannelDescriptorsResponse(input, extensionRegistry); - } - }; + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListNotificationChannelDescriptorsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListNotificationChannelDescriptorsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1226,8 +1072,9 @@ public com.google.protobuf.Parser ge } @java.lang.Override - public com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse - getDefaultInstanceForType() { + public com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsResponseOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsResponseOrBuilder.java similarity index 72% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsResponseOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsResponseOrBuilder.java index fdcdd09d..b18dff76 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsResponseOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsResponseOrBuilder.java @@ -1,95 +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/monitoring/v3/notification_service.proto package com.google.monitoring.v3; -public interface ListNotificationChannelDescriptorsResponseOrBuilder - extends +public interface ListNotificationChannelDescriptorsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListNotificationChannelDescriptorsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The monitored resource descriptors supported for the specified
    * project, optionally filtered.
    * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; - * + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; */ - java.util.List + java.util.List getChannelDescriptorsList(); /** - * - * *
    * The monitored resource descriptors supported for the specified
    * project, optionally filtered.
    * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; - * + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; */ com.google.monitoring.v3.NotificationChannelDescriptor getChannelDescriptors(int index); /** - * - * *
    * The monitored resource descriptors supported for the specified
    * project, optionally filtered.
    * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; - * + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; */ int getChannelDescriptorsCount(); /** - * - * *
    * The monitored resource descriptors supported for the specified
    * project, optionally filtered.
    * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; - * + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; */ - java.util.List + java.util.List getChannelDescriptorsOrBuilderList(); /** - * - * *
    * The monitored resource descriptors supported for the specified
    * project, optionally filtered.
    * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; - * + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; */ com.google.monitoring.v3.NotificationChannelDescriptorOrBuilder getChannelDescriptorsOrBuilder( int index); /** - * - * *
    * If not empty, indicates that there may be more results that match
    * the request. Use the value in the `page_token` field in a
@@ -98,13 +65,10 @@ com.google.monitoring.v3.NotificationChannelDescriptorOrBuilder getChannelDescri
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * If not empty, indicates that there may be more results that match
    * the request. Use the value in the `page_token` field in a
@@ -113,8 +77,8 @@ com.google.monitoring.v3.NotificationChannelDescriptorOrBuilder getChannelDescri
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsRequest.java similarity index 74% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsRequest.java index 258df0a9..5af47e63 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/notification_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `ListNotificationChannels` request.
  * 
* * Protobuf type {@code google.monitoring.v3.ListNotificationChannelsRequest} */ -public final class ListNotificationChannelsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListNotificationChannelsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListNotificationChannelsRequest) ListNotificationChannelsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListNotificationChannelsRequest.newBuilder() to construct. - private ListNotificationChannelsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListNotificationChannelsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListNotificationChannelsRequest() { name_ = ""; filter_ = ""; @@ -47,15 +28,16 @@ private ListNotificationChannelsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListNotificationChannelsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListNotificationChannelsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,78 +56,70 @@ private ListNotificationChannelsRequest( case 0: done = true; break; - case 24: - { - pageSize_ = input.readInt32(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + case 24: { - pageToken_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_ListNotificationChannelsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_ListNotificationChannelsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_ListNotificationChannelsRequest_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_ListNotificationChannelsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListNotificationChannelsRequest.class, - com.google.monitoring.v3.ListNotificationChannelsRequest.Builder.class); + com.google.monitoring.v3.ListNotificationChannelsRequest.class, com.google.monitoring.v3.ListNotificationChannelsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 5; private volatile java.lang.Object name_; /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
@@ -158,10 +132,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * operation.
    * 
* - * - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -170,15 +141,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
@@ -191,18 +161,17 @@ public java.lang.String getName() {
    * operation.
    * 
* - * - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -213,8 +182,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FILTER_FIELD_NUMBER = 6; private volatile java.lang.Object filter_; /** - * - * *
    * If provided, this field specifies the criteria that must be met by
    * notification channels to be included in the response.
@@ -223,7 +190,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string filter = 6; - * * @return The filter. */ @java.lang.Override @@ -232,15 +198,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * If provided, this field specifies the criteria that must be met by
    * notification channels to be included in the response.
@@ -249,15 +214,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 6; - * * @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 { @@ -268,8 +234,6 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int ORDER_BY_FIELD_NUMBER = 7; private volatile java.lang.Object orderBy_; /** - * - * *
    * A comma-separated list of fields by which to sort the result. Supports
    * the same set of fields as in `filter`. Entries can be prefixed with
@@ -279,7 +243,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * string order_by = 7; - * * @return The orderBy. */ @java.lang.Override @@ -288,15 +251,14 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * A comma-separated list of fields by which to sort the result. Supports
    * the same set of fields as in `filter`. Entries can be prefixed with
@@ -306,15 +268,16 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 7; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -325,8 +288,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * The maximum number of results to return in a single response. If
    * not set to a positive number, a reasonable value will be chosen by the
@@ -334,7 +295,6 @@ public com.google.protobuf.ByteString getOrderByBytes() {
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -345,8 +305,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** - * - * *
    * If non-empty, `page_token` must contain a value returned as the
    * `next_page_token` in a previous response to request the next set
@@ -354,7 +312,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -363,15 +320,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * If non-empty, `page_token` must contain a value returned as the
    * `next_page_token` in a previous response to request the next set
@@ -379,15 +335,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -396,7 +353,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -408,7 +364,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 (pageSize_ != 0) { output.writeInt32(3, pageSize_); } @@ -434,7 +391,8 @@ public int getSerializedSize() { size = 0; if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -456,19 +414,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.monitoring.v3.ListNotificationChannelsRequest)) { return super.equals(obj); } - com.google.monitoring.v3.ListNotificationChannelsRequest other = - (com.google.monitoring.v3.ListNotificationChannelsRequest) obj; - - if (!getName().equals(other.getName())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.monitoring.v3.ListNotificationChannelsRequest other = (com.google.monitoring.v3.ListNotificationChannelsRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -496,127 +458,117 @@ public int hashCode() { } public static com.google.monitoring.v3.ListNotificationChannelsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListNotificationChannelsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListNotificationChannelsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListNotificationChannelsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListNotificationChannelsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListNotificationChannelsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.ListNotificationChannelsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.ListNotificationChannelsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListNotificationChannelsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.ListNotificationChannelsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.ListNotificationChannelsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListNotificationChannelsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListNotificationChannelsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListNotificationChannelsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.ListNotificationChannelsRequest prototype) { + public static Builder newBuilder(com.google.monitoring.v3.ListNotificationChannelsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 `ListNotificationChannels` request.
    * 
* * Protobuf type {@code google.monitoring.v3.ListNotificationChannelsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListNotificationChannelsRequest) com.google.monitoring.v3.ListNotificationChannelsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_ListNotificationChannelsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_ListNotificationChannelsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_ListNotificationChannelsRequest_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_ListNotificationChannelsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListNotificationChannelsRequest.class, - com.google.monitoring.v3.ListNotificationChannelsRequest.Builder.class); + com.google.monitoring.v3.ListNotificationChannelsRequest.class, com.google.monitoring.v3.ListNotificationChannelsRequest.Builder.class); } // Construct using com.google.monitoring.v3.ListNotificationChannelsRequest.newBuilder() @@ -624,15 +576,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -650,9 +603,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_ListNotificationChannelsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_ListNotificationChannelsRequest_descriptor; } @java.lang.Override @@ -671,8 +624,7 @@ public com.google.monitoring.v3.ListNotificationChannelsRequest build() { @java.lang.Override public com.google.monitoring.v3.ListNotificationChannelsRequest buildPartial() { - com.google.monitoring.v3.ListNotificationChannelsRequest result = - new com.google.monitoring.v3.ListNotificationChannelsRequest(this); + com.google.monitoring.v3.ListNotificationChannelsRequest result = new com.google.monitoring.v3.ListNotificationChannelsRequest(this); result.name_ = name_; result.filter_ = filter_; result.orderBy_ = orderBy_; @@ -686,39 +638,38 @@ public com.google.monitoring.v3.ListNotificationChannelsRequest 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.monitoring.v3.ListNotificationChannelsRequest) { - return mergeFrom((com.google.monitoring.v3.ListNotificationChannelsRequest) other); + return mergeFrom((com.google.monitoring.v3.ListNotificationChannelsRequest)other); } else { super.mergeFrom(other); return this; @@ -726,8 +677,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.ListNotificationChannelsRequest other) { - if (other == com.google.monitoring.v3.ListNotificationChannelsRequest.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.ListNotificationChannelsRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -766,8 +716,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.ListNotificationChannelsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.ListNotificationChannelsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -779,8 +728,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
@@ -793,16 +740,14 @@ public Builder mergeFrom(
      * operation.
      * 
* - * - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -811,8 +756,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
@@ -825,17 +768,16 @@ public java.lang.String getName() {
      * operation.
      * 
* - * - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -843,8 +785,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
@@ -857,25 +797,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * operation.
      * 
* - * - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
@@ -888,21 +824,16 @@ public Builder setName(java.lang.String value) {
      * operation.
      * 
* - * - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
@@ -915,19 +846,17 @@ public Builder clearName() {
      * operation.
      * 
* - * - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -935,8 +864,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * If provided, this field specifies the criteria that must be met by
      * notification channels to be included in the response.
@@ -945,13 +872,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 6; - * * @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; @@ -960,8 +887,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * If provided, this field specifies the criteria that must be met by
      * notification channels to be included in the response.
@@ -970,14 +895,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 6; - * * @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 { @@ -985,8 +911,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * If provided, this field specifies the criteria that must be met by
      * notification channels to be included in the response.
@@ -995,22 +919,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 6; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * If provided, this field specifies the criteria that must be met by
      * notification channels to be included in the response.
@@ -1019,18 +941,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 6; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * If provided, this field specifies the criteria that must be met by
      * notification channels to be included in the response.
@@ -1039,16 +958,16 @@ public Builder clearFilter() {
      * 
* * string filter = 6; - * * @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; @@ -1056,8 +975,6 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * A comma-separated list of fields by which to sort the result. Supports
      * the same set of fields as in `filter`. Entries can be prefixed with
@@ -1067,13 +984,13 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
      * 
* * string order_by = 7; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1082,8 +999,6 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * A comma-separated list of fields by which to sort the result. Supports
      * the same set of fields as in `filter`. Entries can be prefixed with
@@ -1093,14 +1008,15 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 7; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1108,8 +1024,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * A comma-separated list of fields by which to sort the result. Supports
      * the same set of fields as in `filter`. Entries can be prefixed with
@@ -1119,22 +1033,20 @@ public com.google.protobuf.ByteString getOrderByBytes() {
      * 
* * string order_by = 7; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * A comma-separated list of fields by which to sort the result. Supports
      * the same set of fields as in `filter`. Entries can be prefixed with
@@ -1144,18 +1056,15 @@ public Builder setOrderBy(java.lang.String value) {
      * 
* * string order_by = 7; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * A comma-separated list of fields by which to sort the result. Supports
      * the same set of fields as in `filter`. Entries can be prefixed with
@@ -1165,25 +1074,23 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 7; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of results to return in a single response. If
      * not set to a positive number, a reasonable value will be chosen by the
@@ -1191,7 +1098,6 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -1199,8 +1105,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of results to return in a single response. If
      * not set to a positive number, a reasonable value will be chosen by the
@@ -1208,19 +1112,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of results to return in a single response. If
      * not set to a positive number, a reasonable value will be chosen by the
@@ -1228,11 +1129,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1240,8 +1140,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * If non-empty, `page_token` must contain a value returned as the
      * `next_page_token` in a previous response to request the next set
@@ -1249,13 +1147,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1264,8 +1162,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * If non-empty, `page_token` must contain a value returned as the
      * `next_page_token` in a previous response to request the next set
@@ -1273,14 +1169,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1288,8 +1185,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * If non-empty, `page_token` must contain a value returned as the
      * `next_page_token` in a previous response to request the next set
@@ -1297,22 +1192,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * If non-empty, `page_token` must contain a value returned as the
      * `next_page_token` in a previous response to request the next set
@@ -1320,18 +1213,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * If non-empty, `page_token` must contain a value returned as the
      * `next_page_token` in a previous response to request the next set
@@ -1339,23 +1229,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1365,12 +1255,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListNotificationChannelsRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListNotificationChannelsRequest) private static final com.google.monitoring.v3.ListNotificationChannelsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListNotificationChannelsRequest(); } @@ -1379,16 +1269,16 @@ public static com.google.monitoring.v3.ListNotificationChannelsRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListNotificationChannelsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListNotificationChannelsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListNotificationChannelsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListNotificationChannelsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1403,4 +1293,6 @@ public com.google.protobuf.Parser getParserForT public com.google.monitoring.v3.ListNotificationChannelsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsRequestOrBuilder.java similarity index 75% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsRequestOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsRequestOrBuilder.java index 92c4fdbb..b65a4dda 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsRequestOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsRequestOrBuilder.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/monitoring/v3/notification_service.proto package com.google.monitoring.v3; -public interface ListNotificationChannelsRequestOrBuilder - extends +public interface ListNotificationChannelsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListNotificationChannelsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
@@ -38,16 +20,11 @@ public interface ListNotificationChannelsRequestOrBuilder
    * operation.
    * 
* - * - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
@@ -60,17 +37,13 @@ public interface ListNotificationChannelsRequestOrBuilder
    * operation.
    * 
* - * - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * If provided, this field specifies the criteria that must be met by
    * notification channels to be included in the response.
@@ -79,13 +52,10 @@ public interface ListNotificationChannelsRequestOrBuilder
    * 
* * string filter = 6; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * If provided, this field specifies the criteria that must be met by
    * notification channels to be included in the response.
@@ -94,14 +64,12 @@ public interface ListNotificationChannelsRequestOrBuilder
    * 
* * string filter = 6; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * A comma-separated list of fields by which to sort the result. Supports
    * the same set of fields as in `filter`. Entries can be prefixed with
@@ -111,13 +79,10 @@ public interface ListNotificationChannelsRequestOrBuilder
    * 
* * string order_by = 7; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * A comma-separated list of fields by which to sort the result. Supports
    * the same set of fields as in `filter`. Entries can be prefixed with
@@ -127,14 +92,12 @@ public interface ListNotificationChannelsRequestOrBuilder
    * 
* * string order_by = 7; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); /** - * - * *
    * The maximum number of results to return in a single response. If
    * not set to a positive number, a reasonable value will be chosen by the
@@ -142,14 +105,11 @@ public interface ListNotificationChannelsRequestOrBuilder
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If non-empty, `page_token` must contain a value returned as the
    * `next_page_token` in a previous response to request the next set
@@ -157,13 +117,10 @@ public interface ListNotificationChannelsRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * If non-empty, `page_token` must contain a value returned as the
    * `next_page_token` in a previous response to request the next set
@@ -171,8 +128,8 @@ public interface ListNotificationChannelsRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsResponse.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsResponse.java similarity index 75% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsResponse.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsResponse.java index 42a127ae..187a7aab 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsResponse.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsResponse.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/notification_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `ListNotificationChannels` response.
  * 
* * Protobuf type {@code google.monitoring.v3.ListNotificationChannelsResponse} */ -public final class ListNotificationChannelsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListNotificationChannelsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListNotificationChannelsResponse) ListNotificationChannelsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListNotificationChannelsResponse.newBuilder() to construct. - private ListNotificationChannelsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListNotificationChannelsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListNotificationChannelsResponse() { notificationChannels_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,15 +26,16 @@ private ListNotificationChannelsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListNotificationChannelsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListNotificationChannelsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,43 +55,40 @@ private ListNotificationChannelsResponse( case 0: done = true; break; - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - notificationChannels_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - notificationChannels_.add( - input.readMessage( - com.google.monitoring.v3.NotificationChannel.parser(), extensionRegistry)); - break; - } - case 32: - { - totalSize_ = input.readInt32(); - break; + nextPageToken_ = s; + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + notificationChannels_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + notificationChannels_.add( + input.readMessage(com.google.monitoring.v3.NotificationChannel.parser(), extensionRegistry)); + break; + } + case 32: { + + totalSize_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { notificationChannels_ = java.util.Collections.unmodifiableList(notificationChannels_); @@ -118,27 +97,22 @@ private ListNotificationChannelsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_ListNotificationChannelsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_ListNotificationChannelsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_ListNotificationChannelsResponse_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_ListNotificationChannelsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListNotificationChannelsResponse.class, - com.google.monitoring.v3.ListNotificationChannelsResponse.Builder.class); + com.google.monitoring.v3.ListNotificationChannelsResponse.class, com.google.monitoring.v3.ListNotificationChannelsResponse.Builder.class); } public static final int NOTIFICATION_CHANNELS_FIELD_NUMBER = 3; private java.util.List notificationChannels_; /** - * - * *
    * The notification channels defined for the specified project.
    * 
@@ -146,13 +120,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.monitoring.v3.NotificationChannel notification_channels = 3; */ @java.lang.Override - public java.util.List - getNotificationChannelsList() { + public java.util.List getNotificationChannelsList() { return notificationChannels_; } /** - * - * *
    * The notification channels defined for the specified project.
    * 
@@ -160,13 +131,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.monitoring.v3.NotificationChannel notification_channels = 3; */ @java.lang.Override - public java.util.List + public java.util.List getNotificationChannelsOrBuilderList() { return notificationChannels_; } /** - * - * *
    * The notification channels defined for the specified project.
    * 
@@ -178,8 +147,6 @@ public int getNotificationChannelsCount() { return notificationChannels_.size(); } /** - * - * *
    * The notification channels defined for the specified project.
    * 
@@ -191,8 +158,6 @@ public com.google.monitoring.v3.NotificationChannel getNotificationChannels(int return notificationChannels_.get(index); } /** - * - * *
    * The notification channels defined for the specified project.
    * 
@@ -208,8 +173,6 @@ public com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChan public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * If not empty, indicates that there may be more results that match
    * the request. Use the value in the `page_token` field in a
@@ -218,7 +181,6 @@ public com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChan
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -227,15 +189,14 @@ 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; } } /** - * - * *
    * If not empty, indicates that there may be more results that match
    * the request. Use the value in the `page_token` field in a
@@ -244,15 +205,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -263,15 +225,12 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int TOTAL_SIZE_FIELD_NUMBER = 4; private int totalSize_; /** - * - * *
    * The total number of notification channels in all pages. This number is only
    * an estimate, and may change in subsequent pages. https://aip.dev/158
    * 
* * int32 total_size = 4; - * * @return The totalSize. */ @java.lang.Override @@ -280,7 +239,6 @@ public int getTotalSize() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -292,7 +250,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(nextPageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } @@ -315,11 +274,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } for (int i = 0; i < notificationChannels_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(3, notificationChannels_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, notificationChannels_.get(i)); } if (totalSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, totalSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, totalSize_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -329,17 +289,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.monitoring.v3.ListNotificationChannelsResponse)) { return super.equals(obj); } - com.google.monitoring.v3.ListNotificationChannelsResponse other = - (com.google.monitoring.v3.ListNotificationChannelsResponse) obj; + com.google.monitoring.v3.ListNotificationChannelsResponse other = (com.google.monitoring.v3.ListNotificationChannelsResponse) obj; - if (!getNotificationChannelsList().equals(other.getNotificationChannelsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (getTotalSize() != other.getTotalSize()) return false; + if (!getNotificationChannelsList() + .equals(other.getNotificationChannelsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (getTotalSize() + != other.getTotalSize()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -365,127 +327,117 @@ public int hashCode() { } public static com.google.monitoring.v3.ListNotificationChannelsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListNotificationChannelsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListNotificationChannelsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListNotificationChannelsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListNotificationChannelsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListNotificationChannelsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.ListNotificationChannelsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.ListNotificationChannelsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListNotificationChannelsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.ListNotificationChannelsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.ListNotificationChannelsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListNotificationChannelsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListNotificationChannelsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListNotificationChannelsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.ListNotificationChannelsResponse prototype) { + public static Builder newBuilder(com.google.monitoring.v3.ListNotificationChannelsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 `ListNotificationChannels` response.
    * 
* * Protobuf type {@code google.monitoring.v3.ListNotificationChannelsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListNotificationChannelsResponse) com.google.monitoring.v3.ListNotificationChannelsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_ListNotificationChannelsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_ListNotificationChannelsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_ListNotificationChannelsResponse_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_ListNotificationChannelsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListNotificationChannelsResponse.class, - com.google.monitoring.v3.ListNotificationChannelsResponse.Builder.class); + com.google.monitoring.v3.ListNotificationChannelsResponse.class, com.google.monitoring.v3.ListNotificationChannelsResponse.Builder.class); } // Construct using com.google.monitoring.v3.ListNotificationChannelsResponse.newBuilder() @@ -493,17 +445,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getNotificationChannelsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -521,9 +473,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_ListNotificationChannelsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_ListNotificationChannelsResponse_descriptor; } @java.lang.Override @@ -542,8 +494,7 @@ public com.google.monitoring.v3.ListNotificationChannelsResponse build() { @java.lang.Override public com.google.monitoring.v3.ListNotificationChannelsResponse buildPartial() { - com.google.monitoring.v3.ListNotificationChannelsResponse result = - new com.google.monitoring.v3.ListNotificationChannelsResponse(this); + com.google.monitoring.v3.ListNotificationChannelsResponse result = new com.google.monitoring.v3.ListNotificationChannelsResponse(this); int from_bitField0_ = bitField0_; if (notificationChannelsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -564,39 +515,38 @@ public com.google.monitoring.v3.ListNotificationChannelsResponse 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.monitoring.v3.ListNotificationChannelsResponse) { - return mergeFrom((com.google.monitoring.v3.ListNotificationChannelsResponse) other); + return mergeFrom((com.google.monitoring.v3.ListNotificationChannelsResponse)other); } else { super.mergeFrom(other); return this; @@ -604,8 +554,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.ListNotificationChannelsResponse other) { - if (other == com.google.monitoring.v3.ListNotificationChannelsResponse.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.ListNotificationChannelsResponse.getDefaultInstance()) return this; if (notificationChannelsBuilder_ == null) { if (!other.notificationChannels_.isEmpty()) { if (notificationChannels_.isEmpty()) { @@ -624,10 +573,9 @@ public Builder mergeFrom(com.google.monitoring.v3.ListNotificationChannelsRespon notificationChannelsBuilder_ = null; notificationChannels_ = other.notificationChannels_; bitField0_ = (bitField0_ & ~0x00000001); - notificationChannelsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getNotificationChannelsFieldBuilder() - : null; + notificationChannelsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getNotificationChannelsFieldBuilder() : null; } else { notificationChannelsBuilder_.addAllMessages(other.notificationChannels_); } @@ -659,8 +607,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.ListNotificationChannelsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.ListNotificationChannelsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -669,38 +616,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List notificationChannels_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureNotificationChannelsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - notificationChannels_ = - new java.util.ArrayList( - notificationChannels_); + notificationChannels_ = new java.util.ArrayList(notificationChannels_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.NotificationChannel, - com.google.monitoring.v3.NotificationChannel.Builder, - com.google.monitoring.v3.NotificationChannelOrBuilder> - notificationChannelsBuilder_; + com.google.monitoring.v3.NotificationChannel, com.google.monitoring.v3.NotificationChannel.Builder, com.google.monitoring.v3.NotificationChannelOrBuilder> notificationChannelsBuilder_; /** - * - * *
      * The notification channels defined for the specified project.
      * 
* * repeated .google.monitoring.v3.NotificationChannel notification_channels = 3; */ - public java.util.List - getNotificationChannelsList() { + public java.util.List getNotificationChannelsList() { if (notificationChannelsBuilder_ == null) { return java.util.Collections.unmodifiableList(notificationChannels_); } else { @@ -708,8 +645,6 @@ private void ensureNotificationChannelsIsMutable() { } } /** - * - * *
      * The notification channels defined for the specified project.
      * 
@@ -724,8 +659,6 @@ public int getNotificationChannelsCount() { } } /** - * - * *
      * The notification channels defined for the specified project.
      * 
@@ -740,8 +673,6 @@ public com.google.monitoring.v3.NotificationChannel getNotificationChannels(int } } /** - * - * *
      * The notification channels defined for the specified project.
      * 
@@ -763,8 +694,6 @@ public Builder setNotificationChannels( return this; } /** - * - * *
      * The notification channels defined for the specified project.
      * 
@@ -783,8 +712,6 @@ public Builder setNotificationChannels( return this; } /** - * - * *
      * The notification channels defined for the specified project.
      * 
@@ -805,8 +732,6 @@ public Builder addNotificationChannels(com.google.monitoring.v3.NotificationChan return this; } /** - * - * *
      * The notification channels defined for the specified project.
      * 
@@ -828,8 +753,6 @@ public Builder addNotificationChannels( return this; } /** - * - * *
      * The notification channels defined for the specified project.
      * 
@@ -848,8 +771,6 @@ public Builder addNotificationChannels( return this; } /** - * - * *
      * The notification channels defined for the specified project.
      * 
@@ -868,8 +789,6 @@ public Builder addNotificationChannels( return this; } /** - * - * *
      * The notification channels defined for the specified project.
      * 
@@ -880,7 +799,8 @@ public Builder addAllNotificationChannels( java.lang.Iterable values) { if (notificationChannelsBuilder_ == null) { ensureNotificationChannelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, notificationChannels_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, notificationChannels_); onChanged(); } else { notificationChannelsBuilder_.addAllMessages(values); @@ -888,8 +808,6 @@ public Builder addAllNotificationChannels( return this; } /** - * - * *
      * The notification channels defined for the specified project.
      * 
@@ -907,8 +825,6 @@ public Builder clearNotificationChannels() { return this; } /** - * - * *
      * The notification channels defined for the specified project.
      * 
@@ -926,8 +842,6 @@ public Builder removeNotificationChannels(int index) { return this; } /** - * - * *
      * The notification channels defined for the specified project.
      * 
@@ -939,8 +853,6 @@ public com.google.monitoring.v3.NotificationChannel.Builder getNotificationChann return getNotificationChannelsFieldBuilder().getBuilder(index); } /** - * - * *
      * The notification channels defined for the specified project.
      * 
@@ -950,22 +862,19 @@ public com.google.monitoring.v3.NotificationChannel.Builder getNotificationChann public com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChannelsOrBuilder( int index) { if (notificationChannelsBuilder_ == null) { - return notificationChannels_.get(index); - } else { + return notificationChannels_.get(index); } else { return notificationChannelsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The notification channels defined for the specified project.
      * 
* * repeated .google.monitoring.v3.NotificationChannel notification_channels = 3; */ - public java.util.List - getNotificationChannelsOrBuilderList() { + public java.util.List + getNotificationChannelsOrBuilderList() { if (notificationChannelsBuilder_ != null) { return notificationChannelsBuilder_.getMessageOrBuilderList(); } else { @@ -973,8 +882,6 @@ public com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChan } } /** - * - * *
      * The notification channels defined for the specified project.
      * 
@@ -982,12 +889,10 @@ public com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChan * repeated .google.monitoring.v3.NotificationChannel notification_channels = 3; */ public com.google.monitoring.v3.NotificationChannel.Builder addNotificationChannelsBuilder() { - return getNotificationChannelsFieldBuilder() - .addBuilder(com.google.monitoring.v3.NotificationChannel.getDefaultInstance()); + return getNotificationChannelsFieldBuilder().addBuilder( + com.google.monitoring.v3.NotificationChannel.getDefaultInstance()); } /** - * - * *
      * The notification channels defined for the specified project.
      * 
@@ -996,34 +901,26 @@ public com.google.monitoring.v3.NotificationChannel.Builder addNotificationChann */ public com.google.monitoring.v3.NotificationChannel.Builder addNotificationChannelsBuilder( int index) { - return getNotificationChannelsFieldBuilder() - .addBuilder(index, com.google.monitoring.v3.NotificationChannel.getDefaultInstance()); + return getNotificationChannelsFieldBuilder().addBuilder( + index, com.google.monitoring.v3.NotificationChannel.getDefaultInstance()); } /** - * - * *
      * The notification channels defined for the specified project.
      * 
* * repeated .google.monitoring.v3.NotificationChannel notification_channels = 3; */ - public java.util.List - getNotificationChannelsBuilderList() { + public java.util.List + getNotificationChannelsBuilderList() { return getNotificationChannelsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.NotificationChannel, - com.google.monitoring.v3.NotificationChannel.Builder, - com.google.monitoring.v3.NotificationChannelOrBuilder> + com.google.monitoring.v3.NotificationChannel, com.google.monitoring.v3.NotificationChannel.Builder, com.google.monitoring.v3.NotificationChannelOrBuilder> getNotificationChannelsFieldBuilder() { if (notificationChannelsBuilder_ == null) { - notificationChannelsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.NotificationChannel, - com.google.monitoring.v3.NotificationChannel.Builder, - com.google.monitoring.v3.NotificationChannelOrBuilder>( + notificationChannelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.monitoring.v3.NotificationChannel, com.google.monitoring.v3.NotificationChannel.Builder, com.google.monitoring.v3.NotificationChannelOrBuilder>( notificationChannels_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1035,8 +932,6 @@ public com.google.monitoring.v3.NotificationChannel.Builder addNotificationChann private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * If not empty, indicates that there may be more results that match
      * the request. Use the value in the `page_token` field in a
@@ -1045,13 +940,13 @@ public com.google.monitoring.v3.NotificationChannel.Builder addNotificationChann
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1060,8 +955,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * If not empty, indicates that there may be more results that match
      * the request. Use the value in the `page_token` field in a
@@ -1070,14 +963,15 @@ public java.lang.String getNextPageToken() {
      * 
* * 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 { @@ -1085,8 +979,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * If not empty, indicates that there may be more results that match
      * the request. Use the value in the `page_token` field in a
@@ -1095,22 +987,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * 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; } /** - * - * *
      * If not empty, indicates that there may be more results that match
      * the request. Use the value in the `page_token` field in a
@@ -1119,18 +1009,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * If not empty, indicates that there may be more results that match
      * the request. Use the value in the `page_token` field in a
@@ -1139,32 +1026,29 @@ public Builder clearNextPageToken() {
      * 
* * 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; } - private int totalSize_; + private int totalSize_ ; /** - * - * *
      * The total number of notification channels in all pages. This number is only
      * an estimate, and may change in subsequent pages. https://aip.dev/158
      * 
* * int32 total_size = 4; - * * @return The totalSize. */ @java.lang.Override @@ -1172,45 +1056,39 @@ public int getTotalSize() { return totalSize_; } /** - * - * *
      * The total number of notification channels in all pages. This number is only
      * an estimate, and may change in subsequent pages. https://aip.dev/158
      * 
* * int32 total_size = 4; - * * @param value The totalSize to set. * @return This builder for chaining. */ public Builder setTotalSize(int value) { - + totalSize_ = value; onChanged(); return this; } /** - * - * *
      * The total number of notification channels in all pages. This number is only
      * an estimate, and may change in subsequent pages. https://aip.dev/158
      * 
* * int32 total_size = 4; - * * @return This builder for chaining. */ public Builder clearTotalSize() { - + totalSize_ = 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); } @@ -1220,12 +1098,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListNotificationChannelsResponse) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListNotificationChannelsResponse) private static final com.google.monitoring.v3.ListNotificationChannelsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListNotificationChannelsResponse(); } @@ -1234,16 +1112,16 @@ public static com.google.monitoring.v3.ListNotificationChannelsResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListNotificationChannelsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListNotificationChannelsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListNotificationChannelsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListNotificationChannelsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1258,4 +1136,6 @@ public com.google.protobuf.Parser getParserFor public com.google.monitoring.v3.ListNotificationChannelsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsResponseOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsResponseOrBuilder.java similarity index 73% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsResponseOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsResponseOrBuilder.java index 8ad8b33f..273b5d37 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsResponseOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsResponseOrBuilder.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/monitoring/v3/notification_service.proto package com.google.monitoring.v3; -public interface ListNotificationChannelsResponseOrBuilder - extends +public interface ListNotificationChannelsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListNotificationChannelsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The notification channels defined for the specified project.
    * 
* * repeated .google.monitoring.v3.NotificationChannel notification_channels = 3; */ - java.util.List getNotificationChannelsList(); + java.util.List + getNotificationChannelsList(); /** - * - * *
    * The notification channels defined for the specified project.
    * 
@@ -44,8 +25,6 @@ public interface ListNotificationChannelsResponseOrBuilder */ com.google.monitoring.v3.NotificationChannel getNotificationChannels(int index); /** - * - * *
    * The notification channels defined for the specified project.
    * 
@@ -54,30 +33,25 @@ public interface ListNotificationChannelsResponseOrBuilder */ int getNotificationChannelsCount(); /** - * - * *
    * The notification channels defined for the specified project.
    * 
* * repeated .google.monitoring.v3.NotificationChannel notification_channels = 3; */ - java.util.List + java.util.List getNotificationChannelsOrBuilderList(); /** - * - * *
    * The notification channels defined for the specified project.
    * 
* * repeated .google.monitoring.v3.NotificationChannel notification_channels = 3; */ - com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChannelsOrBuilder(int index); + com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChannelsOrBuilder( + int index); /** - * - * *
    * If not empty, indicates that there may be more results that match
    * the request. Use the value in the `page_token` field in a
@@ -86,13 +60,10 @@ public interface ListNotificationChannelsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * If not empty, indicates that there may be more results that match
    * the request. Use the value in the `page_token` field in a
@@ -101,21 +72,18 @@ public interface ListNotificationChannelsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * The total number of notification channels in all pages. This number is only
    * an estimate, and may change in subsequent pages. https://aip.dev/158
    * 
* * int32 total_size = 4; - * * @return The totalSize. */ int getTotalSize(); diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesRequest.java similarity index 73% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesRequest.java index 293fbe66..69e28757 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/service_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `ListServiceLevelObjectives` request.
  * 
* * Protobuf type {@code google.monitoring.v3.ListServiceLevelObjectivesRequest} */ -public final class ListServiceLevelObjectivesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListServiceLevelObjectivesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListServiceLevelObjectivesRequest) ListServiceLevelObjectivesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListServiceLevelObjectivesRequest.newBuilder() to construct. - private ListServiceLevelObjectivesRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListServiceLevelObjectivesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListServiceLevelObjectivesRequest() { parent_ = ""; filter_ = ""; @@ -47,15 +28,16 @@ private ListServiceLevelObjectivesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListServiceLevelObjectivesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListServiceLevelObjectivesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,78 +56,70 @@ private ListServiceLevelObjectivesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 24: - { - pageSize_ = input.readInt32(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 24: { - pageToken_ = s; - break; - } - case 40: - { - int rawValue = input.readEnum(); + pageSize_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - view_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageToken_ = s; + break; + } + case 40: { + int rawValue = input.readEnum(); + + view_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_ListServiceLevelObjectivesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_ListServiceLevelObjectivesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_ListServiceLevelObjectivesRequest_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_ListServiceLevelObjectivesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListServiceLevelObjectivesRequest.class, - com.google.monitoring.v3.ListServiceLevelObjectivesRequest.Builder.class); + com.google.monitoring.v3.ListServiceLevelObjectivesRequest.class, com.google.monitoring.v3.ListServiceLevelObjectivesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Resource name of the parent containing the listed SLOs, either a
    * project or a Monitoring Workspace. The formats are:
@@ -153,10 +127,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *     workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/-
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -165,15 +136,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Resource name of the parent containing the listed SLOs, either a
    * project or a Monitoring Workspace. The formats are:
@@ -181,18 +151,17 @@ public java.lang.String getParent() {
    *     workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/-
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -203,14 +172,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** - * - * *
    * A filter specifying what `ServiceLevelObjective`s to return.
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -219,29 +185,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * A filter specifying what `ServiceLevelObjective`s to return.
    * 
* * string filter = 2; - * * @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 { @@ -252,15 +218,12 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * A non-negative number that is the maximum number of results to return.
    * When 0, use default page size.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -271,8 +234,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** - * - * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -280,7 +241,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -289,15 +249,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -305,15 +264,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -324,8 +284,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int VIEW_FIELD_NUMBER = 5; private int view_; /** - * - * *
    * View of the `ServiceLevelObjective`s to return. If `DEFAULT`, return each
    * `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
@@ -334,16 +292,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * .google.monitoring.v3.ServiceLevelObjective.View view = 5; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * View of the `ServiceLevelObjective`s to return. If `DEFAULT`, return each
    * `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
@@ -352,21 +306,15 @@ public int getViewValue() {
    * 
* * .google.monitoring.v3.ServiceLevelObjective.View view = 5; - * * @return The view. */ - @java.lang.Override - public com.google.monitoring.v3.ServiceLevelObjective.View getView() { + @java.lang.Override public com.google.monitoring.v3.ServiceLevelObjective.View getView() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.ServiceLevelObjective.View result = - com.google.monitoring.v3.ServiceLevelObjective.View.valueOf(view_); - return result == null - ? com.google.monitoring.v3.ServiceLevelObjective.View.UNRECOGNIZED - : result; + com.google.monitoring.v3.ServiceLevelObjective.View result = com.google.monitoring.v3.ServiceLevelObjective.View.valueOf(view_); + return result == null ? com.google.monitoring.v3.ServiceLevelObjective.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -378,7 +326,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -410,13 +359,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); } if (view_ != com.google.monitoring.v3.ServiceLevelObjective.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, view_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -426,18 +377,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.monitoring.v3.ListServiceLevelObjectivesRequest)) { return super.equals(obj); } - com.google.monitoring.v3.ListServiceLevelObjectivesRequest other = - (com.google.monitoring.v3.ListServiceLevelObjectivesRequest) obj; + com.google.monitoring.v3.ListServiceLevelObjectivesRequest other = (com.google.monitoring.v3.ListServiceLevelObjectivesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (view_ != other.view_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -466,127 +420,117 @@ public int hashCode() { } public static com.google.monitoring.v3.ListServiceLevelObjectivesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListServiceLevelObjectivesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListServiceLevelObjectivesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListServiceLevelObjectivesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListServiceLevelObjectivesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListServiceLevelObjectivesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.ListServiceLevelObjectivesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.ListServiceLevelObjectivesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListServiceLevelObjectivesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.ListServiceLevelObjectivesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.ListServiceLevelObjectivesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListServiceLevelObjectivesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListServiceLevelObjectivesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListServiceLevelObjectivesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.ListServiceLevelObjectivesRequest prototype) { + public static Builder newBuilder(com.google.monitoring.v3.ListServiceLevelObjectivesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 `ListServiceLevelObjectives` request.
    * 
* * Protobuf type {@code google.monitoring.v3.ListServiceLevelObjectivesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListServiceLevelObjectivesRequest) com.google.monitoring.v3.ListServiceLevelObjectivesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_ListServiceLevelObjectivesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_ListServiceLevelObjectivesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_ListServiceLevelObjectivesRequest_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_ListServiceLevelObjectivesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListServiceLevelObjectivesRequest.class, - com.google.monitoring.v3.ListServiceLevelObjectivesRequest.Builder.class); + com.google.monitoring.v3.ListServiceLevelObjectivesRequest.class, com.google.monitoring.v3.ListServiceLevelObjectivesRequest.Builder.class); } // Construct using com.google.monitoring.v3.ListServiceLevelObjectivesRequest.newBuilder() @@ -594,15 +538,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -620,9 +565,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_ListServiceLevelObjectivesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_ListServiceLevelObjectivesRequest_descriptor; } @java.lang.Override @@ -641,8 +586,7 @@ public com.google.monitoring.v3.ListServiceLevelObjectivesRequest build() { @java.lang.Override public com.google.monitoring.v3.ListServiceLevelObjectivesRequest buildPartial() { - com.google.monitoring.v3.ListServiceLevelObjectivesRequest result = - new com.google.monitoring.v3.ListServiceLevelObjectivesRequest(this); + com.google.monitoring.v3.ListServiceLevelObjectivesRequest result = new com.google.monitoring.v3.ListServiceLevelObjectivesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -656,39 +600,38 @@ public com.google.monitoring.v3.ListServiceLevelObjectivesRequest 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.monitoring.v3.ListServiceLevelObjectivesRequest) { - return mergeFrom((com.google.monitoring.v3.ListServiceLevelObjectivesRequest) other); + return mergeFrom((com.google.monitoring.v3.ListServiceLevelObjectivesRequest)other); } else { super.mergeFrom(other); return this; @@ -696,8 +639,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.ListServiceLevelObjectivesRequest other) { - if (other == com.google.monitoring.v3.ListServiceLevelObjectivesRequest.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.ListServiceLevelObjectivesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -735,8 +677,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.ListServiceLevelObjectivesRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.ListServiceLevelObjectivesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -748,8 +689,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Resource name of the parent containing the listed SLOs, either a
      * project or a Monitoring Workspace. The formats are:
@@ -757,16 +696,14 @@ public Builder mergeFrom(
      *     workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/-
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -775,8 +712,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of the parent containing the listed SLOs, either a
      * project or a Monitoring Workspace. The formats are:
@@ -784,17 +719,16 @@ public java.lang.String getParent() {
      *     workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/-
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -802,8 +736,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of the parent containing the listed SLOs, either a
      * project or a Monitoring Workspace. The formats are:
@@ -811,25 +743,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      *     workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/-
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the parent containing the listed SLOs, either a
      * project or a Monitoring Workspace. The formats are:
@@ -837,21 +765,16 @@ public Builder setParent(java.lang.String value) {
      *     workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/-
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the parent containing the listed SLOs, either a
      * project or a Monitoring Workspace. The formats are:
@@ -859,19 +782,17 @@ public Builder clearParent() {
      *     workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/-
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -879,20 +800,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * A filter specifying what `ServiceLevelObjective`s to return.
      * 
* * string filter = 2; - * * @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; @@ -901,21 +820,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * A filter specifying what `ServiceLevelObjective`s to return.
      * 
* * string filter = 2; - * * @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 { @@ -923,77 +841,67 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * A filter specifying what `ServiceLevelObjective`s to return.
      * 
* * string filter = 2; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * A filter specifying what `ServiceLevelObjective`s to return.
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * A filter specifying what `ServiceLevelObjective`s to return.
      * 
* * string filter = 2; - * * @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; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * A non-negative number that is the maximum number of results to return.
      * When 0, use default page size.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -1001,38 +909,32 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * A non-negative number that is the maximum number of results to return.
      * When 0, use default page size.
      * 
* * 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; } /** - * - * *
      * A non-negative number that is the maximum number of results to return.
      * When 0, use default page size.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1040,8 +942,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1049,13 +949,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1064,8 +964,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1073,14 +971,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1088,8 +987,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1097,22 +994,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1120,18 +1015,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1139,16 +1031,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1156,8 +1048,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * View of the `ServiceLevelObjective`s to return. If `DEFAULT`, return each
      * `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
@@ -1166,16 +1056,12 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.monitoring.v3.ServiceLevelObjective.View view = 5; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * View of the `ServiceLevelObjective`s to return. If `DEFAULT`, return each
      * `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
@@ -1184,19 +1070,16 @@ public int getViewValue() {
      * 
* * .google.monitoring.v3.ServiceLevelObjective.View view = 5; - * * @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; } /** - * - * *
      * View of the `ServiceLevelObjective`s to return. If `DEFAULT`, return each
      * `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
@@ -1205,21 +1088,15 @@ public Builder setViewValue(int value) {
      * 
* * .google.monitoring.v3.ServiceLevelObjective.View view = 5; - * * @return The view. */ @java.lang.Override public com.google.monitoring.v3.ServiceLevelObjective.View getView() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.ServiceLevelObjective.View result = - com.google.monitoring.v3.ServiceLevelObjective.View.valueOf(view_); - return result == null - ? com.google.monitoring.v3.ServiceLevelObjective.View.UNRECOGNIZED - : result; + com.google.monitoring.v3.ServiceLevelObjective.View result = com.google.monitoring.v3.ServiceLevelObjective.View.valueOf(view_); + return result == null ? com.google.monitoring.v3.ServiceLevelObjective.View.UNRECOGNIZED : result; } /** - * - * *
      * View of the `ServiceLevelObjective`s to return. If `DEFAULT`, return each
      * `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
@@ -1228,7 +1105,6 @@ public com.google.monitoring.v3.ServiceLevelObjective.View getView() {
      * 
* * .google.monitoring.v3.ServiceLevelObjective.View view = 5; - * * @param value The view to set. * @return This builder for chaining. */ @@ -1236,14 +1112,12 @@ public Builder setView(com.google.monitoring.v3.ServiceLevelObjective.View value if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * View of the `ServiceLevelObjective`s to return. If `DEFAULT`, return each
      * `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
@@ -1252,18 +1126,17 @@ public Builder setView(com.google.monitoring.v3.ServiceLevelObjective.View value
      * 
* * .google.monitoring.v3.ServiceLevelObjective.View view = 5; - * * @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); } @@ -1273,12 +1146,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListServiceLevelObjectivesRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListServiceLevelObjectivesRequest) private static final com.google.monitoring.v3.ListServiceLevelObjectivesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListServiceLevelObjectivesRequest(); } @@ -1287,16 +1160,16 @@ public static com.google.monitoring.v3.ListServiceLevelObjectivesRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListServiceLevelObjectivesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListServiceLevelObjectivesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListServiceLevelObjectivesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListServiceLevelObjectivesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1311,4 +1184,6 @@ public com.google.protobuf.Parser getParserFo public com.google.monitoring.v3.ListServiceLevelObjectivesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesRequestOrBuilder.java similarity index 73% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesRequestOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesRequestOrBuilder.java index a1d79112..e42bd70b 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesRequestOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesRequestOrBuilder.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/monitoring/v3/service_service.proto package com.google.monitoring.v3; -public interface ListServiceLevelObjectivesRequestOrBuilder - extends +public interface ListServiceLevelObjectivesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListServiceLevelObjectivesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the parent containing the listed SLOs, either a
    * project or a Monitoring Workspace. The formats are:
@@ -33,16 +15,11 @@ public interface ListServiceLevelObjectivesRequestOrBuilder
    *     workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/-
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Resource name of the parent containing the listed SLOs, either a
    * project or a Monitoring Workspace. The formats are:
@@ -50,56 +27,44 @@ public interface ListServiceLevelObjectivesRequestOrBuilder
    *     workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/-
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * A filter specifying what `ServiceLevelObjective`s to return.
    * 
* * string filter = 2; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * A filter specifying what `ServiceLevelObjective`s to return.
    * 
* * string filter = 2; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * A non-negative number that is the maximum number of results to return.
    * When 0, use default page size.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -107,13 +72,10 @@ public interface ListServiceLevelObjectivesRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -121,14 +83,12 @@ public interface ListServiceLevelObjectivesRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * View of the `ServiceLevelObjective`s to return. If `DEFAULT`, return each
    * `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
@@ -137,13 +97,10 @@ public interface ListServiceLevelObjectivesRequestOrBuilder
    * 
* * .google.monitoring.v3.ServiceLevelObjective.View view = 5; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * View of the `ServiceLevelObjective`s to return. If `DEFAULT`, return each
    * `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
@@ -152,7 +109,6 @@ public interface ListServiceLevelObjectivesRequestOrBuilder
    * 
* * .google.monitoring.v3.ServiceLevelObjective.View view = 5; - * * @return The view. */ com.google.monitoring.v3.ServiceLevelObjective.View getView(); diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesResponse.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesResponse.java similarity index 73% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesResponse.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesResponse.java index a908ca79..b12e363f 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesResponse.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesResponse.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/service_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `ListServiceLevelObjectives` response.
  * 
* * Protobuf type {@code google.monitoring.v3.ListServiceLevelObjectivesResponse} */ -public final class ListServiceLevelObjectivesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListServiceLevelObjectivesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListServiceLevelObjectivesResponse) ListServiceLevelObjectivesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListServiceLevelObjectivesResponse.newBuilder() to construct. - private ListServiceLevelObjectivesResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListServiceLevelObjectivesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListServiceLevelObjectivesResponse() { serviceLevelObjectives_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,15 +26,16 @@ private ListServiceLevelObjectivesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListServiceLevelObjectivesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListServiceLevelObjectivesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,38 +55,35 @@ private ListServiceLevelObjectivesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - serviceLevelObjectives_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - serviceLevelObjectives_.add( - input.readMessage( - com.google.monitoring.v3.ServiceLevelObjective.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + serviceLevelObjectives_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + serviceLevelObjectives_.add( + input.readMessage(com.google.monitoring.v3.ServiceLevelObjective.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { serviceLevelObjectives_ = java.util.Collections.unmodifiableList(serviceLevelObjectives_); @@ -113,27 +92,22 @@ private ListServiceLevelObjectivesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_ListServiceLevelObjectivesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_ListServiceLevelObjectivesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_ListServiceLevelObjectivesResponse_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_ListServiceLevelObjectivesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListServiceLevelObjectivesResponse.class, - com.google.monitoring.v3.ListServiceLevelObjectivesResponse.Builder.class); + com.google.monitoring.v3.ListServiceLevelObjectivesResponse.class, com.google.monitoring.v3.ListServiceLevelObjectivesResponse.Builder.class); } public static final int SERVICE_LEVEL_OBJECTIVES_FIELD_NUMBER = 1; private java.util.List serviceLevelObjectives_; /** - * - * *
    * The `ServiceLevelObjective`s matching the specified filter.
    * 
@@ -141,13 +115,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; */ @java.lang.Override - public java.util.List - getServiceLevelObjectivesList() { + public java.util.List getServiceLevelObjectivesList() { return serviceLevelObjectives_; } /** - * - * *
    * The `ServiceLevelObjective`s matching the specified filter.
    * 
@@ -155,13 +126,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; */ @java.lang.Override - public java.util.List + public java.util.List getServiceLevelObjectivesOrBuilderList() { return serviceLevelObjectives_; } /** - * - * *
    * The `ServiceLevelObjective`s matching the specified filter.
    * 
@@ -173,8 +142,6 @@ public int getServiceLevelObjectivesCount() { return serviceLevelObjectives_.size(); } /** - * - * *
    * The `ServiceLevelObjective`s matching the specified filter.
    * 
@@ -186,8 +153,6 @@ public com.google.monitoring.v3.ServiceLevelObjective getServiceLevelObjectives( return serviceLevelObjectives_.get(index); } /** - * - * *
    * The `ServiceLevelObjective`s matching the specified filter.
    * 
@@ -203,8 +168,6 @@ public com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder getServiceLevelOb public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -212,7 +175,6 @@ public com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder getServiceLevelOb
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -221,15 +183,14 @@ 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; } } /** - * - * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -237,15 +198,16 @@ public java.lang.String getNextPageToken() {
    * 
* * 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 { @@ -254,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -266,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < serviceLevelObjectives_.size(); i++) { output.writeMessage(1, serviceLevelObjectives_.get(i)); } @@ -283,9 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < serviceLevelObjectives_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, serviceLevelObjectives_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, serviceLevelObjectives_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -298,17 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.ListServiceLevelObjectivesResponse)) { return super.equals(obj); } - com.google.monitoring.v3.ListServiceLevelObjectivesResponse other = - (com.google.monitoring.v3.ListServiceLevelObjectivesResponse) obj; + com.google.monitoring.v3.ListServiceLevelObjectivesResponse other = (com.google.monitoring.v3.ListServiceLevelObjectivesResponse) obj; - if (!getServiceLevelObjectivesList().equals(other.getServiceLevelObjectivesList())) - return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getServiceLevelObjectivesList() + .equals(other.getServiceLevelObjectivesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -332,127 +293,117 @@ public int hashCode() { } public static com.google.monitoring.v3.ListServiceLevelObjectivesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListServiceLevelObjectivesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListServiceLevelObjectivesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListServiceLevelObjectivesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListServiceLevelObjectivesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListServiceLevelObjectivesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.ListServiceLevelObjectivesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.ListServiceLevelObjectivesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListServiceLevelObjectivesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.ListServiceLevelObjectivesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.ListServiceLevelObjectivesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListServiceLevelObjectivesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListServiceLevelObjectivesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListServiceLevelObjectivesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.ListServiceLevelObjectivesResponse prototype) { + public static Builder newBuilder(com.google.monitoring.v3.ListServiceLevelObjectivesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 `ListServiceLevelObjectives` response.
    * 
* * Protobuf type {@code google.monitoring.v3.ListServiceLevelObjectivesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListServiceLevelObjectivesResponse) com.google.monitoring.v3.ListServiceLevelObjectivesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_ListServiceLevelObjectivesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_ListServiceLevelObjectivesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_ListServiceLevelObjectivesResponse_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_ListServiceLevelObjectivesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListServiceLevelObjectivesResponse.class, - com.google.monitoring.v3.ListServiceLevelObjectivesResponse.Builder.class); + com.google.monitoring.v3.ListServiceLevelObjectivesResponse.class, com.google.monitoring.v3.ListServiceLevelObjectivesResponse.Builder.class); } // Construct using com.google.monitoring.v3.ListServiceLevelObjectivesResponse.newBuilder() @@ -460,17 +411,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getServiceLevelObjectivesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -486,9 +437,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_ListServiceLevelObjectivesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_ListServiceLevelObjectivesResponse_descriptor; } @java.lang.Override @@ -507,8 +458,7 @@ public com.google.monitoring.v3.ListServiceLevelObjectivesResponse build() { @java.lang.Override public com.google.monitoring.v3.ListServiceLevelObjectivesResponse buildPartial() { - com.google.monitoring.v3.ListServiceLevelObjectivesResponse result = - new com.google.monitoring.v3.ListServiceLevelObjectivesResponse(this); + com.google.monitoring.v3.ListServiceLevelObjectivesResponse result = new com.google.monitoring.v3.ListServiceLevelObjectivesResponse(this); int from_bitField0_ = bitField0_; if (serviceLevelObjectivesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -528,39 +478,38 @@ public com.google.monitoring.v3.ListServiceLevelObjectivesResponse 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.monitoring.v3.ListServiceLevelObjectivesResponse) { - return mergeFrom((com.google.monitoring.v3.ListServiceLevelObjectivesResponse) other); + return mergeFrom((com.google.monitoring.v3.ListServiceLevelObjectivesResponse)other); } else { super.mergeFrom(other); return this; @@ -568,8 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.ListServiceLevelObjectivesResponse other) { - if (other == com.google.monitoring.v3.ListServiceLevelObjectivesResponse.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.ListServiceLevelObjectivesResponse.getDefaultInstance()) return this; if (serviceLevelObjectivesBuilder_ == null) { if (!other.serviceLevelObjectives_.isEmpty()) { if (serviceLevelObjectives_.isEmpty()) { @@ -588,10 +536,9 @@ public Builder mergeFrom(com.google.monitoring.v3.ListServiceLevelObjectivesResp serviceLevelObjectivesBuilder_ = null; serviceLevelObjectives_ = other.serviceLevelObjectives_; bitField0_ = (bitField0_ & ~0x00000001); - serviceLevelObjectivesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getServiceLevelObjectivesFieldBuilder() - : null; + serviceLevelObjectivesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getServiceLevelObjectivesFieldBuilder() : null; } else { serviceLevelObjectivesBuilder_.addAllMessages(other.serviceLevelObjectives_); } @@ -620,8 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.ListServiceLevelObjectivesResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.ListServiceLevelObjectivesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -630,39 +576,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List serviceLevelObjectives_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureServiceLevelObjectivesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - serviceLevelObjectives_ = - new java.util.ArrayList( - serviceLevelObjectives_); + serviceLevelObjectives_ = new java.util.ArrayList(serviceLevelObjectives_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.ServiceLevelObjective, - com.google.monitoring.v3.ServiceLevelObjective.Builder, - com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder> - serviceLevelObjectivesBuilder_; + com.google.monitoring.v3.ServiceLevelObjective, com.google.monitoring.v3.ServiceLevelObjective.Builder, com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder> serviceLevelObjectivesBuilder_; /** - * - * *
      * The `ServiceLevelObjective`s matching the specified filter.
      * 
* - * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; - * + * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; */ - public java.util.List - getServiceLevelObjectivesList() { + public java.util.List getServiceLevelObjectivesList() { if (serviceLevelObjectivesBuilder_ == null) { return java.util.Collections.unmodifiableList(serviceLevelObjectives_); } else { @@ -670,14 +605,11 @@ private void ensureServiceLevelObjectivesIsMutable() { } } /** - * - * *
      * The `ServiceLevelObjective`s matching the specified filter.
      * 
* - * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; - * + * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; */ public int getServiceLevelObjectivesCount() { if (serviceLevelObjectivesBuilder_ == null) { @@ -687,14 +619,11 @@ public int getServiceLevelObjectivesCount() { } } /** - * - * *
      * The `ServiceLevelObjective`s matching the specified filter.
      * 
* - * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; - * + * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; */ public com.google.monitoring.v3.ServiceLevelObjective getServiceLevelObjectives(int index) { if (serviceLevelObjectivesBuilder_ == null) { @@ -704,14 +633,11 @@ public com.google.monitoring.v3.ServiceLevelObjective getServiceLevelObjectives( } } /** - * - * *
      * The `ServiceLevelObjective`s matching the specified filter.
      * 
* - * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; - * + * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; */ public Builder setServiceLevelObjectives( int index, com.google.monitoring.v3.ServiceLevelObjective value) { @@ -728,14 +654,11 @@ public Builder setServiceLevelObjectives( return this; } /** - * - * *
      * The `ServiceLevelObjective`s matching the specified filter.
      * 
* - * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; - * + * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; */ public Builder setServiceLevelObjectives( int index, com.google.monitoring.v3.ServiceLevelObjective.Builder builderForValue) { @@ -749,14 +672,11 @@ public Builder setServiceLevelObjectives( return this; } /** - * - * *
      * The `ServiceLevelObjective`s matching the specified filter.
      * 
* - * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; - * + * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; */ public Builder addServiceLevelObjectives(com.google.monitoring.v3.ServiceLevelObjective value) { if (serviceLevelObjectivesBuilder_ == null) { @@ -772,14 +692,11 @@ public Builder addServiceLevelObjectives(com.google.monitoring.v3.ServiceLevelOb return this; } /** - * - * *
      * The `ServiceLevelObjective`s matching the specified filter.
      * 
* - * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; - * + * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; */ public Builder addServiceLevelObjectives( int index, com.google.monitoring.v3.ServiceLevelObjective value) { @@ -796,14 +713,11 @@ public Builder addServiceLevelObjectives( return this; } /** - * - * *
      * The `ServiceLevelObjective`s matching the specified filter.
      * 
* - * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; - * + * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; */ public Builder addServiceLevelObjectives( com.google.monitoring.v3.ServiceLevelObjective.Builder builderForValue) { @@ -817,14 +731,11 @@ public Builder addServiceLevelObjectives( return this; } /** - * - * *
      * The `ServiceLevelObjective`s matching the specified filter.
      * 
* - * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; - * + * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; */ public Builder addServiceLevelObjectives( int index, com.google.monitoring.v3.ServiceLevelObjective.Builder builderForValue) { @@ -838,20 +749,18 @@ public Builder addServiceLevelObjectives( return this; } /** - * - * *
      * The `ServiceLevelObjective`s matching the specified filter.
      * 
* - * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; - * + * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; */ public Builder addAllServiceLevelObjectives( java.lang.Iterable values) { if (serviceLevelObjectivesBuilder_ == null) { ensureServiceLevelObjectivesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, serviceLevelObjectives_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, serviceLevelObjectives_); onChanged(); } else { serviceLevelObjectivesBuilder_.addAllMessages(values); @@ -859,14 +768,11 @@ public Builder addAllServiceLevelObjectives( return this; } /** - * - * *
      * The `ServiceLevelObjective`s matching the specified filter.
      * 
* - * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; - * + * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; */ public Builder clearServiceLevelObjectives() { if (serviceLevelObjectivesBuilder_ == null) { @@ -879,14 +785,11 @@ public Builder clearServiceLevelObjectives() { return this; } /** - * - * *
      * The `ServiceLevelObjective`s matching the specified filter.
      * 
* - * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; - * + * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; */ public Builder removeServiceLevelObjectives(int index) { if (serviceLevelObjectivesBuilder_ == null) { @@ -899,49 +802,39 @@ public Builder removeServiceLevelObjectives(int index) { return this; } /** - * - * *
      * The `ServiceLevelObjective`s matching the specified filter.
      * 
* - * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; - * + * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; */ public com.google.monitoring.v3.ServiceLevelObjective.Builder getServiceLevelObjectivesBuilder( int index) { return getServiceLevelObjectivesFieldBuilder().getBuilder(index); } /** - * - * *
      * The `ServiceLevelObjective`s matching the specified filter.
      * 
* - * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; - * + * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; */ - public com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder - getServiceLevelObjectivesOrBuilder(int index) { + public com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder getServiceLevelObjectivesOrBuilder( + int index) { if (serviceLevelObjectivesBuilder_ == null) { - return serviceLevelObjectives_.get(index); - } else { + return serviceLevelObjectives_.get(index); } else { return serviceLevelObjectivesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The `ServiceLevelObjective`s matching the specified filter.
      * 
* - * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; - * + * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; */ - public java.util.List - getServiceLevelObjectivesOrBuilderList() { + public java.util.List + getServiceLevelObjectivesOrBuilderList() { if (serviceLevelObjectivesBuilder_ != null) { return serviceLevelObjectivesBuilder_.getMessageOrBuilderList(); } else { @@ -949,61 +842,45 @@ public com.google.monitoring.v3.ServiceLevelObjective.Builder getServiceLevelObj } } /** - * - * *
      * The `ServiceLevelObjective`s matching the specified filter.
      * 
* - * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; - * + * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; */ - public com.google.monitoring.v3.ServiceLevelObjective.Builder - addServiceLevelObjectivesBuilder() { - return getServiceLevelObjectivesFieldBuilder() - .addBuilder(com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance()); + public com.google.monitoring.v3.ServiceLevelObjective.Builder addServiceLevelObjectivesBuilder() { + return getServiceLevelObjectivesFieldBuilder().addBuilder( + com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance()); } /** - * - * *
      * The `ServiceLevelObjective`s matching the specified filter.
      * 
* - * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; - * + * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; */ public com.google.monitoring.v3.ServiceLevelObjective.Builder addServiceLevelObjectivesBuilder( int index) { - return getServiceLevelObjectivesFieldBuilder() - .addBuilder(index, com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance()); + return getServiceLevelObjectivesFieldBuilder().addBuilder( + index, com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance()); } /** - * - * *
      * The `ServiceLevelObjective`s matching the specified filter.
      * 
* - * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; - * + * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; */ - public java.util.List - getServiceLevelObjectivesBuilderList() { + public java.util.List + getServiceLevelObjectivesBuilderList() { return getServiceLevelObjectivesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.ServiceLevelObjective, - com.google.monitoring.v3.ServiceLevelObjective.Builder, - com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder> + com.google.monitoring.v3.ServiceLevelObjective, com.google.monitoring.v3.ServiceLevelObjective.Builder, com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder> getServiceLevelObjectivesFieldBuilder() { if (serviceLevelObjectivesBuilder_ == null) { - serviceLevelObjectivesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.ServiceLevelObjective, - com.google.monitoring.v3.ServiceLevelObjective.Builder, - com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder>( + serviceLevelObjectivesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.monitoring.v3.ServiceLevelObjective, com.google.monitoring.v3.ServiceLevelObjective.Builder, com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder>( serviceLevelObjectives_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1015,8 +892,6 @@ public com.google.monitoring.v3.ServiceLevelObjective.Builder addServiceLevelObj private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -1024,13 +899,13 @@ public com.google.monitoring.v3.ServiceLevelObjective.Builder addServiceLevelObj
      * 
* * 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; @@ -1039,8 +914,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -1048,14 +921,15 @@ public java.lang.String getNextPageToken() {
      * 
* * 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 { @@ -1063,8 +937,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -1072,22 +944,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * 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; } /** - * - * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -1095,18 +965,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -1114,23 +981,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1140,12 +1007,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListServiceLevelObjectivesResponse) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListServiceLevelObjectivesResponse) private static final com.google.monitoring.v3.ListServiceLevelObjectivesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListServiceLevelObjectivesResponse(); } @@ -1154,16 +1021,16 @@ public static com.google.monitoring.v3.ListServiceLevelObjectivesResponse getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListServiceLevelObjectivesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListServiceLevelObjectivesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListServiceLevelObjectivesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListServiceLevelObjectivesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1178,4 +1045,6 @@ public com.google.protobuf.Parser getParserF public com.google.monitoring.v3.ListServiceLevelObjectivesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesResponseOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesResponseOrBuilder.java similarity index 74% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesResponseOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesResponseOrBuilder.java index 03df5937..8e3b4609 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesResponseOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesResponseOrBuilder.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/monitoring/v3/service_service.proto package com.google.monitoring.v3; -public interface ListServiceLevelObjectivesResponseOrBuilder - extends +public interface ListServiceLevelObjectivesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListServiceLevelObjectivesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The `ServiceLevelObjective`s matching the specified filter.
    * 
* * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; */ - java.util.List getServiceLevelObjectivesList(); + java.util.List + getServiceLevelObjectivesList(); /** - * - * *
    * The `ServiceLevelObjective`s matching the specified filter.
    * 
@@ -44,8 +25,6 @@ public interface ListServiceLevelObjectivesResponseOrBuilder */ com.google.monitoring.v3.ServiceLevelObjective getServiceLevelObjectives(int index); /** - * - * *
    * The `ServiceLevelObjective`s matching the specified filter.
    * 
@@ -54,19 +33,15 @@ public interface ListServiceLevelObjectivesResponseOrBuilder */ int getServiceLevelObjectivesCount(); /** - * - * *
    * The `ServiceLevelObjective`s matching the specified filter.
    * 
* * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; */ - java.util.List + java.util.List getServiceLevelObjectivesOrBuilderList(); /** - * - * *
    * The `ServiceLevelObjective`s matching the specified filter.
    * 
@@ -77,8 +52,6 @@ com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder getServiceLevelObjective int index); /** - * - * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -86,13 +59,10 @@ com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder getServiceLevelObjective
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -100,8 +70,8 @@ com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder getServiceLevelObjective
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesRequest.java similarity index 76% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesRequest.java index 1f0ac0da..51ff457d 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/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/monitoring/v3/service_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `ListServices` request.
  * 
* * Protobuf type {@code google.monitoring.v3.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.monitoring.v3.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() { parent_ = ""; filter_ = ""; @@ -45,15 +27,16 @@ 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; } - private ListServicesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,71 +55,64 @@ private ListServicesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 24: - { - pageSize_ = input.readInt32(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 24: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_ListServicesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_ListServicesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_ListServicesRequest_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_ListServicesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListServicesRequest.class, - com.google.monitoring.v3.ListServicesRequest.Builder.class); + com.google.monitoring.v3.ListServicesRequest.class, com.google.monitoring.v3.ListServicesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Resource name of the parent containing the listed services, either a
    * [project](https://cloud.google.com/monitoring/api/v3#project_name) or a
@@ -145,10 +121,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *     workspaces/[HOST_PROJECT_ID_OR_NUMBER]
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -157,15 +130,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Resource name of the parent containing the listed services, either a
    * [project](https://cloud.google.com/monitoring/api/v3#project_name) or a
@@ -174,18 +146,17 @@ public java.lang.String getParent() {
    *     workspaces/[HOST_PROJECT_ID_OR_NUMBER]
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -196,8 +167,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** - * - * *
    * A filter specifying what `Service`s to return. The filter currently
    * supports the following fields:
@@ -219,7 +188,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -228,15 +196,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * A filter specifying what `Service`s to return. The filter currently
    * supports the following fields:
@@ -258,15 +225,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -277,15 +245,12 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * A non-negative number that is the maximum number of results to return.
    * When 0, use default page size.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -296,8 +261,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** - * - * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -305,7 +268,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -314,15 +276,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -330,15 +291,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -347,7 +309,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -359,7 +320,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -388,7 +350,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -401,18 +364,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.monitoring.v3.ListServicesRequest)) { return super.equals(obj); } - com.google.monitoring.v3.ListServicesRequest other = - (com.google.monitoring.v3.ListServicesRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.monitoring.v3.ListServicesRequest other = (com.google.monitoring.v3.ListServicesRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -437,127 +403,118 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.ListServicesRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.ListServicesRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.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.monitoring.v3.ListServicesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.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.monitoring.v3.ListServicesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.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.monitoring.v3.ListServicesRequest 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.monitoring.v3.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.monitoring.v3.ListServicesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.ListServicesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.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.monitoring.v3.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.monitoring.v3.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.monitoring.v3.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; } /** - * - * *
    * The `ListServices` request.
    * 
* * Protobuf type {@code google.monitoring.v3.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.monitoring.v3.ListServicesRequest) com.google.monitoring.v3.ListServicesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_ListServicesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_ListServicesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_ListServicesRequest_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_ListServicesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListServicesRequest.class, - com.google.monitoring.v3.ListServicesRequest.Builder.class); + com.google.monitoring.v3.ListServicesRequest.class, com.google.monitoring.v3.ListServicesRequest.Builder.class); } // Construct using com.google.monitoring.v3.ListServicesRequest.newBuilder() @@ -565,15 +522,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -589,9 +547,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_ListServicesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_ListServicesRequest_descriptor; } @java.lang.Override @@ -610,8 +568,7 @@ public com.google.monitoring.v3.ListServicesRequest build() { @java.lang.Override public com.google.monitoring.v3.ListServicesRequest buildPartial() { - com.google.monitoring.v3.ListServicesRequest result = - new com.google.monitoring.v3.ListServicesRequest(this); + com.google.monitoring.v3.ListServicesRequest result = new com.google.monitoring.v3.ListServicesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -624,39 +581,38 @@ public com.google.monitoring.v3.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.monitoring.v3.ListServicesRequest) { - return mergeFrom((com.google.monitoring.v3.ListServicesRequest) other); + return mergeFrom((com.google.monitoring.v3.ListServicesRequest)other); } else { super.mergeFrom(other); return this; @@ -711,8 +667,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Resource name of the parent containing the listed services, either a
      * [project](https://cloud.google.com/monitoring/api/v3#project_name) or a
@@ -721,16 +675,14 @@ public Builder mergeFrom(
      *     workspaces/[HOST_PROJECT_ID_OR_NUMBER]
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -739,8 +691,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of the parent containing the listed services, either a
      * [project](https://cloud.google.com/monitoring/api/v3#project_name) or a
@@ -749,17 +699,16 @@ public java.lang.String getParent() {
      *     workspaces/[HOST_PROJECT_ID_OR_NUMBER]
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -767,8 +716,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of the parent containing the listed services, either a
      * [project](https://cloud.google.com/monitoring/api/v3#project_name) or a
@@ -777,25 +724,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      *     workspaces/[HOST_PROJECT_ID_OR_NUMBER]
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the parent containing the listed services, either a
      * [project](https://cloud.google.com/monitoring/api/v3#project_name) or a
@@ -804,21 +747,16 @@ public Builder setParent(java.lang.String value) {
      *     workspaces/[HOST_PROJECT_ID_OR_NUMBER]
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the parent containing the listed services, either a
      * [project](https://cloud.google.com/monitoring/api/v3#project_name) or a
@@ -827,19 +765,17 @@ public Builder clearParent() {
      *     workspaces/[HOST_PROJECT_ID_OR_NUMBER]
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -847,8 +783,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * A filter specifying what `Service`s to return. The filter currently
      * supports the following fields:
@@ -870,13 +804,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 2; - * * @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; @@ -885,8 +819,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * A filter specifying what `Service`s to return. The filter currently
      * supports the following fields:
@@ -908,14 +840,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; - * * @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 { @@ -923,8 +856,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * A filter specifying what `Service`s to return. The filter currently
      * supports the following fields:
@@ -946,22 +877,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 2; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * A filter specifying what `Service`s to return. The filter currently
      * supports the following fields:
@@ -983,18 +912,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * A filter specifying what `Service`s to return. The filter currently
      * supports the following fields:
@@ -1016,32 +942,29 @@ public Builder clearFilter() {
      * 
* * string filter = 2; - * * @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; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * A non-negative number that is the maximum number of results to return.
      * When 0, use default page size.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -1049,38 +972,32 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * A non-negative number that is the maximum number of results to return.
      * When 0, use default page size.
      * 
* * 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; } /** - * - * *
      * A non-negative number that is the maximum number of results to return.
      * When 0, use default page size.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1088,8 +1005,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1097,13 +1012,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1112,8 +1027,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1121,14 +1034,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1136,8 +1050,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1145,22 +1057,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1168,18 +1078,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1187,23 +1094,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1213,12 +1120,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListServicesRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListServicesRequest) private static final com.google.monitoring.v3.ListServicesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListServicesRequest(); } @@ -1227,16 +1134,16 @@ public static com.google.monitoring.v3.ListServicesRequest getDefaultInstance() 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 { - return new ListServicesRequest(input, extensionRegistry); - } - }; + 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 { + return new ListServicesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1251,4 +1158,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.ListServicesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesRequestOrBuilder.java similarity index 77% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesRequestOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesRequestOrBuilder.java index 733ee04f..0216730d 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesRequestOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesRequestOrBuilder.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/monitoring/v3/service_service.proto package com.google.monitoring.v3; -public interface ListServicesRequestOrBuilder - extends +public interface ListServicesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListServicesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the parent containing the listed services, either a
    * [project](https://cloud.google.com/monitoring/api/v3#project_name) or a
@@ -34,16 +16,11 @@ public interface ListServicesRequestOrBuilder
    *     workspaces/[HOST_PROJECT_ID_OR_NUMBER]
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Resource name of the parent containing the listed services, either a
    * [project](https://cloud.google.com/monitoring/api/v3#project_name) or a
@@ -52,17 +29,13 @@ public interface ListServicesRequestOrBuilder
    *     workspaces/[HOST_PROJECT_ID_OR_NUMBER]
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * A filter specifying what `Service`s to return. The filter currently
    * supports the following fields:
@@ -84,13 +57,10 @@ public interface ListServicesRequestOrBuilder
    * 
* * string filter = 2; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * A filter specifying what `Service`s to return. The filter currently
    * supports the following fields:
@@ -112,28 +82,23 @@ public interface ListServicesRequestOrBuilder
    * 
* * string filter = 2; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * A non-negative number that is the maximum number of results to return.
    * When 0, use default page size.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -141,13 +106,10 @@ public interface ListServicesRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -155,8 +117,8 @@ public interface ListServicesRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesResponse.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesResponse.java similarity index 75% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesResponse.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesResponse.java index 55eb2776..d39ff9f8 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesResponse.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/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/monitoring/v3/service_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `ListServices` response.
  * 
* * Protobuf type {@code google.monitoring.v3.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.monitoring.v3.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,15 +26,16 @@ 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; } - private ListServicesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,36 +55,35 @@ private ListServicesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - services_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - services_.add( - input.readMessage(com.google.monitoring.v3.Service.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + services_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + services_.add( + input.readMessage(com.google.monitoring.v3.Service.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { services_ = java.util.Collections.unmodifiableList(services_); @@ -110,27 +92,22 @@ private ListServicesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_ListServicesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_ListServicesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_ListServicesResponse_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_ListServicesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListServicesResponse.class, - com.google.monitoring.v3.ListServicesResponse.Builder.class); + com.google.monitoring.v3.ListServicesResponse.class, com.google.monitoring.v3.ListServicesResponse.Builder.class); } public static final int SERVICES_FIELD_NUMBER = 1; private java.util.List services_; /** - * - * *
    * The `Service`s matching the specified filter.
    * 
@@ -142,8 +119,6 @@ public java.util.List getServicesList() { return services_; } /** - * - * *
    * The `Service`s matching the specified filter.
    * 
@@ -151,13 +126,11 @@ public java.util.List getServicesList() { * repeated .google.monitoring.v3.Service services = 1; */ @java.lang.Override - public java.util.List + public java.util.List getServicesOrBuilderList() { return services_; } /** - * - * *
    * The `Service`s matching the specified filter.
    * 
@@ -169,8 +142,6 @@ public int getServicesCount() { return services_.size(); } /** - * - * *
    * The `Service`s matching the specified filter.
    * 
@@ -182,8 +153,6 @@ public com.google.monitoring.v3.Service getServices(int index) { return services_.get(index); } /** - * - * *
    * The `Service`s matching the specified filter.
    * 
@@ -191,15 +160,14 @@ public com.google.monitoring.v3.Service getServices(int index) { * repeated .google.monitoring.v3.Service services = 1; */ @java.lang.Override - public com.google.monitoring.v3.ServiceOrBuilder getServicesOrBuilder(int index) { + public com.google.monitoring.v3.ServiceOrBuilder getServicesOrBuilder( + int index) { return services_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -207,7 +175,6 @@ public com.google.monitoring.v3.ServiceOrBuilder getServicesOrBuilder(int index)
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -216,15 +183,14 @@ 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; } } /** - * - * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -232,15 +198,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -249,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -261,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < services_.size(); i++) { output.writeMessage(1, services_.get(i)); } @@ -278,7 +245,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_); @@ -291,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.ListServicesResponse)) { return super.equals(obj); } - com.google.monitoring.v3.ListServicesResponse other = - (com.google.monitoring.v3.ListServicesResponse) obj; + com.google.monitoring.v3.ListServicesResponse other = (com.google.monitoring.v3.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -323,127 +292,118 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.ListServicesResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.ListServicesResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.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.monitoring.v3.ListServicesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.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.monitoring.v3.ListServicesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.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.monitoring.v3.ListServicesResponse 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.monitoring.v3.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.monitoring.v3.ListServicesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.ListServicesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.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.monitoring.v3.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.monitoring.v3.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.monitoring.v3.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; } /** - * - * *
    * The `ListServices` response.
    * 
* * Protobuf type {@code google.monitoring.v3.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.monitoring.v3.ListServicesResponse) com.google.monitoring.v3.ListServicesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_ListServicesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_ListServicesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_ListServicesResponse_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_ListServicesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListServicesResponse.class, - com.google.monitoring.v3.ListServicesResponse.Builder.class); + com.google.monitoring.v3.ListServicesResponse.class, com.google.monitoring.v3.ListServicesResponse.Builder.class); } // Construct using com.google.monitoring.v3.ListServicesResponse.newBuilder() @@ -451,17 +411,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getServicesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -477,9 +437,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_ListServicesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_ListServicesResponse_descriptor; } @java.lang.Override @@ -498,8 +458,7 @@ public com.google.monitoring.v3.ListServicesResponse build() { @java.lang.Override public com.google.monitoring.v3.ListServicesResponse buildPartial() { - com.google.monitoring.v3.ListServicesResponse result = - new com.google.monitoring.v3.ListServicesResponse(this); + com.google.monitoring.v3.ListServicesResponse result = new com.google.monitoring.v3.ListServicesResponse(this); int from_bitField0_ = bitField0_; if (servicesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -519,39 +478,38 @@ public com.google.monitoring.v3.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.monitoring.v3.ListServicesResponse) { - return mergeFrom((com.google.monitoring.v3.ListServicesResponse) other); + return mergeFrom((com.google.monitoring.v3.ListServicesResponse)other); } else { super.mergeFrom(other); return this; @@ -578,10 +536,9 @@ public Builder mergeFrom(com.google.monitoring.v3.ListServicesResponse other) { 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_); } @@ -619,28 +576,21 @@ public Builder mergeFrom( } 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_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.Service, - com.google.monitoring.v3.Service.Builder, - com.google.monitoring.v3.ServiceOrBuilder> - servicesBuilder_; + com.google.monitoring.v3.Service, com.google.monitoring.v3.Service.Builder, com.google.monitoring.v3.ServiceOrBuilder> servicesBuilder_; /** - * - * *
      * The `Service`s matching the specified filter.
      * 
@@ -655,8 +605,6 @@ public java.util.List getServicesList() { } } /** - * - * *
      * The `Service`s matching the specified filter.
      * 
@@ -671,8 +619,6 @@ public int getServicesCount() { } } /** - * - * *
      * The `Service`s matching the specified filter.
      * 
@@ -687,15 +633,14 @@ public com.google.monitoring.v3.Service getServices(int index) { } } /** - * - * *
      * The `Service`s matching the specified filter.
      * 
* * repeated .google.monitoring.v3.Service services = 1; */ - public Builder setServices(int index, com.google.monitoring.v3.Service value) { + public Builder setServices( + int index, com.google.monitoring.v3.Service value) { if (servicesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -709,8 +654,6 @@ public Builder setServices(int index, com.google.monitoring.v3.Service value) { return this; } /** - * - * *
      * The `Service`s matching the specified filter.
      * 
@@ -729,8 +672,6 @@ public Builder setServices( return this; } /** - * - * *
      * The `Service`s matching the specified filter.
      * 
@@ -751,15 +692,14 @@ public Builder addServices(com.google.monitoring.v3.Service value) { return this; } /** - * - * *
      * The `Service`s matching the specified filter.
      * 
* * repeated .google.monitoring.v3.Service services = 1; */ - public Builder addServices(int index, com.google.monitoring.v3.Service value) { + public Builder addServices( + int index, com.google.monitoring.v3.Service value) { if (servicesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -773,15 +713,14 @@ public Builder addServices(int index, com.google.monitoring.v3.Service value) { return this; } /** - * - * *
      * The `Service`s matching the specified filter.
      * 
* * repeated .google.monitoring.v3.Service services = 1; */ - public Builder addServices(com.google.monitoring.v3.Service.Builder builderForValue) { + public Builder addServices( + com.google.monitoring.v3.Service.Builder builderForValue) { if (servicesBuilder_ == null) { ensureServicesIsMutable(); services_.add(builderForValue.build()); @@ -792,8 +731,6 @@ public Builder addServices(com.google.monitoring.v3.Service.Builder builderForVa return this; } /** - * - * *
      * The `Service`s matching the specified filter.
      * 
@@ -812,8 +749,6 @@ public Builder addServices( return this; } /** - * - * *
      * The `Service`s matching the specified filter.
      * 
@@ -824,7 +759,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); @@ -832,8 +768,6 @@ public Builder addAllServices( return this; } /** - * - * *
      * The `Service`s matching the specified filter.
      * 
@@ -851,8 +785,6 @@ public Builder clearServices() { return this; } /** - * - * *
      * The `Service`s matching the specified filter.
      * 
@@ -870,44 +802,39 @@ public Builder removeServices(int index) { return this; } /** - * - * *
      * The `Service`s matching the specified filter.
      * 
* * repeated .google.monitoring.v3.Service services = 1; */ - public com.google.monitoring.v3.Service.Builder getServicesBuilder(int index) { + public com.google.monitoring.v3.Service.Builder getServicesBuilder( + int index) { return getServicesFieldBuilder().getBuilder(index); } /** - * - * *
      * The `Service`s matching the specified filter.
      * 
* * repeated .google.monitoring.v3.Service services = 1; */ - public com.google.monitoring.v3.ServiceOrBuilder getServicesOrBuilder(int index) { + public com.google.monitoring.v3.ServiceOrBuilder getServicesOrBuilder( + int index) { if (servicesBuilder_ == null) { - return services_.get(index); - } else { + return services_.get(index); } else { return servicesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The `Service`s matching the specified filter.
      * 
* * repeated .google.monitoring.v3.Service services = 1; */ - public java.util.List - getServicesOrBuilderList() { + public java.util.List + getServicesOrBuilderList() { if (servicesBuilder_ != null) { return servicesBuilder_.getMessageOrBuilderList(); } else { @@ -915,8 +842,6 @@ public com.google.monitoring.v3.ServiceOrBuilder getServicesOrBuilder(int index) } } /** - * - * *
      * The `Service`s matching the specified filter.
      * 
@@ -924,47 +849,42 @@ public com.google.monitoring.v3.ServiceOrBuilder getServicesOrBuilder(int index) * repeated .google.monitoring.v3.Service services = 1; */ public com.google.monitoring.v3.Service.Builder addServicesBuilder() { - return getServicesFieldBuilder() - .addBuilder(com.google.monitoring.v3.Service.getDefaultInstance()); + return getServicesFieldBuilder().addBuilder( + com.google.monitoring.v3.Service.getDefaultInstance()); } /** - * - * *
      * The `Service`s matching the specified filter.
      * 
* * repeated .google.monitoring.v3.Service services = 1; */ - public com.google.monitoring.v3.Service.Builder addServicesBuilder(int index) { - return getServicesFieldBuilder() - .addBuilder(index, com.google.monitoring.v3.Service.getDefaultInstance()); + public com.google.monitoring.v3.Service.Builder addServicesBuilder( + int index) { + return getServicesFieldBuilder().addBuilder( + index, com.google.monitoring.v3.Service.getDefaultInstance()); } /** - * - * *
      * The `Service`s matching the specified filter.
      * 
* * repeated .google.monitoring.v3.Service services = 1; */ - public java.util.List getServicesBuilderList() { + public java.util.List + getServicesBuilderList() { return getServicesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.Service, - com.google.monitoring.v3.Service.Builder, - com.google.monitoring.v3.ServiceOrBuilder> + com.google.monitoring.v3.Service, com.google.monitoring.v3.Service.Builder, com.google.monitoring.v3.ServiceOrBuilder> getServicesFieldBuilder() { if (servicesBuilder_ == null) { - servicesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.Service, - com.google.monitoring.v3.Service.Builder, - com.google.monitoring.v3.ServiceOrBuilder>( - services_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + servicesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.monitoring.v3.Service, com.google.monitoring.v3.Service.Builder, com.google.monitoring.v3.ServiceOrBuilder>( + services_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); services_ = null; } return servicesBuilder_; @@ -972,8 +892,6 @@ public java.util.List getServicesBuild private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -981,13 +899,13 @@ public java.util.List getServicesBuild
      * 
* * 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; @@ -996,8 +914,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -1005,14 +921,15 @@ public java.lang.String getNextPageToken() {
      * 
* * 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 { @@ -1020,8 +937,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -1029,22 +944,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * 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; } /** - * - * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -1052,18 +965,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -1071,23 +981,23 @@ public Builder clearNextPageToken() {
      * 
* * 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); } @@ -1097,12 +1007,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListServicesResponse) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListServicesResponse) private static final com.google.monitoring.v3.ListServicesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListServicesResponse(); } @@ -1111,16 +1021,16 @@ public static com.google.monitoring.v3.ListServicesResponse getDefaultInstance() 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 { - return new ListServicesResponse(input, extensionRegistry); - } - }; + 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 { + return new ListServicesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1135,4 +1045,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.ListServicesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesResponseOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesResponseOrBuilder.java similarity index 68% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesResponseOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesResponseOrBuilder.java index b5d24acc..c5573ae9 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesResponseOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/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/monitoring/v3/service_service.proto package com.google.monitoring.v3; -public interface ListServicesResponseOrBuilder - extends +public interface ListServicesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListServicesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The `Service`s matching the specified filter.
    * 
* * repeated .google.monitoring.v3.Service services = 1; */ - java.util.List getServicesList(); + java.util.List + getServicesList(); /** - * - * *
    * The `Service`s matching the specified filter.
    * 
@@ -44,8 +25,6 @@ public interface ListServicesResponseOrBuilder */ com.google.monitoring.v3.Service getServices(int index); /** - * - * *
    * The `Service`s matching the specified filter.
    * 
@@ -54,29 +33,25 @@ public interface ListServicesResponseOrBuilder */ int getServicesCount(); /** - * - * *
    * The `Service`s matching the specified filter.
    * 
* * repeated .google.monitoring.v3.Service services = 1; */ - java.util.List getServicesOrBuilderList(); + java.util.List + getServicesOrBuilderList(); /** - * - * *
    * The `Service`s matching the specified filter.
    * 
* * repeated .google.monitoring.v3.Service services = 1; */ - com.google.monitoring.v3.ServiceOrBuilder getServicesOrBuilder(int index); + com.google.monitoring.v3.ServiceOrBuilder getServicesOrBuilder( + int index); /** - * - * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -84,13 +59,10 @@ public interface ListServicesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -98,8 +70,8 @@ public interface ListServicesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesRequest.java similarity index 73% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesRequest.java index ef6a587b..1b183c7c 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesRequest.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/monitoring/v3/metric_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `ListTimeSeries` request.
  * 
* * Protobuf type {@code google.monitoring.v3.ListTimeSeriesRequest} */ -public final class ListTimeSeriesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTimeSeriesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListTimeSeriesRequest) ListTimeSeriesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTimeSeriesRequest.newBuilder() to construct. private ListTimeSeriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTimeSeriesRequest() { name_ = ""; filter_ = ""; @@ -47,15 +29,16 @@ private ListTimeSeriesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTimeSeriesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListTimeSeriesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,141 +57,122 @@ private ListTimeSeriesRequest( case 0: done = true; break; - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 34: - { - com.google.monitoring.v3.TimeInterval.Builder subBuilder = null; - if (interval_ != null) { - subBuilder = interval_.toBuilder(); - } - interval_ = - input.readMessage( - com.google.monitoring.v3.TimeInterval.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(interval_); - interval_ = subBuilder.buildPartial(); - } - - break; - } - case 42: - { - com.google.monitoring.v3.Aggregation.Builder subBuilder = null; - if (aggregation_ != null) { - subBuilder = aggregation_.toBuilder(); - } - aggregation_ = - input.readMessage( - com.google.monitoring.v3.Aggregation.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(aggregation_); - aggregation_ = subBuilder.buildPartial(); - } - - break; + filter_ = s; + break; + } + case 34: { + com.google.monitoring.v3.TimeInterval.Builder subBuilder = null; + if (interval_ != null) { + subBuilder = interval_.toBuilder(); } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - - orderBy_ = s; - break; + interval_ = input.readMessage(com.google.monitoring.v3.TimeInterval.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(interval_); + interval_ = subBuilder.buildPartial(); } - case 56: - { - int rawValue = input.readEnum(); - view_ = rawValue; - break; + break; + } + case 42: { + com.google.monitoring.v3.Aggregation.Builder subBuilder = null; + if (aggregation_ != null) { + subBuilder = aggregation_.toBuilder(); } - case 64: - { - pageSize_ = input.readInt32(); - break; + aggregation_ = input.readMessage(com.google.monitoring.v3.Aggregation.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(aggregation_); + aggregation_ = subBuilder.buildPartial(); } - case 74: - { - java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 82: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + case 56: { + int rawValue = input.readEnum(); + + view_ = rawValue; + break; + } + case 64: { + + pageSize_ = input.readInt32(); + break; + } + case 74: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + pageToken_ = s; + break; + } + case 82: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + case 90: { + com.google.monitoring.v3.Aggregation.Builder subBuilder = null; + if (secondaryAggregation_ != null) { + subBuilder = secondaryAggregation_.toBuilder(); } - case 90: - { - com.google.monitoring.v3.Aggregation.Builder subBuilder = null; - if (secondaryAggregation_ != null) { - subBuilder = secondaryAggregation_.toBuilder(); - } - secondaryAggregation_ = - input.readMessage( - com.google.monitoring.v3.Aggregation.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(secondaryAggregation_); - secondaryAggregation_ = subBuilder.buildPartial(); - } - - break; + secondaryAggregation_ = input.readMessage(com.google.monitoring.v3.Aggregation.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(secondaryAggregation_); + secondaryAggregation_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_ListTimeSeriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListTimeSeriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_ListTimeSeriesRequest_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListTimeSeriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListTimeSeriesRequest.class, - com.google.monitoring.v3.ListTimeSeriesRequest.Builder.class); + com.google.monitoring.v3.ListTimeSeriesRequest.class, com.google.monitoring.v3.ListTimeSeriesRequest.Builder.class); } /** - * - * *
    * Controls which fields are returned by `ListTimeSeries`.
    * 
* * Protobuf enum {@code google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView} */ - public enum TimeSeriesView implements com.google.protobuf.ProtocolMessageEnum { + public enum TimeSeriesView + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Returns the identity of the metric(s), the time series,
      * and the time series data.
@@ -218,8 +182,6 @@ public enum TimeSeriesView implements com.google.protobuf.ProtocolMessageEnum {
      */
     FULL(0),
     /**
-     *
-     *
      * 
      * Returns the identity of the metric and the time series resource,
      * but not the time series data.
@@ -232,8 +194,6 @@ public enum TimeSeriesView implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Returns the identity of the metric(s), the time series,
      * and the time series data.
@@ -243,8 +203,6 @@ public enum TimeSeriesView implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FULL_VALUE = 0;
     /**
-     *
-     *
      * 
      * Returns the identity of the metric and the time series resource,
      * but not the time series data.
@@ -254,6 +212,7 @@ public enum TimeSeriesView implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int HEADERS_VALUE = 1;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -278,47 +237,48 @@ public static TimeSeriesView valueOf(int value) {
      */
     public static TimeSeriesView forNumber(int value) {
       switch (value) {
-        case 0:
-          return FULL;
-        case 1:
-          return HEADERS;
-        default:
-          return null;
+        case 0: return FULL;
+        case 1: return HEADERS;
+        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<
+        TimeSeriesView> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public TimeSeriesView findValueByNumber(int number) {
+              return TimeSeriesView.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public TimeSeriesView findValueByNumber(int number) {
-            return TimeSeriesView.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.monitoring.v3.ListTimeSeriesRequest.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final TimeSeriesView[] VALUES = values();
 
-    public static TimeSeriesView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static TimeSeriesView 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;
@@ -338,8 +298,6 @@ private TimeSeriesView(int value) {
   public static final int NAME_FIELD_NUMBER = 10;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name),
    * organization or folder on which to execute the request. The format is:
@@ -348,10 +306,7 @@ private TimeSeriesView(int value) {
    *     folders/[FOLDER_ID]
    * 
* - * - * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -360,15 +315,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name),
    * organization or folder on which to execute the request. The format is:
@@ -377,18 +331,17 @@ public java.lang.String getName() {
    *     folders/[FOLDER_ID]
    * 
* - * - * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -399,8 +352,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** - * - * *
    * Required. A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * that specifies which time series should be returned.  The filter must
@@ -411,7 +362,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ @java.lang.Override @@ -420,15 +370,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. A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * that specifies which time series should be returned.  The filter must
@@ -439,15 +388,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2 [(.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 { @@ -458,18 +408,13 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int INTERVAL_FIELD_NUMBER = 4; private com.google.monitoring.v3.TimeInterval interval_; /** - * - * *
    * Required. The time interval for which results should be returned. Only time series
    * that contain data points in the specified interval are included
    * in the response.
    * 
* - * - * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the interval field is set. */ @java.lang.Override @@ -477,38 +422,27 @@ public boolean hasInterval() { return interval_ != null; } /** - * - * *
    * Required. The time interval for which results should be returned. Only time series
    * that contain data points in the specified interval are included
    * in the response.
    * 
* - * - * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The interval. */ @java.lang.Override public com.google.monitoring.v3.TimeInterval getInterval() { - return interval_ == null - ? com.google.monitoring.v3.TimeInterval.getDefaultInstance() - : interval_; + return interval_ == null ? com.google.monitoring.v3.TimeInterval.getDefaultInstance() : interval_; } /** - * - * *
    * Required. The time interval for which results should be returned. Only time series
    * that contain data points in the specified interval are included
    * in the response.
    * 
* - * - * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.monitoring.v3.TimeIntervalOrBuilder getIntervalOrBuilder() { @@ -518,8 +452,6 @@ public com.google.monitoring.v3.TimeIntervalOrBuilder getIntervalOrBuilder() { public static final int AGGREGATION_FIELD_NUMBER = 5; private com.google.monitoring.v3.Aggregation aggregation_; /** - * - * *
    * Specifies the alignment of data points in individual time series as
    * well as how to combine the retrieved time series across specified labels.
@@ -528,7 +460,6 @@ public com.google.monitoring.v3.TimeIntervalOrBuilder getIntervalOrBuilder() {
    * 
* * .google.monitoring.v3.Aggregation aggregation = 5; - * * @return Whether the aggregation field is set. */ @java.lang.Override @@ -536,8 +467,6 @@ public boolean hasAggregation() { return aggregation_ != null; } /** - * - * *
    * Specifies the alignment of data points in individual time series as
    * well as how to combine the retrieved time series across specified labels.
@@ -546,18 +475,13 @@ public boolean hasAggregation() {
    * 
* * .google.monitoring.v3.Aggregation aggregation = 5; - * * @return The aggregation. */ @java.lang.Override public com.google.monitoring.v3.Aggregation getAggregation() { - return aggregation_ == null - ? com.google.monitoring.v3.Aggregation.getDefaultInstance() - : aggregation_; + return aggregation_ == null ? com.google.monitoring.v3.Aggregation.getDefaultInstance() : aggregation_; } /** - * - * *
    * Specifies the alignment of data points in individual time series as
    * well as how to combine the retrieved time series across specified labels.
@@ -575,15 +499,12 @@ public com.google.monitoring.v3.AggregationOrBuilder getAggregationOrBuilder() {
   public static final int SECONDARY_AGGREGATION_FIELD_NUMBER = 11;
   private com.google.monitoring.v3.Aggregation secondaryAggregation_;
   /**
-   *
-   *
    * 
    * Apply a second aggregation after `aggregation` is applied. May only be
    * specified if `aggregation` is specified.
    * 
* * .google.monitoring.v3.Aggregation secondary_aggregation = 11; - * * @return Whether the secondaryAggregation field is set. */ @java.lang.Override @@ -591,26 +512,19 @@ public boolean hasSecondaryAggregation() { return secondaryAggregation_ != null; } /** - * - * *
    * Apply a second aggregation after `aggregation` is applied. May only be
    * specified if `aggregation` is specified.
    * 
* * .google.monitoring.v3.Aggregation secondary_aggregation = 11; - * * @return The secondaryAggregation. */ @java.lang.Override public com.google.monitoring.v3.Aggregation getSecondaryAggregation() { - return secondaryAggregation_ == null - ? com.google.monitoring.v3.Aggregation.getDefaultInstance() - : secondaryAggregation_; + return secondaryAggregation_ == null ? com.google.monitoring.v3.Aggregation.getDefaultInstance() : secondaryAggregation_; } /** - * - * *
    * Apply a second aggregation after `aggregation` is applied. May only be
    * specified if `aggregation` is specified.
@@ -626,15 +540,12 @@ public com.google.monitoring.v3.AggregationOrBuilder getSecondaryAggregationOrBu
   public static final int ORDER_BY_FIELD_NUMBER = 6;
   private volatile java.lang.Object orderBy_;
   /**
-   *
-   *
    * 
    * Unsupported: must be left blank. The points in each time series are
    * currently returned in reverse time order (most recent to oldest).
    * 
* * string order_by = 6; - * * @return The orderBy. */ @java.lang.Override @@ -643,30 +554,30 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * Unsupported: must be left blank. The points in each time series are
    * currently returned in reverse time order (most recent to oldest).
    * 
* * string order_by = 6; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -677,50 +588,33 @@ public com.google.protobuf.ByteString getOrderByBytes() { public static final int VIEW_FIELD_NUMBER = 7; private int view_; /** - * - * *
    * Required. Specifies which information is returned about the time series.
    * 
* - * - * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * Required. Specifies which information is returned about the time series.
    * 
* - * - * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; * @return The view. */ - @java.lang.Override - public com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView getView() { + @java.lang.Override public com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView getView() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView result = - com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView.valueOf(view_); - return result == null - ? com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView.UNRECOGNIZED - : result; + com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView result = com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView.valueOf(view_); + return result == null ? com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView.UNRECOGNIZED : result; } public static final int PAGE_SIZE_FIELD_NUMBER = 8; private int pageSize_; /** - * - * *
    * A positive number that is the maximum number of results to return. If
    * `page_size` is empty or more than 100,000 results, the effective
@@ -730,7 +624,6 @@ public com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView getView() {
    * 
* * int32 page_size = 8; - * * @return The pageSize. */ @java.lang.Override @@ -741,8 +634,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 9; private volatile java.lang.Object pageToken_; /** - * - * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -750,7 +641,6 @@ public int getPageSize() {
    * 
* * string page_token = 9; - * * @return The pageToken. */ @java.lang.Override @@ -759,15 +649,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -775,15 +664,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 9; - * * @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 { @@ -792,7 +682,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -804,7 +693,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(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, filter_); } @@ -845,19 +735,23 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (interval_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getInterval()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getInterval()); } if (aggregation_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getAggregation()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getAggregation()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, orderBy_); } if (view_ != com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView.FULL.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, view_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, view_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(8, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, pageToken_); @@ -866,8 +760,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, name_); } if (secondaryAggregation_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(11, getSecondaryAggregation()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getSecondaryAggregation()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -877,32 +771,39 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.ListTimeSeriesRequest)) { return super.equals(obj); } - com.google.monitoring.v3.ListTimeSeriesRequest other = - (com.google.monitoring.v3.ListTimeSeriesRequest) obj; + com.google.monitoring.v3.ListTimeSeriesRequest other = (com.google.monitoring.v3.ListTimeSeriesRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getFilter().equals(other.getFilter())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (hasInterval() != other.hasInterval()) return false; if (hasInterval()) { - if (!getInterval().equals(other.getInterval())) return false; + if (!getInterval() + .equals(other.getInterval())) return false; } if (hasAggregation() != other.hasAggregation()) return false; if (hasAggregation()) { - if (!getAggregation().equals(other.getAggregation())) return false; + if (!getAggregation() + .equals(other.getAggregation())) return false; } if (hasSecondaryAggregation() != other.hasSecondaryAggregation()) return false; if (hasSecondaryAggregation()) { - if (!getSecondaryAggregation().equals(other.getSecondaryAggregation())) return false; + if (!getSecondaryAggregation() + .equals(other.getSecondaryAggregation())) return false; } - if (!getOrderBy().equals(other.getOrderBy())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (view_ != other.view_) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -943,127 +844,118 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.ListTimeSeriesRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.ListTimeSeriesRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListTimeSeriesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListTimeSeriesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListTimeSeriesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListTimeSeriesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListTimeSeriesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListTimeSeriesRequest 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.monitoring.v3.ListTimeSeriesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.ListTimeSeriesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.ListTimeSeriesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListTimeSeriesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListTimeSeriesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListTimeSeriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.ListTimeSeriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 `ListTimeSeries` request.
    * 
* * Protobuf type {@code google.monitoring.v3.ListTimeSeriesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListTimeSeriesRequest) com.google.monitoring.v3.ListTimeSeriesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_ListTimeSeriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListTimeSeriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_ListTimeSeriesRequest_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListTimeSeriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListTimeSeriesRequest.class, - com.google.monitoring.v3.ListTimeSeriesRequest.Builder.class); + com.google.monitoring.v3.ListTimeSeriesRequest.class, com.google.monitoring.v3.ListTimeSeriesRequest.Builder.class); } // Construct using com.google.monitoring.v3.ListTimeSeriesRequest.newBuilder() @@ -1071,15 +963,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1117,9 +1010,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_ListTimeSeriesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListTimeSeriesRequest_descriptor; } @java.lang.Override @@ -1138,8 +1031,7 @@ public com.google.monitoring.v3.ListTimeSeriesRequest build() { @java.lang.Override public com.google.monitoring.v3.ListTimeSeriesRequest buildPartial() { - com.google.monitoring.v3.ListTimeSeriesRequest result = - new com.google.monitoring.v3.ListTimeSeriesRequest(this); + com.google.monitoring.v3.ListTimeSeriesRequest result = new com.google.monitoring.v3.ListTimeSeriesRequest(this); result.name_ = name_; result.filter_ = filter_; if (intervalBuilder_ == null) { @@ -1169,39 +1061,38 @@ public com.google.monitoring.v3.ListTimeSeriesRequest 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.monitoring.v3.ListTimeSeriesRequest) { - return mergeFrom((com.google.monitoring.v3.ListTimeSeriesRequest) other); + return mergeFrom((com.google.monitoring.v3.ListTimeSeriesRequest)other); } else { super.mergeFrom(other); return this; @@ -1272,8 +1163,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name),
      * organization or folder on which to execute the request. The format is:
@@ -1282,16 +1171,14 @@ public Builder mergeFrom(
      *     folders/[FOLDER_ID]
      * 
* - * - * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1300,8 +1187,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name),
      * organization or folder on which to execute the request. The format is:
@@ -1310,17 +1195,16 @@ public java.lang.String getName() {
      *     folders/[FOLDER_ID]
      * 
* - * - * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1328,8 +1212,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name),
      * organization or folder on which to execute the request. The format is:
@@ -1338,25 +1220,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      *     folders/[FOLDER_ID]
      * 
* - * - * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name),
      * organization or folder on which to execute the request. The format is:
@@ -1365,21 +1243,16 @@ public Builder setName(java.lang.String value) {
      *     folders/[FOLDER_ID]
      * 
* - * - * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name),
      * organization or folder on which to execute the request. The format is:
@@ -1388,19 +1261,17 @@ public Builder clearName() {
      *     folders/[FOLDER_ID]
      * 
* - * - * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1408,8 +1279,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Required. A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * that specifies which time series should be returned.  The filter must
@@ -1420,13 +1289,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 2 [(.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; @@ -1435,8 +1304,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Required. A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * that specifies which time series should be returned.  The filter must
@@ -1447,14 +1314,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2 [(.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 { @@ -1462,8 +1330,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Required. A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * that specifies which time series should be returned.  The filter must
@@ -1474,22 +1340,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 2 [(.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. A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * that specifies which time series should be returned.  The filter must
@@ -1500,18 +1364,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Required. A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * that specifies which time series should be returned.  The filter must
@@ -1522,16 +1383,16 @@ public Builder clearFilter() {
      * 
* * string filter = 2 [(.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; @@ -1539,64 +1400,45 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private com.google.monitoring.v3.TimeInterval interval_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TimeInterval, - com.google.monitoring.v3.TimeInterval.Builder, - com.google.monitoring.v3.TimeIntervalOrBuilder> - intervalBuilder_; + com.google.monitoring.v3.TimeInterval, com.google.monitoring.v3.TimeInterval.Builder, com.google.monitoring.v3.TimeIntervalOrBuilder> intervalBuilder_; /** - * - * *
      * Required. The time interval for which results should be returned. Only time series
      * that contain data points in the specified interval are included
      * in the response.
      * 
* - * - * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the interval field is set. */ public boolean hasInterval() { return intervalBuilder_ != null || interval_ != null; } /** - * - * *
      * Required. The time interval for which results should be returned. Only time series
      * that contain data points in the specified interval are included
      * in the response.
      * 
* - * - * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The interval. */ public com.google.monitoring.v3.TimeInterval getInterval() { if (intervalBuilder_ == null) { - return interval_ == null - ? com.google.monitoring.v3.TimeInterval.getDefaultInstance() - : interval_; + return interval_ == null ? com.google.monitoring.v3.TimeInterval.getDefaultInstance() : interval_; } else { return intervalBuilder_.getMessage(); } } /** - * - * *
      * Required. The time interval for which results should be returned. Only time series
      * that contain data points in the specified interval are included
      * in the response.
      * 
* - * - * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInterval(com.google.monitoring.v3.TimeInterval value) { if (intervalBuilder_ == null) { @@ -1612,19 +1454,16 @@ public Builder setInterval(com.google.monitoring.v3.TimeInterval value) { return this; } /** - * - * *
      * Required. The time interval for which results should be returned. Only time series
      * that contain data points in the specified interval are included
      * in the response.
      * 
* - * - * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setInterval(com.google.monitoring.v3.TimeInterval.Builder builderForValue) { + public Builder setInterval( + com.google.monitoring.v3.TimeInterval.Builder builderForValue) { if (intervalBuilder_ == null) { interval_ = builderForValue.build(); onChanged(); @@ -1635,25 +1474,19 @@ public Builder setInterval(com.google.monitoring.v3.TimeInterval.Builder builder return this; } /** - * - * *
      * Required. The time interval for which results should be returned. Only time series
      * that contain data points in the specified interval are included
      * in the response.
      * 
* - * - * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeInterval(com.google.monitoring.v3.TimeInterval value) { if (intervalBuilder_ == null) { if (interval_ != null) { interval_ = - com.google.monitoring.v3.TimeInterval.newBuilder(interval_) - .mergeFrom(value) - .buildPartial(); + com.google.monitoring.v3.TimeInterval.newBuilder(interval_).mergeFrom(value).buildPartial(); } else { interval_ = value; } @@ -1665,17 +1498,13 @@ public Builder mergeInterval(com.google.monitoring.v3.TimeInterval value) { return this; } /** - * - * *
      * Required. The time interval for which results should be returned. Only time series
      * that contain data points in the specified interval are included
      * in the response.
      * 
* - * - * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearInterval() { if (intervalBuilder_ == null) { @@ -1689,70 +1518,54 @@ public Builder clearInterval() { return this; } /** - * - * *
      * Required. The time interval for which results should be returned. Only time series
      * that contain data points in the specified interval are included
      * in the response.
      * 
* - * - * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.monitoring.v3.TimeInterval.Builder getIntervalBuilder() { - + onChanged(); return getIntervalFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The time interval for which results should be returned. Only time series
      * that contain data points in the specified interval are included
      * in the response.
      * 
* - * - * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.monitoring.v3.TimeIntervalOrBuilder getIntervalOrBuilder() { if (intervalBuilder_ != null) { return intervalBuilder_.getMessageOrBuilder(); } else { - return interval_ == null - ? com.google.monitoring.v3.TimeInterval.getDefaultInstance() - : interval_; + return interval_ == null ? + com.google.monitoring.v3.TimeInterval.getDefaultInstance() : interval_; } } /** - * - * *
      * Required. The time interval for which results should be returned. Only time series
      * that contain data points in the specified interval are included
      * in the response.
      * 
* - * - * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TimeInterval, - com.google.monitoring.v3.TimeInterval.Builder, - com.google.monitoring.v3.TimeIntervalOrBuilder> + com.google.monitoring.v3.TimeInterval, com.google.monitoring.v3.TimeInterval.Builder, com.google.monitoring.v3.TimeIntervalOrBuilder> getIntervalFieldBuilder() { if (intervalBuilder_ == null) { - intervalBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TimeInterval, - com.google.monitoring.v3.TimeInterval.Builder, - com.google.monitoring.v3.TimeIntervalOrBuilder>( - getInterval(), getParentForChildren(), isClean()); + intervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.TimeInterval, com.google.monitoring.v3.TimeInterval.Builder, com.google.monitoring.v3.TimeIntervalOrBuilder>( + getInterval(), + getParentForChildren(), + isClean()); interval_ = null; } return intervalBuilder_; @@ -1760,13 +1573,8 @@ public com.google.monitoring.v3.TimeIntervalOrBuilder getIntervalOrBuilder() { private com.google.monitoring.v3.Aggregation aggregation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Aggregation, - com.google.monitoring.v3.Aggregation.Builder, - com.google.monitoring.v3.AggregationOrBuilder> - aggregationBuilder_; + com.google.monitoring.v3.Aggregation, com.google.monitoring.v3.Aggregation.Builder, com.google.monitoring.v3.AggregationOrBuilder> aggregationBuilder_; /** - * - * *
      * Specifies the alignment of data points in individual time series as
      * well as how to combine the retrieved time series across specified labels.
@@ -1775,15 +1583,12 @@ public com.google.monitoring.v3.TimeIntervalOrBuilder getIntervalOrBuilder() {
      * 
* * .google.monitoring.v3.Aggregation aggregation = 5; - * * @return Whether the aggregation field is set. */ public boolean hasAggregation() { return aggregationBuilder_ != null || aggregation_ != null; } /** - * - * *
      * Specifies the alignment of data points in individual time series as
      * well as how to combine the retrieved time series across specified labels.
@@ -1792,21 +1597,16 @@ public boolean hasAggregation() {
      * 
* * .google.monitoring.v3.Aggregation aggregation = 5; - * * @return The aggregation. */ public com.google.monitoring.v3.Aggregation getAggregation() { if (aggregationBuilder_ == null) { - return aggregation_ == null - ? com.google.monitoring.v3.Aggregation.getDefaultInstance() - : aggregation_; + return aggregation_ == null ? com.google.monitoring.v3.Aggregation.getDefaultInstance() : aggregation_; } else { return aggregationBuilder_.getMessage(); } } /** - * - * *
      * Specifies the alignment of data points in individual time series as
      * well as how to combine the retrieved time series across specified labels.
@@ -1830,8 +1630,6 @@ public Builder setAggregation(com.google.monitoring.v3.Aggregation value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies the alignment of data points in individual time series as
      * well as how to combine the retrieved time series across specified labels.
@@ -1841,7 +1639,8 @@ public Builder setAggregation(com.google.monitoring.v3.Aggregation value) {
      *
      * .google.monitoring.v3.Aggregation aggregation = 5;
      */
-    public Builder setAggregation(com.google.monitoring.v3.Aggregation.Builder builderForValue) {
+    public Builder setAggregation(
+        com.google.monitoring.v3.Aggregation.Builder builderForValue) {
       if (aggregationBuilder_ == null) {
         aggregation_ = builderForValue.build();
         onChanged();
@@ -1852,8 +1651,6 @@ public Builder setAggregation(com.google.monitoring.v3.Aggregation.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies the alignment of data points in individual time series as
      * well as how to combine the retrieved time series across specified labels.
@@ -1867,9 +1664,7 @@ public Builder mergeAggregation(com.google.monitoring.v3.Aggregation value) {
       if (aggregationBuilder_ == null) {
         if (aggregation_ != null) {
           aggregation_ =
-              com.google.monitoring.v3.Aggregation.newBuilder(aggregation_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.monitoring.v3.Aggregation.newBuilder(aggregation_).mergeFrom(value).buildPartial();
         } else {
           aggregation_ = value;
         }
@@ -1881,8 +1676,6 @@ public Builder mergeAggregation(com.google.monitoring.v3.Aggregation value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies the alignment of data points in individual time series as
      * well as how to combine the retrieved time series across specified labels.
@@ -1904,8 +1697,6 @@ public Builder clearAggregation() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies the alignment of data points in individual time series as
      * well as how to combine the retrieved time series across specified labels.
@@ -1916,13 +1707,11 @@ public Builder clearAggregation() {
      * .google.monitoring.v3.Aggregation aggregation = 5;
      */
     public com.google.monitoring.v3.Aggregation.Builder getAggregationBuilder() {
-
+      
       onChanged();
       return getAggregationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Specifies the alignment of data points in individual time series as
      * well as how to combine the retrieved time series across specified labels.
@@ -1936,14 +1725,11 @@ public com.google.monitoring.v3.AggregationOrBuilder getAggregationOrBuilder() {
       if (aggregationBuilder_ != null) {
         return aggregationBuilder_.getMessageOrBuilder();
       } else {
-        return aggregation_ == null
-            ? com.google.monitoring.v3.Aggregation.getDefaultInstance()
-            : aggregation_;
+        return aggregation_ == null ?
+            com.google.monitoring.v3.Aggregation.getDefaultInstance() : aggregation_;
       }
     }
     /**
-     *
-     *
      * 
      * Specifies the alignment of data points in individual time series as
      * well as how to combine the retrieved time series across specified labels.
@@ -1954,17 +1740,14 @@ public com.google.monitoring.v3.AggregationOrBuilder getAggregationOrBuilder() {
      * .google.monitoring.v3.Aggregation aggregation = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.Aggregation,
-            com.google.monitoring.v3.Aggregation.Builder,
-            com.google.monitoring.v3.AggregationOrBuilder>
+        com.google.monitoring.v3.Aggregation, com.google.monitoring.v3.Aggregation.Builder, com.google.monitoring.v3.AggregationOrBuilder> 
         getAggregationFieldBuilder() {
       if (aggregationBuilder_ == null) {
-        aggregationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.monitoring.v3.Aggregation,
-                com.google.monitoring.v3.Aggregation.Builder,
-                com.google.monitoring.v3.AggregationOrBuilder>(
-                getAggregation(), getParentForChildren(), isClean());
+        aggregationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.monitoring.v3.Aggregation, com.google.monitoring.v3.Aggregation.Builder, com.google.monitoring.v3.AggregationOrBuilder>(
+                getAggregation(),
+                getParentForChildren(),
+                isClean());
         aggregation_ = null;
       }
       return aggregationBuilder_;
@@ -1972,49 +1755,36 @@ public com.google.monitoring.v3.AggregationOrBuilder getAggregationOrBuilder() {
 
     private com.google.monitoring.v3.Aggregation secondaryAggregation_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.Aggregation,
-            com.google.monitoring.v3.Aggregation.Builder,
-            com.google.monitoring.v3.AggregationOrBuilder>
-        secondaryAggregationBuilder_;
+        com.google.monitoring.v3.Aggregation, com.google.monitoring.v3.Aggregation.Builder, com.google.monitoring.v3.AggregationOrBuilder> secondaryAggregationBuilder_;
     /**
-     *
-     *
      * 
      * Apply a second aggregation after `aggregation` is applied. May only be
      * specified if `aggregation` is specified.
      * 
* * .google.monitoring.v3.Aggregation secondary_aggregation = 11; - * * @return Whether the secondaryAggregation field is set. */ public boolean hasSecondaryAggregation() { return secondaryAggregationBuilder_ != null || secondaryAggregation_ != null; } /** - * - * *
      * Apply a second aggregation after `aggregation` is applied. May only be
      * specified if `aggregation` is specified.
      * 
* * .google.monitoring.v3.Aggregation secondary_aggregation = 11; - * * @return The secondaryAggregation. */ public com.google.monitoring.v3.Aggregation getSecondaryAggregation() { if (secondaryAggregationBuilder_ == null) { - return secondaryAggregation_ == null - ? com.google.monitoring.v3.Aggregation.getDefaultInstance() - : secondaryAggregation_; + return secondaryAggregation_ == null ? com.google.monitoring.v3.Aggregation.getDefaultInstance() : secondaryAggregation_; } else { return secondaryAggregationBuilder_.getMessage(); } } /** - * - * *
      * Apply a second aggregation after `aggregation` is applied. May only be
      * specified if `aggregation` is specified.
@@ -2036,8 +1806,6 @@ public Builder setSecondaryAggregation(com.google.monitoring.v3.Aggregation valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Apply a second aggregation after `aggregation` is applied. May only be
      * specified if `aggregation` is specified.
@@ -2057,8 +1825,6 @@ public Builder setSecondaryAggregation(
       return this;
     }
     /**
-     *
-     *
      * 
      * Apply a second aggregation after `aggregation` is applied. May only be
      * specified if `aggregation` is specified.
@@ -2070,9 +1836,7 @@ public Builder mergeSecondaryAggregation(com.google.monitoring.v3.Aggregation va
       if (secondaryAggregationBuilder_ == null) {
         if (secondaryAggregation_ != null) {
           secondaryAggregation_ =
-              com.google.monitoring.v3.Aggregation.newBuilder(secondaryAggregation_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.monitoring.v3.Aggregation.newBuilder(secondaryAggregation_).mergeFrom(value).buildPartial();
         } else {
           secondaryAggregation_ = value;
         }
@@ -2084,8 +1848,6 @@ public Builder mergeSecondaryAggregation(com.google.monitoring.v3.Aggregation va
       return this;
     }
     /**
-     *
-     *
      * 
      * Apply a second aggregation after `aggregation` is applied. May only be
      * specified if `aggregation` is specified.
@@ -2105,8 +1867,6 @@ public Builder clearSecondaryAggregation() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Apply a second aggregation after `aggregation` is applied. May only be
      * specified if `aggregation` is specified.
@@ -2115,13 +1875,11 @@ public Builder clearSecondaryAggregation() {
      * .google.monitoring.v3.Aggregation secondary_aggregation = 11;
      */
     public com.google.monitoring.v3.Aggregation.Builder getSecondaryAggregationBuilder() {
-
+      
       onChanged();
       return getSecondaryAggregationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Apply a second aggregation after `aggregation` is applied. May only be
      * specified if `aggregation` is specified.
@@ -2133,14 +1891,11 @@ public com.google.monitoring.v3.AggregationOrBuilder getSecondaryAggregationOrBu
       if (secondaryAggregationBuilder_ != null) {
         return secondaryAggregationBuilder_.getMessageOrBuilder();
       } else {
-        return secondaryAggregation_ == null
-            ? com.google.monitoring.v3.Aggregation.getDefaultInstance()
-            : secondaryAggregation_;
+        return secondaryAggregation_ == null ?
+            com.google.monitoring.v3.Aggregation.getDefaultInstance() : secondaryAggregation_;
       }
     }
     /**
-     *
-     *
      * 
      * Apply a second aggregation after `aggregation` is applied. May only be
      * specified if `aggregation` is specified.
@@ -2149,17 +1904,14 @@ public com.google.monitoring.v3.AggregationOrBuilder getSecondaryAggregationOrBu
      * .google.monitoring.v3.Aggregation secondary_aggregation = 11;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.Aggregation,
-            com.google.monitoring.v3.Aggregation.Builder,
-            com.google.monitoring.v3.AggregationOrBuilder>
+        com.google.monitoring.v3.Aggregation, com.google.monitoring.v3.Aggregation.Builder, com.google.monitoring.v3.AggregationOrBuilder> 
         getSecondaryAggregationFieldBuilder() {
       if (secondaryAggregationBuilder_ == null) {
-        secondaryAggregationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.monitoring.v3.Aggregation,
-                com.google.monitoring.v3.Aggregation.Builder,
-                com.google.monitoring.v3.AggregationOrBuilder>(
-                getSecondaryAggregation(), getParentForChildren(), isClean());
+        secondaryAggregationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.monitoring.v3.Aggregation, com.google.monitoring.v3.Aggregation.Builder, com.google.monitoring.v3.AggregationOrBuilder>(
+                getSecondaryAggregation(),
+                getParentForChildren(),
+                isClean());
         secondaryAggregation_ = null;
       }
       return secondaryAggregationBuilder_;
@@ -2167,21 +1919,19 @@ public com.google.monitoring.v3.AggregationOrBuilder getSecondaryAggregationOrBu
 
     private java.lang.Object orderBy_ = "";
     /**
-     *
-     *
      * 
      * Unsupported: must be left blank. The points in each time series are
      * currently returned in reverse time order (most recent to oldest).
      * 
* * string order_by = 6; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -2190,22 +1940,21 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Unsupported: must be left blank. The points in each time series are
      * currently returned in reverse time order (most recent to oldest).
      * 
* * string order_by = 6; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -2213,64 +1962,57 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Unsupported: must be left blank. The points in each time series are
      * currently returned in reverse time order (most recent to oldest).
      * 
* * string order_by = 6; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Unsupported: must be left blank. The points in each time series are
      * currently returned in reverse time order (most recent to oldest).
      * 
* * string order_by = 6; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Unsupported: must be left blank. The points in each time series are
      * currently returned in reverse time order (most recent to oldest).
      * 
* * string order_by = 6; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; @@ -2278,75 +2020,51 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * Required. Specifies which information is returned about the time series.
      * 
* - * - * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * Required. Specifies which information is returned about the time series.
      * 
* - * - * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; * @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; } /** - * - * *
      * Required. Specifies which information is returned about the time series.
      * 
* - * - * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; * @return The view. */ @java.lang.Override public com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView getView() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView result = - com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView.valueOf(view_); - return result == null - ? com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView.UNRECOGNIZED - : result; + com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView result = com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView.valueOf(view_); + return result == null ? com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView.UNRECOGNIZED : result; } /** - * - * *
      * Required. Specifies which information is returned about the time series.
      * 
* - * - * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; * @param value The view to set. * @return This builder for chaining. */ @@ -2354,35 +2072,28 @@ public Builder setView(com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeries if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Required. Specifies which information is returned about the time series.
      * 
* - * - * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * A positive number that is the maximum number of results to return. If
      * `page_size` is empty or more than 100,000 results, the effective
@@ -2392,7 +2103,6 @@ public Builder clearView() {
      * 
* * int32 page_size = 8; - * * @return The pageSize. */ @java.lang.Override @@ -2400,8 +2110,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * A positive number that is the maximum number of results to return. If
      * `page_size` is empty or more than 100,000 results, the effective
@@ -2411,19 +2119,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 8; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * A positive number that is the maximum number of results to return. If
      * `page_size` is empty or more than 100,000 results, the effective
@@ -2433,11 +2138,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 8; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -2445,8 +2149,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -2454,13 +2156,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 9; - * * @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; @@ -2469,8 +2171,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -2478,14 +2178,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 9; - * * @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 { @@ -2493,8 +2194,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -2502,22 +2201,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 9; - * * @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; } /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -2525,18 +2222,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 9; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -2544,23 +2238,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 9; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2570,12 +2264,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListTimeSeriesRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListTimeSeriesRequest) private static final com.google.monitoring.v3.ListTimeSeriesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListTimeSeriesRequest(); } @@ -2584,16 +2278,16 @@ public static com.google.monitoring.v3.ListTimeSeriesRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTimeSeriesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTimeSeriesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTimeSeriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTimeSeriesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2608,4 +2302,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.ListTimeSeriesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesRequestOrBuilder.java similarity index 78% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesRequestOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesRequestOrBuilder.java index 2fc8bc1f..9dcd69c8 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesRequestOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesRequestOrBuilder.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/monitoring/v3/metric_service.proto package com.google.monitoring.v3; -public interface ListTimeSeriesRequestOrBuilder - extends +public interface ListTimeSeriesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListTimeSeriesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name),
    * organization or folder on which to execute the request. The format is:
@@ -34,16 +16,11 @@ public interface ListTimeSeriesRequestOrBuilder
    *     folders/[FOLDER_ID]
    * 
* - * - * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name),
    * organization or folder on which to execute the request. The format is:
@@ -52,17 +29,13 @@ public interface ListTimeSeriesRequestOrBuilder
    *     folders/[FOLDER_ID]
    * 
* - * - * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * that specifies which time series should be returned.  The filter must
@@ -73,13 +46,10 @@ public interface ListTimeSeriesRequestOrBuilder
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Required. A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * that specifies which time series should be returned.  The filter must
@@ -90,61 +60,45 @@ public interface ListTimeSeriesRequestOrBuilder
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Required. The time interval for which results should be returned. Only time series
    * that contain data points in the specified interval are included
    * in the response.
    * 
* - * - * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the interval field is set. */ boolean hasInterval(); /** - * - * *
    * Required. The time interval for which results should be returned. Only time series
    * that contain data points in the specified interval are included
    * in the response.
    * 
* - * - * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The interval. */ com.google.monitoring.v3.TimeInterval getInterval(); /** - * - * *
    * Required. The time interval for which results should be returned. Only time series
    * that contain data points in the specified interval are included
    * in the response.
    * 
* - * - * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.monitoring.v3.TimeIntervalOrBuilder getIntervalOrBuilder(); /** - * - * *
    * Specifies the alignment of data points in individual time series as
    * well as how to combine the retrieved time series across specified labels.
@@ -153,13 +107,10 @@ public interface ListTimeSeriesRequestOrBuilder
    * 
* * .google.monitoring.v3.Aggregation aggregation = 5; - * * @return Whether the aggregation field is set. */ boolean hasAggregation(); /** - * - * *
    * Specifies the alignment of data points in individual time series as
    * well as how to combine the retrieved time series across specified labels.
@@ -168,13 +119,10 @@ public interface ListTimeSeriesRequestOrBuilder
    * 
* * .google.monitoring.v3.Aggregation aggregation = 5; - * * @return The aggregation. */ com.google.monitoring.v3.Aggregation getAggregation(); /** - * - * *
    * Specifies the alignment of data points in individual time series as
    * well as how to combine the retrieved time series across specified labels.
@@ -187,34 +135,26 @@ public interface ListTimeSeriesRequestOrBuilder
   com.google.monitoring.v3.AggregationOrBuilder getAggregationOrBuilder();
 
   /**
-   *
-   *
    * 
    * Apply a second aggregation after `aggregation` is applied. May only be
    * specified if `aggregation` is specified.
    * 
* * .google.monitoring.v3.Aggregation secondary_aggregation = 11; - * * @return Whether the secondaryAggregation field is set. */ boolean hasSecondaryAggregation(); /** - * - * *
    * Apply a second aggregation after `aggregation` is applied. May only be
    * specified if `aggregation` is specified.
    * 
* * .google.monitoring.v3.Aggregation secondary_aggregation = 11; - * * @return The secondaryAggregation. */ com.google.monitoring.v3.Aggregation getSecondaryAggregation(); /** - * - * *
    * Apply a second aggregation after `aggregation` is applied. May only be
    * specified if `aggregation` is specified.
@@ -225,64 +165,47 @@ public interface ListTimeSeriesRequestOrBuilder
   com.google.monitoring.v3.AggregationOrBuilder getSecondaryAggregationOrBuilder();
 
   /**
-   *
-   *
    * 
    * Unsupported: must be left blank. The points in each time series are
    * currently returned in reverse time order (most recent to oldest).
    * 
* * string order_by = 6; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Unsupported: must be left blank. The points in each time series are
    * currently returned in reverse time order (most recent to oldest).
    * 
* * string order_by = 6; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); /** - * - * *
    * Required. Specifies which information is returned about the time series.
    * 
* - * - * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * Required. Specifies which information is returned about the time series.
    * 
* - * - * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; * @return The view. */ com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView getView(); /** - * - * *
    * A positive number that is the maximum number of results to return. If
    * `page_size` is empty or more than 100,000 results, the effective
@@ -292,14 +215,11 @@ public interface ListTimeSeriesRequestOrBuilder
    * 
* * int32 page_size = 8; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -307,13 +227,10 @@ public interface ListTimeSeriesRequestOrBuilder
    * 
* * string page_token = 9; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -321,8 +238,8 @@ public interface ListTimeSeriesRequestOrBuilder
    * 
* * string page_token = 9; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesResponse.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesResponse.java similarity index 78% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesResponse.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesResponse.java index 44bbc4e6..8d4ce986 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesResponse.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesResponse.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/monitoring/v3/metric_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `ListTimeSeries` response.
  * 
* * Protobuf type {@code google.monitoring.v3.ListTimeSeriesResponse} */ -public final class ListTimeSeriesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTimeSeriesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListTimeSeriesResponse) ListTimeSeriesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTimeSeriesResponse.newBuilder() to construct. private ListTimeSeriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTimeSeriesResponse() { timeSeries_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -46,15 +28,16 @@ private ListTimeSeriesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTimeSeriesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListTimeSeriesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,54 +57,50 @@ private ListTimeSeriesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - timeSeries_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - timeSeries_.add( - input.readMessage( - com.google.monitoring.v3.TimeSeries.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + timeSeries_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + timeSeries_.add( + input.readMessage(com.google.monitoring.v3.TimeSeries.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - executionErrors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - executionErrors_.add( - input.readMessage(com.google.rpc.Status.parser(), extensionRegistry)); - break; + nextPageToken_ = s; + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + executionErrors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + executionErrors_.add( + input.readMessage(com.google.rpc.Status.parser(), extensionRegistry)); + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - unit_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + unit_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { timeSeries_ = java.util.Collections.unmodifiableList(timeSeries_); @@ -133,27 +112,22 @@ private ListTimeSeriesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_ListTimeSeriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListTimeSeriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_ListTimeSeriesResponse_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListTimeSeriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListTimeSeriesResponse.class, - com.google.monitoring.v3.ListTimeSeriesResponse.Builder.class); + com.google.monitoring.v3.ListTimeSeriesResponse.class, com.google.monitoring.v3.ListTimeSeriesResponse.Builder.class); } public static final int TIME_SERIES_FIELD_NUMBER = 1; private java.util.List timeSeries_; /** - * - * *
    * One or more time series that match the filter included in the request.
    * 
@@ -165,8 +139,6 @@ public java.util.List getTimeSeriesList() { return timeSeries_; } /** - * - * *
    * One or more time series that match the filter included in the request.
    * 
@@ -174,13 +146,11 @@ public java.util.List getTimeSeriesList() { * repeated .google.monitoring.v3.TimeSeries time_series = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTimeSeriesOrBuilderList() { return timeSeries_; } /** - * - * *
    * One or more time series that match the filter included in the request.
    * 
@@ -192,8 +162,6 @@ public int getTimeSeriesCount() { return timeSeries_.size(); } /** - * - * *
    * One or more time series that match the filter included in the request.
    * 
@@ -205,8 +173,6 @@ public com.google.monitoring.v3.TimeSeries getTimeSeries(int index) { return timeSeries_.get(index); } /** - * - * *
    * One or more time series that match the filter included in the request.
    * 
@@ -214,15 +180,14 @@ public com.google.monitoring.v3.TimeSeries getTimeSeries(int index) { * repeated .google.monitoring.v3.TimeSeries time_series = 1; */ @java.lang.Override - public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder(int index) { + public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder( + int index) { return timeSeries_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -230,7 +195,6 @@ public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder(int i
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -239,15 +203,14 @@ 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; } } /** - * - * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -255,15 +218,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -274,8 +238,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int EXECUTION_ERRORS_FIELD_NUMBER = 3; private java.util.List executionErrors_; /** - * - * *
    * Query execution errors that may have caused the time series data returned
    * to be incomplete.
@@ -288,8 +250,6 @@ public java.util.List getExecutionErrorsList() {
     return executionErrors_;
   }
   /**
-   *
-   *
    * 
    * Query execution errors that may have caused the time series data returned
    * to be incomplete.
@@ -298,13 +258,11 @@ public java.util.List getExecutionErrorsList() {
    * repeated .google.rpc.Status execution_errors = 3;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getExecutionErrorsOrBuilderList() {
     return executionErrors_;
   }
   /**
-   *
-   *
    * 
    * Query execution errors that may have caused the time series data returned
    * to be incomplete.
@@ -317,8 +275,6 @@ public int getExecutionErrorsCount() {
     return executionErrors_.size();
   }
   /**
-   *
-   *
    * 
    * Query execution errors that may have caused the time series data returned
    * to be incomplete.
@@ -331,8 +287,6 @@ public com.google.rpc.Status getExecutionErrors(int index) {
     return executionErrors_.get(index);
   }
   /**
-   *
-   *
    * 
    * Query execution errors that may have caused the time series data returned
    * to be incomplete.
@@ -341,15 +295,14 @@ public com.google.rpc.Status getExecutionErrors(int index) {
    * repeated .google.rpc.Status execution_errors = 3;
    */
   @java.lang.Override
-  public com.google.rpc.StatusOrBuilder getExecutionErrorsOrBuilder(int index) {
+  public com.google.rpc.StatusOrBuilder getExecutionErrorsOrBuilder(
+      int index) {
     return executionErrors_.get(index);
   }
 
   public static final int UNIT_FIELD_NUMBER = 5;
   private volatile java.lang.Object unit_;
   /**
-   *
-   *
    * 
    * The unit in which all `time_series` point values are reported. `unit`
    * follows the UCUM format for units as seen in
@@ -360,7 +313,6 @@ public com.google.rpc.StatusOrBuilder getExecutionErrorsOrBuilder(int index) {
    * 
* * string unit = 5; - * * @return The unit. */ @java.lang.Override @@ -369,15 +321,14 @@ public java.lang.String getUnit() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); unit_ = s; return s; } } /** - * - * *
    * The unit in which all `time_series` point values are reported. `unit`
    * follows the UCUM format for units as seen in
@@ -388,15 +339,16 @@ public java.lang.String getUnit() {
    * 
* * string unit = 5; - * * @return The bytes for unit. */ @java.lang.Override - public com.google.protobuf.ByteString getUnitBytes() { + public com.google.protobuf.ByteString + getUnitBytes() { java.lang.Object ref = unit_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); unit_ = b; return b; } else { @@ -405,7 +357,6 @@ public com.google.protobuf.ByteString getUnitBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -417,7 +368,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 < timeSeries_.size(); i++) { output.writeMessage(1, timeSeries_.get(i)); } @@ -440,13 +392,15 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < timeSeries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, timeSeries_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, timeSeries_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } for (int i = 0; i < executionErrors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, executionErrors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, executionErrors_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(unit_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, unit_); @@ -459,18 +413,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.monitoring.v3.ListTimeSeriesResponse)) { return super.equals(obj); } - com.google.monitoring.v3.ListTimeSeriesResponse other = - (com.google.monitoring.v3.ListTimeSeriesResponse) obj; + com.google.monitoring.v3.ListTimeSeriesResponse other = (com.google.monitoring.v3.ListTimeSeriesResponse) obj; - if (!getTimeSeriesList().equals(other.getTimeSeriesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getExecutionErrorsList().equals(other.getExecutionErrorsList())) return false; - if (!getUnit().equals(other.getUnit())) return false; + if (!getTimeSeriesList() + .equals(other.getTimeSeriesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getExecutionErrorsList() + .equals(other.getExecutionErrorsList())) return false; + if (!getUnit() + .equals(other.getUnit())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -499,127 +456,118 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.ListTimeSeriesResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.ListTimeSeriesResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListTimeSeriesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListTimeSeriesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListTimeSeriesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListTimeSeriesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListTimeSeriesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListTimeSeriesResponse 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.monitoring.v3.ListTimeSeriesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.ListTimeSeriesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.ListTimeSeriesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListTimeSeriesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListTimeSeriesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListTimeSeriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.ListTimeSeriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 `ListTimeSeries` response.
    * 
* * Protobuf type {@code google.monitoring.v3.ListTimeSeriesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListTimeSeriesResponse) com.google.monitoring.v3.ListTimeSeriesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_ListTimeSeriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListTimeSeriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_ListTimeSeriesResponse_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListTimeSeriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListTimeSeriesResponse.class, - com.google.monitoring.v3.ListTimeSeriesResponse.Builder.class); + com.google.monitoring.v3.ListTimeSeriesResponse.class, com.google.monitoring.v3.ListTimeSeriesResponse.Builder.class); } // Construct using com.google.monitoring.v3.ListTimeSeriesResponse.newBuilder() @@ -627,18 +575,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getTimeSeriesFieldBuilder(); getExecutionErrorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -662,9 +610,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_ListTimeSeriesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListTimeSeriesResponse_descriptor; } @java.lang.Override @@ -683,8 +631,7 @@ public com.google.monitoring.v3.ListTimeSeriesResponse build() { @java.lang.Override public com.google.monitoring.v3.ListTimeSeriesResponse buildPartial() { - com.google.monitoring.v3.ListTimeSeriesResponse result = - new com.google.monitoring.v3.ListTimeSeriesResponse(this); + com.google.monitoring.v3.ListTimeSeriesResponse result = new com.google.monitoring.v3.ListTimeSeriesResponse(this); int from_bitField0_ = bitField0_; if (timeSeriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -714,39 +661,38 @@ public com.google.monitoring.v3.ListTimeSeriesResponse 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.monitoring.v3.ListTimeSeriesResponse) { - return mergeFrom((com.google.monitoring.v3.ListTimeSeriesResponse) other); + return mergeFrom((com.google.monitoring.v3.ListTimeSeriesResponse)other); } else { super.mergeFrom(other); return this; @@ -754,8 +700,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.ListTimeSeriesResponse other) { - if (other == com.google.monitoring.v3.ListTimeSeriesResponse.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.ListTimeSeriesResponse.getDefaultInstance()) return this; if (timeSeriesBuilder_ == null) { if (!other.timeSeries_.isEmpty()) { if (timeSeries_.isEmpty()) { @@ -774,10 +719,9 @@ public Builder mergeFrom(com.google.monitoring.v3.ListTimeSeriesResponse other) timeSeriesBuilder_ = null; timeSeries_ = other.timeSeries_; bitField0_ = (bitField0_ & ~0x00000001); - timeSeriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTimeSeriesFieldBuilder() - : null; + timeSeriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTimeSeriesFieldBuilder() : null; } else { timeSeriesBuilder_.addAllMessages(other.timeSeries_); } @@ -805,10 +749,9 @@ public Builder mergeFrom(com.google.monitoring.v3.ListTimeSeriesResponse other) executionErrorsBuilder_ = null; executionErrors_ = other.executionErrors_; bitField0_ = (bitField0_ & ~0x00000002); - executionErrorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getExecutionErrorsFieldBuilder() - : null; + executionErrorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getExecutionErrorsFieldBuilder() : null; } else { executionErrorsBuilder_.addAllMessages(other.executionErrors_); } @@ -846,28 +789,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List timeSeries_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTimeSeriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { timeSeries_ = new java.util.ArrayList(timeSeries_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.TimeSeries, - com.google.monitoring.v3.TimeSeries.Builder, - com.google.monitoring.v3.TimeSeriesOrBuilder> - timeSeriesBuilder_; + com.google.monitoring.v3.TimeSeries, com.google.monitoring.v3.TimeSeries.Builder, com.google.monitoring.v3.TimeSeriesOrBuilder> timeSeriesBuilder_; /** - * - * *
      * One or more time series that match the filter included in the request.
      * 
@@ -882,8 +818,6 @@ public java.util.List getTimeSeriesList() { } } /** - * - * *
      * One or more time series that match the filter included in the request.
      * 
@@ -898,8 +832,6 @@ public int getTimeSeriesCount() { } } /** - * - * *
      * One or more time series that match the filter included in the request.
      * 
@@ -914,15 +846,14 @@ public com.google.monitoring.v3.TimeSeries getTimeSeries(int index) { } } /** - * - * *
      * One or more time series that match the filter included in the request.
      * 
* * repeated .google.monitoring.v3.TimeSeries time_series = 1; */ - public Builder setTimeSeries(int index, com.google.monitoring.v3.TimeSeries value) { + public Builder setTimeSeries( + int index, com.google.monitoring.v3.TimeSeries value) { if (timeSeriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -936,8 +867,6 @@ public Builder setTimeSeries(int index, com.google.monitoring.v3.TimeSeries valu return this; } /** - * - * *
      * One or more time series that match the filter included in the request.
      * 
@@ -956,8 +885,6 @@ public Builder setTimeSeries( return this; } /** - * - * *
      * One or more time series that match the filter included in the request.
      * 
@@ -978,15 +905,14 @@ public Builder addTimeSeries(com.google.monitoring.v3.TimeSeries value) { return this; } /** - * - * *
      * One or more time series that match the filter included in the request.
      * 
* * repeated .google.monitoring.v3.TimeSeries time_series = 1; */ - public Builder addTimeSeries(int index, com.google.monitoring.v3.TimeSeries value) { + public Builder addTimeSeries( + int index, com.google.monitoring.v3.TimeSeries value) { if (timeSeriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1000,15 +926,14 @@ public Builder addTimeSeries(int index, com.google.monitoring.v3.TimeSeries valu return this; } /** - * - * *
      * One or more time series that match the filter included in the request.
      * 
* * repeated .google.monitoring.v3.TimeSeries time_series = 1; */ - public Builder addTimeSeries(com.google.monitoring.v3.TimeSeries.Builder builderForValue) { + public Builder addTimeSeries( + com.google.monitoring.v3.TimeSeries.Builder builderForValue) { if (timeSeriesBuilder_ == null) { ensureTimeSeriesIsMutable(); timeSeries_.add(builderForValue.build()); @@ -1019,8 +944,6 @@ public Builder addTimeSeries(com.google.monitoring.v3.TimeSeries.Builder builder return this; } /** - * - * *
      * One or more time series that match the filter included in the request.
      * 
@@ -1039,8 +962,6 @@ public Builder addTimeSeries( return this; } /** - * - * *
      * One or more time series that match the filter included in the request.
      * 
@@ -1051,7 +972,8 @@ public Builder addAllTimeSeries( java.lang.Iterable values) { if (timeSeriesBuilder_ == null) { ensureTimeSeriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, timeSeries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, timeSeries_); onChanged(); } else { timeSeriesBuilder_.addAllMessages(values); @@ -1059,8 +981,6 @@ public Builder addAllTimeSeries( return this; } /** - * - * *
      * One or more time series that match the filter included in the request.
      * 
@@ -1078,8 +998,6 @@ public Builder clearTimeSeries() { return this; } /** - * - * *
      * One or more time series that match the filter included in the request.
      * 
@@ -1097,44 +1015,39 @@ public Builder removeTimeSeries(int index) { return this; } /** - * - * *
      * One or more time series that match the filter included in the request.
      * 
* * repeated .google.monitoring.v3.TimeSeries time_series = 1; */ - public com.google.monitoring.v3.TimeSeries.Builder getTimeSeriesBuilder(int index) { + public com.google.monitoring.v3.TimeSeries.Builder getTimeSeriesBuilder( + int index) { return getTimeSeriesFieldBuilder().getBuilder(index); } /** - * - * *
      * One or more time series that match the filter included in the request.
      * 
* * repeated .google.monitoring.v3.TimeSeries time_series = 1; */ - public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder(int index) { + public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder( + int index) { if (timeSeriesBuilder_ == null) { - return timeSeries_.get(index); - } else { + return timeSeries_.get(index); } else { return timeSeriesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * One or more time series that match the filter included in the request.
      * 
* * repeated .google.monitoring.v3.TimeSeries time_series = 1; */ - public java.util.List - getTimeSeriesOrBuilderList() { + public java.util.List + getTimeSeriesOrBuilderList() { if (timeSeriesBuilder_ != null) { return timeSeriesBuilder_.getMessageOrBuilderList(); } else { @@ -1142,8 +1055,6 @@ public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder(int i } } /** - * - * *
      * One or more time series that match the filter included in the request.
      * 
@@ -1151,47 +1062,42 @@ public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder(int i * repeated .google.monitoring.v3.TimeSeries time_series = 1; */ public com.google.monitoring.v3.TimeSeries.Builder addTimeSeriesBuilder() { - return getTimeSeriesFieldBuilder() - .addBuilder(com.google.monitoring.v3.TimeSeries.getDefaultInstance()); + return getTimeSeriesFieldBuilder().addBuilder( + com.google.monitoring.v3.TimeSeries.getDefaultInstance()); } /** - * - * *
      * One or more time series that match the filter included in the request.
      * 
* * repeated .google.monitoring.v3.TimeSeries time_series = 1; */ - public com.google.monitoring.v3.TimeSeries.Builder addTimeSeriesBuilder(int index) { - return getTimeSeriesFieldBuilder() - .addBuilder(index, com.google.monitoring.v3.TimeSeries.getDefaultInstance()); + public com.google.monitoring.v3.TimeSeries.Builder addTimeSeriesBuilder( + int index) { + return getTimeSeriesFieldBuilder().addBuilder( + index, com.google.monitoring.v3.TimeSeries.getDefaultInstance()); } /** - * - * *
      * One or more time series that match the filter included in the request.
      * 
* * repeated .google.monitoring.v3.TimeSeries time_series = 1; */ - public java.util.List getTimeSeriesBuilderList() { + public java.util.List + getTimeSeriesBuilderList() { return getTimeSeriesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.TimeSeries, - com.google.monitoring.v3.TimeSeries.Builder, - com.google.monitoring.v3.TimeSeriesOrBuilder> + com.google.monitoring.v3.TimeSeries, com.google.monitoring.v3.TimeSeries.Builder, com.google.monitoring.v3.TimeSeriesOrBuilder> getTimeSeriesFieldBuilder() { if (timeSeriesBuilder_ == null) { - timeSeriesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.TimeSeries, - com.google.monitoring.v3.TimeSeries.Builder, - com.google.monitoring.v3.TimeSeriesOrBuilder>( - timeSeries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + timeSeriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.monitoring.v3.TimeSeries, com.google.monitoring.v3.TimeSeries.Builder, com.google.monitoring.v3.TimeSeriesOrBuilder>( + timeSeries_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); timeSeries_ = null; } return timeSeriesBuilder_; @@ -1199,8 +1105,6 @@ public java.util.List getTimeSeries private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -1208,13 +1112,13 @@ public java.util.List getTimeSeries
      * 
* * 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; @@ -1223,8 +1127,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -1232,14 +1134,15 @@ public java.lang.String getNextPageToken() {
      * 
* * 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 { @@ -1247,8 +1150,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -1256,22 +1157,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * 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; } /** - * - * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -1279,18 +1178,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -1298,38 +1194,34 @@ public Builder clearNextPageToken() {
      * 
* * 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; } private java.util.List executionErrors_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureExecutionErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { executionErrors_ = new java.util.ArrayList(executionErrors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - executionErrorsBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> executionErrorsBuilder_; /** - * - * *
      * Query execution errors that may have caused the time series data returned
      * to be incomplete.
@@ -1345,8 +1237,6 @@ public java.util.List getExecutionErrorsList() {
       }
     }
     /**
-     *
-     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete.
@@ -1362,8 +1252,6 @@ public int getExecutionErrorsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete.
@@ -1379,8 +1267,6 @@ public com.google.rpc.Status getExecutionErrors(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete.
@@ -1388,7 +1274,8 @@ public com.google.rpc.Status getExecutionErrors(int index) {
      *
      * repeated .google.rpc.Status execution_errors = 3;
      */
-    public Builder setExecutionErrors(int index, com.google.rpc.Status value) {
+    public Builder setExecutionErrors(
+        int index, com.google.rpc.Status value) {
       if (executionErrorsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1402,8 +1289,6 @@ public Builder setExecutionErrors(int index, com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete.
@@ -1411,7 +1296,8 @@ public Builder setExecutionErrors(int index, com.google.rpc.Status value) {
      *
      * repeated .google.rpc.Status execution_errors = 3;
      */
-    public Builder setExecutionErrors(int index, com.google.rpc.Status.Builder builderForValue) {
+    public Builder setExecutionErrors(
+        int index, com.google.rpc.Status.Builder builderForValue) {
       if (executionErrorsBuilder_ == null) {
         ensureExecutionErrorsIsMutable();
         executionErrors_.set(index, builderForValue.build());
@@ -1422,8 +1308,6 @@ public Builder setExecutionErrors(int index, com.google.rpc.Status.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete.
@@ -1445,8 +1329,6 @@ public Builder addExecutionErrors(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete.
@@ -1454,7 +1336,8 @@ public Builder addExecutionErrors(com.google.rpc.Status value) {
      *
      * repeated .google.rpc.Status execution_errors = 3;
      */
-    public Builder addExecutionErrors(int index, com.google.rpc.Status value) {
+    public Builder addExecutionErrors(
+        int index, com.google.rpc.Status value) {
       if (executionErrorsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1468,8 +1351,6 @@ public Builder addExecutionErrors(int index, com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete.
@@ -1477,7 +1358,8 @@ public Builder addExecutionErrors(int index, com.google.rpc.Status value) {
      *
      * repeated .google.rpc.Status execution_errors = 3;
      */
-    public Builder addExecutionErrors(com.google.rpc.Status.Builder builderForValue) {
+    public Builder addExecutionErrors(
+        com.google.rpc.Status.Builder builderForValue) {
       if (executionErrorsBuilder_ == null) {
         ensureExecutionErrorsIsMutable();
         executionErrors_.add(builderForValue.build());
@@ -1488,8 +1370,6 @@ public Builder addExecutionErrors(com.google.rpc.Status.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete.
@@ -1497,7 +1377,8 @@ public Builder addExecutionErrors(com.google.rpc.Status.Builder builderForValue)
      *
      * repeated .google.rpc.Status execution_errors = 3;
      */
-    public Builder addExecutionErrors(int index, com.google.rpc.Status.Builder builderForValue) {
+    public Builder addExecutionErrors(
+        int index, com.google.rpc.Status.Builder builderForValue) {
       if (executionErrorsBuilder_ == null) {
         ensureExecutionErrorsIsMutable();
         executionErrors_.add(index, builderForValue.build());
@@ -1508,8 +1389,6 @@ public Builder addExecutionErrors(int index, com.google.rpc.Status.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete.
@@ -1521,7 +1400,8 @@ public Builder addAllExecutionErrors(
         java.lang.Iterable values) {
       if (executionErrorsBuilder_ == null) {
         ensureExecutionErrorsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, executionErrors_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, executionErrors_);
         onChanged();
       } else {
         executionErrorsBuilder_.addAllMessages(values);
@@ -1529,8 +1409,6 @@ public Builder addAllExecutionErrors(
       return this;
     }
     /**
-     *
-     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete.
@@ -1549,8 +1427,6 @@ public Builder clearExecutionErrors() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete.
@@ -1569,8 +1445,6 @@ public Builder removeExecutionErrors(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete.
@@ -1578,12 +1452,11 @@ public Builder removeExecutionErrors(int index) {
      *
      * repeated .google.rpc.Status execution_errors = 3;
      */
-    public com.google.rpc.Status.Builder getExecutionErrorsBuilder(int index) {
+    public com.google.rpc.Status.Builder getExecutionErrorsBuilder(
+        int index) {
       return getExecutionErrorsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete.
@@ -1591,16 +1464,14 @@ public com.google.rpc.Status.Builder getExecutionErrorsBuilder(int index) {
      *
      * repeated .google.rpc.Status execution_errors = 3;
      */
-    public com.google.rpc.StatusOrBuilder getExecutionErrorsOrBuilder(int index) {
+    public com.google.rpc.StatusOrBuilder getExecutionErrorsOrBuilder(
+        int index) {
       if (executionErrorsBuilder_ == null) {
-        return executionErrors_.get(index);
-      } else {
+        return executionErrors_.get(index);  } else {
         return executionErrorsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete.
@@ -1608,8 +1479,8 @@ public com.google.rpc.StatusOrBuilder getExecutionErrorsOrBuilder(int index) {
      *
      * repeated .google.rpc.Status execution_errors = 3;
      */
-    public java.util.List
-        getExecutionErrorsOrBuilderList() {
+    public java.util.List 
+         getExecutionErrorsOrBuilderList() {
       if (executionErrorsBuilder_ != null) {
         return executionErrorsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1617,8 +1488,6 @@ public com.google.rpc.StatusOrBuilder getExecutionErrorsOrBuilder(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete.
@@ -1627,12 +1496,10 @@ public com.google.rpc.StatusOrBuilder getExecutionErrorsOrBuilder(int index) {
      * repeated .google.rpc.Status execution_errors = 3;
      */
     public com.google.rpc.Status.Builder addExecutionErrorsBuilder() {
-      return getExecutionErrorsFieldBuilder()
-          .addBuilder(com.google.rpc.Status.getDefaultInstance());
+      return getExecutionErrorsFieldBuilder().addBuilder(
+          com.google.rpc.Status.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete.
@@ -1640,13 +1507,12 @@ public com.google.rpc.Status.Builder addExecutionErrorsBuilder() {
      *
      * repeated .google.rpc.Status execution_errors = 3;
      */
-    public com.google.rpc.Status.Builder addExecutionErrorsBuilder(int index) {
-      return getExecutionErrorsFieldBuilder()
-          .addBuilder(index, com.google.rpc.Status.getDefaultInstance());
+    public com.google.rpc.Status.Builder addExecutionErrorsBuilder(
+        int index) {
+      return getExecutionErrorsFieldBuilder().addBuilder(
+          index, com.google.rpc.Status.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete.
@@ -1654,19 +1520,16 @@ public com.google.rpc.Status.Builder addExecutionErrorsBuilder(int index) {
      *
      * repeated .google.rpc.Status execution_errors = 3;
      */
-    public java.util.List getExecutionErrorsBuilderList() {
+    public java.util.List 
+         getExecutionErrorsBuilderList() {
       return getExecutionErrorsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> 
         getExecutionErrorsFieldBuilder() {
       if (executionErrorsBuilder_ == null) {
-        executionErrorsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.rpc.Status,
-                com.google.rpc.Status.Builder,
-                com.google.rpc.StatusOrBuilder>(
+        executionErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
                 executionErrors_,
                 ((bitField0_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -1678,8 +1541,6 @@ public java.util.List getExecutionErrorsBuilderLi
 
     private java.lang.Object unit_ = "";
     /**
-     *
-     *
      * 
      * The unit in which all `time_series` point values are reported. `unit`
      * follows the UCUM format for units as seen in
@@ -1690,13 +1551,13 @@ public java.util.List getExecutionErrorsBuilderLi
      * 
* * string unit = 5; - * * @return The unit. */ public java.lang.String getUnit() { java.lang.Object ref = unit_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); unit_ = s; return s; @@ -1705,8 +1566,6 @@ public java.lang.String getUnit() { } } /** - * - * *
      * The unit in which all `time_series` point values are reported. `unit`
      * follows the UCUM format for units as seen in
@@ -1717,14 +1576,15 @@ public java.lang.String getUnit() {
      * 
* * string unit = 5; - * * @return The bytes for unit. */ - public com.google.protobuf.ByteString getUnitBytes() { + public com.google.protobuf.ByteString + getUnitBytes() { java.lang.Object ref = unit_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); unit_ = b; return b; } else { @@ -1732,8 +1592,6 @@ public com.google.protobuf.ByteString getUnitBytes() { } } /** - * - * *
      * The unit in which all `time_series` point values are reported. `unit`
      * follows the UCUM format for units as seen in
@@ -1744,22 +1602,20 @@ public com.google.protobuf.ByteString getUnitBytes() {
      * 
* * string unit = 5; - * * @param value The unit to set. * @return This builder for chaining. */ - public Builder setUnit(java.lang.String value) { + public Builder setUnit( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + unit_ = value; onChanged(); return this; } /** - * - * *
      * The unit in which all `time_series` point values are reported. `unit`
      * follows the UCUM format for units as seen in
@@ -1770,18 +1626,15 @@ public Builder setUnit(java.lang.String value) {
      * 
* * string unit = 5; - * * @return This builder for chaining. */ public Builder clearUnit() { - + unit_ = getDefaultInstance().getUnit(); onChanged(); return this; } /** - * - * *
      * The unit in which all `time_series` point values are reported. `unit`
      * follows the UCUM format for units as seen in
@@ -1792,23 +1645,23 @@ public Builder clearUnit() {
      * 
* * string unit = 5; - * * @param value The bytes for unit to set. * @return This builder for chaining. */ - public Builder setUnitBytes(com.google.protobuf.ByteString value) { + public Builder setUnitBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + unit_ = 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); } @@ -1818,12 +1671,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListTimeSeriesResponse) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListTimeSeriesResponse) private static final com.google.monitoring.v3.ListTimeSeriesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListTimeSeriesResponse(); } @@ -1832,16 +1685,16 @@ public static com.google.monitoring.v3.ListTimeSeriesResponse getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTimeSeriesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTimeSeriesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTimeSeriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTimeSeriesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1856,4 +1709,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.ListTimeSeriesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesResponseOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesResponseOrBuilder.java similarity index 77% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesResponseOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesResponseOrBuilder.java index b10a78bf..98579fd8 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesResponseOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesResponseOrBuilder.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/monitoring/v3/metric_service.proto package com.google.monitoring.v3; -public interface ListTimeSeriesResponseOrBuilder - extends +public interface ListTimeSeriesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListTimeSeriesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * One or more time series that match the filter included in the request.
    * 
* * repeated .google.monitoring.v3.TimeSeries time_series = 1; */ - java.util.List getTimeSeriesList(); + java.util.List + getTimeSeriesList(); /** - * - * *
    * One or more time series that match the filter included in the request.
    * 
@@ -44,8 +25,6 @@ public interface ListTimeSeriesResponseOrBuilder */ com.google.monitoring.v3.TimeSeries getTimeSeries(int index); /** - * - * *
    * One or more time series that match the filter included in the request.
    * 
@@ -54,30 +33,25 @@ public interface ListTimeSeriesResponseOrBuilder */ int getTimeSeriesCount(); /** - * - * *
    * One or more time series that match the filter included in the request.
    * 
* * repeated .google.monitoring.v3.TimeSeries time_series = 1; */ - java.util.List + java.util.List getTimeSeriesOrBuilderList(); /** - * - * *
    * One or more time series that match the filter included in the request.
    * 
* * repeated .google.monitoring.v3.TimeSeries time_series = 1; */ - com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder(int index); + com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder( + int index); /** - * - * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -85,13 +59,10 @@ public interface ListTimeSeriesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -99,14 +70,12 @@ public interface ListTimeSeriesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Query execution errors that may have caused the time series data returned
    * to be incomplete.
@@ -114,10 +83,9 @@ public interface ListTimeSeriesResponseOrBuilder
    *
    * repeated .google.rpc.Status execution_errors = 3;
    */
-  java.util.List getExecutionErrorsList();
+  java.util.List 
+      getExecutionErrorsList();
   /**
-   *
-   *
    * 
    * Query execution errors that may have caused the time series data returned
    * to be incomplete.
@@ -127,8 +95,6 @@ public interface ListTimeSeriesResponseOrBuilder
    */
   com.google.rpc.Status getExecutionErrors(int index);
   /**
-   *
-   *
    * 
    * Query execution errors that may have caused the time series data returned
    * to be incomplete.
@@ -138,8 +104,6 @@ public interface ListTimeSeriesResponseOrBuilder
    */
   int getExecutionErrorsCount();
   /**
-   *
-   *
    * 
    * Query execution errors that may have caused the time series data returned
    * to be incomplete.
@@ -147,10 +111,9 @@ public interface ListTimeSeriesResponseOrBuilder
    *
    * repeated .google.rpc.Status execution_errors = 3;
    */
-  java.util.List getExecutionErrorsOrBuilderList();
+  java.util.List 
+      getExecutionErrorsOrBuilderList();
   /**
-   *
-   *
    * 
    * Query execution errors that may have caused the time series data returned
    * to be incomplete.
@@ -158,11 +121,10 @@ public interface ListTimeSeriesResponseOrBuilder
    *
    * repeated .google.rpc.Status execution_errors = 3;
    */
-  com.google.rpc.StatusOrBuilder getExecutionErrorsOrBuilder(int index);
+  com.google.rpc.StatusOrBuilder getExecutionErrorsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * The unit in which all `time_series` point values are reported. `unit`
    * follows the UCUM format for units as seen in
@@ -173,13 +135,10 @@ public interface ListTimeSeriesResponseOrBuilder
    * 
* * string unit = 5; - * * @return The unit. */ java.lang.String getUnit(); /** - * - * *
    * The unit in which all `time_series` point values are reported. `unit`
    * follows the UCUM format for units as seen in
@@ -190,8 +149,8 @@ public interface ListTimeSeriesResponseOrBuilder
    * 
* * string unit = 5; - * * @return The bytes for unit. */ - com.google.protobuf.ByteString getUnitBytes(); + com.google.protobuf.ByteString + getUnitBytes(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequest.java similarity index 70% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequest.java index cbc71099..12a2c4ac 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequest.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/monitoring/v3/uptime_service.proto package com.google.monitoring.v3; /** - * - * *
  * The protocol for the `ListUptimeCheckConfigs` request.
  * 
* * Protobuf type {@code google.monitoring.v3.ListUptimeCheckConfigsRequest} */ -public final class ListUptimeCheckConfigsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListUptimeCheckConfigsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListUptimeCheckConfigsRequest) ListUptimeCheckConfigsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListUptimeCheckConfigsRequest.newBuilder() to construct. private ListUptimeCheckConfigsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListUptimeCheckConfigsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListUptimeCheckConfigsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListUptimeCheckConfigsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListUptimeCheckConfigsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,74 +54,65 @@ private ListUptimeCheckConfigsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 24: - { - pageSize_ = input.readInt32(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 24: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.UptimeServiceProto - .internal_static_google_monitoring_v3_ListUptimeCheckConfigsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_ListUptimeCheckConfigsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.UptimeServiceProto - .internal_static_google_monitoring_v3_ListUptimeCheckConfigsRequest_fieldAccessorTable + return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_ListUptimeCheckConfigsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListUptimeCheckConfigsRequest.class, - com.google.monitoring.v3.ListUptimeCheckConfigsRequest.Builder.class); + com.google.monitoring.v3.ListUptimeCheckConfigsRequest.class, com.google.monitoring.v3.ListUptimeCheckConfigsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
    * whose Uptime check configurations are listed. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -147,33 +121,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
    * whose Uptime check configurations are listed. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -184,8 +156,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * The maximum number of results to return in a single response. The server
    * may further constrain the maximum number of results returned in a single
@@ -194,7 +164,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -205,8 +174,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** - * - * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -214,7 +181,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -223,15 +189,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -239,15 +204,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -256,7 +222,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -268,7 +233,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -291,7 +257,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -304,17 +271,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.monitoring.v3.ListUptimeCheckConfigsRequest)) { return super.equals(obj); } - com.google.monitoring.v3.ListUptimeCheckConfigsRequest other = - (com.google.monitoring.v3.ListUptimeCheckConfigsRequest) obj; + com.google.monitoring.v3.ListUptimeCheckConfigsRequest other = (com.google.monitoring.v3.ListUptimeCheckConfigsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -338,127 +307,117 @@ public int hashCode() { } public static com.google.monitoring.v3.ListUptimeCheckConfigsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListUptimeCheckConfigsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListUptimeCheckConfigsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListUptimeCheckConfigsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListUptimeCheckConfigsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListUptimeCheckConfigsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.ListUptimeCheckConfigsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.ListUptimeCheckConfigsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListUptimeCheckConfigsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.ListUptimeCheckConfigsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.ListUptimeCheckConfigsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListUptimeCheckConfigsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListUptimeCheckConfigsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListUptimeCheckConfigsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.ListUptimeCheckConfigsRequest prototype) { + public static Builder newBuilder(com.google.monitoring.v3.ListUptimeCheckConfigsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 protocol for the `ListUptimeCheckConfigs` request.
    * 
* * Protobuf type {@code google.monitoring.v3.ListUptimeCheckConfigsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListUptimeCheckConfigsRequest) com.google.monitoring.v3.ListUptimeCheckConfigsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.UptimeServiceProto - .internal_static_google_monitoring_v3_ListUptimeCheckConfigsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_ListUptimeCheckConfigsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.UptimeServiceProto - .internal_static_google_monitoring_v3_ListUptimeCheckConfigsRequest_fieldAccessorTable + return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_ListUptimeCheckConfigsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListUptimeCheckConfigsRequest.class, - com.google.monitoring.v3.ListUptimeCheckConfigsRequest.Builder.class); + com.google.monitoring.v3.ListUptimeCheckConfigsRequest.class, com.google.monitoring.v3.ListUptimeCheckConfigsRequest.Builder.class); } // Construct using com.google.monitoring.v3.ListUptimeCheckConfigsRequest.newBuilder() @@ -466,15 +425,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -488,9 +448,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.UptimeServiceProto - .internal_static_google_monitoring_v3_ListUptimeCheckConfigsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_ListUptimeCheckConfigsRequest_descriptor; } @java.lang.Override @@ -509,8 +469,7 @@ public com.google.monitoring.v3.ListUptimeCheckConfigsRequest build() { @java.lang.Override public com.google.monitoring.v3.ListUptimeCheckConfigsRequest buildPartial() { - com.google.monitoring.v3.ListUptimeCheckConfigsRequest result = - new com.google.monitoring.v3.ListUptimeCheckConfigsRequest(this); + com.google.monitoring.v3.ListUptimeCheckConfigsRequest result = new com.google.monitoring.v3.ListUptimeCheckConfigsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -522,39 +481,38 @@ public com.google.monitoring.v3.ListUptimeCheckConfigsRequest 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.monitoring.v3.ListUptimeCheckConfigsRequest) { - return mergeFrom((com.google.monitoring.v3.ListUptimeCheckConfigsRequest) other); + return mergeFrom((com.google.monitoring.v3.ListUptimeCheckConfigsRequest)other); } else { super.mergeFrom(other); return this; @@ -562,8 +520,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.ListUptimeCheckConfigsRequest other) { - if (other == com.google.monitoring.v3.ListUptimeCheckConfigsRequest.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.ListUptimeCheckConfigsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -594,8 +551,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.ListUptimeCheckConfigsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.ListUptimeCheckConfigsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -607,24 +563,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
      * whose Uptime check configurations are listed. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -633,25 +585,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
      * whose Uptime check configurations are listed. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -659,82 +608,67 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
      * whose Uptime check configurations are listed. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
      * whose Uptime check configurations are listed. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
      * whose Uptime check configurations are listed. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of results to return in a single response. The server
      * may further constrain the maximum number of results returned in a single
@@ -743,7 +677,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -751,8 +684,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of results to return in a single response. The server
      * may further constrain the maximum number of results returned in a single
@@ -761,19 +692,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of results to return in a single response. The server
      * may further constrain the maximum number of results returned in a single
@@ -782,11 +710,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -794,8 +721,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -803,13 +728,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -818,8 +743,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -827,14 +750,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -842,8 +766,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -851,22 +773,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -874,18 +794,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -893,23 +810,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -919,12 +836,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListUptimeCheckConfigsRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListUptimeCheckConfigsRequest) private static final com.google.monitoring.v3.ListUptimeCheckConfigsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListUptimeCheckConfigsRequest(); } @@ -933,16 +850,16 @@ public static com.google.monitoring.v3.ListUptimeCheckConfigsRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListUptimeCheckConfigsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListUptimeCheckConfigsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListUptimeCheckConfigsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListUptimeCheckConfigsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -957,4 +874,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.monitoring.v3.ListUptimeCheckConfigsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequestOrBuilder.java similarity index 63% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequestOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequestOrBuilder.java index 0d0c0632..31627e4b 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequestOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/uptime_service.proto package com.google.monitoring.v3; -public interface ListUptimeCheckConfigsRequestOrBuilder - extends +public interface ListUptimeCheckConfigsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListUptimeCheckConfigsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
    * whose Uptime check configurations are listed. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
    * whose Uptime check configurations are listed. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of results to return in a single response. The server
    * may further constrain the maximum number of results returned in a single
@@ -67,14 +40,11 @@ public interface ListUptimeCheckConfigsRequestOrBuilder
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -82,13 +52,10 @@ public interface ListUptimeCheckConfigsRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -96,8 +63,8 @@ public interface ListUptimeCheckConfigsRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsResponse.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsResponse.java similarity index 76% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsResponse.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsResponse.java index 3f99898d..75a50c6c 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsResponse.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsResponse.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/uptime_service.proto package com.google.monitoring.v3; /** - * - * *
  * The protocol for the `ListUptimeCheckConfigs` response.
  * 
* * Protobuf type {@code google.monitoring.v3.ListUptimeCheckConfigsResponse} */ -public final class ListUptimeCheckConfigsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListUptimeCheckConfigsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListUptimeCheckConfigsResponse) ListUptimeCheckConfigsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListUptimeCheckConfigsResponse.newBuilder() to construct. - private ListUptimeCheckConfigsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListUptimeCheckConfigsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListUptimeCheckConfigsResponse() { uptimeCheckConfigs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,15 +26,16 @@ private ListUptimeCheckConfigsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListUptimeCheckConfigsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListUptimeCheckConfigsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,43 +55,40 @@ private ListUptimeCheckConfigsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uptimeCheckConfigs_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - uptimeCheckConfigs_.add( - input.readMessage( - com.google.monitoring.v3.UptimeCheckConfig.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uptimeCheckConfigs_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + uptimeCheckConfigs_.add( + input.readMessage(com.google.monitoring.v3.UptimeCheckConfig.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 24: - { - totalSize_ = input.readInt32(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + case 24: { + + totalSize_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uptimeCheckConfigs_ = java.util.Collections.unmodifiableList(uptimeCheckConfigs_); @@ -118,27 +97,22 @@ private ListUptimeCheckConfigsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.UptimeServiceProto - .internal_static_google_monitoring_v3_ListUptimeCheckConfigsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_ListUptimeCheckConfigsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.UptimeServiceProto - .internal_static_google_monitoring_v3_ListUptimeCheckConfigsResponse_fieldAccessorTable + return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_ListUptimeCheckConfigsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListUptimeCheckConfigsResponse.class, - com.google.monitoring.v3.ListUptimeCheckConfigsResponse.Builder.class); + com.google.monitoring.v3.ListUptimeCheckConfigsResponse.class, com.google.monitoring.v3.ListUptimeCheckConfigsResponse.Builder.class); } public static final int UPTIME_CHECK_CONFIGS_FIELD_NUMBER = 1; private java.util.List uptimeCheckConfigs_; /** - * - * *
    * The returned Uptime check configurations.
    * 
@@ -150,8 +124,6 @@ public java.util.List getUptimeCheck return uptimeCheckConfigs_; } /** - * - * *
    * The returned Uptime check configurations.
    * 
@@ -159,13 +131,11 @@ public java.util.List getUptimeCheck * repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getUptimeCheckConfigsOrBuilderList() { return uptimeCheckConfigs_; } /** - * - * *
    * The returned Uptime check configurations.
    * 
@@ -177,8 +147,6 @@ public int getUptimeCheckConfigsCount() { return uptimeCheckConfigs_.size(); } /** - * - * *
    * The returned Uptime check configurations.
    * 
@@ -190,8 +158,6 @@ public com.google.monitoring.v3.UptimeCheckConfig getUptimeCheckConfigs(int inde return uptimeCheckConfigs_.get(index); } /** - * - * *
    * The returned Uptime check configurations.
    * 
@@ -207,8 +173,6 @@ public com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigs public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * This field represents the pagination token to retrieve the next page of
    * results. If the value is empty, it means no further results for the
@@ -218,7 +182,6 @@ public com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigs
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -227,15 +190,14 @@ 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; } } /** - * - * *
    * This field represents the pagination token to retrieve the next page of
    * results. If the value is empty, it means no further results for the
@@ -245,15 +207,16 @@ public java.lang.String getNextPageToken() {
    * 
* * 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 { @@ -264,15 +227,12 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int TOTAL_SIZE_FIELD_NUMBER = 3; private int totalSize_; /** - * - * *
    * The total number of Uptime check configurations for the project,
    * irrespective of any pagination.
    * 
* * int32 total_size = 3; - * * @return The totalSize. */ @java.lang.Override @@ -281,7 +241,6 @@ public int getTotalSize() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -293,7 +252,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 < uptimeCheckConfigs_.size(); i++) { output.writeMessage(1, uptimeCheckConfigs_.get(i)); } @@ -313,14 +273,15 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < uptimeCheckConfigs_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, uptimeCheckConfigs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, uptimeCheckConfigs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } if (totalSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, totalSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, totalSize_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -330,17 +291,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.monitoring.v3.ListUptimeCheckConfigsResponse)) { return super.equals(obj); } - com.google.monitoring.v3.ListUptimeCheckConfigsResponse other = - (com.google.monitoring.v3.ListUptimeCheckConfigsResponse) obj; + com.google.monitoring.v3.ListUptimeCheckConfigsResponse other = (com.google.monitoring.v3.ListUptimeCheckConfigsResponse) obj; - if (!getUptimeCheckConfigsList().equals(other.getUptimeCheckConfigsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (getTotalSize() != other.getTotalSize()) return false; + if (!getUptimeCheckConfigsList() + .equals(other.getUptimeCheckConfigsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (getTotalSize() + != other.getTotalSize()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -366,127 +329,117 @@ public int hashCode() { } public static com.google.monitoring.v3.ListUptimeCheckConfigsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListUptimeCheckConfigsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListUptimeCheckConfigsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListUptimeCheckConfigsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListUptimeCheckConfigsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListUptimeCheckConfigsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.ListUptimeCheckConfigsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.ListUptimeCheckConfigsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListUptimeCheckConfigsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.ListUptimeCheckConfigsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.ListUptimeCheckConfigsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListUptimeCheckConfigsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListUptimeCheckConfigsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListUptimeCheckConfigsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.ListUptimeCheckConfigsResponse prototype) { + public static Builder newBuilder(com.google.monitoring.v3.ListUptimeCheckConfigsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 protocol for the `ListUptimeCheckConfigs` response.
    * 
* * Protobuf type {@code google.monitoring.v3.ListUptimeCheckConfigsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListUptimeCheckConfigsResponse) com.google.monitoring.v3.ListUptimeCheckConfigsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.UptimeServiceProto - .internal_static_google_monitoring_v3_ListUptimeCheckConfigsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_ListUptimeCheckConfigsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.UptimeServiceProto - .internal_static_google_monitoring_v3_ListUptimeCheckConfigsResponse_fieldAccessorTable + return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_ListUptimeCheckConfigsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListUptimeCheckConfigsResponse.class, - com.google.monitoring.v3.ListUptimeCheckConfigsResponse.Builder.class); + com.google.monitoring.v3.ListUptimeCheckConfigsResponse.class, com.google.monitoring.v3.ListUptimeCheckConfigsResponse.Builder.class); } // Construct using com.google.monitoring.v3.ListUptimeCheckConfigsResponse.newBuilder() @@ -494,17 +447,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getUptimeCheckConfigsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -522,9 +475,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.UptimeServiceProto - .internal_static_google_monitoring_v3_ListUptimeCheckConfigsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_ListUptimeCheckConfigsResponse_descriptor; } @java.lang.Override @@ -543,8 +496,7 @@ public com.google.monitoring.v3.ListUptimeCheckConfigsResponse build() { @java.lang.Override public com.google.monitoring.v3.ListUptimeCheckConfigsResponse buildPartial() { - com.google.monitoring.v3.ListUptimeCheckConfigsResponse result = - new com.google.monitoring.v3.ListUptimeCheckConfigsResponse(this); + com.google.monitoring.v3.ListUptimeCheckConfigsResponse result = new com.google.monitoring.v3.ListUptimeCheckConfigsResponse(this); int from_bitField0_ = bitField0_; if (uptimeCheckConfigsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -565,39 +517,38 @@ public com.google.monitoring.v3.ListUptimeCheckConfigsResponse 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.monitoring.v3.ListUptimeCheckConfigsResponse) { - return mergeFrom((com.google.monitoring.v3.ListUptimeCheckConfigsResponse) other); + return mergeFrom((com.google.monitoring.v3.ListUptimeCheckConfigsResponse)other); } else { super.mergeFrom(other); return this; @@ -605,8 +556,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.ListUptimeCheckConfigsResponse other) { - if (other == com.google.monitoring.v3.ListUptimeCheckConfigsResponse.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.ListUptimeCheckConfigsResponse.getDefaultInstance()) return this; if (uptimeCheckConfigsBuilder_ == null) { if (!other.uptimeCheckConfigs_.isEmpty()) { if (uptimeCheckConfigs_.isEmpty()) { @@ -625,10 +575,9 @@ public Builder mergeFrom(com.google.monitoring.v3.ListUptimeCheckConfigsResponse uptimeCheckConfigsBuilder_ = null; uptimeCheckConfigs_ = other.uptimeCheckConfigs_; bitField0_ = (bitField0_ & ~0x00000001); - uptimeCheckConfigsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getUptimeCheckConfigsFieldBuilder() - : null; + uptimeCheckConfigsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getUptimeCheckConfigsFieldBuilder() : null; } else { uptimeCheckConfigsBuilder_.addAllMessages(other.uptimeCheckConfigs_); } @@ -660,8 +609,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.ListUptimeCheckConfigsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.ListUptimeCheckConfigsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -670,30 +618,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List uptimeCheckConfigs_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureUptimeCheckConfigsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - uptimeCheckConfigs_ = - new java.util.ArrayList( - uptimeCheckConfigs_); + uptimeCheckConfigs_ = new java.util.ArrayList(uptimeCheckConfigs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig, - com.google.monitoring.v3.UptimeCheckConfig.Builder, - com.google.monitoring.v3.UptimeCheckConfigOrBuilder> - uptimeCheckConfigsBuilder_; + com.google.monitoring.v3.UptimeCheckConfig, com.google.monitoring.v3.UptimeCheckConfig.Builder, com.google.monitoring.v3.UptimeCheckConfigOrBuilder> uptimeCheckConfigsBuilder_; /** - * - * *
      * The returned Uptime check configurations.
      * 
@@ -708,8 +647,6 @@ public java.util.List getUptimeCheck } } /** - * - * *
      * The returned Uptime check configurations.
      * 
@@ -724,8 +661,6 @@ public int getUptimeCheckConfigsCount() { } } /** - * - * *
      * The returned Uptime check configurations.
      * 
@@ -740,8 +675,6 @@ public com.google.monitoring.v3.UptimeCheckConfig getUptimeCheckConfigs(int inde } } /** - * - * *
      * The returned Uptime check configurations.
      * 
@@ -763,8 +696,6 @@ public Builder setUptimeCheckConfigs( return this; } /** - * - * *
      * The returned Uptime check configurations.
      * 
@@ -783,8 +714,6 @@ public Builder setUptimeCheckConfigs( return this; } /** - * - * *
      * The returned Uptime check configurations.
      * 
@@ -805,8 +734,6 @@ public Builder addUptimeCheckConfigs(com.google.monitoring.v3.UptimeCheckConfig return this; } /** - * - * *
      * The returned Uptime check configurations.
      * 
@@ -828,8 +755,6 @@ public Builder addUptimeCheckConfigs( return this; } /** - * - * *
      * The returned Uptime check configurations.
      * 
@@ -848,8 +773,6 @@ public Builder addUptimeCheckConfigs( return this; } /** - * - * *
      * The returned Uptime check configurations.
      * 
@@ -868,8 +791,6 @@ public Builder addUptimeCheckConfigs( return this; } /** - * - * *
      * The returned Uptime check configurations.
      * 
@@ -880,7 +801,8 @@ public Builder addAllUptimeCheckConfigs( java.lang.Iterable values) { if (uptimeCheckConfigsBuilder_ == null) { ensureUptimeCheckConfigsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uptimeCheckConfigs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, uptimeCheckConfigs_); onChanged(); } else { uptimeCheckConfigsBuilder_.addAllMessages(values); @@ -888,8 +810,6 @@ public Builder addAllUptimeCheckConfigs( return this; } /** - * - * *
      * The returned Uptime check configurations.
      * 
@@ -907,8 +827,6 @@ public Builder clearUptimeCheckConfigs() { return this; } /** - * - * *
      * The returned Uptime check configurations.
      * 
@@ -926,8 +844,6 @@ public Builder removeUptimeCheckConfigs(int index) { return this; } /** - * - * *
      * The returned Uptime check configurations.
      * 
@@ -939,8 +855,6 @@ public com.google.monitoring.v3.UptimeCheckConfig.Builder getUptimeCheckConfigsB return getUptimeCheckConfigsFieldBuilder().getBuilder(index); } /** - * - * *
      * The returned Uptime check configurations.
      * 
@@ -950,22 +864,19 @@ public com.google.monitoring.v3.UptimeCheckConfig.Builder getUptimeCheckConfigsB public com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigsOrBuilder( int index) { if (uptimeCheckConfigsBuilder_ == null) { - return uptimeCheckConfigs_.get(index); - } else { + return uptimeCheckConfigs_.get(index); } else { return uptimeCheckConfigsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The returned Uptime check configurations.
      * 
* * repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1; */ - public java.util.List - getUptimeCheckConfigsOrBuilderList() { + public java.util.List + getUptimeCheckConfigsOrBuilderList() { if (uptimeCheckConfigsBuilder_ != null) { return uptimeCheckConfigsBuilder_.getMessageOrBuilderList(); } else { @@ -973,8 +884,6 @@ public com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigs } } /** - * - * *
      * The returned Uptime check configurations.
      * 
@@ -982,12 +891,10 @@ public com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigs * repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1; */ public com.google.monitoring.v3.UptimeCheckConfig.Builder addUptimeCheckConfigsBuilder() { - return getUptimeCheckConfigsFieldBuilder() - .addBuilder(com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance()); + return getUptimeCheckConfigsFieldBuilder().addBuilder( + com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance()); } /** - * - * *
      * The returned Uptime check configurations.
      * 
@@ -996,34 +903,26 @@ public com.google.monitoring.v3.UptimeCheckConfig.Builder addUptimeCheckConfigsB */ public com.google.monitoring.v3.UptimeCheckConfig.Builder addUptimeCheckConfigsBuilder( int index) { - return getUptimeCheckConfigsFieldBuilder() - .addBuilder(index, com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance()); + return getUptimeCheckConfigsFieldBuilder().addBuilder( + index, com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance()); } /** - * - * *
      * The returned Uptime check configurations.
      * 
* * repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1; */ - public java.util.List - getUptimeCheckConfigsBuilderList() { + public java.util.List + getUptimeCheckConfigsBuilderList() { return getUptimeCheckConfigsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig, - com.google.monitoring.v3.UptimeCheckConfig.Builder, - com.google.monitoring.v3.UptimeCheckConfigOrBuilder> + com.google.monitoring.v3.UptimeCheckConfig, com.google.monitoring.v3.UptimeCheckConfig.Builder, com.google.monitoring.v3.UptimeCheckConfigOrBuilder> getUptimeCheckConfigsFieldBuilder() { if (uptimeCheckConfigsBuilder_ == null) { - uptimeCheckConfigsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig, - com.google.monitoring.v3.UptimeCheckConfig.Builder, - com.google.monitoring.v3.UptimeCheckConfigOrBuilder>( + uptimeCheckConfigsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.monitoring.v3.UptimeCheckConfig, com.google.monitoring.v3.UptimeCheckConfig.Builder, com.google.monitoring.v3.UptimeCheckConfigOrBuilder>( uptimeCheckConfigs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1035,8 +934,6 @@ public com.google.monitoring.v3.UptimeCheckConfig.Builder addUptimeCheckConfigsB private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * This field represents the pagination token to retrieve the next page of
      * results. If the value is empty, it means no further results for the
@@ -1046,13 +943,13 @@ public com.google.monitoring.v3.UptimeCheckConfig.Builder addUptimeCheckConfigsB
      * 
* * 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; @@ -1061,8 +958,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * This field represents the pagination token to retrieve the next page of
      * results. If the value is empty, it means no further results for the
@@ -1072,14 +967,15 @@ public java.lang.String getNextPageToken() {
      * 
* * 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 { @@ -1087,8 +983,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * This field represents the pagination token to retrieve the next page of
      * results. If the value is empty, it means no further results for the
@@ -1098,22 +992,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * 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; } /** - * - * *
      * This field represents the pagination token to retrieve the next page of
      * results. If the value is empty, it means no further results for the
@@ -1123,18 +1015,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * This field represents the pagination token to retrieve the next page of
      * results. If the value is empty, it means no further results for the
@@ -1144,32 +1033,29 @@ public Builder clearNextPageToken() {
      * 
* * 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; } - private int totalSize_; + private int totalSize_ ; /** - * - * *
      * The total number of Uptime check configurations for the project,
      * irrespective of any pagination.
      * 
* * int32 total_size = 3; - * * @return The totalSize. */ @java.lang.Override @@ -1177,45 +1063,39 @@ public int getTotalSize() { return totalSize_; } /** - * - * *
      * The total number of Uptime check configurations for the project,
      * irrespective of any pagination.
      * 
* * int32 total_size = 3; - * * @param value The totalSize to set. * @return This builder for chaining. */ public Builder setTotalSize(int value) { - + totalSize_ = value; onChanged(); return this; } /** - * - * *
      * The total number of Uptime check configurations for the project,
      * irrespective of any pagination.
      * 
* * int32 total_size = 3; - * * @return This builder for chaining. */ public Builder clearTotalSize() { - + totalSize_ = 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); } @@ -1225,12 +1105,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListUptimeCheckConfigsResponse) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListUptimeCheckConfigsResponse) private static final com.google.monitoring.v3.ListUptimeCheckConfigsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListUptimeCheckConfigsResponse(); } @@ -1239,16 +1119,16 @@ public static com.google.monitoring.v3.ListUptimeCheckConfigsResponse getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListUptimeCheckConfigsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListUptimeCheckConfigsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListUptimeCheckConfigsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListUptimeCheckConfigsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1263,4 +1143,6 @@ public com.google.protobuf.Parser getParserForTy public com.google.monitoring.v3.ListUptimeCheckConfigsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsResponseOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsResponseOrBuilder.java similarity index 73% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsResponseOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsResponseOrBuilder.java index 52fd32f6..38ec45ad 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsResponseOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsResponseOrBuilder.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/monitoring/v3/uptime_service.proto package com.google.monitoring.v3; -public interface ListUptimeCheckConfigsResponseOrBuilder - extends +public interface ListUptimeCheckConfigsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListUptimeCheckConfigsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The returned Uptime check configurations.
    * 
* * repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1; */ - java.util.List getUptimeCheckConfigsList(); + java.util.List + getUptimeCheckConfigsList(); /** - * - * *
    * The returned Uptime check configurations.
    * 
@@ -44,8 +25,6 @@ public interface ListUptimeCheckConfigsResponseOrBuilder */ com.google.monitoring.v3.UptimeCheckConfig getUptimeCheckConfigs(int index); /** - * - * *
    * The returned Uptime check configurations.
    * 
@@ -54,30 +33,25 @@ public interface ListUptimeCheckConfigsResponseOrBuilder */ int getUptimeCheckConfigsCount(); /** - * - * *
    * The returned Uptime check configurations.
    * 
* * repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1; */ - java.util.List + java.util.List getUptimeCheckConfigsOrBuilderList(); /** - * - * *
    * The returned Uptime check configurations.
    * 
* * repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1; */ - com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigsOrBuilder(int index); + com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigsOrBuilder( + int index); /** - * - * *
    * This field represents the pagination token to retrieve the next page of
    * results. If the value is empty, it means no further results for the
@@ -87,13 +61,10 @@ public interface ListUptimeCheckConfigsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * This field represents the pagination token to retrieve the next page of
    * results. If the value is empty, it means no further results for the
@@ -103,21 +74,18 @@ public interface ListUptimeCheckConfigsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * The total number of Uptime check configurations for the project,
    * irrespective of any pagination.
    * 
* * int32 total_size = 3; - * * @return The totalSize. */ int getTotalSize(); diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsRequest.java similarity index 72% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsRequest.java index b115b4c3..6268fa89 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/uptime_service.proto package com.google.monitoring.v3; /** - * - * *
  * The protocol for the `ListUptimeCheckIps` request.
  * 
* * Protobuf type {@code google.monitoring.v3.ListUptimeCheckIpsRequest} */ -public final class ListUptimeCheckIpsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListUptimeCheckIpsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListUptimeCheckIpsRequest) ListUptimeCheckIpsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListUptimeCheckIpsRequest.newBuilder() to construct. private ListUptimeCheckIpsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListUptimeCheckIpsRequest() { pageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListUptimeCheckIpsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListUptimeCheckIpsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,57 +53,52 @@ private ListUptimeCheckIpsRequest( case 0: done = true; break; - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.UptimeServiceProto - .internal_static_google_monitoring_v3_ListUptimeCheckIpsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_ListUptimeCheckIpsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.UptimeServiceProto - .internal_static_google_monitoring_v3_ListUptimeCheckIpsRequest_fieldAccessorTable + return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_ListUptimeCheckIpsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListUptimeCheckIpsRequest.class, - com.google.monitoring.v3.ListUptimeCheckIpsRequest.Builder.class); + com.google.monitoring.v3.ListUptimeCheckIpsRequest.class, com.google.monitoring.v3.ListUptimeCheckIpsRequest.Builder.class); } public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of results to return in a single response. The server
    * may further constrain the maximum number of results returned in a single
@@ -130,7 +108,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -141,8 +118,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -151,7 +126,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -160,15 +134,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -177,15 +150,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -194,7 +168,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,7 +179,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 (pageSize_ != 0) { output.writeInt32(2, pageSize_); } @@ -223,7 +197,8 @@ public int getSerializedSize() { size = 0; if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -236,16 +211,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.monitoring.v3.ListUptimeCheckIpsRequest)) { return super.equals(obj); } - com.google.monitoring.v3.ListUptimeCheckIpsRequest other = - (com.google.monitoring.v3.ListUptimeCheckIpsRequest) obj; + com.google.monitoring.v3.ListUptimeCheckIpsRequest other = (com.google.monitoring.v3.ListUptimeCheckIpsRequest) obj; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -267,126 +243,117 @@ public int hashCode() { } public static com.google.monitoring.v3.ListUptimeCheckIpsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListUptimeCheckIpsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListUptimeCheckIpsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListUptimeCheckIpsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListUptimeCheckIpsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListUptimeCheckIpsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.ListUptimeCheckIpsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.ListUptimeCheckIpsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListUptimeCheckIpsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.ListUptimeCheckIpsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.ListUptimeCheckIpsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListUptimeCheckIpsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListUptimeCheckIpsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListUptimeCheckIpsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.ListUptimeCheckIpsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 protocol for the `ListUptimeCheckIps` request.
    * 
* * Protobuf type {@code google.monitoring.v3.ListUptimeCheckIpsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListUptimeCheckIpsRequest) com.google.monitoring.v3.ListUptimeCheckIpsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.UptimeServiceProto - .internal_static_google_monitoring_v3_ListUptimeCheckIpsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_ListUptimeCheckIpsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.UptimeServiceProto - .internal_static_google_monitoring_v3_ListUptimeCheckIpsRequest_fieldAccessorTable + return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_ListUptimeCheckIpsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListUptimeCheckIpsRequest.class, - com.google.monitoring.v3.ListUptimeCheckIpsRequest.Builder.class); + com.google.monitoring.v3.ListUptimeCheckIpsRequest.class, com.google.monitoring.v3.ListUptimeCheckIpsRequest.Builder.class); } // Construct using com.google.monitoring.v3.ListUptimeCheckIpsRequest.newBuilder() @@ -394,15 +361,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -414,9 +382,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.UptimeServiceProto - .internal_static_google_monitoring_v3_ListUptimeCheckIpsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_ListUptimeCheckIpsRequest_descriptor; } @java.lang.Override @@ -435,8 +403,7 @@ public com.google.monitoring.v3.ListUptimeCheckIpsRequest build() { @java.lang.Override public com.google.monitoring.v3.ListUptimeCheckIpsRequest buildPartial() { - com.google.monitoring.v3.ListUptimeCheckIpsRequest result = - new com.google.monitoring.v3.ListUptimeCheckIpsRequest(this); + com.google.monitoring.v3.ListUptimeCheckIpsRequest result = new com.google.monitoring.v3.ListUptimeCheckIpsRequest(this); result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; onBuilt(); @@ -447,39 +414,38 @@ public com.google.monitoring.v3.ListUptimeCheckIpsRequest 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.monitoring.v3.ListUptimeCheckIpsRequest) { - return mergeFrom((com.google.monitoring.v3.ListUptimeCheckIpsRequest) other); + return mergeFrom((com.google.monitoring.v3.ListUptimeCheckIpsRequest)other); } else { super.mergeFrom(other); return this; @@ -487,8 +453,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.ListUptimeCheckIpsRequest other) { - if (other == com.google.monitoring.v3.ListUptimeCheckIpsRequest.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.ListUptimeCheckIpsRequest.getDefaultInstance()) return this; if (other.getPageSize() != 0) { setPageSize(other.getPageSize()); } @@ -515,8 +480,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.ListUptimeCheckIpsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.ListUptimeCheckIpsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -526,10 +490,8 @@ public Builder mergeFrom( return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of results to return in a single response. The server
      * may further constrain the maximum number of results returned in a single
@@ -539,7 +501,6 @@ public Builder mergeFrom(
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -547,8 +508,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of results to return in a single response. The server
      * may further constrain the maximum number of results returned in a single
@@ -558,19 +517,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of results to return in a single response. The server
      * may further constrain the maximum number of results returned in a single
@@ -580,11 +536,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -592,8 +547,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -602,13 +555,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -617,8 +570,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -627,14 +578,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -642,8 +594,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -652,22 +602,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -676,18 +624,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -696,23 +641,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -722,12 +667,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListUptimeCheckIpsRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListUptimeCheckIpsRequest) private static final com.google.monitoring.v3.ListUptimeCheckIpsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListUptimeCheckIpsRequest(); } @@ -736,16 +681,16 @@ public static com.google.monitoring.v3.ListUptimeCheckIpsRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListUptimeCheckIpsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListUptimeCheckIpsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListUptimeCheckIpsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListUptimeCheckIpsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -760,4 +705,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.monitoring.v3.ListUptimeCheckIpsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsRequestOrBuilder.java similarity index 66% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsRequestOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsRequestOrBuilder.java index f88396e3..216662c7 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsRequestOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsRequestOrBuilder.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/monitoring/v3/uptime_service.proto package com.google.monitoring.v3; -public interface ListUptimeCheckIpsRequestOrBuilder - extends +public interface ListUptimeCheckIpsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListUptimeCheckIpsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The maximum number of results to return in a single response. The server
    * may further constrain the maximum number of results returned in a single
@@ -35,14 +17,11 @@ public interface ListUptimeCheckIpsRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -51,13 +30,10 @@ public interface ListUptimeCheckIpsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -66,8 +42,8 @@ public interface ListUptimeCheckIpsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsResponse.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsResponse.java similarity index 76% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsResponse.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsResponse.java index 68210aed..fabd5fcb 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsResponse.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsResponse.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/monitoring/v3/uptime_service.proto package com.google.monitoring.v3; /** - * - * *
  * The protocol for the `ListUptimeCheckIps` response.
  * 
* * Protobuf type {@code google.monitoring.v3.ListUptimeCheckIpsResponse} */ -public final class ListUptimeCheckIpsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListUptimeCheckIpsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListUptimeCheckIpsResponse) ListUptimeCheckIpsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListUptimeCheckIpsResponse.newBuilder() to construct. private ListUptimeCheckIpsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListUptimeCheckIpsResponse() { uptimeCheckIps_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListUptimeCheckIpsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListUptimeCheckIpsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListUptimeCheckIpsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,37 +55,35 @@ private ListUptimeCheckIpsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uptimeCheckIps_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - uptimeCheckIps_.add( - input.readMessage( - com.google.monitoring.v3.UptimeCheckIp.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uptimeCheckIps_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + uptimeCheckIps_.add( + input.readMessage(com.google.monitoring.v3.UptimeCheckIp.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uptimeCheckIps_ = java.util.Collections.unmodifiableList(uptimeCheckIps_); @@ -111,27 +92,22 @@ private ListUptimeCheckIpsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.UptimeServiceProto - .internal_static_google_monitoring_v3_ListUptimeCheckIpsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_ListUptimeCheckIpsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.UptimeServiceProto - .internal_static_google_monitoring_v3_ListUptimeCheckIpsResponse_fieldAccessorTable + return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_ListUptimeCheckIpsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListUptimeCheckIpsResponse.class, - com.google.monitoring.v3.ListUptimeCheckIpsResponse.Builder.class); + com.google.monitoring.v3.ListUptimeCheckIpsResponse.class, com.google.monitoring.v3.ListUptimeCheckIpsResponse.Builder.class); } public static final int UPTIME_CHECK_IPS_FIELD_NUMBER = 1; private java.util.List uptimeCheckIps_; /** - * - * *
    * The returned list of IP addresses (including region and location) that the
    * checkers run from.
@@ -144,8 +120,6 @@ public java.util.List getUptimeCheckIpsL
     return uptimeCheckIps_;
   }
   /**
-   *
-   *
    * 
    * The returned list of IP addresses (including region and location) that the
    * checkers run from.
@@ -154,13 +128,11 @@ public java.util.List getUptimeCheckIpsL
    * repeated .google.monitoring.v3.UptimeCheckIp uptime_check_ips = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getUptimeCheckIpsOrBuilderList() {
     return uptimeCheckIps_;
   }
   /**
-   *
-   *
    * 
    * The returned list of IP addresses (including region and location) that the
    * checkers run from.
@@ -173,8 +145,6 @@ public int getUptimeCheckIpsCount() {
     return uptimeCheckIps_.size();
   }
   /**
-   *
-   *
    * 
    * The returned list of IP addresses (including region and location) that the
    * checkers run from.
@@ -187,8 +157,6 @@ public com.google.monitoring.v3.UptimeCheckIp getUptimeCheckIps(int index) {
     return uptimeCheckIps_.get(index);
   }
   /**
-   *
-   *
    * 
    * The returned list of IP addresses (including region and location) that the
    * checkers run from.
@@ -197,15 +165,14 @@ public com.google.monitoring.v3.UptimeCheckIp getUptimeCheckIps(int index) {
    * repeated .google.monitoring.v3.UptimeCheckIp uptime_check_ips = 1;
    */
   @java.lang.Override
-  public com.google.monitoring.v3.UptimeCheckIpOrBuilder getUptimeCheckIpsOrBuilder(int index) {
+  public com.google.monitoring.v3.UptimeCheckIpOrBuilder getUptimeCheckIpsOrBuilder(
+      int index) {
     return uptimeCheckIps_.get(index);
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
   private volatile java.lang.Object nextPageToken_;
   /**
-   *
-   *
    * 
    * This field represents the pagination token to retrieve the next page of
    * results. If the value is empty, it means no further results for the
@@ -216,7 +183,6 @@ public com.google.monitoring.v3.UptimeCheckIpOrBuilder getUptimeCheckIpsOrBuilde
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -225,15 +191,14 @@ 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; } } /** - * - * *
    * This field represents the pagination token to retrieve the next page of
    * results. If the value is empty, it means no further results for the
@@ -244,15 +209,16 @@ public java.lang.String getNextPageToken() {
    * 
* * 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 { @@ -261,7 +227,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -273,7 +238,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 < uptimeCheckIps_.size(); i++) { output.writeMessage(1, uptimeCheckIps_.get(i)); } @@ -290,7 +256,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < uptimeCheckIps_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, uptimeCheckIps_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, uptimeCheckIps_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -303,16 +270,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.monitoring.v3.ListUptimeCheckIpsResponse)) { return super.equals(obj); } - com.google.monitoring.v3.ListUptimeCheckIpsResponse other = - (com.google.monitoring.v3.ListUptimeCheckIpsResponse) obj; + com.google.monitoring.v3.ListUptimeCheckIpsResponse other = (com.google.monitoring.v3.ListUptimeCheckIpsResponse) obj; - if (!getUptimeCheckIpsList().equals(other.getUptimeCheckIpsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUptimeCheckIpsList() + .equals(other.getUptimeCheckIpsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -336,126 +304,117 @@ public int hashCode() { } public static com.google.monitoring.v3.ListUptimeCheckIpsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListUptimeCheckIpsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListUptimeCheckIpsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListUptimeCheckIpsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListUptimeCheckIpsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ListUptimeCheckIpsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.ListUptimeCheckIpsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.ListUptimeCheckIpsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListUptimeCheckIpsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.ListUptimeCheckIpsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.ListUptimeCheckIpsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListUptimeCheckIpsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListUptimeCheckIpsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListUptimeCheckIpsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.ListUptimeCheckIpsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 protocol for the `ListUptimeCheckIps` response.
    * 
* * Protobuf type {@code google.monitoring.v3.ListUptimeCheckIpsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListUptimeCheckIpsResponse) com.google.monitoring.v3.ListUptimeCheckIpsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.UptimeServiceProto - .internal_static_google_monitoring_v3_ListUptimeCheckIpsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_ListUptimeCheckIpsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.UptimeServiceProto - .internal_static_google_monitoring_v3_ListUptimeCheckIpsResponse_fieldAccessorTable + return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_ListUptimeCheckIpsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListUptimeCheckIpsResponse.class, - com.google.monitoring.v3.ListUptimeCheckIpsResponse.Builder.class); + com.google.monitoring.v3.ListUptimeCheckIpsResponse.class, com.google.monitoring.v3.ListUptimeCheckIpsResponse.Builder.class); } // Construct using com.google.monitoring.v3.ListUptimeCheckIpsResponse.newBuilder() @@ -463,17 +422,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getUptimeCheckIpsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -489,9 +448,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.UptimeServiceProto - .internal_static_google_monitoring_v3_ListUptimeCheckIpsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_ListUptimeCheckIpsResponse_descriptor; } @java.lang.Override @@ -510,8 +469,7 @@ public com.google.monitoring.v3.ListUptimeCheckIpsResponse build() { @java.lang.Override public com.google.monitoring.v3.ListUptimeCheckIpsResponse buildPartial() { - com.google.monitoring.v3.ListUptimeCheckIpsResponse result = - new com.google.monitoring.v3.ListUptimeCheckIpsResponse(this); + com.google.monitoring.v3.ListUptimeCheckIpsResponse result = new com.google.monitoring.v3.ListUptimeCheckIpsResponse(this); int from_bitField0_ = bitField0_; if (uptimeCheckIpsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -531,39 +489,38 @@ public com.google.monitoring.v3.ListUptimeCheckIpsResponse 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.monitoring.v3.ListUptimeCheckIpsResponse) { - return mergeFrom((com.google.monitoring.v3.ListUptimeCheckIpsResponse) other); + return mergeFrom((com.google.monitoring.v3.ListUptimeCheckIpsResponse)other); } else { super.mergeFrom(other); return this; @@ -571,8 +528,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.ListUptimeCheckIpsResponse other) { - if (other == com.google.monitoring.v3.ListUptimeCheckIpsResponse.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.ListUptimeCheckIpsResponse.getDefaultInstance()) return this; if (uptimeCheckIpsBuilder_ == null) { if (!other.uptimeCheckIps_.isEmpty()) { if (uptimeCheckIps_.isEmpty()) { @@ -591,10 +547,9 @@ public Builder mergeFrom(com.google.monitoring.v3.ListUptimeCheckIpsResponse oth uptimeCheckIpsBuilder_ = null; uptimeCheckIps_ = other.uptimeCheckIps_; bitField0_ = (bitField0_ & ~0x00000001); - uptimeCheckIpsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getUptimeCheckIpsFieldBuilder() - : null; + uptimeCheckIpsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getUptimeCheckIpsFieldBuilder() : null; } else { uptimeCheckIpsBuilder_.addAllMessages(other.uptimeCheckIps_); } @@ -623,8 +578,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.ListUptimeCheckIpsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.ListUptimeCheckIpsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -633,29 +587,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List uptimeCheckIps_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureUptimeCheckIpsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - uptimeCheckIps_ = - new java.util.ArrayList(uptimeCheckIps_); + uptimeCheckIps_ = new java.util.ArrayList(uptimeCheckIps_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckIp, - com.google.monitoring.v3.UptimeCheckIp.Builder, - com.google.monitoring.v3.UptimeCheckIpOrBuilder> - uptimeCheckIpsBuilder_; + com.google.monitoring.v3.UptimeCheckIp, com.google.monitoring.v3.UptimeCheckIp.Builder, com.google.monitoring.v3.UptimeCheckIpOrBuilder> uptimeCheckIpsBuilder_; /** - * - * *
      * The returned list of IP addresses (including region and location) that the
      * checkers run from.
@@ -671,8 +617,6 @@ public java.util.List getUptimeCheckIpsL
       }
     }
     /**
-     *
-     *
      * 
      * The returned list of IP addresses (including region and location) that the
      * checkers run from.
@@ -688,8 +632,6 @@ public int getUptimeCheckIpsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The returned list of IP addresses (including region and location) that the
      * checkers run from.
@@ -705,8 +647,6 @@ public com.google.monitoring.v3.UptimeCheckIp getUptimeCheckIps(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The returned list of IP addresses (including region and location) that the
      * checkers run from.
@@ -714,7 +654,8 @@ public com.google.monitoring.v3.UptimeCheckIp getUptimeCheckIps(int index) {
      *
      * repeated .google.monitoring.v3.UptimeCheckIp uptime_check_ips = 1;
      */
-    public Builder setUptimeCheckIps(int index, com.google.monitoring.v3.UptimeCheckIp value) {
+    public Builder setUptimeCheckIps(
+        int index, com.google.monitoring.v3.UptimeCheckIp value) {
       if (uptimeCheckIpsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -728,8 +669,6 @@ public Builder setUptimeCheckIps(int index, com.google.monitoring.v3.UptimeCheck
       return this;
     }
     /**
-     *
-     *
      * 
      * The returned list of IP addresses (including region and location) that the
      * checkers run from.
@@ -749,8 +688,6 @@ public Builder setUptimeCheckIps(
       return this;
     }
     /**
-     *
-     *
      * 
      * The returned list of IP addresses (including region and location) that the
      * checkers run from.
@@ -772,8 +709,6 @@ public Builder addUptimeCheckIps(com.google.monitoring.v3.UptimeCheckIp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The returned list of IP addresses (including region and location) that the
      * checkers run from.
@@ -781,7 +716,8 @@ public Builder addUptimeCheckIps(com.google.monitoring.v3.UptimeCheckIp value) {
      *
      * repeated .google.monitoring.v3.UptimeCheckIp uptime_check_ips = 1;
      */
-    public Builder addUptimeCheckIps(int index, com.google.monitoring.v3.UptimeCheckIp value) {
+    public Builder addUptimeCheckIps(
+        int index, com.google.monitoring.v3.UptimeCheckIp value) {
       if (uptimeCheckIpsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -795,8 +731,6 @@ public Builder addUptimeCheckIps(int index, com.google.monitoring.v3.UptimeCheck
       return this;
     }
     /**
-     *
-     *
      * 
      * The returned list of IP addresses (including region and location) that the
      * checkers run from.
@@ -816,8 +750,6 @@ public Builder addUptimeCheckIps(
       return this;
     }
     /**
-     *
-     *
      * 
      * The returned list of IP addresses (including region and location) that the
      * checkers run from.
@@ -837,8 +769,6 @@ public Builder addUptimeCheckIps(
       return this;
     }
     /**
-     *
-     *
      * 
      * The returned list of IP addresses (including region and location) that the
      * checkers run from.
@@ -850,7 +780,8 @@ public Builder addAllUptimeCheckIps(
         java.lang.Iterable values) {
       if (uptimeCheckIpsBuilder_ == null) {
         ensureUptimeCheckIpsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uptimeCheckIps_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, uptimeCheckIps_);
         onChanged();
       } else {
         uptimeCheckIpsBuilder_.addAllMessages(values);
@@ -858,8 +789,6 @@ public Builder addAllUptimeCheckIps(
       return this;
     }
     /**
-     *
-     *
      * 
      * The returned list of IP addresses (including region and location) that the
      * checkers run from.
@@ -878,8 +807,6 @@ public Builder clearUptimeCheckIps() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The returned list of IP addresses (including region and location) that the
      * checkers run from.
@@ -898,8 +825,6 @@ public Builder removeUptimeCheckIps(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The returned list of IP addresses (including region and location) that the
      * checkers run from.
@@ -907,12 +832,11 @@ public Builder removeUptimeCheckIps(int index) {
      *
      * repeated .google.monitoring.v3.UptimeCheckIp uptime_check_ips = 1;
      */
-    public com.google.monitoring.v3.UptimeCheckIp.Builder getUptimeCheckIpsBuilder(int index) {
+    public com.google.monitoring.v3.UptimeCheckIp.Builder getUptimeCheckIpsBuilder(
+        int index) {
       return getUptimeCheckIpsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The returned list of IP addresses (including region and location) that the
      * checkers run from.
@@ -920,16 +844,14 @@ public com.google.monitoring.v3.UptimeCheckIp.Builder getUptimeCheckIpsBuilder(i
      *
      * repeated .google.monitoring.v3.UptimeCheckIp uptime_check_ips = 1;
      */
-    public com.google.monitoring.v3.UptimeCheckIpOrBuilder getUptimeCheckIpsOrBuilder(int index) {
+    public com.google.monitoring.v3.UptimeCheckIpOrBuilder getUptimeCheckIpsOrBuilder(
+        int index) {
       if (uptimeCheckIpsBuilder_ == null) {
-        return uptimeCheckIps_.get(index);
-      } else {
+        return uptimeCheckIps_.get(index);  } else {
         return uptimeCheckIpsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The returned list of IP addresses (including region and location) that the
      * checkers run from.
@@ -937,8 +859,8 @@ public com.google.monitoring.v3.UptimeCheckIpOrBuilder getUptimeCheckIpsOrBuilde
      *
      * repeated .google.monitoring.v3.UptimeCheckIp uptime_check_ips = 1;
      */
-    public java.util.List
-        getUptimeCheckIpsOrBuilderList() {
+    public java.util.List 
+         getUptimeCheckIpsOrBuilderList() {
       if (uptimeCheckIpsBuilder_ != null) {
         return uptimeCheckIpsBuilder_.getMessageOrBuilderList();
       } else {
@@ -946,8 +868,6 @@ public com.google.monitoring.v3.UptimeCheckIpOrBuilder getUptimeCheckIpsOrBuilde
       }
     }
     /**
-     *
-     *
      * 
      * The returned list of IP addresses (including region and location) that the
      * checkers run from.
@@ -956,12 +876,10 @@ public com.google.monitoring.v3.UptimeCheckIpOrBuilder getUptimeCheckIpsOrBuilde
      * repeated .google.monitoring.v3.UptimeCheckIp uptime_check_ips = 1;
      */
     public com.google.monitoring.v3.UptimeCheckIp.Builder addUptimeCheckIpsBuilder() {
-      return getUptimeCheckIpsFieldBuilder()
-          .addBuilder(com.google.monitoring.v3.UptimeCheckIp.getDefaultInstance());
+      return getUptimeCheckIpsFieldBuilder().addBuilder(
+          com.google.monitoring.v3.UptimeCheckIp.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The returned list of IP addresses (including region and location) that the
      * checkers run from.
@@ -969,13 +887,12 @@ public com.google.monitoring.v3.UptimeCheckIp.Builder addUptimeCheckIpsBuilder()
      *
      * repeated .google.monitoring.v3.UptimeCheckIp uptime_check_ips = 1;
      */
-    public com.google.monitoring.v3.UptimeCheckIp.Builder addUptimeCheckIpsBuilder(int index) {
-      return getUptimeCheckIpsFieldBuilder()
-          .addBuilder(index, com.google.monitoring.v3.UptimeCheckIp.getDefaultInstance());
+    public com.google.monitoring.v3.UptimeCheckIp.Builder addUptimeCheckIpsBuilder(
+        int index) {
+      return getUptimeCheckIpsFieldBuilder().addBuilder(
+          index, com.google.monitoring.v3.UptimeCheckIp.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The returned list of IP addresses (including region and location) that the
      * checkers run from.
@@ -983,22 +900,16 @@ public com.google.monitoring.v3.UptimeCheckIp.Builder addUptimeCheckIpsBuilder(i
      *
      * repeated .google.monitoring.v3.UptimeCheckIp uptime_check_ips = 1;
      */
-    public java.util.List
-        getUptimeCheckIpsBuilderList() {
+    public java.util.List 
+         getUptimeCheckIpsBuilderList() {
       return getUptimeCheckIpsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.monitoring.v3.UptimeCheckIp,
-            com.google.monitoring.v3.UptimeCheckIp.Builder,
-            com.google.monitoring.v3.UptimeCheckIpOrBuilder>
+        com.google.monitoring.v3.UptimeCheckIp, com.google.monitoring.v3.UptimeCheckIp.Builder, com.google.monitoring.v3.UptimeCheckIpOrBuilder> 
         getUptimeCheckIpsFieldBuilder() {
       if (uptimeCheckIpsBuilder_ == null) {
-        uptimeCheckIpsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.monitoring.v3.UptimeCheckIp,
-                com.google.monitoring.v3.UptimeCheckIp.Builder,
-                com.google.monitoring.v3.UptimeCheckIpOrBuilder>(
+        uptimeCheckIpsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.monitoring.v3.UptimeCheckIp, com.google.monitoring.v3.UptimeCheckIp.Builder, com.google.monitoring.v3.UptimeCheckIpOrBuilder>(
                 uptimeCheckIps_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1010,8 +921,6 @@ public com.google.monitoring.v3.UptimeCheckIp.Builder addUptimeCheckIpsBuilder(i
 
     private java.lang.Object nextPageToken_ = "";
     /**
-     *
-     *
      * 
      * This field represents the pagination token to retrieve the next page of
      * results. If the value is empty, it means no further results for the
@@ -1022,13 +931,13 @@ public com.google.monitoring.v3.UptimeCheckIp.Builder addUptimeCheckIpsBuilder(i
      * 
* * 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; @@ -1037,8 +946,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * This field represents the pagination token to retrieve the next page of
      * results. If the value is empty, it means no further results for the
@@ -1049,14 +956,15 @@ public java.lang.String getNextPageToken() {
      * 
* * 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 { @@ -1064,8 +972,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * This field represents the pagination token to retrieve the next page of
      * results. If the value is empty, it means no further results for the
@@ -1076,22 +982,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * 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; } /** - * - * *
      * This field represents the pagination token to retrieve the next page of
      * results. If the value is empty, it means no further results for the
@@ -1102,18 +1006,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * This field represents the pagination token to retrieve the next page of
      * results. If the value is empty, it means no further results for the
@@ -1124,23 +1025,23 @@ public Builder clearNextPageToken() {
      * 
* * 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); } @@ -1150,12 +1051,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListUptimeCheckIpsResponse) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListUptimeCheckIpsResponse) private static final com.google.monitoring.v3.ListUptimeCheckIpsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListUptimeCheckIpsResponse(); } @@ -1164,16 +1065,16 @@ public static com.google.monitoring.v3.ListUptimeCheckIpsResponse getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListUptimeCheckIpsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListUptimeCheckIpsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListUptimeCheckIpsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListUptimeCheckIpsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1188,4 +1089,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.monitoring.v3.ListUptimeCheckIpsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsResponseOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsResponseOrBuilder.java similarity index 75% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsResponseOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsResponseOrBuilder.java index 5b2048ef..e1b6b39e 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsResponseOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsResponseOrBuilder.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/monitoring/v3/uptime_service.proto package com.google.monitoring.v3; -public interface ListUptimeCheckIpsResponseOrBuilder - extends +public interface ListUptimeCheckIpsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListUptimeCheckIpsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The returned list of IP addresses (including region and location) that the
    * checkers run from.
@@ -33,10 +15,9 @@ public interface ListUptimeCheckIpsResponseOrBuilder
    *
    * repeated .google.monitoring.v3.UptimeCheckIp uptime_check_ips = 1;
    */
-  java.util.List getUptimeCheckIpsList();
+  java.util.List 
+      getUptimeCheckIpsList();
   /**
-   *
-   *
    * 
    * The returned list of IP addresses (including region and location) that the
    * checkers run from.
@@ -46,8 +27,6 @@ public interface ListUptimeCheckIpsResponseOrBuilder
    */
   com.google.monitoring.v3.UptimeCheckIp getUptimeCheckIps(int index);
   /**
-   *
-   *
    * 
    * The returned list of IP addresses (including region and location) that the
    * checkers run from.
@@ -57,8 +36,6 @@ public interface ListUptimeCheckIpsResponseOrBuilder
    */
   int getUptimeCheckIpsCount();
   /**
-   *
-   *
    * 
    * The returned list of IP addresses (including region and location) that the
    * checkers run from.
@@ -66,11 +43,9 @@ public interface ListUptimeCheckIpsResponseOrBuilder
    *
    * repeated .google.monitoring.v3.UptimeCheckIp uptime_check_ips = 1;
    */
-  java.util.List
+  java.util.List 
       getUptimeCheckIpsOrBuilderList();
   /**
-   *
-   *
    * 
    * The returned list of IP addresses (including region and location) that the
    * checkers run from.
@@ -78,11 +53,10 @@ public interface ListUptimeCheckIpsResponseOrBuilder
    *
    * repeated .google.monitoring.v3.UptimeCheckIp uptime_check_ips = 1;
    */
-  com.google.monitoring.v3.UptimeCheckIpOrBuilder getUptimeCheckIpsOrBuilder(int index);
+  com.google.monitoring.v3.UptimeCheckIpOrBuilder getUptimeCheckIpsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * This field represents the pagination token to retrieve the next page of
    * results. If the value is empty, it means no further results for the
@@ -93,13 +67,10 @@ public interface ListUptimeCheckIpsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * This field represents the pagination token to retrieve the next page of
    * results. If the value is empty, it means no further results for the
@@ -110,8 +81,8 @@ public interface ListUptimeCheckIpsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricDescriptorName.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricDescriptorName.java similarity index 100% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricDescriptorName.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricDescriptorName.java diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricProto.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricProto.java new file mode 100644 index 00000000..ac59478c --- /dev/null +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricProto.java @@ -0,0 +1,206 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/metric.proto + +package com.google.monitoring.v3; + +public final class MetricProto { + private MetricProto() {} + 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_monitoring_v3_Point_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_Point_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_TimeSeries_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_TimeSeries_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_TimeSeriesDescriptor_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_TimeSeriesDescriptor_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_TimeSeriesDescriptor_ValueDescriptor_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_TimeSeriesDescriptor_ValueDescriptor_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_TimeSeriesData_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_TimeSeriesData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_TimeSeriesData_PointData_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_TimeSeriesData_PointData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_LabelValue_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_LabelValue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_QueryError_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_QueryError_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_TextLocator_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_TextLocator_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_TextLocator_Position_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_TextLocator_Position_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/monitoring/v3/metric.proto\022\024goo" + + "gle.monitoring.v3\032\035google/api/distributi" + + "on.proto\032\026google/api/label.proto\032\027google" + + "/api/metric.proto\032#google/api/monitored_" + + "resource.proto\032!google/monitoring/v3/com" + + "mon.proto\032\036google/protobuf/duration.prot" + + "o\"n\n\005Point\0224\n\010interval\030\001 \001(\0132\".google.mo" + + "nitoring.v3.TimeInterval\022/\n\005value\030\002 \001(\0132" + + " .google.monitoring.v3.TypedValue\"\317\002\n\nTi" + + "meSeries\022\"\n\006metric\030\001 \001(\0132\022.google.api.Me" + + "tric\022/\n\010resource\030\002 \001(\0132\035.google.api.Moni" + + "toredResource\0227\n\010metadata\030\007 \001(\0132%.google" + + ".api.MonitoredResourceMetadata\022<\n\013metric" + + "_kind\030\003 \001(\0162\'.google.api.MetricDescripto" + + "r.MetricKind\022:\n\nvalue_type\030\004 \001(\0162&.googl" + + "e.api.MetricDescriptor.ValueType\022+\n\006poin" + + "ts\030\005 \003(\0132\033.google.monitoring.v3.Point\022\014\n" + + "\004unit\030\010 \001(\t\"\316\002\n\024TimeSeriesDescriptor\0226\n\021" + + "label_descriptors\030\001 \003(\0132\033.google.api.Lab" + + "elDescriptor\022U\n\021point_descriptors\030\005 \003(\0132" + + ":.google.monitoring.v3.TimeSeriesDescrip" + + "tor.ValueDescriptor\032\246\001\n\017ValueDescriptor\022" + + "\013\n\003key\030\001 \001(\t\022:\n\nvalue_type\030\002 \001(\0162&.googl" + + "e.api.MetricDescriptor.ValueType\022<\n\013metr" + + "ic_kind\030\003 \001(\0162\'.google.api.MetricDescrip" + + "tor.MetricKind\022\014\n\004unit\030\004 \001(\t\"\206\002\n\016TimeSer" + + "iesData\0226\n\014label_values\030\001 \003(\0132 .google.m" + + "onitoring.v3.LabelValue\022B\n\npoint_data\030\002 " + + "\003(\0132..google.monitoring.v3.TimeSeriesDat" + + "a.PointData\032x\n\tPointData\0220\n\006values\030\001 \003(\013" + + "2 .google.monitoring.v3.TypedValue\0229\n\rti" + + "me_interval\030\002 \001(\0132\".google.monitoring.v3" + + ".TimeInterval\"Z\n\nLabelValue\022\024\n\nbool_valu" + + "e\030\001 \001(\010H\000\022\025\n\013int64_value\030\002 \001(\003H\000\022\026\n\014stri" + + "ng_value\030\003 \001(\tH\000B\007\n\005value\"Q\n\nQueryError\022" + + "2\n\007locator\030\001 \001(\0132!.google.monitoring.v3." + + "TextLocator\022\017\n\007message\030\002 \001(\t\"\240\002\n\013TextLoc" + + "ator\022\016\n\006source\030\001 \001(\t\022B\n\016start_position\030\002" + + " \001(\0132*.google.monitoring.v3.TextLocator." + + "Position\022@\n\014end_position\030\003 \001(\0132*.google." + + "monitoring.v3.TextLocator.Position\0229\n\016ne" + + "sted_locator\030\004 \001(\0132!.google.monitoring.v" + + "3.TextLocator\022\026\n\016nesting_reason\030\005 \001(\t\032(\n" + + "\010Position\022\014\n\004line\030\001 \001(\005\022\016\n\006column\030\002 \001(\005B" + + "\303\001\n\030com.google.monitoring.v3B\013MetricProt" + + "oP\001Z>google.golang.org/genproto/googleap" + + "is/monitoring/v3;monitoring\252\002\032Google.Clo" + + "ud.Monitoring.V3\312\002\032Google\\Cloud\\Monitori" + + "ng\\V3\352\002\035Google::Cloud::Monitoring::V3b\006p" + + "roto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.DistributionProto.getDescriptor(), + com.google.api.LabelProto.getDescriptor(), + com.google.api.MetricProto.getDescriptor(), + com.google.api.MonitoredResourceProto.getDescriptor(), + com.google.monitoring.v3.CommonProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + }); + internal_static_google_monitoring_v3_Point_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_monitoring_v3_Point_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_Point_descriptor, + new java.lang.String[] { "Interval", "Value", }); + internal_static_google_monitoring_v3_TimeSeries_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_monitoring_v3_TimeSeries_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_TimeSeries_descriptor, + new java.lang.String[] { "Metric", "Resource", "Metadata", "MetricKind", "ValueType", "Points", "Unit", }); + internal_static_google_monitoring_v3_TimeSeriesDescriptor_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_monitoring_v3_TimeSeriesDescriptor_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_TimeSeriesDescriptor_descriptor, + new java.lang.String[] { "LabelDescriptors", "PointDescriptors", }); + internal_static_google_monitoring_v3_TimeSeriesDescriptor_ValueDescriptor_descriptor = + internal_static_google_monitoring_v3_TimeSeriesDescriptor_descriptor.getNestedTypes().get(0); + internal_static_google_monitoring_v3_TimeSeriesDescriptor_ValueDescriptor_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_TimeSeriesDescriptor_ValueDescriptor_descriptor, + new java.lang.String[] { "Key", "ValueType", "MetricKind", "Unit", }); + internal_static_google_monitoring_v3_TimeSeriesData_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_monitoring_v3_TimeSeriesData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_TimeSeriesData_descriptor, + new java.lang.String[] { "LabelValues", "PointData", }); + internal_static_google_monitoring_v3_TimeSeriesData_PointData_descriptor = + internal_static_google_monitoring_v3_TimeSeriesData_descriptor.getNestedTypes().get(0); + internal_static_google_monitoring_v3_TimeSeriesData_PointData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_TimeSeriesData_PointData_descriptor, + new java.lang.String[] { "Values", "TimeInterval", }); + internal_static_google_monitoring_v3_LabelValue_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_monitoring_v3_LabelValue_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_LabelValue_descriptor, + new java.lang.String[] { "BoolValue", "Int64Value", "StringValue", "Value", }); + internal_static_google_monitoring_v3_QueryError_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_monitoring_v3_QueryError_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_QueryError_descriptor, + new java.lang.String[] { "Locator", "Message", }); + internal_static_google_monitoring_v3_TextLocator_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_monitoring_v3_TextLocator_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_TextLocator_descriptor, + new java.lang.String[] { "Source", "StartPosition", "EndPosition", "NestedLocator", "NestingReason", }); + internal_static_google_monitoring_v3_TextLocator_Position_descriptor = + internal_static_google_monitoring_v3_TextLocator_descriptor.getNestedTypes().get(0); + internal_static_google_monitoring_v3_TextLocator_Position_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_TextLocator_Position_descriptor, + new java.lang.String[] { "Line", "Column", }); + com.google.api.DistributionProto.getDescriptor(); + com.google.api.LabelProto.getDescriptor(); + com.google.api.MetricProto.getDescriptor(); + com.google.api.MonitoredResourceProto.getDescriptor(); + com.google.monitoring.v3.CommonProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceProto.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceProto.java new file mode 100644 index 00000000..4b5b20c9 --- /dev/null +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceProto.java @@ -0,0 +1,408 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/metric_service.proto + +package com.google.monitoring.v3; + +public final class MetricServiceProto { + private MetricServiceProto() {} + 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_monitoring_v3_ListMonitoredResourceDescriptorsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_GetMonitoredResourceDescriptorRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_GetMonitoredResourceDescriptorRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_ListMetricDescriptorsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_ListMetricDescriptorsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_ListMetricDescriptorsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_ListMetricDescriptorsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_GetMetricDescriptorRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_GetMetricDescriptorRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_CreateMetricDescriptorRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_CreateMetricDescriptorRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_DeleteMetricDescriptorRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_DeleteMetricDescriptorRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_ListTimeSeriesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_ListTimeSeriesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_ListTimeSeriesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_ListTimeSeriesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_CreateTimeSeriesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_CreateTimeSeriesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_CreateTimeSeriesError_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_CreateTimeSeriesError_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_CreateTimeSeriesSummary_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_CreateTimeSeriesSummary_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_CreateTimeSeriesSummary_Error_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_CreateTimeSeriesSummary_Error_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_QueryTimeSeriesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_QueryTimeSeriesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_QueryTimeSeriesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_QueryTimeSeriesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_QueryErrorList_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_QueryErrorList_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/monitoring/v3/metric_service.pr" + + "oto\022\024google.monitoring.v3\032\034google/api/an" + + "notations.proto\032\027google/api/client.proto" + + "\032\037google/api/field_behavior.proto\032\027googl" + + "e/api/metric.proto\032#google/api/monitored" + + "_resource.proto\032\031google/api/resource.pro" + + "to\032 google/monitoring/v3/alert.proto\032!go" + + "ogle/monitoring/v3/common.proto\032!google/" + + "monitoring/v3/metric.proto\032\036google/proto" + + "buf/duration.proto\032\033google/protobuf/empt" + + "y.proto\032\027google/rpc/status.proto\"\255\001\n\'Lis" + + "tMonitoredResourceDescriptorsRequest\022K\n\004" + + "name\030\005 \001(\tB=\340A\002\372A7\0225monitoring.googleapi" + + "s.com/MonitoredResourceDescriptor\022\016\n\006fil" + + "ter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_tok" + + "en\030\004 \001(\t\"\212\001\n(ListMonitoredResourceDescri" + + "ptorsResponse\022E\n\024resource_descriptors\030\001 " + + "\003(\0132\'.google.api.MonitoredResourceDescri" + + "ptor\022\027\n\017next_page_token\030\002 \001(\t\"t\n%GetMoni" + + "toredResourceDescriptorRequest\022K\n\004name\030\003" + + " \001(\tB=\340A\002\372A7\n5monitoring.googleapis.com/" + + "MonitoredResourceDescriptor\"\227\001\n\034ListMetr" + + "icDescriptorsRequest\022@\n\004name\030\005 \001(\tB2\340A\002\372" + + "A,\022*monitoring.googleapis.com/MetricDesc" + + "riptor\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(" + + "\005\022\022\n\npage_token\030\004 \001(\t\"r\n\035ListMetricDescr" + + "iptorsResponse\0228\n\022metric_descriptors\030\001 \003" + + "(\0132\034.google.api.MetricDescriptor\022\027\n\017next" + + "_page_token\030\002 \001(\t\"^\n\032GetMetricDescriptor" + + "Request\022@\n\004name\030\003 \001(\tB2\340A\002\372A,\n*monitorin" + + "g.googleapis.com/MetricDescriptor\"\237\001\n\035Cr" + + "eateMetricDescriptorRequest\022@\n\004name\030\003 \001(" + + "\tB2\340A\002\372A,\022*monitoring.googleapis.com/Met" + + "ricDescriptor\022<\n\021metric_descriptor\030\002 \001(\013" + + "2\034.google.api.MetricDescriptorB\003\340A\002\"a\n\035D" + + "eleteMetricDescriptorRequest\022@\n\004name\030\003 \001" + + "(\tB2\340A\002\372A,\n*monitoring.googleapis.com/Me" + + "tricDescriptor\"\316\003\n\025ListTimeSeriesRequest" + + "\022:\n\004name\030\n \001(\tB,\340A\002\372A&\022$monitoring.googl" + + "eapis.com/TimeSeries\022\023\n\006filter\030\002 \001(\tB\003\340A" + + "\002\0229\n\010interval\030\004 \001(\0132\".google.monitoring." + + "v3.TimeIntervalB\003\340A\002\0226\n\013aggregation\030\005 \001(" + + "\0132!.google.monitoring.v3.Aggregation\022@\n\025" + + "secondary_aggregation\030\013 \001(\0132!.google.mon" + + "itoring.v3.Aggregation\022\020\n\010order_by\030\006 \001(\t" + + "\022M\n\004view\030\007 \001(\0162:.google.monitoring.v3.Li" + + "stTimeSeriesRequest.TimeSeriesViewB\003\340A\002\022" + + "\021\n\tpage_size\030\010 \001(\005\022\022\n\npage_token\030\t \001(\t\"\'" + + "\n\016TimeSeriesView\022\010\n\004FULL\020\000\022\013\n\007HEADERS\020\001\"" + + "\244\001\n\026ListTimeSeriesResponse\0225\n\013time_serie" + + "s\030\001 \003(\0132 .google.monitoring.v3.TimeSerie" + + "s\022\027\n\017next_page_token\030\002 \001(\t\022,\n\020execution_" + + "errors\030\003 \003(\0132\022.google.rpc.Status\022\014\n\004unit" + + "\030\005 \001(\t\"\230\001\n\027CreateTimeSeriesRequest\022A\n\004na" + + "me\030\003 \001(\tB3\340A\002\372A-\n+cloudresourcemanager.g" + + "oogleapis.com/Project\022:\n\013time_series\030\002 \003" + + "(\0132 .google.monitoring.v3.TimeSeriesB\003\340A" + + "\002\"z\n\025CreateTimeSeriesError\0229\n\013time_serie" + + "s\030\001 \001(\0132 .google.monitoring.v3.TimeSerie" + + "sB\002\030\001\022&\n\006status\030\002 \001(\0132\022.google.rpc.Statu" + + "sB\002\030\001\"\330\001\n\027CreateTimeSeriesSummary\022\031\n\021tot" + + "al_point_count\030\001 \001(\005\022\033\n\023success_point_co" + + "unt\030\002 \001(\005\022C\n\006errors\030\003 \003(\01323.google.monit" + + "oring.v3.CreateTimeSeriesSummary.Error\032@" + + "\n\005Error\022\"\n\006status\030\001 \001(\0132\022.google.rpc.Sta" + + "tus\022\023\n\013point_count\030\002 \001(\005\"f\n\026QueryTimeSer" + + "iesRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\022\n\005query\030\007" + + " \001(\tB\003\340A\002\022\021\n\tpage_size\030\t \001(\005\022\022\n\npage_tok" + + "en\030\n \001(\t\"\352\001\n\027QueryTimeSeriesResponse\022J\n\026" + + "time_series_descriptor\030\010 \001(\0132*.google.mo" + + "nitoring.v3.TimeSeriesDescriptor\022>\n\020time" + + "_series_data\030\t \003(\0132$.google.monitoring.v" + + "3.TimeSeriesData\022\027\n\017next_page_token\030\n \001(" + + "\t\022*\n\016partial_errors\030\013 \003(\0132\022.google.rpc.S" + + "tatus\"Y\n\016QueryErrorList\0220\n\006errors\030\001 \003(\0132" + + " .google.monitoring.v3.QueryError\022\025\n\rerr" + + "or_summary\030\002 \001(\t2\274\017\n\rMetricService\022\344\001\n L" + + "istMonitoredResourceDescriptors\022=.google" + + ".monitoring.v3.ListMonitoredResourceDesc" + + "riptorsRequest\032>.google.monitoring.v3.Li" + + "stMonitoredResourceDescriptorsResponse\"A" + + "\202\323\344\223\0024\0222/v3/{name=projects/*}/monitoredR" + + "esourceDescriptors\332A\004name\022\314\001\n\036GetMonitor" + + "edResourceDescriptor\022;.google.monitoring" + + ".v3.GetMonitoredResourceDescriptorReques" + + "t\032\'.google.api.MonitoredResourceDescript" + + "or\"D\202\323\344\223\0027\0225/v3/{name=projects/*/monitor" + + "edResourceDescriptors/**}\332A\004name\022\270\001\n\025Lis" + + "tMetricDescriptors\0222.google.monitoring.v" + + "3.ListMetricDescriptorsRequest\0323.google." + + "monitoring.v3.ListMetricDescriptorsRespo" + + "nse\"6\202\323\344\223\002)\022\'/v3/{name=projects/*}/metri" + + "cDescriptors\332A\004name\022\240\001\n\023GetMetricDescrip" + + "tor\0220.google.monitoring.v3.GetMetricDesc" + + "riptorRequest\032\034.google.api.MetricDescrip" + + "tor\"9\202\323\344\223\002,\022*/v3/{name=projects/*/metric" + + "Descriptors/**}\332A\004name\022\310\001\n\026CreateMetricD" + + "escriptor\0223.google.monitoring.v3.CreateM" + + "etricDescriptorRequest\032\034.google.api.Metr" + + "icDescriptor\"[\202\323\344\223\002<\"\'/v3/{name=projects" + + "/*}/metricDescriptors:\021metric_descriptor" + + "\332A\026name,metric_descriptor\022\240\001\n\026DeleteMetr" + + "icDescriptor\0223.google.monitoring.v3.Dele" + + "teMetricDescriptorRequest\032\026.google.proto" + + "buf.Empty\"9\202\323\344\223\002,**/v3/{name=projects/*/" + + "metricDescriptors/**}\332A\004name\022\376\001\n\016ListTim" + + "eSeries\022+.google.monitoring.v3.ListTimeS" + + "eriesRequest\032,.google.monitoring.v3.List" + + "TimeSeriesResponse\"\220\001\202\323\344\223\002n\022 /v3/{name=p" + + "rojects/*}/timeSeriesZ\'\022%/v3/{name=organ" + + "izations/*}/timeSeriesZ!\022\037/v3/{name=fold" + + "ers/*}/timeSeries\332A\031name,filter,interval" + + ",view\022\231\001\n\020CreateTimeSeries\022-.google.moni" + + "toring.v3.CreateTimeSeriesRequest\032\026.goog" + + "le.protobuf.Empty\">\202\323\344\223\002%\" /v3/{name=pro" + + "jects/*}/timeSeries:\001*\332A\020name,time_serie" + + "s\022\256\001\n\027CreateServiceTimeSeries\022-.google.m" + + "onitoring.v3.CreateTimeSeriesRequest\032\026.g" + + "oogle.protobuf.Empty\"L\202\323\344\223\0023\"./v3/{name=" + + "projects/*}/timeSeries:createService:\001*\332" + + "A\020name,time_series\032\332\001\312A\031monitoring.googl" + + "eapis.com\322A\272\001https://www.googleapis.com/" + + "auth/cloud-platform,https://www.googleap" + + "is.com/auth/monitoring,https://www.googl" + + "eapis.com/auth/monitoring.read,https://w" + + "ww.googleapis.com/auth/monitoring.writeB" + + "\206\010\n\030com.google.monitoring.v3B\022MetricServ" + + "iceProtoP\001Z>google.golang.org/genproto/g" + + "oogleapis/monitoring/v3;monitoring\252\002\032Goo" + + "gle.Cloud.Monitoring.V3\312\002\032Google\\Cloud\\M" + + "onitoring\\V3\352\002\035Google::Cloud::Monitoring" + + "::V3\352A\360\001\n*monitoring.googleapis.com/Metr" + + "icDescriptor\022;projects/{project}/metricD" + + "escriptors/{metric_descriptor=**}\022Eorgan" + + "izations/{organization}/metricDescriptor" + + "s/{metric_descriptor=**}\0229folders/{folde" + + "r}/metricDescriptors/{metric_descriptor=" + + "**}\022\001* \001\352A\267\002\n5monitoring.googleapis.com/" + + "MonitoredResourceDescriptor\022Oprojects/{p" + + "roject}/monitoredResourceDescriptors/{mo" + + "nitored_resource_descriptor}\022Yorganizati" + + "ons/{organization}/monitoredResourceDesc" + + "riptors/{monitored_resource_descriptor}\022" + + "Mfolders/{folder}/monitoredResourceDescr" + + "iptors/{monitored_resource_descriptor}\022\001" + + "* \001\352AQ\n#monitoring.googleapis.com/Worksp" + + "ace\022\022projects/{project}\022\026workspaces/{wor" + + "kspace}\352A\265\001\n$monitoring.googleapis.com/T" + + "imeSeries\022+projects/{project}/timeSeries" + + "/{time_series}\0225organizations/{organizat" + + "ion}/timeSeries/{time_series}\022)folders/{" + + "folder}/timeSeries/{time_series}b\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.MetricProto.getDescriptor(), + com.google.api.MonitoredResourceProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.monitoring.v3.AlertProto.getDescriptor(), + com.google.monitoring.v3.CommonProto.getDescriptor(), + com.google.monitoring.v3.MetricProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsRequest_descriptor, + new java.lang.String[] { "Name", "Filter", "PageSize", "PageToken", }); + internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsResponse_descriptor, + new java.lang.String[] { "ResourceDescriptors", "NextPageToken", }); + internal_static_google_monitoring_v3_GetMonitoredResourceDescriptorRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_monitoring_v3_GetMonitoredResourceDescriptorRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_GetMonitoredResourceDescriptorRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_monitoring_v3_ListMetricDescriptorsRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_monitoring_v3_ListMetricDescriptorsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_ListMetricDescriptorsRequest_descriptor, + new java.lang.String[] { "Name", "Filter", "PageSize", "PageToken", }); + internal_static_google_monitoring_v3_ListMetricDescriptorsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_monitoring_v3_ListMetricDescriptorsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_ListMetricDescriptorsResponse_descriptor, + new java.lang.String[] { "MetricDescriptors", "NextPageToken", }); + internal_static_google_monitoring_v3_GetMetricDescriptorRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_monitoring_v3_GetMetricDescriptorRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_GetMetricDescriptorRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_monitoring_v3_CreateMetricDescriptorRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_monitoring_v3_CreateMetricDescriptorRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_CreateMetricDescriptorRequest_descriptor, + new java.lang.String[] { "Name", "MetricDescriptor", }); + internal_static_google_monitoring_v3_DeleteMetricDescriptorRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_monitoring_v3_DeleteMetricDescriptorRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_DeleteMetricDescriptorRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_monitoring_v3_ListTimeSeriesRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_monitoring_v3_ListTimeSeriesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_ListTimeSeriesRequest_descriptor, + new java.lang.String[] { "Name", "Filter", "Interval", "Aggregation", "SecondaryAggregation", "OrderBy", "View", "PageSize", "PageToken", }); + internal_static_google_monitoring_v3_ListTimeSeriesResponse_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_monitoring_v3_ListTimeSeriesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_ListTimeSeriesResponse_descriptor, + new java.lang.String[] { "TimeSeries", "NextPageToken", "ExecutionErrors", "Unit", }); + internal_static_google_monitoring_v3_CreateTimeSeriesRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_monitoring_v3_CreateTimeSeriesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_CreateTimeSeriesRequest_descriptor, + new java.lang.String[] { "Name", "TimeSeries", }); + internal_static_google_monitoring_v3_CreateTimeSeriesError_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_monitoring_v3_CreateTimeSeriesError_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_CreateTimeSeriesError_descriptor, + new java.lang.String[] { "TimeSeries", "Status", }); + internal_static_google_monitoring_v3_CreateTimeSeriesSummary_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_monitoring_v3_CreateTimeSeriesSummary_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_CreateTimeSeriesSummary_descriptor, + new java.lang.String[] { "TotalPointCount", "SuccessPointCount", "Errors", }); + internal_static_google_monitoring_v3_CreateTimeSeriesSummary_Error_descriptor = + internal_static_google_monitoring_v3_CreateTimeSeriesSummary_descriptor.getNestedTypes().get(0); + internal_static_google_monitoring_v3_CreateTimeSeriesSummary_Error_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_CreateTimeSeriesSummary_Error_descriptor, + new java.lang.String[] { "Status", "PointCount", }); + internal_static_google_monitoring_v3_QueryTimeSeriesRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_monitoring_v3_QueryTimeSeriesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_QueryTimeSeriesRequest_descriptor, + new java.lang.String[] { "Name", "Query", "PageSize", "PageToken", }); + internal_static_google_monitoring_v3_QueryTimeSeriesResponse_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_monitoring_v3_QueryTimeSeriesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_QueryTimeSeriesResponse_descriptor, + new java.lang.String[] { "TimeSeriesDescriptor", "TimeSeriesData", "NextPageToken", "PartialErrors", }); + internal_static_google_monitoring_v3_QueryErrorList_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_monitoring_v3_QueryErrorList_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_QueryErrorList_descriptor, + new java.lang.String[] { "Errors", "ErrorSummary", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.MetricProto.getDescriptor(); + com.google.api.MonitoredResourceProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.monitoring.v3.AlertProto.getDescriptor(); + com.google.monitoring.v3.CommonProto.getDescriptor(); + com.google.monitoring.v3.MetricProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MonitoredResourceDescriptorName.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MonitoredResourceDescriptorName.java similarity index 100% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MonitoredResourceDescriptorName.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MonitoredResourceDescriptorName.java diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecord.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecord.java similarity index 70% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecord.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecord.java index ef013956..edcc9aef 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecord.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecord.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/mutation_record.proto package com.google.monitoring.v3; /** - * - * *
  * Describes a change made to a configuration.
  * 
* * Protobuf type {@code google.monitoring.v3.MutationRecord} */ -public final class MutationRecord extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MutationRecord extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.MutationRecord) MutationRecordOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MutationRecord.newBuilder() to construct. private MutationRecord(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MutationRecord() { mutatedBy_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MutationRecord(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private MutationRecord( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,73 +53,65 @@ private MutationRecord( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (mutateTime_ != null) { - subBuilder = mutateTime_.toBuilder(); - } - mutateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(mutateTime_); - mutateTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (mutateTime_ != null) { + subBuilder = mutateTime_.toBuilder(); } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - mutatedBy_ = s; - break; + mutateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(mutateTime_); + mutateTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + mutatedBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MutationRecordProto - .internal_static_google_monitoring_v3_MutationRecord_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MutationRecordProto.internal_static_google_monitoring_v3_MutationRecord_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MutationRecordProto - .internal_static_google_monitoring_v3_MutationRecord_fieldAccessorTable + return com.google.monitoring.v3.MutationRecordProto.internal_static_google_monitoring_v3_MutationRecord_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.MutationRecord.class, - com.google.monitoring.v3.MutationRecord.Builder.class); + com.google.monitoring.v3.MutationRecord.class, com.google.monitoring.v3.MutationRecord.Builder.class); } public static final int MUTATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp mutateTime_; /** - * - * *
    * When the change occurred.
    * 
* * .google.protobuf.Timestamp mutate_time = 1; - * * @return Whether the mutateTime field is set. */ @java.lang.Override @@ -144,14 +119,11 @@ public boolean hasMutateTime() { return mutateTime_ != null; } /** - * - * *
    * When the change occurred.
    * 
* * .google.protobuf.Timestamp mutate_time = 1; - * * @return The mutateTime. */ @java.lang.Override @@ -159,8 +131,6 @@ public com.google.protobuf.Timestamp getMutateTime() { return mutateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : mutateTime_; } /** - * - * *
    * When the change occurred.
    * 
@@ -175,14 +145,11 @@ public com.google.protobuf.TimestampOrBuilder getMutateTimeOrBuilder() { public static final int MUTATED_BY_FIELD_NUMBER = 2; private volatile java.lang.Object mutatedBy_; /** - * - * *
    * The email address of the user making the change.
    * 
* * string mutated_by = 2; - * * @return The mutatedBy. */ @java.lang.Override @@ -191,29 +158,29 @@ public java.lang.String getMutatedBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mutatedBy_ = s; return s; } } /** - * - * *
    * The email address of the user making the change.
    * 
* * string mutated_by = 2; - * * @return The bytes for mutatedBy. */ @java.lang.Override - public com.google.protobuf.ByteString getMutatedByBytes() { + public com.google.protobuf.ByteString + getMutatedByBytes() { java.lang.Object ref = mutatedBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); mutatedBy_ = b; return b; } else { @@ -222,7 +189,6 @@ public com.google.protobuf.ByteString getMutatedByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -234,7 +200,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (mutateTime_ != null) { output.writeMessage(1, getMutateTime()); } @@ -251,7 +218,8 @@ public int getSerializedSize() { size = 0; if (mutateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMutateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getMutateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mutatedBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, mutatedBy_); @@ -264,7 +232,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.MutationRecord)) { return super.equals(obj); @@ -273,9 +241,11 @@ public boolean equals(final java.lang.Object obj) { if (hasMutateTime() != other.hasMutateTime()) return false; if (hasMutateTime()) { - if (!getMutateTime().equals(other.getMutateTime())) return false; + if (!getMutateTime() + .equals(other.getMutateTime())) return false; } - if (!getMutatedBy().equals(other.getMutatedBy())) return false; + if (!getMutatedBy() + .equals(other.getMutatedBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -298,127 +268,118 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.MutationRecord parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.MutationRecord parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.MutationRecord parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.MutationRecord parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.MutationRecord parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.MutationRecord parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.MutationRecord parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.MutationRecord 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.monitoring.v3.MutationRecord parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.MutationRecord parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.MutationRecord parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.MutationRecord parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.MutationRecord parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.MutationRecord parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.MutationRecord prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Describes a change made to a configuration.
    * 
* * Protobuf type {@code google.monitoring.v3.MutationRecord} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.MutationRecord) com.google.monitoring.v3.MutationRecordOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MutationRecordProto - .internal_static_google_monitoring_v3_MutationRecord_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MutationRecordProto.internal_static_google_monitoring_v3_MutationRecord_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MutationRecordProto - .internal_static_google_monitoring_v3_MutationRecord_fieldAccessorTable + return com.google.monitoring.v3.MutationRecordProto.internal_static_google_monitoring_v3_MutationRecord_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.MutationRecord.class, - com.google.monitoring.v3.MutationRecord.Builder.class); + com.google.monitoring.v3.MutationRecord.class, com.google.monitoring.v3.MutationRecord.Builder.class); } // Construct using com.google.monitoring.v3.MutationRecord.newBuilder() @@ -426,15 +387,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -450,9 +412,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.MutationRecordProto - .internal_static_google_monitoring_v3_MutationRecord_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.MutationRecordProto.internal_static_google_monitoring_v3_MutationRecord_descriptor; } @java.lang.Override @@ -471,8 +433,7 @@ public com.google.monitoring.v3.MutationRecord build() { @java.lang.Override public com.google.monitoring.v3.MutationRecord buildPartial() { - com.google.monitoring.v3.MutationRecord result = - new com.google.monitoring.v3.MutationRecord(this); + com.google.monitoring.v3.MutationRecord result = new com.google.monitoring.v3.MutationRecord(this); if (mutateTimeBuilder_ == null) { result.mutateTime_ = mutateTime_; } else { @@ -487,39 +448,38 @@ public com.google.monitoring.v3.MutationRecord 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.monitoring.v3.MutationRecord) { - return mergeFrom((com.google.monitoring.v3.MutationRecord) other); + return mergeFrom((com.google.monitoring.v3.MutationRecord)other); } else { super.mergeFrom(other); return this; @@ -566,47 +526,34 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp mutateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - mutateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> mutateTimeBuilder_; /** - * - * *
      * When the change occurred.
      * 
* * .google.protobuf.Timestamp mutate_time = 1; - * * @return Whether the mutateTime field is set. */ public boolean hasMutateTime() { return mutateTimeBuilder_ != null || mutateTime_ != null; } /** - * - * *
      * When the change occurred.
      * 
* * .google.protobuf.Timestamp mutate_time = 1; - * * @return The mutateTime. */ public com.google.protobuf.Timestamp getMutateTime() { if (mutateTimeBuilder_ == null) { - return mutateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : mutateTime_; + return mutateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : mutateTime_; } else { return mutateTimeBuilder_.getMessage(); } } /** - * - * *
      * When the change occurred.
      * 
@@ -627,15 +574,14 @@ public Builder setMutateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * When the change occurred.
      * 
* * .google.protobuf.Timestamp mutate_time = 1; */ - public Builder setMutateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setMutateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (mutateTimeBuilder_ == null) { mutateTime_ = builderForValue.build(); onChanged(); @@ -646,8 +592,6 @@ public Builder setMutateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * When the change occurred.
      * 
@@ -658,7 +602,7 @@ public Builder mergeMutateTime(com.google.protobuf.Timestamp value) { if (mutateTimeBuilder_ == null) { if (mutateTime_ != null) { mutateTime_ = - com.google.protobuf.Timestamp.newBuilder(mutateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(mutateTime_).mergeFrom(value).buildPartial(); } else { mutateTime_ = value; } @@ -670,8 +614,6 @@ public Builder mergeMutateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * When the change occurred.
      * 
@@ -690,8 +632,6 @@ public Builder clearMutateTime() { return this; } /** - * - * *
      * When the change occurred.
      * 
@@ -699,13 +639,11 @@ public Builder clearMutateTime() { * .google.protobuf.Timestamp mutate_time = 1; */ public com.google.protobuf.Timestamp.Builder getMutateTimeBuilder() { - + onChanged(); return getMutateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * When the change occurred.
      * 
@@ -716,14 +654,11 @@ public com.google.protobuf.TimestampOrBuilder getMutateTimeOrBuilder() { if (mutateTimeBuilder_ != null) { return mutateTimeBuilder_.getMessageOrBuilder(); } else { - return mutateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : mutateTime_; + return mutateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : mutateTime_; } } /** - * - * *
      * When the change occurred.
      * 
@@ -731,17 +666,14 @@ public com.google.protobuf.TimestampOrBuilder getMutateTimeOrBuilder() { * .google.protobuf.Timestamp mutate_time = 1; */ 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> getMutateTimeFieldBuilder() { if (mutateTimeBuilder_ == null) { - mutateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getMutateTime(), getParentForChildren(), isClean()); + mutateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getMutateTime(), + getParentForChildren(), + isClean()); mutateTime_ = null; } return mutateTimeBuilder_; @@ -749,20 +681,18 @@ public com.google.protobuf.TimestampOrBuilder getMutateTimeOrBuilder() { private java.lang.Object mutatedBy_ = ""; /** - * - * *
      * The email address of the user making the change.
      * 
* * string mutated_by = 2; - * * @return The mutatedBy. */ public java.lang.String getMutatedBy() { java.lang.Object ref = mutatedBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mutatedBy_ = s; return s; @@ -771,21 +701,20 @@ public java.lang.String getMutatedBy() { } } /** - * - * *
      * The email address of the user making the change.
      * 
* * string mutated_by = 2; - * * @return The bytes for mutatedBy. */ - public com.google.protobuf.ByteString getMutatedByBytes() { + public com.google.protobuf.ByteString + getMutatedByBytes() { java.lang.Object ref = mutatedBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); mutatedBy_ = b; return b; } else { @@ -793,68 +722,61 @@ public com.google.protobuf.ByteString getMutatedByBytes() { } } /** - * - * *
      * The email address of the user making the change.
      * 
* * string mutated_by = 2; - * * @param value The mutatedBy to set. * @return This builder for chaining. */ - public Builder setMutatedBy(java.lang.String value) { + public Builder setMutatedBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + mutatedBy_ = value; onChanged(); return this; } /** - * - * *
      * The email address of the user making the change.
      * 
* * string mutated_by = 2; - * * @return This builder for chaining. */ public Builder clearMutatedBy() { - + mutatedBy_ = getDefaultInstance().getMutatedBy(); onChanged(); return this; } /** - * - * *
      * The email address of the user making the change.
      * 
* * string mutated_by = 2; - * * @param value The bytes for mutatedBy to set. * @return This builder for chaining. */ - public Builder setMutatedByBytes(com.google.protobuf.ByteString value) { + public Builder setMutatedByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + mutatedBy_ = 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); } @@ -864,12 +786,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.MutationRecord) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.MutationRecord) private static final com.google.monitoring.v3.MutationRecord DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.MutationRecord(); } @@ -878,16 +800,16 @@ public static com.google.monitoring.v3.MutationRecord getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MutationRecord parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MutationRecord(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MutationRecord parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MutationRecord(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -902,4 +824,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.MutationRecord getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecordOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecordOrBuilder.java similarity index 62% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecordOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecordOrBuilder.java index c0951f03..74557bc8 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecordOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecordOrBuilder.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/monitoring/v3/mutation_record.proto package com.google.monitoring.v3; -public interface MutationRecordOrBuilder - extends +public interface MutationRecordOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.MutationRecord) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * When the change occurred.
    * 
* * .google.protobuf.Timestamp mutate_time = 1; - * * @return Whether the mutateTime field is set. */ boolean hasMutateTime(); /** - * - * *
    * When the change occurred.
    * 
* * .google.protobuf.Timestamp mutate_time = 1; - * * @return The mutateTime. */ com.google.protobuf.Timestamp getMutateTime(); /** - * - * *
    * When the change occurred.
    * 
@@ -59,27 +35,22 @@ public interface MutationRecordOrBuilder com.google.protobuf.TimestampOrBuilder getMutateTimeOrBuilder(); /** - * - * *
    * The email address of the user making the change.
    * 
* * string mutated_by = 2; - * * @return The mutatedBy. */ java.lang.String getMutatedBy(); /** - * - * *
    * The email address of the user making the change.
    * 
* * string mutated_by = 2; - * * @return The bytes for mutatedBy. */ - com.google.protobuf.ByteString getMutatedByBytes(); + com.google.protobuf.ByteString + getMutatedByBytes(); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecordProto.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecordProto.java new file mode 100644 index 00000000..0ffbf096 --- /dev/null +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecordProto.java @@ -0,0 +1,57 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/mutation_record.proto + +package com.google.monitoring.v3; + +public final class MutationRecordProto { + private MutationRecordProto() {} + 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_monitoring_v3_MutationRecord_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_MutationRecord_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/monitoring/v3/mutation_record.p" + + "roto\022\024google.monitoring.v3\032\037google/proto" + + "buf/timestamp.proto\"U\n\016MutationRecord\022/\n" + + "\013mutate_time\030\001 \001(\0132\032.google.protobuf.Tim" + + "estamp\022\022\n\nmutated_by\030\002 \001(\tB\313\001\n\030com.googl" + + "e.monitoring.v3B\023MutationRecordProtoP\001Z>" + + "google.golang.org/genproto/googleapis/mo" + + "nitoring/v3;monitoring\252\002\032Google.Cloud.Mo" + + "nitoring.V3\312\002\032Google\\Cloud\\Monitoring\\V3" + + "\352\002\035Google::Cloud::Monitoring::V3b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_monitoring_v3_MutationRecord_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_monitoring_v3_MutationRecord_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_MutationRecord_descriptor, + new java.lang.String[] { "MutateTime", "MutatedBy", }); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannel.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannel.java similarity index 76% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannel.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannel.java index a3b3259c..13c6acbf 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannel.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannel.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/monitoring/v3/notification.proto package com.google.monitoring.v3; /** - * - * *
  * A `NotificationChannel` is a medium through which an alert is
  * delivered when a policy violation is detected. Examples of channels
@@ -31,16 +14,15 @@
  *
  * Protobuf type {@code google.monitoring.v3.NotificationChannel}
  */
-public final class NotificationChannel extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NotificationChannel extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.NotificationChannel)
     NotificationChannelOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NotificationChannel.newBuilder() to construct.
   private NotificationChannel(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private NotificationChannel() {
     type_ = "";
     name_ = "";
@@ -52,15 +34,16 @@ private NotificationChannel() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new NotificationChannel();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private NotificationChannel(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -80,125 +63,111 @@ private NotificationChannel(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              type_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            type_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              displayName_ = s;
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            displayName_ = s;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              description_ = s;
-              break;
+            description_ = s;
+            break;
+          }
+          case 42: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              labels_ = com.google.protobuf.MapField.newMapField(
+                  LabelsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 42:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                labels_ =
-                    com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry labels__ =
-                  input.readMessage(
-                      LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
-              break;
+            com.google.protobuf.MapEntry
+            labels__ = input.readMessage(
+                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            labels_.getMutableMap().put(
+                labels__.getKey(), labels__.getValue());
+            break;
+          }
+          case 50: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            name_ = s;
+            break;
+          }
+          case 66: {
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              userLabels_ = com.google.protobuf.MapField.newMapField(
+                  UserLabelsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000002;
             }
-          case 50:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            com.google.protobuf.MapEntry
+            userLabels__ = input.readMessage(
+                UserLabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            userLabels_.getMutableMap().put(
+                userLabels__.getKey(), userLabels__.getValue());
+            break;
+          }
+          case 72: {
+            int rawValue = input.readEnum();
 
-              name_ = s;
-              break;
+            verificationStatus_ = rawValue;
+            break;
+          }
+          case 90: {
+            com.google.protobuf.BoolValue.Builder subBuilder = null;
+            if (enabled_ != null) {
+              subBuilder = enabled_.toBuilder();
             }
-          case 66:
-            {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                userLabels_ =
-                    com.google.protobuf.MapField.newMapField(
-                        UserLabelsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000002;
-              }
-              com.google.protobuf.MapEntry userLabels__ =
-                  input.readMessage(
-                      UserLabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                      extensionRegistry);
-              userLabels_.getMutableMap().put(userLabels__.getKey(), userLabels__.getValue());
-              break;
+            enabled_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(enabled_);
+              enabled_ = subBuilder.buildPartial();
             }
-          case 72:
-            {
-              int rawValue = input.readEnum();
 
-              verificationStatus_ = rawValue;
-              break;
-            }
-          case 90:
-            {
-              com.google.protobuf.BoolValue.Builder subBuilder = null;
-              if (enabled_ != null) {
-                subBuilder = enabled_.toBuilder();
-              }
-              enabled_ =
-                  input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(enabled_);
-                enabled_ = subBuilder.buildPartial();
-              }
-
-              break;
+            break;
+          }
+          case 98: {
+            com.google.monitoring.v3.MutationRecord.Builder subBuilder = null;
+            if (creationRecord_ != null) {
+              subBuilder = creationRecord_.toBuilder();
             }
-          case 98:
-            {
-              com.google.monitoring.v3.MutationRecord.Builder subBuilder = null;
-              if (creationRecord_ != null) {
-                subBuilder = creationRecord_.toBuilder();
-              }
-              creationRecord_ =
-                  input.readMessage(
-                      com.google.monitoring.v3.MutationRecord.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(creationRecord_);
-                creationRecord_ = subBuilder.buildPartial();
-              }
-
-              break;
+            creationRecord_ = input.readMessage(com.google.monitoring.v3.MutationRecord.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(creationRecord_);
+              creationRecord_ = subBuilder.buildPartial();
             }
-          case 106:
-            {
-              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                mutationRecords_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000004;
-              }
-              mutationRecords_.add(
-                  input.readMessage(
-                      com.google.monitoring.v3.MutationRecord.parser(), extensionRegistry));
-              break;
+
+            break;
+          }
+          case 106: {
+            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+              mutationRecords_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000004;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            mutationRecords_.add(
+                input.readMessage(com.google.monitoring.v3.MutationRecord.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000004) != 0)) {
         mutationRecords_ = java.util.Collections.unmodifiableList(mutationRecords_);
@@ -207,38 +176,34 @@ private NotificationChannel(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.monitoring.v3.NotificationProto
-        .internal_static_google_monitoring_v3_NotificationChannel_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.monitoring.v3.NotificationProto.internal_static_google_monitoring_v3_NotificationChannel_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 5:
         return internalGetLabels();
       case 8:
         return internalGetUserLabels();
       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.monitoring.v3.NotificationProto
-        .internal_static_google_monitoring_v3_NotificationChannel_fieldAccessorTable
+    return com.google.monitoring.v3.NotificationProto.internal_static_google_monitoring_v3_NotificationChannel_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.NotificationChannel.class,
-            com.google.monitoring.v3.NotificationChannel.Builder.class);
+            com.google.monitoring.v3.NotificationChannel.class, com.google.monitoring.v3.NotificationChannel.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Indicates whether the channel has been verified or not. It is illegal
    * to specify this field in a
@@ -250,10 +215,9 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    *
    * Protobuf enum {@code google.monitoring.v3.NotificationChannel.VerificationStatus}
    */
-  public enum VerificationStatus implements com.google.protobuf.ProtocolMessageEnum {
+  public enum VerificationStatus
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Sentinel value used to indicate that the state is unknown, omitted, or
      * is not applicable (as in the case of channels that neither support
@@ -264,8 +228,6 @@ public enum VerificationStatus implements com.google.protobuf.ProtocolMessageEnu
      */
     VERIFICATION_STATUS_UNSPECIFIED(0),
     /**
-     *
-     *
      * 
      * The channel has yet to be verified and requires verification to function.
      * Note that this state also applies to the case where the verification
@@ -277,8 +239,6 @@ public enum VerificationStatus implements com.google.protobuf.ProtocolMessageEnu
      */
     UNVERIFIED(1),
     /**
-     *
-     *
      * 
      * It has been proven that notifications can be received on this
      * notification channel and that someone on the project has access
@@ -292,8 +252,6 @@ public enum VerificationStatus implements com.google.protobuf.ProtocolMessageEnu
     ;
 
     /**
-     *
-     *
      * 
      * Sentinel value used to indicate that the state is unknown, omitted, or
      * is not applicable (as in the case of channels that neither support
@@ -304,8 +262,6 @@ public enum VerificationStatus implements com.google.protobuf.ProtocolMessageEnu
      */
     public static final int VERIFICATION_STATUS_UNSPECIFIED_VALUE = 0;
     /**
-     *
-     *
      * 
      * The channel has yet to be verified and requires verification to function.
      * Note that this state also applies to the case where the verification
@@ -317,8 +273,6 @@ public enum VerificationStatus implements com.google.protobuf.ProtocolMessageEnu
      */
     public static final int UNVERIFIED_VALUE = 1;
     /**
-     *
-     *
      * 
      * It has been proven that notifications can be received on this
      * notification channel and that someone on the project has access
@@ -329,6 +283,7 @@ public enum VerificationStatus implements com.google.protobuf.ProtocolMessageEnu
      */
     public static final int VERIFIED_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -353,14 +308,10 @@ public static VerificationStatus valueOf(int value) {
      */
     public static VerificationStatus forNumber(int value) {
       switch (value) {
-        case 0:
-          return VERIFICATION_STATUS_UNSPECIFIED;
-        case 1:
-          return UNVERIFIED;
-        case 2:
-          return VERIFIED;
-        default:
-          return null;
+        case 0: return VERIFICATION_STATUS_UNSPECIFIED;
+        case 1: return UNVERIFIED;
+        case 2: return VERIFIED;
+        default: return null;
       }
     }
 
@@ -368,28 +319,28 @@ public static VerificationStatus forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        VerificationStatus> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public VerificationStatus findValueByNumber(int number) {
+              return VerificationStatus.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public VerificationStatus findValueByNumber(int number) {
-                return VerificationStatus.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.monitoring.v3.NotificationChannel.getDescriptor().getEnumTypes().get(0);
     }
 
@@ -398,7 +349,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static VerificationStatus 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;
@@ -418,15 +370,12 @@ private VerificationStatus(int value) {
   public static final int TYPE_FIELD_NUMBER = 1;
   private volatile java.lang.Object type_;
   /**
-   *
-   *
    * 
    * The type of the notification channel. This field matches the
    * value of the [NotificationChannelDescriptor.type][google.monitoring.v3.NotificationChannelDescriptor.type] field.
    * 
* * string type = 1; - * * @return The type. */ @java.lang.Override @@ -435,30 +384,30 @@ public java.lang.String getType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } } /** - * - * *
    * The type of the notification channel. This field matches the
    * value of the [NotificationChannelDescriptor.type][google.monitoring.v3.NotificationChannelDescriptor.type] field.
    * 
* * string type = 1; - * * @return The bytes for type. */ @java.lang.Override - public com.google.protobuf.ByteString getTypeBytes() { + public com.google.protobuf.ByteString + getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); type_ = b; return b; } else { @@ -469,8 +418,6 @@ public com.google.protobuf.ByteString getTypeBytes() { public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** - * - * *
    * The full REST resource name for this channel. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
@@ -478,7 +425,6 @@ public com.google.protobuf.ByteString getTypeBytes() {
    * 
* * string name = 6; - * * @return The name. */ @java.lang.Override @@ -487,15 +433,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The full REST resource name for this channel. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
@@ -503,15 +448,16 @@ public java.lang.String getName() {
    * 
* * string name = 6; - * * @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 { @@ -522,8 +468,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object displayName_; /** - * - * *
    * An optional human-readable name for this notification channel. It is
    * recommended that you specify a non-empty and unique name in order to
@@ -532,7 +476,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string display_name = 3; - * * @return The displayName. */ @java.lang.Override @@ -541,15 +484,14 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * An optional human-readable name for this notification channel. It is
    * recommended that you specify a non-empty and unique name in order to
@@ -558,15 +500,16 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 3; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -577,8 +520,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 4; private volatile java.lang.Object description_; /** - * - * *
    * An optional human-readable description of this notification channel. This
    * description may provide additional details, beyond the display
@@ -586,7 +527,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * string description = 4; - * * @return The description. */ @java.lang.Override @@ -595,15 +535,14 @@ 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; } } /** - * - * *
    * An optional human-readable description of this notification channel. This
    * description may provide additional details, beyond the display
@@ -611,15 +550,16 @@ public java.lang.String getDescription() {
    * 
* * string description = 4; - * * @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 { @@ -628,23 +568,24 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int LABELS_FIELD_NUMBER = 5; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.monitoring.v3.NotificationProto - .internal_static_google_monitoring_v3_NotificationChannel_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.monitoring.v3.NotificationProto.internal_static_google_monitoring_v3_NotificationChannel_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -653,8 +594,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Configuration fields that define the channel and its behavior. The
    * permissible and required labels are specified in the
@@ -664,22 +603,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 5;
    */
+
   @java.lang.Override
-  public boolean containsLabels(java.lang.String key) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
+  public boolean containsLabels(
+      java.lang.String key) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /** Use {@link #getLabelsMap()} instead. */
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
-   *
-   *
    * 
    * Configuration fields that define the channel and its behavior. The
    * permissible and required labels are specified in the
@@ -690,12 +629,11 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 5;
    */
   @java.lang.Override
+
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * Configuration fields that define the channel and its behavior. The
    * permissible and required labels are specified in the
@@ -706,16 +644,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 5;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Configuration fields that define the channel and its behavior. The
    * permissible and required labels are specified in the
@@ -726,11 +664,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * map<string, string> labels = 5;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -738,23 +677,24 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   }
 
   public static final int USER_LABELS_FIELD_NUMBER = 8;
-
   private static final class UserLabelsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry defaultEntry =
-        com.google.protobuf.MapEntry.newDefaultInstance(
-            com.google.monitoring.v3.NotificationProto
-                .internal_static_google_monitoring_v3_NotificationChannel_UserLabelsEntry_descriptor,
-            com.google.protobuf.WireFormat.FieldType.STRING,
-            "",
-            com.google.protobuf.WireFormat.FieldType.STRING,
-            "");
-  }
-
-  private com.google.protobuf.MapField userLabels_;
-
-  private com.google.protobuf.MapField internalGetUserLabels() {
+    static final com.google.protobuf.MapEntry<
+        java.lang.String, java.lang.String> defaultEntry =
+            com.google.protobuf.MapEntry
+            .newDefaultInstance(
+                com.google.monitoring.v3.NotificationProto.internal_static_google_monitoring_v3_NotificationChannel_UserLabelsEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "");
+  }
+  private com.google.protobuf.MapField<
+      java.lang.String, java.lang.String> userLabels_;
+  private com.google.protobuf.MapField
+  internalGetUserLabels() {
     if (userLabels_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(UserLabelsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(
+          UserLabelsDefaultEntryHolder.defaultEntry);
     }
     return userLabels_;
   }
@@ -763,8 +703,6 @@ public int getUserLabelsCount() {
     return internalGetUserLabels().getMap().size();
   }
   /**
-   *
-   *
    * 
    * User-supplied key/value data that does not need to conform to
    * the corresponding `NotificationChannelDescriptor`'s schema, unlike
@@ -778,22 +716,22 @@ public int getUserLabelsCount() {
    *
    * map<string, string> user_labels = 8;
    */
+
   @java.lang.Override
-  public boolean containsUserLabels(java.lang.String key) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
+  public boolean containsUserLabels(
+      java.lang.String key) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
     return internalGetUserLabels().getMap().containsKey(key);
   }
-  /** Use {@link #getUserLabelsMap()} instead. */
+  /**
+   * Use {@link #getUserLabelsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getUserLabels() {
     return getUserLabelsMap();
   }
   /**
-   *
-   *
    * 
    * User-supplied key/value data that does not need to conform to
    * the corresponding `NotificationChannelDescriptor`'s schema, unlike
@@ -808,12 +746,11 @@ public java.util.Map getUserLabels() {
    * map<string, string> user_labels = 8;
    */
   @java.lang.Override
+
   public java.util.Map getUserLabelsMap() {
     return internalGetUserLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * User-supplied key/value data that does not need to conform to
    * the corresponding `NotificationChannelDescriptor`'s schema, unlike
@@ -828,17 +765,16 @@ public java.util.Map getUserLabelsMap() {
    * map<string, string> user_labels = 8;
    */
   @java.lang.Override
+
   public java.lang.String getUserLabelsOrDefault(
-      java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
-    java.util.Map map = internalGetUserLabels().getMap();
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
+    java.util.Map map =
+        internalGetUserLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * User-supplied key/value data that does not need to conform to
    * the corresponding `NotificationChannelDescriptor`'s schema, unlike
@@ -853,11 +789,12 @@ public java.lang.String getUserLabelsOrDefault(
    * map<string, string> user_labels = 8;
    */
   @java.lang.Override
-  public java.lang.String getUserLabelsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
-    java.util.Map map = internalGetUserLabels().getMap();
+
+  public java.lang.String getUserLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
+    java.util.Map map =
+        internalGetUserLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -867,8 +804,6 @@ public java.lang.String getUserLabelsOrThrow(java.lang.String key) {
   public static final int VERIFICATION_STATUS_FIELD_NUMBER = 9;
   private int verificationStatus_;
   /**
-   *
-   *
    * 
    * Indicates whether this channel has been verified or not. On a
    * [`ListNotificationChannels`][google.monitoring.v3.NotificationChannelService.ListNotificationChannels]
@@ -888,18 +823,13 @@ public java.lang.String getUserLabelsOrThrow(java.lang.String key) {
    * [`VerifyNotificationChannel`][google.monitoring.v3.NotificationChannelService.VerifyNotificationChannel].
    * 
* - * .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9; - * - * + * .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9; * @return The enum numeric value on the wire for verificationStatus. */ - @java.lang.Override - public int getVerificationStatusValue() { + @java.lang.Override public int getVerificationStatusValue() { return verificationStatus_; } /** - * - * *
    * Indicates whether this channel has been verified or not. On a
    * [`ListNotificationChannels`][google.monitoring.v3.NotificationChannelService.ListNotificationChannels]
@@ -919,27 +849,18 @@ public int getVerificationStatusValue() {
    * [`VerifyNotificationChannel`][google.monitoring.v3.NotificationChannelService.VerifyNotificationChannel].
    * 
* - * .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9; - * - * + * .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9; * @return The verificationStatus. */ - @java.lang.Override - public com.google.monitoring.v3.NotificationChannel.VerificationStatus getVerificationStatus() { + @java.lang.Override public com.google.monitoring.v3.NotificationChannel.VerificationStatus getVerificationStatus() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.NotificationChannel.VerificationStatus result = - com.google.monitoring.v3.NotificationChannel.VerificationStatus.valueOf( - verificationStatus_); - return result == null - ? com.google.monitoring.v3.NotificationChannel.VerificationStatus.UNRECOGNIZED - : result; + com.google.monitoring.v3.NotificationChannel.VerificationStatus result = com.google.monitoring.v3.NotificationChannel.VerificationStatus.valueOf(verificationStatus_); + return result == null ? com.google.monitoring.v3.NotificationChannel.VerificationStatus.UNRECOGNIZED : result; } public static final int ENABLED_FIELD_NUMBER = 11; private com.google.protobuf.BoolValue enabled_; /** - * - * *
    * Whether notifications are forwarded to the described channel. This makes
    * it possible to disable delivery of notifications to a particular channel
@@ -950,7 +871,6 @@ public com.google.monitoring.v3.NotificationChannel.VerificationStatus getVerifi
    * 
* * .google.protobuf.BoolValue enabled = 11; - * * @return Whether the enabled field is set. */ @java.lang.Override @@ -958,8 +878,6 @@ public boolean hasEnabled() { return enabled_ != null; } /** - * - * *
    * Whether notifications are forwarded to the described channel. This makes
    * it possible to disable delivery of notifications to a particular channel
@@ -970,7 +888,6 @@ public boolean hasEnabled() {
    * 
* * .google.protobuf.BoolValue enabled = 11; - * * @return The enabled. */ @java.lang.Override @@ -978,8 +895,6 @@ public com.google.protobuf.BoolValue getEnabled() { return enabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : enabled_; } /** - * - * *
    * Whether notifications are forwarded to the described channel. This makes
    * it possible to disable delivery of notifications to a particular channel
@@ -999,14 +914,11 @@ public com.google.protobuf.BoolValueOrBuilder getEnabledOrBuilder() {
   public static final int CREATION_RECORD_FIELD_NUMBER = 12;
   private com.google.monitoring.v3.MutationRecord creationRecord_;
   /**
-   *
-   *
    * 
    * Record of the creation of this channel.
    * 
* * .google.monitoring.v3.MutationRecord creation_record = 12; - * * @return Whether the creationRecord field is set. */ @java.lang.Override @@ -1014,25 +926,18 @@ public boolean hasCreationRecord() { return creationRecord_ != null; } /** - * - * *
    * Record of the creation of this channel.
    * 
* * .google.monitoring.v3.MutationRecord creation_record = 12; - * * @return The creationRecord. */ @java.lang.Override public com.google.monitoring.v3.MutationRecord getCreationRecord() { - return creationRecord_ == null - ? com.google.monitoring.v3.MutationRecord.getDefaultInstance() - : creationRecord_; + return creationRecord_ == null ? com.google.monitoring.v3.MutationRecord.getDefaultInstance() : creationRecord_; } /** - * - * *
    * Record of the creation of this channel.
    * 
@@ -1047,8 +952,6 @@ public com.google.monitoring.v3.MutationRecordOrBuilder getCreationRecordOrBuild public static final int MUTATION_RECORDS_FIELD_NUMBER = 13; private java.util.List mutationRecords_; /** - * - * *
    * Records of the modification of this channel.
    * 
@@ -1060,8 +963,6 @@ public java.util.List getMutationRecord return mutationRecords_; } /** - * - * *
    * Records of the modification of this channel.
    * 
@@ -1069,13 +970,11 @@ public java.util.List getMutationRecord * repeated .google.monitoring.v3.MutationRecord mutation_records = 13; */ @java.lang.Override - public java.util.List + public java.util.List getMutationRecordsOrBuilderList() { return mutationRecords_; } /** - * - * *
    * Records of the modification of this channel.
    * 
@@ -1087,8 +986,6 @@ public int getMutationRecordsCount() { return mutationRecords_.size(); } /** - * - * *
    * Records of the modification of this channel.
    * 
@@ -1100,8 +997,6 @@ public com.google.monitoring.v3.MutationRecord getMutationRecords(int index) { return mutationRecords_.get(index); } /** - * - * *
    * Records of the modification of this channel.
    * 
@@ -1109,12 +1004,12 @@ public com.google.monitoring.v3.MutationRecord getMutationRecords(int index) { * repeated .google.monitoring.v3.MutationRecord mutation_records = 13; */ @java.lang.Override - public com.google.monitoring.v3.MutationRecordOrBuilder getMutationRecordsOrBuilder(int index) { + public com.google.monitoring.v3.MutationRecordOrBuilder getMutationRecordsOrBuilder( + int index) { return mutationRecords_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1126,7 +1021,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(type_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_); } @@ -1136,17 +1032,22 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, description_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 5); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 5); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, name_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetUserLabels(), UserLabelsDefaultEntryHolder.defaultEntry, 8); - if (verificationStatus_ - != com.google.monitoring.v3.NotificationChannel.VerificationStatus - .VERIFICATION_STATUS_UNSPECIFIED - .getNumber()) { + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetUserLabels(), + UserLabelsDefaultEntryHolder.defaultEntry, + 8); + if (verificationStatus_ != com.google.monitoring.v3.NotificationChannel.VerificationStatus.VERIFICATION_STATUS_UNSPECIFIED.getNumber()) { output.writeEnum(9, verificationStatus_); } if (enabled_ != null) { @@ -1176,43 +1077,44 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_); } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, labels__); + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_); } - for (java.util.Map.Entry entry : - internalGetUserLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry userLabels__ = - UserLabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, userLabels__); - } - if (verificationStatus_ - != com.google.monitoring.v3.NotificationChannel.VerificationStatus - .VERIFICATION_STATUS_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, verificationStatus_); + for (java.util.Map.Entry entry + : internalGetUserLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + userLabels__ = UserLabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, userLabels__); + } + if (verificationStatus_ != com.google.monitoring.v3.NotificationChannel.VerificationStatus.VERIFICATION_STATUS_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(9, verificationStatus_); } if (enabled_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getEnabled()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getEnabled()); } if (creationRecord_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getCreationRecord()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getCreationRecord()); } for (int i = 0; i < mutationRecords_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, mutationRecords_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, mutationRecords_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1222,30 +1124,38 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.NotificationChannel)) { return super.equals(obj); } - com.google.monitoring.v3.NotificationChannel other = - (com.google.monitoring.v3.NotificationChannel) obj; - - if (!getType().equals(other.getType())) return false; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; - if (!internalGetUserLabels().equals(other.internalGetUserLabels())) return false; + com.google.monitoring.v3.NotificationChannel other = (com.google.monitoring.v3.NotificationChannel) obj; + + if (!getType() + .equals(other.getType())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; + if (!internalGetUserLabels().equals( + other.internalGetUserLabels())) return false; if (verificationStatus_ != other.verificationStatus_) return false; if (hasEnabled() != other.hasEnabled()) return false; if (hasEnabled()) { - if (!getEnabled().equals(other.getEnabled())) return false; + if (!getEnabled() + .equals(other.getEnabled())) return false; } if (hasCreationRecord() != other.hasCreationRecord()) return false; if (hasCreationRecord()) { - if (!getCreationRecord().equals(other.getCreationRecord())) return false; + if (!getCreationRecord() + .equals(other.getCreationRecord())) return false; } - if (!getMutationRecordsList().equals(other.getMutationRecordsList())) return false; + if (!getMutationRecordsList() + .equals(other.getMutationRecordsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1292,104 +1202,97 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.NotificationChannel parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.NotificationChannel parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.NotificationChannel parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.NotificationChannel parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.NotificationChannel parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.NotificationChannel parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.NotificationChannel parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.NotificationChannel 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.monitoring.v3.NotificationChannel parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.NotificationChannel parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.NotificationChannel parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.NotificationChannel parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.NotificationChannel parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.NotificationChannel parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.NotificationChannel prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 `NotificationChannel` is a medium through which an alert is
    * delivered when a policy violation is detected. Examples of channels
@@ -1400,47 +1303,47 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.monitoring.v3.NotificationChannel}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.NotificationChannel)
       com.google.monitoring.v3.NotificationChannelOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.monitoring.v3.NotificationProto
-          .internal_static_google_monitoring_v3_NotificationChannel_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.monitoring.v3.NotificationProto.internal_static_google_monitoring_v3_NotificationChannel_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 5:
           return internalGetLabels();
         case 8:
           return internalGetUserLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 5:
           return internalGetMutableLabels();
         case 8:
           return internalGetMutableUserLabels();
         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.monitoring.v3.NotificationProto
-          .internal_static_google_monitoring_v3_NotificationChannel_fieldAccessorTable
+      return com.google.monitoring.v3.NotificationProto.internal_static_google_monitoring_v3_NotificationChannel_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.NotificationChannel.class,
-              com.google.monitoring.v3.NotificationChannel.Builder.class);
+              com.google.monitoring.v3.NotificationChannel.class, com.google.monitoring.v3.NotificationChannel.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.NotificationChannel.newBuilder()
@@ -1448,17 +1351,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getMutationRecordsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1496,9 +1399,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.monitoring.v3.NotificationProto
-          .internal_static_google_monitoring_v3_NotificationChannel_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.monitoring.v3.NotificationProto.internal_static_google_monitoring_v3_NotificationChannel_descriptor;
     }
 
     @java.lang.Override
@@ -1517,8 +1420,7 @@ public com.google.monitoring.v3.NotificationChannel build() {
 
     @java.lang.Override
     public com.google.monitoring.v3.NotificationChannel buildPartial() {
-      com.google.monitoring.v3.NotificationChannel result =
-          new com.google.monitoring.v3.NotificationChannel(this);
+      com.google.monitoring.v3.NotificationChannel result = new com.google.monitoring.v3.NotificationChannel(this);
       int from_bitField0_ = bitField0_;
       result.type_ = type_;
       result.name_ = name_;
@@ -1556,39 +1458,38 @@ public com.google.monitoring.v3.NotificationChannel 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.monitoring.v3.NotificationChannel) {
-        return mergeFrom((com.google.monitoring.v3.NotificationChannel) other);
+        return mergeFrom((com.google.monitoring.v3.NotificationChannel)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1613,8 +1514,10 @@ public Builder mergeFrom(com.google.monitoring.v3.NotificationChannel other) {
         description_ = other.description_;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
-      internalGetMutableUserLabels().mergeFrom(other.internalGetUserLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
+      internalGetMutableUserLabels().mergeFrom(
+          other.internalGetUserLabels());
       if (other.verificationStatus_ != 0) {
         setVerificationStatusValue(other.getVerificationStatusValue());
       }
@@ -1642,10 +1545,9 @@ public Builder mergeFrom(com.google.monitoring.v3.NotificationChannel other) {
             mutationRecordsBuilder_ = null;
             mutationRecords_ = other.mutationRecords_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            mutationRecordsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getMutationRecordsFieldBuilder()
-                    : null;
+            mutationRecordsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getMutationRecordsFieldBuilder() : null;
           } else {
             mutationRecordsBuilder_.addAllMessages(other.mutationRecords_);
           }
@@ -1679,26 +1581,23 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object type_ = "";
     /**
-     *
-     *
      * 
      * The type of the notification channel. This field matches the
      * value of the [NotificationChannelDescriptor.type][google.monitoring.v3.NotificationChannelDescriptor.type] field.
      * 
* * string type = 1; - * * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; @@ -1707,22 +1606,21 @@ public java.lang.String getType() { } } /** - * - * *
      * The type of the notification channel. This field matches the
      * value of the [NotificationChannelDescriptor.type][google.monitoring.v3.NotificationChannelDescriptor.type] field.
      * 
* * string type = 1; - * * @return The bytes for type. */ - public com.google.protobuf.ByteString getTypeBytes() { + public com.google.protobuf.ByteString + getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); type_ = b; return b; } else { @@ -1730,64 +1628,57 @@ public com.google.protobuf.ByteString getTypeBytes() { } } /** - * - * *
      * The type of the notification channel. This field matches the
      * value of the [NotificationChannelDescriptor.type][google.monitoring.v3.NotificationChannelDescriptor.type] field.
      * 
* * string type = 1; - * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType(java.lang.String value) { + public Builder setType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + type_ = value; onChanged(); return this; } /** - * - * *
      * The type of the notification channel. This field matches the
      * value of the [NotificationChannelDescriptor.type][google.monitoring.v3.NotificationChannelDescriptor.type] field.
      * 
* * string type = 1; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = getDefaultInstance().getType(); onChanged(); return this; } /** - * - * *
      * The type of the notification channel. This field matches the
      * value of the [NotificationChannelDescriptor.type][google.monitoring.v3.NotificationChannelDescriptor.type] field.
      * 
* * string type = 1; - * * @param value The bytes for type to set. * @return This builder for chaining. */ - public Builder setTypeBytes(com.google.protobuf.ByteString value) { + public Builder setTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + type_ = value; onChanged(); return this; @@ -1795,8 +1686,6 @@ public Builder setTypeBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
      * The full REST resource name for this channel. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
@@ -1804,13 +1693,13 @@ public Builder setTypeBytes(com.google.protobuf.ByteString value) {
      * 
* * string name = 6; - * * @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; @@ -1819,8 +1708,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The full REST resource name for this channel. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
@@ -1828,14 +1715,15 @@ public java.lang.String getName() {
      * 
* * string name = 6; - * * @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 { @@ -1843,8 +1731,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The full REST resource name for this channel. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
@@ -1852,22 +1738,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 6; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The full REST resource name for this channel. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
@@ -1875,18 +1759,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 6; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The full REST resource name for this channel. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
@@ -1894,16 +1775,16 @@ public Builder clearName() {
      * 
* * string name = 6; - * * @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; @@ -1911,8 +1792,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * An optional human-readable name for this notification channel. It is
      * recommended that you specify a non-empty and unique name in order to
@@ -1921,13 +1800,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string display_name = 3; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1936,8 +1815,6 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * An optional human-readable name for this notification channel. It is
      * recommended that you specify a non-empty and unique name in order to
@@ -1946,14 +1823,15 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 3; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1961,8 +1839,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * An optional human-readable name for this notification channel. It is
      * recommended that you specify a non-empty and unique name in order to
@@ -1971,22 +1847,20 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
      * 
* * string display_name = 3; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * An optional human-readable name for this notification channel. It is
      * recommended that you specify a non-empty and unique name in order to
@@ -1995,18 +1869,15 @@ public Builder setDisplayName(java.lang.String value) {
      * 
* * string display_name = 3; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * An optional human-readable name for this notification channel. It is
      * recommended that you specify a non-empty and unique name in order to
@@ -2015,16 +1886,16 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 3; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -2032,8 +1903,6 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * An optional human-readable description of this notification channel. This
      * description may provide additional details, beyond the display
@@ -2041,13 +1910,13 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string description = 4; - * * @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; @@ -2056,8 +1925,6 @@ public java.lang.String getDescription() { } } /** - * - * *
      * An optional human-readable description of this notification channel. This
      * description may provide additional details, beyond the display
@@ -2065,14 +1932,15 @@ public java.lang.String getDescription() {
      * 
* * string description = 4; - * * @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 { @@ -2080,8 +1948,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * An optional human-readable description of this notification channel. This
      * description may provide additional details, beyond the display
@@ -2089,22 +1955,20 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
      * 
* * string description = 4; - * * @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; } /** - * - * *
      * An optional human-readable description of this notification channel. This
      * description may provide additional details, beyond the display
@@ -2112,18 +1976,15 @@ public Builder setDescription(java.lang.String value) {
      * 
* * string description = 4; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * An optional human-readable description of this notification channel. This
      * description may provide additional details, beyond the display
@@ -2131,36 +1992,37 @@ public Builder clearDescription() {
      * 
* * string description = 4; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -2172,8 +2034,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Configuration fields that define the channel and its behavior. The
      * permissible and required labels are specified in the
@@ -2183,22 +2043,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 5;
      */
+
     @java.lang.Override
-    public boolean containsLabels(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
+    public boolean containsLabels(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /** Use {@link #getLabelsMap()} instead. */
+    /**
+     * Use {@link #getLabelsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
-     *
-     *
      * 
      * Configuration fields that define the channel and its behavior. The
      * permissible and required labels are specified in the
@@ -2209,12 +2069,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 5;
      */
     @java.lang.Override
+
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * Configuration fields that define the channel and its behavior. The
      * permissible and required labels are specified in the
@@ -2225,17 +2084,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 5;
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Configuration fields that define the channel and its behavior. The
      * permissible and required labels are specified in the
@@ -2246,11 +2104,12 @@ public java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 5;
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      java.util.Map map = internalGetLabels().getMap();
+
+    public java.lang.String getLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -2258,12 +2117,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration fields that define the channel and its behavior. The
      * permissible and required labels are specified in the
@@ -2273,21 +2131,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 5;
      */
-    public Builder removeLabels(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      internalGetMutableLabels().getMutableMap().remove(key);
+
+    public Builder removeLabels(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      internalGetMutableLabels().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableLabels() {
+    public java.util.Map
+    getMutableLabels() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Configuration fields that define the channel and its behavior. The
      * permissible and required labels are specified in the
@@ -2297,19 +2157,16 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 5;
      */
-    public Builder putLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      if (value == null) {
-        throw new java.lang.NullPointerException();
-      }
-      internalGetMutableLabels().getMutableMap().put(key, value);
+    public Builder putLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      if (value == null) { throw new java.lang.NullPointerException(); }
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration fields that define the channel and its behavior. The
      * permissible and required labels are specified in the
@@ -2319,29 +2176,30 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> labels = 5;
      */
-    public Builder putAllLabels(java.util.Map values) {
-      internalGetMutableLabels().getMutableMap().putAll(values);
+
+    public Builder putAllLabels(
+        java.util.Map values) {
+      internalGetMutableLabels().getMutableMap()
+          .putAll(values);
       return this;
     }
 
-    private com.google.protobuf.MapField userLabels_;
-
+    private com.google.protobuf.MapField<
+        java.lang.String, java.lang.String> userLabels_;
     private com.google.protobuf.MapField
-        internalGetUserLabels() {
+    internalGetUserLabels() {
       if (userLabels_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             UserLabelsDefaultEntryHolder.defaultEntry);
       }
       return userLabels_;
     }
-
     private com.google.protobuf.MapField
-        internalGetMutableUserLabels() {
-      onChanged();
-      ;
+    internalGetMutableUserLabels() {
+      onChanged();;
       if (userLabels_ == null) {
-        userLabels_ =
-            com.google.protobuf.MapField.newMapField(UserLabelsDefaultEntryHolder.defaultEntry);
+        userLabels_ = com.google.protobuf.MapField.newMapField(
+            UserLabelsDefaultEntryHolder.defaultEntry);
       }
       if (!userLabels_.isMutable()) {
         userLabels_ = userLabels_.copy();
@@ -2353,8 +2211,6 @@ public int getUserLabelsCount() {
       return internalGetUserLabels().getMap().size();
     }
     /**
-     *
-     *
      * 
      * User-supplied key/value data that does not need to conform to
      * the corresponding `NotificationChannelDescriptor`'s schema, unlike
@@ -2368,22 +2224,22 @@ public int getUserLabelsCount() {
      *
      * map<string, string> user_labels = 8;
      */
+
     @java.lang.Override
-    public boolean containsUserLabels(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
+    public boolean containsUserLabels(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
       return internalGetUserLabels().getMap().containsKey(key);
     }
-    /** Use {@link #getUserLabelsMap()} instead. */
+    /**
+     * Use {@link #getUserLabelsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getUserLabels() {
       return getUserLabelsMap();
     }
     /**
-     *
-     *
      * 
      * User-supplied key/value data that does not need to conform to
      * the corresponding `NotificationChannelDescriptor`'s schema, unlike
@@ -2398,12 +2254,11 @@ public java.util.Map getUserLabels() {
      * map<string, string> user_labels = 8;
      */
     @java.lang.Override
+
     public java.util.Map getUserLabelsMap() {
       return internalGetUserLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * User-supplied key/value data that does not need to conform to
      * the corresponding `NotificationChannelDescriptor`'s schema, unlike
@@ -2418,17 +2273,16 @@ public java.util.Map getUserLabelsMap() {
      * map<string, string> user_labels = 8;
      */
     @java.lang.Override
+
     public java.lang.String getUserLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      java.util.Map map = internalGetUserLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      java.util.Map map =
+          internalGetUserLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * User-supplied key/value data that does not need to conform to
      * the corresponding `NotificationChannelDescriptor`'s schema, unlike
@@ -2443,11 +2297,12 @@ public java.lang.String getUserLabelsOrDefault(
      * map<string, string> user_labels = 8;
      */
     @java.lang.Override
-    public java.lang.String getUserLabelsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      java.util.Map map = internalGetUserLabels().getMap();
+
+    public java.lang.String getUserLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      java.util.Map map =
+          internalGetUserLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -2455,12 +2310,11 @@ public java.lang.String getUserLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearUserLabels() {
-      internalGetMutableUserLabels().getMutableMap().clear();
+      internalGetMutableUserLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * User-supplied key/value data that does not need to conform to
      * the corresponding `NotificationChannelDescriptor`'s schema, unlike
@@ -2474,21 +2328,23 @@ public Builder clearUserLabels() {
      *
      * map<string, string> user_labels = 8;
      */
-    public Builder removeUserLabels(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      internalGetMutableUserLabels().getMutableMap().remove(key);
+
+    public Builder removeUserLabels(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      internalGetMutableUserLabels().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableUserLabels() {
+    public java.util.Map
+    getMutableUserLabels() {
       return internalGetMutableUserLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * User-supplied key/value data that does not need to conform to
      * the corresponding `NotificationChannelDescriptor`'s schema, unlike
@@ -2502,19 +2358,16 @@ public java.util.Map getMutableUserLabels()
      *
      * map<string, string> user_labels = 8;
      */
-    public Builder putUserLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      if (value == null) {
-        throw new java.lang.NullPointerException();
-      }
-      internalGetMutableUserLabels().getMutableMap().put(key, value);
+    public Builder putUserLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      if (value == null) { throw new java.lang.NullPointerException(); }
+      internalGetMutableUserLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * User-supplied key/value data that does not need to conform to
      * the corresponding `NotificationChannelDescriptor`'s schema, unlike
@@ -2528,15 +2381,16 @@ public Builder putUserLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> user_labels = 8;
      */
-    public Builder putAllUserLabels(java.util.Map values) {
-      internalGetMutableUserLabels().getMutableMap().putAll(values);
+
+    public Builder putAllUserLabels(
+        java.util.Map values) {
+      internalGetMutableUserLabels().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     private int verificationStatus_ = 0;
     /**
-     *
-     *
      * 
      * Indicates whether this channel has been verified or not. On a
      * [`ListNotificationChannels`][google.monitoring.v3.NotificationChannelService.ListNotificationChannels]
@@ -2556,18 +2410,13 @@ public Builder putAllUserLabels(java.util.Map
      *
-     * .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9;
-     * 
-     *
+     * .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9;
      * @return The enum numeric value on the wire for verificationStatus.
      */
-    @java.lang.Override
-    public int getVerificationStatusValue() {
+    @java.lang.Override public int getVerificationStatusValue() {
       return verificationStatus_;
     }
     /**
-     *
-     *
      * 
      * Indicates whether this channel has been verified or not. On a
      * [`ListNotificationChannels`][google.monitoring.v3.NotificationChannelService.ListNotificationChannels]
@@ -2587,21 +2436,17 @@ public int getVerificationStatusValue() {
      * [`VerifyNotificationChannel`][google.monitoring.v3.NotificationChannelService.VerifyNotificationChannel].
      * 
* - * .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9; - * - * + * .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9; * @param value The enum numeric value on the wire for verificationStatus to set. * @return This builder for chaining. */ public Builder setVerificationStatusValue(int value) { - + verificationStatus_ = value; onChanged(); return this; } /** - * - * *
      * Indicates whether this channel has been verified or not. On a
      * [`ListNotificationChannels`][google.monitoring.v3.NotificationChannelService.ListNotificationChannels]
@@ -2621,24 +2466,16 @@ public Builder setVerificationStatusValue(int value) {
      * [`VerifyNotificationChannel`][google.monitoring.v3.NotificationChannelService.VerifyNotificationChannel].
      * 
* - * .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9; - * - * + * .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9; * @return The verificationStatus. */ @java.lang.Override public com.google.monitoring.v3.NotificationChannel.VerificationStatus getVerificationStatus() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.NotificationChannel.VerificationStatus result = - com.google.monitoring.v3.NotificationChannel.VerificationStatus.valueOf( - verificationStatus_); - return result == null - ? com.google.monitoring.v3.NotificationChannel.VerificationStatus.UNRECOGNIZED - : result; + com.google.monitoring.v3.NotificationChannel.VerificationStatus result = com.google.monitoring.v3.NotificationChannel.VerificationStatus.valueOf(verificationStatus_); + return result == null ? com.google.monitoring.v3.NotificationChannel.VerificationStatus.UNRECOGNIZED : result; } /** - * - * *
      * Indicates whether this channel has been verified or not. On a
      * [`ListNotificationChannels`][google.monitoring.v3.NotificationChannelService.ListNotificationChannels]
@@ -2658,25 +2495,20 @@ public com.google.monitoring.v3.NotificationChannel.VerificationStatus getVerifi
      * [`VerifyNotificationChannel`][google.monitoring.v3.NotificationChannelService.VerifyNotificationChannel].
      * 
* - * .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9; - * - * + * .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9; * @param value The verificationStatus to set. * @return This builder for chaining. */ - public Builder setVerificationStatus( - com.google.monitoring.v3.NotificationChannel.VerificationStatus value) { + public Builder setVerificationStatus(com.google.monitoring.v3.NotificationChannel.VerificationStatus value) { if (value == null) { throw new NullPointerException(); } - + verificationStatus_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Indicates whether this channel has been verified or not. On a
      * [`ListNotificationChannels`][google.monitoring.v3.NotificationChannelService.ListNotificationChannels]
@@ -2696,13 +2528,11 @@ public Builder setVerificationStatus(
      * [`VerifyNotificationChannel`][google.monitoring.v3.NotificationChannelService.VerifyNotificationChannel].
      * 
* - * .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9; - * - * + * .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9; * @return This builder for chaining. */ public Builder clearVerificationStatus() { - + verificationStatus_ = 0; onChanged(); return this; @@ -2710,13 +2540,8 @@ public Builder clearVerificationStatus() { private com.google.protobuf.BoolValue enabled_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, - com.google.protobuf.BoolValue.Builder, - com.google.protobuf.BoolValueOrBuilder> - enabledBuilder_; + com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> enabledBuilder_; /** - * - * *
      * Whether notifications are forwarded to the described channel. This makes
      * it possible to disable delivery of notifications to a particular channel
@@ -2727,15 +2552,12 @@ public Builder clearVerificationStatus() {
      * 
* * .google.protobuf.BoolValue enabled = 11; - * * @return Whether the enabled field is set. */ public boolean hasEnabled() { return enabledBuilder_ != null || enabled_ != null; } /** - * - * *
      * Whether notifications are forwarded to the described channel. This makes
      * it possible to disable delivery of notifications to a particular channel
@@ -2746,7 +2568,6 @@ public boolean hasEnabled() {
      * 
* * .google.protobuf.BoolValue enabled = 11; - * * @return The enabled. */ public com.google.protobuf.BoolValue getEnabled() { @@ -2757,8 +2578,6 @@ public com.google.protobuf.BoolValue getEnabled() { } } /** - * - * *
      * Whether notifications are forwarded to the described channel. This makes
      * it possible to disable delivery of notifications to a particular channel
@@ -2784,8 +2603,6 @@ public Builder setEnabled(com.google.protobuf.BoolValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Whether notifications are forwarded to the described channel. This makes
      * it possible to disable delivery of notifications to a particular channel
@@ -2797,7 +2614,8 @@ public Builder setEnabled(com.google.protobuf.BoolValue value) {
      *
      * .google.protobuf.BoolValue enabled = 11;
      */
-    public Builder setEnabled(com.google.protobuf.BoolValue.Builder builderForValue) {
+    public Builder setEnabled(
+        com.google.protobuf.BoolValue.Builder builderForValue) {
       if (enabledBuilder_ == null) {
         enabled_ = builderForValue.build();
         onChanged();
@@ -2808,8 +2626,6 @@ public Builder setEnabled(com.google.protobuf.BoolValue.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * Whether notifications are forwarded to the described channel. This makes
      * it possible to disable delivery of notifications to a particular channel
@@ -2825,7 +2641,7 @@ public Builder mergeEnabled(com.google.protobuf.BoolValue value) {
       if (enabledBuilder_ == null) {
         if (enabled_ != null) {
           enabled_ =
-              com.google.protobuf.BoolValue.newBuilder(enabled_).mergeFrom(value).buildPartial();
+            com.google.protobuf.BoolValue.newBuilder(enabled_).mergeFrom(value).buildPartial();
         } else {
           enabled_ = value;
         }
@@ -2837,8 +2653,6 @@ public Builder mergeEnabled(com.google.protobuf.BoolValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Whether notifications are forwarded to the described channel. This makes
      * it possible to disable delivery of notifications to a particular channel
@@ -2862,8 +2676,6 @@ public Builder clearEnabled() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Whether notifications are forwarded to the described channel. This makes
      * it possible to disable delivery of notifications to a particular channel
@@ -2876,13 +2688,11 @@ public Builder clearEnabled() {
      * .google.protobuf.BoolValue enabled = 11;
      */
     public com.google.protobuf.BoolValue.Builder getEnabledBuilder() {
-
+      
       onChanged();
       return getEnabledFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Whether notifications are forwarded to the described channel. This makes
      * it possible to disable delivery of notifications to a particular channel
@@ -2898,12 +2708,11 @@ public com.google.protobuf.BoolValueOrBuilder getEnabledOrBuilder() {
       if (enabledBuilder_ != null) {
         return enabledBuilder_.getMessageOrBuilder();
       } else {
-        return enabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : enabled_;
+        return enabled_ == null ?
+            com.google.protobuf.BoolValue.getDefaultInstance() : enabled_;
       }
     }
     /**
-     *
-     *
      * 
      * Whether notifications are forwarded to the described channel. This makes
      * it possible to disable delivery of notifications to a particular channel
@@ -2916,17 +2725,14 @@ public com.google.protobuf.BoolValueOrBuilder getEnabledOrBuilder() {
      * .google.protobuf.BoolValue enabled = 11;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.BoolValue,
-            com.google.protobuf.BoolValue.Builder,
-            com.google.protobuf.BoolValueOrBuilder>
+        com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> 
         getEnabledFieldBuilder() {
       if (enabledBuilder_ == null) {
-        enabledBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.BoolValue,
-                com.google.protobuf.BoolValue.Builder,
-                com.google.protobuf.BoolValueOrBuilder>(
-                getEnabled(), getParentForChildren(), isClean());
+        enabledBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
+                getEnabled(),
+                getParentForChildren(),
+                isClean());
         enabled_ = null;
       }
       return enabledBuilder_;
@@ -2934,47 +2740,34 @@ public com.google.protobuf.BoolValueOrBuilder getEnabledOrBuilder() {
 
     private com.google.monitoring.v3.MutationRecord creationRecord_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.MutationRecord,
-            com.google.monitoring.v3.MutationRecord.Builder,
-            com.google.monitoring.v3.MutationRecordOrBuilder>
-        creationRecordBuilder_;
+        com.google.monitoring.v3.MutationRecord, com.google.monitoring.v3.MutationRecord.Builder, com.google.monitoring.v3.MutationRecordOrBuilder> creationRecordBuilder_;
     /**
-     *
-     *
      * 
      * Record of the creation of this channel.
      * 
* * .google.monitoring.v3.MutationRecord creation_record = 12; - * * @return Whether the creationRecord field is set. */ public boolean hasCreationRecord() { return creationRecordBuilder_ != null || creationRecord_ != null; } /** - * - * *
      * Record of the creation of this channel.
      * 
* * .google.monitoring.v3.MutationRecord creation_record = 12; - * * @return The creationRecord. */ public com.google.monitoring.v3.MutationRecord getCreationRecord() { if (creationRecordBuilder_ == null) { - return creationRecord_ == null - ? com.google.monitoring.v3.MutationRecord.getDefaultInstance() - : creationRecord_; + return creationRecord_ == null ? com.google.monitoring.v3.MutationRecord.getDefaultInstance() : creationRecord_; } else { return creationRecordBuilder_.getMessage(); } } /** - * - * *
      * Record of the creation of this channel.
      * 
@@ -2995,8 +2788,6 @@ public Builder setCreationRecord(com.google.monitoring.v3.MutationRecord value) return this; } /** - * - * *
      * Record of the creation of this channel.
      * 
@@ -3015,8 +2806,6 @@ public Builder setCreationRecord( return this; } /** - * - * *
      * Record of the creation of this channel.
      * 
@@ -3027,9 +2816,7 @@ public Builder mergeCreationRecord(com.google.monitoring.v3.MutationRecord value if (creationRecordBuilder_ == null) { if (creationRecord_ != null) { creationRecord_ = - com.google.monitoring.v3.MutationRecord.newBuilder(creationRecord_) - .mergeFrom(value) - .buildPartial(); + com.google.monitoring.v3.MutationRecord.newBuilder(creationRecord_).mergeFrom(value).buildPartial(); } else { creationRecord_ = value; } @@ -3041,8 +2828,6 @@ public Builder mergeCreationRecord(com.google.monitoring.v3.MutationRecord value return this; } /** - * - * *
      * Record of the creation of this channel.
      * 
@@ -3061,8 +2846,6 @@ public Builder clearCreationRecord() { return this; } /** - * - * *
      * Record of the creation of this channel.
      * 
@@ -3070,13 +2853,11 @@ public Builder clearCreationRecord() { * .google.monitoring.v3.MutationRecord creation_record = 12; */ public com.google.monitoring.v3.MutationRecord.Builder getCreationRecordBuilder() { - + onChanged(); return getCreationRecordFieldBuilder().getBuilder(); } /** - * - * *
      * Record of the creation of this channel.
      * 
@@ -3087,14 +2868,11 @@ public com.google.monitoring.v3.MutationRecordOrBuilder getCreationRecordOrBuild if (creationRecordBuilder_ != null) { return creationRecordBuilder_.getMessageOrBuilder(); } else { - return creationRecord_ == null - ? com.google.monitoring.v3.MutationRecord.getDefaultInstance() - : creationRecord_; + return creationRecord_ == null ? + com.google.monitoring.v3.MutationRecord.getDefaultInstance() : creationRecord_; } } /** - * - * *
      * Record of the creation of this channel.
      * 
@@ -3102,42 +2880,32 @@ public com.google.monitoring.v3.MutationRecordOrBuilder getCreationRecordOrBuild * .google.monitoring.v3.MutationRecord creation_record = 12; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.MutationRecord, - com.google.monitoring.v3.MutationRecord.Builder, - com.google.monitoring.v3.MutationRecordOrBuilder> + com.google.monitoring.v3.MutationRecord, com.google.monitoring.v3.MutationRecord.Builder, com.google.monitoring.v3.MutationRecordOrBuilder> getCreationRecordFieldBuilder() { if (creationRecordBuilder_ == null) { - creationRecordBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.MutationRecord, - com.google.monitoring.v3.MutationRecord.Builder, - com.google.monitoring.v3.MutationRecordOrBuilder>( - getCreationRecord(), getParentForChildren(), isClean()); + creationRecordBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.MutationRecord, com.google.monitoring.v3.MutationRecord.Builder, com.google.monitoring.v3.MutationRecordOrBuilder>( + getCreationRecord(), + getParentForChildren(), + isClean()); creationRecord_ = null; } return creationRecordBuilder_; } private java.util.List mutationRecords_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMutationRecordsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - mutationRecords_ = - new java.util.ArrayList(mutationRecords_); + mutationRecords_ = new java.util.ArrayList(mutationRecords_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.MutationRecord, - com.google.monitoring.v3.MutationRecord.Builder, - com.google.monitoring.v3.MutationRecordOrBuilder> - mutationRecordsBuilder_; + com.google.monitoring.v3.MutationRecord, com.google.monitoring.v3.MutationRecord.Builder, com.google.monitoring.v3.MutationRecordOrBuilder> mutationRecordsBuilder_; /** - * - * *
      * Records of the modification of this channel.
      * 
@@ -3152,8 +2920,6 @@ public java.util.List getMutationRecord } } /** - * - * *
      * Records of the modification of this channel.
      * 
@@ -3168,8 +2934,6 @@ public int getMutationRecordsCount() { } } /** - * - * *
      * Records of the modification of this channel.
      * 
@@ -3184,15 +2948,14 @@ public com.google.monitoring.v3.MutationRecord getMutationRecords(int index) { } } /** - * - * *
      * Records of the modification of this channel.
      * 
* * repeated .google.monitoring.v3.MutationRecord mutation_records = 13; */ - public Builder setMutationRecords(int index, com.google.monitoring.v3.MutationRecord value) { + public Builder setMutationRecords( + int index, com.google.monitoring.v3.MutationRecord value) { if (mutationRecordsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3206,8 +2969,6 @@ public Builder setMutationRecords(int index, com.google.monitoring.v3.MutationRe return this; } /** - * - * *
      * Records of the modification of this channel.
      * 
@@ -3226,8 +2987,6 @@ public Builder setMutationRecords( return this; } /** - * - * *
      * Records of the modification of this channel.
      * 
@@ -3248,15 +3007,14 @@ public Builder addMutationRecords(com.google.monitoring.v3.MutationRecord value) return this; } /** - * - * *
      * Records of the modification of this channel.
      * 
* * repeated .google.monitoring.v3.MutationRecord mutation_records = 13; */ - public Builder addMutationRecords(int index, com.google.monitoring.v3.MutationRecord value) { + public Builder addMutationRecords( + int index, com.google.monitoring.v3.MutationRecord value) { if (mutationRecordsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3270,8 +3028,6 @@ public Builder addMutationRecords(int index, com.google.monitoring.v3.MutationRe return this; } /** - * - * *
      * Records of the modification of this channel.
      * 
@@ -3290,8 +3046,6 @@ public Builder addMutationRecords( return this; } /** - * - * *
      * Records of the modification of this channel.
      * 
@@ -3310,8 +3064,6 @@ public Builder addMutationRecords( return this; } /** - * - * *
      * Records of the modification of this channel.
      * 
@@ -3322,7 +3074,8 @@ public Builder addAllMutationRecords( java.lang.Iterable values) { if (mutationRecordsBuilder_ == null) { ensureMutationRecordsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, mutationRecords_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, mutationRecords_); onChanged(); } else { mutationRecordsBuilder_.addAllMessages(values); @@ -3330,8 +3083,6 @@ public Builder addAllMutationRecords( return this; } /** - * - * *
      * Records of the modification of this channel.
      * 
@@ -3349,8 +3100,6 @@ public Builder clearMutationRecords() { return this; } /** - * - * *
      * Records of the modification of this channel.
      * 
@@ -3368,44 +3117,39 @@ public Builder removeMutationRecords(int index) { return this; } /** - * - * *
      * Records of the modification of this channel.
      * 
* * repeated .google.monitoring.v3.MutationRecord mutation_records = 13; */ - public com.google.monitoring.v3.MutationRecord.Builder getMutationRecordsBuilder(int index) { + public com.google.monitoring.v3.MutationRecord.Builder getMutationRecordsBuilder( + int index) { return getMutationRecordsFieldBuilder().getBuilder(index); } /** - * - * *
      * Records of the modification of this channel.
      * 
* * repeated .google.monitoring.v3.MutationRecord mutation_records = 13; */ - public com.google.monitoring.v3.MutationRecordOrBuilder getMutationRecordsOrBuilder(int index) { + public com.google.monitoring.v3.MutationRecordOrBuilder getMutationRecordsOrBuilder( + int index) { if (mutationRecordsBuilder_ == null) { - return mutationRecords_.get(index); - } else { + return mutationRecords_.get(index); } else { return mutationRecordsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Records of the modification of this channel.
      * 
* * repeated .google.monitoring.v3.MutationRecord mutation_records = 13; */ - public java.util.List - getMutationRecordsOrBuilderList() { + public java.util.List + getMutationRecordsOrBuilderList() { if (mutationRecordsBuilder_ != null) { return mutationRecordsBuilder_.getMessageOrBuilderList(); } else { @@ -3413,8 +3157,6 @@ public com.google.monitoring.v3.MutationRecordOrBuilder getMutationRecordsOrBuil } } /** - * - * *
      * Records of the modification of this channel.
      * 
@@ -3422,47 +3164,38 @@ public com.google.monitoring.v3.MutationRecordOrBuilder getMutationRecordsOrBuil * repeated .google.monitoring.v3.MutationRecord mutation_records = 13; */ public com.google.monitoring.v3.MutationRecord.Builder addMutationRecordsBuilder() { - return getMutationRecordsFieldBuilder() - .addBuilder(com.google.monitoring.v3.MutationRecord.getDefaultInstance()); + return getMutationRecordsFieldBuilder().addBuilder( + com.google.monitoring.v3.MutationRecord.getDefaultInstance()); } /** - * - * *
      * Records of the modification of this channel.
      * 
* * repeated .google.monitoring.v3.MutationRecord mutation_records = 13; */ - public com.google.monitoring.v3.MutationRecord.Builder addMutationRecordsBuilder(int index) { - return getMutationRecordsFieldBuilder() - .addBuilder(index, com.google.monitoring.v3.MutationRecord.getDefaultInstance()); + public com.google.monitoring.v3.MutationRecord.Builder addMutationRecordsBuilder( + int index) { + return getMutationRecordsFieldBuilder().addBuilder( + index, com.google.monitoring.v3.MutationRecord.getDefaultInstance()); } /** - * - * *
      * Records of the modification of this channel.
      * 
* * repeated .google.monitoring.v3.MutationRecord mutation_records = 13; */ - public java.util.List - getMutationRecordsBuilderList() { + public java.util.List + getMutationRecordsBuilderList() { return getMutationRecordsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.MutationRecord, - com.google.monitoring.v3.MutationRecord.Builder, - com.google.monitoring.v3.MutationRecordOrBuilder> + com.google.monitoring.v3.MutationRecord, com.google.monitoring.v3.MutationRecord.Builder, com.google.monitoring.v3.MutationRecordOrBuilder> getMutationRecordsFieldBuilder() { if (mutationRecordsBuilder_ == null) { - mutationRecordsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.MutationRecord, - com.google.monitoring.v3.MutationRecord.Builder, - com.google.monitoring.v3.MutationRecordOrBuilder>( + mutationRecordsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.monitoring.v3.MutationRecord, com.google.monitoring.v3.MutationRecord.Builder, com.google.monitoring.v3.MutationRecordOrBuilder>( mutationRecords_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -3471,9 +3204,9 @@ public com.google.monitoring.v3.MutationRecord.Builder addMutationRecordsBuilder } return mutationRecordsBuilder_; } - @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); } @@ -3483,12 +3216,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.NotificationChannel) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.NotificationChannel) private static final com.google.monitoring.v3.NotificationChannel DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.NotificationChannel(); } @@ -3497,16 +3230,16 @@ public static com.google.monitoring.v3.NotificationChannel getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NotificationChannel parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NotificationChannel(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NotificationChannel parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NotificationChannel(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3521,4 +3254,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.NotificationChannel getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptor.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptor.java similarity index 76% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptor.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptor.java index d42362eb..17d548ae 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptor.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptor.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/monitoring/v3/notification.proto package com.google.monitoring.v3; /** - * - * *
  * A description of a notification channel. The descriptor includes
  * the properties of the channel and the set of labels or fields that
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.monitoring.v3.NotificationChannelDescriptor}
  */
-public final class NotificationChannelDescriptor extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NotificationChannelDescriptor extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.NotificationChannelDescriptor)
     NotificationChannelDescriptorOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NotificationChannelDescriptor.newBuilder() to construct.
   private NotificationChannelDescriptor(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private NotificationChannelDescriptor() {
     name_ = "";
     type_ = "";
@@ -51,15 +33,16 @@ private NotificationChannelDescriptor() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new NotificationChannelDescriptor();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private NotificationChannelDescriptor(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -79,89 +62,82 @@ private NotificationChannelDescriptor(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              type_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            type_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              displayName_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            displayName_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              description_ = s;
-              break;
+            description_ = s;
+            break;
+          }
+          case 34: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              labels_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 34:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                labels_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              labels_.add(
-                  input.readMessage(com.google.api.LabelDescriptor.parser(), extensionRegistry));
-              break;
+            labels_.add(
+                input.readMessage(com.google.api.LabelDescriptor.parser(), extensionRegistry));
+            break;
+          }
+          case 40: {
+            int rawValue = input.readEnum();
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              supportedTiers_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000002;
             }
-          case 40:
-            {
+            supportedTiers_.add(rawValue);
+            break;
+          }
+          case 42: {
+            int length = input.readRawVarint32();
+            int oldLimit = input.pushLimit(length);
+            while(input.getBytesUntilLimit() > 0) {
               int rawValue = input.readEnum();
               if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                 supportedTiers_ = new java.util.ArrayList();
                 mutable_bitField0_ |= 0x00000002;
               }
               supportedTiers_.add(rawValue);
-              break;
             }
-          case 42:
-            {
-              int length = input.readRawVarint32();
-              int oldLimit = input.pushLimit(length);
-              while (input.getBytesUntilLimit() > 0) {
-                int rawValue = input.readEnum();
-                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                  supportedTiers_ = new java.util.ArrayList();
-                  mutable_bitField0_ |= 0x00000002;
-                }
-                supportedTiers_.add(rawValue);
-              }
-              input.popLimit(oldLimit);
-              break;
-            }
-          case 50:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            input.popLimit(oldLimit);
+            break;
+          }
+          case 50: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 56:
-            {
-              int rawValue = input.readEnum();
+            name_ = s;
+            break;
+          }
+          case 56: {
+            int rawValue = input.readEnum();
 
-              launchStage_ = rawValue;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            launchStage_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         labels_ = java.util.Collections.unmodifiableList(labels_);
@@ -173,27 +149,22 @@ private NotificationChannelDescriptor(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.monitoring.v3.NotificationProto
-        .internal_static_google_monitoring_v3_NotificationChannelDescriptor_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.monitoring.v3.NotificationProto.internal_static_google_monitoring_v3_NotificationChannelDescriptor_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.monitoring.v3.NotificationProto
-        .internal_static_google_monitoring_v3_NotificationChannelDescriptor_fieldAccessorTable
+    return com.google.monitoring.v3.NotificationProto.internal_static_google_monitoring_v3_NotificationChannelDescriptor_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.NotificationChannelDescriptor.class,
-            com.google.monitoring.v3.NotificationChannelDescriptor.Builder.class);
+            com.google.monitoring.v3.NotificationChannelDescriptor.class, com.google.monitoring.v3.NotificationChannelDescriptor.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 6;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The full REST resource name for this descriptor. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[TYPE]
@@ -201,7 +172,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 6; - * * @return The name. */ @java.lang.Override @@ -210,15 +180,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The full REST resource name for this descriptor. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[TYPE]
@@ -226,15 +195,16 @@ public java.lang.String getName() {
    * 
* * string name = 6; - * * @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 { @@ -245,8 +215,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int TYPE_FIELD_NUMBER = 1; private volatile java.lang.Object type_; /** - * - * *
    * The type of notification channel, such as "email" and "sms". To view the
    * full list of channels, see
@@ -256,7 +224,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string type = 1; - * * @return The type. */ @java.lang.Override @@ -265,15 +232,14 @@ public java.lang.String getType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } } /** - * - * *
    * The type of notification channel, such as "email" and "sms". To view the
    * full list of channels, see
@@ -283,15 +249,16 @@ public java.lang.String getType() {
    * 
* * string type = 1; - * * @return The bytes for type. */ @java.lang.Override - public com.google.protobuf.ByteString getTypeBytes() { + public com.google.protobuf.ByteString + getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); type_ = b; return b; } else { @@ -302,15 +269,12 @@ public com.google.protobuf.ByteString getTypeBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * A human-readable name for the notification channel type.  This
    * form of the name is suitable for a user interface.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -319,30 +283,30 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * A human-readable name for the notification channel type.  This
    * form of the name is suitable for a user interface.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -353,8 +317,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** - * - * *
    * A human-readable description of the notification channel
    * type. The description may include a description of the properties
@@ -362,7 +324,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -371,15 +332,14 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * A human-readable description of the notification channel
    * type. The description may include a description of the properties
@@ -387,15 +347,16 @@ public java.lang.String getDescription() {
    * 
* * string description = 3; - * * @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 { @@ -406,8 +367,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int LABELS_FIELD_NUMBER = 4; private java.util.List labels_; /** - * - * *
    * The set of labels that must be defined to identify a particular
    * channel of the corresponding type. Each label includes a
@@ -421,8 +380,6 @@ public java.util.List getLabelsList() {
     return labels_;
   }
   /**
-   *
-   *
    * 
    * The set of labels that must be defined to identify a particular
    * channel of the corresponding type. Each label includes a
@@ -432,13 +389,11 @@ public java.util.List getLabelsList() {
    * repeated .google.api.LabelDescriptor labels = 4;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getLabelsOrBuilderList() {
     return labels_;
   }
   /**
-   *
-   *
    * 
    * The set of labels that must be defined to identify a particular
    * channel of the corresponding type. Each label includes a
@@ -452,8 +407,6 @@ public int getLabelsCount() {
     return labels_.size();
   }
   /**
-   *
-   *
    * 
    * The set of labels that must be defined to identify a particular
    * channel of the corresponding type. Each label includes a
@@ -467,8 +420,6 @@ public com.google.api.LabelDescriptor getLabels(int index) {
     return labels_.get(index);
   }
   /**
-   *
-   *
    * 
    * The set of labels that must be defined to identify a particular
    * channel of the corresponding type. Each label includes a
@@ -478,158 +429,122 @@ public com.google.api.LabelDescriptor getLabels(int index) {
    * repeated .google.api.LabelDescriptor labels = 4;
    */
   @java.lang.Override
-  public com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(int index) {
+  public com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(
+      int index) {
     return labels_.get(index);
   }
 
   public static final int SUPPORTED_TIERS_FIELD_NUMBER = 5;
   private java.util.List supportedTiers_;
   private static final com.google.protobuf.Internal.ListAdapter.Converter<
-          java.lang.Integer, com.google.monitoring.v3.ServiceTier>
-      supportedTiers_converter_ =
+      java.lang.Integer, com.google.monitoring.v3.ServiceTier> supportedTiers_converter_ =
           new com.google.protobuf.Internal.ListAdapter.Converter<
               java.lang.Integer, com.google.monitoring.v3.ServiceTier>() {
             public com.google.monitoring.v3.ServiceTier convert(java.lang.Integer from) {
               @SuppressWarnings("deprecation")
-              com.google.monitoring.v3.ServiceTier result =
-                  com.google.monitoring.v3.ServiceTier.valueOf(from);
+              com.google.monitoring.v3.ServiceTier result = com.google.monitoring.v3.ServiceTier.valueOf(from);
               return result == null ? com.google.monitoring.v3.ServiceTier.UNRECOGNIZED : result;
             }
           };
   /**
-   *
-   *
    * 
    * The tiers that support this notification channel; the project service tier
    * must be one of the supported_tiers.
    * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; - * - * + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; * @return A list containing the supportedTiers. */ @java.lang.Override - @java.lang.Deprecated - public java.util.List getSupportedTiersList() { + @java.lang.Deprecated public java.util.List getSupportedTiersList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.monitoring.v3.ServiceTier>( - supportedTiers_, supportedTiers_converter_); + java.lang.Integer, com.google.monitoring.v3.ServiceTier>(supportedTiers_, supportedTiers_converter_); } /** - * - * *
    * The tiers that support this notification channel; the project service tier
    * must be one of the supported_tiers.
    * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; - * - * + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; * @return The count of supportedTiers. */ @java.lang.Override - @java.lang.Deprecated - public int getSupportedTiersCount() { + @java.lang.Deprecated public int getSupportedTiersCount() { return supportedTiers_.size(); } /** - * - * *
    * The tiers that support this notification channel; the project service tier
    * must be one of the supported_tiers.
    * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; - * - * + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; * @param index The index of the element to return. * @return The supportedTiers at the given index. */ @java.lang.Override - @java.lang.Deprecated - public com.google.monitoring.v3.ServiceTier getSupportedTiers(int index) { + @java.lang.Deprecated public com.google.monitoring.v3.ServiceTier getSupportedTiers(int index) { return supportedTiers_converter_.convert(supportedTiers_.get(index)); } /** - * - * *
    * The tiers that support this notification channel; the project service tier
    * must be one of the supported_tiers.
    * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; - * - * + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; * @return A list containing the enum numeric values on the wire for supportedTiers. */ @java.lang.Override - @java.lang.Deprecated - public java.util.List getSupportedTiersValueList() { + @java.lang.Deprecated public java.util.List + getSupportedTiersValueList() { return supportedTiers_; } /** - * - * *
    * The tiers that support this notification channel; the project service tier
    * must be one of the supported_tiers.
    * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; - * - * + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedTiers at the given index. */ @java.lang.Override - @java.lang.Deprecated - public int getSupportedTiersValue(int index) { + @java.lang.Deprecated public int getSupportedTiersValue(int index) { return supportedTiers_.get(index); } - private int supportedTiersMemoizedSerializedSize; public static final int LAUNCH_STAGE_FIELD_NUMBER = 7; private int launchStage_; /** - * - * *
    * The product launch stage for channels of this type.
    * 
* * .google.api.LaunchStage launch_stage = 7; - * * @return The enum numeric value on the wire for launchStage. */ - @java.lang.Override - public int getLaunchStageValue() { + @java.lang.Override public int getLaunchStageValue() { return launchStage_; } /** - * - * *
    * The product launch stage for channels of this type.
    * 
* * .google.api.LaunchStage launch_stage = 7; - * * @return The launchStage. */ - @java.lang.Override - public com.google.api.LaunchStage getLaunchStage() { + @java.lang.Override public com.google.api.LaunchStage getLaunchStage() { @SuppressWarnings("deprecation") com.google.api.LaunchStage result = com.google.api.LaunchStage.valueOf(launchStage_); return result == null ? com.google.api.LaunchStage.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -641,7 +556,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_); @@ -687,26 +603,27 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } for (int i = 0; i < labels_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, labels_.get(i)); } { int dataSize = 0; for (int i = 0; i < supportedTiers_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(supportedTiers_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(supportedTiers_.get(i)); } size += dataSize; - if (!getSupportedTiersList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - supportedTiersMemoizedSerializedSize = dataSize; + if (!getSupportedTiersList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }supportedTiersMemoizedSerializedSize = dataSize; } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_); } if (launchStage_ != com.google.api.LaunchStage.LAUNCH_STAGE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, launchStage_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, launchStage_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -716,19 +633,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.monitoring.v3.NotificationChannelDescriptor)) { return super.equals(obj); } - com.google.monitoring.v3.NotificationChannelDescriptor other = - (com.google.monitoring.v3.NotificationChannelDescriptor) obj; - - if (!getName().equals(other.getName())) return false; - if (!getType().equals(other.getType())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getLabelsList().equals(other.getLabelsList())) return false; + com.google.monitoring.v3.NotificationChannelDescriptor other = (com.google.monitoring.v3.NotificationChannelDescriptor) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getType() + .equals(other.getType())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getLabelsList() + .equals(other.getLabelsList())) return false; if (!supportedTiers_.equals(other.supportedTiers_)) return false; if (launchStage_ != other.launchStage_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -766,104 +687,96 @@ public int hashCode() { } public static com.google.monitoring.v3.NotificationChannelDescriptor parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.NotificationChannelDescriptor parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.NotificationChannelDescriptor parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.NotificationChannelDescriptor parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.NotificationChannelDescriptor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.NotificationChannelDescriptor parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.NotificationChannelDescriptor parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.NotificationChannelDescriptor parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.NotificationChannelDescriptor parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.NotificationChannelDescriptor parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.NotificationChannelDescriptor parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.NotificationChannelDescriptor parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.NotificationChannelDescriptor parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.NotificationChannelDescriptor parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.NotificationChannelDescriptor prototype) { + public static Builder newBuilder(com.google.monitoring.v3.NotificationChannelDescriptor prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 description of a notification channel. The descriptor includes
    * the properties of the channel and the set of labels or fields that
@@ -872,23 +785,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.monitoring.v3.NotificationChannelDescriptor}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.NotificationChannelDescriptor)
       com.google.monitoring.v3.NotificationChannelDescriptorOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.monitoring.v3.NotificationProto
-          .internal_static_google_monitoring_v3_NotificationChannelDescriptor_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.monitoring.v3.NotificationProto.internal_static_google_monitoring_v3_NotificationChannelDescriptor_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.NotificationProto
-          .internal_static_google_monitoring_v3_NotificationChannelDescriptor_fieldAccessorTable
+      return com.google.monitoring.v3.NotificationProto.internal_static_google_monitoring_v3_NotificationChannelDescriptor_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.NotificationChannelDescriptor.class,
-              com.google.monitoring.v3.NotificationChannelDescriptor.Builder.class);
+              com.google.monitoring.v3.NotificationChannelDescriptor.class, com.google.monitoring.v3.NotificationChannelDescriptor.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.NotificationChannelDescriptor.newBuilder()
@@ -896,17 +807,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getLabelsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -932,9 +843,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.monitoring.v3.NotificationProto
-          .internal_static_google_monitoring_v3_NotificationChannelDescriptor_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.monitoring.v3.NotificationProto.internal_static_google_monitoring_v3_NotificationChannelDescriptor_descriptor;
     }
 
     @java.lang.Override
@@ -953,8 +864,7 @@ public com.google.monitoring.v3.NotificationChannelDescriptor build() {
 
     @java.lang.Override
     public com.google.monitoring.v3.NotificationChannelDescriptor buildPartial() {
-      com.google.monitoring.v3.NotificationChannelDescriptor result =
-          new com.google.monitoring.v3.NotificationChannelDescriptor(this);
+      com.google.monitoring.v3.NotificationChannelDescriptor result = new com.google.monitoring.v3.NotificationChannelDescriptor(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.type_ = type_;
@@ -983,39 +893,38 @@ public com.google.monitoring.v3.NotificationChannelDescriptor 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.monitoring.v3.NotificationChannelDescriptor) {
-        return mergeFrom((com.google.monitoring.v3.NotificationChannelDescriptor) other);
+        return mergeFrom((com.google.monitoring.v3.NotificationChannelDescriptor)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1023,8 +932,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.monitoring.v3.NotificationChannelDescriptor other) {
-      if (other == com.google.monitoring.v3.NotificationChannelDescriptor.getDefaultInstance())
-        return this;
+      if (other == com.google.monitoring.v3.NotificationChannelDescriptor.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -1059,10 +967,9 @@ public Builder mergeFrom(com.google.monitoring.v3.NotificationChannelDescriptor
             labelsBuilder_ = null;
             labels_ = other.labels_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            labelsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getLabelsFieldBuilder()
-                    : null;
+            labelsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getLabelsFieldBuilder() : null;
           } else {
             labelsBuilder_.addAllMessages(other.labels_);
           }
@@ -1100,8 +1007,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.monitoring.v3.NotificationChannelDescriptor) e.getUnfinishedMessage();
+        parsedMessage = (com.google.monitoring.v3.NotificationChannelDescriptor) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1110,13 +1016,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The full REST resource name for this descriptor. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[TYPE]
@@ -1124,13 +1027,13 @@ public Builder mergeFrom(
      * 
* * string name = 6; - * * @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; @@ -1139,8 +1042,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The full REST resource name for this descriptor. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[TYPE]
@@ -1148,14 +1049,15 @@ public java.lang.String getName() {
      * 
* * string name = 6; - * * @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 { @@ -1163,8 +1065,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The full REST resource name for this descriptor. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[TYPE]
@@ -1172,22 +1072,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 6; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The full REST resource name for this descriptor. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[TYPE]
@@ -1195,18 +1093,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 6; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The full REST resource name for this descriptor. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[TYPE]
@@ -1214,16 +1109,16 @@ public Builder clearName() {
      * 
* * string name = 6; - * * @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; @@ -1231,8 +1126,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object type_ = ""; /** - * - * *
      * The type of notification channel, such as "email" and "sms". To view the
      * full list of channels, see
@@ -1242,13 +1135,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string type = 1; - * * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; @@ -1257,8 +1150,6 @@ public java.lang.String getType() { } } /** - * - * *
      * The type of notification channel, such as "email" and "sms". To view the
      * full list of channels, see
@@ -1268,14 +1159,15 @@ public java.lang.String getType() {
      * 
* * string type = 1; - * * @return The bytes for type. */ - public com.google.protobuf.ByteString getTypeBytes() { + public com.google.protobuf.ByteString + getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); type_ = b; return b; } else { @@ -1283,8 +1175,6 @@ public com.google.protobuf.ByteString getTypeBytes() { } } /** - * - * *
      * The type of notification channel, such as "email" and "sms". To view the
      * full list of channels, see
@@ -1294,22 +1184,20 @@ public com.google.protobuf.ByteString getTypeBytes() {
      * 
* * string type = 1; - * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType(java.lang.String value) { + public Builder setType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + type_ = value; onChanged(); return this; } /** - * - * *
      * The type of notification channel, such as "email" and "sms". To view the
      * full list of channels, see
@@ -1319,18 +1207,15 @@ public Builder setType(java.lang.String value) {
      * 
* * string type = 1; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = getDefaultInstance().getType(); onChanged(); return this; } /** - * - * *
      * The type of notification channel, such as "email" and "sms". To view the
      * full list of channels, see
@@ -1340,16 +1225,16 @@ public Builder clearType() {
      * 
* * string type = 1; - * * @param value The bytes for type to set. * @return This builder for chaining. */ - public Builder setTypeBytes(com.google.protobuf.ByteString value) { + public Builder setTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + type_ = value; onChanged(); return this; @@ -1357,21 +1242,19 @@ public Builder setTypeBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * A human-readable name for the notification channel type.  This
      * form of the name is suitable for a user interface.
      * 
* * string display_name = 2; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1380,22 +1263,21 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * A human-readable name for the notification channel type.  This
      * form of the name is suitable for a user interface.
      * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1403,64 +1285,57 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * A human-readable name for the notification channel type.  This
      * form of the name is suitable for a user interface.
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * A human-readable name for the notification channel type.  This
      * form of the name is suitable for a user interface.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * A human-readable name for the notification channel type.  This
      * form of the name is suitable for a user interface.
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1468,8 +1343,6 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * A human-readable description of the notification channel
      * type. The description may include a description of the properties
@@ -1477,13 +1350,13 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string description = 3; - * * @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; @@ -1492,8 +1365,6 @@ public java.lang.String getDescription() { } } /** - * - * *
      * A human-readable description of the notification channel
      * type. The description may include a description of the properties
@@ -1501,14 +1372,15 @@ public java.lang.String getDescription() {
      * 
* * string description = 3; - * * @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 { @@ -1516,8 +1388,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * A human-readable description of the notification channel
      * type. The description may include a description of the properties
@@ -1525,22 +1395,20 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
      * 
* * string description = 3; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * A human-readable description of the notification channel
      * type. The description may include a description of the properties
@@ -1548,18 +1416,15 @@ public Builder setDescription(java.lang.String value) {
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * A human-readable description of the notification channel
      * type. The description may include a description of the properties
@@ -1567,40 +1432,34 @@ public Builder clearDescription() {
      * 
* * string description = 3; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } private java.util.List labels_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureLabelsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { labels_ = new java.util.ArrayList(labels_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.LabelDescriptor, - com.google.api.LabelDescriptor.Builder, - com.google.api.LabelDescriptorOrBuilder> - labelsBuilder_; + com.google.api.LabelDescriptor, com.google.api.LabelDescriptor.Builder, com.google.api.LabelDescriptorOrBuilder> labelsBuilder_; /** - * - * *
      * The set of labels that must be defined to identify a particular
      * channel of the corresponding type. Each label includes a
@@ -1617,8 +1476,6 @@ public java.util.List getLabelsList() {
       }
     }
     /**
-     *
-     *
      * 
      * The set of labels that must be defined to identify a particular
      * channel of the corresponding type. Each label includes a
@@ -1635,8 +1492,6 @@ public int getLabelsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The set of labels that must be defined to identify a particular
      * channel of the corresponding type. Each label includes a
@@ -1653,8 +1508,6 @@ public com.google.api.LabelDescriptor getLabels(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The set of labels that must be defined to identify a particular
      * channel of the corresponding type. Each label includes a
@@ -1663,7 +1516,8 @@ public com.google.api.LabelDescriptor getLabels(int index) {
      *
      * repeated .google.api.LabelDescriptor labels = 4;
      */
-    public Builder setLabels(int index, com.google.api.LabelDescriptor value) {
+    public Builder setLabels(
+        int index, com.google.api.LabelDescriptor value) {
       if (labelsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1677,8 +1531,6 @@ public Builder setLabels(int index, com.google.api.LabelDescriptor value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The set of labels that must be defined to identify a particular
      * channel of the corresponding type. Each label includes a
@@ -1687,7 +1539,8 @@ public Builder setLabels(int index, com.google.api.LabelDescriptor value) {
      *
      * repeated .google.api.LabelDescriptor labels = 4;
      */
-    public Builder setLabels(int index, com.google.api.LabelDescriptor.Builder builderForValue) {
+    public Builder setLabels(
+        int index, com.google.api.LabelDescriptor.Builder builderForValue) {
       if (labelsBuilder_ == null) {
         ensureLabelsIsMutable();
         labels_.set(index, builderForValue.build());
@@ -1698,8 +1551,6 @@ public Builder setLabels(int index, com.google.api.LabelDescriptor.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * The set of labels that must be defined to identify a particular
      * channel of the corresponding type. Each label includes a
@@ -1722,8 +1573,6 @@ public Builder addLabels(com.google.api.LabelDescriptor value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The set of labels that must be defined to identify a particular
      * channel of the corresponding type. Each label includes a
@@ -1732,7 +1581,8 @@ public Builder addLabels(com.google.api.LabelDescriptor value) {
      *
      * repeated .google.api.LabelDescriptor labels = 4;
      */
-    public Builder addLabels(int index, com.google.api.LabelDescriptor value) {
+    public Builder addLabels(
+        int index, com.google.api.LabelDescriptor value) {
       if (labelsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1746,8 +1596,6 @@ public Builder addLabels(int index, com.google.api.LabelDescriptor value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The set of labels that must be defined to identify a particular
      * channel of the corresponding type. Each label includes a
@@ -1756,7 +1604,8 @@ public Builder addLabels(int index, com.google.api.LabelDescriptor value) {
      *
      * repeated .google.api.LabelDescriptor labels = 4;
      */
-    public Builder addLabels(com.google.api.LabelDescriptor.Builder builderForValue) {
+    public Builder addLabels(
+        com.google.api.LabelDescriptor.Builder builderForValue) {
       if (labelsBuilder_ == null) {
         ensureLabelsIsMutable();
         labels_.add(builderForValue.build());
@@ -1767,8 +1616,6 @@ public Builder addLabels(com.google.api.LabelDescriptor.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The set of labels that must be defined to identify a particular
      * channel of the corresponding type. Each label includes a
@@ -1777,7 +1624,8 @@ public Builder addLabels(com.google.api.LabelDescriptor.Builder builderForValue)
      *
      * repeated .google.api.LabelDescriptor labels = 4;
      */
-    public Builder addLabels(int index, com.google.api.LabelDescriptor.Builder builderForValue) {
+    public Builder addLabels(
+        int index, com.google.api.LabelDescriptor.Builder builderForValue) {
       if (labelsBuilder_ == null) {
         ensureLabelsIsMutable();
         labels_.add(index, builderForValue.build());
@@ -1788,8 +1636,6 @@ public Builder addLabels(int index, com.google.api.LabelDescriptor.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * The set of labels that must be defined to identify a particular
      * channel of the corresponding type. Each label includes a
@@ -1802,7 +1648,8 @@ public Builder addAllLabels(
         java.lang.Iterable values) {
       if (labelsBuilder_ == null) {
         ensureLabelsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, labels_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, labels_);
         onChanged();
       } else {
         labelsBuilder_.addAllMessages(values);
@@ -1810,8 +1657,6 @@ public Builder addAllLabels(
       return this;
     }
     /**
-     *
-     *
      * 
      * The set of labels that must be defined to identify a particular
      * channel of the corresponding type. Each label includes a
@@ -1831,8 +1676,6 @@ public Builder clearLabels() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The set of labels that must be defined to identify a particular
      * channel of the corresponding type. Each label includes a
@@ -1852,8 +1695,6 @@ public Builder removeLabels(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The set of labels that must be defined to identify a particular
      * channel of the corresponding type. Each label includes a
@@ -1862,12 +1703,11 @@ public Builder removeLabels(int index) {
      *
      * repeated .google.api.LabelDescriptor labels = 4;
      */
-    public com.google.api.LabelDescriptor.Builder getLabelsBuilder(int index) {
+    public com.google.api.LabelDescriptor.Builder getLabelsBuilder(
+        int index) {
       return getLabelsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The set of labels that must be defined to identify a particular
      * channel of the corresponding type. Each label includes a
@@ -1876,16 +1716,14 @@ public com.google.api.LabelDescriptor.Builder getLabelsBuilder(int index) {
      *
      * repeated .google.api.LabelDescriptor labels = 4;
      */
-    public com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(int index) {
+    public com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(
+        int index) {
       if (labelsBuilder_ == null) {
-        return labels_.get(index);
-      } else {
+        return labels_.get(index);  } else {
         return labelsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The set of labels that must be defined to identify a particular
      * channel of the corresponding type. Each label includes a
@@ -1894,8 +1732,8 @@ public com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(int index) {
      *
      * repeated .google.api.LabelDescriptor labels = 4;
      */
-    public java.util.List
-        getLabelsOrBuilderList() {
+    public java.util.List 
+         getLabelsOrBuilderList() {
       if (labelsBuilder_ != null) {
         return labelsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1903,8 +1741,6 @@ public com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The set of labels that must be defined to identify a particular
      * channel of the corresponding type. Each label includes a
@@ -1914,12 +1750,10 @@ public com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(int index) {
      * repeated .google.api.LabelDescriptor labels = 4;
      */
     public com.google.api.LabelDescriptor.Builder addLabelsBuilder() {
-      return getLabelsFieldBuilder()
-          .addBuilder(com.google.api.LabelDescriptor.getDefaultInstance());
+      return getLabelsFieldBuilder().addBuilder(
+          com.google.api.LabelDescriptor.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The set of labels that must be defined to identify a particular
      * channel of the corresponding type. Each label includes a
@@ -1928,13 +1762,12 @@ public com.google.api.LabelDescriptor.Builder addLabelsBuilder() {
      *
      * repeated .google.api.LabelDescriptor labels = 4;
      */
-    public com.google.api.LabelDescriptor.Builder addLabelsBuilder(int index) {
-      return getLabelsFieldBuilder()
-          .addBuilder(index, com.google.api.LabelDescriptor.getDefaultInstance());
+    public com.google.api.LabelDescriptor.Builder addLabelsBuilder(
+        int index) {
+      return getLabelsFieldBuilder().addBuilder(
+          index, com.google.api.LabelDescriptor.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The set of labels that must be defined to identify a particular
      * channel of the corresponding type. Each label includes a
@@ -1943,29 +1776,27 @@ public com.google.api.LabelDescriptor.Builder addLabelsBuilder(int index) {
      *
      * repeated .google.api.LabelDescriptor labels = 4;
      */
-    public java.util.List getLabelsBuilderList() {
+    public java.util.List 
+         getLabelsBuilderList() {
       return getLabelsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.api.LabelDescriptor,
-            com.google.api.LabelDescriptor.Builder,
-            com.google.api.LabelDescriptorOrBuilder>
+        com.google.api.LabelDescriptor, com.google.api.LabelDescriptor.Builder, com.google.api.LabelDescriptorOrBuilder> 
         getLabelsFieldBuilder() {
       if (labelsBuilder_ == null) {
-        labelsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.api.LabelDescriptor,
-                com.google.api.LabelDescriptor.Builder,
-                com.google.api.LabelDescriptorOrBuilder>(
-                labels_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        labelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.api.LabelDescriptor, com.google.api.LabelDescriptor.Builder, com.google.api.LabelDescriptorOrBuilder>(
+                labels_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         labels_ = null;
       }
       return labelsBuilder_;
     }
 
-    private java.util.List supportedTiers_ = java.util.Collections.emptyList();
-
+    private java.util.List supportedTiers_ =
+      java.util.Collections.emptyList();
     private void ensureSupportedTiersIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         supportedTiers_ = new java.util.ArrayList(supportedTiers_);
@@ -1973,76 +1804,56 @@ private void ensureSupportedTiersIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * The tiers that support this notification channel; the project service tier
      * must be one of the supported_tiers.
      * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; - * - * + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; * @return A list containing the supportedTiers. */ - @java.lang.Deprecated - public java.util.List getSupportedTiersList() { + @java.lang.Deprecated public java.util.List getSupportedTiersList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.monitoring.v3.ServiceTier>( - supportedTiers_, supportedTiers_converter_); + java.lang.Integer, com.google.monitoring.v3.ServiceTier>(supportedTiers_, supportedTiers_converter_); } /** - * - * *
      * The tiers that support this notification channel; the project service tier
      * must be one of the supported_tiers.
      * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; - * - * + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; * @return The count of supportedTiers. */ - @java.lang.Deprecated - public int getSupportedTiersCount() { + @java.lang.Deprecated public int getSupportedTiersCount() { return supportedTiers_.size(); } /** - * - * *
      * The tiers that support this notification channel; the project service tier
      * must be one of the supported_tiers.
      * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; - * - * + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; * @param index The index of the element to return. * @return The supportedTiers at the given index. */ - @java.lang.Deprecated - public com.google.monitoring.v3.ServiceTier getSupportedTiers(int index) { + @java.lang.Deprecated public com.google.monitoring.v3.ServiceTier getSupportedTiers(int index) { return supportedTiers_converter_.convert(supportedTiers_.get(index)); } /** - * - * *
      * The tiers that support this notification channel; the project service tier
      * must be one of the supported_tiers.
      * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; - * - * + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; * @param index The index to set the value at. * @param value The supportedTiers to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setSupportedTiers(int index, com.google.monitoring.v3.ServiceTier value) { + @java.lang.Deprecated public Builder setSupportedTiers( + int index, com.google.monitoring.v3.ServiceTier value) { if (value == null) { throw new NullPointerException(); } @@ -2052,21 +1863,16 @@ public Builder setSupportedTiers(int index, com.google.monitoring.v3.ServiceTier return this; } /** - * - * *
      * The tiers that support this notification channel; the project service tier
      * must be one of the supported_tiers.
      * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; - * - * + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; * @param value The supportedTiers to add. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder addSupportedTiers(com.google.monitoring.v3.ServiceTier value) { + @java.lang.Deprecated public Builder addSupportedTiers(com.google.monitoring.v3.ServiceTier value) { if (value == null) { throw new NullPointerException(); } @@ -2076,21 +1882,16 @@ public Builder addSupportedTiers(com.google.monitoring.v3.ServiceTier value) { return this; } /** - * - * *
      * The tiers that support this notification channel; the project service tier
      * must be one of the supported_tiers.
      * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; - * - * + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; * @param values The supportedTiers to add. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder addAllSupportedTiers( + @java.lang.Deprecated public Builder addAllSupportedTiers( java.lang.Iterable values) { ensureSupportedTiersIsMutable(); for (com.google.monitoring.v3.ServiceTier value : values) { @@ -2100,119 +1901,92 @@ public Builder addAllSupportedTiers( return this; } /** - * - * *
      * The tiers that support this notification channel; the project service tier
      * must be one of the supported_tiers.
      * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; - * - * + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearSupportedTiers() { + @java.lang.Deprecated public Builder clearSupportedTiers() { supportedTiers_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** - * - * *
      * The tiers that support this notification channel; the project service tier
      * must be one of the supported_tiers.
      * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; - * - * + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; * @return A list containing the enum numeric values on the wire for supportedTiers. */ - @java.lang.Deprecated - public java.util.List getSupportedTiersValueList() { + @java.lang.Deprecated public java.util.List + getSupportedTiersValueList() { return java.util.Collections.unmodifiableList(supportedTiers_); } /** - * - * *
      * The tiers that support this notification channel; the project service tier
      * must be one of the supported_tiers.
      * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; - * - * + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedTiers at the given index. */ - @java.lang.Deprecated - public int getSupportedTiersValue(int index) { + @java.lang.Deprecated public int getSupportedTiersValue(int index) { return supportedTiers_.get(index); } /** - * - * *
      * The tiers that support this notification channel; the project service tier
      * must be one of the supported_tiers.
      * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; - * - * + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedTiers at the given index. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setSupportedTiersValue(int index, int value) { + @java.lang.Deprecated public Builder setSupportedTiersValue( + int index, int value) { ensureSupportedTiersIsMutable(); supportedTiers_.set(index, value); onChanged(); return this; } /** - * - * *
      * The tiers that support this notification channel; the project service tier
      * must be one of the supported_tiers.
      * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; - * - * + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; * @param value The enum numeric value on the wire for supportedTiers to add. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder addSupportedTiersValue(int value) { + @java.lang.Deprecated public Builder addSupportedTiersValue(int value) { ensureSupportedTiersIsMutable(); supportedTiers_.add(value); onChanged(); return this; } /** - * - * *
      * The tiers that support this notification channel; the project service tier
      * must be one of the supported_tiers.
      * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; - * - * + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; * @param values The enum numeric values on the wire for supportedTiers to add. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder addAllSupportedTiersValue(java.lang.Iterable values) { + @java.lang.Deprecated public Builder addAllSupportedTiersValue( + java.lang.Iterable values) { ensureSupportedTiersIsMutable(); for (int value : values) { supportedTiers_.add(value); @@ -2223,47 +1997,37 @@ public Builder addAllSupportedTiersValue(java.lang.Iterable v private int launchStage_ = 0; /** - * - * *
      * The product launch stage for channels of this type.
      * 
* * .google.api.LaunchStage launch_stage = 7; - * * @return The enum numeric value on the wire for launchStage. */ - @java.lang.Override - public int getLaunchStageValue() { + @java.lang.Override public int getLaunchStageValue() { return launchStage_; } /** - * - * *
      * The product launch stage for channels of this type.
      * 
* * .google.api.LaunchStage launch_stage = 7; - * * @param value The enum numeric value on the wire for launchStage to set. * @return This builder for chaining. */ public Builder setLaunchStageValue(int value) { - + launchStage_ = value; onChanged(); return this; } /** - * - * *
      * The product launch stage for channels of this type.
      * 
* * .google.api.LaunchStage launch_stage = 7; - * * @return The launchStage. */ @java.lang.Override @@ -2273,14 +2037,11 @@ public com.google.api.LaunchStage getLaunchStage() { return result == null ? com.google.api.LaunchStage.UNRECOGNIZED : result; } /** - * - * *
      * The product launch stage for channels of this type.
      * 
* * .google.api.LaunchStage launch_stage = 7; - * * @param value The launchStage to set. * @return This builder for chaining. */ @@ -2288,31 +2049,28 @@ public Builder setLaunchStage(com.google.api.LaunchStage value) { if (value == null) { throw new NullPointerException(); } - + launchStage_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The product launch stage for channels of this type.
      * 
* * .google.api.LaunchStage launch_stage = 7; - * * @return This builder for chaining. */ public Builder clearLaunchStage() { - + launchStage_ = 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); } @@ -2322,12 +2080,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.NotificationChannelDescriptor) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.NotificationChannelDescriptor) private static final com.google.monitoring.v3.NotificationChannelDescriptor DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.NotificationChannelDescriptor(); } @@ -2336,16 +2094,16 @@ public static com.google.monitoring.v3.NotificationChannelDescriptor getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NotificationChannelDescriptor parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NotificationChannelDescriptor(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NotificationChannelDescriptor parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NotificationChannelDescriptor(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2360,4 +2118,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.monitoring.v3.NotificationChannelDescriptor getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptorName.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptorName.java similarity index 100% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptorName.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptorName.java diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptorOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptorOrBuilder.java similarity index 77% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptorOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptorOrBuilder.java index 40f0655e..3adc9be6 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptorOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptorOrBuilder.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/monitoring/v3/notification.proto package com.google.monitoring.v3; -public interface NotificationChannelDescriptorOrBuilder - extends +public interface NotificationChannelDescriptorOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.NotificationChannelDescriptor) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The full REST resource name for this descriptor. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[TYPE]
@@ -33,13 +15,10 @@ public interface NotificationChannelDescriptorOrBuilder
    * 
* * string name = 6; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The full REST resource name for this descriptor. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[TYPE]
@@ -47,14 +26,12 @@ public interface NotificationChannelDescriptorOrBuilder
    * 
* * string name = 6; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The type of notification channel, such as "email" and "sms". To view the
    * full list of channels, see
@@ -64,13 +41,10 @@ public interface NotificationChannelDescriptorOrBuilder
    * 
* * string type = 1; - * * @return The type. */ java.lang.String getType(); /** - * - * *
    * The type of notification channel, such as "email" and "sms". To view the
    * full list of channels, see
@@ -80,41 +54,34 @@ public interface NotificationChannelDescriptorOrBuilder
    * 
* * string type = 1; - * * @return The bytes for type. */ - com.google.protobuf.ByteString getTypeBytes(); + com.google.protobuf.ByteString + getTypeBytes(); /** - * - * *
    * A human-readable name for the notification channel type.  This
    * form of the name is suitable for a user interface.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * A human-readable name for the notification channel type.  This
    * form of the name is suitable for a user interface.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * A human-readable description of the notification channel
    * type. The description may include a description of the properties
@@ -122,13 +89,10 @@ public interface NotificationChannelDescriptorOrBuilder
    * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * A human-readable description of the notification channel
    * type. The description may include a description of the properties
@@ -136,14 +100,12 @@ public interface NotificationChannelDescriptorOrBuilder
    * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * The set of labels that must be defined to identify a particular
    * channel of the corresponding type. Each label includes a
@@ -152,10 +114,9 @@ public interface NotificationChannelDescriptorOrBuilder
    *
    * repeated .google.api.LabelDescriptor labels = 4;
    */
-  java.util.List getLabelsList();
+  java.util.List 
+      getLabelsList();
   /**
-   *
-   *
    * 
    * The set of labels that must be defined to identify a particular
    * channel of the corresponding type. Each label includes a
@@ -166,8 +127,6 @@ public interface NotificationChannelDescriptorOrBuilder
    */
   com.google.api.LabelDescriptor getLabels(int index);
   /**
-   *
-   *
    * 
    * The set of labels that must be defined to identify a particular
    * channel of the corresponding type. Each label includes a
@@ -178,8 +137,6 @@ public interface NotificationChannelDescriptorOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * The set of labels that must be defined to identify a particular
    * channel of the corresponding type. Each label includes a
@@ -188,10 +145,9 @@ public interface NotificationChannelDescriptorOrBuilder
    *
    * repeated .google.api.LabelDescriptor labels = 4;
    */
-  java.util.List getLabelsOrBuilderList();
+  java.util.List 
+      getLabelsOrBuilderList();
   /**
-   *
-   *
    * 
    * The set of labels that must be defined to identify a particular
    * channel of the corresponding type. Each label includes a
@@ -200,107 +156,78 @@ public interface NotificationChannelDescriptorOrBuilder
    *
    * repeated .google.api.LabelDescriptor labels = 4;
    */
-  com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(int index);
+  com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * The tiers that support this notification channel; the project service tier
    * must be one of the supported_tiers.
    * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; - * - * + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; * @return A list containing the supportedTiers. */ - @java.lang.Deprecated - java.util.List getSupportedTiersList(); + @java.lang.Deprecated java.util.List getSupportedTiersList(); /** - * - * *
    * The tiers that support this notification channel; the project service tier
    * must be one of the supported_tiers.
    * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; - * - * + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; * @return The count of supportedTiers. */ - @java.lang.Deprecated - int getSupportedTiersCount(); + @java.lang.Deprecated int getSupportedTiersCount(); /** - * - * *
    * The tiers that support this notification channel; the project service tier
    * must be one of the supported_tiers.
    * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; - * - * + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; * @param index The index of the element to return. * @return The supportedTiers at the given index. */ - @java.lang.Deprecated - com.google.monitoring.v3.ServiceTier getSupportedTiers(int index); + @java.lang.Deprecated com.google.monitoring.v3.ServiceTier getSupportedTiers(int index); /** - * - * *
    * The tiers that support this notification channel; the project service tier
    * must be one of the supported_tiers.
    * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; - * - * + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; * @return A list containing the enum numeric values on the wire for supportedTiers. */ - @java.lang.Deprecated - java.util.List getSupportedTiersValueList(); + @java.lang.Deprecated java.util.List + getSupportedTiersValueList(); /** - * - * *
    * The tiers that support this notification channel; the project service tier
    * must be one of the supported_tiers.
    * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; - * - * + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedTiers at the given index. */ - @java.lang.Deprecated - int getSupportedTiersValue(int index); + @java.lang.Deprecated int getSupportedTiersValue(int index); /** - * - * *
    * The product launch stage for channels of this type.
    * 
* * .google.api.LaunchStage launch_stage = 7; - * * @return The enum numeric value on the wire for launchStage. */ int getLaunchStageValue(); /** - * - * *
    * The product launch stage for channels of this type.
    * 
* * .google.api.LaunchStage launch_stage = 7; - * * @return The launchStage. */ com.google.api.LaunchStage getLaunchStage(); diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelName.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelName.java similarity index 100% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelName.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelName.java diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelOrBuilder.java similarity index 87% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelOrBuilder.java index c7012842..e6cb7690 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/notification.proto package com.google.monitoring.v3; -public interface NotificationChannelOrBuilder - extends +public interface NotificationChannelOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.NotificationChannel) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The type of the notification channel. This field matches the
    * value of the [NotificationChannelDescriptor.type][google.monitoring.v3.NotificationChannelDescriptor.type] field.
    * 
* * string type = 1; - * * @return The type. */ java.lang.String getType(); /** - * - * *
    * The type of the notification channel. This field matches the
    * value of the [NotificationChannelDescriptor.type][google.monitoring.v3.NotificationChannelDescriptor.type] field.
    * 
* * string type = 1; - * * @return The bytes for type. */ - com.google.protobuf.ByteString getTypeBytes(); + com.google.protobuf.ByteString + getTypeBytes(); /** - * - * *
    * The full REST resource name for this channel. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
@@ -60,13 +37,10 @@ public interface NotificationChannelOrBuilder
    * 
* * string name = 6; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The full REST resource name for this channel. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
@@ -74,14 +48,12 @@ public interface NotificationChannelOrBuilder
    * 
* * string name = 6; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * An optional human-readable name for this notification channel. It is
    * recommended that you specify a non-empty and unique name in order to
@@ -90,13 +62,10 @@ public interface NotificationChannelOrBuilder
    * 
* * string display_name = 3; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * An optional human-readable name for this notification channel. It is
    * recommended that you specify a non-empty and unique name in order to
@@ -105,14 +74,12 @@ public interface NotificationChannelOrBuilder
    * 
* * string display_name = 3; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * An optional human-readable description of this notification channel. This
    * description may provide additional details, beyond the display
@@ -120,13 +87,10 @@ public interface NotificationChannelOrBuilder
    * 
* * string description = 4; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * An optional human-readable description of this notification channel. This
    * description may provide additional details, beyond the display
@@ -134,14 +98,12 @@ public interface NotificationChannelOrBuilder
    * 
* * string description = 4; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Configuration fields that define the channel and its behavior. The
    * permissible and required labels are specified in the
@@ -153,8 +115,6 @@ public interface NotificationChannelOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * Configuration fields that define the channel and its behavior. The
    * permissible and required labels are specified in the
@@ -164,13 +124,15 @@ public interface NotificationChannelOrBuilder
    *
    * map<string, string> labels = 5;
    */
-  boolean containsLabels(java.lang.String key);
-  /** Use {@link #getLabelsMap()} instead. */
+  boolean containsLabels(
+      java.lang.String key);
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getLabels();
+  java.util.Map
+  getLabels();
   /**
-   *
-   *
    * 
    * Configuration fields that define the channel and its behavior. The
    * permissible and required labels are specified in the
@@ -180,10 +142,9 @@ public interface NotificationChannelOrBuilder
    *
    * map<string, string> labels = 5;
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * Configuration fields that define the channel and its behavior. The
    * permissible and required labels are specified in the
@@ -193,10 +154,11 @@ public interface NotificationChannelOrBuilder
    *
    * map<string, string> labels = 5;
    */
-  java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue);
+
+  java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Configuration fields that define the channel and its behavior. The
    * permissible and required labels are specified in the
@@ -206,11 +168,11 @@ public interface NotificationChannelOrBuilder
    *
    * map<string, string> labels = 5;
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * User-supplied key/value data that does not need to conform to
    * the corresponding `NotificationChannelDescriptor`'s schema, unlike
@@ -226,8 +188,6 @@ public interface NotificationChannelOrBuilder
    */
   int getUserLabelsCount();
   /**
-   *
-   *
    * 
    * User-supplied key/value data that does not need to conform to
    * the corresponding `NotificationChannelDescriptor`'s schema, unlike
@@ -241,13 +201,15 @@ public interface NotificationChannelOrBuilder
    *
    * map<string, string> user_labels = 8;
    */
-  boolean containsUserLabels(java.lang.String key);
-  /** Use {@link #getUserLabelsMap()} instead. */
+  boolean containsUserLabels(
+      java.lang.String key);
+  /**
+   * Use {@link #getUserLabelsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getUserLabels();
+  java.util.Map
+  getUserLabels();
   /**
-   *
-   *
    * 
    * User-supplied key/value data that does not need to conform to
    * the corresponding `NotificationChannelDescriptor`'s schema, unlike
@@ -261,10 +223,9 @@ public interface NotificationChannelOrBuilder
    *
    * map<string, string> user_labels = 8;
    */
-  java.util.Map getUserLabelsMap();
+  java.util.Map
+  getUserLabelsMap();
   /**
-   *
-   *
    * 
    * User-supplied key/value data that does not need to conform to
    * the corresponding `NotificationChannelDescriptor`'s schema, unlike
@@ -278,10 +239,11 @@ public interface NotificationChannelOrBuilder
    *
    * map<string, string> user_labels = 8;
    */
-  java.lang.String getUserLabelsOrDefault(java.lang.String key, java.lang.String defaultValue);
+
+  java.lang.String getUserLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * User-supplied key/value data that does not need to conform to
    * the corresponding `NotificationChannelDescriptor`'s schema, unlike
@@ -295,11 +257,11 @@ public interface NotificationChannelOrBuilder
    *
    * map<string, string> user_labels = 8;
    */
-  java.lang.String getUserLabelsOrThrow(java.lang.String key);
+
+  java.lang.String getUserLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Indicates whether this channel has been verified or not. On a
    * [`ListNotificationChannels`][google.monitoring.v3.NotificationChannelService.ListNotificationChannels]
@@ -319,15 +281,11 @@ public interface NotificationChannelOrBuilder
    * [`VerifyNotificationChannel`][google.monitoring.v3.NotificationChannelService.VerifyNotificationChannel].
    * 
* - * .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9; - * - * + * .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9; * @return The enum numeric value on the wire for verificationStatus. */ int getVerificationStatusValue(); /** - * - * *
    * Indicates whether this channel has been verified or not. On a
    * [`ListNotificationChannels`][google.monitoring.v3.NotificationChannelService.ListNotificationChannels]
@@ -347,16 +305,12 @@ public interface NotificationChannelOrBuilder
    * [`VerifyNotificationChannel`][google.monitoring.v3.NotificationChannelService.VerifyNotificationChannel].
    * 
* - * .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9; - * - * + * .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9; * @return The verificationStatus. */ com.google.monitoring.v3.NotificationChannel.VerificationStatus getVerificationStatus(); /** - * - * *
    * Whether notifications are forwarded to the described channel. This makes
    * it possible to disable delivery of notifications to a particular channel
@@ -367,13 +321,10 @@ public interface NotificationChannelOrBuilder
    * 
* * .google.protobuf.BoolValue enabled = 11; - * * @return Whether the enabled field is set. */ boolean hasEnabled(); /** - * - * *
    * Whether notifications are forwarded to the described channel. This makes
    * it possible to disable delivery of notifications to a particular channel
@@ -384,13 +335,10 @@ public interface NotificationChannelOrBuilder
    * 
* * .google.protobuf.BoolValue enabled = 11; - * * @return The enabled. */ com.google.protobuf.BoolValue getEnabled(); /** - * - * *
    * Whether notifications are forwarded to the described channel. This makes
    * it possible to disable delivery of notifications to a particular channel
@@ -405,32 +353,24 @@ public interface NotificationChannelOrBuilder
   com.google.protobuf.BoolValueOrBuilder getEnabledOrBuilder();
 
   /**
-   *
-   *
    * 
    * Record of the creation of this channel.
    * 
* * .google.monitoring.v3.MutationRecord creation_record = 12; - * * @return Whether the creationRecord field is set. */ boolean hasCreationRecord(); /** - * - * *
    * Record of the creation of this channel.
    * 
* * .google.monitoring.v3.MutationRecord creation_record = 12; - * * @return The creationRecord. */ com.google.monitoring.v3.MutationRecord getCreationRecord(); /** - * - * *
    * Record of the creation of this channel.
    * 
@@ -440,18 +380,15 @@ public interface NotificationChannelOrBuilder com.google.monitoring.v3.MutationRecordOrBuilder getCreationRecordOrBuilder(); /** - * - * *
    * Records of the modification of this channel.
    * 
* * repeated .google.monitoring.v3.MutationRecord mutation_records = 13; */ - java.util.List getMutationRecordsList(); + java.util.List + getMutationRecordsList(); /** - * - * *
    * Records of the modification of this channel.
    * 
@@ -460,8 +397,6 @@ public interface NotificationChannelOrBuilder */ com.google.monitoring.v3.MutationRecord getMutationRecords(int index); /** - * - * *
    * Records of the modification of this channel.
    * 
@@ -470,24 +405,21 @@ public interface NotificationChannelOrBuilder */ int getMutationRecordsCount(); /** - * - * *
    * Records of the modification of this channel.
    * 
* * repeated .google.monitoring.v3.MutationRecord mutation_records = 13; */ - java.util.List + java.util.List getMutationRecordsOrBuilderList(); /** - * - * *
    * Records of the modification of this channel.
    * 
* * repeated .google.monitoring.v3.MutationRecord mutation_records = 13; */ - com.google.monitoring.v3.MutationRecordOrBuilder getMutationRecordsOrBuilder(int index); + com.google.monitoring.v3.MutationRecordOrBuilder getMutationRecordsOrBuilder( + int index); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationProto.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationProto.java new file mode 100644 index 00000000..53d20e0f --- /dev/null +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationProto.java @@ -0,0 +1,145 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/notification.proto + +package com.google.monitoring.v3; + +public final class NotificationProto { + private NotificationProto() {} + 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_monitoring_v3_NotificationChannelDescriptor_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_NotificationChannelDescriptor_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_NotificationChannel_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_NotificationChannel_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_NotificationChannel_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_NotificationChannel_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_NotificationChannel_UserLabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_NotificationChannel_UserLabelsEntry_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/monitoring/v3/notification.prot" + + "o\022\024google.monitoring.v3\032\026google/api/labe" + + "l.proto\032\035google/api/launch_stage.proto\032\031" + + "google/api/resource.proto\032!google/monito" + + "ring/v3/common.proto\032*google/monitoring/" + + "v3/mutation_record.proto\032\036google/protobu" + + "f/wrappers.proto\"\245\004\n\035NotificationChannel" + + "Descriptor\022\014\n\004name\030\006 \001(\t\022\014\n\004type\030\001 \001(\t\022\024" + + "\n\014display_name\030\002 \001(\t\022\023\n\013description\030\003 \001(" + + "\t\022+\n\006labels\030\004 \003(\0132\033.google.api.LabelDesc" + + "riptor\022>\n\017supported_tiers\030\005 \003(\0162!.google" + + ".monitoring.v3.ServiceTierB\002\030\001\022-\n\014launch" + + "_stage\030\007 \001(\0162\027.google.api.LaunchStage:\240\002" + + "\352A\234\002\n7monitoring.googleapis.com/Notifica" + + "tionChannelDescriptor\022Fprojects/{project" + + "}/notificationChannelDescriptors/{channe" + + "l_descriptor}\022Porganizations/{organizati" + + "on}/notificationChannelDescriptors/{chan" + + "nel_descriptor}\022Dfolders/{folder}/notifi" + + "cationChannelDescriptors/{channel_descri" + + "ptor}\022\001*\"\266\007\n\023NotificationChannel\022\014\n\004type" + + "\030\001 \001(\t\022\014\n\004name\030\006 \001(\t\022\024\n\014display_name\030\003 \001" + + "(\t\022\023\n\013description\030\004 \001(\t\022E\n\006labels\030\005 \003(\0132" + + "5.google.monitoring.v3.NotificationChann" + + "el.LabelsEntry\022N\n\013user_labels\030\010 \003(\01329.go" + + "ogle.monitoring.v3.NotificationChannel.U" + + "serLabelsEntry\022Y\n\023verification_status\030\t " + + "\001(\0162<.google.monitoring.v3.NotificationC" + + "hannel.VerificationStatus\022+\n\007enabled\030\013 \001" + + "(\0132\032.google.protobuf.BoolValue\022=\n\017creati" + + "on_record\030\014 \001(\0132$.google.monitoring.v3.M" + + "utationRecord\022>\n\020mutation_records\030\r \003(\0132" + + "$.google.monitoring.v3.MutationRecord\032-\n" + + "\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t" + + ":\0028\001\0321\n\017UserLabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" + + "value\030\002 \001(\t:\0028\001\"W\n\022VerificationStatus\022#\n" + + "\037VERIFICATION_STATUS_UNSPECIFIED\020\000\022\016\n\nUN" + + "VERIFIED\020\001\022\014\n\010VERIFIED\020\002:\376\001\352A\372\001\n-monitor" + + "ing.googleapis.com/NotificationChannel\022>" + + "projects/{project}/notificationChannels/" + + "{notification_channel}\022Horganizations/{o" + + "rganization}/notificationChannels/{notif" + + "ication_channel}\022google.golang.org/genproto/" + + "googleapis/monitoring/v3;monitoring\252\002\032Go" + + "ogle.Cloud.Monitoring.V3\312\002\032Google\\Cloud\\" + + "Monitoring\\V3\352\002\035Google::Cloud::Monitorin" + + "g::V3b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.LabelProto.getDescriptor(), + com.google.api.LaunchStageProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.monitoring.v3.CommonProto.getDescriptor(), + com.google.monitoring.v3.MutationRecordProto.getDescriptor(), + com.google.protobuf.WrappersProto.getDescriptor(), + }); + internal_static_google_monitoring_v3_NotificationChannelDescriptor_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_monitoring_v3_NotificationChannelDescriptor_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_NotificationChannelDescriptor_descriptor, + new java.lang.String[] { "Name", "Type", "DisplayName", "Description", "Labels", "SupportedTiers", "LaunchStage", }); + internal_static_google_monitoring_v3_NotificationChannel_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_monitoring_v3_NotificationChannel_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_NotificationChannel_descriptor, + new java.lang.String[] { "Type", "Name", "DisplayName", "Description", "Labels", "UserLabels", "VerificationStatus", "Enabled", "CreationRecord", "MutationRecords", }); + internal_static_google_monitoring_v3_NotificationChannel_LabelsEntry_descriptor = + internal_static_google_monitoring_v3_NotificationChannel_descriptor.getNestedTypes().get(0); + internal_static_google_monitoring_v3_NotificationChannel_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_NotificationChannel_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_monitoring_v3_NotificationChannel_UserLabelsEntry_descriptor = + internal_static_google_monitoring_v3_NotificationChannel_descriptor.getNestedTypes().get(1); + internal_static_google_monitoring_v3_NotificationChannel_UserLabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_NotificationChannel_UserLabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.LabelProto.getDescriptor(); + com.google.api.LaunchStageProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.monitoring.v3.CommonProto.getDescriptor(); + com.google.monitoring.v3.MutationRecordProto.getDescriptor(); + com.google.protobuf.WrappersProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationServiceProto.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationServiceProto.java new file mode 100644 index 00000000..8880c074 --- /dev/null +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationServiceProto.java @@ -0,0 +1,327 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/notification_service.proto + +package com.google.monitoring.v3; + +public final class NotificationServiceProto { + private NotificationServiceProto() {} + 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_monitoring_v3_ListNotificationChannelDescriptorsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_GetNotificationChannelDescriptorRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_GetNotificationChannelDescriptorRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_CreateNotificationChannelRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_CreateNotificationChannelRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_ListNotificationChannelsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_ListNotificationChannelsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_ListNotificationChannelsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_ListNotificationChannelsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_GetNotificationChannelRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_GetNotificationChannelRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_UpdateNotificationChannelRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_UpdateNotificationChannelRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_DeleteNotificationChannelRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_DeleteNotificationChannelRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_SendNotificationChannelVerificationCodeRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_SendNotificationChannelVerificationCodeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_VerifyNotificationChannelRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_VerifyNotificationChannelRequest_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/monitoring/v3/notification_serv" + + "ice.proto\022\024google.monitoring.v3\032\034google/" + + "api/annotations.proto\032\027google/api/client" + + ".proto\032\037google/api/field_behavior.proto\032" + + "\031google/api/resource.proto\032\'google/monit" + + "oring/v3/notification.proto\032\033google/prot" + + "obuf/empty.proto\032 google/protobuf/field_" + + "mask.proto\032\034google/protobuf/struct.proto" + + "\032\037google/protobuf/timestamp.proto\"\241\001\n)Li" + + "stNotificationChannelDescriptorsRequest\022" + + "M\n\004name\030\004 \001(\tB?\340A\002\372A9\0227monitoring.google" + + "apis.com/NotificationChannelDescriptor\022\021" + + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\227\001" + + "\n*ListNotificationChannelDescriptorsResp" + + "onse\022P\n\023channel_descriptors\030\001 \003(\01323.goog" + + "le.monitoring.v3.NotificationChannelDesc" + + "riptor\022\027\n\017next_page_token\030\002 \001(\t\"x\n\'GetNo" + + "tificationChannelDescriptorRequest\022M\n\004na" + + "me\030\003 \001(\tB?\340A\002\372A9\n7monitoring.googleapis." + + "com/NotificationChannelDescriptor\"\265\001\n Cr" + + "eateNotificationChannelRequest\022C\n\004name\030\003" + + " \001(\tB5\340A\002\372A/\022-monitoring.googleapis.com/" + + "NotificationChannel\022L\n\024notification_chan" + + "nel\030\002 \001(\0132).google.monitoring.v3.Notific" + + "ationChannelB\003\340A\002\"\257\001\n\037ListNotificationCh" + + "annelsRequest\022C\n\004name\030\005 \001(\tB5\340A\002\372A/\022-mon" + + "itoring.googleapis.com/NotificationChann" + + "el\022\016\n\006filter\030\006 \001(\t\022\020\n\010order_by\030\007 \001(\t\022\021\n\t" + + "page_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"\231\001\n " + + "ListNotificationChannelsResponse\022H\n\025noti" + + "fication_channels\030\003 \003(\0132).google.monitor" + + "ing.v3.NotificationChannel\022\027\n\017next_page_" + + "token\030\002 \001(\t\022\022\n\ntotal_size\030\004 \001(\005\"d\n\035GetNo" + + "tificationChannelRequest\022C\n\004name\030\003 \001(\tB5" + + "\340A\002\372A/\n-monitoring.googleapis.com/Notifi" + + "cationChannel\"\241\001\n UpdateNotificationChan" + + "nelRequest\022/\n\013update_mask\030\002 \001(\0132\032.google" + + ".protobuf.FieldMask\022L\n\024notification_chan" + + "nel\030\003 \001(\0132).google.monitoring.v3.Notific" + + "ationChannelB\003\340A\002\"v\n DeleteNotificationC" + + "hannelRequest\022C\n\004name\030\003 \001(\tB5\340A\002\372A/\n-mon" + + "itoring.googleapis.com/NotificationChann" + + "el\022\r\n\005force\030\005 \001(\010\"u\n.SendNotificationCha" + + "nnelVerificationCodeRequest\022C\n\004name\030\001 \001(" + + "\tB5\340A\002\372A/\n-monitoring.googleapis.com/Not" + + "ificationChannel\"\245\001\n-GetNotificationChan" + + "nelVerificationCodeRequest\022C\n\004name\030\001 \001(\t" + + "B5\340A\002\372A/\n-monitoring.googleapis.com/Noti" + + "ficationChannel\022/\n\013expire_time\030\002 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\"o\n.GetNotificat" + + "ionChannelVerificationCodeResponse\022\014\n\004co" + + "de\030\001 \001(\t\022/\n\013expire_time\030\002 \001(\0132\032.google.p" + + "rotobuf.Timestamp\"z\n VerifyNotificationC" + + "hannelRequest\022C\n\004name\030\001 \001(\tB5\340A\002\372A/\n-mon" + + "itoring.googleapis.com/NotificationChann" + + "el\022\021\n\004code\030\002 \001(\tB\003\340A\0022\352\022\n\032NotificationCh" + + "annelService\022\354\001\n\"ListNotificationChannel" + + "Descriptors\022?.google.monitoring.v3.ListN" + + "otificationChannelDescriptorsRequest\032@.g" + + "oogle.monitoring.v3.ListNotificationChan" + + "nelDescriptorsResponse\"C\202\323\344\223\0026\0224/v3/{nam" + + "e=projects/*}/notificationChannelDescrip" + + "tors\332A\004name\022\335\001\n GetNotificationChannelDe" + + "scriptor\022=.google.monitoring.v3.GetNotif" + + "icationChannelDescriptorRequest\0323.google" + + ".monitoring.v3.NotificationChannelDescri" + + "ptor\"E\202\323\344\223\0028\0226/v3/{name=projects/*/notif" + + "icationChannelDescriptors/*}\332A\004name\022\304\001\n\030" + + "ListNotificationChannels\0225.google.monito" + + "ring.v3.ListNotificationChannelsRequest\032" + + "6.google.monitoring.v3.ListNotificationC" + + "hannelsResponse\"9\202\323\344\223\002,\022*/v3/{name=proje" + + "cts/*}/notificationChannels\332A\004name\022\265\001\n\026G" + + "etNotificationChannel\0223.google.monitorin" + + "g.v3.GetNotificationChannelRequest\032).goo" + + "gle.monitoring.v3.NotificationChannel\";\202" + + "\323\344\223\002.\022,/v3/{name=projects/*/notification" + + "Channels/*}\332A\004name\022\344\001\n\031CreateNotificatio" + + "nChannel\0226.google.monitoring.v3.CreateNo" + + "tificationChannelRequest\032).google.monito" + + "ring.v3.NotificationChannel\"d\202\323\344\223\002B\"*/v3" + + "/{name=projects/*}/notificationChannels:" + + "\024notification_channel\332A\031name,notificatio" + + "n_channel\022\203\002\n\031UpdateNotificationChannel\022" + + "6.google.monitoring.v3.UpdateNotificatio" + + "nChannelRequest\032).google.monitoring.v3.N" + + "otificationChannel\"\202\001\202\323\344\223\002Y2A/v3/{notifi" + + "cation_channel.name=projects/*/notificat" + + "ionChannels/*}:\024notification_channel\332A u" + + "pdate_mask,notification_channel\022\256\001\n\031Dele" + + "teNotificationChannel\0226.google.monitorin" + + "g.v3.DeleteNotificationChannelRequest\032\026." + + "google.protobuf.Empty\"A\202\323\344\223\002.*,/v3/{name" + + "=projects/*/notificationChannels/*}\332A\nna" + + "me,force\022\334\001\n\'SendNotificationChannelVeri" + + "ficationCode\022D.google.monitoring.v3.Send" + + "NotificationChannelVerificationCodeReque" + + "st\032\026.google.protobuf.Empty\"S\202\323\344\223\002F\"A/v3/" + + "{name=projects/*/notificationChannels/*}" + + ":sendVerificationCode:\001*\332A\004name\022\207\002\n&GetN" + + "otificationChannelVerificationCode\022C.goo" + + "gle.monitoring.v3.GetNotificationChannel" + + "VerificationCodeRequest\032D.google.monitor" + + "ing.v3.GetNotificationChannelVerificatio" + + "nCodeResponse\"R\202\323\344\223\002E\"@/v3/{name=project" + + "s/*/notificationChannels/*}:getVerificat" + + "ionCode:\001*\332A\004name\022\312\001\n\031VerifyNotification" + + "Channel\0226.google.monitoring.v3.VerifyNot" + + "ificationChannelRequest\032).google.monitor" + + "ing.v3.NotificationChannel\"J\202\323\344\223\0028\"3/v3/" + + "{name=projects/*/notificationChannels/*}" + + ":verify:\001*\332A\tname,code\032\251\001\312A\031monitoring.g" + + "oogleapis.com\322A\211\001https://www.googleapis." + + "com/auth/cloud-platform,https://www.goog" + + "leapis.com/auth/monitoring,https://www.g" + + "oogleapis.com/auth/monitoring.readB\320\001\n\030c" + + "om.google.monitoring.v3B\030NotificationSer" + + "viceProtoP\001Z>google.golang.org/genproto/" + + "googleapis/monitoring/v3;monitoring\252\002\032Go" + + "ogle.Cloud.Monitoring.V3\312\002\032Google\\Cloud\\" + + "Monitoring\\V3\352\002\035Google::Cloud::Monitorin" + + "g::V3b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.monitoring.v3.NotificationProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.StructProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsRequest_descriptor, + new java.lang.String[] { "Name", "PageSize", "PageToken", }); + internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsResponse_descriptor, + new java.lang.String[] { "ChannelDescriptors", "NextPageToken", }); + internal_static_google_monitoring_v3_GetNotificationChannelDescriptorRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_monitoring_v3_GetNotificationChannelDescriptorRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_GetNotificationChannelDescriptorRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_monitoring_v3_CreateNotificationChannelRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_monitoring_v3_CreateNotificationChannelRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_CreateNotificationChannelRequest_descriptor, + new java.lang.String[] { "Name", "NotificationChannel", }); + internal_static_google_monitoring_v3_ListNotificationChannelsRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_monitoring_v3_ListNotificationChannelsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_ListNotificationChannelsRequest_descriptor, + new java.lang.String[] { "Name", "Filter", "OrderBy", "PageSize", "PageToken", }); + internal_static_google_monitoring_v3_ListNotificationChannelsResponse_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_monitoring_v3_ListNotificationChannelsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_ListNotificationChannelsResponse_descriptor, + new java.lang.String[] { "NotificationChannels", "NextPageToken", "TotalSize", }); + internal_static_google_monitoring_v3_GetNotificationChannelRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_monitoring_v3_GetNotificationChannelRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_GetNotificationChannelRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_monitoring_v3_UpdateNotificationChannelRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_monitoring_v3_UpdateNotificationChannelRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_UpdateNotificationChannelRequest_descriptor, + new java.lang.String[] { "UpdateMask", "NotificationChannel", }); + internal_static_google_monitoring_v3_DeleteNotificationChannelRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_monitoring_v3_DeleteNotificationChannelRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_DeleteNotificationChannelRequest_descriptor, + new java.lang.String[] { "Name", "Force", }); + internal_static_google_monitoring_v3_SendNotificationChannelVerificationCodeRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_monitoring_v3_SendNotificationChannelVerificationCodeRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_SendNotificationChannelVerificationCodeRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeRequest_descriptor, + new java.lang.String[] { "Name", "ExpireTime", }); + internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeResponse_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeResponse_descriptor, + new java.lang.String[] { "Code", "ExpireTime", }); + internal_static_google_monitoring_v3_VerifyNotificationChannelRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_monitoring_v3_VerifyNotificationChannelRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_VerifyNotificationChannelRequest_descriptor, + new java.lang.String[] { "Name", "Code", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.monitoring.v3.NotificationProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.StructProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/OrganizationName.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/OrganizationName.java similarity index 100% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/OrganizationName.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/OrganizationName.java diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Point.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Point.java similarity index 75% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Point.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Point.java index c970af95..289bbb4f 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Point.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Point.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric.proto package com.google.monitoring.v3; /** - * - * *
  * A single data point in a time series.
  * 
* * Protobuf type {@code google.monitoring.v3.Point} */ -public final class Point extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Point extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.Point) PointOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Point.newBuilder() to construct. private Point(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Point() {} + private Point() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Point(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Point( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,67 +52,60 @@ private Point( case 0: done = true; break; - case 10: - { - com.google.monitoring.v3.TimeInterval.Builder subBuilder = null; - if (interval_ != null) { - subBuilder = interval_.toBuilder(); - } - interval_ = - input.readMessage( - com.google.monitoring.v3.TimeInterval.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(interval_); - interval_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.monitoring.v3.TimeInterval.Builder subBuilder = null; + if (interval_ != null) { + subBuilder = interval_.toBuilder(); + } + interval_ = input.readMessage(com.google.monitoring.v3.TimeInterval.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(interval_); + interval_ = subBuilder.buildPartial(); } - case 18: - { - com.google.monitoring.v3.TypedValue.Builder subBuilder = null; - if (value_ != null) { - subBuilder = value_.toBuilder(); - } - value_ = - input.readMessage( - com.google.monitoring.v3.TypedValue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(value_); - value_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.monitoring.v3.TypedValue.Builder subBuilder = null; + if (value_ != null) { + subBuilder = value_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + value_ = input.readMessage(com.google.monitoring.v3.TypedValue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(value_); + value_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricProto - .internal_static_google_monitoring_v3_Point_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_Point_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricProto - .internal_static_google_monitoring_v3_Point_fieldAccessorTable + return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_Point_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.monitoring.v3.Point.class, com.google.monitoring.v3.Point.Builder.class); } @@ -136,8 +113,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public static final int INTERVAL_FIELD_NUMBER = 1; private com.google.monitoring.v3.TimeInterval interval_; /** - * - * *
    * The time interval to which the data point applies.  For `GAUGE` metrics,
    * the start time is optional, but if it is supplied, it must equal the
@@ -151,7 +126,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.monitoring.v3.TimeInterval interval = 1; - * * @return Whether the interval field is set. */ @java.lang.Override @@ -159,8 +133,6 @@ public boolean hasInterval() { return interval_ != null; } /** - * - * *
    * The time interval to which the data point applies.  For `GAUGE` metrics,
    * the start time is optional, but if it is supplied, it must equal the
@@ -174,18 +146,13 @@ public boolean hasInterval() {
    * 
* * .google.monitoring.v3.TimeInterval interval = 1; - * * @return The interval. */ @java.lang.Override public com.google.monitoring.v3.TimeInterval getInterval() { - return interval_ == null - ? com.google.monitoring.v3.TimeInterval.getDefaultInstance() - : interval_; + return interval_ == null ? com.google.monitoring.v3.TimeInterval.getDefaultInstance() : interval_; } /** - * - * *
    * The time interval to which the data point applies.  For `GAUGE` metrics,
    * the start time is optional, but if it is supplied, it must equal the
@@ -208,14 +175,11 @@ public com.google.monitoring.v3.TimeIntervalOrBuilder getIntervalOrBuilder() {
   public static final int VALUE_FIELD_NUMBER = 2;
   private com.google.monitoring.v3.TypedValue value_;
   /**
-   *
-   *
    * 
    * The value of the data point.
    * 
* * .google.monitoring.v3.TypedValue value = 2; - * * @return Whether the value field is set. */ @java.lang.Override @@ -223,14 +187,11 @@ public boolean hasValue() { return value_ != null; } /** - * - * *
    * The value of the data point.
    * 
* * .google.monitoring.v3.TypedValue value = 2; - * * @return The value. */ @java.lang.Override @@ -238,8 +199,6 @@ public com.google.monitoring.v3.TypedValue getValue() { return value_ == null ? com.google.monitoring.v3.TypedValue.getDefaultInstance() : value_; } /** - * - * *
    * The value of the data point.
    * 
@@ -252,7 +211,6 @@ public com.google.monitoring.v3.TypedValueOrBuilder getValueOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -264,7 +222,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 (interval_ != null) { output.writeMessage(1, getInterval()); } @@ -281,10 +240,12 @@ public int getSerializedSize() { size = 0; if (interval_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getInterval()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getInterval()); } if (value_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getValue()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getValue()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -294,7 +255,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.Point)) { return super.equals(obj); @@ -303,11 +264,13 @@ public boolean equals(final java.lang.Object obj) { if (hasInterval() != other.hasInterval()) return false; if (hasInterval()) { - if (!getInterval().equals(other.getInterval())) return false; + if (!getInterval() + .equals(other.getInterval())) return false; } if (hasValue() != other.hasValue()) return false; if (hasValue()) { - if (!getValue().equals(other.getValue())) return false; + if (!getValue() + .equals(other.getValue())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -333,123 +296,116 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.Point parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.Point parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.Point parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.Point parseFrom(com.google.protobuf.ByteString data) + public static com.google.monitoring.v3.Point parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.Point parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.Point parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.Point parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.Point 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.monitoring.v3.Point parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.Point parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.Point parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.Point parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.monitoring.v3.Point parseFrom( + com.google.protobuf.CodedInputStream 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.monitoring.v3.Point parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.Point prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 single data point in a time series.
    * 
* * Protobuf type {@code google.monitoring.v3.Point} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.Point) com.google.monitoring.v3.PointOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricProto - .internal_static_google_monitoring_v3_Point_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_Point_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricProto - .internal_static_google_monitoring_v3_Point_fieldAccessorTable + return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_Point_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.monitoring.v3.Point.class, com.google.monitoring.v3.Point.Builder.class); } @@ -459,15 +415,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -487,9 +444,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.MetricProto - .internal_static_google_monitoring_v3_Point_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_Point_descriptor; } @java.lang.Override @@ -527,39 +484,38 @@ public com.google.monitoring.v3.Point 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.monitoring.v3.Point) { - return mergeFrom((com.google.monitoring.v3.Point) other); + return mergeFrom((com.google.monitoring.v3.Point)other); } else { super.mergeFrom(other); return this; @@ -605,13 +561,8 @@ public Builder mergeFrom( private com.google.monitoring.v3.TimeInterval interval_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TimeInterval, - com.google.monitoring.v3.TimeInterval.Builder, - com.google.monitoring.v3.TimeIntervalOrBuilder> - intervalBuilder_; + com.google.monitoring.v3.TimeInterval, com.google.monitoring.v3.TimeInterval.Builder, com.google.monitoring.v3.TimeIntervalOrBuilder> intervalBuilder_; /** - * - * *
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time is optional, but if it is supplied, it must equal the
@@ -625,15 +576,12 @@ public Builder mergeFrom(
      * 
* * .google.monitoring.v3.TimeInterval interval = 1; - * * @return Whether the interval field is set. */ public boolean hasInterval() { return intervalBuilder_ != null || interval_ != null; } /** - * - * *
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time is optional, but if it is supplied, it must equal the
@@ -647,21 +595,16 @@ public boolean hasInterval() {
      * 
* * .google.monitoring.v3.TimeInterval interval = 1; - * * @return The interval. */ public com.google.monitoring.v3.TimeInterval getInterval() { if (intervalBuilder_ == null) { - return interval_ == null - ? com.google.monitoring.v3.TimeInterval.getDefaultInstance() - : interval_; + return interval_ == null ? com.google.monitoring.v3.TimeInterval.getDefaultInstance() : interval_; } else { return intervalBuilder_.getMessage(); } } /** - * - * *
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time is optional, but if it is supplied, it must equal the
@@ -690,8 +633,6 @@ public Builder setInterval(com.google.monitoring.v3.TimeInterval value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time is optional, but if it is supplied, it must equal the
@@ -706,7 +647,8 @@ public Builder setInterval(com.google.monitoring.v3.TimeInterval value) {
      *
      * .google.monitoring.v3.TimeInterval interval = 1;
      */
-    public Builder setInterval(com.google.monitoring.v3.TimeInterval.Builder builderForValue) {
+    public Builder setInterval(
+        com.google.monitoring.v3.TimeInterval.Builder builderForValue) {
       if (intervalBuilder_ == null) {
         interval_ = builderForValue.build();
         onChanged();
@@ -717,8 +659,6 @@ public Builder setInterval(com.google.monitoring.v3.TimeInterval.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time is optional, but if it is supplied, it must equal the
@@ -737,9 +677,7 @@ public Builder mergeInterval(com.google.monitoring.v3.TimeInterval value) {
       if (intervalBuilder_ == null) {
         if (interval_ != null) {
           interval_ =
-              com.google.monitoring.v3.TimeInterval.newBuilder(interval_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.monitoring.v3.TimeInterval.newBuilder(interval_).mergeFrom(value).buildPartial();
         } else {
           interval_ = value;
         }
@@ -751,8 +689,6 @@ public Builder mergeInterval(com.google.monitoring.v3.TimeInterval value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time is optional, but if it is supplied, it must equal the
@@ -779,8 +715,6 @@ public Builder clearInterval() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time is optional, but if it is supplied, it must equal the
@@ -796,13 +730,11 @@ public Builder clearInterval() {
      * .google.monitoring.v3.TimeInterval interval = 1;
      */
     public com.google.monitoring.v3.TimeInterval.Builder getIntervalBuilder() {
-
+      
       onChanged();
       return getIntervalFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time is optional, but if it is supplied, it must equal the
@@ -821,14 +753,11 @@ public com.google.monitoring.v3.TimeIntervalOrBuilder getIntervalOrBuilder() {
       if (intervalBuilder_ != null) {
         return intervalBuilder_.getMessageOrBuilder();
       } else {
-        return interval_ == null
-            ? com.google.monitoring.v3.TimeInterval.getDefaultInstance()
-            : interval_;
+        return interval_ == null ?
+            com.google.monitoring.v3.TimeInterval.getDefaultInstance() : interval_;
       }
     }
     /**
-     *
-     *
      * 
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time is optional, but if it is supplied, it must equal the
@@ -844,17 +773,14 @@ public com.google.monitoring.v3.TimeIntervalOrBuilder getIntervalOrBuilder() {
      * .google.monitoring.v3.TimeInterval interval = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.TimeInterval,
-            com.google.monitoring.v3.TimeInterval.Builder,
-            com.google.monitoring.v3.TimeIntervalOrBuilder>
+        com.google.monitoring.v3.TimeInterval, com.google.monitoring.v3.TimeInterval.Builder, com.google.monitoring.v3.TimeIntervalOrBuilder> 
         getIntervalFieldBuilder() {
       if (intervalBuilder_ == null) {
-        intervalBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.monitoring.v3.TimeInterval,
-                com.google.monitoring.v3.TimeInterval.Builder,
-                com.google.monitoring.v3.TimeIntervalOrBuilder>(
-                getInterval(), getParentForChildren(), isClean());
+        intervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.monitoring.v3.TimeInterval, com.google.monitoring.v3.TimeInterval.Builder, com.google.monitoring.v3.TimeIntervalOrBuilder>(
+                getInterval(),
+                getParentForChildren(),
+                isClean());
         interval_ = null;
       }
       return intervalBuilder_;
@@ -862,33 +788,24 @@ public com.google.monitoring.v3.TimeIntervalOrBuilder getIntervalOrBuilder() {
 
     private com.google.monitoring.v3.TypedValue value_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.TypedValue,
-            com.google.monitoring.v3.TypedValue.Builder,
-            com.google.monitoring.v3.TypedValueOrBuilder>
-        valueBuilder_;
+        com.google.monitoring.v3.TypedValue, com.google.monitoring.v3.TypedValue.Builder, com.google.monitoring.v3.TypedValueOrBuilder> valueBuilder_;
     /**
-     *
-     *
      * 
      * The value of the data point.
      * 
* * .google.monitoring.v3.TypedValue value = 2; - * * @return Whether the value field is set. */ public boolean hasValue() { return valueBuilder_ != null || value_ != null; } /** - * - * *
      * The value of the data point.
      * 
* * .google.monitoring.v3.TypedValue value = 2; - * * @return The value. */ public com.google.monitoring.v3.TypedValue getValue() { @@ -899,8 +816,6 @@ public com.google.monitoring.v3.TypedValue getValue() { } } /** - * - * *
      * The value of the data point.
      * 
@@ -921,15 +836,14 @@ public Builder setValue(com.google.monitoring.v3.TypedValue value) { return this; } /** - * - * *
      * The value of the data point.
      * 
* * .google.monitoring.v3.TypedValue value = 2; */ - public Builder setValue(com.google.monitoring.v3.TypedValue.Builder builderForValue) { + public Builder setValue( + com.google.monitoring.v3.TypedValue.Builder builderForValue) { if (valueBuilder_ == null) { value_ = builderForValue.build(); onChanged(); @@ -940,8 +854,6 @@ public Builder setValue(com.google.monitoring.v3.TypedValue.Builder builderForVa return this; } /** - * - * *
      * The value of the data point.
      * 
@@ -952,9 +864,7 @@ public Builder mergeValue(com.google.monitoring.v3.TypedValue value) { if (valueBuilder_ == null) { if (value_ != null) { value_ = - com.google.monitoring.v3.TypedValue.newBuilder(value_) - .mergeFrom(value) - .buildPartial(); + com.google.monitoring.v3.TypedValue.newBuilder(value_).mergeFrom(value).buildPartial(); } else { value_ = value; } @@ -966,8 +876,6 @@ public Builder mergeValue(com.google.monitoring.v3.TypedValue value) { return this; } /** - * - * *
      * The value of the data point.
      * 
@@ -986,8 +894,6 @@ public Builder clearValue() { return this; } /** - * - * *
      * The value of the data point.
      * 
@@ -995,13 +901,11 @@ public Builder clearValue() { * .google.monitoring.v3.TypedValue value = 2; */ public com.google.monitoring.v3.TypedValue.Builder getValueBuilder() { - + onChanged(); return getValueFieldBuilder().getBuilder(); } /** - * - * *
      * The value of the data point.
      * 
@@ -1012,12 +916,11 @@ public com.google.monitoring.v3.TypedValueOrBuilder getValueOrBuilder() { if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilder(); } else { - return value_ == null ? com.google.monitoring.v3.TypedValue.getDefaultInstance() : value_; + return value_ == null ? + com.google.monitoring.v3.TypedValue.getDefaultInstance() : value_; } } /** - * - * *
      * The value of the data point.
      * 
@@ -1025,24 +928,21 @@ public com.google.monitoring.v3.TypedValueOrBuilder getValueOrBuilder() { * .google.monitoring.v3.TypedValue value = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TypedValue, - com.google.monitoring.v3.TypedValue.Builder, - com.google.monitoring.v3.TypedValueOrBuilder> + com.google.monitoring.v3.TypedValue, com.google.monitoring.v3.TypedValue.Builder, com.google.monitoring.v3.TypedValueOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { - valueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TypedValue, - com.google.monitoring.v3.TypedValue.Builder, - com.google.monitoring.v3.TypedValueOrBuilder>( - getValue(), getParentForChildren(), isClean()); + valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.TypedValue, com.google.monitoring.v3.TypedValue.Builder, com.google.monitoring.v3.TypedValueOrBuilder>( + getValue(), + getParentForChildren(), + isClean()); value_ = null; } return valueBuilder_; } - @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); } @@ -1052,12 +952,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.Point) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.Point) private static final com.google.monitoring.v3.Point DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.Point(); } @@ -1066,16 +966,16 @@ public static com.google.monitoring.v3.Point getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Point parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Point(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Point parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Point(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1090,4 +990,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.Point getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/PointOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/PointOrBuilder.java similarity index 82% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/PointOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/PointOrBuilder.java index 40ce43a0..99bac0da 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/PointOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/PointOrBuilder.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/monitoring/v3/metric.proto package com.google.monitoring.v3; -public interface PointOrBuilder - extends +public interface PointOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.Point) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The time interval to which the data point applies.  For `GAUGE` metrics,
    * the start time is optional, but if it is supplied, it must equal the
@@ -39,13 +21,10 @@ public interface PointOrBuilder
    * 
* * .google.monitoring.v3.TimeInterval interval = 1; - * * @return Whether the interval field is set. */ boolean hasInterval(); /** - * - * *
    * The time interval to which the data point applies.  For `GAUGE` metrics,
    * the start time is optional, but if it is supplied, it must equal the
@@ -59,13 +38,10 @@ public interface PointOrBuilder
    * 
* * .google.monitoring.v3.TimeInterval interval = 1; - * * @return The interval. */ com.google.monitoring.v3.TimeInterval getInterval(); /** - * - * *
    * The time interval to which the data point applies.  For `GAUGE` metrics,
    * the start time is optional, but if it is supplied, it must equal the
@@ -83,32 +59,24 @@ public interface PointOrBuilder
   com.google.monitoring.v3.TimeIntervalOrBuilder getIntervalOrBuilder();
 
   /**
-   *
-   *
    * 
    * The value of the data point.
    * 
* * .google.monitoring.v3.TypedValue value = 2; - * * @return Whether the value field is set. */ boolean hasValue(); /** - * - * *
    * The value of the data point.
    * 
* * .google.monitoring.v3.TypedValue value = 2; - * * @return The value. */ com.google.monitoring.v3.TypedValue getValue(); /** - * - * *
    * The value of the data point.
    * 
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ProjectName.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ProjectName.java similarity index 100% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ProjectName.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ProjectName.java diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryError.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryError.java similarity index 70% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryError.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryError.java index dba96cb6..54ca8129 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryError.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryError.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric.proto package com.google.monitoring.v3; /** - * - * *
  * An error associated with a query in the time series query language format.
  * 
* * Protobuf type {@code google.monitoring.v3.QueryError} */ -public final class QueryError extends com.google.protobuf.GeneratedMessageV3 - implements +public final class QueryError extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.QueryError) QueryErrorOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use QueryError.newBuilder() to construct. private QueryError(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private QueryError() { message_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new QueryError(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private QueryError( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,75 +53,66 @@ private QueryError( case 0: done = true; break; - case 10: - { - com.google.monitoring.v3.TextLocator.Builder subBuilder = null; - if (locator_ != null) { - subBuilder = locator_.toBuilder(); - } - locator_ = - input.readMessage( - com.google.monitoring.v3.TextLocator.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(locator_); - locator_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.monitoring.v3.TextLocator.Builder subBuilder = null; + if (locator_ != null) { + subBuilder = locator_.toBuilder(); } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - message_ = s; - break; + locator_ = input.readMessage(com.google.monitoring.v3.TextLocator.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(locator_); + locator_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + message_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricProto - .internal_static_google_monitoring_v3_QueryError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_QueryError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricProto - .internal_static_google_monitoring_v3_QueryError_fieldAccessorTable + return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_QueryError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.QueryError.class, - com.google.monitoring.v3.QueryError.Builder.class); + com.google.monitoring.v3.QueryError.class, com.google.monitoring.v3.QueryError.Builder.class); } public static final int LOCATOR_FIELD_NUMBER = 1; private com.google.monitoring.v3.TextLocator locator_; /** - * - * *
    * The location of the time series query language text that this error applies
    * to.
    * 
* * .google.monitoring.v3.TextLocator locator = 1; - * * @return Whether the locator field is set. */ @java.lang.Override @@ -146,15 +120,12 @@ public boolean hasLocator() { return locator_ != null; } /** - * - * *
    * The location of the time series query language text that this error applies
    * to.
    * 
* * .google.monitoring.v3.TextLocator locator = 1; - * * @return The locator. */ @java.lang.Override @@ -162,8 +133,6 @@ public com.google.monitoring.v3.TextLocator getLocator() { return locator_ == null ? com.google.monitoring.v3.TextLocator.getDefaultInstance() : locator_; } /** - * - * *
    * The location of the time series query language text that this error applies
    * to.
@@ -179,14 +148,11 @@ public com.google.monitoring.v3.TextLocatorOrBuilder getLocatorOrBuilder() {
   public static final int MESSAGE_FIELD_NUMBER = 2;
   private volatile java.lang.Object message_;
   /**
-   *
-   *
    * 
    * The error message.
    * 
* * string message = 2; - * * @return The message. */ @java.lang.Override @@ -195,29 +161,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; } } /** - * - * *
    * The error message.
    * 
* * string message = 2; - * * @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 { @@ -226,7 +192,6 @@ public com.google.protobuf.ByteString getMessageBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -238,7 +203,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (locator_ != null) { output.writeMessage(1, getLocator()); } @@ -255,7 +221,8 @@ public int getSerializedSize() { size = 0; if (locator_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getLocator()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getLocator()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); @@ -268,7 +235,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.QueryError)) { return super.equals(obj); @@ -277,9 +244,11 @@ public boolean equals(final java.lang.Object obj) { if (hasLocator() != other.hasLocator()) return false; if (hasLocator()) { - if (!getLocator().equals(other.getLocator())) return false; + if (!getLocator() + .equals(other.getLocator())) return false; } - if (!getMessage().equals(other.getMessage())) return false; + if (!getMessage() + .equals(other.getMessage())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -302,126 +271,118 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.QueryError parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.QueryError parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.QueryError parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.QueryError parseFrom(com.google.protobuf.ByteString data) + public static com.google.monitoring.v3.QueryError parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.QueryError parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.QueryError parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.QueryError parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.QueryError 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.monitoring.v3.QueryError parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.QueryError parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.QueryError parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.QueryError parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.QueryError parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.QueryError prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * An error associated with a query in the time series query language format.
    * 
* * Protobuf type {@code google.monitoring.v3.QueryError} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.QueryError) com.google.monitoring.v3.QueryErrorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricProto - .internal_static_google_monitoring_v3_QueryError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_QueryError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricProto - .internal_static_google_monitoring_v3_QueryError_fieldAccessorTable + return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_QueryError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.QueryError.class, - com.google.monitoring.v3.QueryError.Builder.class); + com.google.monitoring.v3.QueryError.class, com.google.monitoring.v3.QueryError.Builder.class); } // Construct using com.google.monitoring.v3.QueryError.newBuilder() @@ -429,15 +390,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -453,9 +415,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.MetricProto - .internal_static_google_monitoring_v3_QueryError_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_QueryError_descriptor; } @java.lang.Override @@ -489,39 +451,38 @@ public com.google.monitoring.v3.QueryError 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.monitoring.v3.QueryError) { - return mergeFrom((com.google.monitoring.v3.QueryError) other); + return mergeFrom((com.google.monitoring.v3.QueryError)other); } else { super.mergeFrom(other); return this; @@ -568,49 +529,36 @@ public Builder mergeFrom( private com.google.monitoring.v3.TextLocator locator_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TextLocator, - com.google.monitoring.v3.TextLocator.Builder, - com.google.monitoring.v3.TextLocatorOrBuilder> - locatorBuilder_; + com.google.monitoring.v3.TextLocator, com.google.monitoring.v3.TextLocator.Builder, com.google.monitoring.v3.TextLocatorOrBuilder> locatorBuilder_; /** - * - * *
      * The location of the time series query language text that this error applies
      * to.
      * 
* * .google.monitoring.v3.TextLocator locator = 1; - * * @return Whether the locator field is set. */ public boolean hasLocator() { return locatorBuilder_ != null || locator_ != null; } /** - * - * *
      * The location of the time series query language text that this error applies
      * to.
      * 
* * .google.monitoring.v3.TextLocator locator = 1; - * * @return The locator. */ public com.google.monitoring.v3.TextLocator getLocator() { if (locatorBuilder_ == null) { - return locator_ == null - ? com.google.monitoring.v3.TextLocator.getDefaultInstance() - : locator_; + return locator_ == null ? com.google.monitoring.v3.TextLocator.getDefaultInstance() : locator_; } else { return locatorBuilder_.getMessage(); } } /** - * - * *
      * The location of the time series query language text that this error applies
      * to.
@@ -632,8 +580,6 @@ public Builder setLocator(com.google.monitoring.v3.TextLocator value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The location of the time series query language text that this error applies
      * to.
@@ -641,7 +587,8 @@ public Builder setLocator(com.google.monitoring.v3.TextLocator value) {
      *
      * .google.monitoring.v3.TextLocator locator = 1;
      */
-    public Builder setLocator(com.google.monitoring.v3.TextLocator.Builder builderForValue) {
+    public Builder setLocator(
+        com.google.monitoring.v3.TextLocator.Builder builderForValue) {
       if (locatorBuilder_ == null) {
         locator_ = builderForValue.build();
         onChanged();
@@ -652,8 +599,6 @@ public Builder setLocator(com.google.monitoring.v3.TextLocator.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * The location of the time series query language text that this error applies
      * to.
@@ -665,9 +610,7 @@ public Builder mergeLocator(com.google.monitoring.v3.TextLocator value) {
       if (locatorBuilder_ == null) {
         if (locator_ != null) {
           locator_ =
-              com.google.monitoring.v3.TextLocator.newBuilder(locator_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.monitoring.v3.TextLocator.newBuilder(locator_).mergeFrom(value).buildPartial();
         } else {
           locator_ = value;
         }
@@ -679,8 +622,6 @@ public Builder mergeLocator(com.google.monitoring.v3.TextLocator value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The location of the time series query language text that this error applies
      * to.
@@ -700,8 +641,6 @@ public Builder clearLocator() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The location of the time series query language text that this error applies
      * to.
@@ -710,13 +649,11 @@ public Builder clearLocator() {
      * .google.monitoring.v3.TextLocator locator = 1;
      */
     public com.google.monitoring.v3.TextLocator.Builder getLocatorBuilder() {
-
+      
       onChanged();
       return getLocatorFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The location of the time series query language text that this error applies
      * to.
@@ -728,14 +665,11 @@ public com.google.monitoring.v3.TextLocatorOrBuilder getLocatorOrBuilder() {
       if (locatorBuilder_ != null) {
         return locatorBuilder_.getMessageOrBuilder();
       } else {
-        return locator_ == null
-            ? com.google.monitoring.v3.TextLocator.getDefaultInstance()
-            : locator_;
+        return locator_ == null ?
+            com.google.monitoring.v3.TextLocator.getDefaultInstance() : locator_;
       }
     }
     /**
-     *
-     *
      * 
      * The location of the time series query language text that this error applies
      * to.
@@ -744,17 +678,14 @@ public com.google.monitoring.v3.TextLocatorOrBuilder getLocatorOrBuilder() {
      * .google.monitoring.v3.TextLocator locator = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.TextLocator,
-            com.google.monitoring.v3.TextLocator.Builder,
-            com.google.monitoring.v3.TextLocatorOrBuilder>
+        com.google.monitoring.v3.TextLocator, com.google.monitoring.v3.TextLocator.Builder, com.google.monitoring.v3.TextLocatorOrBuilder> 
         getLocatorFieldBuilder() {
       if (locatorBuilder_ == null) {
-        locatorBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.monitoring.v3.TextLocator,
-                com.google.monitoring.v3.TextLocator.Builder,
-                com.google.monitoring.v3.TextLocatorOrBuilder>(
-                getLocator(), getParentForChildren(), isClean());
+        locatorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.monitoring.v3.TextLocator, com.google.monitoring.v3.TextLocator.Builder, com.google.monitoring.v3.TextLocatorOrBuilder>(
+                getLocator(),
+                getParentForChildren(),
+                isClean());
         locator_ = null;
       }
       return locatorBuilder_;
@@ -762,20 +693,18 @@ public com.google.monitoring.v3.TextLocatorOrBuilder getLocatorOrBuilder() {
 
     private java.lang.Object message_ = "";
     /**
-     *
-     *
      * 
      * The error message.
      * 
* * string message = 2; - * * @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; @@ -784,21 +713,20 @@ public java.lang.String getMessage() { } } /** - * - * *
      * The error message.
      * 
* * string message = 2; - * * @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 { @@ -806,68 +734,61 @@ public com.google.protobuf.ByteString getMessageBytes() { } } /** - * - * *
      * The error message.
      * 
* * string message = 2; - * * @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; } /** - * - * *
      * The error message.
      * 
* * string message = 2; - * * @return This builder for chaining. */ public Builder clearMessage() { - + message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** - * - * *
      * The error message.
      * 
* * string message = 2; - * * @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); } @@ -877,12 +798,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.QueryError) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.QueryError) private static final com.google.monitoring.v3.QueryError DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.QueryError(); } @@ -891,16 +812,16 @@ public static com.google.monitoring.v3.QueryError getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryError parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QueryError(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryError parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueryError(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -915,4 +836,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.QueryError getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryErrorList.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryErrorList.java similarity index 75% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryErrorList.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryErrorList.java index 392274da..846d6419 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryErrorList.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryErrorList.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/monitoring/v3/metric_service.proto package com.google.monitoring.v3; /** - * - * *
  * This is an error detail intended to be used with INVALID_ARGUMENT errors.
  * 
* * Protobuf type {@code google.monitoring.v3.QueryErrorList} */ -public final class QueryErrorList extends com.google.protobuf.GeneratedMessageV3 - implements +public final class QueryErrorList extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.QueryErrorList) QueryErrorListOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use QueryErrorList.newBuilder() to construct. private QueryErrorList(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private QueryErrorList() { errors_ = java.util.Collections.emptyList(); errorSummary_ = ""; @@ -44,15 +26,16 @@ private QueryErrorList() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new QueryErrorList(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private QueryErrorList( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,37 +55,35 @@ private QueryErrorList( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - errors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - errors_.add( - input.readMessage( - com.google.monitoring.v3.QueryError.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + errors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + errors_.add( + input.readMessage(com.google.monitoring.v3.QueryError.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - errorSummary_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + errorSummary_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { errors_ = java.util.Collections.unmodifiableList(errors_); @@ -111,27 +92,22 @@ private QueryErrorList( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_QueryErrorList_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_QueryErrorList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_QueryErrorList_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_QueryErrorList_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.QueryErrorList.class, - com.google.monitoring.v3.QueryErrorList.Builder.class); + com.google.monitoring.v3.QueryErrorList.class, com.google.monitoring.v3.QueryErrorList.Builder.class); } public static final int ERRORS_FIELD_NUMBER = 1; private java.util.List errors_; /** - * - * *
    * Errors in parsing the time series query language text. The number of errors
    * in the response may be limited.
@@ -144,8 +120,6 @@ public java.util.List getErrorsList() {
     return errors_;
   }
   /**
-   *
-   *
    * 
    * Errors in parsing the time series query language text. The number of errors
    * in the response may be limited.
@@ -154,13 +128,11 @@ public java.util.List getErrorsList() {
    * repeated .google.monitoring.v3.QueryError errors = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getErrorsOrBuilderList() {
     return errors_;
   }
   /**
-   *
-   *
    * 
    * Errors in parsing the time series query language text. The number of errors
    * in the response may be limited.
@@ -173,8 +145,6 @@ public int getErrorsCount() {
     return errors_.size();
   }
   /**
-   *
-   *
    * 
    * Errors in parsing the time series query language text. The number of errors
    * in the response may be limited.
@@ -187,8 +157,6 @@ public com.google.monitoring.v3.QueryError getErrors(int index) {
     return errors_.get(index);
   }
   /**
-   *
-   *
    * 
    * Errors in parsing the time series query language text. The number of errors
    * in the response may be limited.
@@ -197,21 +165,19 @@ public com.google.monitoring.v3.QueryError getErrors(int index) {
    * repeated .google.monitoring.v3.QueryError errors = 1;
    */
   @java.lang.Override
-  public com.google.monitoring.v3.QueryErrorOrBuilder getErrorsOrBuilder(int index) {
+  public com.google.monitoring.v3.QueryErrorOrBuilder getErrorsOrBuilder(
+      int index) {
     return errors_.get(index);
   }
 
   public static final int ERROR_SUMMARY_FIELD_NUMBER = 2;
   private volatile java.lang.Object errorSummary_;
   /**
-   *
-   *
    * 
    * A summary of all the errors.
    * 
* * string error_summary = 2; - * * @return The errorSummary. */ @java.lang.Override @@ -220,29 +186,29 @@ public java.lang.String getErrorSummary() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorSummary_ = s; return s; } } /** - * - * *
    * A summary of all the errors.
    * 
* * string error_summary = 2; - * * @return The bytes for errorSummary. */ @java.lang.Override - public com.google.protobuf.ByteString getErrorSummaryBytes() { + public com.google.protobuf.ByteString + getErrorSummaryBytes() { java.lang.Object ref = errorSummary_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); errorSummary_ = b; return b; } else { @@ -251,7 +217,6 @@ public com.google.protobuf.ByteString getErrorSummaryBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,7 +228,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < errors_.size(); i++) { output.writeMessage(1, errors_.get(i)); } @@ -280,7 +246,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, errors_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorSummary_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, errorSummary_); @@ -293,15 +260,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.QueryErrorList)) { return super.equals(obj); } com.google.monitoring.v3.QueryErrorList other = (com.google.monitoring.v3.QueryErrorList) obj; - if (!getErrorsList().equals(other.getErrorsList())) return false; - if (!getErrorSummary().equals(other.getErrorSummary())) return false; + if (!getErrorsList() + .equals(other.getErrorsList())) return false; + if (!getErrorSummary() + .equals(other.getErrorSummary())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -324,127 +293,118 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.QueryErrorList parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.QueryErrorList parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.QueryErrorList parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.QueryErrorList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.QueryErrorList parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.QueryErrorList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.QueryErrorList parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.QueryErrorList 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.monitoring.v3.QueryErrorList parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.QueryErrorList parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.QueryErrorList parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.QueryErrorList parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.QueryErrorList parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.QueryErrorList parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.QueryErrorList prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * This is an error detail intended to be used with INVALID_ARGUMENT errors.
    * 
* * Protobuf type {@code google.monitoring.v3.QueryErrorList} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.QueryErrorList) com.google.monitoring.v3.QueryErrorListOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_QueryErrorList_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_QueryErrorList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_QueryErrorList_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_QueryErrorList_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.QueryErrorList.class, - com.google.monitoring.v3.QueryErrorList.Builder.class); + com.google.monitoring.v3.QueryErrorList.class, com.google.monitoring.v3.QueryErrorList.Builder.class); } // Construct using com.google.monitoring.v3.QueryErrorList.newBuilder() @@ -452,17 +412,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getErrorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -478,9 +438,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_QueryErrorList_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_QueryErrorList_descriptor; } @java.lang.Override @@ -499,8 +459,7 @@ public com.google.monitoring.v3.QueryErrorList build() { @java.lang.Override public com.google.monitoring.v3.QueryErrorList buildPartial() { - com.google.monitoring.v3.QueryErrorList result = - new com.google.monitoring.v3.QueryErrorList(this); + com.google.monitoring.v3.QueryErrorList result = new com.google.monitoring.v3.QueryErrorList(this); int from_bitField0_ = bitField0_; if (errorsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -520,39 +479,38 @@ public com.google.monitoring.v3.QueryErrorList 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.monitoring.v3.QueryErrorList) { - return mergeFrom((com.google.monitoring.v3.QueryErrorList) other); + return mergeFrom((com.google.monitoring.v3.QueryErrorList)other); } else { super.mergeFrom(other); return this; @@ -579,10 +537,9 @@ public Builder mergeFrom(com.google.monitoring.v3.QueryErrorList other) { errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000001); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getErrorsFieldBuilder() - : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getErrorsFieldBuilder() : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -620,28 +577,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List errors_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { errors_ = new java.util.ArrayList(errors_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.QueryError, - com.google.monitoring.v3.QueryError.Builder, - com.google.monitoring.v3.QueryErrorOrBuilder> - errorsBuilder_; + com.google.monitoring.v3.QueryError, com.google.monitoring.v3.QueryError.Builder, com.google.monitoring.v3.QueryErrorOrBuilder> errorsBuilder_; /** - * - * *
      * Errors in parsing the time series query language text. The number of errors
      * in the response may be limited.
@@ -657,8 +607,6 @@ public java.util.List getErrorsList() {
       }
     }
     /**
-     *
-     *
      * 
      * Errors in parsing the time series query language text. The number of errors
      * in the response may be limited.
@@ -674,8 +622,6 @@ public int getErrorsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Errors in parsing the time series query language text. The number of errors
      * in the response may be limited.
@@ -691,8 +637,6 @@ public com.google.monitoring.v3.QueryError getErrors(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Errors in parsing the time series query language text. The number of errors
      * in the response may be limited.
@@ -700,7 +644,8 @@ public com.google.monitoring.v3.QueryError getErrors(int index) {
      *
      * repeated .google.monitoring.v3.QueryError errors = 1;
      */
-    public Builder setErrors(int index, com.google.monitoring.v3.QueryError value) {
+    public Builder setErrors(
+        int index, com.google.monitoring.v3.QueryError value) {
       if (errorsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -714,8 +659,6 @@ public Builder setErrors(int index, com.google.monitoring.v3.QueryError value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Errors in parsing the time series query language text. The number of errors
      * in the response may be limited.
@@ -735,8 +678,6 @@ public Builder setErrors(
       return this;
     }
     /**
-     *
-     *
      * 
      * Errors in parsing the time series query language text. The number of errors
      * in the response may be limited.
@@ -758,8 +699,6 @@ public Builder addErrors(com.google.monitoring.v3.QueryError value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Errors in parsing the time series query language text. The number of errors
      * in the response may be limited.
@@ -767,7 +706,8 @@ public Builder addErrors(com.google.monitoring.v3.QueryError value) {
      *
      * repeated .google.monitoring.v3.QueryError errors = 1;
      */
-    public Builder addErrors(int index, com.google.monitoring.v3.QueryError value) {
+    public Builder addErrors(
+        int index, com.google.monitoring.v3.QueryError value) {
       if (errorsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -781,8 +721,6 @@ public Builder addErrors(int index, com.google.monitoring.v3.QueryError value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Errors in parsing the time series query language text. The number of errors
      * in the response may be limited.
@@ -790,7 +728,8 @@ public Builder addErrors(int index, com.google.monitoring.v3.QueryError value) {
      *
      * repeated .google.monitoring.v3.QueryError errors = 1;
      */
-    public Builder addErrors(com.google.monitoring.v3.QueryError.Builder builderForValue) {
+    public Builder addErrors(
+        com.google.monitoring.v3.QueryError.Builder builderForValue) {
       if (errorsBuilder_ == null) {
         ensureErrorsIsMutable();
         errors_.add(builderForValue.build());
@@ -801,8 +740,6 @@ public Builder addErrors(com.google.monitoring.v3.QueryError.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Errors in parsing the time series query language text. The number of errors
      * in the response may be limited.
@@ -822,8 +759,6 @@ public Builder addErrors(
       return this;
     }
     /**
-     *
-     *
      * 
      * Errors in parsing the time series query language text. The number of errors
      * in the response may be limited.
@@ -835,7 +770,8 @@ public Builder addAllErrors(
         java.lang.Iterable values) {
       if (errorsBuilder_ == null) {
         ensureErrorsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, errors_);
         onChanged();
       } else {
         errorsBuilder_.addAllMessages(values);
@@ -843,8 +779,6 @@ public Builder addAllErrors(
       return this;
     }
     /**
-     *
-     *
      * 
      * Errors in parsing the time series query language text. The number of errors
      * in the response may be limited.
@@ -863,8 +797,6 @@ public Builder clearErrors() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Errors in parsing the time series query language text. The number of errors
      * in the response may be limited.
@@ -883,8 +815,6 @@ public Builder removeErrors(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Errors in parsing the time series query language text. The number of errors
      * in the response may be limited.
@@ -892,12 +822,11 @@ public Builder removeErrors(int index) {
      *
      * repeated .google.monitoring.v3.QueryError errors = 1;
      */
-    public com.google.monitoring.v3.QueryError.Builder getErrorsBuilder(int index) {
+    public com.google.monitoring.v3.QueryError.Builder getErrorsBuilder(
+        int index) {
       return getErrorsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Errors in parsing the time series query language text. The number of errors
      * in the response may be limited.
@@ -905,16 +834,14 @@ public com.google.monitoring.v3.QueryError.Builder getErrorsBuilder(int index) {
      *
      * repeated .google.monitoring.v3.QueryError errors = 1;
      */
-    public com.google.monitoring.v3.QueryErrorOrBuilder getErrorsOrBuilder(int index) {
+    public com.google.monitoring.v3.QueryErrorOrBuilder getErrorsOrBuilder(
+        int index) {
       if (errorsBuilder_ == null) {
-        return errors_.get(index);
-      } else {
+        return errors_.get(index);  } else {
         return errorsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Errors in parsing the time series query language text. The number of errors
      * in the response may be limited.
@@ -922,8 +849,8 @@ public com.google.monitoring.v3.QueryErrorOrBuilder getErrorsOrBuilder(int index
      *
      * repeated .google.monitoring.v3.QueryError errors = 1;
      */
-    public java.util.List
-        getErrorsOrBuilderList() {
+    public java.util.List 
+         getErrorsOrBuilderList() {
       if (errorsBuilder_ != null) {
         return errorsBuilder_.getMessageOrBuilderList();
       } else {
@@ -931,8 +858,6 @@ public com.google.monitoring.v3.QueryErrorOrBuilder getErrorsOrBuilder(int index
       }
     }
     /**
-     *
-     *
      * 
      * Errors in parsing the time series query language text. The number of errors
      * in the response may be limited.
@@ -941,12 +866,10 @@ public com.google.monitoring.v3.QueryErrorOrBuilder getErrorsOrBuilder(int index
      * repeated .google.monitoring.v3.QueryError errors = 1;
      */
     public com.google.monitoring.v3.QueryError.Builder addErrorsBuilder() {
-      return getErrorsFieldBuilder()
-          .addBuilder(com.google.monitoring.v3.QueryError.getDefaultInstance());
+      return getErrorsFieldBuilder().addBuilder(
+          com.google.monitoring.v3.QueryError.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Errors in parsing the time series query language text. The number of errors
      * in the response may be limited.
@@ -954,13 +877,12 @@ public com.google.monitoring.v3.QueryError.Builder addErrorsBuilder() {
      *
      * repeated .google.monitoring.v3.QueryError errors = 1;
      */
-    public com.google.monitoring.v3.QueryError.Builder addErrorsBuilder(int index) {
-      return getErrorsFieldBuilder()
-          .addBuilder(index, com.google.monitoring.v3.QueryError.getDefaultInstance());
+    public com.google.monitoring.v3.QueryError.Builder addErrorsBuilder(
+        int index) {
+      return getErrorsFieldBuilder().addBuilder(
+          index, com.google.monitoring.v3.QueryError.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Errors in parsing the time series query language text. The number of errors
      * in the response may be limited.
@@ -968,22 +890,20 @@ public com.google.monitoring.v3.QueryError.Builder addErrorsBuilder(int index) {
      *
      * repeated .google.monitoring.v3.QueryError errors = 1;
      */
-    public java.util.List getErrorsBuilderList() {
+    public java.util.List 
+         getErrorsBuilderList() {
       return getErrorsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.monitoring.v3.QueryError,
-            com.google.monitoring.v3.QueryError.Builder,
-            com.google.monitoring.v3.QueryErrorOrBuilder>
+        com.google.monitoring.v3.QueryError, com.google.monitoring.v3.QueryError.Builder, com.google.monitoring.v3.QueryErrorOrBuilder> 
         getErrorsFieldBuilder() {
       if (errorsBuilder_ == null) {
-        errorsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.monitoring.v3.QueryError,
-                com.google.monitoring.v3.QueryError.Builder,
-                com.google.monitoring.v3.QueryErrorOrBuilder>(
-                errors_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.monitoring.v3.QueryError, com.google.monitoring.v3.QueryError.Builder, com.google.monitoring.v3.QueryErrorOrBuilder>(
+                errors_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         errors_ = null;
       }
       return errorsBuilder_;
@@ -991,20 +911,18 @@ public java.util.List getErrorsBuil
 
     private java.lang.Object errorSummary_ = "";
     /**
-     *
-     *
      * 
      * A summary of all the errors.
      * 
* * string error_summary = 2; - * * @return The errorSummary. */ public java.lang.String getErrorSummary() { java.lang.Object ref = errorSummary_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorSummary_ = s; return s; @@ -1013,21 +931,20 @@ public java.lang.String getErrorSummary() { } } /** - * - * *
      * A summary of all the errors.
      * 
* * string error_summary = 2; - * * @return The bytes for errorSummary. */ - public com.google.protobuf.ByteString getErrorSummaryBytes() { + public com.google.protobuf.ByteString + getErrorSummaryBytes() { java.lang.Object ref = errorSummary_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); errorSummary_ = b; return b; } else { @@ -1035,68 +952,61 @@ public com.google.protobuf.ByteString getErrorSummaryBytes() { } } /** - * - * *
      * A summary of all the errors.
      * 
* * string error_summary = 2; - * * @param value The errorSummary to set. * @return This builder for chaining. */ - public Builder setErrorSummary(java.lang.String value) { + public Builder setErrorSummary( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + errorSummary_ = value; onChanged(); return this; } /** - * - * *
      * A summary of all the errors.
      * 
* * string error_summary = 2; - * * @return This builder for chaining. */ public Builder clearErrorSummary() { - + errorSummary_ = getDefaultInstance().getErrorSummary(); onChanged(); return this; } /** - * - * *
      * A summary of all the errors.
      * 
* * string error_summary = 2; - * * @param value The bytes for errorSummary to set. * @return This builder for chaining. */ - public Builder setErrorSummaryBytes(com.google.protobuf.ByteString value) { + public Builder setErrorSummaryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + errorSummary_ = 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); } @@ -1106,12 +1016,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.QueryErrorList) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.QueryErrorList) private static final com.google.monitoring.v3.QueryErrorList DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.QueryErrorList(); } @@ -1120,16 +1030,16 @@ public static com.google.monitoring.v3.QueryErrorList getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryErrorList parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QueryErrorList(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryErrorList parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueryErrorList(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1144,4 +1054,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.QueryErrorList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryErrorListOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryErrorListOrBuilder.java similarity index 68% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryErrorListOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryErrorListOrBuilder.java index 96c6fff6..12dea9a8 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryErrorListOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryErrorListOrBuilder.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/monitoring/v3/metric_service.proto package com.google.monitoring.v3; -public interface QueryErrorListOrBuilder - extends +public interface QueryErrorListOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.QueryErrorList) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Errors in parsing the time series query language text. The number of errors
    * in the response may be limited.
@@ -33,10 +15,9 @@ public interface QueryErrorListOrBuilder
    *
    * repeated .google.monitoring.v3.QueryError errors = 1;
    */
-  java.util.List getErrorsList();
+  java.util.List 
+      getErrorsList();
   /**
-   *
-   *
    * 
    * Errors in parsing the time series query language text. The number of errors
    * in the response may be limited.
@@ -46,8 +27,6 @@ public interface QueryErrorListOrBuilder
    */
   com.google.monitoring.v3.QueryError getErrors(int index);
   /**
-   *
-   *
    * 
    * Errors in parsing the time series query language text. The number of errors
    * in the response may be limited.
@@ -57,8 +36,6 @@ public interface QueryErrorListOrBuilder
    */
   int getErrorsCount();
   /**
-   *
-   *
    * 
    * Errors in parsing the time series query language text. The number of errors
    * in the response may be limited.
@@ -66,10 +43,9 @@ public interface QueryErrorListOrBuilder
    *
    * repeated .google.monitoring.v3.QueryError errors = 1;
    */
-  java.util.List getErrorsOrBuilderList();
+  java.util.List 
+      getErrorsOrBuilderList();
   /**
-   *
-   *
    * 
    * Errors in parsing the time series query language text. The number of errors
    * in the response may be limited.
@@ -77,30 +53,26 @@ public interface QueryErrorListOrBuilder
    *
    * repeated .google.monitoring.v3.QueryError errors = 1;
    */
-  com.google.monitoring.v3.QueryErrorOrBuilder getErrorsOrBuilder(int index);
+  com.google.monitoring.v3.QueryErrorOrBuilder getErrorsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * A summary of all the errors.
    * 
* * string error_summary = 2; - * * @return The errorSummary. */ java.lang.String getErrorSummary(); /** - * - * *
    * A summary of all the errors.
    * 
* * string error_summary = 2; - * * @return The bytes for errorSummary. */ - com.google.protobuf.ByteString getErrorSummaryBytes(); + com.google.protobuf.ByteString + getErrorSummaryBytes(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryErrorOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryErrorOrBuilder.java similarity index 64% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryErrorOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryErrorOrBuilder.java index 43c59bc7..027d9b4e 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryErrorOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryErrorOrBuilder.java @@ -1,57 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric.proto package com.google.monitoring.v3; -public interface QueryErrorOrBuilder - extends +public interface QueryErrorOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.QueryError) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The location of the time series query language text that this error applies
    * to.
    * 
* * .google.monitoring.v3.TextLocator locator = 1; - * * @return Whether the locator field is set. */ boolean hasLocator(); /** - * - * *
    * The location of the time series query language text that this error applies
    * to.
    * 
* * .google.monitoring.v3.TextLocator locator = 1; - * * @return The locator. */ com.google.monitoring.v3.TextLocator getLocator(); /** - * - * *
    * The location of the time series query language text that this error applies
    * to.
@@ -62,27 +38,22 @@ public interface QueryErrorOrBuilder
   com.google.monitoring.v3.TextLocatorOrBuilder getLocatorOrBuilder();
 
   /**
-   *
-   *
    * 
    * The error message.
    * 
* * string message = 2; - * * @return The message. */ java.lang.String getMessage(); /** - * - * *
    * The error message.
    * 
* * string message = 2; - * * @return The bytes for message. */ - com.google.protobuf.ByteString getMessageBytes(); + com.google.protobuf.ByteString + getMessageBytes(); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryServiceProto.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryServiceProto.java new file mode 100644 index 00000000..a1c67e4d --- /dev/null +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryServiceProto.java @@ -0,0 +1,71 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/query_service.proto + +package com.google.monitoring.v3; + +public final class QueryServiceProto { + private QueryServiceProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n(google/monitoring/v3/query_service.pro" + + "to\022\024google.monitoring.v3\032\034google/api/ann" + + "otations.proto\032\026google/api/label.proto\032!" + + "google/monitoring/v3/metric.proto\032)googl" + + "e/monitoring/v3/metric_service.proto\032\027go" + + "ogle/api/client.proto2\336\002\n\014QueryService\022\241" + + "\001\n\017QueryTimeSeries\022,.google.monitoring.v" + + "3.QueryTimeSeriesRequest\032-.google.monito" + + "ring.v3.QueryTimeSeriesResponse\"1\202\323\344\223\002+\"" + + "&/v3/{name=projects/*}/timeSeries:query:" + + "\001*\032\251\001\312A\031monitoring.googleapis.com\322A\211\001htt" + + "ps://www.googleapis.com/auth/cloud-platf" + + "orm,https://www.googleapis.com/auth/moni" + + "toring,https://www.googleapis.com/auth/m" + + "onitoring.readB\311\001\n\030com.google.monitoring" + + ".v3B\021QueryServiceProtoP\001Z>google.golang." + + "org/genproto/googleapis/monitoring/v3;mo" + + "nitoring\252\002\032Google.Cloud.Monitoring.V3\312\002\032" + + "Google\\Cloud\\Monitoring\\V3\352\002\035Google::Clo" + + "ud::Monitoring::V3b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.LabelProto.getDescriptor(), + com.google.monitoring.v3.MetricProto.getDescriptor(), + com.google.monitoring.v3.MetricServiceProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.oauthScopes); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.LabelProto.getDescriptor(); + com.google.monitoring.v3.MetricProto.getDescriptor(); + com.google.monitoring.v3.MetricServiceProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesRequest.java similarity index 74% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesRequest.java index 73bf3690..e401719b 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesRequest.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/monitoring/v3/metric_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `QueryTimeSeries` request.
  * 
* * Protobuf type {@code google.monitoring.v3.QueryTimeSeriesRequest} */ -public final class QueryTimeSeriesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class QueryTimeSeriesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.QueryTimeSeriesRequest) QueryTimeSeriesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use QueryTimeSeriesRequest.newBuilder() to construct. private QueryTimeSeriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private QueryTimeSeriesRequest() { name_ = ""; query_ = ""; @@ -45,15 +27,16 @@ private QueryTimeSeriesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new QueryTimeSeriesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private QueryTimeSeriesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,71 +55,64 @@ private QueryTimeSeriesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); - query_ = s; - break; - } - case 72: - { - pageSize_ = input.readInt32(); - break; - } - case 82: - { - java.lang.String s = input.readStringRequireUtf8(); + query_ = s; + break; + } + case 72: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 82: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_QueryTimeSeriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_QueryTimeSeriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_QueryTimeSeriesRequest_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_QueryTimeSeriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.QueryTimeSeriesRequest.class, - com.google.monitoring.v3.QueryTimeSeriesRequest.Builder.class); + com.google.monitoring.v3.QueryTimeSeriesRequest.class, com.google.monitoring.v3.QueryTimeSeriesRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
@@ -144,7 +120,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -153,15 +128,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
@@ -169,15 +143,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -188,8 +163,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int QUERY_FIELD_NUMBER = 7; private volatile java.lang.Object query_; /** - * - * *
    * Required. The query in the [Monitoring Query
    * Language](https://cloud.google.com/monitoring/mql/reference) format.
@@ -197,7 +170,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string query = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return The query. */ @java.lang.Override @@ -206,15 +178,14 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** - * - * *
    * Required. The query in the [Monitoring Query
    * Language](https://cloud.google.com/monitoring/mql/reference) format.
@@ -222,15 +193,16 @@ public java.lang.String getQuery() {
    * 
* * string query = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -241,14 +213,11 @@ public com.google.protobuf.ByteString getQueryBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 9; private int pageSize_; /** - * - * *
    * A positive number that is the maximum number of time_series_data to return.
    * 
* * int32 page_size = 9; - * * @return The pageSize. */ @java.lang.Override @@ -259,8 +228,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 10; private volatile java.lang.Object pageToken_; /** - * - * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -268,7 +235,6 @@ public int getPageSize() {
    * 
* * string page_token = 10; - * * @return The pageToken. */ @java.lang.Override @@ -277,15 +243,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -293,15 +258,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 10; - * * @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 { @@ -310,7 +276,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -322,7 +287,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_); } @@ -351,7 +317,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, query_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(9, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, pageToken_); @@ -364,18 +331,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.monitoring.v3.QueryTimeSeriesRequest)) { return super.equals(obj); } - com.google.monitoring.v3.QueryTimeSeriesRequest other = - (com.google.monitoring.v3.QueryTimeSeriesRequest) obj; - - if (!getName().equals(other.getName())) return false; - if (!getQuery().equals(other.getQuery())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.monitoring.v3.QueryTimeSeriesRequest other = (com.google.monitoring.v3.QueryTimeSeriesRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getQuery() + .equals(other.getQuery())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -400,127 +370,118 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.QueryTimeSeriesRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.QueryTimeSeriesRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.QueryTimeSeriesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.QueryTimeSeriesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.QueryTimeSeriesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.QueryTimeSeriesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.QueryTimeSeriesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.QueryTimeSeriesRequest 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.monitoring.v3.QueryTimeSeriesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.QueryTimeSeriesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.QueryTimeSeriesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.QueryTimeSeriesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.QueryTimeSeriesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.QueryTimeSeriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.QueryTimeSeriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 `QueryTimeSeries` request.
    * 
* * Protobuf type {@code google.monitoring.v3.QueryTimeSeriesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.QueryTimeSeriesRequest) com.google.monitoring.v3.QueryTimeSeriesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_QueryTimeSeriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_QueryTimeSeriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_QueryTimeSeriesRequest_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_QueryTimeSeriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.QueryTimeSeriesRequest.class, - com.google.monitoring.v3.QueryTimeSeriesRequest.Builder.class); + com.google.monitoring.v3.QueryTimeSeriesRequest.class, com.google.monitoring.v3.QueryTimeSeriesRequest.Builder.class); } // Construct using com.google.monitoring.v3.QueryTimeSeriesRequest.newBuilder() @@ -528,15 +489,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -552,9 +514,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_QueryTimeSeriesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_QueryTimeSeriesRequest_descriptor; } @java.lang.Override @@ -573,8 +535,7 @@ public com.google.monitoring.v3.QueryTimeSeriesRequest build() { @java.lang.Override public com.google.monitoring.v3.QueryTimeSeriesRequest buildPartial() { - com.google.monitoring.v3.QueryTimeSeriesRequest result = - new com.google.monitoring.v3.QueryTimeSeriesRequest(this); + com.google.monitoring.v3.QueryTimeSeriesRequest result = new com.google.monitoring.v3.QueryTimeSeriesRequest(this); result.name_ = name_; result.query_ = query_; result.pageSize_ = pageSize_; @@ -587,39 +548,38 @@ public com.google.monitoring.v3.QueryTimeSeriesRequest 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.monitoring.v3.QueryTimeSeriesRequest) { - return mergeFrom((com.google.monitoring.v3.QueryTimeSeriesRequest) other); + return mergeFrom((com.google.monitoring.v3.QueryTimeSeriesRequest)other); } else { super.mergeFrom(other); return this; @@ -627,8 +587,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.QueryTimeSeriesRequest other) { - if (other == com.google.monitoring.v3.QueryTimeSeriesRequest.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.QueryTimeSeriesRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -675,8 +634,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
@@ -684,13 +641,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -699,8 +656,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
@@ -708,14 +663,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -723,8 +679,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
@@ -732,22 +686,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
@@ -755,18 +707,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
@@ -774,16 +723,16 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -791,8 +740,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object query_ = ""; /** - * - * *
      * Required. The query in the [Monitoring Query
      * Language](https://cloud.google.com/monitoring/mql/reference) format.
@@ -800,13 +747,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string query = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -815,8 +762,6 @@ public java.lang.String getQuery() { } } /** - * - * *
      * Required. The query in the [Monitoring Query
      * Language](https://cloud.google.com/monitoring/mql/reference) format.
@@ -824,14 +769,15 @@ public java.lang.String getQuery() {
      * 
* * string query = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for query. */ - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -839,8 +785,6 @@ public com.google.protobuf.ByteString getQueryBytes() { } } /** - * - * *
      * Required. The query in the [Monitoring Query
      * Language](https://cloud.google.com/monitoring/mql/reference) format.
@@ -848,22 +792,20 @@ public com.google.protobuf.ByteString getQueryBytes() {
      * 
* * string query = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery(java.lang.String value) { + public Builder setQuery( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; onChanged(); return this; } /** - * - * *
      * Required. The query in the [Monitoring Query
      * Language](https://cloud.google.com/monitoring/mql/reference) format.
@@ -871,18 +813,15 @@ public Builder setQuery(java.lang.String value) {
      * 
* * string query = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearQuery() { - + query_ = getDefaultInstance().getQuery(); onChanged(); return this; } /** - * - * *
      * Required. The query in the [Monitoring Query
      * Language](https://cloud.google.com/monitoring/mql/reference) format.
@@ -890,31 +829,28 @@ public Builder clearQuery() {
      * 
* * string query = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes(com.google.protobuf.ByteString value) { + public Builder setQueryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * A positive number that is the maximum number of time_series_data to return.
      * 
* * int32 page_size = 9; - * * @return The pageSize. */ @java.lang.Override @@ -922,36 +858,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * A positive number that is the maximum number of time_series_data to return.
      * 
* * int32 page_size = 9; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * A positive number that is the maximum number of time_series_data to return.
      * 
* * int32 page_size = 9; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -959,8 +889,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -968,13 +896,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 10; - * * @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; @@ -983,8 +911,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -992,14 +918,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 10; - * * @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 { @@ -1007,8 +934,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1016,22 +941,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 10; - * * @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; } /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1039,18 +962,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 10; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1058,23 +978,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 10; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1084,12 +1004,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.QueryTimeSeriesRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.QueryTimeSeriesRequest) private static final com.google.monitoring.v3.QueryTimeSeriesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.QueryTimeSeriesRequest(); } @@ -1098,16 +1018,16 @@ public static com.google.monitoring.v3.QueryTimeSeriesRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryTimeSeriesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QueryTimeSeriesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryTimeSeriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueryTimeSeriesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1122,4 +1042,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.QueryTimeSeriesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesRequestOrBuilder.java similarity index 73% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesRequestOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesRequestOrBuilder.java index 6efbfe4c..2fff1cfe 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesRequestOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesRequestOrBuilder.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/monitoring/v3/metric_service.proto package com.google.monitoring.v3; -public interface QueryTimeSeriesRequestOrBuilder - extends +public interface QueryTimeSeriesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.QueryTimeSeriesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
@@ -33,13 +15,10 @@ public interface QueryTimeSeriesRequestOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
@@ -47,14 +26,12 @@ public interface QueryTimeSeriesRequestOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The query in the [Monitoring Query
    * Language](https://cloud.google.com/monitoring/mql/reference) format.
@@ -62,13 +39,10 @@ public interface QueryTimeSeriesRequestOrBuilder
    * 
* * string query = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return The query. */ java.lang.String getQuery(); /** - * - * *
    * Required. The query in the [Monitoring Query
    * Language](https://cloud.google.com/monitoring/mql/reference) format.
@@ -76,27 +50,22 @@ public interface QueryTimeSeriesRequestOrBuilder
    * 
* * string query = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for query. */ - com.google.protobuf.ByteString getQueryBytes(); + com.google.protobuf.ByteString + getQueryBytes(); /** - * - * *
    * A positive number that is the maximum number of time_series_data to return.
    * 
* * int32 page_size = 9; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -104,13 +73,10 @@ public interface QueryTimeSeriesRequestOrBuilder
    * 
* * string page_token = 10; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -118,8 +84,8 @@ public interface QueryTimeSeriesRequestOrBuilder
    * 
* * string page_token = 10; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesResponse.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesResponse.java similarity index 77% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesResponse.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesResponse.java index 0d72b9d7..506c0a73 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesResponse.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesResponse.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/monitoring/v3/metric_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `QueryTimeSeries` response.
  * 
* * Protobuf type {@code google.monitoring.v3.QueryTimeSeriesResponse} */ -public final class QueryTimeSeriesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class QueryTimeSeriesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.QueryTimeSeriesResponse) QueryTimeSeriesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use QueryTimeSeriesResponse.newBuilder() to construct. private QueryTimeSeriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private QueryTimeSeriesResponse() { timeSeriesData_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,15 +27,16 @@ private QueryTimeSeriesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new QueryTimeSeriesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private QueryTimeSeriesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,64 +56,57 @@ private QueryTimeSeriesResponse( case 0: done = true; break; - case 66: - { - com.google.monitoring.v3.TimeSeriesDescriptor.Builder subBuilder = null; - if (timeSeriesDescriptor_ != null) { - subBuilder = timeSeriesDescriptor_.toBuilder(); - } - timeSeriesDescriptor_ = - input.readMessage( - com.google.monitoring.v3.TimeSeriesDescriptor.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timeSeriesDescriptor_); - timeSeriesDescriptor_ = subBuilder.buildPartial(); - } - - break; + case 66: { + com.google.monitoring.v3.TimeSeriesDescriptor.Builder subBuilder = null; + if (timeSeriesDescriptor_ != null) { + subBuilder = timeSeriesDescriptor_.toBuilder(); } - case 74: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - timeSeriesData_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - timeSeriesData_.add( - input.readMessage( - com.google.monitoring.v3.TimeSeriesData.parser(), extensionRegistry)); - break; + timeSeriesDescriptor_ = input.readMessage(com.google.monitoring.v3.TimeSeriesDescriptor.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timeSeriesDescriptor_); + timeSeriesDescriptor_ = subBuilder.buildPartial(); } - case 82: - { - java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; + break; + } + case 74: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + timeSeriesData_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 90: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - partialErrors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - partialErrors_.add( - input.readMessage(com.google.rpc.Status.parser(), extensionRegistry)); - break; + timeSeriesData_.add( + input.readMessage(com.google.monitoring.v3.TimeSeriesData.parser(), extensionRegistry)); + break; + } + case 82: { + java.lang.String s = input.readStringRequireUtf8(); + + nextPageToken_ = s; + break; + } + case 90: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + partialErrors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + partialErrors_.add( + input.readMessage(com.google.rpc.Status.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { timeSeriesData_ = java.util.Collections.unmodifiableList(timeSeriesData_); @@ -142,33 +118,27 @@ private QueryTimeSeriesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_QueryTimeSeriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_QueryTimeSeriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_QueryTimeSeriesResponse_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_QueryTimeSeriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.QueryTimeSeriesResponse.class, - com.google.monitoring.v3.QueryTimeSeriesResponse.Builder.class); + com.google.monitoring.v3.QueryTimeSeriesResponse.class, com.google.monitoring.v3.QueryTimeSeriesResponse.Builder.class); } public static final int TIME_SERIES_DESCRIPTOR_FIELD_NUMBER = 8; private com.google.monitoring.v3.TimeSeriesDescriptor timeSeriesDescriptor_; /** - * - * *
    * The descriptor for the time series data.
    * 
* * .google.monitoring.v3.TimeSeriesDescriptor time_series_descriptor = 8; - * * @return Whether the timeSeriesDescriptor field is set. */ @java.lang.Override @@ -176,25 +146,18 @@ public boolean hasTimeSeriesDescriptor() { return timeSeriesDescriptor_ != null; } /** - * - * *
    * The descriptor for the time series data.
    * 
* * .google.monitoring.v3.TimeSeriesDescriptor time_series_descriptor = 8; - * * @return The timeSeriesDescriptor. */ @java.lang.Override public com.google.monitoring.v3.TimeSeriesDescriptor getTimeSeriesDescriptor() { - return timeSeriesDescriptor_ == null - ? com.google.monitoring.v3.TimeSeriesDescriptor.getDefaultInstance() - : timeSeriesDescriptor_; + return timeSeriesDescriptor_ == null ? com.google.monitoring.v3.TimeSeriesDescriptor.getDefaultInstance() : timeSeriesDescriptor_; } /** - * - * *
    * The descriptor for the time series data.
    * 
@@ -209,8 +172,6 @@ public com.google.monitoring.v3.TimeSeriesDescriptorOrBuilder getTimeSeriesDescr public static final int TIME_SERIES_DATA_FIELD_NUMBER = 9; private java.util.List timeSeriesData_; /** - * - * *
    * The time series data.
    * 
@@ -222,8 +183,6 @@ public java.util.List getTimeSeriesData return timeSeriesData_; } /** - * - * *
    * The time series data.
    * 
@@ -231,13 +190,11 @@ public java.util.List getTimeSeriesData * repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9; */ @java.lang.Override - public java.util.List + public java.util.List getTimeSeriesDataOrBuilderList() { return timeSeriesData_; } /** - * - * *
    * The time series data.
    * 
@@ -249,8 +206,6 @@ public int getTimeSeriesDataCount() { return timeSeriesData_.size(); } /** - * - * *
    * The time series data.
    * 
@@ -262,8 +217,6 @@ public com.google.monitoring.v3.TimeSeriesData getTimeSeriesData(int index) { return timeSeriesData_.get(index); } /** - * - * *
    * The time series data.
    * 
@@ -271,15 +224,14 @@ public com.google.monitoring.v3.TimeSeriesData getTimeSeriesData(int index) { * repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9; */ @java.lang.Override - public com.google.monitoring.v3.TimeSeriesDataOrBuilder getTimeSeriesDataOrBuilder(int index) { + public com.google.monitoring.v3.TimeSeriesDataOrBuilder getTimeSeriesDataOrBuilder( + int index) { return timeSeriesData_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 10; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results, use that value as
@@ -287,7 +239,6 @@ public com.google.monitoring.v3.TimeSeriesDataOrBuilder getTimeSeriesDataOrBuild
    * 
* * string next_page_token = 10; - * * @return The nextPageToken. */ @java.lang.Override @@ -296,15 +247,14 @@ 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; } } /** - * - * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results, use that value as
@@ -312,15 +262,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 10; - * * @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 { @@ -331,8 +282,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int PARTIAL_ERRORS_FIELD_NUMBER = 11; private java.util.List partialErrors_; /** - * - * *
    * Query execution errors that may have caused the time series data returned
    * to be incomplete. The available data will be available in the
@@ -346,8 +295,6 @@ public java.util.List getPartialErrorsList() {
     return partialErrors_;
   }
   /**
-   *
-   *
    * 
    * Query execution errors that may have caused the time series data returned
    * to be incomplete. The available data will be available in the
@@ -357,12 +304,11 @@ public java.util.List getPartialErrorsList() {
    * repeated .google.rpc.Status partial_errors = 11;
    */
   @java.lang.Override
-  public java.util.List getPartialErrorsOrBuilderList() {
+  public java.util.List 
+      getPartialErrorsOrBuilderList() {
     return partialErrors_;
   }
   /**
-   *
-   *
    * 
    * Query execution errors that may have caused the time series data returned
    * to be incomplete. The available data will be available in the
@@ -376,8 +322,6 @@ public int getPartialErrorsCount() {
     return partialErrors_.size();
   }
   /**
-   *
-   *
    * 
    * Query execution errors that may have caused the time series data returned
    * to be incomplete. The available data will be available in the
@@ -391,8 +335,6 @@ public com.google.rpc.Status getPartialErrors(int index) {
     return partialErrors_.get(index);
   }
   /**
-   *
-   *
    * 
    * Query execution errors that may have caused the time series data returned
    * to be incomplete. The available data will be available in the
@@ -402,12 +344,12 @@ public com.google.rpc.Status getPartialErrors(int index) {
    * repeated .google.rpc.Status partial_errors = 11;
    */
   @java.lang.Override
-  public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(int index) {
+  public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(
+      int index) {
     return partialErrors_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -419,7 +361,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 (timeSeriesDescriptor_ != null) {
       output.writeMessage(8, getTimeSeriesDescriptor());
     }
@@ -442,17 +385,19 @@ public int getSerializedSize() {
 
     size = 0;
     if (timeSeriesDescriptor_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(8, getTimeSeriesDescriptor());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(8, getTimeSeriesDescriptor());
     }
     for (int i = 0; i < timeSeriesData_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, timeSeriesData_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(9, timeSeriesData_.get(i));
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, nextPageToken_);
     }
     for (int i = 0; i < partialErrors_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, partialErrors_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(11, partialErrors_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -462,21 +407,24 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.monitoring.v3.QueryTimeSeriesResponse)) {
       return super.equals(obj);
     }
-    com.google.monitoring.v3.QueryTimeSeriesResponse other =
-        (com.google.monitoring.v3.QueryTimeSeriesResponse) obj;
+    com.google.monitoring.v3.QueryTimeSeriesResponse other = (com.google.monitoring.v3.QueryTimeSeriesResponse) obj;
 
     if (hasTimeSeriesDescriptor() != other.hasTimeSeriesDescriptor()) return false;
     if (hasTimeSeriesDescriptor()) {
-      if (!getTimeSeriesDescriptor().equals(other.getTimeSeriesDescriptor())) return false;
-    }
-    if (!getTimeSeriesDataList().equals(other.getTimeSeriesDataList())) return false;
-    if (!getNextPageToken().equals(other.getNextPageToken())) return false;
-    if (!getPartialErrorsList().equals(other.getPartialErrorsList())) return false;
+      if (!getTimeSeriesDescriptor()
+          .equals(other.getTimeSeriesDescriptor())) return false;
+    }
+    if (!getTimeSeriesDataList()
+        .equals(other.getTimeSeriesDataList())) return false;
+    if (!getNextPageToken()
+        .equals(other.getNextPageToken())) return false;
+    if (!getPartialErrorsList()
+        .equals(other.getPartialErrorsList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -507,127 +455,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.monitoring.v3.QueryTimeSeriesResponse parseFrom(java.nio.ByteBuffer data)
+  public static com.google.monitoring.v3.QueryTimeSeriesResponse parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.monitoring.v3.QueryTimeSeriesResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.monitoring.v3.QueryTimeSeriesResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.monitoring.v3.QueryTimeSeriesResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.monitoring.v3.QueryTimeSeriesResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.monitoring.v3.QueryTimeSeriesResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.monitoring.v3.QueryTimeSeriesResponse parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.monitoring.v3.QueryTimeSeriesResponse parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.monitoring.v3.QueryTimeSeriesResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.monitoring.v3.QueryTimeSeriesResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.monitoring.v3.QueryTimeSeriesResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.monitoring.v3.QueryTimeSeriesResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.monitoring.v3.QueryTimeSeriesResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.monitoring.v3.QueryTimeSeriesResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.monitoring.v3.QueryTimeSeriesResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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 `QueryTimeSeries` response.
    * 
* * Protobuf type {@code google.monitoring.v3.QueryTimeSeriesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.QueryTimeSeriesResponse) com.google.monitoring.v3.QueryTimeSeriesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_QueryTimeSeriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_QueryTimeSeriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_QueryTimeSeriesResponse_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_QueryTimeSeriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.QueryTimeSeriesResponse.class, - com.google.monitoring.v3.QueryTimeSeriesResponse.Builder.class); + com.google.monitoring.v3.QueryTimeSeriesResponse.class, com.google.monitoring.v3.QueryTimeSeriesResponse.Builder.class); } // Construct using com.google.monitoring.v3.QueryTimeSeriesResponse.newBuilder() @@ -635,18 +574,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getTimeSeriesDataFieldBuilder(); getPartialErrorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -674,9 +613,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.MetricServiceProto - .internal_static_google_monitoring_v3_QueryTimeSeriesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_QueryTimeSeriesResponse_descriptor; } @java.lang.Override @@ -695,8 +634,7 @@ public com.google.monitoring.v3.QueryTimeSeriesResponse build() { @java.lang.Override public com.google.monitoring.v3.QueryTimeSeriesResponse buildPartial() { - com.google.monitoring.v3.QueryTimeSeriesResponse result = - new com.google.monitoring.v3.QueryTimeSeriesResponse(this); + com.google.monitoring.v3.QueryTimeSeriesResponse result = new com.google.monitoring.v3.QueryTimeSeriesResponse(this); int from_bitField0_ = bitField0_; if (timeSeriesDescriptorBuilder_ == null) { result.timeSeriesDescriptor_ = timeSeriesDescriptor_; @@ -730,39 +668,38 @@ public com.google.monitoring.v3.QueryTimeSeriesResponse 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.monitoring.v3.QueryTimeSeriesResponse) { - return mergeFrom((com.google.monitoring.v3.QueryTimeSeriesResponse) other); + return mergeFrom((com.google.monitoring.v3.QueryTimeSeriesResponse)other); } else { super.mergeFrom(other); return this; @@ -770,8 +707,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.QueryTimeSeriesResponse other) { - if (other == com.google.monitoring.v3.QueryTimeSeriesResponse.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.QueryTimeSeriesResponse.getDefaultInstance()) return this; if (other.hasTimeSeriesDescriptor()) { mergeTimeSeriesDescriptor(other.getTimeSeriesDescriptor()); } @@ -793,10 +729,9 @@ public Builder mergeFrom(com.google.monitoring.v3.QueryTimeSeriesResponse other) timeSeriesDataBuilder_ = null; timeSeriesData_ = other.timeSeriesData_; bitField0_ = (bitField0_ & ~0x00000001); - timeSeriesDataBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTimeSeriesDataFieldBuilder() - : null; + timeSeriesDataBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTimeSeriesDataFieldBuilder() : null; } else { timeSeriesDataBuilder_.addAllMessages(other.timeSeriesData_); } @@ -824,10 +759,9 @@ public Builder mergeFrom(com.google.monitoring.v3.QueryTimeSeriesResponse other) partialErrorsBuilder_ = null; partialErrors_ = other.partialErrors_; bitField0_ = (bitField0_ & ~0x00000002); - partialErrorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPartialErrorsFieldBuilder() - : null; + partialErrorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPartialErrorsFieldBuilder() : null; } else { partialErrorsBuilder_.addAllMessages(other.partialErrors_); } @@ -861,52 +795,38 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private com.google.monitoring.v3.TimeSeriesDescriptor timeSeriesDescriptor_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TimeSeriesDescriptor, - com.google.monitoring.v3.TimeSeriesDescriptor.Builder, - com.google.monitoring.v3.TimeSeriesDescriptorOrBuilder> - timeSeriesDescriptorBuilder_; + com.google.monitoring.v3.TimeSeriesDescriptor, com.google.monitoring.v3.TimeSeriesDescriptor.Builder, com.google.monitoring.v3.TimeSeriesDescriptorOrBuilder> timeSeriesDescriptorBuilder_; /** - * - * *
      * The descriptor for the time series data.
      * 
* * .google.monitoring.v3.TimeSeriesDescriptor time_series_descriptor = 8; - * * @return Whether the timeSeriesDescriptor field is set. */ public boolean hasTimeSeriesDescriptor() { return timeSeriesDescriptorBuilder_ != null || timeSeriesDescriptor_ != null; } /** - * - * *
      * The descriptor for the time series data.
      * 
* * .google.monitoring.v3.TimeSeriesDescriptor time_series_descriptor = 8; - * * @return The timeSeriesDescriptor. */ public com.google.monitoring.v3.TimeSeriesDescriptor getTimeSeriesDescriptor() { if (timeSeriesDescriptorBuilder_ == null) { - return timeSeriesDescriptor_ == null - ? com.google.monitoring.v3.TimeSeriesDescriptor.getDefaultInstance() - : timeSeriesDescriptor_; + return timeSeriesDescriptor_ == null ? com.google.monitoring.v3.TimeSeriesDescriptor.getDefaultInstance() : timeSeriesDescriptor_; } else { return timeSeriesDescriptorBuilder_.getMessage(); } } /** - * - * *
      * The descriptor for the time series data.
      * 
@@ -927,8 +847,6 @@ public Builder setTimeSeriesDescriptor(com.google.monitoring.v3.TimeSeriesDescri return this; } /** - * - * *
      * The descriptor for the time series data.
      * 
@@ -947,8 +865,6 @@ public Builder setTimeSeriesDescriptor( return this; } /** - * - * *
      * The descriptor for the time series data.
      * 
@@ -959,9 +875,7 @@ public Builder mergeTimeSeriesDescriptor(com.google.monitoring.v3.TimeSeriesDesc if (timeSeriesDescriptorBuilder_ == null) { if (timeSeriesDescriptor_ != null) { timeSeriesDescriptor_ = - com.google.monitoring.v3.TimeSeriesDescriptor.newBuilder(timeSeriesDescriptor_) - .mergeFrom(value) - .buildPartial(); + com.google.monitoring.v3.TimeSeriesDescriptor.newBuilder(timeSeriesDescriptor_).mergeFrom(value).buildPartial(); } else { timeSeriesDescriptor_ = value; } @@ -973,8 +887,6 @@ public Builder mergeTimeSeriesDescriptor(com.google.monitoring.v3.TimeSeriesDesc return this; } /** - * - * *
      * The descriptor for the time series data.
      * 
@@ -993,8 +905,6 @@ public Builder clearTimeSeriesDescriptor() { return this; } /** - * - * *
      * The descriptor for the time series data.
      * 
@@ -1002,32 +912,26 @@ public Builder clearTimeSeriesDescriptor() { * .google.monitoring.v3.TimeSeriesDescriptor time_series_descriptor = 8; */ public com.google.monitoring.v3.TimeSeriesDescriptor.Builder getTimeSeriesDescriptorBuilder() { - + onChanged(); return getTimeSeriesDescriptorFieldBuilder().getBuilder(); } /** - * - * *
      * The descriptor for the time series data.
      * 
* * .google.monitoring.v3.TimeSeriesDescriptor time_series_descriptor = 8; */ - public com.google.monitoring.v3.TimeSeriesDescriptorOrBuilder - getTimeSeriesDescriptorOrBuilder() { + public com.google.monitoring.v3.TimeSeriesDescriptorOrBuilder getTimeSeriesDescriptorOrBuilder() { if (timeSeriesDescriptorBuilder_ != null) { return timeSeriesDescriptorBuilder_.getMessageOrBuilder(); } else { - return timeSeriesDescriptor_ == null - ? com.google.monitoring.v3.TimeSeriesDescriptor.getDefaultInstance() - : timeSeriesDescriptor_; + return timeSeriesDescriptor_ == null ? + com.google.monitoring.v3.TimeSeriesDescriptor.getDefaultInstance() : timeSeriesDescriptor_; } } /** - * - * *
      * The descriptor for the time series data.
      * 
@@ -1035,42 +939,32 @@ public com.google.monitoring.v3.TimeSeriesDescriptor.Builder getTimeSeriesDescri * .google.monitoring.v3.TimeSeriesDescriptor time_series_descriptor = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TimeSeriesDescriptor, - com.google.monitoring.v3.TimeSeriesDescriptor.Builder, - com.google.monitoring.v3.TimeSeriesDescriptorOrBuilder> + com.google.monitoring.v3.TimeSeriesDescriptor, com.google.monitoring.v3.TimeSeriesDescriptor.Builder, com.google.monitoring.v3.TimeSeriesDescriptorOrBuilder> getTimeSeriesDescriptorFieldBuilder() { if (timeSeriesDescriptorBuilder_ == null) { - timeSeriesDescriptorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TimeSeriesDescriptor, - com.google.monitoring.v3.TimeSeriesDescriptor.Builder, - com.google.monitoring.v3.TimeSeriesDescriptorOrBuilder>( - getTimeSeriesDescriptor(), getParentForChildren(), isClean()); + timeSeriesDescriptorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.TimeSeriesDescriptor, com.google.monitoring.v3.TimeSeriesDescriptor.Builder, com.google.monitoring.v3.TimeSeriesDescriptorOrBuilder>( + getTimeSeriesDescriptor(), + getParentForChildren(), + isClean()); timeSeriesDescriptor_ = null; } return timeSeriesDescriptorBuilder_; } private java.util.List timeSeriesData_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTimeSeriesDataIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - timeSeriesData_ = - new java.util.ArrayList(timeSeriesData_); + timeSeriesData_ = new java.util.ArrayList(timeSeriesData_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.TimeSeriesData, - com.google.monitoring.v3.TimeSeriesData.Builder, - com.google.monitoring.v3.TimeSeriesDataOrBuilder> - timeSeriesDataBuilder_; + com.google.monitoring.v3.TimeSeriesData, com.google.monitoring.v3.TimeSeriesData.Builder, com.google.monitoring.v3.TimeSeriesDataOrBuilder> timeSeriesDataBuilder_; /** - * - * *
      * The time series data.
      * 
@@ -1085,8 +979,6 @@ public java.util.List getTimeSeriesData } } /** - * - * *
      * The time series data.
      * 
@@ -1101,8 +993,6 @@ public int getTimeSeriesDataCount() { } } /** - * - * *
      * The time series data.
      * 
@@ -1117,15 +1007,14 @@ public com.google.monitoring.v3.TimeSeriesData getTimeSeriesData(int index) { } } /** - * - * *
      * The time series data.
      * 
* * repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9; */ - public Builder setTimeSeriesData(int index, com.google.monitoring.v3.TimeSeriesData value) { + public Builder setTimeSeriesData( + int index, com.google.monitoring.v3.TimeSeriesData value) { if (timeSeriesDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1139,8 +1028,6 @@ public Builder setTimeSeriesData(int index, com.google.monitoring.v3.TimeSeriesD return this; } /** - * - * *
      * The time series data.
      * 
@@ -1159,8 +1046,6 @@ public Builder setTimeSeriesData( return this; } /** - * - * *
      * The time series data.
      * 
@@ -1181,15 +1066,14 @@ public Builder addTimeSeriesData(com.google.monitoring.v3.TimeSeriesData value) return this; } /** - * - * *
      * The time series data.
      * 
* * repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9; */ - public Builder addTimeSeriesData(int index, com.google.monitoring.v3.TimeSeriesData value) { + public Builder addTimeSeriesData( + int index, com.google.monitoring.v3.TimeSeriesData value) { if (timeSeriesDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1203,8 +1087,6 @@ public Builder addTimeSeriesData(int index, com.google.monitoring.v3.TimeSeriesD return this; } /** - * - * *
      * The time series data.
      * 
@@ -1223,8 +1105,6 @@ public Builder addTimeSeriesData( return this; } /** - * - * *
      * The time series data.
      * 
@@ -1243,8 +1123,6 @@ public Builder addTimeSeriesData( return this; } /** - * - * *
      * The time series data.
      * 
@@ -1255,7 +1133,8 @@ public Builder addAllTimeSeriesData( java.lang.Iterable values) { if (timeSeriesDataBuilder_ == null) { ensureTimeSeriesDataIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, timeSeriesData_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, timeSeriesData_); onChanged(); } else { timeSeriesDataBuilder_.addAllMessages(values); @@ -1263,8 +1142,6 @@ public Builder addAllTimeSeriesData( return this; } /** - * - * *
      * The time series data.
      * 
@@ -1282,8 +1159,6 @@ public Builder clearTimeSeriesData() { return this; } /** - * - * *
      * The time series data.
      * 
@@ -1301,44 +1176,39 @@ public Builder removeTimeSeriesData(int index) { return this; } /** - * - * *
      * The time series data.
      * 
* * repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9; */ - public com.google.monitoring.v3.TimeSeriesData.Builder getTimeSeriesDataBuilder(int index) { + public com.google.monitoring.v3.TimeSeriesData.Builder getTimeSeriesDataBuilder( + int index) { return getTimeSeriesDataFieldBuilder().getBuilder(index); } /** - * - * *
      * The time series data.
      * 
* * repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9; */ - public com.google.monitoring.v3.TimeSeriesDataOrBuilder getTimeSeriesDataOrBuilder(int index) { + public com.google.monitoring.v3.TimeSeriesDataOrBuilder getTimeSeriesDataOrBuilder( + int index) { if (timeSeriesDataBuilder_ == null) { - return timeSeriesData_.get(index); - } else { + return timeSeriesData_.get(index); } else { return timeSeriesDataBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The time series data.
      * 
* * repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9; */ - public java.util.List - getTimeSeriesDataOrBuilderList() { + public java.util.List + getTimeSeriesDataOrBuilderList() { if (timeSeriesDataBuilder_ != null) { return timeSeriesDataBuilder_.getMessageOrBuilderList(); } else { @@ -1346,8 +1216,6 @@ public com.google.monitoring.v3.TimeSeriesDataOrBuilder getTimeSeriesDataOrBuild } } /** - * - * *
      * The time series data.
      * 
@@ -1355,47 +1223,38 @@ public com.google.monitoring.v3.TimeSeriesDataOrBuilder getTimeSeriesDataOrBuild * repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9; */ public com.google.monitoring.v3.TimeSeriesData.Builder addTimeSeriesDataBuilder() { - return getTimeSeriesDataFieldBuilder() - .addBuilder(com.google.monitoring.v3.TimeSeriesData.getDefaultInstance()); + return getTimeSeriesDataFieldBuilder().addBuilder( + com.google.monitoring.v3.TimeSeriesData.getDefaultInstance()); } /** - * - * *
      * The time series data.
      * 
* * repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9; */ - public com.google.monitoring.v3.TimeSeriesData.Builder addTimeSeriesDataBuilder(int index) { - return getTimeSeriesDataFieldBuilder() - .addBuilder(index, com.google.monitoring.v3.TimeSeriesData.getDefaultInstance()); + public com.google.monitoring.v3.TimeSeriesData.Builder addTimeSeriesDataBuilder( + int index) { + return getTimeSeriesDataFieldBuilder().addBuilder( + index, com.google.monitoring.v3.TimeSeriesData.getDefaultInstance()); } /** - * - * *
      * The time series data.
      * 
* * repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9; */ - public java.util.List - getTimeSeriesDataBuilderList() { + public java.util.List + getTimeSeriesDataBuilderList() { return getTimeSeriesDataFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.TimeSeriesData, - com.google.monitoring.v3.TimeSeriesData.Builder, - com.google.monitoring.v3.TimeSeriesDataOrBuilder> + com.google.monitoring.v3.TimeSeriesData, com.google.monitoring.v3.TimeSeriesData.Builder, com.google.monitoring.v3.TimeSeriesDataOrBuilder> getTimeSeriesDataFieldBuilder() { if (timeSeriesDataBuilder_ == null) { - timeSeriesDataBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.TimeSeriesData, - com.google.monitoring.v3.TimeSeriesData.Builder, - com.google.monitoring.v3.TimeSeriesDataOrBuilder>( + timeSeriesDataBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.monitoring.v3.TimeSeriesData, com.google.monitoring.v3.TimeSeriesData.Builder, com.google.monitoring.v3.TimeSeriesDataOrBuilder>( timeSeriesData_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1407,8 +1266,6 @@ public com.google.monitoring.v3.TimeSeriesData.Builder addTimeSeriesDataBuilder( private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results, use that value as
@@ -1416,13 +1273,13 @@ public com.google.monitoring.v3.TimeSeriesData.Builder addTimeSeriesDataBuilder(
      * 
* * string next_page_token = 10; - * * @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; @@ -1431,8 +1288,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results, use that value as
@@ -1440,14 +1295,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 10; - * * @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 { @@ -1455,8 +1311,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results, use that value as
@@ -1464,22 +1318,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 10; - * * @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; } /** - * - * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results, use that value as
@@ -1487,18 +1339,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 10; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results, use that value as
@@ -1506,38 +1355,34 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 10; - * * @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; } private java.util.List partialErrors_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePartialErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { partialErrors_ = new java.util.ArrayList(partialErrors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - partialErrorsBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> partialErrorsBuilder_; /** - * - * *
      * Query execution errors that may have caused the time series data returned
      * to be incomplete. The available data will be available in the
@@ -1554,8 +1399,6 @@ public java.util.List getPartialErrorsList() {
       }
     }
     /**
-     *
-     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete. The available data will be available in the
@@ -1572,8 +1415,6 @@ public int getPartialErrorsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete. The available data will be available in the
@@ -1590,8 +1431,6 @@ public com.google.rpc.Status getPartialErrors(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete. The available data will be available in the
@@ -1600,7 +1439,8 @@ public com.google.rpc.Status getPartialErrors(int index) {
      *
      * repeated .google.rpc.Status partial_errors = 11;
      */
-    public Builder setPartialErrors(int index, com.google.rpc.Status value) {
+    public Builder setPartialErrors(
+        int index, com.google.rpc.Status value) {
       if (partialErrorsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1614,8 +1454,6 @@ public Builder setPartialErrors(int index, com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete. The available data will be available in the
@@ -1624,7 +1462,8 @@ public Builder setPartialErrors(int index, com.google.rpc.Status value) {
      *
      * repeated .google.rpc.Status partial_errors = 11;
      */
-    public Builder setPartialErrors(int index, com.google.rpc.Status.Builder builderForValue) {
+    public Builder setPartialErrors(
+        int index, com.google.rpc.Status.Builder builderForValue) {
       if (partialErrorsBuilder_ == null) {
         ensurePartialErrorsIsMutable();
         partialErrors_.set(index, builderForValue.build());
@@ -1635,8 +1474,6 @@ public Builder setPartialErrors(int index, com.google.rpc.Status.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete. The available data will be available in the
@@ -1659,8 +1496,6 @@ public Builder addPartialErrors(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete. The available data will be available in the
@@ -1669,7 +1504,8 @@ public Builder addPartialErrors(com.google.rpc.Status value) {
      *
      * repeated .google.rpc.Status partial_errors = 11;
      */
-    public Builder addPartialErrors(int index, com.google.rpc.Status value) {
+    public Builder addPartialErrors(
+        int index, com.google.rpc.Status value) {
       if (partialErrorsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1683,8 +1519,6 @@ public Builder addPartialErrors(int index, com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete. The available data will be available in the
@@ -1693,7 +1527,8 @@ public Builder addPartialErrors(int index, com.google.rpc.Status value) {
      *
      * repeated .google.rpc.Status partial_errors = 11;
      */
-    public Builder addPartialErrors(com.google.rpc.Status.Builder builderForValue) {
+    public Builder addPartialErrors(
+        com.google.rpc.Status.Builder builderForValue) {
       if (partialErrorsBuilder_ == null) {
         ensurePartialErrorsIsMutable();
         partialErrors_.add(builderForValue.build());
@@ -1704,8 +1539,6 @@ public Builder addPartialErrors(com.google.rpc.Status.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete. The available data will be available in the
@@ -1714,7 +1547,8 @@ public Builder addPartialErrors(com.google.rpc.Status.Builder builderForValue) {
      *
      * repeated .google.rpc.Status partial_errors = 11;
      */
-    public Builder addPartialErrors(int index, com.google.rpc.Status.Builder builderForValue) {
+    public Builder addPartialErrors(
+        int index, com.google.rpc.Status.Builder builderForValue) {
       if (partialErrorsBuilder_ == null) {
         ensurePartialErrorsIsMutable();
         partialErrors_.add(index, builderForValue.build());
@@ -1725,8 +1559,6 @@ public Builder addPartialErrors(int index, com.google.rpc.Status.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete. The available data will be available in the
@@ -1735,10 +1567,12 @@ public Builder addPartialErrors(int index, com.google.rpc.Status.Builder builder
      *
      * repeated .google.rpc.Status partial_errors = 11;
      */
-    public Builder addAllPartialErrors(java.lang.Iterable values) {
+    public Builder addAllPartialErrors(
+        java.lang.Iterable values) {
       if (partialErrorsBuilder_ == null) {
         ensurePartialErrorsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, partialErrors_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, partialErrors_);
         onChanged();
       } else {
         partialErrorsBuilder_.addAllMessages(values);
@@ -1746,8 +1580,6 @@ public Builder addAllPartialErrors(java.lang.Iterable
      * Query execution errors that may have caused the time series data returned
      * to be incomplete. The available data will be available in the
@@ -1767,8 +1599,6 @@ public Builder clearPartialErrors() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete. The available data will be available in the
@@ -1788,8 +1618,6 @@ public Builder removePartialErrors(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete. The available data will be available in the
@@ -1798,12 +1626,11 @@ public Builder removePartialErrors(int index) {
      *
      * repeated .google.rpc.Status partial_errors = 11;
      */
-    public com.google.rpc.Status.Builder getPartialErrorsBuilder(int index) {
+    public com.google.rpc.Status.Builder getPartialErrorsBuilder(
+        int index) {
       return getPartialErrorsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete. The available data will be available in the
@@ -1812,16 +1639,14 @@ public com.google.rpc.Status.Builder getPartialErrorsBuilder(int index) {
      *
      * repeated .google.rpc.Status partial_errors = 11;
      */
-    public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(int index) {
+    public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(
+        int index) {
       if (partialErrorsBuilder_ == null) {
-        return partialErrors_.get(index);
-      } else {
+        return partialErrors_.get(index);  } else {
         return partialErrorsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete. The available data will be available in the
@@ -1830,8 +1655,8 @@ public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(int index) {
      *
      * repeated .google.rpc.Status partial_errors = 11;
      */
-    public java.util.List
-        getPartialErrorsOrBuilderList() {
+    public java.util.List 
+         getPartialErrorsOrBuilderList() {
       if (partialErrorsBuilder_ != null) {
         return partialErrorsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1839,8 +1664,6 @@ public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete. The available data will be available in the
@@ -1850,11 +1673,10 @@ public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(int index) {
      * repeated .google.rpc.Status partial_errors = 11;
      */
     public com.google.rpc.Status.Builder addPartialErrorsBuilder() {
-      return getPartialErrorsFieldBuilder().addBuilder(com.google.rpc.Status.getDefaultInstance());
+      return getPartialErrorsFieldBuilder().addBuilder(
+          com.google.rpc.Status.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete. The available data will be available in the
@@ -1863,13 +1685,12 @@ public com.google.rpc.Status.Builder addPartialErrorsBuilder() {
      *
      * repeated .google.rpc.Status partial_errors = 11;
      */
-    public com.google.rpc.Status.Builder addPartialErrorsBuilder(int index) {
-      return getPartialErrorsFieldBuilder()
-          .addBuilder(index, com.google.rpc.Status.getDefaultInstance());
+    public com.google.rpc.Status.Builder addPartialErrorsBuilder(
+        int index) {
+      return getPartialErrorsFieldBuilder().addBuilder(
+          index, com.google.rpc.Status.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete. The available data will be available in the
@@ -1878,19 +1699,16 @@ public com.google.rpc.Status.Builder addPartialErrorsBuilder(int index) {
      *
      * repeated .google.rpc.Status partial_errors = 11;
      */
-    public java.util.List getPartialErrorsBuilderList() {
+    public java.util.List 
+         getPartialErrorsBuilderList() {
       return getPartialErrorsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> 
         getPartialErrorsFieldBuilder() {
       if (partialErrorsBuilder_ == null) {
-        partialErrorsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.rpc.Status,
-                com.google.rpc.Status.Builder,
-                com.google.rpc.StatusOrBuilder>(
+        partialErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
                 partialErrors_,
                 ((bitField0_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -1899,9 +1717,9 @@ public java.util.List getPartialErrorsBuilderList
       }
       return partialErrorsBuilder_;
     }
-
     @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);
     }
 
@@ -1911,12 +1729,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.monitoring.v3.QueryTimeSeriesResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.monitoring.v3.QueryTimeSeriesResponse)
   private static final com.google.monitoring.v3.QueryTimeSeriesResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.monitoring.v3.QueryTimeSeriesResponse();
   }
@@ -1925,16 +1743,16 @@ public static com.google.monitoring.v3.QueryTimeSeriesResponse getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public QueryTimeSeriesResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new QueryTimeSeriesResponse(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public QueryTimeSeriesResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new QueryTimeSeriesResponse(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1949,4 +1767,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.monitoring.v3.QueryTimeSeriesResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesResponseOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesResponseOrBuilder.java
similarity index 77%
rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesResponseOrBuilder.java
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesResponseOrBuilder.java
index 96d37a5f..7a90c5db 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesResponseOrBuilder.java
+++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesResponseOrBuilder.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/monitoring/v3/metric_service.proto
 
 package com.google.monitoring.v3;
 
-public interface QueryTimeSeriesResponseOrBuilder
-    extends
+public interface QueryTimeSeriesResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.monitoring.v3.QueryTimeSeriesResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The descriptor for the time series data.
    * 
* * .google.monitoring.v3.TimeSeriesDescriptor time_series_descriptor = 8; - * * @return Whether the timeSeriesDescriptor field is set. */ boolean hasTimeSeriesDescriptor(); /** - * - * *
    * The descriptor for the time series data.
    * 
* * .google.monitoring.v3.TimeSeriesDescriptor time_series_descriptor = 8; - * * @return The timeSeriesDescriptor. */ com.google.monitoring.v3.TimeSeriesDescriptor getTimeSeriesDescriptor(); /** - * - * *
    * The descriptor for the time series data.
    * 
@@ -59,18 +35,15 @@ public interface QueryTimeSeriesResponseOrBuilder com.google.monitoring.v3.TimeSeriesDescriptorOrBuilder getTimeSeriesDescriptorOrBuilder(); /** - * - * *
    * The time series data.
    * 
* * repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9; */ - java.util.List getTimeSeriesDataList(); + java.util.List + getTimeSeriesDataList(); /** - * - * *
    * The time series data.
    * 
@@ -79,8 +52,6 @@ public interface QueryTimeSeriesResponseOrBuilder */ com.google.monitoring.v3.TimeSeriesData getTimeSeriesData(int index); /** - * - * *
    * The time series data.
    * 
@@ -89,30 +60,25 @@ public interface QueryTimeSeriesResponseOrBuilder */ int getTimeSeriesDataCount(); /** - * - * *
    * The time series data.
    * 
* * repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9; */ - java.util.List + java.util.List getTimeSeriesDataOrBuilderList(); /** - * - * *
    * The time series data.
    * 
* * repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9; */ - com.google.monitoring.v3.TimeSeriesDataOrBuilder getTimeSeriesDataOrBuilder(int index); + com.google.monitoring.v3.TimeSeriesDataOrBuilder getTimeSeriesDataOrBuilder( + int index); /** - * - * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results, use that value as
@@ -120,13 +86,10 @@ public interface QueryTimeSeriesResponseOrBuilder
    * 
* * string next_page_token = 10; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results, use that value as
@@ -134,14 +97,12 @@ public interface QueryTimeSeriesResponseOrBuilder
    * 
* * string next_page_token = 10; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Query execution errors that may have caused the time series data returned
    * to be incomplete. The available data will be available in the
@@ -150,10 +111,9 @@ public interface QueryTimeSeriesResponseOrBuilder
    *
    * repeated .google.rpc.Status partial_errors = 11;
    */
-  java.util.List getPartialErrorsList();
+  java.util.List 
+      getPartialErrorsList();
   /**
-   *
-   *
    * 
    * Query execution errors that may have caused the time series data returned
    * to be incomplete. The available data will be available in the
@@ -164,8 +124,6 @@ public interface QueryTimeSeriesResponseOrBuilder
    */
   com.google.rpc.Status getPartialErrors(int index);
   /**
-   *
-   *
    * 
    * Query execution errors that may have caused the time series data returned
    * to be incomplete. The available data will be available in the
@@ -176,8 +134,6 @@ public interface QueryTimeSeriesResponseOrBuilder
    */
   int getPartialErrorsCount();
   /**
-   *
-   *
    * 
    * Query execution errors that may have caused the time series data returned
    * to be incomplete. The available data will be available in the
@@ -186,10 +142,9 @@ public interface QueryTimeSeriesResponseOrBuilder
    *
    * repeated .google.rpc.Status partial_errors = 11;
    */
-  java.util.List getPartialErrorsOrBuilderList();
+  java.util.List 
+      getPartialErrorsOrBuilderList();
   /**
-   *
-   *
    * 
    * Query execution errors that may have caused the time series data returned
    * to be incomplete. The available data will be available in the
@@ -198,5 +153,6 @@ public interface QueryTimeSeriesResponseOrBuilder
    *
    * repeated .google.rpc.Status partial_errors = 11;
    */
-  com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(int index);
+  com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(
+      int index);
 }
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Range.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Range.java
similarity index 68%
rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Range.java
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Range.java
index 5d580e90..85623906 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Range.java
+++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Range.java
@@ -1,55 +1,39 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/monitoring/v3/service.proto
 
 package com.google.monitoring.v3;
 
 /**
- *
- *
  * 
  * Range of numerical values within `min` and `max`.
  * 
* * Protobuf type {@code google.monitoring.v3.Range} */ -public final class Range extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Range extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.Range) RangeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Range.newBuilder() to construct. private Range(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Range() {} + private Range() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Range(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Range( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,45 +52,44 @@ private Range( case 0: done = true; break; - case 9: - { - min_ = input.readDouble(); - break; - } - case 17: - { - max_ = input.readDouble(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 9: { + + min_ = input.readDouble(); + break; + } + case 17: { + + max_ = input.readDouble(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringProto - .internal_static_google_monitoring_v3_Range_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Range_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringProto - .internal_static_google_monitoring_v3_Range_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Range_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.monitoring.v3.Range.class, com.google.monitoring.v3.Range.Builder.class); } @@ -114,14 +97,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public static final int MIN_FIELD_NUMBER = 1; private double min_; /** - * - * *
    * Range minimum.
    * 
* * double min = 1; - * * @return The min. */ @java.lang.Override @@ -132,14 +112,11 @@ public double getMin() { public static final int MAX_FIELD_NUMBER = 2; private double max_; /** - * - * *
    * Range maximum.
    * 
* * double max = 2; - * * @return The max. */ @java.lang.Override @@ -148,7 +125,6 @@ public double getMax() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -160,7 +136,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 (min_ != 0D) { output.writeDouble(1, min_); } @@ -177,10 +154,12 @@ public int getSerializedSize() { size = 0; if (min_ != 0D) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, min_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(1, min_); } if (max_ != 0D) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, max_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(2, max_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -190,7 +169,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.Range)) { return super.equals(obj); @@ -198,9 +177,11 @@ public boolean equals(final java.lang.Object obj) { com.google.monitoring.v3.Range other = (com.google.monitoring.v3.Range) obj; if (java.lang.Double.doubleToLongBits(getMin()) - != java.lang.Double.doubleToLongBits(other.getMin())) return false; + != java.lang.Double.doubleToLongBits( + other.getMin())) return false; if (java.lang.Double.doubleToLongBits(getMax()) - != java.lang.Double.doubleToLongBits(other.getMax())) return false; + != java.lang.Double.doubleToLongBits( + other.getMax())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -213,135 +194,126 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MIN_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong(java.lang.Double.doubleToLongBits(getMin())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getMin())); hash = (37 * hash) + MAX_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong(java.lang.Double.doubleToLongBits(getMax())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getMax())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.monitoring.v3.Range parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.Range parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.Range parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.Range parseFrom(com.google.protobuf.ByteString data) + public static com.google.monitoring.v3.Range parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.Range parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.Range parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.Range parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.Range 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.monitoring.v3.Range parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.Range parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.Range parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.Range parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.monitoring.v3.Range parseFrom( + com.google.protobuf.CodedInputStream 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.monitoring.v3.Range parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.Range prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Range of numerical values within `min` and `max`.
    * 
* * Protobuf type {@code google.monitoring.v3.Range} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.Range) com.google.monitoring.v3.RangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringProto - .internal_static_google_monitoring_v3_Range_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Range_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringProto - .internal_static_google_monitoring_v3_Range_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Range_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.monitoring.v3.Range.class, com.google.monitoring.v3.Range.Builder.class); } @@ -351,15 +323,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -371,9 +344,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.ServiceMonitoringProto - .internal_static_google_monitoring_v3_Range_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Range_descriptor; } @java.lang.Override @@ -403,39 +376,38 @@ public com.google.monitoring.v3.Range 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.monitoring.v3.Range) { - return mergeFrom((com.google.monitoring.v3.Range) other); + return mergeFrom((com.google.monitoring.v3.Range)other); } else { super.mergeFrom(other); return this; @@ -479,16 +451,13 @@ public Builder mergeFrom( return this; } - private double min_; + private double min_ ; /** - * - * *
      * Range minimum.
      * 
* * double min = 1; - * * @return The min. */ @java.lang.Override @@ -496,51 +465,42 @@ public double getMin() { return min_; } /** - * - * *
      * Range minimum.
      * 
* * double min = 1; - * * @param value The min to set. * @return This builder for chaining. */ public Builder setMin(double value) { - + min_ = value; onChanged(); return this; } /** - * - * *
      * Range minimum.
      * 
* * double min = 1; - * * @return This builder for chaining. */ public Builder clearMin() { - + min_ = 0D; onChanged(); return this; } - private double max_; + private double max_ ; /** - * - * *
      * Range maximum.
      * 
* * double max = 2; - * * @return The max. */ @java.lang.Override @@ -548,43 +508,37 @@ public double getMax() { return max_; } /** - * - * *
      * Range maximum.
      * 
* * double max = 2; - * * @param value The max to set. * @return This builder for chaining. */ public Builder setMax(double value) { - + max_ = value; onChanged(); return this; } /** - * - * *
      * Range maximum.
      * 
* * double max = 2; - * * @return This builder for chaining. */ public Builder clearMax() { - + max_ = 0D; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -594,12 +548,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.Range) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.Range) private static final com.google.monitoring.v3.Range DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.Range(); } @@ -608,16 +562,16 @@ public static com.google.monitoring.v3.Range getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Range parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Range(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Range parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Range(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -632,4 +586,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.Range getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RangeOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RangeOrBuilder.java new file mode 100644 index 00000000..1b87a39b --- /dev/null +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RangeOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/service.proto + +package com.google.monitoring.v3; + +public interface RangeOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.monitoring.v3.Range) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Range minimum.
+   * 
+ * + * double min = 1; + * @return The min. + */ + double getMin(); + + /** + *
+   * Range maximum.
+   * 
+ * + * double max = 2; + * @return The max. + */ + double getMax(); +} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RequestBasedSli.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RequestBasedSli.java similarity index 73% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RequestBasedSli.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RequestBasedSli.java index a2e8743e..4167c4c4 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RequestBasedSli.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RequestBasedSli.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/monitoring/v3/service.proto package com.google.monitoring.v3; /** - * - * *
  * Service Level Indicators for which atomic units of service are counted
  * directly.
@@ -28,29 +11,30 @@
  *
  * Protobuf type {@code google.monitoring.v3.RequestBasedSli}
  */
-public final class RequestBasedSli extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RequestBasedSli extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.RequestBasedSli)
     RequestBasedSliOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RequestBasedSli.newBuilder() to construct.
   private RequestBasedSli(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private RequestBasedSli() {}
+  private RequestBasedSli() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RequestBasedSli();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RequestBasedSli(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -69,84 +53,75 @@ private RequestBasedSli(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.monitoring.v3.TimeSeriesRatio.Builder subBuilder = null;
-              if (methodCase_ == 1) {
-                subBuilder = ((com.google.monitoring.v3.TimeSeriesRatio) method_).toBuilder();
-              }
-              method_ =
-                  input.readMessage(
-                      com.google.monitoring.v3.TimeSeriesRatio.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.monitoring.v3.TimeSeriesRatio) method_);
-                method_ = subBuilder.buildPartial();
-              }
-              methodCase_ = 1;
-              break;
+          case 10: {
+            com.google.monitoring.v3.TimeSeriesRatio.Builder subBuilder = null;
+            if (methodCase_ == 1) {
+              subBuilder = ((com.google.monitoring.v3.TimeSeriesRatio) method_).toBuilder();
             }
-          case 26:
-            {
-              com.google.monitoring.v3.DistributionCut.Builder subBuilder = null;
-              if (methodCase_ == 3) {
-                subBuilder = ((com.google.monitoring.v3.DistributionCut) method_).toBuilder();
-              }
-              method_ =
-                  input.readMessage(
-                      com.google.monitoring.v3.DistributionCut.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.monitoring.v3.DistributionCut) method_);
-                method_ = subBuilder.buildPartial();
-              }
-              methodCase_ = 3;
-              break;
+            method_ =
+                input.readMessage(com.google.monitoring.v3.TimeSeriesRatio.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.monitoring.v3.TimeSeriesRatio) method_);
+              method_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            methodCase_ = 1;
+            break;
+          }
+          case 26: {
+            com.google.monitoring.v3.DistributionCut.Builder subBuilder = null;
+            if (methodCase_ == 3) {
+              subBuilder = ((com.google.monitoring.v3.DistributionCut) method_).toBuilder();
+            }
+            method_ =
+                input.readMessage(com.google.monitoring.v3.DistributionCut.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.monitoring.v3.DistributionCut) method_);
+              method_ = subBuilder.buildPartial();
             }
+            methodCase_ = 3;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.monitoring.v3.ServiceMonitoringProto
-        .internal_static_google_monitoring_v3_RequestBasedSli_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_RequestBasedSli_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.monitoring.v3.ServiceMonitoringProto
-        .internal_static_google_monitoring_v3_RequestBasedSli_fieldAccessorTable
+    return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_RequestBasedSli_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.RequestBasedSli.class,
-            com.google.monitoring.v3.RequestBasedSli.Builder.class);
+            com.google.monitoring.v3.RequestBasedSli.class, com.google.monitoring.v3.RequestBasedSli.Builder.class);
   }
 
   private int methodCase_ = 0;
   private java.lang.Object method_;
-
   public enum MethodCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     GOOD_TOTAL_RATIO(1),
     DISTRIBUTION_CUT(3),
     METHOD_NOT_SET(0);
     private final int value;
-
     private MethodCase(int value) {
       this.value = value;
     }
@@ -162,37 +137,31 @@ public static MethodCase valueOf(int value) {
 
     public static MethodCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return GOOD_TOTAL_RATIO;
-        case 3:
-          return DISTRIBUTION_CUT;
-        case 0:
-          return METHOD_NOT_SET;
-        default:
-          return null;
+        case 1: return GOOD_TOTAL_RATIO;
+        case 3: return DISTRIBUTION_CUT;
+        case 0: return METHOD_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public MethodCase getMethodCase() {
-    return MethodCase.forNumber(methodCase_);
+  public MethodCase
+  getMethodCase() {
+    return MethodCase.forNumber(
+        methodCase_);
   }
 
   public static final int GOOD_TOTAL_RATIO_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * `good_total_ratio` is used when the ratio of `good_service` to
    * `total_service` is computed from two `TimeSeries`.
    * 
* * .google.monitoring.v3.TimeSeriesRatio good_total_ratio = 1; - * * @return Whether the goodTotalRatio field is set. */ @java.lang.Override @@ -200,27 +169,22 @@ public boolean hasGoodTotalRatio() { return methodCase_ == 1; } /** - * - * *
    * `good_total_ratio` is used when the ratio of `good_service` to
    * `total_service` is computed from two `TimeSeries`.
    * 
* * .google.monitoring.v3.TimeSeriesRatio good_total_ratio = 1; - * * @return The goodTotalRatio. */ @java.lang.Override public com.google.monitoring.v3.TimeSeriesRatio getGoodTotalRatio() { if (methodCase_ == 1) { - return (com.google.monitoring.v3.TimeSeriesRatio) method_; + return (com.google.monitoring.v3.TimeSeriesRatio) method_; } return com.google.monitoring.v3.TimeSeriesRatio.getDefaultInstance(); } /** - * - * *
    * `good_total_ratio` is used when the ratio of `good_service` to
    * `total_service` is computed from two `TimeSeries`.
@@ -231,15 +195,13 @@ public com.google.monitoring.v3.TimeSeriesRatio getGoodTotalRatio() {
   @java.lang.Override
   public com.google.monitoring.v3.TimeSeriesRatioOrBuilder getGoodTotalRatioOrBuilder() {
     if (methodCase_ == 1) {
-      return (com.google.monitoring.v3.TimeSeriesRatio) method_;
+       return (com.google.monitoring.v3.TimeSeriesRatio) method_;
     }
     return com.google.monitoring.v3.TimeSeriesRatio.getDefaultInstance();
   }
 
   public static final int DISTRIBUTION_CUT_FIELD_NUMBER = 3;
   /**
-   *
-   *
    * 
    * `distribution_cut` is used when `good_service` is a count of values
    * aggregated in a `Distribution` that fall into a good range. The
@@ -248,7 +210,6 @@ public com.google.monitoring.v3.TimeSeriesRatioOrBuilder getGoodTotalRatioOrBuil
    * 
* * .google.monitoring.v3.DistributionCut distribution_cut = 3; - * * @return Whether the distributionCut field is set. */ @java.lang.Override @@ -256,8 +217,6 @@ public boolean hasDistributionCut() { return methodCase_ == 3; } /** - * - * *
    * `distribution_cut` is used when `good_service` is a count of values
    * aggregated in a `Distribution` that fall into a good range. The
@@ -266,19 +225,16 @@ public boolean hasDistributionCut() {
    * 
* * .google.monitoring.v3.DistributionCut distribution_cut = 3; - * * @return The distributionCut. */ @java.lang.Override public com.google.monitoring.v3.DistributionCut getDistributionCut() { if (methodCase_ == 3) { - return (com.google.monitoring.v3.DistributionCut) method_; + return (com.google.monitoring.v3.DistributionCut) method_; } return com.google.monitoring.v3.DistributionCut.getDefaultInstance(); } /** - * - * *
    * `distribution_cut` is used when `good_service` is a count of values
    * aggregated in a `Distribution` that fall into a good range. The
@@ -291,13 +247,12 @@ public com.google.monitoring.v3.DistributionCut getDistributionCut() {
   @java.lang.Override
   public com.google.monitoring.v3.DistributionCutOrBuilder getDistributionCutOrBuilder() {
     if (methodCase_ == 3) {
-      return (com.google.monitoring.v3.DistributionCut) method_;
+       return (com.google.monitoring.v3.DistributionCut) method_;
     }
     return com.google.monitoring.v3.DistributionCut.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -309,7 +264,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 (methodCase_ == 1) {
       output.writeMessage(1, (com.google.monitoring.v3.TimeSeriesRatio) method_);
     }
@@ -326,14 +282,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (methodCase_ == 1) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              1, (com.google.monitoring.v3.TimeSeriesRatio) method_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, (com.google.monitoring.v3.TimeSeriesRatio) method_);
     }
     if (methodCase_ == 3) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              3, (com.google.monitoring.v3.DistributionCut) method_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, (com.google.monitoring.v3.DistributionCut) method_);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -343,7 +297,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.monitoring.v3.RequestBasedSli)) {
       return super.equals(obj);
@@ -353,10 +307,12 @@ public boolean equals(final java.lang.Object obj) {
     if (!getMethodCase().equals(other.getMethodCase())) return false;
     switch (methodCase_) {
       case 1:
-        if (!getGoodTotalRatio().equals(other.getGoodTotalRatio())) return false;
+        if (!getGoodTotalRatio()
+            .equals(other.getGoodTotalRatio())) return false;
         break;
       case 3:
-        if (!getDistributionCut().equals(other.getDistributionCut())) return false;
+        if (!getDistributionCut()
+            .equals(other.getDistributionCut())) return false;
         break;
       case 0:
       default:
@@ -389,104 +345,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.monitoring.v3.RequestBasedSli parseFrom(java.nio.ByteBuffer data)
+  public static com.google.monitoring.v3.RequestBasedSli parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.monitoring.v3.RequestBasedSli parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.monitoring.v3.RequestBasedSli parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.monitoring.v3.RequestBasedSli parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.monitoring.v3.RequestBasedSli parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.monitoring.v3.RequestBasedSli parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.monitoring.v3.RequestBasedSli 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.monitoring.v3.RequestBasedSli parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.monitoring.v3.RequestBasedSli parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.monitoring.v3.RequestBasedSli parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.monitoring.v3.RequestBasedSli parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.monitoring.v3.RequestBasedSli parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.monitoring.v3.RequestBasedSli parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.monitoring.v3.RequestBasedSli prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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;
   }
   /**
-   *
-   *
    * 
    * Service Level Indicators for which atomic units of service are counted
    * directly.
@@ -494,23 +443,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.monitoring.v3.RequestBasedSli}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.RequestBasedSli)
       com.google.monitoring.v3.RequestBasedSliOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.monitoring.v3.ServiceMonitoringProto
-          .internal_static_google_monitoring_v3_RequestBasedSli_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_RequestBasedSli_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.ServiceMonitoringProto
-          .internal_static_google_monitoring_v3_RequestBasedSli_fieldAccessorTable
+      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_RequestBasedSli_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.RequestBasedSli.class,
-              com.google.monitoring.v3.RequestBasedSli.Builder.class);
+              com.google.monitoring.v3.RequestBasedSli.class, com.google.monitoring.v3.RequestBasedSli.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.RequestBasedSli.newBuilder()
@@ -518,15 +465,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -536,9 +484,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.monitoring.v3.ServiceMonitoringProto
-          .internal_static_google_monitoring_v3_RequestBasedSli_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_RequestBasedSli_descriptor;
     }
 
     @java.lang.Override
@@ -557,8 +505,7 @@ public com.google.monitoring.v3.RequestBasedSli build() {
 
     @java.lang.Override
     public com.google.monitoring.v3.RequestBasedSli buildPartial() {
-      com.google.monitoring.v3.RequestBasedSli result =
-          new com.google.monitoring.v3.RequestBasedSli(this);
+      com.google.monitoring.v3.RequestBasedSli result = new com.google.monitoring.v3.RequestBasedSli(this);
       if (methodCase_ == 1) {
         if (goodTotalRatioBuilder_ == null) {
           result.method_ = method_;
@@ -582,39 +529,38 @@ public com.google.monitoring.v3.RequestBasedSli 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.monitoring.v3.RequestBasedSli) {
-        return mergeFrom((com.google.monitoring.v3.RequestBasedSli) other);
+        return mergeFrom((com.google.monitoring.v3.RequestBasedSli)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -624,20 +570,17 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.monitoring.v3.RequestBasedSli other) {
       if (other == com.google.monitoring.v3.RequestBasedSli.getDefaultInstance()) return this;
       switch (other.getMethodCase()) {
-        case GOOD_TOTAL_RATIO:
-          {
-            mergeGoodTotalRatio(other.getGoodTotalRatio());
-            break;
-          }
-        case DISTRIBUTION_CUT:
-          {
-            mergeDistributionCut(other.getDistributionCut());
-            break;
-          }
-        case METHOD_NOT_SET:
-          {
-            break;
-          }
+        case GOOD_TOTAL_RATIO: {
+          mergeGoodTotalRatio(other.getGoodTotalRatio());
+          break;
+        }
+        case DISTRIBUTION_CUT: {
+          mergeDistributionCut(other.getDistributionCut());
+          break;
+        }
+        case METHOD_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -667,12 +610,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int methodCase_ = 0;
     private java.lang.Object method_;
-
-    public MethodCase getMethodCase() {
-      return MethodCase.forNumber(methodCase_);
+    public MethodCase
+        getMethodCase() {
+      return MethodCase.forNumber(
+          methodCase_);
     }
 
     public Builder clearMethod() {
@@ -682,21 +625,16 @@ public Builder clearMethod() {
       return this;
     }
 
+
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.TimeSeriesRatio,
-            com.google.monitoring.v3.TimeSeriesRatio.Builder,
-            com.google.monitoring.v3.TimeSeriesRatioOrBuilder>
-        goodTotalRatioBuilder_;
+        com.google.monitoring.v3.TimeSeriesRatio, com.google.monitoring.v3.TimeSeriesRatio.Builder, com.google.monitoring.v3.TimeSeriesRatioOrBuilder> goodTotalRatioBuilder_;
     /**
-     *
-     *
      * 
      * `good_total_ratio` is used when the ratio of `good_service` to
      * `total_service` is computed from two `TimeSeries`.
      * 
* * .google.monitoring.v3.TimeSeriesRatio good_total_ratio = 1; - * * @return Whether the goodTotalRatio field is set. */ @java.lang.Override @@ -704,15 +642,12 @@ public boolean hasGoodTotalRatio() { return methodCase_ == 1; } /** - * - * *
      * `good_total_ratio` is used when the ratio of `good_service` to
      * `total_service` is computed from two `TimeSeries`.
      * 
* * .google.monitoring.v3.TimeSeriesRatio good_total_ratio = 1; - * * @return The goodTotalRatio. */ @java.lang.Override @@ -730,8 +665,6 @@ public com.google.monitoring.v3.TimeSeriesRatio getGoodTotalRatio() { } } /** - * - * *
      * `good_total_ratio` is used when the ratio of `good_service` to
      * `total_service` is computed from two `TimeSeries`.
@@ -753,8 +686,6 @@ public Builder setGoodTotalRatio(com.google.monitoring.v3.TimeSeriesRatio value)
       return this;
     }
     /**
-     *
-     *
      * 
      * `good_total_ratio` is used when the ratio of `good_service` to
      * `total_service` is computed from two `TimeSeries`.
@@ -774,8 +705,6 @@ public Builder setGoodTotalRatio(
       return this;
     }
     /**
-     *
-     *
      * 
      * `good_total_ratio` is used when the ratio of `good_service` to
      * `total_service` is computed from two `TimeSeries`.
@@ -785,13 +714,10 @@ public Builder setGoodTotalRatio(
      */
     public Builder mergeGoodTotalRatio(com.google.monitoring.v3.TimeSeriesRatio value) {
       if (goodTotalRatioBuilder_ == null) {
-        if (methodCase_ == 1
-            && method_ != com.google.monitoring.v3.TimeSeriesRatio.getDefaultInstance()) {
-          method_ =
-              com.google.monitoring.v3.TimeSeriesRatio.newBuilder(
-                      (com.google.monitoring.v3.TimeSeriesRatio) method_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (methodCase_ == 1 &&
+            method_ != com.google.monitoring.v3.TimeSeriesRatio.getDefaultInstance()) {
+          method_ = com.google.monitoring.v3.TimeSeriesRatio.newBuilder((com.google.monitoring.v3.TimeSeriesRatio) method_)
+              .mergeFrom(value).buildPartial();
         } else {
           method_ = value;
         }
@@ -806,8 +732,6 @@ public Builder mergeGoodTotalRatio(com.google.monitoring.v3.TimeSeriesRatio valu
       return this;
     }
     /**
-     *
-     *
      * 
      * `good_total_ratio` is used when the ratio of `good_service` to
      * `total_service` is computed from two `TimeSeries`.
@@ -832,8 +756,6 @@ public Builder clearGoodTotalRatio() {
       return this;
     }
     /**
-     *
-     *
      * 
      * `good_total_ratio` is used when the ratio of `good_service` to
      * `total_service` is computed from two `TimeSeries`.
@@ -845,8 +767,6 @@ public com.google.monitoring.v3.TimeSeriesRatio.Builder getGoodTotalRatioBuilder
       return getGoodTotalRatioFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * `good_total_ratio` is used when the ratio of `good_service` to
      * `total_service` is computed from two `TimeSeries`.
@@ -866,8 +786,6 @@ public com.google.monitoring.v3.TimeSeriesRatioOrBuilder getGoodTotalRatioOrBuil
       }
     }
     /**
-     *
-     *
      * 
      * `good_total_ratio` is used when the ratio of `good_service` to
      * `total_service` is computed from two `TimeSeries`.
@@ -876,38 +794,27 @@ public com.google.monitoring.v3.TimeSeriesRatioOrBuilder getGoodTotalRatioOrBuil
      * .google.monitoring.v3.TimeSeriesRatio good_total_ratio = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.TimeSeriesRatio,
-            com.google.monitoring.v3.TimeSeriesRatio.Builder,
-            com.google.monitoring.v3.TimeSeriesRatioOrBuilder>
+        com.google.monitoring.v3.TimeSeriesRatio, com.google.monitoring.v3.TimeSeriesRatio.Builder, com.google.monitoring.v3.TimeSeriesRatioOrBuilder> 
         getGoodTotalRatioFieldBuilder() {
       if (goodTotalRatioBuilder_ == null) {
         if (!(methodCase_ == 1)) {
           method_ = com.google.monitoring.v3.TimeSeriesRatio.getDefaultInstance();
         }
-        goodTotalRatioBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.monitoring.v3.TimeSeriesRatio,
-                com.google.monitoring.v3.TimeSeriesRatio.Builder,
-                com.google.monitoring.v3.TimeSeriesRatioOrBuilder>(
+        goodTotalRatioBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.monitoring.v3.TimeSeriesRatio, com.google.monitoring.v3.TimeSeriesRatio.Builder, com.google.monitoring.v3.TimeSeriesRatioOrBuilder>(
                 (com.google.monitoring.v3.TimeSeriesRatio) method_,
                 getParentForChildren(),
                 isClean());
         method_ = null;
       }
       methodCase_ = 1;
-      onChanged();
-      ;
+      onChanged();;
       return goodTotalRatioBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.DistributionCut,
-            com.google.monitoring.v3.DistributionCut.Builder,
-            com.google.monitoring.v3.DistributionCutOrBuilder>
-        distributionCutBuilder_;
+        com.google.monitoring.v3.DistributionCut, com.google.monitoring.v3.DistributionCut.Builder, com.google.monitoring.v3.DistributionCutOrBuilder> distributionCutBuilder_;
     /**
-     *
-     *
      * 
      * `distribution_cut` is used when `good_service` is a count of values
      * aggregated in a `Distribution` that fall into a good range. The
@@ -916,7 +823,6 @@ public com.google.monitoring.v3.TimeSeriesRatioOrBuilder getGoodTotalRatioOrBuil
      * 
* * .google.monitoring.v3.DistributionCut distribution_cut = 3; - * * @return Whether the distributionCut field is set. */ @java.lang.Override @@ -924,8 +830,6 @@ public boolean hasDistributionCut() { return methodCase_ == 3; } /** - * - * *
      * `distribution_cut` is used when `good_service` is a count of values
      * aggregated in a `Distribution` that fall into a good range. The
@@ -934,7 +838,6 @@ public boolean hasDistributionCut() {
      * 
* * .google.monitoring.v3.DistributionCut distribution_cut = 3; - * * @return The distributionCut. */ @java.lang.Override @@ -952,8 +855,6 @@ public com.google.monitoring.v3.DistributionCut getDistributionCut() { } } /** - * - * *
      * `distribution_cut` is used when `good_service` is a count of values
      * aggregated in a `Distribution` that fall into a good range. The
@@ -977,8 +878,6 @@ public Builder setDistributionCut(com.google.monitoring.v3.DistributionCut value
       return this;
     }
     /**
-     *
-     *
      * 
      * `distribution_cut` is used when `good_service` is a count of values
      * aggregated in a `Distribution` that fall into a good range. The
@@ -1000,8 +899,6 @@ public Builder setDistributionCut(
       return this;
     }
     /**
-     *
-     *
      * 
      * `distribution_cut` is used when `good_service` is a count of values
      * aggregated in a `Distribution` that fall into a good range. The
@@ -1013,13 +910,10 @@ public Builder setDistributionCut(
      */
     public Builder mergeDistributionCut(com.google.monitoring.v3.DistributionCut value) {
       if (distributionCutBuilder_ == null) {
-        if (methodCase_ == 3
-            && method_ != com.google.monitoring.v3.DistributionCut.getDefaultInstance()) {
-          method_ =
-              com.google.monitoring.v3.DistributionCut.newBuilder(
-                      (com.google.monitoring.v3.DistributionCut) method_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (methodCase_ == 3 &&
+            method_ != com.google.monitoring.v3.DistributionCut.getDefaultInstance()) {
+          method_ = com.google.monitoring.v3.DistributionCut.newBuilder((com.google.monitoring.v3.DistributionCut) method_)
+              .mergeFrom(value).buildPartial();
         } else {
           method_ = value;
         }
@@ -1034,8 +928,6 @@ public Builder mergeDistributionCut(com.google.monitoring.v3.DistributionCut val
       return this;
     }
     /**
-     *
-     *
      * 
      * `distribution_cut` is used when `good_service` is a count of values
      * aggregated in a `Distribution` that fall into a good range. The
@@ -1062,8 +954,6 @@ public Builder clearDistributionCut() {
       return this;
     }
     /**
-     *
-     *
      * 
      * `distribution_cut` is used when `good_service` is a count of values
      * aggregated in a `Distribution` that fall into a good range. The
@@ -1077,8 +967,6 @@ public com.google.monitoring.v3.DistributionCut.Builder getDistributionCutBuilde
       return getDistributionCutFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * `distribution_cut` is used when `good_service` is a count of values
      * aggregated in a `Distribution` that fall into a good range. The
@@ -1100,8 +988,6 @@ public com.google.monitoring.v3.DistributionCutOrBuilder getDistributionCutOrBui
       }
     }
     /**
-     *
-     *
      * 
      * `distribution_cut` is used when `good_service` is a count of values
      * aggregated in a `Distribution` that fall into a good range. The
@@ -1112,32 +998,26 @@ public com.google.monitoring.v3.DistributionCutOrBuilder getDistributionCutOrBui
      * .google.monitoring.v3.DistributionCut distribution_cut = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.DistributionCut,
-            com.google.monitoring.v3.DistributionCut.Builder,
-            com.google.monitoring.v3.DistributionCutOrBuilder>
+        com.google.monitoring.v3.DistributionCut, com.google.monitoring.v3.DistributionCut.Builder, com.google.monitoring.v3.DistributionCutOrBuilder> 
         getDistributionCutFieldBuilder() {
       if (distributionCutBuilder_ == null) {
         if (!(methodCase_ == 3)) {
           method_ = com.google.monitoring.v3.DistributionCut.getDefaultInstance();
         }
-        distributionCutBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.monitoring.v3.DistributionCut,
-                com.google.monitoring.v3.DistributionCut.Builder,
-                com.google.monitoring.v3.DistributionCutOrBuilder>(
+        distributionCutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.monitoring.v3.DistributionCut, com.google.monitoring.v3.DistributionCut.Builder, com.google.monitoring.v3.DistributionCutOrBuilder>(
                 (com.google.monitoring.v3.DistributionCut) method_,
                 getParentForChildren(),
                 isClean());
         method_ = null;
       }
       methodCase_ = 3;
-      onChanged();
-      ;
+      onChanged();;
       return distributionCutBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1147,12 +1027,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.monitoring.v3.RequestBasedSli)
   }
 
   // @@protoc_insertion_point(class_scope:google.monitoring.v3.RequestBasedSli)
   private static final com.google.monitoring.v3.RequestBasedSli DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.monitoring.v3.RequestBasedSli();
   }
@@ -1161,16 +1041,16 @@ public static com.google.monitoring.v3.RequestBasedSli getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public RequestBasedSli parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new RequestBasedSli(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public RequestBasedSli parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new RequestBasedSli(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1185,4 +1065,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.monitoring.v3.RequestBasedSli getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RequestBasedSliOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RequestBasedSliOrBuilder.java
similarity index 78%
rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RequestBasedSliOrBuilder.java
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RequestBasedSliOrBuilder.java
index a544addf..c2ba910e 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RequestBasedSliOrBuilder.java
+++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RequestBasedSliOrBuilder.java
@@ -1,57 +1,33 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/monitoring/v3/service.proto
 
 package com.google.monitoring.v3;
 
-public interface RequestBasedSliOrBuilder
-    extends
+public interface RequestBasedSliOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.monitoring.v3.RequestBasedSli)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * `good_total_ratio` is used when the ratio of `good_service` to
    * `total_service` is computed from two `TimeSeries`.
    * 
* * .google.monitoring.v3.TimeSeriesRatio good_total_ratio = 1; - * * @return Whether the goodTotalRatio field is set. */ boolean hasGoodTotalRatio(); /** - * - * *
    * `good_total_ratio` is used when the ratio of `good_service` to
    * `total_service` is computed from two `TimeSeries`.
    * 
* * .google.monitoring.v3.TimeSeriesRatio good_total_ratio = 1; - * * @return The goodTotalRatio. */ com.google.monitoring.v3.TimeSeriesRatio getGoodTotalRatio(); /** - * - * *
    * `good_total_ratio` is used when the ratio of `good_service` to
    * `total_service` is computed from two `TimeSeries`.
@@ -62,8 +38,6 @@ public interface RequestBasedSliOrBuilder
   com.google.monitoring.v3.TimeSeriesRatioOrBuilder getGoodTotalRatioOrBuilder();
 
   /**
-   *
-   *
    * 
    * `distribution_cut` is used when `good_service` is a count of values
    * aggregated in a `Distribution` that fall into a good range. The
@@ -72,13 +46,10 @@ public interface RequestBasedSliOrBuilder
    * 
* * .google.monitoring.v3.DistributionCut distribution_cut = 3; - * * @return Whether the distributionCut field is set. */ boolean hasDistributionCut(); /** - * - * *
    * `distribution_cut` is used when `good_service` is a count of values
    * aggregated in a `Distribution` that fall into a good range. The
@@ -87,13 +58,10 @@ public interface RequestBasedSliOrBuilder
    * 
* * .google.monitoring.v3.DistributionCut distribution_cut = 3; - * * @return The distributionCut. */ com.google.monitoring.v3.DistributionCut getDistributionCut(); /** - * - * *
    * `distribution_cut` is used when `good_service` is a count of values
    * aggregated in a `Distribution` that fall into a good range. The
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequest.java
similarity index 58%
rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequest.java
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequest.java
index 6b6ad281..da05748e 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequest.java
+++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequest.java
@@ -1,59 +1,40 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/monitoring/v3/notification_service.proto
 
 package com.google.monitoring.v3;
 
 /**
- *
- *
  * 
  * The `SendNotificationChannelVerificationCode` request.
  * 
* * Protobuf type {@code google.monitoring.v3.SendNotificationChannelVerificationCodeRequest} */ -public final class SendNotificationChannelVerificationCodeRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SendNotificationChannelVerificationCodeRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.SendNotificationChannelVerificationCodeRequest) SendNotificationChannelVerificationCodeRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SendNotificationChannelVerificationCodeRequest.newBuilder() to construct. - private SendNotificationChannelVerificationCodeRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private SendNotificationChannelVerificationCodeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SendNotificationChannelVerificationCodeRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SendNotificationChannelVerificationCodeRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SendNotificationChannelVerificationCodeRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,60 +53,52 @@ private SendNotificationChannelVerificationCodeRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_SendNotificationChannelVerificationCodeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_SendNotificationChannelVerificationCodeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_SendNotificationChannelVerificationCodeRequest_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_SendNotificationChannelVerificationCodeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest.class, - com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest.Builder.class); + com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest.class, com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The notification channel to which to send a verification code.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -134,31 +107,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The notification channel to which to send a verification code.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +138,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +149,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_); } @@ -203,15 +174,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.monitoring.v3.SendNotificationChannelVerificationCodeRequest)) { return super.equals(obj); } - com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest other = - (com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest) obj; + com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest other = (com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,146 +202,134 @@ public int hashCode() { } public static com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest prototype) { + public static Builder newBuilder(com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 `SendNotificationChannelVerificationCode` request.
    * 
* * Protobuf type {@code google.monitoring.v3.SendNotificationChannelVerificationCodeRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.SendNotificationChannelVerificationCodeRequest) com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_SendNotificationChannelVerificationCodeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_SendNotificationChannelVerificationCodeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_SendNotificationChannelVerificationCodeRequest_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_SendNotificationChannelVerificationCodeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest.class, - com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest.Builder - .class); + com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest.class, com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest.Builder.class); } - // Construct using - // com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest.newBuilder() + // Construct using com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -380,22 +339,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_SendNotificationChannelVerificationCodeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_SendNotificationChannelVerificationCodeRequest_descriptor; } @java.lang.Override - public com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest - getDefaultInstanceForType() { - return com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest - .getDefaultInstance(); + public com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest getDefaultInstanceForType() { + return com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest.getDefaultInstance(); } @java.lang.Override public com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest build() { - com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest result = - buildPartial(); + com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -404,8 +360,7 @@ public com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest b @java.lang.Override public com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest buildPartial() { - com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest result = - new com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest(this); + com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest result = new com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest(this); result.name_ = name_; onBuilt(); return result; @@ -415,52 +370,46 @@ public com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest b public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest) { - return mergeFrom( - (com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest) other); + if (other instanceof com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest) { + return mergeFrom((com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest other) { - if (other - == com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest other) { + if (other == com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -484,9 +433,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -498,22 +445,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The notification channel to which to send a verification code.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -522,23 +465,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The notification channel to which to send a verification code.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -546,74 +486,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The notification channel to which to send a verification code.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The notification channel to which to send a verification code.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The notification channel to which to send a verification code.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -623,49 +550,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.SendNotificationChannelVerificationCodeRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.SendNotificationChannelVerificationCodeRequest) - private static final com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest - DEFAULT_INSTANCE; - + private static final com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest(); + DEFAULT_INSTANCE = new com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest(); } - public static com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest - getDefaultInstance() { + public static com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SendNotificationChannelVerificationCodeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SendNotificationChannelVerificationCodeRequest(input, extensionRegistry); - } - }; + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SendNotificationChannelVerificationCodeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SendNotificationChannelVerificationCodeRequest(input, extensionRegistry); + } + }; - public static com.google.protobuf.Parser - parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser - getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest - getDefaultInstanceForType() { + public com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequestOrBuilder.java new file mode 100644 index 00000000..fa54c1e5 --- /dev/null +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/notification_service.proto + +package com.google.monitoring.v3; + +public interface SendNotificationChannelVerificationCodeRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.monitoring.v3.SendNotificationChannelVerificationCodeRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The notification channel to which to send a verification code.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The notification channel to which to send a verification code.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Service.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Service.java similarity index 74% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Service.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Service.java index d1a6026a..26d9ee82 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Service.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Service.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/monitoring/v3/service.proto package com.google.monitoring.v3; /** - * - * *
  * A `Service` is a discrete, autonomous, and network-accessible unit, designed
  * to solve an individual concern
@@ -31,16 +14,15 @@
  *
  * Protobuf type {@code google.monitoring.v3.Service}
  */
-public final class Service extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Service extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.Service)
     ServiceOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Service.newBuilder() to construct.
   private Service(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Service() {
     name_ = "";
     displayName_ = "";
@@ -48,15 +30,16 @@ private Service() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Service();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Service(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -76,204 +59,177 @@ private Service(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              displayName_ = s;
-              break;
+            displayName_ = s;
+            break;
+          }
+          case 50: {
+            com.google.monitoring.v3.Service.Custom.Builder subBuilder = null;
+            if (identifierCase_ == 6) {
+              subBuilder = ((com.google.monitoring.v3.Service.Custom) identifier_).toBuilder();
             }
-          case 50:
-            {
-              com.google.monitoring.v3.Service.Custom.Builder subBuilder = null;
-              if (identifierCase_ == 6) {
-                subBuilder = ((com.google.monitoring.v3.Service.Custom) identifier_).toBuilder();
-              }
-              identifier_ =
-                  input.readMessage(
-                      com.google.monitoring.v3.Service.Custom.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.monitoring.v3.Service.Custom) identifier_);
-                identifier_ = subBuilder.buildPartial();
-              }
-              identifierCase_ = 6;
-              break;
+            identifier_ =
+                input.readMessage(com.google.monitoring.v3.Service.Custom.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.monitoring.v3.Service.Custom) identifier_);
+              identifier_ = subBuilder.buildPartial();
             }
-          case 58:
-            {
-              com.google.monitoring.v3.Service.AppEngine.Builder subBuilder = null;
-              if (identifierCase_ == 7) {
-                subBuilder = ((com.google.monitoring.v3.Service.AppEngine) identifier_).toBuilder();
-              }
-              identifier_ =
-                  input.readMessage(
-                      com.google.monitoring.v3.Service.AppEngine.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.monitoring.v3.Service.AppEngine) identifier_);
-                identifier_ = subBuilder.buildPartial();
-              }
-              identifierCase_ = 7;
-              break;
+            identifierCase_ = 6;
+            break;
+          }
+          case 58: {
+            com.google.monitoring.v3.Service.AppEngine.Builder subBuilder = null;
+            if (identifierCase_ == 7) {
+              subBuilder = ((com.google.monitoring.v3.Service.AppEngine) identifier_).toBuilder();
             }
-          case 66:
-            {
-              com.google.monitoring.v3.Service.CloudEndpoints.Builder subBuilder = null;
-              if (identifierCase_ == 8) {
-                subBuilder =
-                    ((com.google.monitoring.v3.Service.CloudEndpoints) identifier_).toBuilder();
-              }
-              identifier_ =
-                  input.readMessage(
-                      com.google.monitoring.v3.Service.CloudEndpoints.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.monitoring.v3.Service.CloudEndpoints) identifier_);
-                identifier_ = subBuilder.buildPartial();
-              }
-              identifierCase_ = 8;
-              break;
+            identifier_ =
+                input.readMessage(com.google.monitoring.v3.Service.AppEngine.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.monitoring.v3.Service.AppEngine) identifier_);
+              identifier_ = subBuilder.buildPartial();
             }
-          case 74:
-            {
-              com.google.monitoring.v3.Service.ClusterIstio.Builder subBuilder = null;
-              if (identifierCase_ == 9) {
-                subBuilder =
-                    ((com.google.monitoring.v3.Service.ClusterIstio) identifier_).toBuilder();
-              }
-              identifier_ =
-                  input.readMessage(
-                      com.google.monitoring.v3.Service.ClusterIstio.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.monitoring.v3.Service.ClusterIstio) identifier_);
-                identifier_ = subBuilder.buildPartial();
-              }
-              identifierCase_ = 9;
-              break;
+            identifierCase_ = 7;
+            break;
+          }
+          case 66: {
+            com.google.monitoring.v3.Service.CloudEndpoints.Builder subBuilder = null;
+            if (identifierCase_ == 8) {
+              subBuilder = ((com.google.monitoring.v3.Service.CloudEndpoints) identifier_).toBuilder();
             }
-          case 82:
-            {
-              com.google.monitoring.v3.Service.MeshIstio.Builder subBuilder = null;
-              if (identifierCase_ == 10) {
-                subBuilder = ((com.google.monitoring.v3.Service.MeshIstio) identifier_).toBuilder();
-              }
-              identifier_ =
-                  input.readMessage(
-                      com.google.monitoring.v3.Service.MeshIstio.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.monitoring.v3.Service.MeshIstio) identifier_);
-                identifier_ = subBuilder.buildPartial();
-              }
-              identifierCase_ = 10;
-              break;
+            identifier_ =
+                input.readMessage(com.google.monitoring.v3.Service.CloudEndpoints.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.monitoring.v3.Service.CloudEndpoints) identifier_);
+              identifier_ = subBuilder.buildPartial();
             }
-          case 90:
-            {
-              com.google.monitoring.v3.Service.IstioCanonicalService.Builder subBuilder = null;
-              if (identifierCase_ == 11) {
-                subBuilder =
-                    ((com.google.monitoring.v3.Service.IstioCanonicalService) identifier_)
-                        .toBuilder();
-              }
-              identifier_ =
-                  input.readMessage(
-                      com.google.monitoring.v3.Service.IstioCanonicalService.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.monitoring.v3.Service.IstioCanonicalService) identifier_);
-                identifier_ = subBuilder.buildPartial();
-              }
-              identifierCase_ = 11;
-              break;
+            identifierCase_ = 8;
+            break;
+          }
+          case 74: {
+            com.google.monitoring.v3.Service.ClusterIstio.Builder subBuilder = null;
+            if (identifierCase_ == 9) {
+              subBuilder = ((com.google.monitoring.v3.Service.ClusterIstio) identifier_).toBuilder();
             }
-          case 106:
-            {
-              com.google.monitoring.v3.Service.Telemetry.Builder subBuilder = null;
-              if (telemetry_ != null) {
-                subBuilder = telemetry_.toBuilder();
-              }
-              telemetry_ =
-                  input.readMessage(
-                      com.google.monitoring.v3.Service.Telemetry.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(telemetry_);
-                telemetry_ = subBuilder.buildPartial();
-              }
-
-              break;
+            identifier_ =
+                input.readMessage(com.google.monitoring.v3.Service.ClusterIstio.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.monitoring.v3.Service.ClusterIstio) identifier_);
+              identifier_ = subBuilder.buildPartial();
             }
-          case 114:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                userLabels_ =
-                    com.google.protobuf.MapField.newMapField(
-                        UserLabelsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry userLabels__ =
-                  input.readMessage(
-                      UserLabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                      extensionRegistry);
-              userLabels_.getMutableMap().put(userLabels__.getKey(), userLabels__.getValue());
-              break;
+            identifierCase_ = 9;
+            break;
+          }
+          case 82: {
+            com.google.monitoring.v3.Service.MeshIstio.Builder subBuilder = null;
+            if (identifierCase_ == 10) {
+              subBuilder = ((com.google.monitoring.v3.Service.MeshIstio) identifier_).toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            identifier_ =
+                input.readMessage(com.google.monitoring.v3.Service.MeshIstio.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.monitoring.v3.Service.MeshIstio) identifier_);
+              identifier_ = subBuilder.buildPartial();
+            }
+            identifierCase_ = 10;
+            break;
+          }
+          case 90: {
+            com.google.monitoring.v3.Service.IstioCanonicalService.Builder subBuilder = null;
+            if (identifierCase_ == 11) {
+              subBuilder = ((com.google.monitoring.v3.Service.IstioCanonicalService) identifier_).toBuilder();
+            }
+            identifier_ =
+                input.readMessage(com.google.monitoring.v3.Service.IstioCanonicalService.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.monitoring.v3.Service.IstioCanonicalService) identifier_);
+              identifier_ = subBuilder.buildPartial();
             }
+            identifierCase_ = 11;
+            break;
+          }
+          case 106: {
+            com.google.monitoring.v3.Service.Telemetry.Builder subBuilder = null;
+            if (telemetry_ != null) {
+              subBuilder = telemetry_.toBuilder();
+            }
+            telemetry_ = input.readMessage(com.google.monitoring.v3.Service.Telemetry.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(telemetry_);
+              telemetry_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          case 114: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              userLabels_ = com.google.protobuf.MapField.newMapField(
+                  UserLabelsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
+            }
+            com.google.protobuf.MapEntry
+            userLabels__ = input.readMessage(
+                UserLabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            userLabels_.getMutableMap().put(
+                userLabels__.getKey(), userLabels__.getValue());
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.monitoring.v3.ServiceMonitoringProto
-        .internal_static_google_monitoring_v3_Service_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_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 14:
         return internalGetUserLabels();
       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.monitoring.v3.ServiceMonitoringProto
-        .internal_static_google_monitoring_v3_Service_fieldAccessorTable
+    return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.monitoring.v3.Service.class, com.google.monitoring.v3.Service.Builder.class);
   }
 
-  public interface CustomOrBuilder
-      extends
+  public interface CustomOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.monitoring.v3.Service.Custom)
-      com.google.protobuf.MessageOrBuilder {}
+      com.google.protobuf.MessageOrBuilder {
+  }
   /**
-   *
-   *
    * 
    * Custom view of service telemetry. Currently a place-holder pending final
    * design.
@@ -281,29 +237,30 @@ public interface CustomOrBuilder
    *
    * Protobuf type {@code google.monitoring.v3.Service.Custom}
    */
-  public static final class Custom extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class Custom extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.monitoring.v3.Service.Custom)
       CustomOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use Custom.newBuilder() to construct.
     private Custom(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private Custom() {}
+    private Custom() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new Custom();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private Custom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -322,42 +279,39 @@ private Custom(
             case 0:
               done = true;
               break;
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.monitoring.v3.ServiceMonitoringProto
-          .internal_static_google_monitoring_v3_Service_Custom_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_Custom_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.ServiceMonitoringProto
-          .internal_static_google_monitoring_v3_Service_Custom_fieldAccessorTable
+      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_Custom_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.Service.Custom.class,
-              com.google.monitoring.v3.Service.Custom.Builder.class);
+              com.google.monitoring.v3.Service.Custom.class, com.google.monitoring.v3.Service.Custom.Builder.class);
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -369,7 +323,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       unknownFields.writeTo(output);
     }
 
@@ -387,7 +342,7 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.monitoring.v3.Service.Custom)) {
         return super.equals(obj);
@@ -410,94 +365,88 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.monitoring.v3.Service.Custom parseFrom(java.nio.ByteBuffer data)
+    public static com.google.monitoring.v3.Service.Custom parseFrom(
+        java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.monitoring.v3.Service.Custom parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.monitoring.v3.Service.Custom parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.monitoring.v3.Service.Custom parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.monitoring.v3.Service.Custom parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.monitoring.v3.Service.Custom parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.monitoring.v3.Service.Custom 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.monitoring.v3.Service.Custom parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.monitoring.v3.Service.Custom parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.monitoring.v3.Service.Custom parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.monitoring.v3.Service.Custom parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.monitoring.v3.Service.Custom parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.monitoring.v3.Service.Custom parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
     public static Builder newBuilder(com.google.monitoring.v3.Service.Custom prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -507,8 +456,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Custom view of service telemetry. Currently a place-holder pending final
      * design.
@@ -516,24 +463,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.monitoring.v3.Service.Custom}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.monitoring.v3.Service.Custom)
         com.google.monitoring.v3.Service.CustomOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.monitoring.v3.ServiceMonitoringProto
-            .internal_static_google_monitoring_v3_Service_Custom_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_Custom_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.monitoring.v3.ServiceMonitoringProto
-            .internal_static_google_monitoring_v3_Service_Custom_fieldAccessorTable
+        return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_Custom_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.monitoring.v3.Service.Custom.class,
-                com.google.monitoring.v3.Service.Custom.Builder.class);
+                com.google.monitoring.v3.Service.Custom.class, com.google.monitoring.v3.Service.Custom.Builder.class);
       }
 
       // Construct using com.google.monitoring.v3.Service.Custom.newBuilder()
@@ -541,15 +485,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -557,9 +502,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.monitoring.v3.ServiceMonitoringProto
-            .internal_static_google_monitoring_v3_Service_Custom_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_Custom_descriptor;
       }
 
       @java.lang.Override
@@ -578,8 +523,7 @@ public com.google.monitoring.v3.Service.Custom build() {
 
       @java.lang.Override
       public com.google.monitoring.v3.Service.Custom buildPartial() {
-        com.google.monitoring.v3.Service.Custom result =
-            new com.google.monitoring.v3.Service.Custom(this);
+        com.google.monitoring.v3.Service.Custom result = new com.google.monitoring.v3.Service.Custom(this);
         onBuilt();
         return result;
       }
@@ -588,41 +532,38 @@ public com.google.monitoring.v3.Service.Custom 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.monitoring.v3.Service.Custom) {
-          return mergeFrom((com.google.monitoring.v3.Service.Custom) other);
+          return mergeFrom((com.google.monitoring.v3.Service.Custom)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -659,7 +600,6 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -672,12 +612,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.monitoring.v3.Service.Custom)
     }
 
     // @@protoc_insertion_point(class_scope:google.monitoring.v3.Service.Custom)
     private static final com.google.monitoring.v3.Service.Custom DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.monitoring.v3.Service.Custom();
     }
@@ -686,16 +626,16 @@ public static com.google.monitoring.v3.Service.Custom getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public Custom parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new Custom(input, extensionRegistry);
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public Custom parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new Custom(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -710,16 +650,14 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.monitoring.v3.Service.Custom getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface AppEngineOrBuilder
-      extends
+  public interface AppEngineOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.monitoring.v3.Service.AppEngine)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The ID of the App Engine module underlying this service. Corresponds to
      * the `module_id` resource label in the `gae_app` monitored resource:
@@ -727,13 +665,10 @@ public interface AppEngineOrBuilder
      * 
* * string module_id = 1; - * * @return The moduleId. */ java.lang.String getModuleId(); /** - * - * *
      * The ID of the App Engine module underlying this service. Corresponds to
      * the `module_id` resource label in the `gae_app` monitored resource:
@@ -741,45 +676,43 @@ public interface AppEngineOrBuilder
      * 
* * string module_id = 1; - * * @return The bytes for moduleId. */ - com.google.protobuf.ByteString getModuleIdBytes(); + com.google.protobuf.ByteString + getModuleIdBytes(); } /** - * - * *
    * App Engine service. Learn more at https://cloud.google.com/appengine.
    * 
* * Protobuf type {@code google.monitoring.v3.Service.AppEngine} */ - public static final class AppEngine extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class AppEngine extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.Service.AppEngine) AppEngineOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AppEngine.newBuilder() to construct. private AppEngine(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AppEngine() { moduleId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AppEngine(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AppEngine( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -798,52 +731,47 @@ private AppEngine( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - moduleId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + moduleId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringProto - .internal_static_google_monitoring_v3_Service_AppEngine_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_AppEngine_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringProto - .internal_static_google_monitoring_v3_Service_AppEngine_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_AppEngine_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.Service.AppEngine.class, - com.google.monitoring.v3.Service.AppEngine.Builder.class); + com.google.monitoring.v3.Service.AppEngine.class, com.google.monitoring.v3.Service.AppEngine.Builder.class); } public static final int MODULE_ID_FIELD_NUMBER = 1; private volatile java.lang.Object moduleId_; /** - * - * *
      * The ID of the App Engine module underlying this service. Corresponds to
      * the `module_id` resource label in the `gae_app` monitored resource:
@@ -851,7 +779,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string module_id = 1; - * * @return The moduleId. */ @java.lang.Override @@ -860,15 +787,14 @@ public java.lang.String getModuleId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); moduleId_ = s; return s; } } /** - * - * *
      * The ID of the App Engine module underlying this service. Corresponds to
      * the `module_id` resource label in the `gae_app` monitored resource:
@@ -876,15 +802,16 @@ public java.lang.String getModuleId() {
      * 
* * string module_id = 1; - * * @return The bytes for moduleId. */ @java.lang.Override - public com.google.protobuf.ByteString getModuleIdBytes() { + public com.google.protobuf.ByteString + getModuleIdBytes() { java.lang.Object ref = moduleId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); moduleId_ = b; return b; } else { @@ -893,7 +820,6 @@ public com.google.protobuf.ByteString getModuleIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -905,7 +831,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(moduleId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, moduleId_); } @@ -929,15 +856,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.monitoring.v3.Service.AppEngine)) { return super.equals(obj); } - com.google.monitoring.v3.Service.AppEngine other = - (com.google.monitoring.v3.Service.AppEngine) obj; + com.google.monitoring.v3.Service.AppEngine other = (com.google.monitoring.v3.Service.AppEngine) obj; - if (!getModuleId().equals(other.getModuleId())) return false; + if (!getModuleId() + .equals(other.getModuleId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -956,94 +883,88 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.Service.AppEngine parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.Service.AppEngine parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.Service.AppEngine parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.Service.AppEngine parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.Service.AppEngine parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.Service.AppEngine parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.Service.AppEngine parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.Service.AppEngine 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.monitoring.v3.Service.AppEngine parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.Service.AppEngine parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.Service.AppEngine parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.Service.AppEngine parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.Service.AppEngine parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.Service.AppEngine parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.Service.AppEngine prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1053,32 +974,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * App Engine service. Learn more at https://cloud.google.com/appengine.
      * 
* * Protobuf type {@code google.monitoring.v3.Service.AppEngine} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.Service.AppEngine) com.google.monitoring.v3.Service.AppEngineOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringProto - .internal_static_google_monitoring_v3_Service_AppEngine_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_AppEngine_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringProto - .internal_static_google_monitoring_v3_Service_AppEngine_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_AppEngine_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.Service.AppEngine.class, - com.google.monitoring.v3.Service.AppEngine.Builder.class); + com.google.monitoring.v3.Service.AppEngine.class, com.google.monitoring.v3.Service.AppEngine.Builder.class); } // Construct using com.google.monitoring.v3.Service.AppEngine.newBuilder() @@ -1086,15 +1002,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1104,9 +1021,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.ServiceMonitoringProto - .internal_static_google_monitoring_v3_Service_AppEngine_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_AppEngine_descriptor; } @java.lang.Override @@ -1125,8 +1042,7 @@ public com.google.monitoring.v3.Service.AppEngine build() { @java.lang.Override public com.google.monitoring.v3.Service.AppEngine buildPartial() { - com.google.monitoring.v3.Service.AppEngine result = - new com.google.monitoring.v3.Service.AppEngine(this); + com.google.monitoring.v3.Service.AppEngine result = new com.google.monitoring.v3.Service.AppEngine(this); result.moduleId_ = moduleId_; onBuilt(); return result; @@ -1136,41 +1052,38 @@ public com.google.monitoring.v3.Service.AppEngine 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.monitoring.v3.Service.AppEngine) { - return mergeFrom((com.google.monitoring.v3.Service.AppEngine) other); + return mergeFrom((com.google.monitoring.v3.Service.AppEngine)other); } else { super.mergeFrom(other); return this; @@ -1214,8 +1127,6 @@ public Builder mergeFrom( private java.lang.Object moduleId_ = ""; /** - * - * *
        * The ID of the App Engine module underlying this service. Corresponds to
        * the `module_id` resource label in the `gae_app` monitored resource:
@@ -1223,13 +1134,13 @@ public Builder mergeFrom(
        * 
* * string module_id = 1; - * * @return The moduleId. */ public java.lang.String getModuleId() { java.lang.Object ref = moduleId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); moduleId_ = s; return s; @@ -1238,8 +1149,6 @@ public java.lang.String getModuleId() { } } /** - * - * *
        * The ID of the App Engine module underlying this service. Corresponds to
        * the `module_id` resource label in the `gae_app` monitored resource:
@@ -1247,14 +1156,15 @@ public java.lang.String getModuleId() {
        * 
* * string module_id = 1; - * * @return The bytes for moduleId. */ - public com.google.protobuf.ByteString getModuleIdBytes() { + public com.google.protobuf.ByteString + getModuleIdBytes() { java.lang.Object ref = moduleId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); moduleId_ = b; return b; } else { @@ -1262,8 +1172,6 @@ public com.google.protobuf.ByteString getModuleIdBytes() { } } /** - * - * *
        * The ID of the App Engine module underlying this service. Corresponds to
        * the `module_id` resource label in the `gae_app` monitored resource:
@@ -1271,22 +1179,20 @@ public com.google.protobuf.ByteString getModuleIdBytes() {
        * 
* * string module_id = 1; - * * @param value The moduleId to set. * @return This builder for chaining. */ - public Builder setModuleId(java.lang.String value) { + public Builder setModuleId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + moduleId_ = value; onChanged(); return this; } /** - * - * *
        * The ID of the App Engine module underlying this service. Corresponds to
        * the `module_id` resource label in the `gae_app` monitored resource:
@@ -1294,18 +1200,15 @@ public Builder setModuleId(java.lang.String value) {
        * 
* * string module_id = 1; - * * @return This builder for chaining. */ public Builder clearModuleId() { - + moduleId_ = getDefaultInstance().getModuleId(); onChanged(); return this; } /** - * - * *
        * The ID of the App Engine module underlying this service. Corresponds to
        * the `module_id` resource label in the `gae_app` monitored resource:
@@ -1313,21 +1216,20 @@ public Builder clearModuleId() {
        * 
* * string module_id = 1; - * * @param value The bytes for moduleId to set. * @return This builder for chaining. */ - public Builder setModuleIdBytes(com.google.protobuf.ByteString value) { + public Builder setModuleIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + moduleId_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1340,12 +1242,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.Service.AppEngine) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.Service.AppEngine) private static final com.google.monitoring.v3.Service.AppEngine DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.Service.AppEngine(); } @@ -1354,16 +1256,16 @@ public static com.google.monitoring.v3.Service.AppEngine getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngine parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngine(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngine parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngine(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1378,16 +1280,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.Service.AppEngine getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface CloudEndpointsOrBuilder - extends + public interface CloudEndpointsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.Service.CloudEndpoints) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The name of the Cloud Endpoints service underlying this service.
      * Corresponds to the `service` resource label in the `api` monitored
@@ -1395,13 +1295,10 @@ public interface CloudEndpointsOrBuilder
      * 
* * string service = 1; - * * @return The service. */ java.lang.String getService(); /** - * - * *
      * The name of the Cloud Endpoints service underlying this service.
      * Corresponds to the `service` resource label in the `api` monitored
@@ -1409,45 +1306,43 @@ public interface CloudEndpointsOrBuilder
      * 
* * string service = 1; - * * @return The bytes for service. */ - com.google.protobuf.ByteString getServiceBytes(); + com.google.protobuf.ByteString + getServiceBytes(); } /** - * - * *
    * Cloud Endpoints service. Learn more at https://cloud.google.com/endpoints.
    * 
* * Protobuf type {@code google.monitoring.v3.Service.CloudEndpoints} */ - public static final class CloudEndpoints extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CloudEndpoints extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.Service.CloudEndpoints) CloudEndpointsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CloudEndpoints.newBuilder() to construct. private CloudEndpoints(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CloudEndpoints() { service_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CloudEndpoints(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CloudEndpoints( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1466,52 +1361,47 @@ private CloudEndpoints( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - service_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + service_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringProto - .internal_static_google_monitoring_v3_Service_CloudEndpoints_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_CloudEndpoints_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringProto - .internal_static_google_monitoring_v3_Service_CloudEndpoints_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_CloudEndpoints_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.Service.CloudEndpoints.class, - com.google.monitoring.v3.Service.CloudEndpoints.Builder.class); + com.google.monitoring.v3.Service.CloudEndpoints.class, com.google.monitoring.v3.Service.CloudEndpoints.Builder.class); } public static final int SERVICE_FIELD_NUMBER = 1; private volatile java.lang.Object service_; /** - * - * *
      * The name of the Cloud Endpoints service underlying this service.
      * Corresponds to the `service` resource label in the `api` monitored
@@ -1519,7 +1409,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string service = 1; - * * @return The service. */ @java.lang.Override @@ -1528,15 +1417,14 @@ public java.lang.String getService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; } } /** - * - * *
      * The name of the Cloud Endpoints service underlying this service.
      * Corresponds to the `service` resource label in the `api` monitored
@@ -1544,15 +1432,16 @@ public java.lang.String getService() {
      * 
* * string service = 1; - * * @return The bytes for service. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceBytes() { + public com.google.protobuf.ByteString + getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); service_ = b; return b; } else { @@ -1561,7 +1450,6 @@ public com.google.protobuf.ByteString getServiceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1573,7 +1461,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(service_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, service_); } @@ -1597,15 +1486,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.monitoring.v3.Service.CloudEndpoints)) { return super.equals(obj); } - com.google.monitoring.v3.Service.CloudEndpoints other = - (com.google.monitoring.v3.Service.CloudEndpoints) obj; + com.google.monitoring.v3.Service.CloudEndpoints other = (com.google.monitoring.v3.Service.CloudEndpoints) obj; - if (!getService().equals(other.getService())) return false; + if (!getService() + .equals(other.getService())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1625,93 +1514,87 @@ public int hashCode() { } public static com.google.monitoring.v3.Service.CloudEndpoints parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.Service.CloudEndpoints parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.Service.CloudEndpoints parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.Service.CloudEndpoints parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.Service.CloudEndpoints parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.Service.CloudEndpoints parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.Service.CloudEndpoints parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.Service.CloudEndpoints parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.Service.CloudEndpoints parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.Service.CloudEndpoints parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.Service.CloudEndpoints parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.Service.CloudEndpoints parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.Service.CloudEndpoints parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.Service.CloudEndpoints parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.Service.CloudEndpoints prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1721,32 +1604,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Cloud Endpoints service. Learn more at https://cloud.google.com/endpoints.
      * 
* * Protobuf type {@code google.monitoring.v3.Service.CloudEndpoints} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.Service.CloudEndpoints) com.google.monitoring.v3.Service.CloudEndpointsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringProto - .internal_static_google_monitoring_v3_Service_CloudEndpoints_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_CloudEndpoints_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringProto - .internal_static_google_monitoring_v3_Service_CloudEndpoints_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_CloudEndpoints_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.Service.CloudEndpoints.class, - com.google.monitoring.v3.Service.CloudEndpoints.Builder.class); + com.google.monitoring.v3.Service.CloudEndpoints.class, com.google.monitoring.v3.Service.CloudEndpoints.Builder.class); } // Construct using com.google.monitoring.v3.Service.CloudEndpoints.newBuilder() @@ -1754,15 +1632,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1772,9 +1651,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.ServiceMonitoringProto - .internal_static_google_monitoring_v3_Service_CloudEndpoints_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_CloudEndpoints_descriptor; } @java.lang.Override @@ -1793,8 +1672,7 @@ public com.google.monitoring.v3.Service.CloudEndpoints build() { @java.lang.Override public com.google.monitoring.v3.Service.CloudEndpoints buildPartial() { - com.google.monitoring.v3.Service.CloudEndpoints result = - new com.google.monitoring.v3.Service.CloudEndpoints(this); + com.google.monitoring.v3.Service.CloudEndpoints result = new com.google.monitoring.v3.Service.CloudEndpoints(this); result.service_ = service_; onBuilt(); return result; @@ -1804,41 +1682,38 @@ public com.google.monitoring.v3.Service.CloudEndpoints 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.monitoring.v3.Service.CloudEndpoints) { - return mergeFrom((com.google.monitoring.v3.Service.CloudEndpoints) other); + return mergeFrom((com.google.monitoring.v3.Service.CloudEndpoints)other); } else { super.mergeFrom(other); return this; @@ -1846,8 +1721,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.Service.CloudEndpoints other) { - if (other == com.google.monitoring.v3.Service.CloudEndpoints.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.Service.CloudEndpoints.getDefaultInstance()) return this; if (!other.getService().isEmpty()) { service_ = other.service_; onChanged(); @@ -1871,8 +1745,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.Service.CloudEndpoints) e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.Service.CloudEndpoints) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1884,8 +1757,6 @@ public Builder mergeFrom( private java.lang.Object service_ = ""; /** - * - * *
        * The name of the Cloud Endpoints service underlying this service.
        * Corresponds to the `service` resource label in the `api` monitored
@@ -1893,13 +1764,13 @@ public Builder mergeFrom(
        * 
* * string service = 1; - * * @return The service. */ public java.lang.String getService() { java.lang.Object ref = service_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; @@ -1908,8 +1779,6 @@ public java.lang.String getService() { } } /** - * - * *
        * The name of the Cloud Endpoints service underlying this service.
        * Corresponds to the `service` resource label in the `api` monitored
@@ -1917,14 +1786,15 @@ public java.lang.String getService() {
        * 
* * string service = 1; - * * @return The bytes for service. */ - public com.google.protobuf.ByteString getServiceBytes() { + public com.google.protobuf.ByteString + getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); service_ = b; return b; } else { @@ -1932,8 +1802,6 @@ public com.google.protobuf.ByteString getServiceBytes() { } } /** - * - * *
        * The name of the Cloud Endpoints service underlying this service.
        * Corresponds to the `service` resource label in the `api` monitored
@@ -1941,22 +1809,20 @@ public com.google.protobuf.ByteString getServiceBytes() {
        * 
* * string service = 1; - * * @param value The service to set. * @return This builder for chaining. */ - public Builder setService(java.lang.String value) { + public Builder setService( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + service_ = value; onChanged(); return this; } /** - * - * *
        * The name of the Cloud Endpoints service underlying this service.
        * Corresponds to the `service` resource label in the `api` monitored
@@ -1964,18 +1830,15 @@ public Builder setService(java.lang.String value) {
        * 
* * string service = 1; - * * @return This builder for chaining. */ public Builder clearService() { - + service_ = getDefaultInstance().getService(); onChanged(); return this; } /** - * - * *
        * The name of the Cloud Endpoints service underlying this service.
        * Corresponds to the `service` resource label in the `api` monitored
@@ -1983,21 +1846,20 @@ public Builder clearService() {
        * 
* * string service = 1; - * * @param value The bytes for service to set. * @return This builder for chaining. */ - public Builder setServiceBytes(com.google.protobuf.ByteString value) { + public Builder setServiceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + service_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2010,12 +1872,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.Service.CloudEndpoints) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.Service.CloudEndpoints) private static final com.google.monitoring.v3.Service.CloudEndpoints DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.Service.CloudEndpoints(); } @@ -2024,16 +1886,16 @@ public static com.google.monitoring.v3.Service.CloudEndpoints getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudEndpoints parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CloudEndpoints(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudEndpoints parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CloudEndpoints(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2048,16 +1910,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.Service.CloudEndpoints getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ClusterIstioOrBuilder - extends + public interface ClusterIstioOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.Service.ClusterIstio) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The location of the Kubernetes cluster in which this Istio service is
      * defined. Corresponds to the `location` resource label in `k8s_cluster`
@@ -2065,13 +1925,10 @@ public interface ClusterIstioOrBuilder
      * 
* * string location = 1; - * * @return The location. */ java.lang.String getLocation(); /** - * - * *
      * The location of the Kubernetes cluster in which this Istio service is
      * defined. Corresponds to the `location` resource label in `k8s_cluster`
@@ -2079,14 +1936,12 @@ public interface ClusterIstioOrBuilder
      * 
* * string location = 1; - * * @return The bytes for location. */ - com.google.protobuf.ByteString getLocationBytes(); + com.google.protobuf.ByteString + getLocationBytes(); /** - * - * *
      * The name of the Kubernetes cluster in which this Istio service is
      * defined. Corresponds to the `cluster_name` resource label in
@@ -2094,13 +1949,10 @@ public interface ClusterIstioOrBuilder
      * 
* * string cluster_name = 2; - * * @return The clusterName. */ java.lang.String getClusterName(); /** - * - * *
      * The name of the Kubernetes cluster in which this Istio service is
      * defined. Corresponds to the `cluster_name` resource label in
@@ -2108,68 +1960,56 @@ public interface ClusterIstioOrBuilder
      * 
* * string cluster_name = 2; - * * @return The bytes for clusterName. */ - com.google.protobuf.ByteString getClusterNameBytes(); + com.google.protobuf.ByteString + getClusterNameBytes(); /** - * - * *
      * The namespace of the Istio service underlying this service. Corresponds
      * to the `destination_service_namespace` metric label in Istio metrics.
      * 
* * string service_namespace = 3; - * * @return The serviceNamespace. */ java.lang.String getServiceNamespace(); /** - * - * *
      * The namespace of the Istio service underlying this service. Corresponds
      * to the `destination_service_namespace` metric label in Istio metrics.
      * 
* * string service_namespace = 3; - * * @return The bytes for serviceNamespace. */ - com.google.protobuf.ByteString getServiceNamespaceBytes(); + com.google.protobuf.ByteString + getServiceNamespaceBytes(); /** - * - * *
      * The name of the Istio service underlying this service. Corresponds to the
      * `destination_service_name` metric label in Istio metrics.
      * 
* * string service_name = 4; - * * @return The serviceName. */ java.lang.String getServiceName(); /** - * - * *
      * The name of the Istio service underlying this service. Corresponds to the
      * `destination_service_name` metric label in Istio metrics.
      * 
* * string service_name = 4; - * * @return The bytes for serviceName. */ - com.google.protobuf.ByteString getServiceNameBytes(); + com.google.protobuf.ByteString + getServiceNameBytes(); } /** - * - * *
    * Istio service scoped to a single Kubernetes cluster. Learn more at
    * https://istio.io. Clusters running OSS Istio will have their services
@@ -2178,16 +2018,15 @@ public interface ClusterIstioOrBuilder
    *
    * Protobuf type {@code google.monitoring.v3.Service.ClusterIstio}
    */
-  public static final class ClusterIstio extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class ClusterIstio extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.monitoring.v3.Service.ClusterIstio)
       ClusterIstioOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use ClusterIstio.newBuilder() to construct.
     private ClusterIstio(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private ClusterIstio() {
       location_ = "";
       clusterName_ = "";
@@ -2197,15 +2036,16 @@ private ClusterIstio() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new ClusterIstio();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private ClusterIstio(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -2224,73 +2064,65 @@ private ClusterIstio(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                location_ = s;
-                break;
-              }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              location_ = s;
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                clusterName_ = s;
-                break;
-              }
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              clusterName_ = s;
+              break;
+            }
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                serviceNamespace_ = s;
-                break;
-              }
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              serviceNamespace_ = s;
+              break;
+            }
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                serviceName_ = s;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              serviceName_ = s;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.monitoring.v3.ServiceMonitoringProto
-          .internal_static_google_monitoring_v3_Service_ClusterIstio_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_ClusterIstio_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.ServiceMonitoringProto
-          .internal_static_google_monitoring_v3_Service_ClusterIstio_fieldAccessorTable
+      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_ClusterIstio_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.Service.ClusterIstio.class,
-              com.google.monitoring.v3.Service.ClusterIstio.Builder.class);
+              com.google.monitoring.v3.Service.ClusterIstio.class, com.google.monitoring.v3.Service.ClusterIstio.Builder.class);
     }
 
     public static final int LOCATION_FIELD_NUMBER = 1;
     private volatile java.lang.Object location_;
     /**
-     *
-     *
      * 
      * The location of the Kubernetes cluster in which this Istio service is
      * defined. Corresponds to the `location` resource label in `k8s_cluster`
@@ -2298,7 +2130,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string location = 1; - * * @return The location. */ @java.lang.Override @@ -2307,15 +2138,14 @@ 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; } } /** - * - * *
      * The location of the Kubernetes cluster in which this Istio service is
      * defined. Corresponds to the `location` resource label in `k8s_cluster`
@@ -2323,15 +2153,16 @@ public java.lang.String getLocation() {
      * 
* * 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 { @@ -2342,8 +2173,6 @@ public com.google.protobuf.ByteString getLocationBytes() { public static final int CLUSTER_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object clusterName_; /** - * - * *
      * The name of the Kubernetes cluster in which this Istio service is
      * defined. Corresponds to the `cluster_name` resource label in
@@ -2351,7 +2180,6 @@ public com.google.protobuf.ByteString getLocationBytes() {
      * 
* * string cluster_name = 2; - * * @return The clusterName. */ @java.lang.Override @@ -2360,15 +2188,14 @@ public java.lang.String getClusterName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterName_ = s; return s; } } /** - * - * *
      * The name of the Kubernetes cluster in which this Istio service is
      * defined. Corresponds to the `cluster_name` resource label in
@@ -2376,15 +2203,16 @@ public java.lang.String getClusterName() {
      * 
* * string cluster_name = 2; - * * @return The bytes for clusterName. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterNameBytes() { + public com.google.protobuf.ByteString + getClusterNameBytes() { java.lang.Object ref = clusterName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterName_ = b; return b; } else { @@ -2395,15 +2223,12 @@ public com.google.protobuf.ByteString getClusterNameBytes() { public static final int SERVICE_NAMESPACE_FIELD_NUMBER = 3; private volatile java.lang.Object serviceNamespace_; /** - * - * *
      * The namespace of the Istio service underlying this service. Corresponds
      * to the `destination_service_namespace` metric label in Istio metrics.
      * 
* * string service_namespace = 3; - * * @return The serviceNamespace. */ @java.lang.Override @@ -2412,30 +2237,30 @@ public java.lang.String getServiceNamespace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceNamespace_ = s; return s; } } /** - * - * *
      * The namespace of the Istio service underlying this service. Corresponds
      * to the `destination_service_namespace` metric label in Istio metrics.
      * 
* * string service_namespace = 3; - * * @return The bytes for serviceNamespace. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceNamespaceBytes() { + public com.google.protobuf.ByteString + getServiceNamespaceBytes() { java.lang.Object ref = serviceNamespace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceNamespace_ = b; return b; } else { @@ -2446,15 +2271,12 @@ public com.google.protobuf.ByteString getServiceNamespaceBytes() { public static final int SERVICE_NAME_FIELD_NUMBER = 4; private volatile java.lang.Object serviceName_; /** - * - * *
      * The name of the Istio service underlying this service. Corresponds to the
      * `destination_service_name` metric label in Istio metrics.
      * 
* * string service_name = 4; - * * @return The serviceName. */ @java.lang.Override @@ -2463,30 +2285,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; } } /** - * - * *
      * The name of the Istio service underlying this service. Corresponds to the
      * `destination_service_name` metric label in Istio metrics.
      * 
* * string service_name = 4; - * * @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 { @@ -2495,7 +2317,6 @@ public com.google.protobuf.ByteString getServiceNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2507,7 +2328,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_); } @@ -2549,18 +2371,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.monitoring.v3.Service.ClusterIstio)) { return super.equals(obj); } - com.google.monitoring.v3.Service.ClusterIstio other = - (com.google.monitoring.v3.Service.ClusterIstio) obj; + com.google.monitoring.v3.Service.ClusterIstio other = (com.google.monitoring.v3.Service.ClusterIstio) obj; - if (!getLocation().equals(other.getLocation())) return false; - if (!getClusterName().equals(other.getClusterName())) return false; - if (!getServiceNamespace().equals(other.getServiceNamespace())) return false; - if (!getServiceName().equals(other.getServiceName())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; + if (!getClusterName() + .equals(other.getClusterName())) return false; + if (!getServiceNamespace() + .equals(other.getServiceNamespace())) return false; + if (!getServiceName() + .equals(other.getServiceName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2585,94 +2410,88 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.Service.ClusterIstio parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.Service.ClusterIstio parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.Service.ClusterIstio parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.Service.ClusterIstio parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.Service.ClusterIstio parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.Service.ClusterIstio parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.Service.ClusterIstio parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.Service.ClusterIstio 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.monitoring.v3.Service.ClusterIstio parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.Service.ClusterIstio parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.Service.ClusterIstio parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.Service.ClusterIstio parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.Service.ClusterIstio parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.Service.ClusterIstio parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.Service.ClusterIstio prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2682,8 +2501,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Istio service scoped to a single Kubernetes cluster. Learn more at
      * https://istio.io. Clusters running OSS Istio will have their services
@@ -2692,24 +2509,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.monitoring.v3.Service.ClusterIstio}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.monitoring.v3.Service.ClusterIstio)
         com.google.monitoring.v3.Service.ClusterIstioOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.monitoring.v3.ServiceMonitoringProto
-            .internal_static_google_monitoring_v3_Service_ClusterIstio_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_ClusterIstio_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.monitoring.v3.ServiceMonitoringProto
-            .internal_static_google_monitoring_v3_Service_ClusterIstio_fieldAccessorTable
+        return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_ClusterIstio_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.monitoring.v3.Service.ClusterIstio.class,
-                com.google.monitoring.v3.Service.ClusterIstio.Builder.class);
+                com.google.monitoring.v3.Service.ClusterIstio.class, com.google.monitoring.v3.Service.ClusterIstio.Builder.class);
       }
 
       // Construct using com.google.monitoring.v3.Service.ClusterIstio.newBuilder()
@@ -2717,15 +2531,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -2741,9 +2556,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.monitoring.v3.ServiceMonitoringProto
-            .internal_static_google_monitoring_v3_Service_ClusterIstio_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_ClusterIstio_descriptor;
       }
 
       @java.lang.Override
@@ -2762,8 +2577,7 @@ public com.google.monitoring.v3.Service.ClusterIstio build() {
 
       @java.lang.Override
       public com.google.monitoring.v3.Service.ClusterIstio buildPartial() {
-        com.google.monitoring.v3.Service.ClusterIstio result =
-            new com.google.monitoring.v3.Service.ClusterIstio(this);
+        com.google.monitoring.v3.Service.ClusterIstio result = new com.google.monitoring.v3.Service.ClusterIstio(this);
         result.location_ = location_;
         result.clusterName_ = clusterName_;
         result.serviceNamespace_ = serviceNamespace_;
@@ -2776,41 +2590,38 @@ public com.google.monitoring.v3.Service.ClusterIstio 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.monitoring.v3.Service.ClusterIstio) {
-          return mergeFrom((com.google.monitoring.v3.Service.ClusterIstio) other);
+          return mergeFrom((com.google.monitoring.v3.Service.ClusterIstio)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -2818,8 +2629,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.monitoring.v3.Service.ClusterIstio other) {
-        if (other == com.google.monitoring.v3.Service.ClusterIstio.getDefaultInstance())
-          return this;
+        if (other == com.google.monitoring.v3.Service.ClusterIstio.getDefaultInstance()) return this;
         if (!other.getLocation().isEmpty()) {
           location_ = other.location_;
           onChanged();
@@ -2867,8 +2677,6 @@ public Builder mergeFrom(
 
       private java.lang.Object location_ = "";
       /**
-       *
-       *
        * 
        * The location of the Kubernetes cluster in which this Istio service is
        * defined. Corresponds to the `location` resource label in `k8s_cluster`
@@ -2876,13 +2684,13 @@ public Builder mergeFrom(
        * 
* * 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; @@ -2891,8 +2699,6 @@ public java.lang.String getLocation() { } } /** - * - * *
        * The location of the Kubernetes cluster in which this Istio service is
        * defined. Corresponds to the `location` resource label in `k8s_cluster`
@@ -2900,14 +2706,15 @@ public java.lang.String getLocation() {
        * 
* * 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 { @@ -2915,8 +2722,6 @@ public com.google.protobuf.ByteString getLocationBytes() { } } /** - * - * *
        * The location of the Kubernetes cluster in which this Istio service is
        * defined. Corresponds to the `location` resource label in `k8s_cluster`
@@ -2924,22 +2729,20 @@ public com.google.protobuf.ByteString getLocationBytes() {
        * 
* * 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; } /** - * - * *
        * The location of the Kubernetes cluster in which this Istio service is
        * defined. Corresponds to the `location` resource label in `k8s_cluster`
@@ -2947,18 +2750,15 @@ public Builder setLocation(java.lang.String value) {
        * 
* * string location = 1; - * * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** - * - * *
        * The location of the Kubernetes cluster in which this Istio service is
        * defined. Corresponds to the `location` resource label in `k8s_cluster`
@@ -2966,16 +2766,16 @@ public Builder clearLocation() {
        * 
* * 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; @@ -2983,8 +2783,6 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterName_ = ""; /** - * - * *
        * The name of the Kubernetes cluster in which this Istio service is
        * defined. Corresponds to the `cluster_name` resource label in
@@ -2992,13 +2790,13 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) {
        * 
* * string cluster_name = 2; - * * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterName_ = s; return s; @@ -3007,8 +2805,6 @@ public java.lang.String getClusterName() { } } /** - * - * *
        * The name of the Kubernetes cluster in which this Istio service is
        * defined. Corresponds to the `cluster_name` resource label in
@@ -3016,14 +2812,15 @@ public java.lang.String getClusterName() {
        * 
* * string cluster_name = 2; - * * @return The bytes for clusterName. */ - public com.google.protobuf.ByteString getClusterNameBytes() { + public com.google.protobuf.ByteString + getClusterNameBytes() { java.lang.Object ref = clusterName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterName_ = b; return b; } else { @@ -3031,8 +2828,6 @@ public com.google.protobuf.ByteString getClusterNameBytes() { } } /** - * - * *
        * The name of the Kubernetes cluster in which this Istio service is
        * defined. Corresponds to the `cluster_name` resource label in
@@ -3040,22 +2835,20 @@ public com.google.protobuf.ByteString getClusterNameBytes() {
        * 
* * string cluster_name = 2; - * * @param value The clusterName to set. * @return This builder for chaining. */ - public Builder setClusterName(java.lang.String value) { + public Builder setClusterName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterName_ = value; onChanged(); return this; } /** - * - * *
        * The name of the Kubernetes cluster in which this Istio service is
        * defined. Corresponds to the `cluster_name` resource label in
@@ -3063,18 +2856,15 @@ public Builder setClusterName(java.lang.String value) {
        * 
* * string cluster_name = 2; - * * @return This builder for chaining. */ public Builder clearClusterName() { - + clusterName_ = getDefaultInstance().getClusterName(); onChanged(); return this; } /** - * - * *
        * The name of the Kubernetes cluster in which this Istio service is
        * defined. Corresponds to the `cluster_name` resource label in
@@ -3082,16 +2872,16 @@ public Builder clearClusterName() {
        * 
* * string cluster_name = 2; - * * @param value The bytes for clusterName to set. * @return This builder for chaining. */ - public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { + public Builder setClusterNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterName_ = value; onChanged(); return this; @@ -3099,21 +2889,19 @@ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object serviceNamespace_ = ""; /** - * - * *
        * The namespace of the Istio service underlying this service. Corresponds
        * to the `destination_service_namespace` metric label in Istio metrics.
        * 
* * string service_namespace = 3; - * * @return The serviceNamespace. */ public java.lang.String getServiceNamespace() { java.lang.Object ref = serviceNamespace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceNamespace_ = s; return s; @@ -3122,22 +2910,21 @@ public java.lang.String getServiceNamespace() { } } /** - * - * *
        * The namespace of the Istio service underlying this service. Corresponds
        * to the `destination_service_namespace` metric label in Istio metrics.
        * 
* * string service_namespace = 3; - * * @return The bytes for serviceNamespace. */ - public com.google.protobuf.ByteString getServiceNamespaceBytes() { + public com.google.protobuf.ByteString + getServiceNamespaceBytes() { java.lang.Object ref = serviceNamespace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceNamespace_ = b; return b; } else { @@ -3145,64 +2932,57 @@ public com.google.protobuf.ByteString getServiceNamespaceBytes() { } } /** - * - * *
        * The namespace of the Istio service underlying this service. Corresponds
        * to the `destination_service_namespace` metric label in Istio metrics.
        * 
* * string service_namespace = 3; - * * @param value The serviceNamespace to set. * @return This builder for chaining. */ - public Builder setServiceNamespace(java.lang.String value) { + public Builder setServiceNamespace( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceNamespace_ = value; onChanged(); return this; } /** - * - * *
        * The namespace of the Istio service underlying this service. Corresponds
        * to the `destination_service_namespace` metric label in Istio metrics.
        * 
* * string service_namespace = 3; - * * @return This builder for chaining. */ public Builder clearServiceNamespace() { - + serviceNamespace_ = getDefaultInstance().getServiceNamespace(); onChanged(); return this; } /** - * - * *
        * The namespace of the Istio service underlying this service. Corresponds
        * to the `destination_service_namespace` metric label in Istio metrics.
        * 
* * string service_namespace = 3; - * * @param value The bytes for serviceNamespace to set. * @return This builder for chaining. */ - public Builder setServiceNamespaceBytes(com.google.protobuf.ByteString value) { + public Builder setServiceNamespaceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceNamespace_ = value; onChanged(); return this; @@ -3210,21 +2990,19 @@ public Builder setServiceNamespaceBytes(com.google.protobuf.ByteString value) { private java.lang.Object serviceName_ = ""; /** - * - * *
        * The name of the Istio service underlying this service. Corresponds to the
        * `destination_service_name` metric label in Istio metrics.
        * 
* * string service_name = 4; - * * @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; @@ -3233,22 +3011,21 @@ public java.lang.String getServiceName() { } } /** - * - * *
        * The name of the Istio service underlying this service. Corresponds to the
        * `destination_service_name` metric label in Istio metrics.
        * 
* * string service_name = 4; - * * @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 { @@ -3256,69 +3033,61 @@ public com.google.protobuf.ByteString getServiceNameBytes() { } } /** - * - * *
        * The name of the Istio service underlying this service. Corresponds to the
        * `destination_service_name` metric label in Istio metrics.
        * 
* * string service_name = 4; - * * @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 Istio service underlying this service. Corresponds to the
        * `destination_service_name` metric label in Istio metrics.
        * 
* * string service_name = 4; - * * @return This builder for chaining. */ public Builder clearServiceName() { - + serviceName_ = getDefaultInstance().getServiceName(); onChanged(); return this; } /** - * - * *
        * The name of the Istio service underlying this service. Corresponds to the
        * `destination_service_name` metric label in Istio metrics.
        * 
* * string service_name = 4; - * * @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) { @@ -3331,12 +3100,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.Service.ClusterIstio) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.Service.ClusterIstio) private static final com.google.monitoring.v3.Service.ClusterIstio DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.Service.ClusterIstio(); } @@ -3345,16 +3114,16 @@ public static com.google.monitoring.v3.Service.ClusterIstio getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClusterIstio parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ClusterIstio(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClusterIstio parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ClusterIstio(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3369,97 +3138,80 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.Service.ClusterIstio getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface MeshIstioOrBuilder - extends + public interface MeshIstioOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.Service.MeshIstio) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Identifier for the mesh in which this Istio service is defined.
      * Corresponds to the `mesh_uid` metric label in Istio metrics.
      * 
* * string mesh_uid = 1; - * * @return The meshUid. */ java.lang.String getMeshUid(); /** - * - * *
      * Identifier for the mesh in which this Istio service is defined.
      * Corresponds to the `mesh_uid` metric label in Istio metrics.
      * 
* * string mesh_uid = 1; - * * @return The bytes for meshUid. */ - com.google.protobuf.ByteString getMeshUidBytes(); + com.google.protobuf.ByteString + getMeshUidBytes(); /** - * - * *
      * The namespace of the Istio service underlying this service. Corresponds
      * to the `destination_service_namespace` metric label in Istio metrics.
      * 
* * string service_namespace = 3; - * * @return The serviceNamespace. */ java.lang.String getServiceNamespace(); /** - * - * *
      * The namespace of the Istio service underlying this service. Corresponds
      * to the `destination_service_namespace` metric label in Istio metrics.
      * 
* * string service_namespace = 3; - * * @return The bytes for serviceNamespace. */ - com.google.protobuf.ByteString getServiceNamespaceBytes(); + com.google.protobuf.ByteString + getServiceNamespaceBytes(); /** - * - * *
      * The name of the Istio service underlying this service. Corresponds to the
      * `destination_service_name` metric label in Istio metrics.
      * 
* * string service_name = 4; - * * @return The serviceName. */ java.lang.String getServiceName(); /** - * - * *
      * The name of the Istio service underlying this service. Corresponds to the
      * `destination_service_name` metric label in Istio metrics.
      * 
* * string service_name = 4; - * * @return The bytes for serviceName. */ - com.google.protobuf.ByteString getServiceNameBytes(); + com.google.protobuf.ByteString + getServiceNameBytes(); } /** - * - * *
    * Istio service scoped to an Istio mesh. Anthos clusters running ASM < 1.6.8
    * will have their services ingested as this type.
@@ -3467,16 +3219,15 @@ public interface MeshIstioOrBuilder
    *
    * Protobuf type {@code google.monitoring.v3.Service.MeshIstio}
    */
-  public static final class MeshIstio extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class MeshIstio extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.monitoring.v3.Service.MeshIstio)
       MeshIstioOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use MeshIstio.newBuilder() to construct.
     private MeshIstio(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private MeshIstio() {
       meshUid_ = "";
       serviceNamespace_ = "";
@@ -3485,15 +3236,16 @@ private MeshIstio() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new MeshIstio();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private MeshIstio(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -3512,73 +3264,65 @@ private MeshIstio(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                meshUid_ = s;
-                break;
-              }
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              meshUid_ = s;
+              break;
+            }
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                serviceNamespace_ = s;
-                break;
-              }
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              serviceNamespace_ = s;
+              break;
+            }
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                serviceName_ = s;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              serviceName_ = s;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.monitoring.v3.ServiceMonitoringProto
-          .internal_static_google_monitoring_v3_Service_MeshIstio_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_MeshIstio_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.ServiceMonitoringProto
-          .internal_static_google_monitoring_v3_Service_MeshIstio_fieldAccessorTable
+      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_MeshIstio_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.Service.MeshIstio.class,
-              com.google.monitoring.v3.Service.MeshIstio.Builder.class);
+              com.google.monitoring.v3.Service.MeshIstio.class, com.google.monitoring.v3.Service.MeshIstio.Builder.class);
     }
 
     public static final int MESH_UID_FIELD_NUMBER = 1;
     private volatile java.lang.Object meshUid_;
     /**
-     *
-     *
      * 
      * Identifier for the mesh in which this Istio service is defined.
      * Corresponds to the `mesh_uid` metric label in Istio metrics.
      * 
* * string mesh_uid = 1; - * * @return The meshUid. */ @java.lang.Override @@ -3587,30 +3331,30 @@ public java.lang.String getMeshUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); meshUid_ = s; return s; } } /** - * - * *
      * Identifier for the mesh in which this Istio service is defined.
      * Corresponds to the `mesh_uid` metric label in Istio metrics.
      * 
* * string mesh_uid = 1; - * * @return The bytes for meshUid. */ @java.lang.Override - public com.google.protobuf.ByteString getMeshUidBytes() { + public com.google.protobuf.ByteString + getMeshUidBytes() { java.lang.Object ref = meshUid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); meshUid_ = b; return b; } else { @@ -3621,15 +3365,12 @@ public com.google.protobuf.ByteString getMeshUidBytes() { public static final int SERVICE_NAMESPACE_FIELD_NUMBER = 3; private volatile java.lang.Object serviceNamespace_; /** - * - * *
      * The namespace of the Istio service underlying this service. Corresponds
      * to the `destination_service_namespace` metric label in Istio metrics.
      * 
* * string service_namespace = 3; - * * @return The serviceNamespace. */ @java.lang.Override @@ -3638,30 +3379,30 @@ public java.lang.String getServiceNamespace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceNamespace_ = s; return s; } } /** - * - * *
      * The namespace of the Istio service underlying this service. Corresponds
      * to the `destination_service_namespace` metric label in Istio metrics.
      * 
* * string service_namespace = 3; - * * @return The bytes for serviceNamespace. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceNamespaceBytes() { + public com.google.protobuf.ByteString + getServiceNamespaceBytes() { java.lang.Object ref = serviceNamespace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceNamespace_ = b; return b; } else { @@ -3672,15 +3413,12 @@ public com.google.protobuf.ByteString getServiceNamespaceBytes() { public static final int SERVICE_NAME_FIELD_NUMBER = 4; private volatile java.lang.Object serviceName_; /** - * - * *
      * The name of the Istio service underlying this service. Corresponds to the
      * `destination_service_name` metric label in Istio metrics.
      * 
* * string service_name = 4; - * * @return The serviceName. */ @java.lang.Override @@ -3689,30 +3427,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; } } /** - * - * *
      * The name of the Istio service underlying this service. Corresponds to the
      * `destination_service_name` metric label in Istio metrics.
      * 
* * string service_name = 4; - * * @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 { @@ -3721,7 +3459,6 @@ public com.google.protobuf.ByteString getServiceNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3733,7 +3470,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(meshUid_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, meshUid_); } @@ -3769,17 +3507,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.monitoring.v3.Service.MeshIstio)) { return super.equals(obj); } - com.google.monitoring.v3.Service.MeshIstio other = - (com.google.monitoring.v3.Service.MeshIstio) obj; + com.google.monitoring.v3.Service.MeshIstio other = (com.google.monitoring.v3.Service.MeshIstio) obj; - if (!getMeshUid().equals(other.getMeshUid())) return false; - if (!getServiceNamespace().equals(other.getServiceNamespace())) return false; - if (!getServiceName().equals(other.getServiceName())) return false; + if (!getMeshUid() + .equals(other.getMeshUid())) return false; + if (!getServiceNamespace() + .equals(other.getServiceNamespace())) return false; + if (!getServiceName() + .equals(other.getServiceName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3802,94 +3542,88 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.Service.MeshIstio parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.Service.MeshIstio parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.Service.MeshIstio parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.Service.MeshIstio parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.Service.MeshIstio parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.Service.MeshIstio parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.Service.MeshIstio parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.Service.MeshIstio 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.monitoring.v3.Service.MeshIstio parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.Service.MeshIstio parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.Service.MeshIstio parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.Service.MeshIstio parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.Service.MeshIstio parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.Service.MeshIstio parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.Service.MeshIstio prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3899,8 +3633,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Istio service scoped to an Istio mesh. Anthos clusters running ASM < 1.6.8
      * will have their services ingested as this type.
@@ -3908,24 +3640,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.monitoring.v3.Service.MeshIstio}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.monitoring.v3.Service.MeshIstio)
         com.google.monitoring.v3.Service.MeshIstioOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.monitoring.v3.ServiceMonitoringProto
-            .internal_static_google_monitoring_v3_Service_MeshIstio_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_MeshIstio_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.monitoring.v3.ServiceMonitoringProto
-            .internal_static_google_monitoring_v3_Service_MeshIstio_fieldAccessorTable
+        return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_MeshIstio_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.monitoring.v3.Service.MeshIstio.class,
-                com.google.monitoring.v3.Service.MeshIstio.Builder.class);
+                com.google.monitoring.v3.Service.MeshIstio.class, com.google.monitoring.v3.Service.MeshIstio.Builder.class);
       }
 
       // Construct using com.google.monitoring.v3.Service.MeshIstio.newBuilder()
@@ -3933,15 +3662,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -3955,9 +3685,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.monitoring.v3.ServiceMonitoringProto
-            .internal_static_google_monitoring_v3_Service_MeshIstio_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_MeshIstio_descriptor;
       }
 
       @java.lang.Override
@@ -3976,8 +3706,7 @@ public com.google.monitoring.v3.Service.MeshIstio build() {
 
       @java.lang.Override
       public com.google.monitoring.v3.Service.MeshIstio buildPartial() {
-        com.google.monitoring.v3.Service.MeshIstio result =
-            new com.google.monitoring.v3.Service.MeshIstio(this);
+        com.google.monitoring.v3.Service.MeshIstio result = new com.google.monitoring.v3.Service.MeshIstio(this);
         result.meshUid_ = meshUid_;
         result.serviceNamespace_ = serviceNamespace_;
         result.serviceName_ = serviceName_;
@@ -3989,41 +3718,38 @@ public com.google.monitoring.v3.Service.MeshIstio 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.monitoring.v3.Service.MeshIstio) {
-          return mergeFrom((com.google.monitoring.v3.Service.MeshIstio) other);
+          return mergeFrom((com.google.monitoring.v3.Service.MeshIstio)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -4075,21 +3801,19 @@ public Builder mergeFrom(
 
       private java.lang.Object meshUid_ = "";
       /**
-       *
-       *
        * 
        * Identifier for the mesh in which this Istio service is defined.
        * Corresponds to the `mesh_uid` metric label in Istio metrics.
        * 
* * string mesh_uid = 1; - * * @return The meshUid. */ public java.lang.String getMeshUid() { java.lang.Object ref = meshUid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); meshUid_ = s; return s; @@ -4098,22 +3822,21 @@ public java.lang.String getMeshUid() { } } /** - * - * *
        * Identifier for the mesh in which this Istio service is defined.
        * Corresponds to the `mesh_uid` metric label in Istio metrics.
        * 
* * string mesh_uid = 1; - * * @return The bytes for meshUid. */ - public com.google.protobuf.ByteString getMeshUidBytes() { + public com.google.protobuf.ByteString + getMeshUidBytes() { java.lang.Object ref = meshUid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); meshUid_ = b; return b; } else { @@ -4121,64 +3844,57 @@ public com.google.protobuf.ByteString getMeshUidBytes() { } } /** - * - * *
        * Identifier for the mesh in which this Istio service is defined.
        * Corresponds to the `mesh_uid` metric label in Istio metrics.
        * 
* * string mesh_uid = 1; - * * @param value The meshUid to set. * @return This builder for chaining. */ - public Builder setMeshUid(java.lang.String value) { + public Builder setMeshUid( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + meshUid_ = value; onChanged(); return this; } /** - * - * *
        * Identifier for the mesh in which this Istio service is defined.
        * Corresponds to the `mesh_uid` metric label in Istio metrics.
        * 
* * string mesh_uid = 1; - * * @return This builder for chaining. */ public Builder clearMeshUid() { - + meshUid_ = getDefaultInstance().getMeshUid(); onChanged(); return this; } /** - * - * *
        * Identifier for the mesh in which this Istio service is defined.
        * Corresponds to the `mesh_uid` metric label in Istio metrics.
        * 
* * string mesh_uid = 1; - * * @param value The bytes for meshUid to set. * @return This builder for chaining. */ - public Builder setMeshUidBytes(com.google.protobuf.ByteString value) { + public Builder setMeshUidBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + meshUid_ = value; onChanged(); return this; @@ -4186,21 +3902,19 @@ public Builder setMeshUidBytes(com.google.protobuf.ByteString value) { private java.lang.Object serviceNamespace_ = ""; /** - * - * *
        * The namespace of the Istio service underlying this service. Corresponds
        * to the `destination_service_namespace` metric label in Istio metrics.
        * 
* * string service_namespace = 3; - * * @return The serviceNamespace. */ public java.lang.String getServiceNamespace() { java.lang.Object ref = serviceNamespace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceNamespace_ = s; return s; @@ -4209,22 +3923,21 @@ public java.lang.String getServiceNamespace() { } } /** - * - * *
        * The namespace of the Istio service underlying this service. Corresponds
        * to the `destination_service_namespace` metric label in Istio metrics.
        * 
* * string service_namespace = 3; - * * @return The bytes for serviceNamespace. */ - public com.google.protobuf.ByteString getServiceNamespaceBytes() { + public com.google.protobuf.ByteString + getServiceNamespaceBytes() { java.lang.Object ref = serviceNamespace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceNamespace_ = b; return b; } else { @@ -4232,64 +3945,57 @@ public com.google.protobuf.ByteString getServiceNamespaceBytes() { } } /** - * - * *
        * The namespace of the Istio service underlying this service. Corresponds
        * to the `destination_service_namespace` metric label in Istio metrics.
        * 
* * string service_namespace = 3; - * * @param value The serviceNamespace to set. * @return This builder for chaining. */ - public Builder setServiceNamespace(java.lang.String value) { + public Builder setServiceNamespace( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceNamespace_ = value; onChanged(); return this; } /** - * - * *
        * The namespace of the Istio service underlying this service. Corresponds
        * to the `destination_service_namespace` metric label in Istio metrics.
        * 
* * string service_namespace = 3; - * * @return This builder for chaining. */ public Builder clearServiceNamespace() { - + serviceNamespace_ = getDefaultInstance().getServiceNamespace(); onChanged(); return this; } /** - * - * *
        * The namespace of the Istio service underlying this service. Corresponds
        * to the `destination_service_namespace` metric label in Istio metrics.
        * 
* * string service_namespace = 3; - * * @param value The bytes for serviceNamespace to set. * @return This builder for chaining. */ - public Builder setServiceNamespaceBytes(com.google.protobuf.ByteString value) { + public Builder setServiceNamespaceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceNamespace_ = value; onChanged(); return this; @@ -4297,21 +4003,19 @@ public Builder setServiceNamespaceBytes(com.google.protobuf.ByteString value) { private java.lang.Object serviceName_ = ""; /** - * - * *
        * The name of the Istio service underlying this service. Corresponds to the
        * `destination_service_name` metric label in Istio metrics.
        * 
* * string service_name = 4; - * * @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; @@ -4320,22 +4024,21 @@ public java.lang.String getServiceName() { } } /** - * - * *
        * The name of the Istio service underlying this service. Corresponds to the
        * `destination_service_name` metric label in Istio metrics.
        * 
* * string service_name = 4; - * * @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 { @@ -4343,69 +4046,61 @@ public com.google.protobuf.ByteString getServiceNameBytes() { } } /** - * - * *
        * The name of the Istio service underlying this service. Corresponds to the
        * `destination_service_name` metric label in Istio metrics.
        * 
* * string service_name = 4; - * * @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 Istio service underlying this service. Corresponds to the
        * `destination_service_name` metric label in Istio metrics.
        * 
* * string service_name = 4; - * * @return This builder for chaining. */ public Builder clearServiceName() { - + serviceName_ = getDefaultInstance().getServiceName(); onChanged(); return this; } /** - * - * *
        * The name of the Istio service underlying this service. Corresponds to the
        * `destination_service_name` metric label in Istio metrics.
        * 
* * string service_name = 4; - * * @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) { @@ -4418,12 +4113,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.Service.MeshIstio) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.Service.MeshIstio) private static final com.google.monitoring.v3.Service.MeshIstio DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.Service.MeshIstio(); } @@ -4432,16 +4127,16 @@ public static com.google.monitoring.v3.Service.MeshIstio getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MeshIstio parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MeshIstio(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MeshIstio parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MeshIstio(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4456,16 +4151,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.Service.MeshIstio getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface IstioCanonicalServiceOrBuilder - extends + public interface IstioCanonicalServiceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.Service.IstioCanonicalService) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Identifier for the Istio mesh in which this canonical service is defined.
      * Corresponds to the `mesh_uid` metric label in
@@ -4473,13 +4166,10 @@ public interface IstioCanonicalServiceOrBuilder
      * 
* * string mesh_uid = 1; - * * @return The meshUid. */ java.lang.String getMeshUid(); /** - * - * *
      * Identifier for the Istio mesh in which this canonical service is defined.
      * Corresponds to the `mesh_uid` metric label in
@@ -4487,14 +4177,12 @@ public interface IstioCanonicalServiceOrBuilder
      * 
* * string mesh_uid = 1; - * * @return The bytes for meshUid. */ - com.google.protobuf.ByteString getMeshUidBytes(); + com.google.protobuf.ByteString + getMeshUidBytes(); /** - * - * *
      * The namespace of the canonical service underlying this service.
      * Corresponds to the `destination_canonical_service_namespace` metric
@@ -4503,13 +4191,10 @@ public interface IstioCanonicalServiceOrBuilder
      * 
* * string canonical_service_namespace = 3; - * * @return The canonicalServiceNamespace. */ java.lang.String getCanonicalServiceNamespace(); /** - * - * *
      * The namespace of the canonical service underlying this service.
      * Corresponds to the `destination_canonical_service_namespace` metric
@@ -4518,14 +4203,12 @@ public interface IstioCanonicalServiceOrBuilder
      * 
* * string canonical_service_namespace = 3; - * * @return The bytes for canonicalServiceNamespace. */ - com.google.protobuf.ByteString getCanonicalServiceNamespaceBytes(); + com.google.protobuf.ByteString + getCanonicalServiceNamespaceBytes(); /** - * - * *
      * The name of the canonical service underlying this service.
      * Corresponds to the `destination_canonical_service_name` metric label in
@@ -4534,13 +4217,10 @@ public interface IstioCanonicalServiceOrBuilder
      * 
* * string canonical_service = 4; - * * @return The canonicalService. */ java.lang.String getCanonicalService(); /** - * - * *
      * The name of the canonical service underlying this service.
      * Corresponds to the `destination_canonical_service_name` metric label in
@@ -4549,14 +4229,12 @@ public interface IstioCanonicalServiceOrBuilder
      * 
* * string canonical_service = 4; - * * @return The bytes for canonicalService. */ - com.google.protobuf.ByteString getCanonicalServiceBytes(); + com.google.protobuf.ByteString + getCanonicalServiceBytes(); } /** - * - * *
    * Canonical service scoped to an Istio mesh. Anthos clusters running ASM >=
    * 1.6.8 will have their services ingested as this type.
@@ -4564,16 +4242,15 @@ public interface IstioCanonicalServiceOrBuilder
    *
    * Protobuf type {@code google.monitoring.v3.Service.IstioCanonicalService}
    */
-  public static final class IstioCanonicalService extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class IstioCanonicalService extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.monitoring.v3.Service.IstioCanonicalService)
       IstioCanonicalServiceOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use IstioCanonicalService.newBuilder() to construct.
     private IstioCanonicalService(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private IstioCanonicalService() {
       meshUid_ = "";
       canonicalServiceNamespace_ = "";
@@ -4582,15 +4259,16 @@ private IstioCanonicalService() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new IstioCanonicalService();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private IstioCanonicalService(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -4609,66 +4287,59 @@ private IstioCanonicalService(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                meshUid_ = s;
-                break;
-              }
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              meshUid_ = s;
+              break;
+            }
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                canonicalServiceNamespace_ = s;
-                break;
-              }
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              canonicalServiceNamespace_ = s;
+              break;
+            }
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                canonicalService_ = s;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              canonicalService_ = s;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.monitoring.v3.ServiceMonitoringProto
-          .internal_static_google_monitoring_v3_Service_IstioCanonicalService_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_IstioCanonicalService_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.ServiceMonitoringProto
-          .internal_static_google_monitoring_v3_Service_IstioCanonicalService_fieldAccessorTable
+      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_IstioCanonicalService_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.Service.IstioCanonicalService.class,
-              com.google.monitoring.v3.Service.IstioCanonicalService.Builder.class);
+              com.google.monitoring.v3.Service.IstioCanonicalService.class, com.google.monitoring.v3.Service.IstioCanonicalService.Builder.class);
     }
 
     public static final int MESH_UID_FIELD_NUMBER = 1;
     private volatile java.lang.Object meshUid_;
     /**
-     *
-     *
      * 
      * Identifier for the Istio mesh in which this canonical service is defined.
      * Corresponds to the `mesh_uid` metric label in
@@ -4676,7 +4347,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string mesh_uid = 1; - * * @return The meshUid. */ @java.lang.Override @@ -4685,15 +4355,14 @@ public java.lang.String getMeshUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); meshUid_ = s; return s; } } /** - * - * *
      * Identifier for the Istio mesh in which this canonical service is defined.
      * Corresponds to the `mesh_uid` metric label in
@@ -4701,15 +4370,16 @@ public java.lang.String getMeshUid() {
      * 
* * string mesh_uid = 1; - * * @return The bytes for meshUid. */ @java.lang.Override - public com.google.protobuf.ByteString getMeshUidBytes() { + public com.google.protobuf.ByteString + getMeshUidBytes() { java.lang.Object ref = meshUid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); meshUid_ = b; return b; } else { @@ -4720,8 +4390,6 @@ public com.google.protobuf.ByteString getMeshUidBytes() { public static final int CANONICAL_SERVICE_NAMESPACE_FIELD_NUMBER = 3; private volatile java.lang.Object canonicalServiceNamespace_; /** - * - * *
      * The namespace of the canonical service underlying this service.
      * Corresponds to the `destination_canonical_service_namespace` metric
@@ -4730,7 +4398,6 @@ public com.google.protobuf.ByteString getMeshUidBytes() {
      * 
* * string canonical_service_namespace = 3; - * * @return The canonicalServiceNamespace. */ @java.lang.Override @@ -4739,15 +4406,14 @@ public java.lang.String getCanonicalServiceNamespace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); canonicalServiceNamespace_ = s; return s; } } /** - * - * *
      * The namespace of the canonical service underlying this service.
      * Corresponds to the `destination_canonical_service_namespace` metric
@@ -4756,15 +4422,16 @@ public java.lang.String getCanonicalServiceNamespace() {
      * 
* * string canonical_service_namespace = 3; - * * @return The bytes for canonicalServiceNamespace. */ @java.lang.Override - public com.google.protobuf.ByteString getCanonicalServiceNamespaceBytes() { + public com.google.protobuf.ByteString + getCanonicalServiceNamespaceBytes() { java.lang.Object ref = canonicalServiceNamespace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); canonicalServiceNamespace_ = b; return b; } else { @@ -4775,8 +4442,6 @@ public com.google.protobuf.ByteString getCanonicalServiceNamespaceBytes() { public static final int CANONICAL_SERVICE_FIELD_NUMBER = 4; private volatile java.lang.Object canonicalService_; /** - * - * *
      * The name of the canonical service underlying this service.
      * Corresponds to the `destination_canonical_service_name` metric label in
@@ -4785,7 +4450,6 @@ public com.google.protobuf.ByteString getCanonicalServiceNamespaceBytes() {
      * 
* * string canonical_service = 4; - * * @return The canonicalService. */ @java.lang.Override @@ -4794,15 +4458,14 @@ public java.lang.String getCanonicalService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); canonicalService_ = s; return s; } } /** - * - * *
      * The name of the canonical service underlying this service.
      * Corresponds to the `destination_canonical_service_name` metric label in
@@ -4811,15 +4474,16 @@ public java.lang.String getCanonicalService() {
      * 
* * string canonical_service = 4; - * * @return The bytes for canonicalService. */ @java.lang.Override - public com.google.protobuf.ByteString getCanonicalServiceBytes() { + public com.google.protobuf.ByteString + getCanonicalServiceBytes() { java.lang.Object ref = canonicalService_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); canonicalService_ = b; return b; } else { @@ -4828,7 +4492,6 @@ public com.google.protobuf.ByteString getCanonicalServiceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4840,7 +4503,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(meshUid_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, meshUid_); } @@ -4863,8 +4527,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, meshUid_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(canonicalServiceNamespace_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(3, canonicalServiceNamespace_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, canonicalServiceNamespace_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(canonicalService_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, canonicalService_); @@ -4877,18 +4540,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.monitoring.v3.Service.IstioCanonicalService)) { return super.equals(obj); } - com.google.monitoring.v3.Service.IstioCanonicalService other = - (com.google.monitoring.v3.Service.IstioCanonicalService) obj; + com.google.monitoring.v3.Service.IstioCanonicalService other = (com.google.monitoring.v3.Service.IstioCanonicalService) obj; - if (!getMeshUid().equals(other.getMeshUid())) return false; - if (!getCanonicalServiceNamespace().equals(other.getCanonicalServiceNamespace())) - return false; - if (!getCanonicalService().equals(other.getCanonicalService())) return false; + if (!getMeshUid() + .equals(other.getMeshUid())) return false; + if (!getCanonicalServiceNamespace() + .equals(other.getCanonicalServiceNamespace())) return false; + if (!getCanonicalService() + .equals(other.getCanonicalService())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -4912,94 +4576,87 @@ public int hashCode() { } public static com.google.monitoring.v3.Service.IstioCanonicalService parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.Service.IstioCanonicalService parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.Service.IstioCanonicalService parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.Service.IstioCanonicalService parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.Service.IstioCanonicalService parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.Service.IstioCanonicalService parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.Service.IstioCanonicalService parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.Service.IstioCanonicalService parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.Service.IstioCanonicalService parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.Service.IstioCanonicalService parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.Service.IstioCanonicalService parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.Service.IstioCanonicalService parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.Service.IstioCanonicalService parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.Service.IstioCanonicalService parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.Service.IstioCanonicalService prototype) { + public static Builder newBuilder(com.google.monitoring.v3.Service.IstioCanonicalService prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5009,8 +4666,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Canonical service scoped to an Istio mesh. Anthos clusters running ASM >=
      * 1.6.8 will have their services ingested as this type.
@@ -5018,24 +4673,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.monitoring.v3.Service.IstioCanonicalService}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.monitoring.v3.Service.IstioCanonicalService)
         com.google.monitoring.v3.Service.IstioCanonicalServiceOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.monitoring.v3.ServiceMonitoringProto
-            .internal_static_google_monitoring_v3_Service_IstioCanonicalService_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_IstioCanonicalService_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.monitoring.v3.ServiceMonitoringProto
-            .internal_static_google_monitoring_v3_Service_IstioCanonicalService_fieldAccessorTable
+        return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_IstioCanonicalService_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.monitoring.v3.Service.IstioCanonicalService.class,
-                com.google.monitoring.v3.Service.IstioCanonicalService.Builder.class);
+                com.google.monitoring.v3.Service.IstioCanonicalService.class, com.google.monitoring.v3.Service.IstioCanonicalService.Builder.class);
       }
 
       // Construct using com.google.monitoring.v3.Service.IstioCanonicalService.newBuilder()
@@ -5043,15 +4695,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -5065,9 +4718,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.monitoring.v3.ServiceMonitoringProto
-            .internal_static_google_monitoring_v3_Service_IstioCanonicalService_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_IstioCanonicalService_descriptor;
       }
 
       @java.lang.Override
@@ -5086,8 +4739,7 @@ public com.google.monitoring.v3.Service.IstioCanonicalService build() {
 
       @java.lang.Override
       public com.google.monitoring.v3.Service.IstioCanonicalService buildPartial() {
-        com.google.monitoring.v3.Service.IstioCanonicalService result =
-            new com.google.monitoring.v3.Service.IstioCanonicalService(this);
+        com.google.monitoring.v3.Service.IstioCanonicalService result = new com.google.monitoring.v3.Service.IstioCanonicalService(this);
         result.meshUid_ = meshUid_;
         result.canonicalServiceNamespace_ = canonicalServiceNamespace_;
         result.canonicalService_ = canonicalService_;
@@ -5099,41 +4751,38 @@ public com.google.monitoring.v3.Service.IstioCanonicalService 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.monitoring.v3.Service.IstioCanonicalService) {
-          return mergeFrom((com.google.monitoring.v3.Service.IstioCanonicalService) other);
+          return mergeFrom((com.google.monitoring.v3.Service.IstioCanonicalService)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -5141,8 +4790,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.monitoring.v3.Service.IstioCanonicalService other) {
-        if (other == com.google.monitoring.v3.Service.IstioCanonicalService.getDefaultInstance())
-          return this;
+        if (other == com.google.monitoring.v3.Service.IstioCanonicalService.getDefaultInstance()) return this;
         if (!other.getMeshUid().isEmpty()) {
           meshUid_ = other.meshUid_;
           onChanged();
@@ -5174,8 +4822,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.monitoring.v3.Service.IstioCanonicalService) e.getUnfinishedMessage();
+          parsedMessage = (com.google.monitoring.v3.Service.IstioCanonicalService) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -5187,8 +4834,6 @@ public Builder mergeFrom(
 
       private java.lang.Object meshUid_ = "";
       /**
-       *
-       *
        * 
        * Identifier for the Istio mesh in which this canonical service is defined.
        * Corresponds to the `mesh_uid` metric label in
@@ -5196,13 +4841,13 @@ public Builder mergeFrom(
        * 
* * string mesh_uid = 1; - * * @return The meshUid. */ public java.lang.String getMeshUid() { java.lang.Object ref = meshUid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); meshUid_ = s; return s; @@ -5211,8 +4856,6 @@ public java.lang.String getMeshUid() { } } /** - * - * *
        * Identifier for the Istio mesh in which this canonical service is defined.
        * Corresponds to the `mesh_uid` metric label in
@@ -5220,14 +4863,15 @@ public java.lang.String getMeshUid() {
        * 
* * string mesh_uid = 1; - * * @return The bytes for meshUid. */ - public com.google.protobuf.ByteString getMeshUidBytes() { + public com.google.protobuf.ByteString + getMeshUidBytes() { java.lang.Object ref = meshUid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); meshUid_ = b; return b; } else { @@ -5235,8 +4879,6 @@ public com.google.protobuf.ByteString getMeshUidBytes() { } } /** - * - * *
        * Identifier for the Istio mesh in which this canonical service is defined.
        * Corresponds to the `mesh_uid` metric label in
@@ -5244,22 +4886,20 @@ public com.google.protobuf.ByteString getMeshUidBytes() {
        * 
* * string mesh_uid = 1; - * * @param value The meshUid to set. * @return This builder for chaining. */ - public Builder setMeshUid(java.lang.String value) { + public Builder setMeshUid( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + meshUid_ = value; onChanged(); return this; } /** - * - * *
        * Identifier for the Istio mesh in which this canonical service is defined.
        * Corresponds to the `mesh_uid` metric label in
@@ -5267,18 +4907,15 @@ public Builder setMeshUid(java.lang.String value) {
        * 
* * string mesh_uid = 1; - * * @return This builder for chaining. */ public Builder clearMeshUid() { - + meshUid_ = getDefaultInstance().getMeshUid(); onChanged(); return this; } /** - * - * *
        * Identifier for the Istio mesh in which this canonical service is defined.
        * Corresponds to the `mesh_uid` metric label in
@@ -5286,16 +4923,16 @@ public Builder clearMeshUid() {
        * 
* * string mesh_uid = 1; - * * @param value The bytes for meshUid to set. * @return This builder for chaining. */ - public Builder setMeshUidBytes(com.google.protobuf.ByteString value) { + public Builder setMeshUidBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + meshUid_ = value; onChanged(); return this; @@ -5303,8 +4940,6 @@ public Builder setMeshUidBytes(com.google.protobuf.ByteString value) { private java.lang.Object canonicalServiceNamespace_ = ""; /** - * - * *
        * The namespace of the canonical service underlying this service.
        * Corresponds to the `destination_canonical_service_namespace` metric
@@ -5313,13 +4948,13 @@ public Builder setMeshUidBytes(com.google.protobuf.ByteString value) {
        * 
* * string canonical_service_namespace = 3; - * * @return The canonicalServiceNamespace. */ public java.lang.String getCanonicalServiceNamespace() { java.lang.Object ref = canonicalServiceNamespace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); canonicalServiceNamespace_ = s; return s; @@ -5328,8 +4963,6 @@ public java.lang.String getCanonicalServiceNamespace() { } } /** - * - * *
        * The namespace of the canonical service underlying this service.
        * Corresponds to the `destination_canonical_service_namespace` metric
@@ -5338,14 +4971,15 @@ public java.lang.String getCanonicalServiceNamespace() {
        * 
* * string canonical_service_namespace = 3; - * * @return The bytes for canonicalServiceNamespace. */ - public com.google.protobuf.ByteString getCanonicalServiceNamespaceBytes() { + public com.google.protobuf.ByteString + getCanonicalServiceNamespaceBytes() { java.lang.Object ref = canonicalServiceNamespace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); canonicalServiceNamespace_ = b; return b; } else { @@ -5353,8 +4987,6 @@ public com.google.protobuf.ByteString getCanonicalServiceNamespaceBytes() { } } /** - * - * *
        * The namespace of the canonical service underlying this service.
        * Corresponds to the `destination_canonical_service_namespace` metric
@@ -5363,22 +4995,20 @@ public com.google.protobuf.ByteString getCanonicalServiceNamespaceBytes() {
        * 
* * string canonical_service_namespace = 3; - * * @param value The canonicalServiceNamespace to set. * @return This builder for chaining. */ - public Builder setCanonicalServiceNamespace(java.lang.String value) { + public Builder setCanonicalServiceNamespace( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + canonicalServiceNamespace_ = value; onChanged(); return this; } /** - * - * *
        * The namespace of the canonical service underlying this service.
        * Corresponds to the `destination_canonical_service_namespace` metric
@@ -5387,18 +5017,15 @@ public Builder setCanonicalServiceNamespace(java.lang.String value) {
        * 
* * string canonical_service_namespace = 3; - * * @return This builder for chaining. */ public Builder clearCanonicalServiceNamespace() { - + canonicalServiceNamespace_ = getDefaultInstance().getCanonicalServiceNamespace(); onChanged(); return this; } /** - * - * *
        * The namespace of the canonical service underlying this service.
        * Corresponds to the `destination_canonical_service_namespace` metric
@@ -5407,16 +5034,16 @@ public Builder clearCanonicalServiceNamespace() {
        * 
* * string canonical_service_namespace = 3; - * * @param value The bytes for canonicalServiceNamespace to set. * @return This builder for chaining. */ - public Builder setCanonicalServiceNamespaceBytes(com.google.protobuf.ByteString value) { + public Builder setCanonicalServiceNamespaceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + canonicalServiceNamespace_ = value; onChanged(); return this; @@ -5424,8 +5051,6 @@ public Builder setCanonicalServiceNamespaceBytes(com.google.protobuf.ByteString private java.lang.Object canonicalService_ = ""; /** - * - * *
        * The name of the canonical service underlying this service.
        * Corresponds to the `destination_canonical_service_name` metric label in
@@ -5434,13 +5059,13 @@ public Builder setCanonicalServiceNamespaceBytes(com.google.protobuf.ByteString
        * 
* * string canonical_service = 4; - * * @return The canonicalService. */ public java.lang.String getCanonicalService() { java.lang.Object ref = canonicalService_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); canonicalService_ = s; return s; @@ -5449,8 +5074,6 @@ public java.lang.String getCanonicalService() { } } /** - * - * *
        * The name of the canonical service underlying this service.
        * Corresponds to the `destination_canonical_service_name` metric label in
@@ -5459,14 +5082,15 @@ public java.lang.String getCanonicalService() {
        * 
* * string canonical_service = 4; - * * @return The bytes for canonicalService. */ - public com.google.protobuf.ByteString getCanonicalServiceBytes() { + public com.google.protobuf.ByteString + getCanonicalServiceBytes() { java.lang.Object ref = canonicalService_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); canonicalService_ = b; return b; } else { @@ -5474,8 +5098,6 @@ public com.google.protobuf.ByteString getCanonicalServiceBytes() { } } /** - * - * *
        * The name of the canonical service underlying this service.
        * Corresponds to the `destination_canonical_service_name` metric label in
@@ -5484,22 +5106,20 @@ public com.google.protobuf.ByteString getCanonicalServiceBytes() {
        * 
* * string canonical_service = 4; - * * @param value The canonicalService to set. * @return This builder for chaining. */ - public Builder setCanonicalService(java.lang.String value) { + public Builder setCanonicalService( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + canonicalService_ = value; onChanged(); return this; } /** - * - * *
        * The name of the canonical service underlying this service.
        * Corresponds to the `destination_canonical_service_name` metric label in
@@ -5508,18 +5128,15 @@ public Builder setCanonicalService(java.lang.String value) {
        * 
* * string canonical_service = 4; - * * @return This builder for chaining. */ public Builder clearCanonicalService() { - + canonicalService_ = getDefaultInstance().getCanonicalService(); onChanged(); return this; } /** - * - * *
        * The name of the canonical service underlying this service.
        * Corresponds to the `destination_canonical_service_name` metric label in
@@ -5528,21 +5145,20 @@ public Builder clearCanonicalService() {
        * 
* * string canonical_service = 4; - * * @param value The bytes for canonicalService to set. * @return This builder for chaining. */ - public Builder setCanonicalServiceBytes(com.google.protobuf.ByteString value) { + public Builder setCanonicalServiceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + canonicalService_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5555,12 +5171,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.Service.IstioCanonicalService) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.Service.IstioCanonicalService) private static final com.google.monitoring.v3.Service.IstioCanonicalService DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.Service.IstioCanonicalService(); } @@ -5569,16 +5185,16 @@ public static com.google.monitoring.v3.Service.IstioCanonicalService getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IstioCanonicalService parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IstioCanonicalService(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IstioCanonicalService parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IstioCanonicalService(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5593,74 +5209,67 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.Service.IstioCanonicalService getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface TelemetryOrBuilder - extends + public interface TelemetryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.Service.Telemetry) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The full name of the resource that defines this service. Formatted as
      * described in https://cloud.google.com/apis/design/resource_names.
      * 
* * string resource_name = 1; - * * @return The resourceName. */ java.lang.String getResourceName(); /** - * - * *
      * The full name of the resource that defines this service. Formatted as
      * described in https://cloud.google.com/apis/design/resource_names.
      * 
* * string resource_name = 1; - * * @return The bytes for resourceName. */ - com.google.protobuf.ByteString getResourceNameBytes(); + com.google.protobuf.ByteString + getResourceNameBytes(); } /** - * - * *
    * Configuration for how to query telemetry on a Service.
    * 
* * Protobuf type {@code google.monitoring.v3.Service.Telemetry} */ - public static final class Telemetry extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Telemetry extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.Service.Telemetry) TelemetryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Telemetry.newBuilder() to construct. private Telemetry(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Telemetry() { resourceName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Telemetry(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Telemetry( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -5679,59 +5288,53 @@ private Telemetry( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - resourceName_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + resourceName_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringProto - .internal_static_google_monitoring_v3_Service_Telemetry_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_Telemetry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringProto - .internal_static_google_monitoring_v3_Service_Telemetry_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_Telemetry_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.Service.Telemetry.class, - com.google.monitoring.v3.Service.Telemetry.Builder.class); + com.google.monitoring.v3.Service.Telemetry.class, com.google.monitoring.v3.Service.Telemetry.Builder.class); } public static final int RESOURCE_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object resourceName_; /** - * - * *
      * The full name of the resource that defines this service. Formatted as
      * described in https://cloud.google.com/apis/design/resource_names.
      * 
* * string resource_name = 1; - * * @return The resourceName. */ @java.lang.Override @@ -5740,30 +5343,30 @@ public java.lang.String getResourceName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceName_ = s; return s; } } /** - * - * *
      * The full name of the resource that defines this service. Formatted as
      * described in https://cloud.google.com/apis/design/resource_names.
      * 
* * string resource_name = 1; - * * @return The bytes for resourceName. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceNameBytes() { + public com.google.protobuf.ByteString + getResourceNameBytes() { java.lang.Object ref = resourceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceName_ = b; return b; } else { @@ -5772,7 +5375,6 @@ public com.google.protobuf.ByteString getResourceNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5784,7 +5386,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(resourceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceName_); } @@ -5808,15 +5411,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.monitoring.v3.Service.Telemetry)) { return super.equals(obj); } - com.google.monitoring.v3.Service.Telemetry other = - (com.google.monitoring.v3.Service.Telemetry) obj; + com.google.monitoring.v3.Service.Telemetry other = (com.google.monitoring.v3.Service.Telemetry) obj; - if (!getResourceName().equals(other.getResourceName())) return false; + if (!getResourceName() + .equals(other.getResourceName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -5835,94 +5438,88 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.Service.Telemetry parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.Service.Telemetry parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.Service.Telemetry parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.Service.Telemetry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.Service.Telemetry parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.Service.Telemetry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.Service.Telemetry parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.Service.Telemetry 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.monitoring.v3.Service.Telemetry parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.Service.Telemetry parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.Service.Telemetry parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.Service.Telemetry parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.Service.Telemetry parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.Service.Telemetry parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.Service.Telemetry prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5932,32 +5529,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Configuration for how to query telemetry on a Service.
      * 
* * Protobuf type {@code google.monitoring.v3.Service.Telemetry} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.Service.Telemetry) com.google.monitoring.v3.Service.TelemetryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringProto - .internal_static_google_monitoring_v3_Service_Telemetry_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_Telemetry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringProto - .internal_static_google_monitoring_v3_Service_Telemetry_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_Telemetry_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.Service.Telemetry.class, - com.google.monitoring.v3.Service.Telemetry.Builder.class); + com.google.monitoring.v3.Service.Telemetry.class, com.google.monitoring.v3.Service.Telemetry.Builder.class); } // Construct using com.google.monitoring.v3.Service.Telemetry.newBuilder() @@ -5965,15 +5557,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -5983,9 +5576,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.ServiceMonitoringProto - .internal_static_google_monitoring_v3_Service_Telemetry_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_Telemetry_descriptor; } @java.lang.Override @@ -6004,8 +5597,7 @@ public com.google.monitoring.v3.Service.Telemetry build() { @java.lang.Override public com.google.monitoring.v3.Service.Telemetry buildPartial() { - com.google.monitoring.v3.Service.Telemetry result = - new com.google.monitoring.v3.Service.Telemetry(this); + com.google.monitoring.v3.Service.Telemetry result = new com.google.monitoring.v3.Service.Telemetry(this); result.resourceName_ = resourceName_; onBuilt(); return result; @@ -6015,41 +5607,38 @@ public com.google.monitoring.v3.Service.Telemetry 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.monitoring.v3.Service.Telemetry) { - return mergeFrom((com.google.monitoring.v3.Service.Telemetry) other); + return mergeFrom((com.google.monitoring.v3.Service.Telemetry)other); } else { super.mergeFrom(other); return this; @@ -6093,21 +5682,19 @@ public Builder mergeFrom( private java.lang.Object resourceName_ = ""; /** - * - * *
        * The full name of the resource that defines this service. Formatted as
        * described in https://cloud.google.com/apis/design/resource_names.
        * 
* * string resource_name = 1; - * * @return The resourceName. */ public java.lang.String getResourceName() { java.lang.Object ref = resourceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceName_ = s; return s; @@ -6116,22 +5703,21 @@ public java.lang.String getResourceName() { } } /** - * - * *
        * The full name of the resource that defines this service. Formatted as
        * described in https://cloud.google.com/apis/design/resource_names.
        * 
* * string resource_name = 1; - * * @return The bytes for resourceName. */ - public com.google.protobuf.ByteString getResourceNameBytes() { + public com.google.protobuf.ByteString + getResourceNameBytes() { java.lang.Object ref = resourceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceName_ = b; return b; } else { @@ -6139,69 +5725,61 @@ public com.google.protobuf.ByteString getResourceNameBytes() { } } /** - * - * *
        * The full name of the resource that defines this service. Formatted as
        * described in https://cloud.google.com/apis/design/resource_names.
        * 
* * string resource_name = 1; - * * @param value The resourceName to set. * @return This builder for chaining. */ - public Builder setResourceName(java.lang.String value) { + public Builder setResourceName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceName_ = value; onChanged(); return this; } /** - * - * *
        * The full name of the resource that defines this service. Formatted as
        * described in https://cloud.google.com/apis/design/resource_names.
        * 
* * string resource_name = 1; - * * @return This builder for chaining. */ public Builder clearResourceName() { - + resourceName_ = getDefaultInstance().getResourceName(); onChanged(); return this; } /** - * - * *
        * The full name of the resource that defines this service. Formatted as
        * described in https://cloud.google.com/apis/design/resource_names.
        * 
* * string resource_name = 1; - * * @param value The bytes for resourceName to set. * @return This builder for chaining. */ - public Builder setResourceNameBytes(com.google.protobuf.ByteString value) { + public Builder setResourceNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceName_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6214,12 +5792,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.Service.Telemetry) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.Service.Telemetry) private static final com.google.monitoring.v3.Service.Telemetry DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.Service.Telemetry(); } @@ -6228,16 +5806,16 @@ public static com.google.monitoring.v3.Service.Telemetry getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Telemetry parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Telemetry(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Telemetry parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Telemetry(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6252,14 +5830,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.Service.Telemetry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int identifierCase_ = 0; private java.lang.Object identifier_; - public enum IdentifierCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CUSTOM(6), APP_ENGINE(7), @@ -6269,7 +5846,6 @@ public enum IdentifierCase ISTIO_CANONICAL_SERVICE(11), IDENTIFIER_NOT_SET(0); private final int value; - private IdentifierCase(int value) { this.value = value; } @@ -6285,46 +5861,36 @@ public static IdentifierCase valueOf(int value) { public static IdentifierCase forNumber(int value) { switch (value) { - case 6: - return CUSTOM; - case 7: - return APP_ENGINE; - case 8: - return CLOUD_ENDPOINTS; - case 9: - return CLUSTER_ISTIO; - case 10: - return MESH_ISTIO; - case 11: - return ISTIO_CANONICAL_SERVICE; - case 0: - return IDENTIFIER_NOT_SET; - default: - return null; + case 6: return CUSTOM; + case 7: return APP_ENGINE; + case 8: return CLOUD_ENDPOINTS; + case 9: return CLUSTER_ISTIO; + case 10: return MESH_ISTIO; + case 11: return ISTIO_CANONICAL_SERVICE; + case 0: return IDENTIFIER_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public IdentifierCase getIdentifierCase() { - return IdentifierCase.forNumber(identifierCase_); + public IdentifierCase + getIdentifierCase() { + return IdentifierCase.forNumber( + identifierCase_); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Resource name for this Service. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -6333,30 +5899,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 for this Service. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_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 { @@ -6367,14 +5933,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * Name used for UI elements listing this Service.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -6383,29 +5946,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Name used for UI elements listing this Service.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -6415,14 +5978,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int CUSTOM_FIELD_NUMBER = 6; /** - * - * *
    * Custom service type.
    * 
* * .google.monitoring.v3.Service.Custom custom = 6; - * * @return Whether the custom field is set. */ @java.lang.Override @@ -6430,26 +5990,21 @@ public boolean hasCustom() { return identifierCase_ == 6; } /** - * - * *
    * Custom service type.
    * 
* * .google.monitoring.v3.Service.Custom custom = 6; - * * @return The custom. */ @java.lang.Override public com.google.monitoring.v3.Service.Custom getCustom() { if (identifierCase_ == 6) { - return (com.google.monitoring.v3.Service.Custom) identifier_; + return (com.google.monitoring.v3.Service.Custom) identifier_; } return com.google.monitoring.v3.Service.Custom.getDefaultInstance(); } /** - * - * *
    * Custom service type.
    * 
@@ -6459,21 +6014,18 @@ public com.google.monitoring.v3.Service.Custom getCustom() { @java.lang.Override public com.google.monitoring.v3.Service.CustomOrBuilder getCustomOrBuilder() { if (identifierCase_ == 6) { - return (com.google.monitoring.v3.Service.Custom) identifier_; + return (com.google.monitoring.v3.Service.Custom) identifier_; } return com.google.monitoring.v3.Service.Custom.getDefaultInstance(); } public static final int APP_ENGINE_FIELD_NUMBER = 7; /** - * - * *
    * Type used for App Engine services.
    * 
* * .google.monitoring.v3.Service.AppEngine app_engine = 7; - * * @return Whether the appEngine field is set. */ @java.lang.Override @@ -6481,26 +6033,21 @@ public boolean hasAppEngine() { return identifierCase_ == 7; } /** - * - * *
    * Type used for App Engine services.
    * 
* * .google.monitoring.v3.Service.AppEngine app_engine = 7; - * * @return The appEngine. */ @java.lang.Override public com.google.monitoring.v3.Service.AppEngine getAppEngine() { if (identifierCase_ == 7) { - return (com.google.monitoring.v3.Service.AppEngine) identifier_; + return (com.google.monitoring.v3.Service.AppEngine) identifier_; } return com.google.monitoring.v3.Service.AppEngine.getDefaultInstance(); } /** - * - * *
    * Type used for App Engine services.
    * 
@@ -6510,21 +6057,18 @@ public com.google.monitoring.v3.Service.AppEngine getAppEngine() { @java.lang.Override public com.google.monitoring.v3.Service.AppEngineOrBuilder getAppEngineOrBuilder() { if (identifierCase_ == 7) { - return (com.google.monitoring.v3.Service.AppEngine) identifier_; + return (com.google.monitoring.v3.Service.AppEngine) identifier_; } return com.google.monitoring.v3.Service.AppEngine.getDefaultInstance(); } public static final int CLOUD_ENDPOINTS_FIELD_NUMBER = 8; /** - * - * *
    * Type used for Cloud Endpoints services.
    * 
* * .google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8; - * * @return Whether the cloudEndpoints field is set. */ @java.lang.Override @@ -6532,26 +6076,21 @@ public boolean hasCloudEndpoints() { return identifierCase_ == 8; } /** - * - * *
    * Type used for Cloud Endpoints services.
    * 
* * .google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8; - * * @return The cloudEndpoints. */ @java.lang.Override public com.google.monitoring.v3.Service.CloudEndpoints getCloudEndpoints() { if (identifierCase_ == 8) { - return (com.google.monitoring.v3.Service.CloudEndpoints) identifier_; + return (com.google.monitoring.v3.Service.CloudEndpoints) identifier_; } return com.google.monitoring.v3.Service.CloudEndpoints.getDefaultInstance(); } /** - * - * *
    * Type used for Cloud Endpoints services.
    * 
@@ -6561,21 +6100,18 @@ public com.google.monitoring.v3.Service.CloudEndpoints getCloudEndpoints() { @java.lang.Override public com.google.monitoring.v3.Service.CloudEndpointsOrBuilder getCloudEndpointsOrBuilder() { if (identifierCase_ == 8) { - return (com.google.monitoring.v3.Service.CloudEndpoints) identifier_; + return (com.google.monitoring.v3.Service.CloudEndpoints) identifier_; } return com.google.monitoring.v3.Service.CloudEndpoints.getDefaultInstance(); } public static final int CLUSTER_ISTIO_FIELD_NUMBER = 9; /** - * - * *
    * Type used for Istio services that live in a Kubernetes cluster.
    * 
* * .google.monitoring.v3.Service.ClusterIstio cluster_istio = 9; - * * @return Whether the clusterIstio field is set. */ @java.lang.Override @@ -6583,26 +6119,21 @@ public boolean hasClusterIstio() { return identifierCase_ == 9; } /** - * - * *
    * Type used for Istio services that live in a Kubernetes cluster.
    * 
* * .google.monitoring.v3.Service.ClusterIstio cluster_istio = 9; - * * @return The clusterIstio. */ @java.lang.Override public com.google.monitoring.v3.Service.ClusterIstio getClusterIstio() { if (identifierCase_ == 9) { - return (com.google.monitoring.v3.Service.ClusterIstio) identifier_; + return (com.google.monitoring.v3.Service.ClusterIstio) identifier_; } return com.google.monitoring.v3.Service.ClusterIstio.getDefaultInstance(); } /** - * - * *
    * Type used for Istio services that live in a Kubernetes cluster.
    * 
@@ -6612,21 +6143,18 @@ public com.google.monitoring.v3.Service.ClusterIstio getClusterIstio() { @java.lang.Override public com.google.monitoring.v3.Service.ClusterIstioOrBuilder getClusterIstioOrBuilder() { if (identifierCase_ == 9) { - return (com.google.monitoring.v3.Service.ClusterIstio) identifier_; + return (com.google.monitoring.v3.Service.ClusterIstio) identifier_; } return com.google.monitoring.v3.Service.ClusterIstio.getDefaultInstance(); } public static final int MESH_ISTIO_FIELD_NUMBER = 10; /** - * - * *
    * Type used for Istio services scoped to an Istio mesh.
    * 
* * .google.monitoring.v3.Service.MeshIstio mesh_istio = 10; - * * @return Whether the meshIstio field is set. */ @java.lang.Override @@ -6634,26 +6162,21 @@ public boolean hasMeshIstio() { return identifierCase_ == 10; } /** - * - * *
    * Type used for Istio services scoped to an Istio mesh.
    * 
* * .google.monitoring.v3.Service.MeshIstio mesh_istio = 10; - * * @return The meshIstio. */ @java.lang.Override public com.google.monitoring.v3.Service.MeshIstio getMeshIstio() { if (identifierCase_ == 10) { - return (com.google.monitoring.v3.Service.MeshIstio) identifier_; + return (com.google.monitoring.v3.Service.MeshIstio) identifier_; } return com.google.monitoring.v3.Service.MeshIstio.getDefaultInstance(); } /** - * - * *
    * Type used for Istio services scoped to an Istio mesh.
    * 
@@ -6663,15 +6186,13 @@ public com.google.monitoring.v3.Service.MeshIstio getMeshIstio() { @java.lang.Override public com.google.monitoring.v3.Service.MeshIstioOrBuilder getMeshIstioOrBuilder() { if (identifierCase_ == 10) { - return (com.google.monitoring.v3.Service.MeshIstio) identifier_; + return (com.google.monitoring.v3.Service.MeshIstio) identifier_; } return com.google.monitoring.v3.Service.MeshIstio.getDefaultInstance(); } public static final int ISTIO_CANONICAL_SERVICE_FIELD_NUMBER = 11; /** - * - * *
    * Type used for canonical services scoped to an Istio mesh.
    * Metrics for Istio are
@@ -6679,7 +6200,6 @@ public com.google.monitoring.v3.Service.MeshIstioOrBuilder getMeshIstioOrBuilder
    * 
* * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; - * * @return Whether the istioCanonicalService field is set. */ @java.lang.Override @@ -6687,8 +6207,6 @@ public boolean hasIstioCanonicalService() { return identifierCase_ == 11; } /** - * - * *
    * Type used for canonical services scoped to an Istio mesh.
    * Metrics for Istio are
@@ -6696,19 +6214,16 @@ public boolean hasIstioCanonicalService() {
    * 
* * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; - * * @return The istioCanonicalService. */ @java.lang.Override public com.google.monitoring.v3.Service.IstioCanonicalService getIstioCanonicalService() { if (identifierCase_ == 11) { - return (com.google.monitoring.v3.Service.IstioCanonicalService) identifier_; + return (com.google.monitoring.v3.Service.IstioCanonicalService) identifier_; } return com.google.monitoring.v3.Service.IstioCanonicalService.getDefaultInstance(); } /** - * - * *
    * Type used for canonical services scoped to an Istio mesh.
    * Metrics for Istio are
@@ -6718,10 +6233,9 @@ public com.google.monitoring.v3.Service.IstioCanonicalService getIstioCanonicalS
    * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11;
    */
   @java.lang.Override
-  public com.google.monitoring.v3.Service.IstioCanonicalServiceOrBuilder
-      getIstioCanonicalServiceOrBuilder() {
+  public com.google.monitoring.v3.Service.IstioCanonicalServiceOrBuilder getIstioCanonicalServiceOrBuilder() {
     if (identifierCase_ == 11) {
-      return (com.google.monitoring.v3.Service.IstioCanonicalService) identifier_;
+       return (com.google.monitoring.v3.Service.IstioCanonicalService) identifier_;
     }
     return com.google.monitoring.v3.Service.IstioCanonicalService.getDefaultInstance();
   }
@@ -6729,14 +6243,11 @@ public com.google.monitoring.v3.Service.IstioCanonicalService getIstioCanonicalS
   public static final int TELEMETRY_FIELD_NUMBER = 13;
   private com.google.monitoring.v3.Service.Telemetry telemetry_;
   /**
-   *
-   *
    * 
    * Configuration for how to query telemetry on a Service.
    * 
* * .google.monitoring.v3.Service.Telemetry telemetry = 13; - * * @return Whether the telemetry field is set. */ @java.lang.Override @@ -6744,25 +6255,18 @@ public boolean hasTelemetry() { return telemetry_ != null; } /** - * - * *
    * Configuration for how to query telemetry on a Service.
    * 
* * .google.monitoring.v3.Service.Telemetry telemetry = 13; - * * @return The telemetry. */ @java.lang.Override public com.google.monitoring.v3.Service.Telemetry getTelemetry() { - return telemetry_ == null - ? com.google.monitoring.v3.Service.Telemetry.getDefaultInstance() - : telemetry_; + return telemetry_ == null ? com.google.monitoring.v3.Service.Telemetry.getDefaultInstance() : telemetry_; } /** - * - * *
    * Configuration for how to query telemetry on a Service.
    * 
@@ -6775,23 +6279,24 @@ public com.google.monitoring.v3.Service.TelemetryOrBuilder getTelemetryOrBuilder } public static final int USER_LABELS_FIELD_NUMBER = 14; - private static final class UserLabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.monitoring.v3.ServiceMonitoringProto - .internal_static_google_monitoring_v3_Service_UserLabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_UserLabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField userLabels_; - - private com.google.protobuf.MapField internalGetUserLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> userLabels_; + private com.google.protobuf.MapField + internalGetUserLabels() { if (userLabels_ == null) { - return com.google.protobuf.MapField.emptyMapField(UserLabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + UserLabelsDefaultEntryHolder.defaultEntry); } return userLabels_; } @@ -6800,8 +6305,6 @@ public int getUserLabelsCount() { return internalGetUserLabels().getMap().size(); } /** - * - * *
    * Labels which have been used to annotate the service. Label keys must start
    * with a letter. Label keys and values may contain lowercase letters,
@@ -6813,22 +6316,22 @@ public int getUserLabelsCount() {
    *
    * map<string, string> user_labels = 14;
    */
+
   @java.lang.Override
-  public boolean containsUserLabels(java.lang.String key) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
+  public boolean containsUserLabels(
+      java.lang.String key) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
     return internalGetUserLabels().getMap().containsKey(key);
   }
-  /** Use {@link #getUserLabelsMap()} instead. */
+  /**
+   * Use {@link #getUserLabelsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getUserLabels() {
     return getUserLabelsMap();
   }
   /**
-   *
-   *
    * 
    * Labels which have been used to annotate the service. Label keys must start
    * with a letter. Label keys and values may contain lowercase letters,
@@ -6841,12 +6344,11 @@ public java.util.Map getUserLabels() {
    * map<string, string> user_labels = 14;
    */
   @java.lang.Override
+
   public java.util.Map getUserLabelsMap() {
     return internalGetUserLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * Labels which have been used to annotate the service. Label keys must start
    * with a letter. Label keys and values may contain lowercase letters,
@@ -6859,17 +6361,16 @@ public java.util.Map getUserLabelsMap() {
    * map<string, string> user_labels = 14;
    */
   @java.lang.Override
+
   public java.lang.String getUserLabelsOrDefault(
-      java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
-    java.util.Map map = internalGetUserLabels().getMap();
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
+    java.util.Map map =
+        internalGetUserLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Labels which have been used to annotate the service. Label keys must start
    * with a letter. Label keys and values may contain lowercase letters,
@@ -6882,11 +6383,12 @@ public java.lang.String getUserLabelsOrDefault(
    * map<string, string> user_labels = 14;
    */
   @java.lang.Override
-  public java.lang.String getUserLabelsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
-    java.util.Map map = internalGetUserLabels().getMap();
+
+  public java.lang.String getUserLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
+    java.util.Map map =
+        internalGetUserLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -6894,7 +6396,6 @@ public java.lang.String getUserLabelsOrThrow(java.lang.String key) {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -6906,7 +6407,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_);
     }
@@ -6934,8 +6436,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (telemetry_ != null) {
       output.writeMessage(13, getTelemetry());
     }
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetUserLabels(), UserLabelsDefaultEntryHolder.defaultEntry, 14);
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetUserLabels(),
+        UserLabelsDefaultEntryHolder.defaultEntry,
+        14);
     unknownFields.writeTo(output);
   }
 
@@ -6952,47 +6458,42 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_);
     }
     if (identifierCase_ == 6) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              6, (com.google.monitoring.v3.Service.Custom) identifier_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, (com.google.monitoring.v3.Service.Custom) identifier_);
     }
     if (identifierCase_ == 7) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              7, (com.google.monitoring.v3.Service.AppEngine) identifier_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, (com.google.monitoring.v3.Service.AppEngine) identifier_);
     }
     if (identifierCase_ == 8) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              8, (com.google.monitoring.v3.Service.CloudEndpoints) identifier_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(8, (com.google.monitoring.v3.Service.CloudEndpoints) identifier_);
     }
     if (identifierCase_ == 9) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              9, (com.google.monitoring.v3.Service.ClusterIstio) identifier_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(9, (com.google.monitoring.v3.Service.ClusterIstio) identifier_);
     }
     if (identifierCase_ == 10) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              10, (com.google.monitoring.v3.Service.MeshIstio) identifier_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(10, (com.google.monitoring.v3.Service.MeshIstio) identifier_);
     }
     if (identifierCase_ == 11) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              11, (com.google.monitoring.v3.Service.IstioCanonicalService) identifier_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(11, (com.google.monitoring.v3.Service.IstioCanonicalService) identifier_);
     }
     if (telemetry_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getTelemetry());
-    }
-    for (java.util.Map.Entry entry :
-        internalGetUserLabels().getMap().entrySet()) {
-      com.google.protobuf.MapEntry userLabels__ =
-          UserLabelsDefaultEntryHolder.defaultEntry
-              .newBuilderForType()
-              .setKey(entry.getKey())
-              .setValue(entry.getValue())
-              .build();
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, userLabels__);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(13, getTelemetry());
+    }
+    for (java.util.Map.Entry entry
+         : internalGetUserLabels().getMap().entrySet()) {
+      com.google.protobuf.MapEntry
+      userLabels__ = UserLabelsDefaultEntryHolder.defaultEntry.newBuilderForType()
+          .setKey(entry.getKey())
+          .setValue(entry.getValue())
+          .build();
+      size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(14, userLabels__);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -7002,39 +6503,49 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.monitoring.v3.Service)) {
       return super.equals(obj);
     }
     com.google.monitoring.v3.Service other = (com.google.monitoring.v3.Service) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!getDisplayName().equals(other.getDisplayName())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getDisplayName()
+        .equals(other.getDisplayName())) return false;
     if (hasTelemetry() != other.hasTelemetry()) return false;
     if (hasTelemetry()) {
-      if (!getTelemetry().equals(other.getTelemetry())) return false;
+      if (!getTelemetry()
+          .equals(other.getTelemetry())) return false;
     }
-    if (!internalGetUserLabels().equals(other.internalGetUserLabels())) return false;
+    if (!internalGetUserLabels().equals(
+        other.internalGetUserLabels())) return false;
     if (!getIdentifierCase().equals(other.getIdentifierCase())) return false;
     switch (identifierCase_) {
       case 6:
-        if (!getCustom().equals(other.getCustom())) return false;
+        if (!getCustom()
+            .equals(other.getCustom())) return false;
         break;
       case 7:
-        if (!getAppEngine().equals(other.getAppEngine())) return false;
+        if (!getAppEngine()
+            .equals(other.getAppEngine())) return false;
         break;
       case 8:
-        if (!getCloudEndpoints().equals(other.getCloudEndpoints())) return false;
+        if (!getCloudEndpoints()
+            .equals(other.getCloudEndpoints())) return false;
         break;
       case 9:
-        if (!getClusterIstio().equals(other.getClusterIstio())) return false;
+        if (!getClusterIstio()
+            .equals(other.getClusterIstio())) return false;
         break;
       case 10:
-        if (!getMeshIstio().equals(other.getMeshIstio())) return false;
+        if (!getMeshIstio()
+            .equals(other.getMeshIstio())) return false;
         break;
       case 11:
-        if (!getIstioCanonicalService().equals(other.getIstioCanonicalService())) return false;
+        if (!getIstioCanonicalService()
+            .equals(other.getIstioCanonicalService())) return false;
         break;
       case 0:
       default:
@@ -7095,103 +6606,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.monitoring.v3.Service parseFrom(java.nio.ByteBuffer data)
+  public static com.google.monitoring.v3.Service parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.monitoring.v3.Service parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.monitoring.v3.Service parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.monitoring.v3.Service parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.monitoring.v3.Service parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.monitoring.v3.Service parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.monitoring.v3.Service parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.monitoring.v3.Service 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.monitoring.v3.Service parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.monitoring.v3.Service parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.monitoring.v3.Service parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.monitoring.v3.Service parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.monitoring.v3.Service parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.monitoring.v3.Service prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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 `Service` is a discrete, autonomous, and network-accessible unit, designed
    * to solve an individual concern
@@ -7202,43 +6707,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.monitoring.v3.Service}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.Service)
       com.google.monitoring.v3.ServiceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.monitoring.v3.ServiceMonitoringProto
-          .internal_static_google_monitoring_v3_Service_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 14:
           return internalGetUserLabels();
         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 14:
           return internalGetMutableUserLabels();
         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.monitoring.v3.ServiceMonitoringProto
-          .internal_static_google_monitoring_v3_Service_fieldAccessorTable
+      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.Service.class,
-              com.google.monitoring.v3.Service.Builder.class);
+              com.google.monitoring.v3.Service.class, com.google.monitoring.v3.Service.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.Service.newBuilder()
@@ -7246,15 +6751,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -7275,9 +6781,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.monitoring.v3.ServiceMonitoringProto
-          .internal_static_google_monitoring_v3_Service_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_descriptor;
     }
 
     @java.lang.Override
@@ -7358,39 +6864,38 @@ public com.google.monitoring.v3.Service 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.monitoring.v3.Service) {
-        return mergeFrom((com.google.monitoring.v3.Service) other);
+        return mergeFrom((com.google.monitoring.v3.Service)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -7410,42 +6915,36 @@ public Builder mergeFrom(com.google.monitoring.v3.Service other) {
       if (other.hasTelemetry()) {
         mergeTelemetry(other.getTelemetry());
       }
-      internalGetMutableUserLabels().mergeFrom(other.internalGetUserLabels());
+      internalGetMutableUserLabels().mergeFrom(
+          other.internalGetUserLabels());
       switch (other.getIdentifierCase()) {
-        case CUSTOM:
-          {
-            mergeCustom(other.getCustom());
-            break;
-          }
-        case APP_ENGINE:
-          {
-            mergeAppEngine(other.getAppEngine());
-            break;
-          }
-        case CLOUD_ENDPOINTS:
-          {
-            mergeCloudEndpoints(other.getCloudEndpoints());
-            break;
-          }
-        case CLUSTER_ISTIO:
-          {
-            mergeClusterIstio(other.getClusterIstio());
-            break;
-          }
-        case MESH_ISTIO:
-          {
-            mergeMeshIstio(other.getMeshIstio());
-            break;
-          }
-        case ISTIO_CANONICAL_SERVICE:
-          {
-            mergeIstioCanonicalService(other.getIstioCanonicalService());
-            break;
-          }
-        case IDENTIFIER_NOT_SET:
-          {
-            break;
-          }
+        case CUSTOM: {
+          mergeCustom(other.getCustom());
+          break;
+        }
+        case APP_ENGINE: {
+          mergeAppEngine(other.getAppEngine());
+          break;
+        }
+        case CLOUD_ENDPOINTS: {
+          mergeCloudEndpoints(other.getCloudEndpoints());
+          break;
+        }
+        case CLUSTER_ISTIO: {
+          mergeClusterIstio(other.getClusterIstio());
+          break;
+        }
+        case MESH_ISTIO: {
+          mergeMeshIstio(other.getMeshIstio());
+          break;
+        }
+        case ISTIO_CANONICAL_SERVICE: {
+          mergeIstioCanonicalService(other.getIstioCanonicalService());
+          break;
+        }
+        case IDENTIFIER_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -7475,12 +6974,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int identifierCase_ = 0;
     private java.lang.Object identifier_;
-
-    public IdentifierCase getIdentifierCase() {
-      return IdentifierCase.forNumber(identifierCase_);
+    public IdentifierCase
+        getIdentifierCase() {
+      return IdentifierCase.forNumber(
+          identifierCase_);
     }
 
     public Builder clearIdentifier() {
@@ -7494,21 +6993,19 @@ public Builder clearIdentifier() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Resource name for this Service. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_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; @@ -7517,22 +7014,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Resource name for this Service. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_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 { @@ -7540,64 +7036,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Resource name for this Service. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_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 for this Service. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Resource name for this Service. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_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; @@ -7605,20 +7094,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Name used for UI elements listing this Service.
      * 
* * string display_name = 2; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -7627,21 +7114,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Name used for UI elements listing this Service.
      * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -7649,80 +7135,67 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Name used for UI elements listing this Service.
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * Name used for UI elements listing this Service.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * Name used for UI elements listing this Service.
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.Custom, - com.google.monitoring.v3.Service.Custom.Builder, - com.google.monitoring.v3.Service.CustomOrBuilder> - customBuilder_; + com.google.monitoring.v3.Service.Custom, com.google.monitoring.v3.Service.Custom.Builder, com.google.monitoring.v3.Service.CustomOrBuilder> customBuilder_; /** - * - * *
      * Custom service type.
      * 
* * .google.monitoring.v3.Service.Custom custom = 6; - * * @return Whether the custom field is set. */ @java.lang.Override @@ -7730,14 +7203,11 @@ public boolean hasCustom() { return identifierCase_ == 6; } /** - * - * *
      * Custom service type.
      * 
* * .google.monitoring.v3.Service.Custom custom = 6; - * * @return The custom. */ @java.lang.Override @@ -7755,8 +7225,6 @@ public com.google.monitoring.v3.Service.Custom getCustom() { } } /** - * - * *
      * Custom service type.
      * 
@@ -7777,15 +7245,14 @@ public Builder setCustom(com.google.monitoring.v3.Service.Custom value) { return this; } /** - * - * *
      * Custom service type.
      * 
* * .google.monitoring.v3.Service.Custom custom = 6; */ - public Builder setCustom(com.google.monitoring.v3.Service.Custom.Builder builderForValue) { + public Builder setCustom( + com.google.monitoring.v3.Service.Custom.Builder builderForValue) { if (customBuilder_ == null) { identifier_ = builderForValue.build(); onChanged(); @@ -7796,8 +7263,6 @@ public Builder setCustom(com.google.monitoring.v3.Service.Custom.Builder builder return this; } /** - * - * *
      * Custom service type.
      * 
@@ -7806,13 +7271,10 @@ public Builder setCustom(com.google.monitoring.v3.Service.Custom.Builder builder */ public Builder mergeCustom(com.google.monitoring.v3.Service.Custom value) { if (customBuilder_ == null) { - if (identifierCase_ == 6 - && identifier_ != com.google.monitoring.v3.Service.Custom.getDefaultInstance()) { - identifier_ = - com.google.monitoring.v3.Service.Custom.newBuilder( - (com.google.monitoring.v3.Service.Custom) identifier_) - .mergeFrom(value) - .buildPartial(); + if (identifierCase_ == 6 && + identifier_ != com.google.monitoring.v3.Service.Custom.getDefaultInstance()) { + identifier_ = com.google.monitoring.v3.Service.Custom.newBuilder((com.google.monitoring.v3.Service.Custom) identifier_) + .mergeFrom(value).buildPartial(); } else { identifier_ = value; } @@ -7827,8 +7289,6 @@ public Builder mergeCustom(com.google.monitoring.v3.Service.Custom value) { return this; } /** - * - * *
      * Custom service type.
      * 
@@ -7852,8 +7312,6 @@ public Builder clearCustom() { return this; } /** - * - * *
      * Custom service type.
      * 
@@ -7864,8 +7322,6 @@ public com.google.monitoring.v3.Service.Custom.Builder getCustomBuilder() { return getCustomFieldBuilder().getBuilder(); } /** - * - * *
      * Custom service type.
      * 
@@ -7884,8 +7340,6 @@ public com.google.monitoring.v3.Service.CustomOrBuilder getCustomOrBuilder() { } } /** - * - * *
      * Custom service type.
      * 
@@ -7893,44 +7347,32 @@ public com.google.monitoring.v3.Service.CustomOrBuilder getCustomOrBuilder() { * .google.monitoring.v3.Service.Custom custom = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.Custom, - com.google.monitoring.v3.Service.Custom.Builder, - com.google.monitoring.v3.Service.CustomOrBuilder> + com.google.monitoring.v3.Service.Custom, com.google.monitoring.v3.Service.Custom.Builder, com.google.monitoring.v3.Service.CustomOrBuilder> getCustomFieldBuilder() { if (customBuilder_ == null) { if (!(identifierCase_ == 6)) { identifier_ = com.google.monitoring.v3.Service.Custom.getDefaultInstance(); } - customBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.Custom, - com.google.monitoring.v3.Service.Custom.Builder, - com.google.monitoring.v3.Service.CustomOrBuilder>( + customBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.Service.Custom, com.google.monitoring.v3.Service.Custom.Builder, com.google.monitoring.v3.Service.CustomOrBuilder>( (com.google.monitoring.v3.Service.Custom) identifier_, getParentForChildren(), isClean()); identifier_ = null; } identifierCase_ = 6; - onChanged(); - ; + onChanged();; return customBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.AppEngine, - com.google.monitoring.v3.Service.AppEngine.Builder, - com.google.monitoring.v3.Service.AppEngineOrBuilder> - appEngineBuilder_; + com.google.monitoring.v3.Service.AppEngine, com.google.monitoring.v3.Service.AppEngine.Builder, com.google.monitoring.v3.Service.AppEngineOrBuilder> appEngineBuilder_; /** - * - * *
      * Type used for App Engine services.
      * 
* * .google.monitoring.v3.Service.AppEngine app_engine = 7; - * * @return Whether the appEngine field is set. */ @java.lang.Override @@ -7938,14 +7380,11 @@ public boolean hasAppEngine() { return identifierCase_ == 7; } /** - * - * *
      * Type used for App Engine services.
      * 
* * .google.monitoring.v3.Service.AppEngine app_engine = 7; - * * @return The appEngine. */ @java.lang.Override @@ -7963,8 +7402,6 @@ public com.google.monitoring.v3.Service.AppEngine getAppEngine() { } } /** - * - * *
      * Type used for App Engine services.
      * 
@@ -7985,8 +7422,6 @@ public Builder setAppEngine(com.google.monitoring.v3.Service.AppEngine value) { return this; } /** - * - * *
      * Type used for App Engine services.
      * 
@@ -8005,8 +7440,6 @@ public Builder setAppEngine( return this; } /** - * - * *
      * Type used for App Engine services.
      * 
@@ -8015,13 +7448,10 @@ public Builder setAppEngine( */ public Builder mergeAppEngine(com.google.monitoring.v3.Service.AppEngine value) { if (appEngineBuilder_ == null) { - if (identifierCase_ == 7 - && identifier_ != com.google.monitoring.v3.Service.AppEngine.getDefaultInstance()) { - identifier_ = - com.google.monitoring.v3.Service.AppEngine.newBuilder( - (com.google.monitoring.v3.Service.AppEngine) identifier_) - .mergeFrom(value) - .buildPartial(); + if (identifierCase_ == 7 && + identifier_ != com.google.monitoring.v3.Service.AppEngine.getDefaultInstance()) { + identifier_ = com.google.monitoring.v3.Service.AppEngine.newBuilder((com.google.monitoring.v3.Service.AppEngine) identifier_) + .mergeFrom(value).buildPartial(); } else { identifier_ = value; } @@ -8036,8 +7466,6 @@ public Builder mergeAppEngine(com.google.monitoring.v3.Service.AppEngine value) return this; } /** - * - * *
      * Type used for App Engine services.
      * 
@@ -8061,8 +7489,6 @@ public Builder clearAppEngine() { return this; } /** - * - * *
      * Type used for App Engine services.
      * 
@@ -8073,8 +7499,6 @@ public com.google.monitoring.v3.Service.AppEngine.Builder getAppEngineBuilder() return getAppEngineFieldBuilder().getBuilder(); } /** - * - * *
      * Type used for App Engine services.
      * 
@@ -8093,8 +7517,6 @@ public com.google.monitoring.v3.Service.AppEngineOrBuilder getAppEngineOrBuilder } } /** - * - * *
      * Type used for App Engine services.
      * 
@@ -8102,44 +7524,32 @@ public com.google.monitoring.v3.Service.AppEngineOrBuilder getAppEngineOrBuilder * .google.monitoring.v3.Service.AppEngine app_engine = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.AppEngine, - com.google.monitoring.v3.Service.AppEngine.Builder, - com.google.monitoring.v3.Service.AppEngineOrBuilder> + com.google.monitoring.v3.Service.AppEngine, com.google.monitoring.v3.Service.AppEngine.Builder, com.google.monitoring.v3.Service.AppEngineOrBuilder> getAppEngineFieldBuilder() { if (appEngineBuilder_ == null) { if (!(identifierCase_ == 7)) { identifier_ = com.google.monitoring.v3.Service.AppEngine.getDefaultInstance(); } - appEngineBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.AppEngine, - com.google.monitoring.v3.Service.AppEngine.Builder, - com.google.monitoring.v3.Service.AppEngineOrBuilder>( + appEngineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.Service.AppEngine, com.google.monitoring.v3.Service.AppEngine.Builder, com.google.monitoring.v3.Service.AppEngineOrBuilder>( (com.google.monitoring.v3.Service.AppEngine) identifier_, getParentForChildren(), isClean()); identifier_ = null; } identifierCase_ = 7; - onChanged(); - ; + onChanged();; return appEngineBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.CloudEndpoints, - com.google.monitoring.v3.Service.CloudEndpoints.Builder, - com.google.monitoring.v3.Service.CloudEndpointsOrBuilder> - cloudEndpointsBuilder_; + com.google.monitoring.v3.Service.CloudEndpoints, com.google.monitoring.v3.Service.CloudEndpoints.Builder, com.google.monitoring.v3.Service.CloudEndpointsOrBuilder> cloudEndpointsBuilder_; /** - * - * *
      * Type used for Cloud Endpoints services.
      * 
* * .google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8; - * * @return Whether the cloudEndpoints field is set. */ @java.lang.Override @@ -8147,14 +7557,11 @@ public boolean hasCloudEndpoints() { return identifierCase_ == 8; } /** - * - * *
      * Type used for Cloud Endpoints services.
      * 
* * .google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8; - * * @return The cloudEndpoints. */ @java.lang.Override @@ -8172,8 +7579,6 @@ public com.google.monitoring.v3.Service.CloudEndpoints getCloudEndpoints() { } } /** - * - * *
      * Type used for Cloud Endpoints services.
      * 
@@ -8194,8 +7599,6 @@ public Builder setCloudEndpoints(com.google.monitoring.v3.Service.CloudEndpoints return this; } /** - * - * *
      * Type used for Cloud Endpoints services.
      * 
@@ -8214,8 +7617,6 @@ public Builder setCloudEndpoints( return this; } /** - * - * *
      * Type used for Cloud Endpoints services.
      * 
@@ -8224,14 +7625,10 @@ public Builder setCloudEndpoints( */ public Builder mergeCloudEndpoints(com.google.monitoring.v3.Service.CloudEndpoints value) { if (cloudEndpointsBuilder_ == null) { - if (identifierCase_ == 8 - && identifier_ - != com.google.monitoring.v3.Service.CloudEndpoints.getDefaultInstance()) { - identifier_ = - com.google.monitoring.v3.Service.CloudEndpoints.newBuilder( - (com.google.monitoring.v3.Service.CloudEndpoints) identifier_) - .mergeFrom(value) - .buildPartial(); + if (identifierCase_ == 8 && + identifier_ != com.google.monitoring.v3.Service.CloudEndpoints.getDefaultInstance()) { + identifier_ = com.google.monitoring.v3.Service.CloudEndpoints.newBuilder((com.google.monitoring.v3.Service.CloudEndpoints) identifier_) + .mergeFrom(value).buildPartial(); } else { identifier_ = value; } @@ -8246,8 +7643,6 @@ public Builder mergeCloudEndpoints(com.google.monitoring.v3.Service.CloudEndpoin return this; } /** - * - * *
      * Type used for Cloud Endpoints services.
      * 
@@ -8271,8 +7666,6 @@ public Builder clearCloudEndpoints() { return this; } /** - * - * *
      * Type used for Cloud Endpoints services.
      * 
@@ -8283,8 +7676,6 @@ public com.google.monitoring.v3.Service.CloudEndpoints.Builder getCloudEndpoints return getCloudEndpointsFieldBuilder().getBuilder(); } /** - * - * *
      * Type used for Cloud Endpoints services.
      * 
@@ -8303,8 +7694,6 @@ public com.google.monitoring.v3.Service.CloudEndpointsOrBuilder getCloudEndpoint } } /** - * - * *
      * Type used for Cloud Endpoints services.
      * 
@@ -8312,44 +7701,32 @@ public com.google.monitoring.v3.Service.CloudEndpointsOrBuilder getCloudEndpoint * .google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.CloudEndpoints, - com.google.monitoring.v3.Service.CloudEndpoints.Builder, - com.google.monitoring.v3.Service.CloudEndpointsOrBuilder> + com.google.monitoring.v3.Service.CloudEndpoints, com.google.monitoring.v3.Service.CloudEndpoints.Builder, com.google.monitoring.v3.Service.CloudEndpointsOrBuilder> getCloudEndpointsFieldBuilder() { if (cloudEndpointsBuilder_ == null) { if (!(identifierCase_ == 8)) { identifier_ = com.google.monitoring.v3.Service.CloudEndpoints.getDefaultInstance(); } - cloudEndpointsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.CloudEndpoints, - com.google.monitoring.v3.Service.CloudEndpoints.Builder, - com.google.monitoring.v3.Service.CloudEndpointsOrBuilder>( + cloudEndpointsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.Service.CloudEndpoints, com.google.monitoring.v3.Service.CloudEndpoints.Builder, com.google.monitoring.v3.Service.CloudEndpointsOrBuilder>( (com.google.monitoring.v3.Service.CloudEndpoints) identifier_, getParentForChildren(), isClean()); identifier_ = null; } identifierCase_ = 8; - onChanged(); - ; + onChanged();; return cloudEndpointsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.ClusterIstio, - com.google.monitoring.v3.Service.ClusterIstio.Builder, - com.google.monitoring.v3.Service.ClusterIstioOrBuilder> - clusterIstioBuilder_; + com.google.monitoring.v3.Service.ClusterIstio, com.google.monitoring.v3.Service.ClusterIstio.Builder, com.google.monitoring.v3.Service.ClusterIstioOrBuilder> clusterIstioBuilder_; /** - * - * *
      * Type used for Istio services that live in a Kubernetes cluster.
      * 
* * .google.monitoring.v3.Service.ClusterIstio cluster_istio = 9; - * * @return Whether the clusterIstio field is set. */ @java.lang.Override @@ -8357,14 +7734,11 @@ public boolean hasClusterIstio() { return identifierCase_ == 9; } /** - * - * *
      * Type used for Istio services that live in a Kubernetes cluster.
      * 
* * .google.monitoring.v3.Service.ClusterIstio cluster_istio = 9; - * * @return The clusterIstio. */ @java.lang.Override @@ -8382,8 +7756,6 @@ public com.google.monitoring.v3.Service.ClusterIstio getClusterIstio() { } } /** - * - * *
      * Type used for Istio services that live in a Kubernetes cluster.
      * 
@@ -8404,8 +7776,6 @@ public Builder setClusterIstio(com.google.monitoring.v3.Service.ClusterIstio val return this; } /** - * - * *
      * Type used for Istio services that live in a Kubernetes cluster.
      * 
@@ -8424,8 +7794,6 @@ public Builder setClusterIstio( return this; } /** - * - * *
      * Type used for Istio services that live in a Kubernetes cluster.
      * 
@@ -8434,13 +7802,10 @@ public Builder setClusterIstio( */ public Builder mergeClusterIstio(com.google.monitoring.v3.Service.ClusterIstio value) { if (clusterIstioBuilder_ == null) { - if (identifierCase_ == 9 - && identifier_ != com.google.monitoring.v3.Service.ClusterIstio.getDefaultInstance()) { - identifier_ = - com.google.monitoring.v3.Service.ClusterIstio.newBuilder( - (com.google.monitoring.v3.Service.ClusterIstio) identifier_) - .mergeFrom(value) - .buildPartial(); + if (identifierCase_ == 9 && + identifier_ != com.google.monitoring.v3.Service.ClusterIstio.getDefaultInstance()) { + identifier_ = com.google.monitoring.v3.Service.ClusterIstio.newBuilder((com.google.monitoring.v3.Service.ClusterIstio) identifier_) + .mergeFrom(value).buildPartial(); } else { identifier_ = value; } @@ -8455,8 +7820,6 @@ public Builder mergeClusterIstio(com.google.monitoring.v3.Service.ClusterIstio v return this; } /** - * - * *
      * Type used for Istio services that live in a Kubernetes cluster.
      * 
@@ -8480,8 +7843,6 @@ public Builder clearClusterIstio() { return this; } /** - * - * *
      * Type used for Istio services that live in a Kubernetes cluster.
      * 
@@ -8492,8 +7853,6 @@ public com.google.monitoring.v3.Service.ClusterIstio.Builder getClusterIstioBuil return getClusterIstioFieldBuilder().getBuilder(); } /** - * - * *
      * Type used for Istio services that live in a Kubernetes cluster.
      * 
@@ -8512,8 +7871,6 @@ public com.google.monitoring.v3.Service.ClusterIstioOrBuilder getClusterIstioOrB } } /** - * - * *
      * Type used for Istio services that live in a Kubernetes cluster.
      * 
@@ -8521,44 +7878,32 @@ public com.google.monitoring.v3.Service.ClusterIstioOrBuilder getClusterIstioOrB * .google.monitoring.v3.Service.ClusterIstio cluster_istio = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.ClusterIstio, - com.google.monitoring.v3.Service.ClusterIstio.Builder, - com.google.monitoring.v3.Service.ClusterIstioOrBuilder> + com.google.monitoring.v3.Service.ClusterIstio, com.google.monitoring.v3.Service.ClusterIstio.Builder, com.google.monitoring.v3.Service.ClusterIstioOrBuilder> getClusterIstioFieldBuilder() { if (clusterIstioBuilder_ == null) { if (!(identifierCase_ == 9)) { identifier_ = com.google.monitoring.v3.Service.ClusterIstio.getDefaultInstance(); } - clusterIstioBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.ClusterIstio, - com.google.monitoring.v3.Service.ClusterIstio.Builder, - com.google.monitoring.v3.Service.ClusterIstioOrBuilder>( + clusterIstioBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.Service.ClusterIstio, com.google.monitoring.v3.Service.ClusterIstio.Builder, com.google.monitoring.v3.Service.ClusterIstioOrBuilder>( (com.google.monitoring.v3.Service.ClusterIstio) identifier_, getParentForChildren(), isClean()); identifier_ = null; } identifierCase_ = 9; - onChanged(); - ; + onChanged();; return clusterIstioBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.MeshIstio, - com.google.monitoring.v3.Service.MeshIstio.Builder, - com.google.monitoring.v3.Service.MeshIstioOrBuilder> - meshIstioBuilder_; + com.google.monitoring.v3.Service.MeshIstio, com.google.monitoring.v3.Service.MeshIstio.Builder, com.google.monitoring.v3.Service.MeshIstioOrBuilder> meshIstioBuilder_; /** - * - * *
      * Type used for Istio services scoped to an Istio mesh.
      * 
* * .google.monitoring.v3.Service.MeshIstio mesh_istio = 10; - * * @return Whether the meshIstio field is set. */ @java.lang.Override @@ -8566,14 +7911,11 @@ public boolean hasMeshIstio() { return identifierCase_ == 10; } /** - * - * *
      * Type used for Istio services scoped to an Istio mesh.
      * 
* * .google.monitoring.v3.Service.MeshIstio mesh_istio = 10; - * * @return The meshIstio. */ @java.lang.Override @@ -8591,8 +7933,6 @@ public com.google.monitoring.v3.Service.MeshIstio getMeshIstio() { } } /** - * - * *
      * Type used for Istio services scoped to an Istio mesh.
      * 
@@ -8613,8 +7953,6 @@ public Builder setMeshIstio(com.google.monitoring.v3.Service.MeshIstio value) { return this; } /** - * - * *
      * Type used for Istio services scoped to an Istio mesh.
      * 
@@ -8633,8 +7971,6 @@ public Builder setMeshIstio( return this; } /** - * - * *
      * Type used for Istio services scoped to an Istio mesh.
      * 
@@ -8643,13 +7979,10 @@ public Builder setMeshIstio( */ public Builder mergeMeshIstio(com.google.monitoring.v3.Service.MeshIstio value) { if (meshIstioBuilder_ == null) { - if (identifierCase_ == 10 - && identifier_ != com.google.monitoring.v3.Service.MeshIstio.getDefaultInstance()) { - identifier_ = - com.google.monitoring.v3.Service.MeshIstio.newBuilder( - (com.google.monitoring.v3.Service.MeshIstio) identifier_) - .mergeFrom(value) - .buildPartial(); + if (identifierCase_ == 10 && + identifier_ != com.google.monitoring.v3.Service.MeshIstio.getDefaultInstance()) { + identifier_ = com.google.monitoring.v3.Service.MeshIstio.newBuilder((com.google.monitoring.v3.Service.MeshIstio) identifier_) + .mergeFrom(value).buildPartial(); } else { identifier_ = value; } @@ -8664,8 +7997,6 @@ public Builder mergeMeshIstio(com.google.monitoring.v3.Service.MeshIstio value) return this; } /** - * - * *
      * Type used for Istio services scoped to an Istio mesh.
      * 
@@ -8689,8 +8020,6 @@ public Builder clearMeshIstio() { return this; } /** - * - * *
      * Type used for Istio services scoped to an Istio mesh.
      * 
@@ -8701,8 +8030,6 @@ public com.google.monitoring.v3.Service.MeshIstio.Builder getMeshIstioBuilder() return getMeshIstioFieldBuilder().getBuilder(); } /** - * - * *
      * Type used for Istio services scoped to an Istio mesh.
      * 
@@ -8721,8 +8048,6 @@ public com.google.monitoring.v3.Service.MeshIstioOrBuilder getMeshIstioOrBuilder } } /** - * - * *
      * Type used for Istio services scoped to an Istio mesh.
      * 
@@ -8730,47 +8055,34 @@ public com.google.monitoring.v3.Service.MeshIstioOrBuilder getMeshIstioOrBuilder * .google.monitoring.v3.Service.MeshIstio mesh_istio = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.MeshIstio, - com.google.monitoring.v3.Service.MeshIstio.Builder, - com.google.monitoring.v3.Service.MeshIstioOrBuilder> + com.google.monitoring.v3.Service.MeshIstio, com.google.monitoring.v3.Service.MeshIstio.Builder, com.google.monitoring.v3.Service.MeshIstioOrBuilder> getMeshIstioFieldBuilder() { if (meshIstioBuilder_ == null) { if (!(identifierCase_ == 10)) { identifier_ = com.google.monitoring.v3.Service.MeshIstio.getDefaultInstance(); } - meshIstioBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.MeshIstio, - com.google.monitoring.v3.Service.MeshIstio.Builder, - com.google.monitoring.v3.Service.MeshIstioOrBuilder>( + meshIstioBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.Service.MeshIstio, com.google.monitoring.v3.Service.MeshIstio.Builder, com.google.monitoring.v3.Service.MeshIstioOrBuilder>( (com.google.monitoring.v3.Service.MeshIstio) identifier_, getParentForChildren(), isClean()); identifier_ = null; } identifierCase_ = 10; - onChanged(); - ; + onChanged();; return meshIstioBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.IstioCanonicalService, - com.google.monitoring.v3.Service.IstioCanonicalService.Builder, - com.google.monitoring.v3.Service.IstioCanonicalServiceOrBuilder> - istioCanonicalServiceBuilder_; + com.google.monitoring.v3.Service.IstioCanonicalService, com.google.monitoring.v3.Service.IstioCanonicalService.Builder, com.google.monitoring.v3.Service.IstioCanonicalServiceOrBuilder> istioCanonicalServiceBuilder_; /** - * - * *
      * Type used for canonical services scoped to an Istio mesh.
      * Metrics for Istio are
      * [documented here](https://istio.io/latest/docs/reference/config/metrics/)
      * 
* - * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; - * - * + * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; * @return Whether the istioCanonicalService field is set. */ @java.lang.Override @@ -8778,17 +8090,13 @@ public boolean hasIstioCanonicalService() { return identifierCase_ == 11; } /** - * - * *
      * Type used for canonical services scoped to an Istio mesh.
      * Metrics for Istio are
      * [documented here](https://istio.io/latest/docs/reference/config/metrics/)
      * 
* - * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; - * - * + * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; * @return The istioCanonicalService. */ @java.lang.Override @@ -8806,19 +8114,15 @@ public com.google.monitoring.v3.Service.IstioCanonicalService getIstioCanonicalS } } /** - * - * *
      * Type used for canonical services scoped to an Istio mesh.
      * Metrics for Istio are
      * [documented here](https://istio.io/latest/docs/reference/config/metrics/)
      * 
* - * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; - * + * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; */ - public Builder setIstioCanonicalService( - com.google.monitoring.v3.Service.IstioCanonicalService value) { + public Builder setIstioCanonicalService(com.google.monitoring.v3.Service.IstioCanonicalService value) { if (istioCanonicalServiceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8832,16 +8136,13 @@ public Builder setIstioCanonicalService( return this; } /** - * - * *
      * Type used for canonical services scoped to an Istio mesh.
      * Metrics for Istio are
      * [documented here](https://istio.io/latest/docs/reference/config/metrics/)
      * 
* - * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; - * + * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; */ public Builder setIstioCanonicalService( com.google.monitoring.v3.Service.IstioCanonicalService.Builder builderForValue) { @@ -8855,28 +8156,20 @@ public Builder setIstioCanonicalService( return this; } /** - * - * *
      * Type used for canonical services scoped to an Istio mesh.
      * Metrics for Istio are
      * [documented here](https://istio.io/latest/docs/reference/config/metrics/)
      * 
* - * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; - * + * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; */ - public Builder mergeIstioCanonicalService( - com.google.monitoring.v3.Service.IstioCanonicalService value) { + public Builder mergeIstioCanonicalService(com.google.monitoring.v3.Service.IstioCanonicalService value) { if (istioCanonicalServiceBuilder_ == null) { - if (identifierCase_ == 11 - && identifier_ - != com.google.monitoring.v3.Service.IstioCanonicalService.getDefaultInstance()) { - identifier_ = - com.google.monitoring.v3.Service.IstioCanonicalService.newBuilder( - (com.google.monitoring.v3.Service.IstioCanonicalService) identifier_) - .mergeFrom(value) - .buildPartial(); + if (identifierCase_ == 11 && + identifier_ != com.google.monitoring.v3.Service.IstioCanonicalService.getDefaultInstance()) { + identifier_ = com.google.monitoring.v3.Service.IstioCanonicalService.newBuilder((com.google.monitoring.v3.Service.IstioCanonicalService) identifier_) + .mergeFrom(value).buildPartial(); } else { identifier_ = value; } @@ -8891,16 +8184,13 @@ public Builder mergeIstioCanonicalService( return this; } /** - * - * *
      * Type used for canonical services scoped to an Istio mesh.
      * Metrics for Istio are
      * [documented here](https://istio.io/latest/docs/reference/config/metrics/)
      * 
* - * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; - * + * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; */ public Builder clearIstioCanonicalService() { if (istioCanonicalServiceBuilder_ == null) { @@ -8919,36 +8209,28 @@ public Builder clearIstioCanonicalService() { return this; } /** - * - * *
      * Type used for canonical services scoped to an Istio mesh.
      * Metrics for Istio are
      * [documented here](https://istio.io/latest/docs/reference/config/metrics/)
      * 
* - * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; - * + * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; */ - public com.google.monitoring.v3.Service.IstioCanonicalService.Builder - getIstioCanonicalServiceBuilder() { + public com.google.monitoring.v3.Service.IstioCanonicalService.Builder getIstioCanonicalServiceBuilder() { return getIstioCanonicalServiceFieldBuilder().getBuilder(); } /** - * - * *
      * Type used for canonical services scoped to an Istio mesh.
      * Metrics for Istio are
      * [documented here](https://istio.io/latest/docs/reference/config/metrics/)
      * 
* - * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; - * + * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; */ @java.lang.Override - public com.google.monitoring.v3.Service.IstioCanonicalServiceOrBuilder - getIstioCanonicalServiceOrBuilder() { + public com.google.monitoring.v3.Service.IstioCanonicalServiceOrBuilder getIstioCanonicalServiceOrBuilder() { if ((identifierCase_ == 11) && (istioCanonicalServiceBuilder_ != null)) { return istioCanonicalServiceBuilder_.getMessageOrBuilder(); } else { @@ -8959,85 +8241,63 @@ public Builder clearIstioCanonicalService() { } } /** - * - * *
      * Type used for canonical services scoped to an Istio mesh.
      * Metrics for Istio are
      * [documented here](https://istio.io/latest/docs/reference/config/metrics/)
      * 
* - * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; - * + * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.IstioCanonicalService, - com.google.monitoring.v3.Service.IstioCanonicalService.Builder, - com.google.monitoring.v3.Service.IstioCanonicalServiceOrBuilder> + com.google.monitoring.v3.Service.IstioCanonicalService, com.google.monitoring.v3.Service.IstioCanonicalService.Builder, com.google.monitoring.v3.Service.IstioCanonicalServiceOrBuilder> getIstioCanonicalServiceFieldBuilder() { if (istioCanonicalServiceBuilder_ == null) { if (!(identifierCase_ == 11)) { identifier_ = com.google.monitoring.v3.Service.IstioCanonicalService.getDefaultInstance(); } - istioCanonicalServiceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.IstioCanonicalService, - com.google.monitoring.v3.Service.IstioCanonicalService.Builder, - com.google.monitoring.v3.Service.IstioCanonicalServiceOrBuilder>( + istioCanonicalServiceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.Service.IstioCanonicalService, com.google.monitoring.v3.Service.IstioCanonicalService.Builder, com.google.monitoring.v3.Service.IstioCanonicalServiceOrBuilder>( (com.google.monitoring.v3.Service.IstioCanonicalService) identifier_, getParentForChildren(), isClean()); identifier_ = null; } identifierCase_ = 11; - onChanged(); - ; + onChanged();; return istioCanonicalServiceBuilder_; } private com.google.monitoring.v3.Service.Telemetry telemetry_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.Telemetry, - com.google.monitoring.v3.Service.Telemetry.Builder, - com.google.monitoring.v3.Service.TelemetryOrBuilder> - telemetryBuilder_; + com.google.monitoring.v3.Service.Telemetry, com.google.monitoring.v3.Service.Telemetry.Builder, com.google.monitoring.v3.Service.TelemetryOrBuilder> telemetryBuilder_; /** - * - * *
      * Configuration for how to query telemetry on a Service.
      * 
* * .google.monitoring.v3.Service.Telemetry telemetry = 13; - * * @return Whether the telemetry field is set. */ public boolean hasTelemetry() { return telemetryBuilder_ != null || telemetry_ != null; } /** - * - * *
      * Configuration for how to query telemetry on a Service.
      * 
* * .google.monitoring.v3.Service.Telemetry telemetry = 13; - * * @return The telemetry. */ public com.google.monitoring.v3.Service.Telemetry getTelemetry() { if (telemetryBuilder_ == null) { - return telemetry_ == null - ? com.google.monitoring.v3.Service.Telemetry.getDefaultInstance() - : telemetry_; + return telemetry_ == null ? com.google.monitoring.v3.Service.Telemetry.getDefaultInstance() : telemetry_; } else { return telemetryBuilder_.getMessage(); } } /** - * - * *
      * Configuration for how to query telemetry on a Service.
      * 
@@ -9058,8 +8318,6 @@ public Builder setTelemetry(com.google.monitoring.v3.Service.Telemetry value) { return this; } /** - * - * *
      * Configuration for how to query telemetry on a Service.
      * 
@@ -9078,8 +8336,6 @@ public Builder setTelemetry( return this; } /** - * - * *
      * Configuration for how to query telemetry on a Service.
      * 
@@ -9090,9 +8346,7 @@ public Builder mergeTelemetry(com.google.monitoring.v3.Service.Telemetry value) if (telemetryBuilder_ == null) { if (telemetry_ != null) { telemetry_ = - com.google.monitoring.v3.Service.Telemetry.newBuilder(telemetry_) - .mergeFrom(value) - .buildPartial(); + com.google.monitoring.v3.Service.Telemetry.newBuilder(telemetry_).mergeFrom(value).buildPartial(); } else { telemetry_ = value; } @@ -9104,8 +8358,6 @@ public Builder mergeTelemetry(com.google.monitoring.v3.Service.Telemetry value) return this; } /** - * - * *
      * Configuration for how to query telemetry on a Service.
      * 
@@ -9124,8 +8376,6 @@ public Builder clearTelemetry() { return this; } /** - * - * *
      * Configuration for how to query telemetry on a Service.
      * 
@@ -9133,13 +8383,11 @@ public Builder clearTelemetry() { * .google.monitoring.v3.Service.Telemetry telemetry = 13; */ public com.google.monitoring.v3.Service.Telemetry.Builder getTelemetryBuilder() { - + onChanged(); return getTelemetryFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for how to query telemetry on a Service.
      * 
@@ -9150,14 +8398,11 @@ public com.google.monitoring.v3.Service.TelemetryOrBuilder getTelemetryOrBuilder if (telemetryBuilder_ != null) { return telemetryBuilder_.getMessageOrBuilder(); } else { - return telemetry_ == null - ? com.google.monitoring.v3.Service.Telemetry.getDefaultInstance() - : telemetry_; + return telemetry_ == null ? + com.google.monitoring.v3.Service.Telemetry.getDefaultInstance() : telemetry_; } } /** - * - * *
      * Configuration for how to query telemetry on a Service.
      * 
@@ -9165,40 +8410,35 @@ public com.google.monitoring.v3.Service.TelemetryOrBuilder getTelemetryOrBuilder * .google.monitoring.v3.Service.Telemetry telemetry = 13; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.Telemetry, - com.google.monitoring.v3.Service.Telemetry.Builder, - com.google.monitoring.v3.Service.TelemetryOrBuilder> + com.google.monitoring.v3.Service.Telemetry, com.google.monitoring.v3.Service.Telemetry.Builder, com.google.monitoring.v3.Service.TelemetryOrBuilder> getTelemetryFieldBuilder() { if (telemetryBuilder_ == null) { - telemetryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.Telemetry, - com.google.monitoring.v3.Service.Telemetry.Builder, - com.google.monitoring.v3.Service.TelemetryOrBuilder>( - getTelemetry(), getParentForChildren(), isClean()); + telemetryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.Service.Telemetry, com.google.monitoring.v3.Service.Telemetry.Builder, com.google.monitoring.v3.Service.TelemetryOrBuilder>( + getTelemetry(), + getParentForChildren(), + isClean()); telemetry_ = null; } return telemetryBuilder_; } - private com.google.protobuf.MapField userLabels_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> userLabels_; private com.google.protobuf.MapField - internalGetUserLabels() { + internalGetUserLabels() { if (userLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( UserLabelsDefaultEntryHolder.defaultEntry); } return userLabels_; } - private com.google.protobuf.MapField - internalGetMutableUserLabels() { - onChanged(); - ; + internalGetMutableUserLabels() { + onChanged();; if (userLabels_ == null) { - userLabels_ = - com.google.protobuf.MapField.newMapField(UserLabelsDefaultEntryHolder.defaultEntry); + userLabels_ = com.google.protobuf.MapField.newMapField( + UserLabelsDefaultEntryHolder.defaultEntry); } if (!userLabels_.isMutable()) { userLabels_ = userLabels_.copy(); @@ -9210,8 +8450,6 @@ public int getUserLabelsCount() { return internalGetUserLabels().getMap().size(); } /** - * - * *
      * Labels which have been used to annotate the service. Label keys must start
      * with a letter. Label keys and values may contain lowercase letters,
@@ -9223,22 +8461,22 @@ public int getUserLabelsCount() {
      *
      * map<string, string> user_labels = 14;
      */
+
     @java.lang.Override
-    public boolean containsUserLabels(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
+    public boolean containsUserLabels(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
       return internalGetUserLabels().getMap().containsKey(key);
     }
-    /** Use {@link #getUserLabelsMap()} instead. */
+    /**
+     * Use {@link #getUserLabelsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getUserLabels() {
       return getUserLabelsMap();
     }
     /**
-     *
-     *
      * 
      * Labels which have been used to annotate the service. Label keys must start
      * with a letter. Label keys and values may contain lowercase letters,
@@ -9251,12 +8489,11 @@ public java.util.Map getUserLabels() {
      * map<string, string> user_labels = 14;
      */
     @java.lang.Override
+
     public java.util.Map getUserLabelsMap() {
       return internalGetUserLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * Labels which have been used to annotate the service. Label keys must start
      * with a letter. Label keys and values may contain lowercase letters,
@@ -9269,17 +8506,16 @@ public java.util.Map getUserLabelsMap() {
      * map<string, string> user_labels = 14;
      */
     @java.lang.Override
+
     public java.lang.String getUserLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      java.util.Map map = internalGetUserLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      java.util.Map map =
+          internalGetUserLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Labels which have been used to annotate the service. Label keys must start
      * with a letter. Label keys and values may contain lowercase letters,
@@ -9292,11 +8528,12 @@ public java.lang.String getUserLabelsOrDefault(
      * map<string, string> user_labels = 14;
      */
     @java.lang.Override
-    public java.lang.String getUserLabelsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      java.util.Map map = internalGetUserLabels().getMap();
+
+    public java.lang.String getUserLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      java.util.Map map =
+          internalGetUserLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -9304,12 +8541,11 @@ public java.lang.String getUserLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearUserLabels() {
-      internalGetMutableUserLabels().getMutableMap().clear();
+      internalGetMutableUserLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels which have been used to annotate the service. Label keys must start
      * with a letter. Label keys and values may contain lowercase letters,
@@ -9321,21 +8557,23 @@ public Builder clearUserLabels() {
      *
      * map<string, string> user_labels = 14;
      */
-    public Builder removeUserLabels(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      internalGetMutableUserLabels().getMutableMap().remove(key);
+
+    public Builder removeUserLabels(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      internalGetMutableUserLabels().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableUserLabels() {
+    public java.util.Map
+    getMutableUserLabels() {
       return internalGetMutableUserLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Labels which have been used to annotate the service. Label keys must start
      * with a letter. Label keys and values may contain lowercase letters,
@@ -9347,19 +8585,16 @@ public java.util.Map getMutableUserLabels()
      *
      * map<string, string> user_labels = 14;
      */
-    public Builder putUserLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      if (value == null) {
-        throw new java.lang.NullPointerException();
-      }
-      internalGetMutableUserLabels().getMutableMap().put(key, value);
+    public Builder putUserLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      if (value == null) { throw new java.lang.NullPointerException(); }
+      internalGetMutableUserLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels which have been used to annotate the service. Label keys must start
      * with a letter. Label keys and values may contain lowercase letters,
@@ -9371,13 +8606,16 @@ public Builder putUserLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> user_labels = 14;
      */
-    public Builder putAllUserLabels(java.util.Map values) {
-      internalGetMutableUserLabels().getMutableMap().putAll(values);
+
+    public Builder putAllUserLabels(
+        java.util.Map values) {
+      internalGetMutableUserLabels().getMutableMap()
+          .putAll(values);
       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);
     }
 
@@ -9387,12 +8625,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.monitoring.v3.Service)
   }
 
   // @@protoc_insertion_point(class_scope:google.monitoring.v3.Service)
   private static final com.google.monitoring.v3.Service DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.monitoring.v3.Service();
   }
@@ -9401,16 +8639,16 @@ public static com.google.monitoring.v3.Service getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Service parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new Service(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Service parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new Service(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -9425,4 +8663,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.monitoring.v3.Service getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelIndicator.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelIndicator.java
similarity index 71%
rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelIndicator.java
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelIndicator.java
index 446d38bb..f67c2f04 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelIndicator.java
+++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelIndicator.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/monitoring/v3/service.proto
 
 package com.google.monitoring.v3;
 
 /**
- *
- *
  * 
  * A Service-Level Indicator (SLI) describes the "performance" of a service. For
  * some services, the SLI is well-defined. In such cases, the SLI can be
@@ -39,29 +22,30 @@
  *
  * Protobuf type {@code google.monitoring.v3.ServiceLevelIndicator}
  */
-public final class ServiceLevelIndicator extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ServiceLevelIndicator extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.ServiceLevelIndicator)
     ServiceLevelIndicatorOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ServiceLevelIndicator.newBuilder() to construct.
   private ServiceLevelIndicator(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private ServiceLevelIndicator() {}
+  private ServiceLevelIndicator() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ServiceLevelIndicator();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ServiceLevelIndicator(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -80,100 +64,90 @@ private ServiceLevelIndicator(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.monitoring.v3.RequestBasedSli.Builder subBuilder = null;
-              if (typeCase_ == 1) {
-                subBuilder = ((com.google.monitoring.v3.RequestBasedSli) type_).toBuilder();
-              }
-              type_ =
-                  input.readMessage(
-                      com.google.monitoring.v3.RequestBasedSli.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.monitoring.v3.RequestBasedSli) type_);
-                type_ = subBuilder.buildPartial();
-              }
-              typeCase_ = 1;
-              break;
+          case 10: {
+            com.google.monitoring.v3.RequestBasedSli.Builder subBuilder = null;
+            if (typeCase_ == 1) {
+              subBuilder = ((com.google.monitoring.v3.RequestBasedSli) type_).toBuilder();
+            }
+            type_ =
+                input.readMessage(com.google.monitoring.v3.RequestBasedSli.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.monitoring.v3.RequestBasedSli) type_);
+              type_ = subBuilder.buildPartial();
+            }
+            typeCase_ = 1;
+            break;
+          }
+          case 18: {
+            com.google.monitoring.v3.WindowsBasedSli.Builder subBuilder = null;
+            if (typeCase_ == 2) {
+              subBuilder = ((com.google.monitoring.v3.WindowsBasedSli) type_).toBuilder();
             }
-          case 18:
-            {
-              com.google.monitoring.v3.WindowsBasedSli.Builder subBuilder = null;
-              if (typeCase_ == 2) {
-                subBuilder = ((com.google.monitoring.v3.WindowsBasedSli) type_).toBuilder();
-              }
-              type_ =
-                  input.readMessage(
-                      com.google.monitoring.v3.WindowsBasedSli.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.monitoring.v3.WindowsBasedSli) type_);
-                type_ = subBuilder.buildPartial();
-              }
-              typeCase_ = 2;
-              break;
+            type_ =
+                input.readMessage(com.google.monitoring.v3.WindowsBasedSli.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.monitoring.v3.WindowsBasedSli) type_);
+              type_ = subBuilder.buildPartial();
             }
-          case 34:
-            {
-              com.google.monitoring.v3.BasicSli.Builder subBuilder = null;
-              if (typeCase_ == 4) {
-                subBuilder = ((com.google.monitoring.v3.BasicSli) type_).toBuilder();
-              }
-              type_ =
-                  input.readMessage(com.google.monitoring.v3.BasicSli.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.monitoring.v3.BasicSli) type_);
-                type_ = subBuilder.buildPartial();
-              }
-              typeCase_ = 4;
-              break;
+            typeCase_ = 2;
+            break;
+          }
+          case 34: {
+            com.google.monitoring.v3.BasicSli.Builder subBuilder = null;
+            if (typeCase_ == 4) {
+              subBuilder = ((com.google.monitoring.v3.BasicSli) type_).toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            type_ =
+                input.readMessage(com.google.monitoring.v3.BasicSli.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.monitoring.v3.BasicSli) type_);
+              type_ = subBuilder.buildPartial();
             }
+            typeCase_ = 4;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.monitoring.v3.ServiceMonitoringProto
-        .internal_static_google_monitoring_v3_ServiceLevelIndicator_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_ServiceLevelIndicator_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.monitoring.v3.ServiceMonitoringProto
-        .internal_static_google_monitoring_v3_ServiceLevelIndicator_fieldAccessorTable
+    return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_ServiceLevelIndicator_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.ServiceLevelIndicator.class,
-            com.google.monitoring.v3.ServiceLevelIndicator.Builder.class);
+            com.google.monitoring.v3.ServiceLevelIndicator.class, com.google.monitoring.v3.ServiceLevelIndicator.Builder.class);
   }
 
   private int typeCase_ = 0;
   private java.lang.Object type_;
-
   public enum TypeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     BASIC_SLI(4),
     REQUEST_BASED(1),
     WINDOWS_BASED(2),
     TYPE_NOT_SET(0);
     private final int value;
-
     private TypeCase(int value) {
       this.value = value;
     }
@@ -189,38 +163,31 @@ public static TypeCase valueOf(int value) {
 
     public static TypeCase forNumber(int value) {
       switch (value) {
-        case 4:
-          return BASIC_SLI;
-        case 1:
-          return REQUEST_BASED;
-        case 2:
-          return WINDOWS_BASED;
-        case 0:
-          return TYPE_NOT_SET;
-        default:
-          return null;
+        case 4: return BASIC_SLI;
+        case 1: return REQUEST_BASED;
+        case 2: return WINDOWS_BASED;
+        case 0: return TYPE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TypeCase getTypeCase() {
-    return TypeCase.forNumber(typeCase_);
+  public TypeCase
+  getTypeCase() {
+    return TypeCase.forNumber(
+        typeCase_);
   }
 
   public static final int BASIC_SLI_FIELD_NUMBER = 4;
   /**
-   *
-   *
    * 
    * Basic SLI on a well-known service type.
    * 
* * .google.monitoring.v3.BasicSli basic_sli = 4; - * * @return Whether the basicSli field is set. */ @java.lang.Override @@ -228,26 +195,21 @@ public boolean hasBasicSli() { return typeCase_ == 4; } /** - * - * *
    * Basic SLI on a well-known service type.
    * 
* * .google.monitoring.v3.BasicSli basic_sli = 4; - * * @return The basicSli. */ @java.lang.Override public com.google.monitoring.v3.BasicSli getBasicSli() { if (typeCase_ == 4) { - return (com.google.monitoring.v3.BasicSli) type_; + return (com.google.monitoring.v3.BasicSli) type_; } return com.google.monitoring.v3.BasicSli.getDefaultInstance(); } /** - * - * *
    * Basic SLI on a well-known service type.
    * 
@@ -257,21 +219,18 @@ public com.google.monitoring.v3.BasicSli getBasicSli() { @java.lang.Override public com.google.monitoring.v3.BasicSliOrBuilder getBasicSliOrBuilder() { if (typeCase_ == 4) { - return (com.google.monitoring.v3.BasicSli) type_; + return (com.google.monitoring.v3.BasicSli) type_; } return com.google.monitoring.v3.BasicSli.getDefaultInstance(); } public static final int REQUEST_BASED_FIELD_NUMBER = 1; /** - * - * *
    * Request-based SLIs
    * 
* * .google.monitoring.v3.RequestBasedSli request_based = 1; - * * @return Whether the requestBased field is set. */ @java.lang.Override @@ -279,26 +238,21 @@ public boolean hasRequestBased() { return typeCase_ == 1; } /** - * - * *
    * Request-based SLIs
    * 
* * .google.monitoring.v3.RequestBasedSli request_based = 1; - * * @return The requestBased. */ @java.lang.Override public com.google.monitoring.v3.RequestBasedSli getRequestBased() { if (typeCase_ == 1) { - return (com.google.monitoring.v3.RequestBasedSli) type_; + return (com.google.monitoring.v3.RequestBasedSli) type_; } return com.google.monitoring.v3.RequestBasedSli.getDefaultInstance(); } /** - * - * *
    * Request-based SLIs
    * 
@@ -308,21 +262,18 @@ public com.google.monitoring.v3.RequestBasedSli getRequestBased() { @java.lang.Override public com.google.monitoring.v3.RequestBasedSliOrBuilder getRequestBasedOrBuilder() { if (typeCase_ == 1) { - return (com.google.monitoring.v3.RequestBasedSli) type_; + return (com.google.monitoring.v3.RequestBasedSli) type_; } return com.google.monitoring.v3.RequestBasedSli.getDefaultInstance(); } public static final int WINDOWS_BASED_FIELD_NUMBER = 2; /** - * - * *
    * Windows-based SLIs
    * 
* * .google.monitoring.v3.WindowsBasedSli windows_based = 2; - * * @return Whether the windowsBased field is set. */ @java.lang.Override @@ -330,26 +281,21 @@ public boolean hasWindowsBased() { return typeCase_ == 2; } /** - * - * *
    * Windows-based SLIs
    * 
* * .google.monitoring.v3.WindowsBasedSli windows_based = 2; - * * @return The windowsBased. */ @java.lang.Override public com.google.monitoring.v3.WindowsBasedSli getWindowsBased() { if (typeCase_ == 2) { - return (com.google.monitoring.v3.WindowsBasedSli) type_; + return (com.google.monitoring.v3.WindowsBasedSli) type_; } return com.google.monitoring.v3.WindowsBasedSli.getDefaultInstance(); } /** - * - * *
    * Windows-based SLIs
    * 
@@ -359,13 +305,12 @@ public com.google.monitoring.v3.WindowsBasedSli getWindowsBased() { @java.lang.Override public com.google.monitoring.v3.WindowsBasedSliOrBuilder getWindowsBasedOrBuilder() { if (typeCase_ == 2) { - return (com.google.monitoring.v3.WindowsBasedSli) type_; + return (com.google.monitoring.v3.WindowsBasedSli) type_; } return com.google.monitoring.v3.WindowsBasedSli.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -377,7 +322,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 (typeCase_ == 1) { output.writeMessage(1, (com.google.monitoring.v3.RequestBasedSli) type_); } @@ -397,19 +343,16 @@ public int getSerializedSize() { size = 0; if (typeCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.monitoring.v3.RequestBasedSli) type_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.monitoring.v3.RequestBasedSli) type_); } if (typeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.monitoring.v3.WindowsBasedSli) type_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.monitoring.v3.WindowsBasedSli) type_); } if (typeCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.monitoring.v3.BasicSli) type_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.monitoring.v3.BasicSli) type_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -419,24 +362,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.ServiceLevelIndicator)) { return super.equals(obj); } - com.google.monitoring.v3.ServiceLevelIndicator other = - (com.google.monitoring.v3.ServiceLevelIndicator) obj; + com.google.monitoring.v3.ServiceLevelIndicator other = (com.google.monitoring.v3.ServiceLevelIndicator) obj; if (!getTypeCase().equals(other.getTypeCase())) return false; switch (typeCase_) { case 4: - if (!getBasicSli().equals(other.getBasicSli())) return false; + if (!getBasicSli() + .equals(other.getBasicSli())) return false; break; case 1: - if (!getRequestBased().equals(other.getRequestBased())) return false; + if (!getRequestBased() + .equals(other.getRequestBased())) return false; break; case 2: - if (!getWindowsBased().equals(other.getWindowsBased())) return false; + if (!getWindowsBased() + .equals(other.getWindowsBased())) return false; break; case 0: default: @@ -473,104 +418,97 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.ServiceLevelIndicator parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.ServiceLevelIndicator parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ServiceLevelIndicator parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ServiceLevelIndicator parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ServiceLevelIndicator parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ServiceLevelIndicator parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.ServiceLevelIndicator parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ServiceLevelIndicator 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.monitoring.v3.ServiceLevelIndicator parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.ServiceLevelIndicator parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.ServiceLevelIndicator parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ServiceLevelIndicator parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ServiceLevelIndicator parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ServiceLevelIndicator parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.ServiceLevelIndicator prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 Service-Level Indicator (SLI) describes the "performance" of a service. For
    * some services, the SLI is well-defined. In such cases, the SLI can be
@@ -589,23 +527,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.monitoring.v3.ServiceLevelIndicator}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ServiceLevelIndicator)
       com.google.monitoring.v3.ServiceLevelIndicatorOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.monitoring.v3.ServiceMonitoringProto
-          .internal_static_google_monitoring_v3_ServiceLevelIndicator_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_ServiceLevelIndicator_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.ServiceMonitoringProto
-          .internal_static_google_monitoring_v3_ServiceLevelIndicator_fieldAccessorTable
+      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_ServiceLevelIndicator_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.ServiceLevelIndicator.class,
-              com.google.monitoring.v3.ServiceLevelIndicator.Builder.class);
+              com.google.monitoring.v3.ServiceLevelIndicator.class, com.google.monitoring.v3.ServiceLevelIndicator.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.ServiceLevelIndicator.newBuilder()
@@ -613,15 +549,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -631,9 +568,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.monitoring.v3.ServiceMonitoringProto
-          .internal_static_google_monitoring_v3_ServiceLevelIndicator_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_ServiceLevelIndicator_descriptor;
     }
 
     @java.lang.Override
@@ -652,8 +589,7 @@ public com.google.monitoring.v3.ServiceLevelIndicator build() {
 
     @java.lang.Override
     public com.google.monitoring.v3.ServiceLevelIndicator buildPartial() {
-      com.google.monitoring.v3.ServiceLevelIndicator result =
-          new com.google.monitoring.v3.ServiceLevelIndicator(this);
+      com.google.monitoring.v3.ServiceLevelIndicator result = new com.google.monitoring.v3.ServiceLevelIndicator(this);
       if (typeCase_ == 4) {
         if (basicSliBuilder_ == null) {
           result.type_ = type_;
@@ -684,39 +620,38 @@ public com.google.monitoring.v3.ServiceLevelIndicator 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.monitoring.v3.ServiceLevelIndicator) {
-        return mergeFrom((com.google.monitoring.v3.ServiceLevelIndicator) other);
+        return mergeFrom((com.google.monitoring.v3.ServiceLevelIndicator)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -726,25 +661,21 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.monitoring.v3.ServiceLevelIndicator other) {
       if (other == com.google.monitoring.v3.ServiceLevelIndicator.getDefaultInstance()) return this;
       switch (other.getTypeCase()) {
-        case BASIC_SLI:
-          {
-            mergeBasicSli(other.getBasicSli());
-            break;
-          }
-        case REQUEST_BASED:
-          {
-            mergeRequestBased(other.getRequestBased());
-            break;
-          }
-        case WINDOWS_BASED:
-          {
-            mergeWindowsBased(other.getWindowsBased());
-            break;
-          }
-        case TYPE_NOT_SET:
-          {
-            break;
-          }
+        case BASIC_SLI: {
+          mergeBasicSli(other.getBasicSli());
+          break;
+        }
+        case REQUEST_BASED: {
+          mergeRequestBased(other.getRequestBased());
+          break;
+        }
+        case WINDOWS_BASED: {
+          mergeWindowsBased(other.getWindowsBased());
+          break;
+        }
+        case TYPE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -774,12 +705,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int typeCase_ = 0;
     private java.lang.Object type_;
-
-    public TypeCase getTypeCase() {
-      return TypeCase.forNumber(typeCase_);
+    public TypeCase
+        getTypeCase() {
+      return TypeCase.forNumber(
+          typeCase_);
     }
 
     public Builder clearType() {
@@ -789,20 +720,15 @@ public Builder clearType() {
       return this;
     }
 
+
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.BasicSli,
-            com.google.monitoring.v3.BasicSli.Builder,
-            com.google.monitoring.v3.BasicSliOrBuilder>
-        basicSliBuilder_;
+        com.google.monitoring.v3.BasicSli, com.google.monitoring.v3.BasicSli.Builder, com.google.monitoring.v3.BasicSliOrBuilder> basicSliBuilder_;
     /**
-     *
-     *
      * 
      * Basic SLI on a well-known service type.
      * 
* * .google.monitoring.v3.BasicSli basic_sli = 4; - * * @return Whether the basicSli field is set. */ @java.lang.Override @@ -810,14 +736,11 @@ public boolean hasBasicSli() { return typeCase_ == 4; } /** - * - * *
      * Basic SLI on a well-known service type.
      * 
* * .google.monitoring.v3.BasicSli basic_sli = 4; - * * @return The basicSli. */ @java.lang.Override @@ -835,8 +758,6 @@ public com.google.monitoring.v3.BasicSli getBasicSli() { } } /** - * - * *
      * Basic SLI on a well-known service type.
      * 
@@ -857,15 +778,14 @@ public Builder setBasicSli(com.google.monitoring.v3.BasicSli value) { return this; } /** - * - * *
      * Basic SLI on a well-known service type.
      * 
* * .google.monitoring.v3.BasicSli basic_sli = 4; */ - public Builder setBasicSli(com.google.monitoring.v3.BasicSli.Builder builderForValue) { + public Builder setBasicSli( + com.google.monitoring.v3.BasicSli.Builder builderForValue) { if (basicSliBuilder_ == null) { type_ = builderForValue.build(); onChanged(); @@ -876,8 +796,6 @@ public Builder setBasicSli(com.google.monitoring.v3.BasicSli.Builder builderForV return this; } /** - * - * *
      * Basic SLI on a well-known service type.
      * 
@@ -886,12 +804,10 @@ public Builder setBasicSli(com.google.monitoring.v3.BasicSli.Builder builderForV */ public Builder mergeBasicSli(com.google.monitoring.v3.BasicSli value) { if (basicSliBuilder_ == null) { - if (typeCase_ == 4 && type_ != com.google.monitoring.v3.BasicSli.getDefaultInstance()) { - type_ = - com.google.monitoring.v3.BasicSli.newBuilder( - (com.google.monitoring.v3.BasicSli) type_) - .mergeFrom(value) - .buildPartial(); + if (typeCase_ == 4 && + type_ != com.google.monitoring.v3.BasicSli.getDefaultInstance()) { + type_ = com.google.monitoring.v3.BasicSli.newBuilder((com.google.monitoring.v3.BasicSli) type_) + .mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -906,8 +822,6 @@ public Builder mergeBasicSli(com.google.monitoring.v3.BasicSli value) { return this; } /** - * - * *
      * Basic SLI on a well-known service type.
      * 
@@ -931,8 +845,6 @@ public Builder clearBasicSli() { return this; } /** - * - * *
      * Basic SLI on a well-known service type.
      * 
@@ -943,8 +855,6 @@ public com.google.monitoring.v3.BasicSli.Builder getBasicSliBuilder() { return getBasicSliFieldBuilder().getBuilder(); } /** - * - * *
      * Basic SLI on a well-known service type.
      * 
@@ -963,8 +873,6 @@ public com.google.monitoring.v3.BasicSliOrBuilder getBasicSliOrBuilder() { } } /** - * - * *
      * Basic SLI on a well-known service type.
      * 
@@ -972,42 +880,32 @@ public com.google.monitoring.v3.BasicSliOrBuilder getBasicSliOrBuilder() { * .google.monitoring.v3.BasicSli basic_sli = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.BasicSli, - com.google.monitoring.v3.BasicSli.Builder, - com.google.monitoring.v3.BasicSliOrBuilder> + com.google.monitoring.v3.BasicSli, com.google.monitoring.v3.BasicSli.Builder, com.google.monitoring.v3.BasicSliOrBuilder> getBasicSliFieldBuilder() { if (basicSliBuilder_ == null) { if (!(typeCase_ == 4)) { type_ = com.google.monitoring.v3.BasicSli.getDefaultInstance(); } - basicSliBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.BasicSli, - com.google.monitoring.v3.BasicSli.Builder, - com.google.monitoring.v3.BasicSliOrBuilder>( - (com.google.monitoring.v3.BasicSli) type_, getParentForChildren(), isClean()); + basicSliBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.BasicSli, com.google.monitoring.v3.BasicSli.Builder, com.google.monitoring.v3.BasicSliOrBuilder>( + (com.google.monitoring.v3.BasicSli) type_, + getParentForChildren(), + isClean()); type_ = null; } typeCase_ = 4; - onChanged(); - ; + onChanged();; return basicSliBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.RequestBasedSli, - com.google.monitoring.v3.RequestBasedSli.Builder, - com.google.monitoring.v3.RequestBasedSliOrBuilder> - requestBasedBuilder_; + com.google.monitoring.v3.RequestBasedSli, com.google.monitoring.v3.RequestBasedSli.Builder, com.google.monitoring.v3.RequestBasedSliOrBuilder> requestBasedBuilder_; /** - * - * *
      * Request-based SLIs
      * 
* * .google.monitoring.v3.RequestBasedSli request_based = 1; - * * @return Whether the requestBased field is set. */ @java.lang.Override @@ -1015,14 +913,11 @@ public boolean hasRequestBased() { return typeCase_ == 1; } /** - * - * *
      * Request-based SLIs
      * 
* * .google.monitoring.v3.RequestBasedSli request_based = 1; - * * @return The requestBased. */ @java.lang.Override @@ -1040,8 +935,6 @@ public com.google.monitoring.v3.RequestBasedSli getRequestBased() { } } /** - * - * *
      * Request-based SLIs
      * 
@@ -1062,8 +955,6 @@ public Builder setRequestBased(com.google.monitoring.v3.RequestBasedSli value) { return this; } /** - * - * *
      * Request-based SLIs
      * 
@@ -1082,8 +973,6 @@ public Builder setRequestBased( return this; } /** - * - * *
      * Request-based SLIs
      * 
@@ -1092,13 +981,10 @@ public Builder setRequestBased( */ public Builder mergeRequestBased(com.google.monitoring.v3.RequestBasedSli value) { if (requestBasedBuilder_ == null) { - if (typeCase_ == 1 - && type_ != com.google.monitoring.v3.RequestBasedSli.getDefaultInstance()) { - type_ = - com.google.monitoring.v3.RequestBasedSli.newBuilder( - (com.google.monitoring.v3.RequestBasedSli) type_) - .mergeFrom(value) - .buildPartial(); + if (typeCase_ == 1 && + type_ != com.google.monitoring.v3.RequestBasedSli.getDefaultInstance()) { + type_ = com.google.monitoring.v3.RequestBasedSli.newBuilder((com.google.monitoring.v3.RequestBasedSli) type_) + .mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -1113,8 +999,6 @@ public Builder mergeRequestBased(com.google.monitoring.v3.RequestBasedSli value) return this; } /** - * - * *
      * Request-based SLIs
      * 
@@ -1138,8 +1022,6 @@ public Builder clearRequestBased() { return this; } /** - * - * *
      * Request-based SLIs
      * 
@@ -1150,8 +1032,6 @@ public com.google.monitoring.v3.RequestBasedSli.Builder getRequestBasedBuilder() return getRequestBasedFieldBuilder().getBuilder(); } /** - * - * *
      * Request-based SLIs
      * 
@@ -1170,8 +1050,6 @@ public com.google.monitoring.v3.RequestBasedSliOrBuilder getRequestBasedOrBuilde } } /** - * - * *
      * Request-based SLIs
      * 
@@ -1179,44 +1057,32 @@ public com.google.monitoring.v3.RequestBasedSliOrBuilder getRequestBasedOrBuilde * .google.monitoring.v3.RequestBasedSli request_based = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.RequestBasedSli, - com.google.monitoring.v3.RequestBasedSli.Builder, - com.google.monitoring.v3.RequestBasedSliOrBuilder> + com.google.monitoring.v3.RequestBasedSli, com.google.monitoring.v3.RequestBasedSli.Builder, com.google.monitoring.v3.RequestBasedSliOrBuilder> getRequestBasedFieldBuilder() { if (requestBasedBuilder_ == null) { if (!(typeCase_ == 1)) { type_ = com.google.monitoring.v3.RequestBasedSli.getDefaultInstance(); } - requestBasedBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.RequestBasedSli, - com.google.monitoring.v3.RequestBasedSli.Builder, - com.google.monitoring.v3.RequestBasedSliOrBuilder>( + requestBasedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.RequestBasedSli, com.google.monitoring.v3.RequestBasedSli.Builder, com.google.monitoring.v3.RequestBasedSliOrBuilder>( (com.google.monitoring.v3.RequestBasedSli) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 1; - onChanged(); - ; + onChanged();; return requestBasedBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.WindowsBasedSli, - com.google.monitoring.v3.WindowsBasedSli.Builder, - com.google.monitoring.v3.WindowsBasedSliOrBuilder> - windowsBasedBuilder_; + com.google.monitoring.v3.WindowsBasedSli, com.google.monitoring.v3.WindowsBasedSli.Builder, com.google.monitoring.v3.WindowsBasedSliOrBuilder> windowsBasedBuilder_; /** - * - * *
      * Windows-based SLIs
      * 
* * .google.monitoring.v3.WindowsBasedSli windows_based = 2; - * * @return Whether the windowsBased field is set. */ @java.lang.Override @@ -1224,14 +1090,11 @@ public boolean hasWindowsBased() { return typeCase_ == 2; } /** - * - * *
      * Windows-based SLIs
      * 
* * .google.monitoring.v3.WindowsBasedSli windows_based = 2; - * * @return The windowsBased. */ @java.lang.Override @@ -1249,8 +1112,6 @@ public com.google.monitoring.v3.WindowsBasedSli getWindowsBased() { } } /** - * - * *
      * Windows-based SLIs
      * 
@@ -1271,8 +1132,6 @@ public Builder setWindowsBased(com.google.monitoring.v3.WindowsBasedSli value) { return this; } /** - * - * *
      * Windows-based SLIs
      * 
@@ -1291,8 +1150,6 @@ public Builder setWindowsBased( return this; } /** - * - * *
      * Windows-based SLIs
      * 
@@ -1301,13 +1158,10 @@ public Builder setWindowsBased( */ public Builder mergeWindowsBased(com.google.monitoring.v3.WindowsBasedSli value) { if (windowsBasedBuilder_ == null) { - if (typeCase_ == 2 - && type_ != com.google.monitoring.v3.WindowsBasedSli.getDefaultInstance()) { - type_ = - com.google.monitoring.v3.WindowsBasedSli.newBuilder( - (com.google.monitoring.v3.WindowsBasedSli) type_) - .mergeFrom(value) - .buildPartial(); + if (typeCase_ == 2 && + type_ != com.google.monitoring.v3.WindowsBasedSli.getDefaultInstance()) { + type_ = com.google.monitoring.v3.WindowsBasedSli.newBuilder((com.google.monitoring.v3.WindowsBasedSli) type_) + .mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -1322,8 +1176,6 @@ public Builder mergeWindowsBased(com.google.monitoring.v3.WindowsBasedSli value) return this; } /** - * - * *
      * Windows-based SLIs
      * 
@@ -1347,8 +1199,6 @@ public Builder clearWindowsBased() { return this; } /** - * - * *
      * Windows-based SLIs
      * 
@@ -1359,8 +1209,6 @@ public com.google.monitoring.v3.WindowsBasedSli.Builder getWindowsBasedBuilder() return getWindowsBasedFieldBuilder().getBuilder(); } /** - * - * *
      * Windows-based SLIs
      * 
@@ -1379,8 +1227,6 @@ public com.google.monitoring.v3.WindowsBasedSliOrBuilder getWindowsBasedOrBuilde } } /** - * - * *
      * Windows-based SLIs
      * 
@@ -1388,32 +1234,26 @@ public com.google.monitoring.v3.WindowsBasedSliOrBuilder getWindowsBasedOrBuilde * .google.monitoring.v3.WindowsBasedSli windows_based = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.WindowsBasedSli, - com.google.monitoring.v3.WindowsBasedSli.Builder, - com.google.monitoring.v3.WindowsBasedSliOrBuilder> + com.google.monitoring.v3.WindowsBasedSli, com.google.monitoring.v3.WindowsBasedSli.Builder, com.google.monitoring.v3.WindowsBasedSliOrBuilder> getWindowsBasedFieldBuilder() { if (windowsBasedBuilder_ == null) { if (!(typeCase_ == 2)) { type_ = com.google.monitoring.v3.WindowsBasedSli.getDefaultInstance(); } - windowsBasedBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.WindowsBasedSli, - com.google.monitoring.v3.WindowsBasedSli.Builder, - com.google.monitoring.v3.WindowsBasedSliOrBuilder>( + windowsBasedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.WindowsBasedSli, com.google.monitoring.v3.WindowsBasedSli.Builder, com.google.monitoring.v3.WindowsBasedSliOrBuilder>( (com.google.monitoring.v3.WindowsBasedSli) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 2; - onChanged(); - ; + onChanged();; return windowsBasedBuilder_; } - @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); } @@ -1423,12 +1263,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ServiceLevelIndicator) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ServiceLevelIndicator) private static final com.google.monitoring.v3.ServiceLevelIndicator DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ServiceLevelIndicator(); } @@ -1437,16 +1277,16 @@ public static com.google.monitoring.v3.ServiceLevelIndicator getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ServiceLevelIndicator parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ServiceLevelIndicator(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ServiceLevelIndicator parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ServiceLevelIndicator(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1461,4 +1301,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.ServiceLevelIndicator getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelIndicatorOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelIndicatorOrBuilder.java similarity index 75% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelIndicatorOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelIndicatorOrBuilder.java index b9457590..a23eccd7 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelIndicatorOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelIndicatorOrBuilder.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/monitoring/v3/service.proto package com.google.monitoring.v3; -public interface ServiceLevelIndicatorOrBuilder - extends +public interface ServiceLevelIndicatorOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ServiceLevelIndicator) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Basic SLI on a well-known service type.
    * 
* * .google.monitoring.v3.BasicSli basic_sli = 4; - * * @return Whether the basicSli field is set. */ boolean hasBasicSli(); /** - * - * *
    * Basic SLI on a well-known service type.
    * 
* * .google.monitoring.v3.BasicSli basic_sli = 4; - * * @return The basicSli. */ com.google.monitoring.v3.BasicSli getBasicSli(); /** - * - * *
    * Basic SLI on a well-known service type.
    * 
@@ -59,32 +35,24 @@ public interface ServiceLevelIndicatorOrBuilder com.google.monitoring.v3.BasicSliOrBuilder getBasicSliOrBuilder(); /** - * - * *
    * Request-based SLIs
    * 
* * .google.monitoring.v3.RequestBasedSli request_based = 1; - * * @return Whether the requestBased field is set. */ boolean hasRequestBased(); /** - * - * *
    * Request-based SLIs
    * 
* * .google.monitoring.v3.RequestBasedSli request_based = 1; - * * @return The requestBased. */ com.google.monitoring.v3.RequestBasedSli getRequestBased(); /** - * - * *
    * Request-based SLIs
    * 
@@ -94,32 +62,24 @@ public interface ServiceLevelIndicatorOrBuilder com.google.monitoring.v3.RequestBasedSliOrBuilder getRequestBasedOrBuilder(); /** - * - * *
    * Windows-based SLIs
    * 
* * .google.monitoring.v3.WindowsBasedSli windows_based = 2; - * * @return Whether the windowsBased field is set. */ boolean hasWindowsBased(); /** - * - * *
    * Windows-based SLIs
    * 
* * .google.monitoring.v3.WindowsBasedSli windows_based = 2; - * * @return The windowsBased. */ com.google.monitoring.v3.WindowsBasedSli getWindowsBased(); /** - * - * *
    * Windows-based SLIs
    * 
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjective.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjective.java similarity index 73% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjective.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjective.java index 2514d6c2..f263d790 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjective.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjective.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/monitoring/v3/service.proto package com.google.monitoring.v3; /** - * - * *
  * A Service-Level Objective (SLO) describes a level of desired good service. It
  * consists of a service-level indicator (SLI), a performance goal, and a period
@@ -32,16 +15,15 @@
  *
  * Protobuf type {@code google.monitoring.v3.ServiceLevelObjective}
  */
-public final class ServiceLevelObjective extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ServiceLevelObjective extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.ServiceLevelObjective)
     ServiceLevelObjectiveOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ServiceLevelObjective.newBuilder() to construct.
   private ServiceLevelObjective(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ServiceLevelObjective() {
     name_ = "";
     displayName_ = "";
@@ -49,15 +31,16 @@ private ServiceLevelObjective() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ServiceLevelObjective();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ServiceLevelObjective(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -77,125 +60,114 @@ private ServiceLevelObjective(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 26:
-            {
-              com.google.monitoring.v3.ServiceLevelIndicator.Builder subBuilder = null;
-              if (serviceLevelIndicator_ != null) {
-                subBuilder = serviceLevelIndicator_.toBuilder();
-              }
-              serviceLevelIndicator_ =
-                  input.readMessage(
-                      com.google.monitoring.v3.ServiceLevelIndicator.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(serviceLevelIndicator_);
-                serviceLevelIndicator_ = subBuilder.buildPartial();
-              }
-
-              break;
+            name_ = s;
+            break;
+          }
+          case 26: {
+            com.google.monitoring.v3.ServiceLevelIndicator.Builder subBuilder = null;
+            if (serviceLevelIndicator_ != null) {
+              subBuilder = serviceLevelIndicator_.toBuilder();
             }
-          case 33:
-            {
-              goal_ = input.readDouble();
-              break;
+            serviceLevelIndicator_ = input.readMessage(com.google.monitoring.v3.ServiceLevelIndicator.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(serviceLevelIndicator_);
+              serviceLevelIndicator_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (periodCase_ == 5) {
-                subBuilder = ((com.google.protobuf.Duration) period_).toBuilder();
-              }
-              period_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.protobuf.Duration) period_);
-                period_ = subBuilder.buildPartial();
-              }
-              periodCase_ = 5;
-              break;
+
+            break;
+          }
+          case 33: {
+
+            goal_ = input.readDouble();
+            break;
+          }
+          case 42: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (periodCase_ == 5) {
+              subBuilder = ((com.google.protobuf.Duration) period_).toBuilder();
             }
-          case 48:
-            {
-              int rawValue = input.readEnum();
-              periodCase_ = 6;
-              period_ = rawValue;
-              break;
+            period_ =
+                input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.protobuf.Duration) period_);
+              period_ = subBuilder.buildPartial();
             }
-          case 90:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            periodCase_ = 5;
+            break;
+          }
+          case 48: {
+            int rawValue = input.readEnum();
+            periodCase_ = 6;
+            period_ = rawValue;
+            break;
+          }
+          case 90: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              displayName_ = s;
-              break;
-            }
-          case 98:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                userLabels_ =
-                    com.google.protobuf.MapField.newMapField(
-                        UserLabelsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry userLabels__ =
-                  input.readMessage(
-                      UserLabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                      extensionRegistry);
-              userLabels_.getMutableMap().put(userLabels__.getKey(), userLabels__.getValue());
-              break;
+            displayName_ = s;
+            break;
+          }
+          case 98: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              userLabels_ = com.google.protobuf.MapField.newMapField(
+                  UserLabelsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            com.google.protobuf.MapEntry
+            userLabels__ = input.readMessage(
+                UserLabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            userLabels_.getMutableMap().put(
+                userLabels__.getKey(), userLabels__.getValue());
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.monitoring.v3.ServiceMonitoringProto
-        .internal_static_google_monitoring_v3_ServiceLevelObjective_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_ServiceLevelObjective_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 12:
         return internalGetUserLabels();
       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.monitoring.v3.ServiceMonitoringProto
-        .internal_static_google_monitoring_v3_ServiceLevelObjective_fieldAccessorTable
+    return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_ServiceLevelObjective_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.ServiceLevelObjective.class,
-            com.google.monitoring.v3.ServiceLevelObjective.Builder.class);
+            com.google.monitoring.v3.ServiceLevelObjective.class, com.google.monitoring.v3.ServiceLevelObjective.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * `ServiceLevelObjective.View` determines what form of
    * `ServiceLevelObjective` is returned from `GetServiceLevelObjective`,
@@ -204,10 +176,9 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    *
    * Protobuf enum {@code google.monitoring.v3.ServiceLevelObjective.View}
    */
-  public enum View implements com.google.protobuf.ProtocolMessageEnum {
+  public enum View
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Same as FULL.
      * 
@@ -216,8 +187,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ VIEW_UNSPECIFIED(0), /** - * - * *
      * Return the embedded `ServiceLevelIndicator` in the form in which it was
      * defined. If it was defined using a `BasicSli`, return that `BasicSli`.
@@ -227,8 +196,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
      */
     FULL(2),
     /**
-     *
-     *
      * 
      * For `ServiceLevelIndicator`s using `BasicSli` articulation, instead
      * return the `ServiceLevelIndicator` with its mode of computation fully
@@ -244,8 +211,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Same as FULL.
      * 
@@ -254,8 +219,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VIEW_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Return the embedded `ServiceLevelIndicator` in the form in which it was
      * defined. If it was defined using a `BasicSli`, return that `BasicSli`.
@@ -265,8 +228,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FULL_VALUE = 2;
     /**
-     *
-     *
      * 
      * For `ServiceLevelIndicator`s using `BasicSli` articulation, instead
      * return the `ServiceLevelIndicator` with its mode of computation fully
@@ -279,6 +240,7 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int EXPLICIT_VALUE = 1;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -303,49 +265,49 @@ public static View valueOf(int value) {
      */
     public static View forNumber(int value) {
       switch (value) {
-        case 0:
-          return VIEW_UNSPECIFIED;
-        case 2:
-          return FULL;
-        case 1:
-          return EXPLICIT;
-        default:
-          return null;
+        case 0: return VIEW_UNSPECIFIED;
+        case 2: return FULL;
+        case 1: return EXPLICIT;
+        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<
+        View> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public View findValueByNumber(int number) {
+              return View.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public View findValueByNumber(int number) {
-            return View.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.monitoring.v3.ServiceLevelObjective.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final View[] VALUES = values();
 
-    public static View valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static View 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;
@@ -364,16 +326,13 @@ private View(int value) {
 
   private int periodCase_ = 0;
   private java.lang.Object period_;
-
   public enum PeriodCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     ROLLING_PERIOD(5),
     CALENDAR_PERIOD(6),
     PERIOD_NOT_SET(0);
     private final int value;
-
     private PeriodCase(int value) {
       this.value = value;
     }
@@ -389,38 +348,32 @@ public static PeriodCase valueOf(int value) {
 
     public static PeriodCase forNumber(int value) {
       switch (value) {
-        case 5:
-          return ROLLING_PERIOD;
-        case 6:
-          return CALENDAR_PERIOD;
-        case 0:
-          return PERIOD_NOT_SET;
-        default:
-          return null;
+        case 5: return ROLLING_PERIOD;
+        case 6: return CALENDAR_PERIOD;
+        case 0: return PERIOD_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public PeriodCase getPeriodCase() {
-    return PeriodCase.forNumber(periodCase_);
+  public PeriodCase
+  getPeriodCase() {
+    return PeriodCase.forNumber(
+        periodCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Resource name for this `ServiceLevelObjective`. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -429,30 +382,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 for this `ServiceLevelObjective`. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
    * 
* * 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 { @@ -463,14 +416,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 11; private volatile java.lang.Object displayName_; /** - * - * *
    * Name used for UI elements listing this SLO.
    * 
* * string display_name = 11; - * * @return The displayName. */ @java.lang.Override @@ -479,29 +429,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Name used for UI elements listing this SLO.
    * 
* * string display_name = 11; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -512,8 +462,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int SERVICE_LEVEL_INDICATOR_FIELD_NUMBER = 3; private com.google.monitoring.v3.ServiceLevelIndicator serviceLevelIndicator_; /** - * - * *
    * The definition of good service, used to measure and calculate the quality
    * of the `Service`'s performance with respect to a single aspect of service
@@ -521,7 +469,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * .google.monitoring.v3.ServiceLevelIndicator service_level_indicator = 3; - * * @return Whether the serviceLevelIndicator field is set. */ @java.lang.Override @@ -529,8 +476,6 @@ public boolean hasServiceLevelIndicator() { return serviceLevelIndicator_ != null; } /** - * - * *
    * The definition of good service, used to measure and calculate the quality
    * of the `Service`'s performance with respect to a single aspect of service
@@ -538,18 +483,13 @@ public boolean hasServiceLevelIndicator() {
    * 
* * .google.monitoring.v3.ServiceLevelIndicator service_level_indicator = 3; - * * @return The serviceLevelIndicator. */ @java.lang.Override public com.google.monitoring.v3.ServiceLevelIndicator getServiceLevelIndicator() { - return serviceLevelIndicator_ == null - ? com.google.monitoring.v3.ServiceLevelIndicator.getDefaultInstance() - : serviceLevelIndicator_; + return serviceLevelIndicator_ == null ? com.google.monitoring.v3.ServiceLevelIndicator.getDefaultInstance() : serviceLevelIndicator_; } /** - * - * *
    * The definition of good service, used to measure and calculate the quality
    * of the `Service`'s performance with respect to a single aspect of service
@@ -559,23 +499,19 @@ public com.google.monitoring.v3.ServiceLevelIndicator getServiceLevelIndicator()
    * .google.monitoring.v3.ServiceLevelIndicator service_level_indicator = 3;
    */
   @java.lang.Override
-  public com.google.monitoring.v3.ServiceLevelIndicatorOrBuilder
-      getServiceLevelIndicatorOrBuilder() {
+  public com.google.monitoring.v3.ServiceLevelIndicatorOrBuilder getServiceLevelIndicatorOrBuilder() {
     return getServiceLevelIndicator();
   }
 
   public static final int GOAL_FIELD_NUMBER = 4;
   private double goal_;
   /**
-   *
-   *
    * 
    * The fraction of service that must be good in order for this objective to be
    * met. `0 < goal <= 0.999`.
    * 
* * double goal = 4; - * * @return The goal. */ @java.lang.Override @@ -585,15 +521,12 @@ public double getGoal() { public static final int ROLLING_PERIOD_FIELD_NUMBER = 5; /** - * - * *
    * A rolling time period, semantically "in the past `<rolling_period>`".
    * Must be an integer multiple of 1 day no larger than 30 days.
    * 
* * .google.protobuf.Duration rolling_period = 5; - * * @return Whether the rollingPeriod field is set. */ @java.lang.Override @@ -601,27 +534,22 @@ public boolean hasRollingPeriod() { return periodCase_ == 5; } /** - * - * *
    * A rolling time period, semantically "in the past `<rolling_period>`".
    * Must be an integer multiple of 1 day no larger than 30 days.
    * 
* * .google.protobuf.Duration rolling_period = 5; - * * @return The rollingPeriod. */ @java.lang.Override public com.google.protobuf.Duration getRollingPeriod() { if (periodCase_ == 5) { - return (com.google.protobuf.Duration) period_; + return (com.google.protobuf.Duration) period_; } return com.google.protobuf.Duration.getDefaultInstance(); } /** - * - * *
    * A rolling time period, semantically "in the past `<rolling_period>`".
    * Must be an integer multiple of 1 day no larger than 30 days.
@@ -632,15 +560,13 @@ public com.google.protobuf.Duration getRollingPeriod() {
   @java.lang.Override
   public com.google.protobuf.DurationOrBuilder getRollingPeriodOrBuilder() {
     if (periodCase_ == 5) {
-      return (com.google.protobuf.Duration) period_;
+       return (com.google.protobuf.Duration) period_;
     }
     return com.google.protobuf.Duration.getDefaultInstance();
   }
 
   public static final int CALENDAR_PERIOD_FIELD_NUMBER = 6;
   /**
-   *
-   *
    * 
    * A calendar period, semantically "since the start of the current
    * `<calendar_period>`". At this time, only `DAY`, `WEEK`, `FORTNIGHT`, and
@@ -648,15 +574,12 @@ public com.google.protobuf.DurationOrBuilder getRollingPeriodOrBuilder() {
    * 
* * .google.type.CalendarPeriod calendar_period = 6; - * * @return Whether the calendarPeriod field is set. */ public boolean hasCalendarPeriod() { return periodCase_ == 6; } /** - * - * *
    * A calendar period, semantically "since the start of the current
    * `<calendar_period>`". At this time, only `DAY`, `WEEK`, `FORTNIGHT`, and
@@ -664,7 +587,6 @@ public boolean hasCalendarPeriod() {
    * 
* * .google.type.CalendarPeriod calendar_period = 6; - * * @return The enum numeric value on the wire for calendarPeriod. */ public int getCalendarPeriodValue() { @@ -674,8 +596,6 @@ public int getCalendarPeriodValue() { return 0; } /** - * - * *
    * A calendar period, semantically "since the start of the current
    * `<calendar_period>`". At this time, only `DAY`, `WEEK`, `FORTNIGHT`, and
@@ -683,37 +603,37 @@ public int getCalendarPeriodValue() {
    * 
* * .google.type.CalendarPeriod calendar_period = 6; - * * @return The calendarPeriod. */ public com.google.type.CalendarPeriod getCalendarPeriod() { if (periodCase_ == 6) { @SuppressWarnings("deprecation") - com.google.type.CalendarPeriod result = - com.google.type.CalendarPeriod.valueOf((java.lang.Integer) period_); + com.google.type.CalendarPeriod result = com.google.type.CalendarPeriod.valueOf( + (java.lang.Integer) period_); return result == null ? com.google.type.CalendarPeriod.UNRECOGNIZED : result; } return com.google.type.CalendarPeriod.CALENDAR_PERIOD_UNSPECIFIED; } public static final int USER_LABELS_FIELD_NUMBER = 12; - private static final class UserLabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.monitoring.v3.ServiceMonitoringProto - .internal_static_google_monitoring_v3_ServiceLevelObjective_UserLabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_ServiceLevelObjective_UserLabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField userLabels_; - - private com.google.protobuf.MapField internalGetUserLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> userLabels_; + private com.google.protobuf.MapField + internalGetUserLabels() { if (userLabels_ == null) { - return com.google.protobuf.MapField.emptyMapField(UserLabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + UserLabelsDefaultEntryHolder.defaultEntry); } return userLabels_; } @@ -722,8 +642,6 @@ public int getUserLabelsCount() { return internalGetUserLabels().getMap().size(); } /** - * - * *
    * Labels which have been used to annotate the service-level objective. Label
    * keys must start with a letter. Label keys and values may contain lowercase
@@ -735,22 +653,22 @@ public int getUserLabelsCount() {
    *
    * map<string, string> user_labels = 12;
    */
+
   @java.lang.Override
-  public boolean containsUserLabels(java.lang.String key) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
+  public boolean containsUserLabels(
+      java.lang.String key) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
     return internalGetUserLabels().getMap().containsKey(key);
   }
-  /** Use {@link #getUserLabelsMap()} instead. */
+  /**
+   * Use {@link #getUserLabelsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getUserLabels() {
     return getUserLabelsMap();
   }
   /**
-   *
-   *
    * 
    * Labels which have been used to annotate the service-level objective. Label
    * keys must start with a letter. Label keys and values may contain lowercase
@@ -763,12 +681,11 @@ public java.util.Map getUserLabels() {
    * map<string, string> user_labels = 12;
    */
   @java.lang.Override
+
   public java.util.Map getUserLabelsMap() {
     return internalGetUserLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * Labels which have been used to annotate the service-level objective. Label
    * keys must start with a letter. Label keys and values may contain lowercase
@@ -781,17 +698,16 @@ public java.util.Map getUserLabelsMap() {
    * map<string, string> user_labels = 12;
    */
   @java.lang.Override
+
   public java.lang.String getUserLabelsOrDefault(
-      java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
-    java.util.Map map = internalGetUserLabels().getMap();
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
+    java.util.Map map =
+        internalGetUserLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Labels which have been used to annotate the service-level objective. Label
    * keys must start with a letter. Label keys and values may contain lowercase
@@ -804,11 +720,12 @@ public java.lang.String getUserLabelsOrDefault(
    * map<string, string> user_labels = 12;
    */
   @java.lang.Override
-  public java.lang.String getUserLabelsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
-    java.util.Map map = internalGetUserLabels().getMap();
+
+  public java.lang.String getUserLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
+    java.util.Map map =
+        internalGetUserLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -816,7 +733,6 @@ public java.lang.String getUserLabelsOrThrow(java.lang.String key) {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -828,7 +744,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_);
     }
@@ -847,8 +764,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 11, displayName_);
     }
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetUserLabels(), UserLabelsDefaultEntryHolder.defaultEntry, 12);
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetUserLabels(),
+        UserLabelsDefaultEntryHolder.defaultEntry,
+        12);
     unknownFields.writeTo(output);
   }
 
@@ -862,33 +783,33 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (serviceLevelIndicator_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(3, getServiceLevelIndicator());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getServiceLevelIndicator());
     }
     if (goal_ != 0D) {
-      size += com.google.protobuf.CodedOutputStream.computeDoubleSize(4, goal_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeDoubleSize(4, goal_);
     }
     if (periodCase_ == 5) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              5, (com.google.protobuf.Duration) period_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, (com.google.protobuf.Duration) period_);
     }
     if (periodCase_ == 6) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeEnumSize(6, ((java.lang.Integer) period_));
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(6, ((java.lang.Integer) period_));
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, displayName_);
     }
-    for (java.util.Map.Entry entry :
-        internalGetUserLabels().getMap().entrySet()) {
-      com.google.protobuf.MapEntry userLabels__ =
-          UserLabelsDefaultEntryHolder.defaultEntry
-              .newBuilderForType()
-              .setKey(entry.getKey())
-              .setValue(entry.getValue())
-              .build();
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, userLabels__);
+    for (java.util.Map.Entry entry
+         : internalGetUserLabels().getMap().entrySet()) {
+      com.google.protobuf.MapEntry
+      userLabels__ = UserLabelsDefaultEntryHolder.defaultEntry.newBuilderForType()
+          .setKey(entry.getKey())
+          .setValue(entry.getValue())
+          .build();
+      size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(12, userLabels__);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -898,30 +819,36 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.monitoring.v3.ServiceLevelObjective)) {
       return super.equals(obj);
     }
-    com.google.monitoring.v3.ServiceLevelObjective other =
-        (com.google.monitoring.v3.ServiceLevelObjective) obj;
+    com.google.monitoring.v3.ServiceLevelObjective other = (com.google.monitoring.v3.ServiceLevelObjective) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!getDisplayName().equals(other.getDisplayName())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getDisplayName()
+        .equals(other.getDisplayName())) return false;
     if (hasServiceLevelIndicator() != other.hasServiceLevelIndicator()) return false;
     if (hasServiceLevelIndicator()) {
-      if (!getServiceLevelIndicator().equals(other.getServiceLevelIndicator())) return false;
+      if (!getServiceLevelIndicator()
+          .equals(other.getServiceLevelIndicator())) return false;
     }
     if (java.lang.Double.doubleToLongBits(getGoal())
-        != java.lang.Double.doubleToLongBits(other.getGoal())) return false;
-    if (!internalGetUserLabels().equals(other.internalGetUserLabels())) return false;
+        != java.lang.Double.doubleToLongBits(
+            other.getGoal())) return false;
+    if (!internalGetUserLabels().equals(
+        other.internalGetUserLabels())) return false;
     if (!getPeriodCase().equals(other.getPeriodCase())) return false;
     switch (periodCase_) {
       case 5:
-        if (!getRollingPeriod().equals(other.getRollingPeriod())) return false;
+        if (!getRollingPeriod()
+            .equals(other.getRollingPeriod())) return false;
         break;
       case 6:
-        if (getCalendarPeriodValue() != other.getCalendarPeriodValue()) return false;
+        if (getCalendarPeriodValue()
+            != other.getCalendarPeriodValue()) return false;
         break;
       case 0:
       default:
@@ -946,9 +873,8 @@ public int hashCode() {
       hash = (53 * hash) + getServiceLevelIndicator().hashCode();
     }
     hash = (37 * hash) + GOAL_FIELD_NUMBER;
-    hash =
-        (53 * hash)
-            + com.google.protobuf.Internal.hashLong(java.lang.Double.doubleToLongBits(getGoal()));
+    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+        java.lang.Double.doubleToLongBits(getGoal()));
     if (!internalGetUserLabels().getMap().isEmpty()) {
       hash = (37 * hash) + USER_LABELS_FIELD_NUMBER;
       hash = (53 * hash) + internalGetUserLabels().hashCode();
@@ -970,104 +896,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.monitoring.v3.ServiceLevelObjective parseFrom(java.nio.ByteBuffer data)
+  public static com.google.monitoring.v3.ServiceLevelObjective parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.monitoring.v3.ServiceLevelObjective parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.monitoring.v3.ServiceLevelObjective parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.monitoring.v3.ServiceLevelObjective parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.monitoring.v3.ServiceLevelObjective parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.monitoring.v3.ServiceLevelObjective parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.monitoring.v3.ServiceLevelObjective 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.monitoring.v3.ServiceLevelObjective parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.monitoring.v3.ServiceLevelObjective parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.monitoring.v3.ServiceLevelObjective parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.monitoring.v3.ServiceLevelObjective parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.monitoring.v3.ServiceLevelObjective parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.monitoring.v3.ServiceLevelObjective parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.monitoring.v3.ServiceLevelObjective prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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 Service-Level Objective (SLO) describes a level of desired good service. It
    * consists of a service-level indicator (SLI), a performance goal, and a period
@@ -1079,43 +998,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.monitoring.v3.ServiceLevelObjective}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ServiceLevelObjective)
       com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.monitoring.v3.ServiceMonitoringProto
-          .internal_static_google_monitoring_v3_ServiceLevelObjective_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_ServiceLevelObjective_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 12:
           return internalGetUserLabels();
         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 12:
           return internalGetMutableUserLabels();
         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.monitoring.v3.ServiceMonitoringProto
-          .internal_static_google_monitoring_v3_ServiceLevelObjective_fieldAccessorTable
+      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_ServiceLevelObjective_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.ServiceLevelObjective.class,
-              com.google.monitoring.v3.ServiceLevelObjective.Builder.class);
+              com.google.monitoring.v3.ServiceLevelObjective.class, com.google.monitoring.v3.ServiceLevelObjective.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.ServiceLevelObjective.newBuilder()
@@ -1123,15 +1042,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1154,9 +1074,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.monitoring.v3.ServiceMonitoringProto
-          .internal_static_google_monitoring_v3_ServiceLevelObjective_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_ServiceLevelObjective_descriptor;
     }
 
     @java.lang.Override
@@ -1175,8 +1095,7 @@ public com.google.monitoring.v3.ServiceLevelObjective build() {
 
     @java.lang.Override
     public com.google.monitoring.v3.ServiceLevelObjective buildPartial() {
-      com.google.monitoring.v3.ServiceLevelObjective result =
-          new com.google.monitoring.v3.ServiceLevelObjective(this);
+      com.google.monitoring.v3.ServiceLevelObjective result = new com.google.monitoring.v3.ServiceLevelObjective(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.displayName_ = displayName_;
@@ -1207,39 +1126,38 @@ public com.google.monitoring.v3.ServiceLevelObjective 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.monitoring.v3.ServiceLevelObjective) {
-        return mergeFrom((com.google.monitoring.v3.ServiceLevelObjective) other);
+        return mergeFrom((com.google.monitoring.v3.ServiceLevelObjective)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1262,22 +1180,20 @@ public Builder mergeFrom(com.google.monitoring.v3.ServiceLevelObjective other) {
       if (other.getGoal() != 0D) {
         setGoal(other.getGoal());
       }
-      internalGetMutableUserLabels().mergeFrom(other.internalGetUserLabels());
+      internalGetMutableUserLabels().mergeFrom(
+          other.internalGetUserLabels());
       switch (other.getPeriodCase()) {
-        case ROLLING_PERIOD:
-          {
-            mergeRollingPeriod(other.getRollingPeriod());
-            break;
-          }
-        case CALENDAR_PERIOD:
-          {
-            setCalendarPeriodValue(other.getCalendarPeriodValue());
-            break;
-          }
-        case PERIOD_NOT_SET:
-          {
-            break;
-          }
+        case ROLLING_PERIOD: {
+          mergeRollingPeriod(other.getRollingPeriod());
+          break;
+        }
+        case CALENDAR_PERIOD: {
+          setCalendarPeriodValue(other.getCalendarPeriodValue());
+          break;
+        }
+        case PERIOD_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1307,12 +1223,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int periodCase_ = 0;
     private java.lang.Object period_;
-
-    public PeriodCase getPeriodCase() {
-      return PeriodCase.forNumber(periodCase_);
+    public PeriodCase
+        getPeriodCase() {
+      return PeriodCase.forNumber(
+          periodCase_);
     }
 
     public Builder clearPeriod() {
@@ -1326,21 +1242,19 @@ public Builder clearPeriod() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Resource name for this `ServiceLevelObjective`. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
      * 
* * 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; @@ -1349,22 +1263,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Resource name for this `ServiceLevelObjective`. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
      * 
* * 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 { @@ -1372,64 +1285,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Resource name for this `ServiceLevelObjective`. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
      * 
* * 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 for this `ServiceLevelObjective`. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Resource name for this `ServiceLevelObjective`. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
      * 
* * 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; @@ -1437,20 +1343,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Name used for UI elements listing this SLO.
      * 
* * string display_name = 11; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1459,21 +1363,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Name used for UI elements listing this SLO.
      * 
* * string display_name = 11; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1481,61 +1384,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Name used for UI elements listing this SLO.
      * 
* * string display_name = 11; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * Name used for UI elements listing this SLO.
      * 
* * string display_name = 11; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * Name used for UI elements listing this SLO.
      * 
* * string display_name = 11; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1543,13 +1439,8 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private com.google.monitoring.v3.ServiceLevelIndicator serviceLevelIndicator_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.ServiceLevelIndicator, - com.google.monitoring.v3.ServiceLevelIndicator.Builder, - com.google.monitoring.v3.ServiceLevelIndicatorOrBuilder> - serviceLevelIndicatorBuilder_; + com.google.monitoring.v3.ServiceLevelIndicator, com.google.monitoring.v3.ServiceLevelIndicator.Builder, com.google.monitoring.v3.ServiceLevelIndicatorOrBuilder> serviceLevelIndicatorBuilder_; /** - * - * *
      * The definition of good service, used to measure and calculate the quality
      * of the `Service`'s performance with respect to a single aspect of service
@@ -1557,15 +1448,12 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.monitoring.v3.ServiceLevelIndicator service_level_indicator = 3; - * * @return Whether the serviceLevelIndicator field is set. */ public boolean hasServiceLevelIndicator() { return serviceLevelIndicatorBuilder_ != null || serviceLevelIndicator_ != null; } /** - * - * *
      * The definition of good service, used to measure and calculate the quality
      * of the `Service`'s performance with respect to a single aspect of service
@@ -1573,21 +1461,16 @@ public boolean hasServiceLevelIndicator() {
      * 
* * .google.monitoring.v3.ServiceLevelIndicator service_level_indicator = 3; - * * @return The serviceLevelIndicator. */ public com.google.monitoring.v3.ServiceLevelIndicator getServiceLevelIndicator() { if (serviceLevelIndicatorBuilder_ == null) { - return serviceLevelIndicator_ == null - ? com.google.monitoring.v3.ServiceLevelIndicator.getDefaultInstance() - : serviceLevelIndicator_; + return serviceLevelIndicator_ == null ? com.google.monitoring.v3.ServiceLevelIndicator.getDefaultInstance() : serviceLevelIndicator_; } else { return serviceLevelIndicatorBuilder_.getMessage(); } } /** - * - * *
      * The definition of good service, used to measure and calculate the quality
      * of the `Service`'s performance with respect to a single aspect of service
@@ -1610,8 +1493,6 @@ public Builder setServiceLevelIndicator(com.google.monitoring.v3.ServiceLevelInd
       return this;
     }
     /**
-     *
-     *
      * 
      * The definition of good service, used to measure and calculate the quality
      * of the `Service`'s performance with respect to a single aspect of service
@@ -1632,8 +1513,6 @@ public Builder setServiceLevelIndicator(
       return this;
     }
     /**
-     *
-     *
      * 
      * The definition of good service, used to measure and calculate the quality
      * of the `Service`'s performance with respect to a single aspect of service
@@ -1642,14 +1521,11 @@ public Builder setServiceLevelIndicator(
      *
      * .google.monitoring.v3.ServiceLevelIndicator service_level_indicator = 3;
      */
-    public Builder mergeServiceLevelIndicator(
-        com.google.monitoring.v3.ServiceLevelIndicator value) {
+    public Builder mergeServiceLevelIndicator(com.google.monitoring.v3.ServiceLevelIndicator value) {
       if (serviceLevelIndicatorBuilder_ == null) {
         if (serviceLevelIndicator_ != null) {
           serviceLevelIndicator_ =
-              com.google.monitoring.v3.ServiceLevelIndicator.newBuilder(serviceLevelIndicator_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.monitoring.v3.ServiceLevelIndicator.newBuilder(serviceLevelIndicator_).mergeFrom(value).buildPartial();
         } else {
           serviceLevelIndicator_ = value;
         }
@@ -1661,8 +1537,6 @@ public Builder mergeServiceLevelIndicator(
       return this;
     }
     /**
-     *
-     *
      * 
      * The definition of good service, used to measure and calculate the quality
      * of the `Service`'s performance with respect to a single aspect of service
@@ -1683,8 +1557,6 @@ public Builder clearServiceLevelIndicator() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The definition of good service, used to measure and calculate the quality
      * of the `Service`'s performance with respect to a single aspect of service
@@ -1693,15 +1565,12 @@ public Builder clearServiceLevelIndicator() {
      *
      * .google.monitoring.v3.ServiceLevelIndicator service_level_indicator = 3;
      */
-    public com.google.monitoring.v3.ServiceLevelIndicator.Builder
-        getServiceLevelIndicatorBuilder() {
-
+    public com.google.monitoring.v3.ServiceLevelIndicator.Builder getServiceLevelIndicatorBuilder() {
+      
       onChanged();
       return getServiceLevelIndicatorFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The definition of good service, used to measure and calculate the quality
      * of the `Service`'s performance with respect to a single aspect of service
@@ -1710,19 +1579,15 @@ public Builder clearServiceLevelIndicator() {
      *
      * .google.monitoring.v3.ServiceLevelIndicator service_level_indicator = 3;
      */
-    public com.google.monitoring.v3.ServiceLevelIndicatorOrBuilder
-        getServiceLevelIndicatorOrBuilder() {
+    public com.google.monitoring.v3.ServiceLevelIndicatorOrBuilder getServiceLevelIndicatorOrBuilder() {
       if (serviceLevelIndicatorBuilder_ != null) {
         return serviceLevelIndicatorBuilder_.getMessageOrBuilder();
       } else {
-        return serviceLevelIndicator_ == null
-            ? com.google.monitoring.v3.ServiceLevelIndicator.getDefaultInstance()
-            : serviceLevelIndicator_;
+        return serviceLevelIndicator_ == null ?
+            com.google.monitoring.v3.ServiceLevelIndicator.getDefaultInstance() : serviceLevelIndicator_;
       }
     }
     /**
-     *
-     *
      * 
      * The definition of good service, used to measure and calculate the quality
      * of the `Service`'s performance with respect to a single aspect of service
@@ -1732,33 +1597,27 @@ public Builder clearServiceLevelIndicator() {
      * .google.monitoring.v3.ServiceLevelIndicator service_level_indicator = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.ServiceLevelIndicator,
-            com.google.monitoring.v3.ServiceLevelIndicator.Builder,
-            com.google.monitoring.v3.ServiceLevelIndicatorOrBuilder>
+        com.google.monitoring.v3.ServiceLevelIndicator, com.google.monitoring.v3.ServiceLevelIndicator.Builder, com.google.monitoring.v3.ServiceLevelIndicatorOrBuilder> 
         getServiceLevelIndicatorFieldBuilder() {
       if (serviceLevelIndicatorBuilder_ == null) {
-        serviceLevelIndicatorBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.monitoring.v3.ServiceLevelIndicator,
-                com.google.monitoring.v3.ServiceLevelIndicator.Builder,
-                com.google.monitoring.v3.ServiceLevelIndicatorOrBuilder>(
-                getServiceLevelIndicator(), getParentForChildren(), isClean());
+        serviceLevelIndicatorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.monitoring.v3.ServiceLevelIndicator, com.google.monitoring.v3.ServiceLevelIndicator.Builder, com.google.monitoring.v3.ServiceLevelIndicatorOrBuilder>(
+                getServiceLevelIndicator(),
+                getParentForChildren(),
+                isClean());
         serviceLevelIndicator_ = null;
       }
       return serviceLevelIndicatorBuilder_;
     }
 
-    private double goal_;
+    private double goal_ ;
     /**
-     *
-     *
      * 
      * The fraction of service that must be good in order for this objective to be
      * met. `0 < goal <= 0.999`.
      * 
* * double goal = 4; - * * @return The goal. */ @java.lang.Override @@ -1766,58 +1625,46 @@ public double getGoal() { return goal_; } /** - * - * *
      * The fraction of service that must be good in order for this objective to be
      * met. `0 < goal <= 0.999`.
      * 
* * double goal = 4; - * * @param value The goal to set. * @return This builder for chaining. */ public Builder setGoal(double value) { - + goal_ = value; onChanged(); return this; } /** - * - * *
      * The fraction of service that must be good in order for this objective to be
      * met. `0 < goal <= 0.999`.
      * 
* * double goal = 4; - * * @return This builder for chaining. */ public Builder clearGoal() { - + goal_ = 0D; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - rollingPeriodBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> rollingPeriodBuilder_; /** - * - * *
      * A rolling time period, semantically "in the past `<rolling_period>`".
      * Must be an integer multiple of 1 day no larger than 30 days.
      * 
* * .google.protobuf.Duration rolling_period = 5; - * * @return Whether the rollingPeriod field is set. */ @java.lang.Override @@ -1825,15 +1672,12 @@ public boolean hasRollingPeriod() { return periodCase_ == 5; } /** - * - * *
      * A rolling time period, semantically "in the past `<rolling_period>`".
      * Must be an integer multiple of 1 day no larger than 30 days.
      * 
* * .google.protobuf.Duration rolling_period = 5; - * * @return The rollingPeriod. */ @java.lang.Override @@ -1851,8 +1695,6 @@ public com.google.protobuf.Duration getRollingPeriod() { } } /** - * - * *
      * A rolling time period, semantically "in the past `<rolling_period>`".
      * Must be an integer multiple of 1 day no larger than 30 days.
@@ -1874,8 +1716,6 @@ public Builder setRollingPeriod(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A rolling time period, semantically "in the past `<rolling_period>`".
      * Must be an integer multiple of 1 day no larger than 30 days.
@@ -1883,7 +1723,8 @@ public Builder setRollingPeriod(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration rolling_period = 5;
      */
-    public Builder setRollingPeriod(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setRollingPeriod(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (rollingPeriodBuilder_ == null) {
         period_ = builderForValue.build();
         onChanged();
@@ -1894,8 +1735,6 @@ public Builder setRollingPeriod(com.google.protobuf.Duration.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * A rolling time period, semantically "in the past `<rolling_period>`".
      * Must be an integer multiple of 1 day no larger than 30 days.
@@ -1905,11 +1744,10 @@ public Builder setRollingPeriod(com.google.protobuf.Duration.Builder builderForV
      */
     public Builder mergeRollingPeriod(com.google.protobuf.Duration value) {
       if (rollingPeriodBuilder_ == null) {
-        if (periodCase_ == 5 && period_ != com.google.protobuf.Duration.getDefaultInstance()) {
-          period_ =
-              com.google.protobuf.Duration.newBuilder((com.google.protobuf.Duration) period_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (periodCase_ == 5 &&
+            period_ != com.google.protobuf.Duration.getDefaultInstance()) {
+          period_ = com.google.protobuf.Duration.newBuilder((com.google.protobuf.Duration) period_)
+              .mergeFrom(value).buildPartial();
         } else {
           period_ = value;
         }
@@ -1924,8 +1762,6 @@ public Builder mergeRollingPeriod(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A rolling time period, semantically "in the past `<rolling_period>`".
      * Must be an integer multiple of 1 day no larger than 30 days.
@@ -1950,8 +1786,6 @@ public Builder clearRollingPeriod() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A rolling time period, semantically "in the past `<rolling_period>`".
      * Must be an integer multiple of 1 day no larger than 30 days.
@@ -1963,8 +1797,6 @@ public com.google.protobuf.Duration.Builder getRollingPeriodBuilder() {
       return getRollingPeriodFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A rolling time period, semantically "in the past `<rolling_period>`".
      * Must be an integer multiple of 1 day no larger than 30 days.
@@ -1984,8 +1816,6 @@ public com.google.protobuf.DurationOrBuilder getRollingPeriodOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * A rolling time period, semantically "in the past `<rolling_period>`".
      * Must be an integer multiple of 1 day no larger than 30 days.
@@ -1994,31 +1824,25 @@ public com.google.protobuf.DurationOrBuilder getRollingPeriodOrBuilder() {
      * .google.protobuf.Duration rolling_period = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getRollingPeriodFieldBuilder() {
       if (rollingPeriodBuilder_ == null) {
         if (!(periodCase_ == 5)) {
           period_ = com.google.protobuf.Duration.getDefaultInstance();
         }
-        rollingPeriodBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                (com.google.protobuf.Duration) period_, getParentForChildren(), isClean());
+        rollingPeriodBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                (com.google.protobuf.Duration) period_,
+                getParentForChildren(),
+                isClean());
         period_ = null;
       }
       periodCase_ = 5;
-      onChanged();
-      ;
+      onChanged();;
       return rollingPeriodBuilder_;
     }
 
     /**
-     *
-     *
      * 
      * A calendar period, semantically "since the start of the current
      * `<calendar_period>`". At this time, only `DAY`, `WEEK`, `FORTNIGHT`, and
@@ -2026,7 +1850,6 @@ public com.google.protobuf.DurationOrBuilder getRollingPeriodOrBuilder() {
      * 
* * .google.type.CalendarPeriod calendar_period = 6; - * * @return Whether the calendarPeriod field is set. */ @java.lang.Override @@ -2034,8 +1857,6 @@ public boolean hasCalendarPeriod() { return periodCase_ == 6; } /** - * - * *
      * A calendar period, semantically "since the start of the current
      * `<calendar_period>`". At this time, only `DAY`, `WEEK`, `FORTNIGHT`, and
@@ -2043,7 +1864,6 @@ public boolean hasCalendarPeriod() {
      * 
* * .google.type.CalendarPeriod calendar_period = 6; - * * @return The enum numeric value on the wire for calendarPeriod. */ @java.lang.Override @@ -2054,8 +1874,6 @@ public int getCalendarPeriodValue() { return 0; } /** - * - * *
      * A calendar period, semantically "since the start of the current
      * `<calendar_period>`". At this time, only `DAY`, `WEEK`, `FORTNIGHT`, and
@@ -2063,7 +1881,6 @@ public int getCalendarPeriodValue() {
      * 
* * .google.type.CalendarPeriod calendar_period = 6; - * * @param value The enum numeric value on the wire for calendarPeriod to set. * @return This builder for chaining. */ @@ -2074,8 +1891,6 @@ public Builder setCalendarPeriodValue(int value) { return this; } /** - * - * *
      * A calendar period, semantically "since the start of the current
      * `<calendar_period>`". At this time, only `DAY`, `WEEK`, `FORTNIGHT`, and
@@ -2083,22 +1898,19 @@ public Builder setCalendarPeriodValue(int value) {
      * 
* * .google.type.CalendarPeriod calendar_period = 6; - * * @return The calendarPeriod. */ @java.lang.Override public com.google.type.CalendarPeriod getCalendarPeriod() { if (periodCase_ == 6) { @SuppressWarnings("deprecation") - com.google.type.CalendarPeriod result = - com.google.type.CalendarPeriod.valueOf((java.lang.Integer) period_); + com.google.type.CalendarPeriod result = com.google.type.CalendarPeriod.valueOf( + (java.lang.Integer) period_); return result == null ? com.google.type.CalendarPeriod.UNRECOGNIZED : result; } return com.google.type.CalendarPeriod.CALENDAR_PERIOD_UNSPECIFIED; } /** - * - * *
      * A calendar period, semantically "since the start of the current
      * `<calendar_period>`". At this time, only `DAY`, `WEEK`, `FORTNIGHT`, and
@@ -2106,7 +1918,6 @@ public com.google.type.CalendarPeriod getCalendarPeriod() {
      * 
* * .google.type.CalendarPeriod calendar_period = 6; - * * @param value The calendarPeriod to set. * @return This builder for chaining. */ @@ -2120,8 +1931,6 @@ public Builder setCalendarPeriod(com.google.type.CalendarPeriod value) { return this; } /** - * - * *
      * A calendar period, semantically "since the start of the current
      * `<calendar_period>`". At this time, only `DAY`, `WEEK`, `FORTNIGHT`, and
@@ -2129,7 +1938,6 @@ public Builder setCalendarPeriod(com.google.type.CalendarPeriod value) {
      * 
* * .google.type.CalendarPeriod calendar_period = 6; - * * @return This builder for chaining. */ public Builder clearCalendarPeriod() { @@ -2141,24 +1949,22 @@ public Builder clearCalendarPeriod() { return this; } - private com.google.protobuf.MapField userLabels_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> userLabels_; private com.google.protobuf.MapField - internalGetUserLabels() { + internalGetUserLabels() { if (userLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( UserLabelsDefaultEntryHolder.defaultEntry); } return userLabels_; } - private com.google.protobuf.MapField - internalGetMutableUserLabels() { - onChanged(); - ; + internalGetMutableUserLabels() { + onChanged();; if (userLabels_ == null) { - userLabels_ = - com.google.protobuf.MapField.newMapField(UserLabelsDefaultEntryHolder.defaultEntry); + userLabels_ = com.google.protobuf.MapField.newMapField( + UserLabelsDefaultEntryHolder.defaultEntry); } if (!userLabels_.isMutable()) { userLabels_ = userLabels_.copy(); @@ -2170,8 +1976,6 @@ public int getUserLabelsCount() { return internalGetUserLabels().getMap().size(); } /** - * - * *
      * Labels which have been used to annotate the service-level objective. Label
      * keys must start with a letter. Label keys and values may contain lowercase
@@ -2183,22 +1987,22 @@ public int getUserLabelsCount() {
      *
      * map<string, string> user_labels = 12;
      */
+
     @java.lang.Override
-    public boolean containsUserLabels(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
+    public boolean containsUserLabels(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
       return internalGetUserLabels().getMap().containsKey(key);
     }
-    /** Use {@link #getUserLabelsMap()} instead. */
+    /**
+     * Use {@link #getUserLabelsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getUserLabels() {
       return getUserLabelsMap();
     }
     /**
-     *
-     *
      * 
      * Labels which have been used to annotate the service-level objective. Label
      * keys must start with a letter. Label keys and values may contain lowercase
@@ -2211,12 +2015,11 @@ public java.util.Map getUserLabels() {
      * map<string, string> user_labels = 12;
      */
     @java.lang.Override
+
     public java.util.Map getUserLabelsMap() {
       return internalGetUserLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * Labels which have been used to annotate the service-level objective. Label
      * keys must start with a letter. Label keys and values may contain lowercase
@@ -2229,17 +2032,16 @@ public java.util.Map getUserLabelsMap() {
      * map<string, string> user_labels = 12;
      */
     @java.lang.Override
+
     public java.lang.String getUserLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      java.util.Map map = internalGetUserLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      java.util.Map map =
+          internalGetUserLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Labels which have been used to annotate the service-level objective. Label
      * keys must start with a letter. Label keys and values may contain lowercase
@@ -2252,11 +2054,12 @@ public java.lang.String getUserLabelsOrDefault(
      * map<string, string> user_labels = 12;
      */
     @java.lang.Override
-    public java.lang.String getUserLabelsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      java.util.Map map = internalGetUserLabels().getMap();
+
+    public java.lang.String getUserLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      java.util.Map map =
+          internalGetUserLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -2264,12 +2067,11 @@ public java.lang.String getUserLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearUserLabels() {
-      internalGetMutableUserLabels().getMutableMap().clear();
+      internalGetMutableUserLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels which have been used to annotate the service-level objective. Label
      * keys must start with a letter. Label keys and values may contain lowercase
@@ -2281,21 +2083,23 @@ public Builder clearUserLabels() {
      *
      * map<string, string> user_labels = 12;
      */
-    public Builder removeUserLabels(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      internalGetMutableUserLabels().getMutableMap().remove(key);
+
+    public Builder removeUserLabels(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      internalGetMutableUserLabels().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableUserLabels() {
+    public java.util.Map
+    getMutableUserLabels() {
       return internalGetMutableUserLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Labels which have been used to annotate the service-level objective. Label
      * keys must start with a letter. Label keys and values may contain lowercase
@@ -2307,19 +2111,16 @@ public java.util.Map getMutableUserLabels()
      *
      * map<string, string> user_labels = 12;
      */
-    public Builder putUserLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      if (value == null) {
-        throw new java.lang.NullPointerException();
-      }
-      internalGetMutableUserLabels().getMutableMap().put(key, value);
+    public Builder putUserLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      if (value == null) { throw new java.lang.NullPointerException(); }
+      internalGetMutableUserLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels which have been used to annotate the service-level objective. Label
      * keys must start with a letter. Label keys and values may contain lowercase
@@ -2331,13 +2132,16 @@ public Builder putUserLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> user_labels = 12;
      */
-    public Builder putAllUserLabels(java.util.Map values) {
-      internalGetMutableUserLabels().getMutableMap().putAll(values);
+
+    public Builder putAllUserLabels(
+        java.util.Map values) {
+      internalGetMutableUserLabels().getMutableMap()
+          .putAll(values);
       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);
     }
 
@@ -2347,12 +2151,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ServiceLevelObjective)
   }
 
   // @@protoc_insertion_point(class_scope:google.monitoring.v3.ServiceLevelObjective)
   private static final com.google.monitoring.v3.ServiceLevelObjective DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.monitoring.v3.ServiceLevelObjective();
   }
@@ -2361,16 +2165,16 @@ public static com.google.monitoring.v3.ServiceLevelObjective getDefaultInstance(
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ServiceLevelObjective parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new ServiceLevelObjective(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ServiceLevelObjective parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new ServiceLevelObjective(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2385,4 +2189,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.monitoring.v3.ServiceLevelObjective getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjectiveName.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjectiveName.java
similarity index 100%
rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjectiveName.java
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjectiveName.java
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjectiveOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjectiveOrBuilder.java
similarity index 84%
rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjectiveOrBuilder.java
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjectiveOrBuilder.java
index 06529a73..088b56e6 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjectiveOrBuilder.java
+++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjectiveOrBuilder.java
@@ -1,83 +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/monitoring/v3/service.proto
 
 package com.google.monitoring.v3;
 
-public interface ServiceLevelObjectiveOrBuilder
-    extends
+public interface ServiceLevelObjectiveOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ServiceLevelObjective)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Resource name for this `ServiceLevelObjective`. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Resource name for this `ServiceLevelObjective`. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Name used for UI elements listing this SLO.
    * 
* * string display_name = 11; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Name used for UI elements listing this SLO.
    * 
* * string display_name = 11; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * The definition of good service, used to measure and calculate the quality
    * of the `Service`'s performance with respect to a single aspect of service
@@ -85,13 +57,10 @@ public interface ServiceLevelObjectiveOrBuilder
    * 
* * .google.monitoring.v3.ServiceLevelIndicator service_level_indicator = 3; - * * @return Whether the serviceLevelIndicator field is set. */ boolean hasServiceLevelIndicator(); /** - * - * *
    * The definition of good service, used to measure and calculate the quality
    * of the `Service`'s performance with respect to a single aspect of service
@@ -99,13 +68,10 @@ public interface ServiceLevelObjectiveOrBuilder
    * 
* * .google.monitoring.v3.ServiceLevelIndicator service_level_indicator = 3; - * * @return The serviceLevelIndicator. */ com.google.monitoring.v3.ServiceLevelIndicator getServiceLevelIndicator(); /** - * - * *
    * The definition of good service, used to measure and calculate the quality
    * of the `Service`'s performance with respect to a single aspect of service
@@ -117,48 +83,37 @@ public interface ServiceLevelObjectiveOrBuilder
   com.google.monitoring.v3.ServiceLevelIndicatorOrBuilder getServiceLevelIndicatorOrBuilder();
 
   /**
-   *
-   *
    * 
    * The fraction of service that must be good in order for this objective to be
    * met. `0 < goal <= 0.999`.
    * 
* * double goal = 4; - * * @return The goal. */ double getGoal(); /** - * - * *
    * A rolling time period, semantically "in the past `<rolling_period>`".
    * Must be an integer multiple of 1 day no larger than 30 days.
    * 
* * .google.protobuf.Duration rolling_period = 5; - * * @return Whether the rollingPeriod field is set. */ boolean hasRollingPeriod(); /** - * - * *
    * A rolling time period, semantically "in the past `<rolling_period>`".
    * Must be an integer multiple of 1 day no larger than 30 days.
    * 
* * .google.protobuf.Duration rolling_period = 5; - * * @return The rollingPeriod. */ com.google.protobuf.Duration getRollingPeriod(); /** - * - * *
    * A rolling time period, semantically "in the past `<rolling_period>`".
    * Must be an integer multiple of 1 day no larger than 30 days.
@@ -169,8 +124,6 @@ public interface ServiceLevelObjectiveOrBuilder
   com.google.protobuf.DurationOrBuilder getRollingPeriodOrBuilder();
 
   /**
-   *
-   *
    * 
    * A calendar period, semantically "since the start of the current
    * `<calendar_period>`". At this time, only `DAY`, `WEEK`, `FORTNIGHT`, and
@@ -178,13 +131,10 @@ public interface ServiceLevelObjectiveOrBuilder
    * 
* * .google.type.CalendarPeriod calendar_period = 6; - * * @return Whether the calendarPeriod field is set. */ boolean hasCalendarPeriod(); /** - * - * *
    * A calendar period, semantically "since the start of the current
    * `<calendar_period>`". At this time, only `DAY`, `WEEK`, `FORTNIGHT`, and
@@ -192,13 +142,10 @@ public interface ServiceLevelObjectiveOrBuilder
    * 
* * .google.type.CalendarPeriod calendar_period = 6; - * * @return The enum numeric value on the wire for calendarPeriod. */ int getCalendarPeriodValue(); /** - * - * *
    * A calendar period, semantically "since the start of the current
    * `<calendar_period>`". At this time, only `DAY`, `WEEK`, `FORTNIGHT`, and
@@ -206,14 +153,11 @@ public interface ServiceLevelObjectiveOrBuilder
    * 
* * .google.type.CalendarPeriod calendar_period = 6; - * * @return The calendarPeriod. */ com.google.type.CalendarPeriod getCalendarPeriod(); /** - * - * *
    * Labels which have been used to annotate the service-level objective. Label
    * keys must start with a letter. Label keys and values may contain lowercase
@@ -227,8 +171,6 @@ public interface ServiceLevelObjectiveOrBuilder
    */
   int getUserLabelsCount();
   /**
-   *
-   *
    * 
    * Labels which have been used to annotate the service-level objective. Label
    * keys must start with a letter. Label keys and values may contain lowercase
@@ -240,13 +182,15 @@ public interface ServiceLevelObjectiveOrBuilder
    *
    * map<string, string> user_labels = 12;
    */
-  boolean containsUserLabels(java.lang.String key);
-  /** Use {@link #getUserLabelsMap()} instead. */
+  boolean containsUserLabels(
+      java.lang.String key);
+  /**
+   * Use {@link #getUserLabelsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getUserLabels();
+  java.util.Map
+  getUserLabels();
   /**
-   *
-   *
    * 
    * Labels which have been used to annotate the service-level objective. Label
    * keys must start with a letter. Label keys and values may contain lowercase
@@ -258,10 +202,9 @@ public interface ServiceLevelObjectiveOrBuilder
    *
    * map<string, string> user_labels = 12;
    */
-  java.util.Map getUserLabelsMap();
+  java.util.Map
+  getUserLabelsMap();
   /**
-   *
-   *
    * 
    * Labels which have been used to annotate the service-level objective. Label
    * keys must start with a letter. Label keys and values may contain lowercase
@@ -273,10 +216,11 @@ public interface ServiceLevelObjectiveOrBuilder
    *
    * map<string, string> user_labels = 12;
    */
-  java.lang.String getUserLabelsOrDefault(java.lang.String key, java.lang.String defaultValue);
+
+  java.lang.String getUserLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Labels which have been used to annotate the service-level objective. Label
    * keys must start with a letter. Label keys and values may contain lowercase
@@ -288,7 +232,9 @@ public interface ServiceLevelObjectiveOrBuilder
    *
    * map<string, string> user_labels = 12;
    */
-  java.lang.String getUserLabelsOrThrow(java.lang.String key);
+
+  java.lang.String getUserLabelsOrThrow(
+      java.lang.String key);
 
   public com.google.monitoring.v3.ServiceLevelObjective.PeriodCase getPeriodCase();
 }
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringProto.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringProto.java
new file mode 100644
index 00000000..b72762e4
--- /dev/null
+++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringProto.java
@@ -0,0 +1,392 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/monitoring/v3/service.proto
+
+package com.google.monitoring.v3;
+
+public final class ServiceMonitoringProto {
+  private ServiceMonitoringProto() {}
+  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_monitoring_v3_Service_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_Service_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_Service_Custom_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_Service_Custom_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_Service_AppEngine_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_Service_AppEngine_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_Service_CloudEndpoints_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_Service_CloudEndpoints_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_Service_ClusterIstio_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_Service_ClusterIstio_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_Service_MeshIstio_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_Service_MeshIstio_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_Service_IstioCanonicalService_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_Service_IstioCanonicalService_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_Service_Telemetry_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_Service_Telemetry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_Service_UserLabelsEntry_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_Service_UserLabelsEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_ServiceLevelObjective_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_ServiceLevelObjective_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_ServiceLevelObjective_UserLabelsEntry_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_ServiceLevelObjective_UserLabelsEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_ServiceLevelIndicator_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_ServiceLevelIndicator_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_BasicSli_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_BasicSli_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_BasicSli_AvailabilityCriteria_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_BasicSli_AvailabilityCriteria_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_BasicSli_LatencyCriteria_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_BasicSli_LatencyCriteria_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_Range_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_Range_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_RequestBasedSli_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_RequestBasedSli_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_TimeSeriesRatio_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_TimeSeriesRatio_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_DistributionCut_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_DistributionCut_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_WindowsBasedSli_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_WindowsBasedSli_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_WindowsBasedSli_PerformanceThreshold_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_WindowsBasedSli_PerformanceThreshold_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_WindowsBasedSli_MetricRange_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_WindowsBasedSli_MetricRange_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/monitoring/v3/service.proto\022\024go" +
+      "ogle.monitoring.v3\032\037google/api/field_beh" +
+      "avior.proto\032\031google/api/resource.proto\032\036" +
+      "google/protobuf/duration.proto\032\037google/p" +
+      "rotobuf/timestamp.proto\032!google/type/cal" +
+      "endar_period.proto\"\311\t\n\007Service\022\014\n\004name\030\001" +
+      " \001(\t\022\024\n\014display_name\030\002 \001(\t\0226\n\006custom\030\006 \001" +
+      "(\0132$.google.monitoring.v3.Service.Custom" +
+      "H\000\022=\n\napp_engine\030\007 \001(\0132\'.google.monitori" +
+      "ng.v3.Service.AppEngineH\000\022G\n\017cloud_endpo" +
+      "ints\030\010 \001(\0132,.google.monitoring.v3.Servic" +
+      "e.CloudEndpointsH\000\022C\n\rcluster_istio\030\t \001(" +
+      "\0132*.google.monitoring.v3.Service.Cluster" +
+      "IstioH\000\022=\n\nmesh_istio\030\n \001(\0132\'.google.mon" +
+      "itoring.v3.Service.MeshIstioH\000\022V\n\027istio_" +
+      "canonical_service\030\013 \001(\01323.google.monitor" +
+      "ing.v3.Service.IstioCanonicalServiceH\000\022:" +
+      "\n\ttelemetry\030\r \001(\0132\'.google.monitoring.v3" +
+      ".Service.Telemetry\022B\n\013user_labels\030\016 \003(\0132" +
+      "-.google.monitoring.v3.Service.UserLabel" +
+      "sEntry\032\010\n\006Custom\032\036\n\tAppEngine\022\021\n\tmodule_" +
+      "id\030\001 \001(\t\032!\n\016CloudEndpoints\022\017\n\007service\030\001 " +
+      "\001(\t\032g\n\014ClusterIstio\022\020\n\010location\030\001 \001(\t\022\024\n" +
+      "\014cluster_name\030\002 \001(\t\022\031\n\021service_namespace" +
+      "\030\003 \001(\t\022\024\n\014service_name\030\004 \001(\t\032N\n\tMeshIsti" +
+      "o\022\020\n\010mesh_uid\030\001 \001(\t\022\031\n\021service_namespace" +
+      "\030\003 \001(\t\022\024\n\014service_name\030\004 \001(\t\032i\n\025IstioCan" +
+      "onicalService\022\020\n\010mesh_uid\030\001 \001(\t\022#\n\033canon" +
+      "ical_service_namespace\030\003 \001(\t\022\031\n\021canonica" +
+      "l_service\030\004 \001(\t\032\"\n\tTelemetry\022\025\n\rresource" +
+      "_name\030\001 \001(\t\0321\n\017UserLabelsEntry\022\013\n\003key\030\001 " +
+      "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\247\001\352A\243\001\n!monitorin" +
+      "g.googleapis.com/Service\022%projects/{proj" +
+      "ect}/services/{service}\022/organizations/{" +
+      "organization}/services/{service}\022#folder" +
+      "s/{folder}/services/{service}\022\001*B\014\n\niden" +
+      "tifier\"\226\006\n\025ServiceLevelObjective\022\014\n\004name" +
+      "\030\001 \001(\t\022\024\n\014display_name\030\013 \001(\t\022L\n\027service_" +
+      "level_indicator\030\003 \001(\0132+.google.monitorin" +
+      "g.v3.ServiceLevelIndicator\022\014\n\004goal\030\004 \001(\001" +
+      "\0223\n\016rolling_period\030\005 \001(\0132\031.google.protob" +
+      "uf.DurationH\000\0226\n\017calendar_period\030\006 \001(\0162\033" +
+      ".google.type.CalendarPeriodH\000\022P\n\013user_la" +
+      "bels\030\014 \003(\0132;.google.monitoring.v3.Servic" +
+      "eLevelObjective.UserLabelsEntry\0321\n\017UserL" +
+      "abelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" +
+      "8\001\"4\n\004View\022\024\n\020VIEW_UNSPECIFIED\020\000\022\010\n\004FULL" +
+      "\020\002\022\014\n\010EXPLICIT\020\001:\312\002\352A\306\002\n/monitoring.goog" +
+      "leapis.com/ServiceLevelObjective\022Vprojec" +
+      "ts/{project}/services/{service}/serviceL" +
+      "evelObjectives/{service_level_objective}" +
+      "\022`organizations/{organization}/services/" +
+      "{service}/serviceLevelObjectives/{servic" +
+      "e_level_objective}\022Tfolders/{folder}/ser" +
+      "vices/{service}/serviceLevelObjectives/{" +
+      "service_level_objective}\022\001* \001B\010\n\006period\"" +
+      "\324\001\n\025ServiceLevelIndicator\0223\n\tbasic_sli\030\004" +
+      " \001(\0132\036.google.monitoring.v3.BasicSliH\000\022>" +
+      "\n\rrequest_based\030\001 \001(\0132%.google.monitorin" +
+      "g.v3.RequestBasedSliH\000\022>\n\rwindows_based\030" +
+      "\002 \001(\0132%.google.monitoring.v3.WindowsBase" +
+      "dSliH\000B\006\n\004type\"\266\002\n\010BasicSli\022\016\n\006method\030\007 " +
+      "\003(\t\022\020\n\010location\030\010 \003(\t\022\017\n\007version\030\t \003(\t\022K" +
+      "\n\014availability\030\002 \001(\01323.google.monitoring" +
+      ".v3.BasicSli.AvailabilityCriteriaH\000\022A\n\007l" +
+      "atency\030\003 \001(\0132..google.monitoring.v3.Basi" +
+      "cSli.LatencyCriteriaH\000\032\026\n\024AvailabilityCr" +
+      "iteria\032?\n\017LatencyCriteria\022,\n\tthreshold\030\003" +
+      " \001(\0132\031.google.protobuf.DurationB\016\n\014sli_c" +
+      "riteria\"!\n\005Range\022\013\n\003min\030\001 \001(\001\022\013\n\003max\030\002 \001" +
+      "(\001\"\241\001\n\017RequestBasedSli\022A\n\020good_total_rat" +
+      "io\030\001 \001(\0132%.google.monitoring.v3.TimeSeri" +
+      "esRatioH\000\022A\n\020distribution_cut\030\003 \001(\0132%.go" +
+      "ogle.monitoring.v3.DistributionCutH\000B\010\n\006" +
+      "method\"h\n\017TimeSeriesRatio\022\033\n\023good_servic" +
+      "e_filter\030\004 \001(\t\022\032\n\022bad_service_filter\030\005 \001" +
+      "(\t\022\034\n\024total_service_filter\030\006 \001(\t\"Z\n\017Dist" +
+      "ributionCut\022\033\n\023distribution_filter\030\004 \001(\t" +
+      "\022*\n\005range\030\005 \001(\0132\033.google.monitoring.v3.R" +
+      "ange\"\203\005\n\017WindowsBasedSli\022 \n\026good_bad_met" +
+      "ric_filter\030\005 \001(\tH\000\022`\n\032good_total_ratio_t" +
+      "hreshold\030\002 \001(\0132:.google.monitoring.v3.Wi" +
+      "ndowsBasedSli.PerformanceThresholdH\000\022Q\n\024" +
+      "metric_mean_in_range\030\006 \001(\01321.google.moni" +
+      "toring.v3.WindowsBasedSli.MetricRangeH\000\022" +
+      "P\n\023metric_sum_in_range\030\007 \001(\01321.google.mo" +
+      "nitoring.v3.WindowsBasedSli.MetricRangeH" +
+      "\000\0220\n\rwindow_period\030\004 \001(\0132\031.google.protob" +
+      "uf.Duration\032\260\001\n\024PerformanceThreshold\022<\n\013" +
+      "performance\030\001 \001(\0132%.google.monitoring.v3" +
+      ".RequestBasedSliH\000\022?\n\025basic_sli_performa" +
+      "nce\030\003 \001(\0132\036.google.monitoring.v3.BasicSl" +
+      "iH\000\022\021\n\tthreshold\030\002 \001(\001B\006\n\004type\032N\n\013Metric" +
+      "Range\022\023\n\013time_series\030\001 \001(\t\022*\n\005range\030\004 \001(" +
+      "\0132\033.google.monitoring.v3.RangeB\022\n\020window" +
+      "_criterionB\316\001\n\030com.google.monitoring.v3B" +
+      "\026ServiceMonitoringProtoP\001Z>google.golang" +
+      ".org/genproto/googleapis/monitoring/v3;m" +
+      "onitoring\252\002\032Google.Cloud.Monitoring.V3\312\002" +
+      "\032Google\\Cloud\\Monitoring\\V3\352\002\035Google::Cl" +
+      "oud::Monitoring::V3b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.FieldBehaviorProto.getDescriptor(),
+          com.google.api.ResourceProto.getDescriptor(),
+          com.google.protobuf.DurationProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+          com.google.type.CalendarPeriodProto.getDescriptor(),
+        });
+    internal_static_google_monitoring_v3_Service_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_monitoring_v3_Service_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_Service_descriptor,
+        new java.lang.String[] { "Name", "DisplayName", "Custom", "AppEngine", "CloudEndpoints", "ClusterIstio", "MeshIstio", "IstioCanonicalService", "Telemetry", "UserLabels", "Identifier", });
+    internal_static_google_monitoring_v3_Service_Custom_descriptor =
+      internal_static_google_monitoring_v3_Service_descriptor.getNestedTypes().get(0);
+    internal_static_google_monitoring_v3_Service_Custom_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_Service_Custom_descriptor,
+        new java.lang.String[] { });
+    internal_static_google_monitoring_v3_Service_AppEngine_descriptor =
+      internal_static_google_monitoring_v3_Service_descriptor.getNestedTypes().get(1);
+    internal_static_google_monitoring_v3_Service_AppEngine_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_Service_AppEngine_descriptor,
+        new java.lang.String[] { "ModuleId", });
+    internal_static_google_monitoring_v3_Service_CloudEndpoints_descriptor =
+      internal_static_google_monitoring_v3_Service_descriptor.getNestedTypes().get(2);
+    internal_static_google_monitoring_v3_Service_CloudEndpoints_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_Service_CloudEndpoints_descriptor,
+        new java.lang.String[] { "Service", });
+    internal_static_google_monitoring_v3_Service_ClusterIstio_descriptor =
+      internal_static_google_monitoring_v3_Service_descriptor.getNestedTypes().get(3);
+    internal_static_google_monitoring_v3_Service_ClusterIstio_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_Service_ClusterIstio_descriptor,
+        new java.lang.String[] { "Location", "ClusterName", "ServiceNamespace", "ServiceName", });
+    internal_static_google_monitoring_v3_Service_MeshIstio_descriptor =
+      internal_static_google_monitoring_v3_Service_descriptor.getNestedTypes().get(4);
+    internal_static_google_monitoring_v3_Service_MeshIstio_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_Service_MeshIstio_descriptor,
+        new java.lang.String[] { "MeshUid", "ServiceNamespace", "ServiceName", });
+    internal_static_google_monitoring_v3_Service_IstioCanonicalService_descriptor =
+      internal_static_google_monitoring_v3_Service_descriptor.getNestedTypes().get(5);
+    internal_static_google_monitoring_v3_Service_IstioCanonicalService_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_Service_IstioCanonicalService_descriptor,
+        new java.lang.String[] { "MeshUid", "CanonicalServiceNamespace", "CanonicalService", });
+    internal_static_google_monitoring_v3_Service_Telemetry_descriptor =
+      internal_static_google_monitoring_v3_Service_descriptor.getNestedTypes().get(6);
+    internal_static_google_monitoring_v3_Service_Telemetry_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_Service_Telemetry_descriptor,
+        new java.lang.String[] { "ResourceName", });
+    internal_static_google_monitoring_v3_Service_UserLabelsEntry_descriptor =
+      internal_static_google_monitoring_v3_Service_descriptor.getNestedTypes().get(7);
+    internal_static_google_monitoring_v3_Service_UserLabelsEntry_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_Service_UserLabelsEntry_descriptor,
+        new java.lang.String[] { "Key", "Value", });
+    internal_static_google_monitoring_v3_ServiceLevelObjective_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_monitoring_v3_ServiceLevelObjective_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_ServiceLevelObjective_descriptor,
+        new java.lang.String[] { "Name", "DisplayName", "ServiceLevelIndicator", "Goal", "RollingPeriod", "CalendarPeriod", "UserLabels", "Period", });
+    internal_static_google_monitoring_v3_ServiceLevelObjective_UserLabelsEntry_descriptor =
+      internal_static_google_monitoring_v3_ServiceLevelObjective_descriptor.getNestedTypes().get(0);
+    internal_static_google_monitoring_v3_ServiceLevelObjective_UserLabelsEntry_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_ServiceLevelObjective_UserLabelsEntry_descriptor,
+        new java.lang.String[] { "Key", "Value", });
+    internal_static_google_monitoring_v3_ServiceLevelIndicator_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_monitoring_v3_ServiceLevelIndicator_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_ServiceLevelIndicator_descriptor,
+        new java.lang.String[] { "BasicSli", "RequestBased", "WindowsBased", "Type", });
+    internal_static_google_monitoring_v3_BasicSli_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_monitoring_v3_BasicSli_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_BasicSli_descriptor,
+        new java.lang.String[] { "Method", "Location", "Version", "Availability", "Latency", "SliCriteria", });
+    internal_static_google_monitoring_v3_BasicSli_AvailabilityCriteria_descriptor =
+      internal_static_google_monitoring_v3_BasicSli_descriptor.getNestedTypes().get(0);
+    internal_static_google_monitoring_v3_BasicSli_AvailabilityCriteria_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_BasicSli_AvailabilityCriteria_descriptor,
+        new java.lang.String[] { });
+    internal_static_google_monitoring_v3_BasicSli_LatencyCriteria_descriptor =
+      internal_static_google_monitoring_v3_BasicSli_descriptor.getNestedTypes().get(1);
+    internal_static_google_monitoring_v3_BasicSli_LatencyCriteria_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_BasicSli_LatencyCriteria_descriptor,
+        new java.lang.String[] { "Threshold", });
+    internal_static_google_monitoring_v3_Range_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_monitoring_v3_Range_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_Range_descriptor,
+        new java.lang.String[] { "Min", "Max", });
+    internal_static_google_monitoring_v3_RequestBasedSli_descriptor =
+      getDescriptor().getMessageTypes().get(5);
+    internal_static_google_monitoring_v3_RequestBasedSli_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_RequestBasedSli_descriptor,
+        new java.lang.String[] { "GoodTotalRatio", "DistributionCut", "Method", });
+    internal_static_google_monitoring_v3_TimeSeriesRatio_descriptor =
+      getDescriptor().getMessageTypes().get(6);
+    internal_static_google_monitoring_v3_TimeSeriesRatio_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_TimeSeriesRatio_descriptor,
+        new java.lang.String[] { "GoodServiceFilter", "BadServiceFilter", "TotalServiceFilter", });
+    internal_static_google_monitoring_v3_DistributionCut_descriptor =
+      getDescriptor().getMessageTypes().get(7);
+    internal_static_google_monitoring_v3_DistributionCut_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_DistributionCut_descriptor,
+        new java.lang.String[] { "DistributionFilter", "Range", });
+    internal_static_google_monitoring_v3_WindowsBasedSli_descriptor =
+      getDescriptor().getMessageTypes().get(8);
+    internal_static_google_monitoring_v3_WindowsBasedSli_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_WindowsBasedSli_descriptor,
+        new java.lang.String[] { "GoodBadMetricFilter", "GoodTotalRatioThreshold", "MetricMeanInRange", "MetricSumInRange", "WindowPeriod", "WindowCriterion", });
+    internal_static_google_monitoring_v3_WindowsBasedSli_PerformanceThreshold_descriptor =
+      internal_static_google_monitoring_v3_WindowsBasedSli_descriptor.getNestedTypes().get(0);
+    internal_static_google_monitoring_v3_WindowsBasedSli_PerformanceThreshold_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_WindowsBasedSli_PerformanceThreshold_descriptor,
+        new java.lang.String[] { "Performance", "BasicSliPerformance", "Threshold", "Type", });
+    internal_static_google_monitoring_v3_WindowsBasedSli_MetricRange_descriptor =
+      internal_static_google_monitoring_v3_WindowsBasedSli_descriptor.getNestedTypes().get(1);
+    internal_static_google_monitoring_v3_WindowsBasedSli_MetricRange_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_WindowsBasedSli_MetricRange_descriptor,
+        new java.lang.String[] { "TimeSeries", "Range", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ResourceProto.resource);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.protobuf.DurationProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+    com.google.type.CalendarPeriodProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringServiceProto.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringServiceProto.java
new file mode 100644
index 00000000..306856ca
--- /dev/null
+++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringServiceProto.java
@@ -0,0 +1,296 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/monitoring/v3/service_service.proto
+
+package com.google.monitoring.v3;
+
+public final class ServiceMonitoringServiceProto {
+  private ServiceMonitoringServiceProto() {}
+  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_monitoring_v3_CreateServiceRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_CreateServiceRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_GetServiceRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_GetServiceRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_ListServicesRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_ListServicesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_ListServicesResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_ListServicesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_UpdateServiceRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_UpdateServiceRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_DeleteServiceRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_DeleteServiceRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_CreateServiceLevelObjectiveRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_CreateServiceLevelObjectiveRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_GetServiceLevelObjectiveRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_GetServiceLevelObjectiveRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_ListServiceLevelObjectivesRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_ListServiceLevelObjectivesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_ListServiceLevelObjectivesResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_ListServiceLevelObjectivesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_UpdateServiceLevelObjectiveRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_UpdateServiceLevelObjectiveRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_DeleteServiceLevelObjectiveRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_DeleteServiceLevelObjectiveRequest_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/monitoring/v3/service_service.p" +
+      "roto\022\024google.monitoring.v3\032\034google/api/a" +
+      "nnotations.proto\032\027google/api/client.prot" +
+      "o\032\037google/api/field_behavior.proto\032\031goog" +
+      "le/api/resource.proto\032\"google/monitoring" +
+      "/v3/service.proto\032\033google/protobuf/empty" +
+      ".proto\032 google/protobuf/field_mask.proto" +
+      "\"\232\001\n\024CreateServiceRequest\0229\n\006parent\030\001 \001(" +
+      "\tB)\340A\002\372A#\022!monitoring.googleapis.com/Ser" +
+      "vice\022\022\n\nservice_id\030\003 \001(\t\0223\n\007service\030\002 \001(" +
+      "\0132\035.google.monitoring.v3.ServiceB\003\340A\002\"L\n" +
+      "\021GetServiceRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#" +
+      "\n!monitoring.googleapis.com/Service\"\207\001\n\023" +
+      "ListServicesRequest\0229\n\006parent\030\001 \001(\tB)\340A\002" +
+      "\372A#\022!monitoring.googleapis.com/Service\022\016" +
+      "\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npag" +
+      "e_token\030\004 \001(\t\"`\n\024ListServicesResponse\022/\n" +
+      "\010services\030\001 \003(\0132\035.google.monitoring.v3.S" +
+      "ervice\022\027\n\017next_page_token\030\002 \001(\t\"|\n\024Updat" +
+      "eServiceRequest\0223\n\007service\030\001 \001(\0132\035.googl" +
+      "e.monitoring.v3.ServiceB\003\340A\002\022/\n\013update_m" +
+      "ask\030\002 \001(\0132\032.google.protobuf.FieldMask\"O\n" +
+      "\024DeleteServiceRequest\0227\n\004name\030\001 \001(\tB)\340A\002" +
+      "\372A#\n!monitoring.googleapis.com/Service\"\326" +
+      "\001\n\"CreateServiceLevelObjectiveRequest\0229\n" +
+      "\006parent\030\001 \001(\tB)\340A\002\372A#\n!monitoring.google" +
+      "apis.com/Service\022\"\n\032service_level_object" +
+      "ive_id\030\003 \001(\t\022Q\n\027service_level_objective\030" +
+      "\002 \001(\0132+.google.monitoring.v3.ServiceLeve" +
+      "lObjectiveB\003\340A\002\"\250\001\n\037GetServiceLevelObjec" +
+      "tiveRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/monit" +
+      "oring.googleapis.com/ServiceLevelObjecti" +
+      "ve\022>\n\004view\030\002 \001(\01620.google.monitoring.v3." +
+      "ServiceLevelObjective.View\"\325\001\n!ListServi" +
+      "ceLevelObjectivesRequest\0229\n\006parent\030\001 \001(\t" +
+      "B)\340A\002\372A#\n!monitoring.googleapis.com/Serv" +
+      "ice\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022" +
+      "\n\npage_token\030\004 \001(\t\022>\n\004view\030\005 \001(\01620.googl" +
+      "e.monitoring.v3.ServiceLevelObjective.Vi" +
+      "ew\"\214\001\n\"ListServiceLevelObjectivesRespons" +
+      "e\022M\n\030service_level_objectives\030\001 \003(\0132+.go" +
+      "ogle.monitoring.v3.ServiceLevelObjective" +
+      "\022\027\n\017next_page_token\030\002 \001(\t\"\250\001\n\"UpdateServ" +
+      "iceLevelObjectiveRequest\022Q\n\027service_leve" +
+      "l_objective\030\001 \001(\0132+.google.monitoring.v3" +
+      ".ServiceLevelObjectiveB\003\340A\002\022/\n\013update_ma" +
+      "sk\030\002 \001(\0132\032.google.protobuf.FieldMask\"k\n\"" +
+      "DeleteServiceLevelObjectiveRequest\022E\n\004na" +
+      "me\030\001 \001(\tB7\340A\002\372A1\n/monitoring.googleapis." +
+      "com/ServiceLevelObjective2\352\017\n\030ServiceMon" +
+      "itoringService\022\227\001\n\rCreateService\022*.googl" +
+      "e.monitoring.v3.CreateServiceRequest\032\035.g" +
+      "oogle.monitoring.v3.Service\";\202\323\344\223\002$\"\031/v3" +
+      "/{parent=*/*}/services:\007service\332A\016parent" +
+      ",service\022~\n\nGetService\022\'.google.monitori" +
+      "ng.v3.GetServiceRequest\032\035.google.monitor" +
+      "ing.v3.Service\"(\202\323\344\223\002\033\022\031/v3/{name=*/*/se" +
+      "rvices/*}\332A\004name\022\221\001\n\014ListServices\022).goog" +
+      "le.monitoring.v3.ListServicesRequest\032*.g" +
+      "oogle.monitoring.v3.ListServicesResponse" +
+      "\"*\202\323\344\223\002\033\022\031/v3/{parent=*/*}/services\332A\006pa" +
+      "rent\022\230\001\n\rUpdateService\022*.google.monitori" +
+      "ng.v3.UpdateServiceRequest\032\035.google.moni" +
+      "toring.v3.Service\"<\202\323\344\223\002,2!/v3/{service." +
+      "name=*/*/services/*}:\007service\332A\007service\022" +
+      "}\n\rDeleteService\022*.google.monitoring.v3." +
+      "DeleteServiceRequest\032\026.google.protobuf.E" +
+      "mpty\"(\202\323\344\223\002\033*\031/v3/{name=*/*/services/*}\332" +
+      "A\004name\022\372\001\n\033CreateServiceLevelObjective\0228" +
+      ".google.monitoring.v3.CreateServiceLevel" +
+      "ObjectiveRequest\032+.google.monitoring.v3." +
+      "ServiceLevelObjective\"t\202\323\344\223\002M\"2/v3/{pare" +
+      "nt=*/*/services/*}/serviceLevelObjective" +
+      "s:\027service_level_objective\332A\036parent,serv" +
+      "ice_level_objective\022\301\001\n\030GetServiceLevelO" +
+      "bjective\0225.google.monitoring.v3.GetServi" +
+      "ceLevelObjectiveRequest\032+.google.monitor" +
+      "ing.v3.ServiceLevelObjective\"A\202\323\344\223\0024\0222/v" +
+      "3/{name=*/*/services/*/serviceLevelObjec" +
+      "tives/*}\332A\004name\022\324\001\n\032ListServiceLevelObje" +
+      "ctives\0227.google.monitoring.v3.ListServic" +
+      "eLevelObjectivesRequest\0328.google.monitor" +
+      "ing.v3.ListServiceLevelObjectivesRespons" +
+      "e\"C\202\323\344\223\0024\0222/v3/{parent=*/*/services/*}/s" +
+      "erviceLevelObjectives\332A\006parent\022\214\002\n\033Updat" +
+      "eServiceLevelObjective\0228.google.monitori" +
+      "ng.v3.UpdateServiceLevelObjectiveRequest" +
+      "\032+.google.monitoring.v3.ServiceLevelObje" +
+      "ctive\"\205\001\202\323\344\223\002e2J/v3/{service_level_objec" +
+      "tive.name=*/*/services/*/serviceLevelObj" +
+      "ectives/*}:\027service_level_objective\332A\027se" +
+      "rvice_level_objective\022\262\001\n\033DeleteServiceL" +
+      "evelObjective\0228.google.monitoring.v3.Del" +
+      "eteServiceLevelObjectiveRequest\032\026.google" +
+      ".protobuf.Empty\"A\202\323\344\223\0024*2/v3/{name=*/*/s" +
+      "ervices/*/serviceLevelObjectives/*}\332A\004na" +
+      "me\032\251\001\312A\031monitoring.googleapis.com\322A\211\001htt" +
+      "ps://www.googleapis.com/auth/cloud-platf" +
+      "orm,https://www.googleapis.com/auth/moni" +
+      "toring,https://www.googleapis.com/auth/m" +
+      "onitoring.readB\325\001\n\030com.google.monitoring" +
+      ".v3B\035ServiceMonitoringServiceProtoP\001Z>go" +
+      "ogle.golang.org/genproto/googleapis/moni" +
+      "toring/v3;monitoring\252\002\032Google.Cloud.Moni" +
+      "toring.V3\312\002\032Google\\Cloud\\Monitoring\\V3\352\002" +
+      "\035Google::Cloud::Monitoring::V3b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.AnnotationsProto.getDescriptor(),
+          com.google.api.ClientProto.getDescriptor(),
+          com.google.api.FieldBehaviorProto.getDescriptor(),
+          com.google.api.ResourceProto.getDescriptor(),
+          com.google.monitoring.v3.ServiceMonitoringProto.getDescriptor(),
+          com.google.protobuf.EmptyProto.getDescriptor(),
+          com.google.protobuf.FieldMaskProto.getDescriptor(),
+        });
+    internal_static_google_monitoring_v3_CreateServiceRequest_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_monitoring_v3_CreateServiceRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_CreateServiceRequest_descriptor,
+        new java.lang.String[] { "Parent", "ServiceId", "Service", });
+    internal_static_google_monitoring_v3_GetServiceRequest_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_monitoring_v3_GetServiceRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_GetServiceRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_monitoring_v3_ListServicesRequest_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_monitoring_v3_ListServicesRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_ListServicesRequest_descriptor,
+        new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", });
+    internal_static_google_monitoring_v3_ListServicesResponse_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_monitoring_v3_ListServicesResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_ListServicesResponse_descriptor,
+        new java.lang.String[] { "Services", "NextPageToken", });
+    internal_static_google_monitoring_v3_UpdateServiceRequest_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_monitoring_v3_UpdateServiceRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_UpdateServiceRequest_descriptor,
+        new java.lang.String[] { "Service", "UpdateMask", });
+    internal_static_google_monitoring_v3_DeleteServiceRequest_descriptor =
+      getDescriptor().getMessageTypes().get(5);
+    internal_static_google_monitoring_v3_DeleteServiceRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_DeleteServiceRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_monitoring_v3_CreateServiceLevelObjectiveRequest_descriptor =
+      getDescriptor().getMessageTypes().get(6);
+    internal_static_google_monitoring_v3_CreateServiceLevelObjectiveRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_CreateServiceLevelObjectiveRequest_descriptor,
+        new java.lang.String[] { "Parent", "ServiceLevelObjectiveId", "ServiceLevelObjective", });
+    internal_static_google_monitoring_v3_GetServiceLevelObjectiveRequest_descriptor =
+      getDescriptor().getMessageTypes().get(7);
+    internal_static_google_monitoring_v3_GetServiceLevelObjectiveRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_GetServiceLevelObjectiveRequest_descriptor,
+        new java.lang.String[] { "Name", "View", });
+    internal_static_google_monitoring_v3_ListServiceLevelObjectivesRequest_descriptor =
+      getDescriptor().getMessageTypes().get(8);
+    internal_static_google_monitoring_v3_ListServiceLevelObjectivesRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_ListServiceLevelObjectivesRequest_descriptor,
+        new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", "View", });
+    internal_static_google_monitoring_v3_ListServiceLevelObjectivesResponse_descriptor =
+      getDescriptor().getMessageTypes().get(9);
+    internal_static_google_monitoring_v3_ListServiceLevelObjectivesResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_ListServiceLevelObjectivesResponse_descriptor,
+        new java.lang.String[] { "ServiceLevelObjectives", "NextPageToken", });
+    internal_static_google_monitoring_v3_UpdateServiceLevelObjectiveRequest_descriptor =
+      getDescriptor().getMessageTypes().get(10);
+    internal_static_google_monitoring_v3_UpdateServiceLevelObjectiveRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_UpdateServiceLevelObjectiveRequest_descriptor,
+        new java.lang.String[] { "ServiceLevelObjective", "UpdateMask", });
+    internal_static_google_monitoring_v3_DeleteServiceLevelObjectiveRequest_descriptor =
+      getDescriptor().getMessageTypes().get(11);
+    internal_static_google_monitoring_v3_DeleteServiceLevelObjectiveRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_DeleteServiceLevelObjectiveRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.methodSignature);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    registry.add(com.google.api.ResourceProto.resourceReference);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.ClientProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.monitoring.v3.ServiceMonitoringProto.getDescriptor();
+    com.google.protobuf.EmptyProto.getDescriptor();
+    com.google.protobuf.FieldMaskProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceName.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceName.java
similarity index 100%
rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceName.java
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceName.java
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceOrBuilder.java
similarity index 85%
rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceOrBuilder.java
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceOrBuilder.java
index 5362c0a9..887c9b5d 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceOrBuilder.java
+++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceOrBuilder.java
@@ -1,107 +1,73 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/monitoring/v3/service.proto
 
 package com.google.monitoring.v3;
 
-public interface ServiceOrBuilder
-    extends
+public interface ServiceOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.monitoring.v3.Service)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Resource name for this Service. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Resource name for this Service. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Name used for UI elements listing this Service.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Name used for UI elements listing this Service.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Custom service type.
    * 
* * .google.monitoring.v3.Service.Custom custom = 6; - * * @return Whether the custom field is set. */ boolean hasCustom(); /** - * - * *
    * Custom service type.
    * 
* * .google.monitoring.v3.Service.Custom custom = 6; - * * @return The custom. */ com.google.monitoring.v3.Service.Custom getCustom(); /** - * - * *
    * Custom service type.
    * 
@@ -111,32 +77,24 @@ public interface ServiceOrBuilder com.google.monitoring.v3.Service.CustomOrBuilder getCustomOrBuilder(); /** - * - * *
    * Type used for App Engine services.
    * 
* * .google.monitoring.v3.Service.AppEngine app_engine = 7; - * * @return Whether the appEngine field is set. */ boolean hasAppEngine(); /** - * - * *
    * Type used for App Engine services.
    * 
* * .google.monitoring.v3.Service.AppEngine app_engine = 7; - * * @return The appEngine. */ com.google.monitoring.v3.Service.AppEngine getAppEngine(); /** - * - * *
    * Type used for App Engine services.
    * 
@@ -146,32 +104,24 @@ public interface ServiceOrBuilder com.google.monitoring.v3.Service.AppEngineOrBuilder getAppEngineOrBuilder(); /** - * - * *
    * Type used for Cloud Endpoints services.
    * 
* * .google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8; - * * @return Whether the cloudEndpoints field is set. */ boolean hasCloudEndpoints(); /** - * - * *
    * Type used for Cloud Endpoints services.
    * 
* * .google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8; - * * @return The cloudEndpoints. */ com.google.monitoring.v3.Service.CloudEndpoints getCloudEndpoints(); /** - * - * *
    * Type used for Cloud Endpoints services.
    * 
@@ -181,32 +131,24 @@ public interface ServiceOrBuilder com.google.monitoring.v3.Service.CloudEndpointsOrBuilder getCloudEndpointsOrBuilder(); /** - * - * *
    * Type used for Istio services that live in a Kubernetes cluster.
    * 
* * .google.monitoring.v3.Service.ClusterIstio cluster_istio = 9; - * * @return Whether the clusterIstio field is set. */ boolean hasClusterIstio(); /** - * - * *
    * Type used for Istio services that live in a Kubernetes cluster.
    * 
* * .google.monitoring.v3.Service.ClusterIstio cluster_istio = 9; - * * @return The clusterIstio. */ com.google.monitoring.v3.Service.ClusterIstio getClusterIstio(); /** - * - * *
    * Type used for Istio services that live in a Kubernetes cluster.
    * 
@@ -216,32 +158,24 @@ public interface ServiceOrBuilder com.google.monitoring.v3.Service.ClusterIstioOrBuilder getClusterIstioOrBuilder(); /** - * - * *
    * Type used for Istio services scoped to an Istio mesh.
    * 
* * .google.monitoring.v3.Service.MeshIstio mesh_istio = 10; - * * @return Whether the meshIstio field is set. */ boolean hasMeshIstio(); /** - * - * *
    * Type used for Istio services scoped to an Istio mesh.
    * 
* * .google.monitoring.v3.Service.MeshIstio mesh_istio = 10; - * * @return The meshIstio. */ com.google.monitoring.v3.Service.MeshIstio getMeshIstio(); /** - * - * *
    * Type used for Istio services scoped to an Istio mesh.
    * 
@@ -251,8 +185,6 @@ public interface ServiceOrBuilder com.google.monitoring.v3.Service.MeshIstioOrBuilder getMeshIstioOrBuilder(); /** - * - * *
    * Type used for canonical services scoped to an Istio mesh.
    * Metrics for Istio are
@@ -260,13 +192,10 @@ public interface ServiceOrBuilder
    * 
* * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; - * * @return Whether the istioCanonicalService field is set. */ boolean hasIstioCanonicalService(); /** - * - * *
    * Type used for canonical services scoped to an Istio mesh.
    * Metrics for Istio are
@@ -274,13 +203,10 @@ public interface ServiceOrBuilder
    * 
* * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; - * * @return The istioCanonicalService. */ com.google.monitoring.v3.Service.IstioCanonicalService getIstioCanonicalService(); /** - * - * *
    * Type used for canonical services scoped to an Istio mesh.
    * Metrics for Istio are
@@ -289,36 +215,27 @@ public interface ServiceOrBuilder
    *
    * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11;
    */
-  com.google.monitoring.v3.Service.IstioCanonicalServiceOrBuilder
-      getIstioCanonicalServiceOrBuilder();
+  com.google.monitoring.v3.Service.IstioCanonicalServiceOrBuilder getIstioCanonicalServiceOrBuilder();
 
   /**
-   *
-   *
    * 
    * Configuration for how to query telemetry on a Service.
    * 
* * .google.monitoring.v3.Service.Telemetry telemetry = 13; - * * @return Whether the telemetry field is set. */ boolean hasTelemetry(); /** - * - * *
    * Configuration for how to query telemetry on a Service.
    * 
* * .google.monitoring.v3.Service.Telemetry telemetry = 13; - * * @return The telemetry. */ com.google.monitoring.v3.Service.Telemetry getTelemetry(); /** - * - * *
    * Configuration for how to query telemetry on a Service.
    * 
@@ -328,8 +245,6 @@ public interface ServiceOrBuilder com.google.monitoring.v3.Service.TelemetryOrBuilder getTelemetryOrBuilder(); /** - * - * *
    * Labels which have been used to annotate the service. Label keys must start
    * with a letter. Label keys and values may contain lowercase letters,
@@ -343,8 +258,6 @@ public interface ServiceOrBuilder
    */
   int getUserLabelsCount();
   /**
-   *
-   *
    * 
    * Labels which have been used to annotate the service. Label keys must start
    * with a letter. Label keys and values may contain lowercase letters,
@@ -356,13 +269,15 @@ public interface ServiceOrBuilder
    *
    * map<string, string> user_labels = 14;
    */
-  boolean containsUserLabels(java.lang.String key);
-  /** Use {@link #getUserLabelsMap()} instead. */
+  boolean containsUserLabels(
+      java.lang.String key);
+  /**
+   * Use {@link #getUserLabelsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getUserLabels();
+  java.util.Map
+  getUserLabels();
   /**
-   *
-   *
    * 
    * Labels which have been used to annotate the service. Label keys must start
    * with a letter. Label keys and values may contain lowercase letters,
@@ -374,10 +289,9 @@ public interface ServiceOrBuilder
    *
    * map<string, string> user_labels = 14;
    */
-  java.util.Map getUserLabelsMap();
+  java.util.Map
+  getUserLabelsMap();
   /**
-   *
-   *
    * 
    * Labels which have been used to annotate the service. Label keys must start
    * with a letter. Label keys and values may contain lowercase letters,
@@ -389,10 +303,11 @@ public interface ServiceOrBuilder
    *
    * map<string, string> user_labels = 14;
    */
-  java.lang.String getUserLabelsOrDefault(java.lang.String key, java.lang.String defaultValue);
+
+  java.lang.String getUserLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Labels which have been used to annotate the service. Label keys must start
    * with a letter. Label keys and values may contain lowercase letters,
@@ -404,7 +319,9 @@ public interface ServiceOrBuilder
    *
    * map<string, string> user_labels = 14;
    */
-  java.lang.String getUserLabelsOrThrow(java.lang.String key);
+
+  java.lang.String getUserLabelsOrThrow(
+      java.lang.String key);
 
   public com.google.monitoring.v3.Service.IdentifierCase getIdentifierCase();
 }
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceTier.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceTier.java
similarity index 74%
rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceTier.java
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceTier.java
index 725342a9..c7ed7786 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceTier.java
+++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceTier.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/monitoring/v3/common.proto
 
 package com.google.monitoring.v3;
 
 /**
- *
- *
  * 
  * The tier of service for a Workspace. Please see the
  * [service tiers
@@ -30,11 +13,9 @@
  *
  * Protobuf enum {@code google.monitoring.v3.ServiceTier}
  */
-@java.lang.Deprecated
-public enum ServiceTier implements com.google.protobuf.ProtocolMessageEnum {
+@java.lang.Deprecated public enum ServiceTier
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * An invalid sentinel value, used to indicate that a tier has not
    * been provided explicitly.
@@ -44,8 +25,6 @@ public enum ServiceTier implements com.google.protobuf.ProtocolMessageEnum {
    */
   SERVICE_TIER_UNSPECIFIED(0),
   /**
-   *
-   *
    * 
    * The Stackdriver Basic tier, a free tier of service that provides basic
    * features, a moderate allotment of logs, and access to built-in metrics.
@@ -58,8 +37,6 @@ public enum ServiceTier implements com.google.protobuf.ProtocolMessageEnum {
    */
   SERVICE_TIER_BASIC(1),
   /**
-   *
-   *
    * 
    * The Stackdriver Premium tier, a higher, more expensive tier of service
    * that provides access to all Stackdriver features, lets you use Stackdriver
@@ -75,8 +52,6 @@ public enum ServiceTier implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * An invalid sentinel value, used to indicate that a tier has not
    * been provided explicitly.
@@ -86,8 +61,6 @@ public enum ServiceTier implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int SERVICE_TIER_UNSPECIFIED_VALUE = 0;
   /**
-   *
-   *
    * 
    * The Stackdriver Basic tier, a free tier of service that provides basic
    * features, a moderate allotment of logs, and access to built-in metrics.
@@ -100,8 +73,6 @@ public enum ServiceTier implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int SERVICE_TIER_BASIC_VALUE = 1;
   /**
-   *
-   *
    * 
    * The Stackdriver Premium tier, a higher, more expensive tier of service
    * that provides access to all Stackdriver features, lets you use Stackdriver
@@ -114,6 +85,7 @@ public enum ServiceTier implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int SERVICE_TIER_PREMIUM_VALUE = 2;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -138,49 +110,49 @@ public static ServiceTier valueOf(int value) {
    */
   public static ServiceTier forNumber(int value) {
     switch (value) {
-      case 0:
-        return SERVICE_TIER_UNSPECIFIED;
-      case 1:
-        return SERVICE_TIER_BASIC;
-      case 2:
-        return SERVICE_TIER_PREMIUM;
-      default:
-        return null;
+      case 0: return SERVICE_TIER_UNSPECIFIED;
+      case 1: return SERVICE_TIER_BASIC;
+      case 2: return SERVICE_TIER_PREMIUM;
+      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 ServiceTier findValueByNumber(int number) {
-          return ServiceTier.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      ServiceTier> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public ServiceTier findValueByNumber(int number) {
+            return ServiceTier.forNumber(number);
+          }
+        };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor
+      getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-
-  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+  public final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptorForType() {
     return getDescriptor();
   }
-
-  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
     return com.google.monitoring.v3.CommonProto.getDescriptor().getEnumTypes().get(1);
   }
 
   private static final ServiceTier[] VALUES = values();
 
-  public static ServiceTier valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static ServiceTier 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;
@@ -196,3 +168,4 @@ private ServiceTier(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.monitoring.v3.ServiceTier)
 }
+
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContext.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContext.java
similarity index 72%
rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContext.java
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContext.java
index 01790c9c..ce50f1fd 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContext.java
+++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContext.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/monitoring/v3/span_context.proto
 
 package com.google.monitoring.v3;
 
 /**
- *
- *
  * 
  * The context of a span. This is attached to an
  * [Exemplar][google.api.Distribution.Exemplar]
@@ -31,31 +14,31 @@
  *
  * Protobuf type {@code google.monitoring.v3.SpanContext}
  */
-public final class SpanContext extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class SpanContext extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.SpanContext)
     SpanContextOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use SpanContext.newBuilder() to construct.
   private SpanContext(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private SpanContext() {
     spanName_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SpanContext();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private SpanContext(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,52 +57,47 @@ private SpanContext(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              spanName_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            spanName_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.monitoring.v3.SpanContextProto
-        .internal_static_google_monitoring_v3_SpanContext_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.monitoring.v3.SpanContextProto.internal_static_google_monitoring_v3_SpanContext_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.monitoring.v3.SpanContextProto
-        .internal_static_google_monitoring_v3_SpanContext_fieldAccessorTable
+    return com.google.monitoring.v3.SpanContextProto.internal_static_google_monitoring_v3_SpanContext_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.SpanContext.class,
-            com.google.monitoring.v3.SpanContext.Builder.class);
+            com.google.monitoring.v3.SpanContext.class, com.google.monitoring.v3.SpanContext.Builder.class);
   }
 
   public static final int SPAN_NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object spanName_;
   /**
-   *
-   *
    * 
    * The resource name of the span. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]
@@ -130,7 +108,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string span_name = 1; - * * @return The spanName. */ @java.lang.Override @@ -139,15 +116,14 @@ public java.lang.String getSpanName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); spanName_ = s; return s; } } /** - * - * *
    * The resource name of the span. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]
@@ -158,15 +134,16 @@ public java.lang.String getSpanName() {
    * 
* * string span_name = 1; - * * @return The bytes for spanName. */ @java.lang.Override - public com.google.protobuf.ByteString getSpanNameBytes() { + public com.google.protobuf.ByteString + getSpanNameBytes() { java.lang.Object ref = spanName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); spanName_ = b; return b; } else { @@ -175,7 +152,6 @@ public com.google.protobuf.ByteString getSpanNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -187,7 +163,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(spanName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, spanName_); } @@ -211,14 +188,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.SpanContext)) { return super.equals(obj); } com.google.monitoring.v3.SpanContext other = (com.google.monitoring.v3.SpanContext) obj; - if (!getSpanName().equals(other.getSpanName())) return false; + if (!getSpanName() + .equals(other.getSpanName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -237,103 +215,97 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.SpanContext parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.SpanContext parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.SpanContext parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.SpanContext parseFrom(com.google.protobuf.ByteString data) + public static com.google.monitoring.v3.SpanContext parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.SpanContext parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.SpanContext parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.SpanContext parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.SpanContext 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.monitoring.v3.SpanContext parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.SpanContext parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.SpanContext parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.SpanContext parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.SpanContext parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.SpanContext prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 context of a span. This is attached to an
    * [Exemplar][google.api.Distribution.Exemplar]
@@ -344,23 +316,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.monitoring.v3.SpanContext}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.SpanContext)
       com.google.monitoring.v3.SpanContextOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.monitoring.v3.SpanContextProto
-          .internal_static_google_monitoring_v3_SpanContext_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.monitoring.v3.SpanContextProto.internal_static_google_monitoring_v3_SpanContext_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.SpanContextProto
-          .internal_static_google_monitoring_v3_SpanContext_fieldAccessorTable
+      return com.google.monitoring.v3.SpanContextProto.internal_static_google_monitoring_v3_SpanContext_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.SpanContext.class,
-              com.google.monitoring.v3.SpanContext.Builder.class);
+              com.google.monitoring.v3.SpanContext.class, com.google.monitoring.v3.SpanContext.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.SpanContext.newBuilder()
@@ -368,15 +338,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -386,9 +357,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.monitoring.v3.SpanContextProto
-          .internal_static_google_monitoring_v3_SpanContext_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.monitoring.v3.SpanContextProto.internal_static_google_monitoring_v3_SpanContext_descriptor;
     }
 
     @java.lang.Override
@@ -417,39 +388,38 @@ public com.google.monitoring.v3.SpanContext 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.monitoring.v3.SpanContext) {
-        return mergeFrom((com.google.monitoring.v3.SpanContext) other);
+        return mergeFrom((com.google.monitoring.v3.SpanContext)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -493,8 +463,6 @@ public Builder mergeFrom(
 
     private java.lang.Object spanName_ = "";
     /**
-     *
-     *
      * 
      * The resource name of the span. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]
@@ -505,13 +473,13 @@ public Builder mergeFrom(
      * 
* * string span_name = 1; - * * @return The spanName. */ public java.lang.String getSpanName() { java.lang.Object ref = spanName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); spanName_ = s; return s; @@ -520,8 +488,6 @@ public java.lang.String getSpanName() { } } /** - * - * *
      * The resource name of the span. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]
@@ -532,14 +498,15 @@ public java.lang.String getSpanName() {
      * 
* * string span_name = 1; - * * @return The bytes for spanName. */ - public com.google.protobuf.ByteString getSpanNameBytes() { + public com.google.protobuf.ByteString + getSpanNameBytes() { java.lang.Object ref = spanName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); spanName_ = b; return b; } else { @@ -547,8 +514,6 @@ public com.google.protobuf.ByteString getSpanNameBytes() { } } /** - * - * *
      * The resource name of the span. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]
@@ -559,22 +524,20 @@ public com.google.protobuf.ByteString getSpanNameBytes() {
      * 
* * string span_name = 1; - * * @param value The spanName to set. * @return This builder for chaining. */ - public Builder setSpanName(java.lang.String value) { + public Builder setSpanName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + spanName_ = value; onChanged(); return this; } /** - * - * *
      * The resource name of the span. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]
@@ -585,18 +548,15 @@ public Builder setSpanName(java.lang.String value) {
      * 
* * string span_name = 1; - * * @return This builder for chaining. */ public Builder clearSpanName() { - + spanName_ = getDefaultInstance().getSpanName(); onChanged(); return this; } /** - * - * *
      * The resource name of the span. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]
@@ -607,23 +567,23 @@ public Builder clearSpanName() {
      * 
* * string span_name = 1; - * * @param value The bytes for spanName to set. * @return This builder for chaining. */ - public Builder setSpanNameBytes(com.google.protobuf.ByteString value) { + public Builder setSpanNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + spanName_ = 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); } @@ -633,12 +593,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.SpanContext) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.SpanContext) private static final com.google.monitoring.v3.SpanContext DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.SpanContext(); } @@ -647,16 +607,16 @@ public static com.google.monitoring.v3.SpanContext getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpanContext parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SpanContext(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpanContext parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SpanContext(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -671,4 +631,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.SpanContext getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContextOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContextOrBuilder.java similarity index 64% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContextOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContextOrBuilder.java index a444343f..0a35a097 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContextOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContextOrBuilder.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/monitoring/v3/span_context.proto package com.google.monitoring.v3; -public interface SpanContextOrBuilder - extends +public interface SpanContextOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.SpanContext) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The resource name of the span. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]
@@ -36,13 +18,10 @@ public interface SpanContextOrBuilder
    * 
* * string span_name = 1; - * * @return The spanName. */ java.lang.String getSpanName(); /** - * - * *
    * The resource name of the span. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]
@@ -53,8 +32,8 @@ public interface SpanContextOrBuilder
    * 
* * string span_name = 1; - * * @return The bytes for spanName. */ - com.google.protobuf.ByteString getSpanNameBytes(); + com.google.protobuf.ByteString + getSpanNameBytes(); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContextProto.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContextProto.java new file mode 100644 index 00000000..c132c785 --- /dev/null +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContextProto.java @@ -0,0 +1,53 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/span_context.proto + +package com.google.monitoring.v3; + +public final class SpanContextProto { + private SpanContextProto() {} + 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_monitoring_v3_SpanContext_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_SpanContext_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/monitoring/v3/span_context.prot" + + "o\022\024google.monitoring.v3\" \n\013SpanContext\022\021" + + "\n\tspan_name\030\001 \001(\tB\310\001\n\030com.google.monitor" + + "ing.v3B\020SpanContextProtoP\001Z>google.golan" + + "g.org/genproto/googleapis/monitoring/v3;" + + "monitoring\252\002\032Google.Cloud.Monitoring.V3\312" + + "\002\032Google\\Cloud\\Monitoring\\V3\352\002\035Google::C" + + "loud::Monitoring::V3b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_google_monitoring_v3_SpanContext_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_monitoring_v3_SpanContext_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_SpanContext_descriptor, + new java.lang.String[] { "SpanName", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TextLocator.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TextLocator.java similarity index 75% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TextLocator.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TextLocator.java index 46a435e9..8f86672e 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TextLocator.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TextLocator.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/monitoring/v3/metric.proto package com.google.monitoring.v3; /** - * - * *
  * A locator for text. Indicates a particular part of the text of a request or
  * of an object referenced in the request.
@@ -41,16 +24,15 @@
  *
  * Protobuf type {@code google.monitoring.v3.TextLocator}
  */
-public final class TextLocator extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class TextLocator extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.TextLocator)
     TextLocatorOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TextLocator.newBuilder() to construct.
   private TextLocator(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private TextLocator() {
     source_ = "";
     nestingReason_ = "";
@@ -58,15 +40,16 @@ private TextLocator() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TextLocator();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private TextLocator(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -85,166 +68,145 @@ private TextLocator(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              source_ = s;
-              break;
+            source_ = s;
+            break;
+          }
+          case 18: {
+            com.google.monitoring.v3.TextLocator.Position.Builder subBuilder = null;
+            if (startPosition_ != null) {
+              subBuilder = startPosition_.toBuilder();
             }
-          case 18:
-            {
-              com.google.monitoring.v3.TextLocator.Position.Builder subBuilder = null;
-              if (startPosition_ != null) {
-                subBuilder = startPosition_.toBuilder();
-              }
-              startPosition_ =
-                  input.readMessage(
-                      com.google.monitoring.v3.TextLocator.Position.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(startPosition_);
-                startPosition_ = subBuilder.buildPartial();
-              }
-
-              break;
+            startPosition_ = input.readMessage(com.google.monitoring.v3.TextLocator.Position.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(startPosition_);
+              startPosition_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.monitoring.v3.TextLocator.Position.Builder subBuilder = null;
-              if (endPosition_ != null) {
-                subBuilder = endPosition_.toBuilder();
-              }
-              endPosition_ =
-                  input.readMessage(
-                      com.google.monitoring.v3.TextLocator.Position.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(endPosition_);
-                endPosition_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 26: {
+            com.google.monitoring.v3.TextLocator.Position.Builder subBuilder = null;
+            if (endPosition_ != null) {
+              subBuilder = endPosition_.toBuilder();
             }
-          case 34:
-            {
-              com.google.monitoring.v3.TextLocator.Builder subBuilder = null;
-              if (nestedLocator_ != null) {
-                subBuilder = nestedLocator_.toBuilder();
-              }
-              nestedLocator_ =
-                  input.readMessage(
-                      com.google.monitoring.v3.TextLocator.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(nestedLocator_);
-                nestedLocator_ = subBuilder.buildPartial();
-              }
-
-              break;
+            endPosition_ = input.readMessage(com.google.monitoring.v3.TextLocator.Position.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(endPosition_);
+              endPosition_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              nestingReason_ = s;
-              break;
+            break;
+          }
+          case 34: {
+            com.google.monitoring.v3.TextLocator.Builder subBuilder = null;
+            if (nestedLocator_ != null) {
+              subBuilder = nestedLocator_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            nestedLocator_ = input.readMessage(com.google.monitoring.v3.TextLocator.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(nestedLocator_);
+              nestedLocator_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          case 42: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            nestingReason_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.monitoring.v3.MetricProto
-        .internal_static_google_monitoring_v3_TextLocator_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TextLocator_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.monitoring.v3.MetricProto
-        .internal_static_google_monitoring_v3_TextLocator_fieldAccessorTable
+    return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TextLocator_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.TextLocator.class,
-            com.google.monitoring.v3.TextLocator.Builder.class);
+            com.google.monitoring.v3.TextLocator.class, com.google.monitoring.v3.TextLocator.Builder.class);
   }
 
-  public interface PositionOrBuilder
-      extends
+  public interface PositionOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.monitoring.v3.TextLocator.Position)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The line, starting with 1, where the byte is positioned.
      * 
* * int32 line = 1; - * * @return The line. */ int getLine(); /** - * - * *
      * The column within the line, starting with 1, where the byte is
      * positioned. This is a byte index even though the text is UTF-8.
      * 
* * int32 column = 2; - * * @return The column. */ int getColumn(); } /** - * - * *
    * The position of a byte within the text.
    * 
* * Protobuf type {@code google.monitoring.v3.TextLocator.Position} */ - public static final class Position extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Position extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.TextLocator.Position) PositionOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Position.newBuilder() to construct. private Position(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Position() {} + private Position() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Position(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Position( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -263,61 +225,56 @@ private Position( case 0: done = true; break; - case 8: - { - line_ = input.readInt32(); - break; - } - case 16: - { - column_ = input.readInt32(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + + line_ = input.readInt32(); + break; + } + case 16: { + + column_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricProto - .internal_static_google_monitoring_v3_TextLocator_Position_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TextLocator_Position_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricProto - .internal_static_google_monitoring_v3_TextLocator_Position_fieldAccessorTable + return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TextLocator_Position_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.TextLocator.Position.class, - com.google.monitoring.v3.TextLocator.Position.Builder.class); + com.google.monitoring.v3.TextLocator.Position.class, com.google.monitoring.v3.TextLocator.Position.Builder.class); } public static final int LINE_FIELD_NUMBER = 1; private int line_; /** - * - * *
      * The line, starting with 1, where the byte is positioned.
      * 
* * int32 line = 1; - * * @return The line. */ @java.lang.Override @@ -328,15 +285,12 @@ public int getLine() { public static final int COLUMN_FIELD_NUMBER = 2; private int column_; /** - * - * *
      * The column within the line, starting with 1, where the byte is
      * positioned. This is a byte index even though the text is UTF-8.
      * 
* * int32 column = 2; - * * @return The column. */ @java.lang.Override @@ -345,7 +299,6 @@ public int getColumn() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -357,7 +310,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 (line_ != 0) { output.writeInt32(1, line_); } @@ -374,10 +328,12 @@ public int getSerializedSize() { size = 0; if (line_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, line_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, line_); } if (column_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, column_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, column_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -387,16 +343,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.monitoring.v3.TextLocator.Position)) { return super.equals(obj); } - com.google.monitoring.v3.TextLocator.Position other = - (com.google.monitoring.v3.TextLocator.Position) obj; + com.google.monitoring.v3.TextLocator.Position other = (com.google.monitoring.v3.TextLocator.Position) obj; - if (getLine() != other.getLine()) return false; - if (getColumn() != other.getColumn()) return false; + if (getLine() + != other.getLine()) return false; + if (getColumn() + != other.getColumn()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -417,94 +374,88 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.TextLocator.Position parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.TextLocator.Position parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.TextLocator.Position parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.TextLocator.Position parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.TextLocator.Position parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.TextLocator.Position parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.TextLocator.Position parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.TextLocator.Position 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.monitoring.v3.TextLocator.Position parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.TextLocator.Position parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.TextLocator.Position parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.TextLocator.Position parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.TextLocator.Position parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.TextLocator.Position parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.TextLocator.Position prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -514,32 +465,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * The position of a byte within the text.
      * 
* * Protobuf type {@code google.monitoring.v3.TextLocator.Position} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.TextLocator.Position) com.google.monitoring.v3.TextLocator.PositionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricProto - .internal_static_google_monitoring_v3_TextLocator_Position_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TextLocator_Position_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricProto - .internal_static_google_monitoring_v3_TextLocator_Position_fieldAccessorTable + return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TextLocator_Position_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.TextLocator.Position.class, - com.google.monitoring.v3.TextLocator.Position.Builder.class); + com.google.monitoring.v3.TextLocator.Position.class, com.google.monitoring.v3.TextLocator.Position.Builder.class); } // Construct using com.google.monitoring.v3.TextLocator.Position.newBuilder() @@ -547,15 +493,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -567,9 +514,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.MetricProto - .internal_static_google_monitoring_v3_TextLocator_Position_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TextLocator_Position_descriptor; } @java.lang.Override @@ -588,8 +535,7 @@ public com.google.monitoring.v3.TextLocator.Position build() { @java.lang.Override public com.google.monitoring.v3.TextLocator.Position buildPartial() { - com.google.monitoring.v3.TextLocator.Position result = - new com.google.monitoring.v3.TextLocator.Position(this); + com.google.monitoring.v3.TextLocator.Position result = new com.google.monitoring.v3.TextLocator.Position(this); result.line_ = line_; result.column_ = column_; onBuilt(); @@ -600,41 +546,38 @@ public com.google.monitoring.v3.TextLocator.Position 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.monitoring.v3.TextLocator.Position) { - return mergeFrom((com.google.monitoring.v3.TextLocator.Position) other); + return mergeFrom((com.google.monitoring.v3.TextLocator.Position)other); } else { super.mergeFrom(other); return this; @@ -642,8 +585,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.TextLocator.Position other) { - if (other == com.google.monitoring.v3.TextLocator.Position.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.TextLocator.Position.getDefaultInstance()) return this; if (other.getLine() != 0) { setLine(other.getLine()); } @@ -679,16 +621,13 @@ public Builder mergeFrom( return this; } - private int line_; + private int line_ ; /** - * - * *
        * The line, starting with 1, where the byte is positioned.
        * 
* * int32 line = 1; - * * @return The line. */ @java.lang.Override @@ -696,52 +635,43 @@ public int getLine() { return line_; } /** - * - * *
        * The line, starting with 1, where the byte is positioned.
        * 
* * int32 line = 1; - * * @param value The line to set. * @return This builder for chaining. */ public Builder setLine(int value) { - + line_ = value; onChanged(); return this; } /** - * - * *
        * The line, starting with 1, where the byte is positioned.
        * 
* * int32 line = 1; - * * @return This builder for chaining. */ public Builder clearLine() { - + line_ = 0; onChanged(); return this; } - private int column_; + private int column_ ; /** - * - * *
        * The column within the line, starting with 1, where the byte is
        * positioned. This is a byte index even though the text is UTF-8.
        * 
* * int32 column = 2; - * * @return The column. */ @java.lang.Override @@ -749,43 +679,36 @@ public int getColumn() { return column_; } /** - * - * *
        * The column within the line, starting with 1, where the byte is
        * positioned. This is a byte index even though the text is UTF-8.
        * 
* * int32 column = 2; - * * @param value The column to set. * @return This builder for chaining. */ public Builder setColumn(int value) { - + column_ = value; onChanged(); return this; } /** - * - * *
        * The column within the line, starting with 1, where the byte is
        * positioned. This is a byte index even though the text is UTF-8.
        * 
* * int32 column = 2; - * * @return This builder for chaining. */ public Builder clearColumn() { - + column_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -798,12 +721,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.TextLocator.Position) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.TextLocator.Position) private static final com.google.monitoring.v3.TextLocator.Position DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.TextLocator.Position(); } @@ -812,16 +735,16 @@ public static com.google.monitoring.v3.TextLocator.Position getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Position parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Position(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Position parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Position(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -836,13 +759,12 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.TextLocator.Position getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int SOURCE_FIELD_NUMBER = 1; private volatile java.lang.Object source_; /** - * - * *
    * The source of the text. The source may be a field in the request, in which
    * case its format is the format of the
@@ -854,7 +776,6 @@ public com.google.monitoring.v3.TextLocator.Position getDefaultInstanceForType()
    * 
* * string source = 1; - * * @return The source. */ @java.lang.Override @@ -863,15 +784,14 @@ public java.lang.String getSource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); source_ = s; return s; } } /** - * - * *
    * The source of the text. The source may be a field in the request, in which
    * case its format is the format of the
@@ -883,15 +803,16 @@ public java.lang.String getSource() {
    * 
* * string source = 1; - * * @return The bytes for source. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceBytes() { + public com.google.protobuf.ByteString + getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); source_ = b; return b; } else { @@ -902,14 +823,11 @@ public com.google.protobuf.ByteString getSourceBytes() { public static final int START_POSITION_FIELD_NUMBER = 2; private com.google.monitoring.v3.TextLocator.Position startPosition_; /** - * - * *
    * The position of the first byte within the text.
    * 
* * .google.monitoring.v3.TextLocator.Position start_position = 2; - * * @return Whether the startPosition field is set. */ @java.lang.Override @@ -917,25 +835,18 @@ public boolean hasStartPosition() { return startPosition_ != null; } /** - * - * *
    * The position of the first byte within the text.
    * 
* * .google.monitoring.v3.TextLocator.Position start_position = 2; - * * @return The startPosition. */ @java.lang.Override public com.google.monitoring.v3.TextLocator.Position getStartPosition() { - return startPosition_ == null - ? com.google.monitoring.v3.TextLocator.Position.getDefaultInstance() - : startPosition_; + return startPosition_ == null ? com.google.monitoring.v3.TextLocator.Position.getDefaultInstance() : startPosition_; } /** - * - * *
    * The position of the first byte within the text.
    * 
@@ -950,14 +861,11 @@ public com.google.monitoring.v3.TextLocator.PositionOrBuilder getStartPositionOr public static final int END_POSITION_FIELD_NUMBER = 3; private com.google.monitoring.v3.TextLocator.Position endPosition_; /** - * - * *
    * The position of the last byte within the text.
    * 
* * .google.monitoring.v3.TextLocator.Position end_position = 3; - * * @return Whether the endPosition field is set. */ @java.lang.Override @@ -965,25 +873,18 @@ public boolean hasEndPosition() { return endPosition_ != null; } /** - * - * *
    * The position of the last byte within the text.
    * 
* * .google.monitoring.v3.TextLocator.Position end_position = 3; - * * @return The endPosition. */ @java.lang.Override public com.google.monitoring.v3.TextLocator.Position getEndPosition() { - return endPosition_ == null - ? com.google.monitoring.v3.TextLocator.Position.getDefaultInstance() - : endPosition_; + return endPosition_ == null ? com.google.monitoring.v3.TextLocator.Position.getDefaultInstance() : endPosition_; } /** - * - * *
    * The position of the last byte within the text.
    * 
@@ -998,8 +899,6 @@ public com.google.monitoring.v3.TextLocator.PositionOrBuilder getEndPositionOrBu public static final int NESTED_LOCATOR_FIELD_NUMBER = 4; private com.google.monitoring.v3.TextLocator nestedLocator_; /** - * - * *
    * If `source`, `start_position`, and `end_position` describe a call on
    * some object (e.g. a macro in the time series query language text) and a
@@ -1008,7 +907,6 @@ public com.google.monitoring.v3.TextLocator.PositionOrBuilder getEndPositionOrBu
    * 
* * .google.monitoring.v3.TextLocator nested_locator = 4; - * * @return Whether the nestedLocator field is set. */ @java.lang.Override @@ -1016,8 +914,6 @@ public boolean hasNestedLocator() { return nestedLocator_ != null; } /** - * - * *
    * If `source`, `start_position`, and `end_position` describe a call on
    * some object (e.g. a macro in the time series query language text) and a
@@ -1026,18 +922,13 @@ public boolean hasNestedLocator() {
    * 
* * .google.monitoring.v3.TextLocator nested_locator = 4; - * * @return The nestedLocator. */ @java.lang.Override public com.google.monitoring.v3.TextLocator getNestedLocator() { - return nestedLocator_ == null - ? com.google.monitoring.v3.TextLocator.getDefaultInstance() - : nestedLocator_; + return nestedLocator_ == null ? com.google.monitoring.v3.TextLocator.getDefaultInstance() : nestedLocator_; } /** - * - * *
    * If `source`, `start_position`, and `end_position` describe a call on
    * some object (e.g. a macro in the time series query language text) and a
@@ -1055,8 +946,6 @@ public com.google.monitoring.v3.TextLocatorOrBuilder getNestedLocatorOrBuilder()
   public static final int NESTING_REASON_FIELD_NUMBER = 5;
   private volatile java.lang.Object nestingReason_;
   /**
-   *
-   *
    * 
    * When `nested_locator` is set, this field gives the reason for the nesting.
    * Usually, the reason is a macro invocation. In that case, the macro name
@@ -1067,7 +956,6 @@ public com.google.monitoring.v3.TextLocatorOrBuilder getNestedLocatorOrBuilder()
    * 
* * string nesting_reason = 5; - * * @return The nestingReason. */ @java.lang.Override @@ -1076,15 +964,14 @@ public java.lang.String getNestingReason() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nestingReason_ = s; return s; } } /** - * - * *
    * When `nested_locator` is set, this field gives the reason for the nesting.
    * Usually, the reason is a macro invocation. In that case, the macro name
@@ -1095,15 +982,16 @@ public java.lang.String getNestingReason() {
    * 
* * string nesting_reason = 5; - * * @return The bytes for nestingReason. */ @java.lang.Override - public com.google.protobuf.ByteString getNestingReasonBytes() { + public com.google.protobuf.ByteString + getNestingReasonBytes() { java.lang.Object ref = nestingReason_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nestingReason_ = b; return b; } else { @@ -1112,7 +1000,6 @@ public com.google.protobuf.ByteString getNestingReasonBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1124,7 +1011,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(source_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, source_); } @@ -1153,13 +1041,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, source_); } if (startPosition_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartPosition()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStartPosition()); } if (endPosition_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndPosition()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getEndPosition()); } if (nestedLocator_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getNestedLocator()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getNestedLocator()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nestingReason_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, nestingReason_); @@ -1172,27 +1063,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.TextLocator)) { return super.equals(obj); } com.google.monitoring.v3.TextLocator other = (com.google.monitoring.v3.TextLocator) obj; - if (!getSource().equals(other.getSource())) return false; + if (!getSource() + .equals(other.getSource())) return false; if (hasStartPosition() != other.hasStartPosition()) return false; if (hasStartPosition()) { - if (!getStartPosition().equals(other.getStartPosition())) return false; + if (!getStartPosition() + .equals(other.getStartPosition())) return false; } if (hasEndPosition() != other.hasEndPosition()) return false; if (hasEndPosition()) { - if (!getEndPosition().equals(other.getEndPosition())) return false; + if (!getEndPosition() + .equals(other.getEndPosition())) return false; } if (hasNestedLocator() != other.hasNestedLocator()) return false; if (hasNestedLocator()) { - if (!getNestedLocator().equals(other.getNestedLocator())) return false; + if (!getNestedLocator() + .equals(other.getNestedLocator())) return false; } - if (!getNestingReason().equals(other.getNestingReason())) return false; + if (!getNestingReason() + .equals(other.getNestingReason())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1225,103 +1121,97 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.TextLocator parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.TextLocator parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.TextLocator parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.TextLocator parseFrom(com.google.protobuf.ByteString data) + public static com.google.monitoring.v3.TextLocator parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.TextLocator parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.TextLocator parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.TextLocator parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.TextLocator 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.monitoring.v3.TextLocator parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.TextLocator parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.TextLocator parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.TextLocator parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.TextLocator parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.TextLocator prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 locator for text. Indicates a particular part of the text of a request or
    * of an object referenced in the request.
@@ -1342,23 +1232,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.monitoring.v3.TextLocator}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.TextLocator)
       com.google.monitoring.v3.TextLocatorOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.monitoring.v3.MetricProto
-          .internal_static_google_monitoring_v3_TextLocator_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TextLocator_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.MetricProto
-          .internal_static_google_monitoring_v3_TextLocator_fieldAccessorTable
+      return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TextLocator_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.TextLocator.class,
-              com.google.monitoring.v3.TextLocator.Builder.class);
+              com.google.monitoring.v3.TextLocator.class, com.google.monitoring.v3.TextLocator.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.TextLocator.newBuilder()
@@ -1366,15 +1254,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1404,9 +1293,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.monitoring.v3.MetricProto
-          .internal_static_google_monitoring_v3_TextLocator_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TextLocator_descriptor;
     }
 
     @java.lang.Override
@@ -1451,39 +1340,38 @@ public com.google.monitoring.v3.TextLocator 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.monitoring.v3.TextLocator) {
-        return mergeFrom((com.google.monitoring.v3.TextLocator) other);
+        return mergeFrom((com.google.monitoring.v3.TextLocator)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1540,8 +1428,6 @@ public Builder mergeFrom(
 
     private java.lang.Object source_ = "";
     /**
-     *
-     *
      * 
      * The source of the text. The source may be a field in the request, in which
      * case its format is the format of the
@@ -1553,13 +1439,13 @@ public Builder mergeFrom(
      * 
* * string source = 1; - * * @return The source. */ public java.lang.String getSource() { java.lang.Object ref = source_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); source_ = s; return s; @@ -1568,8 +1454,6 @@ public java.lang.String getSource() { } } /** - * - * *
      * The source of the text. The source may be a field in the request, in which
      * case its format is the format of the
@@ -1581,14 +1465,15 @@ public java.lang.String getSource() {
      * 
* * string source = 1; - * * @return The bytes for source. */ - public com.google.protobuf.ByteString getSourceBytes() { + public com.google.protobuf.ByteString + getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); source_ = b; return b; } else { @@ -1596,8 +1481,6 @@ public com.google.protobuf.ByteString getSourceBytes() { } } /** - * - * *
      * The source of the text. The source may be a field in the request, in which
      * case its format is the format of the
@@ -1609,22 +1492,20 @@ public com.google.protobuf.ByteString getSourceBytes() {
      * 
* * string source = 1; - * * @param value The source to set. * @return This builder for chaining. */ - public Builder setSource(java.lang.String value) { + public Builder setSource( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + source_ = value; onChanged(); return this; } /** - * - * *
      * The source of the text. The source may be a field in the request, in which
      * case its format is the format of the
@@ -1636,18 +1517,15 @@ public Builder setSource(java.lang.String value) {
      * 
* * string source = 1; - * * @return This builder for chaining. */ public Builder clearSource() { - + source_ = getDefaultInstance().getSource(); onChanged(); return this; } /** - * - * *
      * The source of the text. The source may be a field in the request, in which
      * case its format is the format of the
@@ -1659,16 +1537,16 @@ public Builder clearSource() {
      * 
* * string source = 1; - * * @param value The bytes for source to set. * @return This builder for chaining. */ - public Builder setSourceBytes(com.google.protobuf.ByteString value) { + public Builder setSourceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + source_ = value; onChanged(); return this; @@ -1676,47 +1554,34 @@ public Builder setSourceBytes(com.google.protobuf.ByteString value) { private com.google.monitoring.v3.TextLocator.Position startPosition_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TextLocator.Position, - com.google.monitoring.v3.TextLocator.Position.Builder, - com.google.monitoring.v3.TextLocator.PositionOrBuilder> - startPositionBuilder_; + com.google.monitoring.v3.TextLocator.Position, com.google.monitoring.v3.TextLocator.Position.Builder, com.google.monitoring.v3.TextLocator.PositionOrBuilder> startPositionBuilder_; /** - * - * *
      * The position of the first byte within the text.
      * 
* * .google.monitoring.v3.TextLocator.Position start_position = 2; - * * @return Whether the startPosition field is set. */ public boolean hasStartPosition() { return startPositionBuilder_ != null || startPosition_ != null; } /** - * - * *
      * The position of the first byte within the text.
      * 
* * .google.monitoring.v3.TextLocator.Position start_position = 2; - * * @return The startPosition. */ public com.google.monitoring.v3.TextLocator.Position getStartPosition() { if (startPositionBuilder_ == null) { - return startPosition_ == null - ? com.google.monitoring.v3.TextLocator.Position.getDefaultInstance() - : startPosition_; + return startPosition_ == null ? com.google.monitoring.v3.TextLocator.Position.getDefaultInstance() : startPosition_; } else { return startPositionBuilder_.getMessage(); } } /** - * - * *
      * The position of the first byte within the text.
      * 
@@ -1737,8 +1602,6 @@ public Builder setStartPosition(com.google.monitoring.v3.TextLocator.Position va return this; } /** - * - * *
      * The position of the first byte within the text.
      * 
@@ -1757,8 +1620,6 @@ public Builder setStartPosition( return this; } /** - * - * *
      * The position of the first byte within the text.
      * 
@@ -1769,9 +1630,7 @@ public Builder mergeStartPosition(com.google.monitoring.v3.TextLocator.Position if (startPositionBuilder_ == null) { if (startPosition_ != null) { startPosition_ = - com.google.monitoring.v3.TextLocator.Position.newBuilder(startPosition_) - .mergeFrom(value) - .buildPartial(); + com.google.monitoring.v3.TextLocator.Position.newBuilder(startPosition_).mergeFrom(value).buildPartial(); } else { startPosition_ = value; } @@ -1783,8 +1642,6 @@ public Builder mergeStartPosition(com.google.monitoring.v3.TextLocator.Position return this; } /** - * - * *
      * The position of the first byte within the text.
      * 
@@ -1803,8 +1660,6 @@ public Builder clearStartPosition() { return this; } /** - * - * *
      * The position of the first byte within the text.
      * 
@@ -1812,13 +1667,11 @@ public Builder clearStartPosition() { * .google.monitoring.v3.TextLocator.Position start_position = 2; */ public com.google.monitoring.v3.TextLocator.Position.Builder getStartPositionBuilder() { - + onChanged(); return getStartPositionFieldBuilder().getBuilder(); } /** - * - * *
      * The position of the first byte within the text.
      * 
@@ -1829,14 +1682,11 @@ public com.google.monitoring.v3.TextLocator.PositionOrBuilder getStartPositionOr if (startPositionBuilder_ != null) { return startPositionBuilder_.getMessageOrBuilder(); } else { - return startPosition_ == null - ? com.google.monitoring.v3.TextLocator.Position.getDefaultInstance() - : startPosition_; + return startPosition_ == null ? + com.google.monitoring.v3.TextLocator.Position.getDefaultInstance() : startPosition_; } } /** - * - * *
      * The position of the first byte within the text.
      * 
@@ -1844,17 +1694,14 @@ public com.google.monitoring.v3.TextLocator.PositionOrBuilder getStartPositionOr * .google.monitoring.v3.TextLocator.Position start_position = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TextLocator.Position, - com.google.monitoring.v3.TextLocator.Position.Builder, - com.google.monitoring.v3.TextLocator.PositionOrBuilder> + com.google.monitoring.v3.TextLocator.Position, com.google.monitoring.v3.TextLocator.Position.Builder, com.google.monitoring.v3.TextLocator.PositionOrBuilder> getStartPositionFieldBuilder() { if (startPositionBuilder_ == null) { - startPositionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TextLocator.Position, - com.google.monitoring.v3.TextLocator.Position.Builder, - com.google.monitoring.v3.TextLocator.PositionOrBuilder>( - getStartPosition(), getParentForChildren(), isClean()); + startPositionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.TextLocator.Position, com.google.monitoring.v3.TextLocator.Position.Builder, com.google.monitoring.v3.TextLocator.PositionOrBuilder>( + getStartPosition(), + getParentForChildren(), + isClean()); startPosition_ = null; } return startPositionBuilder_; @@ -1862,47 +1709,34 @@ public com.google.monitoring.v3.TextLocator.PositionOrBuilder getStartPositionOr private com.google.monitoring.v3.TextLocator.Position endPosition_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TextLocator.Position, - com.google.monitoring.v3.TextLocator.Position.Builder, - com.google.monitoring.v3.TextLocator.PositionOrBuilder> - endPositionBuilder_; + com.google.monitoring.v3.TextLocator.Position, com.google.monitoring.v3.TextLocator.Position.Builder, com.google.monitoring.v3.TextLocator.PositionOrBuilder> endPositionBuilder_; /** - * - * *
      * The position of the last byte within the text.
      * 
* * .google.monitoring.v3.TextLocator.Position end_position = 3; - * * @return Whether the endPosition field is set. */ public boolean hasEndPosition() { return endPositionBuilder_ != null || endPosition_ != null; } /** - * - * *
      * The position of the last byte within the text.
      * 
* * .google.monitoring.v3.TextLocator.Position end_position = 3; - * * @return The endPosition. */ public com.google.monitoring.v3.TextLocator.Position getEndPosition() { if (endPositionBuilder_ == null) { - return endPosition_ == null - ? com.google.monitoring.v3.TextLocator.Position.getDefaultInstance() - : endPosition_; + return endPosition_ == null ? com.google.monitoring.v3.TextLocator.Position.getDefaultInstance() : endPosition_; } else { return endPositionBuilder_.getMessage(); } } /** - * - * *
      * The position of the last byte within the text.
      * 
@@ -1923,8 +1757,6 @@ public Builder setEndPosition(com.google.monitoring.v3.TextLocator.Position valu return this; } /** - * - * *
      * The position of the last byte within the text.
      * 
@@ -1943,8 +1775,6 @@ public Builder setEndPosition( return this; } /** - * - * *
      * The position of the last byte within the text.
      * 
@@ -1955,9 +1785,7 @@ public Builder mergeEndPosition(com.google.monitoring.v3.TextLocator.Position va if (endPositionBuilder_ == null) { if (endPosition_ != null) { endPosition_ = - com.google.monitoring.v3.TextLocator.Position.newBuilder(endPosition_) - .mergeFrom(value) - .buildPartial(); + com.google.monitoring.v3.TextLocator.Position.newBuilder(endPosition_).mergeFrom(value).buildPartial(); } else { endPosition_ = value; } @@ -1969,8 +1797,6 @@ public Builder mergeEndPosition(com.google.monitoring.v3.TextLocator.Position va return this; } /** - * - * *
      * The position of the last byte within the text.
      * 
@@ -1989,8 +1815,6 @@ public Builder clearEndPosition() { return this; } /** - * - * *
      * The position of the last byte within the text.
      * 
@@ -1998,13 +1822,11 @@ public Builder clearEndPosition() { * .google.monitoring.v3.TextLocator.Position end_position = 3; */ public com.google.monitoring.v3.TextLocator.Position.Builder getEndPositionBuilder() { - + onChanged(); return getEndPositionFieldBuilder().getBuilder(); } /** - * - * *
      * The position of the last byte within the text.
      * 
@@ -2015,14 +1837,11 @@ public com.google.monitoring.v3.TextLocator.PositionOrBuilder getEndPositionOrBu if (endPositionBuilder_ != null) { return endPositionBuilder_.getMessageOrBuilder(); } else { - return endPosition_ == null - ? com.google.monitoring.v3.TextLocator.Position.getDefaultInstance() - : endPosition_; + return endPosition_ == null ? + com.google.monitoring.v3.TextLocator.Position.getDefaultInstance() : endPosition_; } } /** - * - * *
      * The position of the last byte within the text.
      * 
@@ -2030,17 +1849,14 @@ public com.google.monitoring.v3.TextLocator.PositionOrBuilder getEndPositionOrBu * .google.monitoring.v3.TextLocator.Position end_position = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TextLocator.Position, - com.google.monitoring.v3.TextLocator.Position.Builder, - com.google.monitoring.v3.TextLocator.PositionOrBuilder> + com.google.monitoring.v3.TextLocator.Position, com.google.monitoring.v3.TextLocator.Position.Builder, com.google.monitoring.v3.TextLocator.PositionOrBuilder> getEndPositionFieldBuilder() { if (endPositionBuilder_ == null) { - endPositionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TextLocator.Position, - com.google.monitoring.v3.TextLocator.Position.Builder, - com.google.monitoring.v3.TextLocator.PositionOrBuilder>( - getEndPosition(), getParentForChildren(), isClean()); + endPositionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.TextLocator.Position, com.google.monitoring.v3.TextLocator.Position.Builder, com.google.monitoring.v3.TextLocator.PositionOrBuilder>( + getEndPosition(), + getParentForChildren(), + isClean()); endPosition_ = null; } return endPositionBuilder_; @@ -2048,13 +1864,8 @@ public com.google.monitoring.v3.TextLocator.PositionOrBuilder getEndPositionOrBu private com.google.monitoring.v3.TextLocator nestedLocator_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TextLocator, - com.google.monitoring.v3.TextLocator.Builder, - com.google.monitoring.v3.TextLocatorOrBuilder> - nestedLocatorBuilder_; + com.google.monitoring.v3.TextLocator, com.google.monitoring.v3.TextLocator.Builder, com.google.monitoring.v3.TextLocatorOrBuilder> nestedLocatorBuilder_; /** - * - * *
      * If `source`, `start_position`, and `end_position` describe a call on
      * some object (e.g. a macro in the time series query language text) and a
@@ -2063,15 +1874,12 @@ public com.google.monitoring.v3.TextLocator.PositionOrBuilder getEndPositionOrBu
      * 
* * .google.monitoring.v3.TextLocator nested_locator = 4; - * * @return Whether the nestedLocator field is set. */ public boolean hasNestedLocator() { return nestedLocatorBuilder_ != null || nestedLocator_ != null; } /** - * - * *
      * If `source`, `start_position`, and `end_position` describe a call on
      * some object (e.g. a macro in the time series query language text) and a
@@ -2080,21 +1888,16 @@ public boolean hasNestedLocator() {
      * 
* * .google.monitoring.v3.TextLocator nested_locator = 4; - * * @return The nestedLocator. */ public com.google.monitoring.v3.TextLocator getNestedLocator() { if (nestedLocatorBuilder_ == null) { - return nestedLocator_ == null - ? com.google.monitoring.v3.TextLocator.getDefaultInstance() - : nestedLocator_; + return nestedLocator_ == null ? com.google.monitoring.v3.TextLocator.getDefaultInstance() : nestedLocator_; } else { return nestedLocatorBuilder_.getMessage(); } } /** - * - * *
      * If `source`, `start_position`, and `end_position` describe a call on
      * some object (e.g. a macro in the time series query language text) and a
@@ -2118,8 +1921,6 @@ public Builder setNestedLocator(com.google.monitoring.v3.TextLocator value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If `source`, `start_position`, and `end_position` describe a call on
      * some object (e.g. a macro in the time series query language text) and a
@@ -2129,7 +1930,8 @@ public Builder setNestedLocator(com.google.monitoring.v3.TextLocator value) {
      *
      * .google.monitoring.v3.TextLocator nested_locator = 4;
      */
-    public Builder setNestedLocator(com.google.monitoring.v3.TextLocator.Builder builderForValue) {
+    public Builder setNestedLocator(
+        com.google.monitoring.v3.TextLocator.Builder builderForValue) {
       if (nestedLocatorBuilder_ == null) {
         nestedLocator_ = builderForValue.build();
         onChanged();
@@ -2140,8 +1942,6 @@ public Builder setNestedLocator(com.google.monitoring.v3.TextLocator.Builder bui
       return this;
     }
     /**
-     *
-     *
      * 
      * If `source`, `start_position`, and `end_position` describe a call on
      * some object (e.g. a macro in the time series query language text) and a
@@ -2155,9 +1955,7 @@ public Builder mergeNestedLocator(com.google.monitoring.v3.TextLocator value) {
       if (nestedLocatorBuilder_ == null) {
         if (nestedLocator_ != null) {
           nestedLocator_ =
-              com.google.monitoring.v3.TextLocator.newBuilder(nestedLocator_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.monitoring.v3.TextLocator.newBuilder(nestedLocator_).mergeFrom(value).buildPartial();
         } else {
           nestedLocator_ = value;
         }
@@ -2169,8 +1967,6 @@ public Builder mergeNestedLocator(com.google.monitoring.v3.TextLocator value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If `source`, `start_position`, and `end_position` describe a call on
      * some object (e.g. a macro in the time series query language text) and a
@@ -2192,8 +1988,6 @@ public Builder clearNestedLocator() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If `source`, `start_position`, and `end_position` describe a call on
      * some object (e.g. a macro in the time series query language text) and a
@@ -2204,13 +1998,11 @@ public Builder clearNestedLocator() {
      * .google.monitoring.v3.TextLocator nested_locator = 4;
      */
     public com.google.monitoring.v3.TextLocator.Builder getNestedLocatorBuilder() {
-
+      
       onChanged();
       return getNestedLocatorFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If `source`, `start_position`, and `end_position` describe a call on
      * some object (e.g. a macro in the time series query language text) and a
@@ -2224,14 +2016,11 @@ public com.google.monitoring.v3.TextLocatorOrBuilder getNestedLocatorOrBuilder()
       if (nestedLocatorBuilder_ != null) {
         return nestedLocatorBuilder_.getMessageOrBuilder();
       } else {
-        return nestedLocator_ == null
-            ? com.google.monitoring.v3.TextLocator.getDefaultInstance()
-            : nestedLocator_;
+        return nestedLocator_ == null ?
+            com.google.monitoring.v3.TextLocator.getDefaultInstance() : nestedLocator_;
       }
     }
     /**
-     *
-     *
      * 
      * If `source`, `start_position`, and `end_position` describe a call on
      * some object (e.g. a macro in the time series query language text) and a
@@ -2242,17 +2031,14 @@ public com.google.monitoring.v3.TextLocatorOrBuilder getNestedLocatorOrBuilder()
      * .google.monitoring.v3.TextLocator nested_locator = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.TextLocator,
-            com.google.monitoring.v3.TextLocator.Builder,
-            com.google.monitoring.v3.TextLocatorOrBuilder>
+        com.google.monitoring.v3.TextLocator, com.google.monitoring.v3.TextLocator.Builder, com.google.monitoring.v3.TextLocatorOrBuilder> 
         getNestedLocatorFieldBuilder() {
       if (nestedLocatorBuilder_ == null) {
-        nestedLocatorBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.monitoring.v3.TextLocator,
-                com.google.monitoring.v3.TextLocator.Builder,
-                com.google.monitoring.v3.TextLocatorOrBuilder>(
-                getNestedLocator(), getParentForChildren(), isClean());
+        nestedLocatorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.monitoring.v3.TextLocator, com.google.monitoring.v3.TextLocator.Builder, com.google.monitoring.v3.TextLocatorOrBuilder>(
+                getNestedLocator(),
+                getParentForChildren(),
+                isClean());
         nestedLocator_ = null;
       }
       return nestedLocatorBuilder_;
@@ -2260,8 +2046,6 @@ public com.google.monitoring.v3.TextLocatorOrBuilder getNestedLocatorOrBuilder()
 
     private java.lang.Object nestingReason_ = "";
     /**
-     *
-     *
      * 
      * When `nested_locator` is set, this field gives the reason for the nesting.
      * Usually, the reason is a macro invocation. In that case, the macro name
@@ -2272,13 +2056,13 @@ public com.google.monitoring.v3.TextLocatorOrBuilder getNestedLocatorOrBuilder()
      * 
* * string nesting_reason = 5; - * * @return The nestingReason. */ public java.lang.String getNestingReason() { java.lang.Object ref = nestingReason_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nestingReason_ = s; return s; @@ -2287,8 +2071,6 @@ public java.lang.String getNestingReason() { } } /** - * - * *
      * When `nested_locator` is set, this field gives the reason for the nesting.
      * Usually, the reason is a macro invocation. In that case, the macro name
@@ -2299,14 +2081,15 @@ public java.lang.String getNestingReason() {
      * 
* * string nesting_reason = 5; - * * @return The bytes for nestingReason. */ - public com.google.protobuf.ByteString getNestingReasonBytes() { + public com.google.protobuf.ByteString + getNestingReasonBytes() { java.lang.Object ref = nestingReason_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nestingReason_ = b; return b; } else { @@ -2314,8 +2097,6 @@ public com.google.protobuf.ByteString getNestingReasonBytes() { } } /** - * - * *
      * When `nested_locator` is set, this field gives the reason for the nesting.
      * Usually, the reason is a macro invocation. In that case, the macro name
@@ -2326,22 +2107,20 @@ public com.google.protobuf.ByteString getNestingReasonBytes() {
      * 
* * string nesting_reason = 5; - * * @param value The nestingReason to set. * @return This builder for chaining. */ - public Builder setNestingReason(java.lang.String value) { + public Builder setNestingReason( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nestingReason_ = value; onChanged(); return this; } /** - * - * *
      * When `nested_locator` is set, this field gives the reason for the nesting.
      * Usually, the reason is a macro invocation. In that case, the macro name
@@ -2352,18 +2131,15 @@ public Builder setNestingReason(java.lang.String value) {
      * 
* * string nesting_reason = 5; - * * @return This builder for chaining. */ public Builder clearNestingReason() { - + nestingReason_ = getDefaultInstance().getNestingReason(); onChanged(); return this; } /** - * - * *
      * When `nested_locator` is set, this field gives the reason for the nesting.
      * Usually, the reason is a macro invocation. In that case, the macro name
@@ -2374,23 +2150,23 @@ public Builder clearNestingReason() {
      * 
* * string nesting_reason = 5; - * * @param value The bytes for nestingReason to set. * @return This builder for chaining. */ - public Builder setNestingReasonBytes(com.google.protobuf.ByteString value) { + public Builder setNestingReasonBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nestingReason_ = 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); } @@ -2400,12 +2176,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.TextLocator) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.TextLocator) private static final com.google.monitoring.v3.TextLocator DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.TextLocator(); } @@ -2414,16 +2190,16 @@ public static com.google.monitoring.v3.TextLocator getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TextLocator parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TextLocator(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TextLocator parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TextLocator(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2438,4 +2214,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.TextLocator getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TextLocatorOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TextLocatorOrBuilder.java similarity index 85% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TextLocatorOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TextLocatorOrBuilder.java index 4e8f1960..cbf6e25a 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TextLocatorOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TextLocatorOrBuilder.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/monitoring/v3/metric.proto package com.google.monitoring.v3; -public interface TextLocatorOrBuilder - extends +public interface TextLocatorOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.TextLocator) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The source of the text. The source may be a field in the request, in which
    * case its format is the format of the
@@ -37,13 +19,10 @@ public interface TextLocatorOrBuilder
    * 
* * string source = 1; - * * @return The source. */ java.lang.String getSource(); /** - * - * *
    * The source of the text. The source may be a field in the request, in which
    * case its format is the format of the
@@ -55,38 +34,30 @@ public interface TextLocatorOrBuilder
    * 
* * string source = 1; - * * @return The bytes for source. */ - com.google.protobuf.ByteString getSourceBytes(); + com.google.protobuf.ByteString + getSourceBytes(); /** - * - * *
    * The position of the first byte within the text.
    * 
* * .google.monitoring.v3.TextLocator.Position start_position = 2; - * * @return Whether the startPosition field is set. */ boolean hasStartPosition(); /** - * - * *
    * The position of the first byte within the text.
    * 
* * .google.monitoring.v3.TextLocator.Position start_position = 2; - * * @return The startPosition. */ com.google.monitoring.v3.TextLocator.Position getStartPosition(); /** - * - * *
    * The position of the first byte within the text.
    * 
@@ -96,32 +67,24 @@ public interface TextLocatorOrBuilder com.google.monitoring.v3.TextLocator.PositionOrBuilder getStartPositionOrBuilder(); /** - * - * *
    * The position of the last byte within the text.
    * 
* * .google.monitoring.v3.TextLocator.Position end_position = 3; - * * @return Whether the endPosition field is set. */ boolean hasEndPosition(); /** - * - * *
    * The position of the last byte within the text.
    * 
* * .google.monitoring.v3.TextLocator.Position end_position = 3; - * * @return The endPosition. */ com.google.monitoring.v3.TextLocator.Position getEndPosition(); /** - * - * *
    * The position of the last byte within the text.
    * 
@@ -131,8 +94,6 @@ public interface TextLocatorOrBuilder com.google.monitoring.v3.TextLocator.PositionOrBuilder getEndPositionOrBuilder(); /** - * - * *
    * If `source`, `start_position`, and `end_position` describe a call on
    * some object (e.g. a macro in the time series query language text) and a
@@ -141,13 +102,10 @@ public interface TextLocatorOrBuilder
    * 
* * .google.monitoring.v3.TextLocator nested_locator = 4; - * * @return Whether the nestedLocator field is set. */ boolean hasNestedLocator(); /** - * - * *
    * If `source`, `start_position`, and `end_position` describe a call on
    * some object (e.g. a macro in the time series query language text) and a
@@ -156,13 +114,10 @@ public interface TextLocatorOrBuilder
    * 
* * .google.monitoring.v3.TextLocator nested_locator = 4; - * * @return The nestedLocator. */ com.google.monitoring.v3.TextLocator getNestedLocator(); /** - * - * *
    * If `source`, `start_position`, and `end_position` describe a call on
    * some object (e.g. a macro in the time series query language text) and a
@@ -175,8 +130,6 @@ public interface TextLocatorOrBuilder
   com.google.monitoring.v3.TextLocatorOrBuilder getNestedLocatorOrBuilder();
 
   /**
-   *
-   *
    * 
    * When `nested_locator` is set, this field gives the reason for the nesting.
    * Usually, the reason is a macro invocation. In that case, the macro name
@@ -187,13 +140,10 @@ public interface TextLocatorOrBuilder
    * 
* * string nesting_reason = 5; - * * @return The nestingReason. */ java.lang.String getNestingReason(); /** - * - * *
    * When `nested_locator` is set, this field gives the reason for the nesting.
    * Usually, the reason is a macro invocation. In that case, the macro name
@@ -204,8 +154,8 @@ public interface TextLocatorOrBuilder
    * 
* * string nesting_reason = 5; - * * @return The bytes for nestingReason. */ - com.google.protobuf.ByteString getNestingReasonBytes(); + com.google.protobuf.ByteString + getNestingReasonBytes(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeInterval.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeInterval.java similarity index 75% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeInterval.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeInterval.java index f1b9b894..985c4027 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeInterval.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeInterval.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/monitoring/v3/common.proto package com.google.monitoring.v3; /** - * - * *
  * A closed time interval. It extends from the start time to the end time, and includes both: `[startTime, endTime]`. Valid time intervals depend on the [`MetricKind`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors#MetricKind) of the metric value. The end time must not be earlier than the start time. When writing data points, the start time must not be more than 25 hours in the past and the end time must not be more than five minutes in the future.
  * * For `GAUGE` metrics, the `startTime` value is technically optional; if
@@ -36,7 +19,7 @@
  *   the next interval must be at least a millisecond after the end time
  *   of the previous interval.
  * * For `CUMULATIVE` metrics, the start time and end time must specify a
- *   a non-zero interval, with subsequent points specifying the same
+ *   non-zero interval, with subsequent points specifying the same
  *   start time and increasing end times, until an event resets the
  *   cumulative value to zero and sets a new start time for the following
  *   points. The new start time must be at least a millisecond after the
@@ -50,29 +33,30 @@
  *
  * Protobuf type {@code google.monitoring.v3.TimeInterval}
  */
-public final class TimeInterval extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class TimeInterval extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.TimeInterval)
     TimeIntervalOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TimeInterval.newBuilder() to construct.
   private TimeInterval(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private TimeInterval() {}
+  private TimeInterval() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TimeInterval();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private TimeInterval(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -91,81 +75,72 @@ private TimeInterval(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (startTime_ != null) {
-                subBuilder = startTime_.toBuilder();
-              }
-              startTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(startTime_);
-                startTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (startTime_ != null) {
+              subBuilder = startTime_.toBuilder();
+            }
+            startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(startTime_);
+              startTime_ = subBuilder.buildPartial();
             }
-          case 18:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (endTime_ != null) {
-                subBuilder = endTime_.toBuilder();
-              }
-              endTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(endTime_);
-                endTime_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (endTime_ != null) {
+              subBuilder = endTime_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(endTime_);
+              endTime_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.monitoring.v3.CommonProto
-        .internal_static_google_monitoring_v3_TimeInterval_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.monitoring.v3.CommonProto.internal_static_google_monitoring_v3_TimeInterval_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.monitoring.v3.CommonProto
-        .internal_static_google_monitoring_v3_TimeInterval_fieldAccessorTable
+    return com.google.monitoring.v3.CommonProto.internal_static_google_monitoring_v3_TimeInterval_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.TimeInterval.class,
-            com.google.monitoring.v3.TimeInterval.Builder.class);
+            com.google.monitoring.v3.TimeInterval.class, com.google.monitoring.v3.TimeInterval.Builder.class);
   }
 
   public static final int END_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Timestamp endTime_;
   /**
-   *
-   *
    * 
    * Required. The end of the time interval.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -173,14 +148,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * Required. The end of the time interval.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ @java.lang.Override @@ -188,8 +160,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Required. The end of the time interval.
    * 
@@ -204,8 +174,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int START_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Optional. The beginning of the time interval.  The default value
    * for the start time is the end time. The start time must not be
@@ -213,7 +181,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -221,8 +188,6 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * Optional. The beginning of the time interval.  The default value
    * for the start time is the end time. The start time must not be
@@ -230,7 +195,6 @@ public boolean hasStartTime() {
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ @java.lang.Override @@ -238,8 +202,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Optional. The beginning of the time interval.  The default value
    * for the start time is the end time. The start time must not be
@@ -254,7 +216,6 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -266,7 +227,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (startTime_ != null) {
       output.writeMessage(1, getStartTime());
     }
@@ -283,10 +245,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (startTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getStartTime());
     }
     if (endTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getEndTime());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -296,7 +260,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.monitoring.v3.TimeInterval)) {
       return super.equals(obj);
@@ -305,11 +269,13 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime().equals(other.getEndTime())) return false;
+      if (!getEndTime()
+          .equals(other.getEndTime())) 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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -335,103 +301,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.monitoring.v3.TimeInterval parseFrom(java.nio.ByteBuffer data)
+  public static com.google.monitoring.v3.TimeInterval parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.monitoring.v3.TimeInterval parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.monitoring.v3.TimeInterval parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.monitoring.v3.TimeInterval parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.monitoring.v3.TimeInterval parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.monitoring.v3.TimeInterval parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.monitoring.v3.TimeInterval parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.monitoring.v3.TimeInterval 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.monitoring.v3.TimeInterval parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.monitoring.v3.TimeInterval parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.monitoring.v3.TimeInterval parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.monitoring.v3.TimeInterval parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.monitoring.v3.TimeInterval parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.monitoring.v3.TimeInterval prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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 closed time interval. It extends from the start time to the end time, and includes both: `[startTime, endTime]`. Valid time intervals depend on the [`MetricKind`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors#MetricKind) of the metric value. The end time must not be earlier than the start time. When writing data points, the start time must not be more than 25 hours in the past and the end time must not be more than five minutes in the future.
    * * For `GAUGE` metrics, the `startTime` value is technically optional; if
@@ -447,7 +407,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *   the next interval must be at least a millisecond after the end time
    *   of the previous interval.
    * * For `CUMULATIVE` metrics, the start time and end time must specify a
-   *   a non-zero interval, with subsequent points specifying the same
+   *   non-zero interval, with subsequent points specifying the same
    *   start time and increasing end times, until an event resets the
    *   cumulative value to zero and sets a new start time for the following
    *   points. The new start time must be at least a millisecond after the
@@ -461,23 +421,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.monitoring.v3.TimeInterval}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.TimeInterval)
       com.google.monitoring.v3.TimeIntervalOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.monitoring.v3.CommonProto
-          .internal_static_google_monitoring_v3_TimeInterval_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.monitoring.v3.CommonProto.internal_static_google_monitoring_v3_TimeInterval_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.CommonProto
-          .internal_static_google_monitoring_v3_TimeInterval_fieldAccessorTable
+      return com.google.monitoring.v3.CommonProto.internal_static_google_monitoring_v3_TimeInterval_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.TimeInterval.class,
-              com.google.monitoring.v3.TimeInterval.Builder.class);
+              com.google.monitoring.v3.TimeInterval.class, com.google.monitoring.v3.TimeInterval.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.TimeInterval.newBuilder()
@@ -485,15 +443,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -513,9 +472,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.monitoring.v3.CommonProto
-          .internal_static_google_monitoring_v3_TimeInterval_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.monitoring.v3.CommonProto.internal_static_google_monitoring_v3_TimeInterval_descriptor;
     }
 
     @java.lang.Override
@@ -534,8 +493,7 @@ public com.google.monitoring.v3.TimeInterval build() {
 
     @java.lang.Override
     public com.google.monitoring.v3.TimeInterval buildPartial() {
-      com.google.monitoring.v3.TimeInterval result =
-          new com.google.monitoring.v3.TimeInterval(this);
+      com.google.monitoring.v3.TimeInterval result = new com.google.monitoring.v3.TimeInterval(this);
       if (endTimeBuilder_ == null) {
         result.endTime_ = endTime_;
       } else {
@@ -554,39 +512,38 @@ public com.google.monitoring.v3.TimeInterval 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.monitoring.v3.TimeInterval) {
-        return mergeFrom((com.google.monitoring.v3.TimeInterval) other);
+        return mergeFrom((com.google.monitoring.v3.TimeInterval)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -632,33 +589,24 @@ public Builder mergeFrom(
 
     private com.google.protobuf.Timestamp endTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        endTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_;
     /**
-     *
-     *
      * 
      * Required. The end of the time interval.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * Required. The end of the time interval.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -669,8 +617,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Required. The end of the time interval.
      * 
@@ -691,15 +637,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The end of the time interval.
      * 
* * .google.protobuf.Timestamp end_time = 2; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -710,8 +655,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Required. The end of the time interval.
      * 
@@ -722,7 +665,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -734,8 +677,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The end of the time interval.
      * 
@@ -754,8 +695,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Required. The end of the time interval.
      * 
@@ -763,13 +702,11 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 2; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The end of the time interval.
      * 
@@ -780,12 +717,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * Required. The end of the time interval.
      * 
@@ -793,17 +729,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_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> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; @@ -811,13 +744,8 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
@@ -825,15 +753,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
@@ -841,7 +766,6 @@ public boolean hasStartTime() {
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -852,8 +776,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
@@ -876,8 +798,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
@@ -886,7 +806,8 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp start_time = 1;
      */
-    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();
@@ -897,8 +818,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
@@ -911,7 +830,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;
         }
@@ -923,8 +842,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
@@ -945,8 +862,6 @@ public Builder clearStartTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
@@ -956,13 +871,11 @@ public Builder clearStartTime() {
      * .google.protobuf.Timestamp start_time = 1;
      */
     public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
-
+      
       onChanged();
       return getStartTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
@@ -975,12 +888,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_;
       }
     }
     /**
-     *
-     *
      * 
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
@@ -990,24 +902,21 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * .google.protobuf.Timestamp start_time = 1;
      */
     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);
     }
 
@@ -1017,12 +926,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.monitoring.v3.TimeInterval)
   }
 
   // @@protoc_insertion_point(class_scope:google.monitoring.v3.TimeInterval)
   private static final com.google.monitoring.v3.TimeInterval DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.monitoring.v3.TimeInterval();
   }
@@ -1031,16 +940,16 @@ public static com.google.monitoring.v3.TimeInterval getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public TimeInterval parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new TimeInterval(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public TimeInterval parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new TimeInterval(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1055,4 +964,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.monitoring.v3.TimeInterval getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeIntervalOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeIntervalOrBuilder.java
similarity index 72%
rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeIntervalOrBuilder.java
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeIntervalOrBuilder.java
index ef0d945f..8a2e0ea0 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeIntervalOrBuilder.java
+++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeIntervalOrBuilder.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/monitoring/v3/common.proto
 
 package com.google.monitoring.v3;
 
-public interface TimeIntervalOrBuilder
-    extends
+public interface TimeIntervalOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.monitoring.v3.TimeInterval)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The end of the time interval.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Required. The end of the time interval.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Required. The end of the time interval.
    * 
@@ -59,8 +35,6 @@ public interface TimeIntervalOrBuilder com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * Optional. The beginning of the time interval.  The default value
    * for the start time is the end time. The start time must not be
@@ -68,13 +42,10 @@ public interface TimeIntervalOrBuilder
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Optional. The beginning of the time interval.  The default value
    * for the start time is the end time. The start time must not be
@@ -82,13 +53,10 @@ public interface TimeIntervalOrBuilder
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Optional. The beginning of the time interval.  The default value
    * for the start time is the end time. The start time must not be
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeries.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeries.java
similarity index 80%
rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeries.java
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeries.java
index a4eb9103..df714e66 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeries.java
+++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeries.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/monitoring/v3/metric.proto
 
 package com.google.monitoring.v3;
 
 /**
- *
- *
  * 
  * A collection of data points that describes the time-varying values
  * of a metric. A time series is identified by a combination of a
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.monitoring.v3.TimeSeries}
  */
-public final class TimeSeries extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class TimeSeries extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.TimeSeries)
     TimeSeriesOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TimeSeries.newBuilder() to construct.
   private TimeSeries(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private TimeSeries() {
     metricKind_ = 0;
     valueType_ = 0;
@@ -49,15 +31,16 @@ private TimeSeries() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TimeSeries();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private TimeSeries(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -77,95 +60,86 @@ private TimeSeries(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.api.Metric.Builder subBuilder = null;
-              if (metric_ != null) {
-                subBuilder = metric_.toBuilder();
-              }
-              metric_ = input.readMessage(com.google.api.Metric.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(metric_);
-                metric_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.api.Metric.Builder subBuilder = null;
+            if (metric_ != null) {
+              subBuilder = metric_.toBuilder();
             }
-          case 18:
-            {
-              com.google.api.MonitoredResource.Builder subBuilder = null;
-              if (resource_ != null) {
-                subBuilder = resource_.toBuilder();
-              }
-              resource_ =
-                  input.readMessage(com.google.api.MonitoredResource.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(resource_);
-                resource_ = subBuilder.buildPartial();
-              }
-
-              break;
+            metric_ = input.readMessage(com.google.api.Metric.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(metric_);
+              metric_ = subBuilder.buildPartial();
             }
-          case 24:
-            {
-              int rawValue = input.readEnum();
 
-              metricKind_ = rawValue;
-              break;
+            break;
+          }
+          case 18: {
+            com.google.api.MonitoredResource.Builder subBuilder = null;
+            if (resource_ != null) {
+              subBuilder = resource_.toBuilder();
+            }
+            resource_ = input.readMessage(com.google.api.MonitoredResource.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(resource_);
+              resource_ = subBuilder.buildPartial();
             }
-          case 32:
-            {
-              int rawValue = input.readEnum();
 
-              valueType_ = rawValue;
-              break;
+            break;
+          }
+          case 24: {
+            int rawValue = input.readEnum();
+
+            metricKind_ = rawValue;
+            break;
+          }
+          case 32: {
+            int rawValue = input.readEnum();
+
+            valueType_ = rawValue;
+            break;
+          }
+          case 42: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              points_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 42:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                points_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              points_.add(
-                  input.readMessage(com.google.monitoring.v3.Point.parser(), extensionRegistry));
-              break;
+            points_.add(
+                input.readMessage(com.google.monitoring.v3.Point.parser(), extensionRegistry));
+            break;
+          }
+          case 58: {
+            com.google.api.MonitoredResourceMetadata.Builder subBuilder = null;
+            if (metadata_ != null) {
+              subBuilder = metadata_.toBuilder();
             }
-          case 58:
-            {
-              com.google.api.MonitoredResourceMetadata.Builder subBuilder = null;
-              if (metadata_ != null) {
-                subBuilder = metadata_.toBuilder();
-              }
-              metadata_ =
-                  input.readMessage(
-                      com.google.api.MonitoredResourceMetadata.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(metadata_);
-                metadata_ = subBuilder.buildPartial();
-              }
-
-              break;
+            metadata_ = input.readMessage(com.google.api.MonitoredResourceMetadata.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(metadata_);
+              metadata_ = subBuilder.buildPartial();
             }
-          case 66:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              unit_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            break;
+          }
+          case 66: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            unit_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         points_ = java.util.Collections.unmodifiableList(points_);
@@ -174,34 +148,28 @@ private TimeSeries(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.monitoring.v3.MetricProto
-        .internal_static_google_monitoring_v3_TimeSeries_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeries_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.monitoring.v3.MetricProto
-        .internal_static_google_monitoring_v3_TimeSeries_fieldAccessorTable
+    return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeries_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.TimeSeries.class,
-            com.google.monitoring.v3.TimeSeries.Builder.class);
+            com.google.monitoring.v3.TimeSeries.class, com.google.monitoring.v3.TimeSeries.Builder.class);
   }
 
   public static final int METRIC_FIELD_NUMBER = 1;
   private com.google.api.Metric metric_;
   /**
-   *
-   *
    * 
    * The associated metric. A fully-specified metric used to identify the time
    * series.
    * 
* * .google.api.Metric metric = 1; - * * @return Whether the metric field is set. */ @java.lang.Override @@ -209,15 +177,12 @@ public boolean hasMetric() { return metric_ != null; } /** - * - * *
    * The associated metric. A fully-specified metric used to identify the time
    * series.
    * 
* * .google.api.Metric metric = 1; - * * @return The metric. */ @java.lang.Override @@ -225,8 +190,6 @@ public com.google.api.Metric getMetric() { return metric_ == null ? com.google.api.Metric.getDefaultInstance() : metric_; } /** - * - * *
    * The associated metric. A fully-specified metric used to identify the time
    * series.
@@ -242,8 +205,6 @@ public com.google.api.MetricOrBuilder getMetricOrBuilder() {
   public static final int RESOURCE_FIELD_NUMBER = 2;
   private com.google.api.MonitoredResource resource_;
   /**
-   *
-   *
    * 
    * The associated monitored resource.  Custom metrics can use only certain
    * monitored resource types in their time series data. For more information,
@@ -252,7 +213,6 @@ public com.google.api.MetricOrBuilder getMetricOrBuilder() {
    * 
* * .google.api.MonitoredResource resource = 2; - * * @return Whether the resource field is set. */ @java.lang.Override @@ -260,8 +220,6 @@ public boolean hasResource() { return resource_ != null; } /** - * - * *
    * The associated monitored resource.  Custom metrics can use only certain
    * monitored resource types in their time series data. For more information,
@@ -270,7 +228,6 @@ public boolean hasResource() {
    * 
* * .google.api.MonitoredResource resource = 2; - * * @return The resource. */ @java.lang.Override @@ -278,8 +235,6 @@ public com.google.api.MonitoredResource getResource() { return resource_ == null ? com.google.api.MonitoredResource.getDefaultInstance() : resource_; } /** - * - * *
    * The associated monitored resource.  Custom metrics can use only certain
    * monitored resource types in their time series data. For more information,
@@ -297,8 +252,6 @@ public com.google.api.MonitoredResourceOrBuilder getResourceOrBuilder() {
   public static final int METADATA_FIELD_NUMBER = 7;
   private com.google.api.MonitoredResourceMetadata metadata_;
   /**
-   *
-   *
    * 
    * Output only. The associated monitored resource metadata. When reading a
    * time series, this field will include metadata labels that are explicitly
@@ -306,7 +259,6 @@ public com.google.api.MonitoredResourceOrBuilder getResourceOrBuilder() {
    * 
* * .google.api.MonitoredResourceMetadata metadata = 7; - * * @return Whether the metadata field is set. */ @java.lang.Override @@ -314,8 +266,6 @@ public boolean hasMetadata() { return metadata_ != null; } /** - * - * *
    * Output only. The associated monitored resource metadata. When reading a
    * time series, this field will include metadata labels that are explicitly
@@ -323,18 +273,13 @@ public boolean hasMetadata() {
    * 
* * .google.api.MonitoredResourceMetadata metadata = 7; - * * @return The metadata. */ @java.lang.Override public com.google.api.MonitoredResourceMetadata getMetadata() { - return metadata_ == null - ? com.google.api.MonitoredResourceMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.api.MonitoredResourceMetadata.getDefaultInstance() : metadata_; } /** - * - * *
    * Output only. The associated monitored resource metadata. When reading a
    * time series, this field will include metadata labels that are explicitly
@@ -351,8 +296,6 @@ public com.google.api.MonitoredResourceMetadataOrBuilder getMetadataOrBuilder()
   public static final int METRIC_KIND_FIELD_NUMBER = 3;
   private int metricKind_;
   /**
-   *
-   *
    * 
    * The metric kind of the time series. When listing time series, this metric
    * kind might be different from the metric kind of the associated metric if
@@ -365,16 +308,12 @@ public com.google.api.MonitoredResourceMetadataOrBuilder getMetadataOrBuilder()
    * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; - * * @return The enum numeric value on the wire for metricKind. */ - @java.lang.Override - public int getMetricKindValue() { + @java.lang.Override public int getMetricKindValue() { return metricKind_; } /** - * - * *
    * The metric kind of the time series. When listing time series, this metric
    * kind might be different from the metric kind of the associated metric if
@@ -387,22 +326,17 @@ public int getMetricKindValue() {
    * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; - * * @return The metricKind. */ - @java.lang.Override - public com.google.api.MetricDescriptor.MetricKind getMetricKind() { + @java.lang.Override public com.google.api.MetricDescriptor.MetricKind getMetricKind() { @SuppressWarnings("deprecation") - com.google.api.MetricDescriptor.MetricKind result = - com.google.api.MetricDescriptor.MetricKind.valueOf(metricKind_); + com.google.api.MetricDescriptor.MetricKind result = com.google.api.MetricDescriptor.MetricKind.valueOf(metricKind_); return result == null ? com.google.api.MetricDescriptor.MetricKind.UNRECOGNIZED : result; } public static final int VALUE_TYPE_FIELD_NUMBER = 4; private int valueType_; /** - * - * *
    * The value type of the time series. When listing time series, this value
    * type might be different from the value type of the associated metric if
@@ -412,16 +346,12 @@ public com.google.api.MetricDescriptor.MetricKind getMetricKind() {
    * 
* * .google.api.MetricDescriptor.ValueType value_type = 4; - * * @return The enum numeric value on the wire for valueType. */ - @java.lang.Override - public int getValueTypeValue() { + @java.lang.Override public int getValueTypeValue() { return valueType_; } /** - * - * *
    * The value type of the time series. When listing time series, this value
    * type might be different from the value type of the associated metric if
@@ -431,22 +361,17 @@ public int getValueTypeValue() {
    * 
* * .google.api.MetricDescriptor.ValueType value_type = 4; - * * @return The valueType. */ - @java.lang.Override - public com.google.api.MetricDescriptor.ValueType getValueType() { + @java.lang.Override public com.google.api.MetricDescriptor.ValueType getValueType() { @SuppressWarnings("deprecation") - com.google.api.MetricDescriptor.ValueType result = - com.google.api.MetricDescriptor.ValueType.valueOf(valueType_); + com.google.api.MetricDescriptor.ValueType result = com.google.api.MetricDescriptor.ValueType.valueOf(valueType_); return result == null ? com.google.api.MetricDescriptor.ValueType.UNRECOGNIZED : result; } public static final int POINTS_FIELD_NUMBER = 5; private java.util.List points_; /** - * - * *
    * The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -464,8 +389,6 @@ public java.util.List getPointsList() {
     return points_;
   }
   /**
-   *
-   *
    * 
    * The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -479,13 +402,11 @@ public java.util.List getPointsList() {
    * repeated .google.monitoring.v3.Point points = 5;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getPointsOrBuilderList() {
     return points_;
   }
   /**
-   *
-   *
    * 
    * The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -503,8 +424,6 @@ public int getPointsCount() {
     return points_.size();
   }
   /**
-   *
-   *
    * 
    * The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -522,8 +441,6 @@ public com.google.monitoring.v3.Point getPoints(int index) {
     return points_.get(index);
   }
   /**
-   *
-   *
    * 
    * The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -537,15 +454,14 @@ public com.google.monitoring.v3.Point getPoints(int index) {
    * repeated .google.monitoring.v3.Point points = 5;
    */
   @java.lang.Override
-  public com.google.monitoring.v3.PointOrBuilder getPointsOrBuilder(int index) {
+  public com.google.monitoring.v3.PointOrBuilder getPointsOrBuilder(
+      int index) {
     return points_.get(index);
   }
 
   public static final int UNIT_FIELD_NUMBER = 8;
   private volatile java.lang.Object unit_;
   /**
-   *
-   *
    * 
    * The units in which the metric value is reported. It is only applicable
    * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
@@ -553,7 +469,6 @@ public com.google.monitoring.v3.PointOrBuilder getPointsOrBuilder(int index) {
    * 
* * string unit = 8; - * * @return The unit. */ @java.lang.Override @@ -562,15 +477,14 @@ public java.lang.String getUnit() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); unit_ = s; return s; } } /** - * - * *
    * The units in which the metric value is reported. It is only applicable
    * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
@@ -578,15 +492,16 @@ public java.lang.String getUnit() {
    * 
* * string unit = 8; - * * @return The bytes for unit. */ @java.lang.Override - public com.google.protobuf.ByteString getUnitBytes() { + public com.google.protobuf.ByteString + getUnitBytes() { java.lang.Object ref = unit_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); unit_ = b; return b; } else { @@ -595,7 +510,6 @@ public com.google.protobuf.ByteString getUnitBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -607,19 +521,18 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (metric_ != null) { output.writeMessage(1, getMetric()); } if (resource_ != null) { output.writeMessage(2, getResource()); } - if (metricKind_ - != com.google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.getNumber()) { + if (metricKind_ != com.google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.getNumber()) { output.writeEnum(3, metricKind_); } - if (valueType_ - != com.google.api.MetricDescriptor.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { + if (valueType_ != com.google.api.MetricDescriptor.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(4, valueType_); } for (int i = 0; i < points_.size(); i++) { @@ -641,24 +554,28 @@ public int getSerializedSize() { size = 0; if (metric_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMetric()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getMetric()); } if (resource_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getResource()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getResource()); } - if (metricKind_ - != com.google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, metricKind_); + if (metricKind_ != com.google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, metricKind_); } - if (valueType_ - != com.google.api.MetricDescriptor.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, valueType_); + if (valueType_ != com.google.api.MetricDescriptor.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, valueType_); } for (int i = 0; i < points_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, points_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, points_.get(i)); } if (metadata_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getMetadata()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getMetadata()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(unit_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, unit_); @@ -671,7 +588,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.TimeSeries)) { return super.equals(obj); @@ -680,20 +597,25 @@ public boolean equals(final java.lang.Object obj) { if (hasMetric() != other.hasMetric()) return false; if (hasMetric()) { - if (!getMetric().equals(other.getMetric())) return false; + if (!getMetric() + .equals(other.getMetric())) return false; } if (hasResource() != other.hasResource()) return false; if (hasResource()) { - if (!getResource().equals(other.getResource())) return false; + if (!getResource() + .equals(other.getResource())) return false; } if (hasMetadata() != other.hasMetadata()) return false; if (hasMetadata()) { - if (!getMetadata().equals(other.getMetadata())) return false; + if (!getMetadata() + .equals(other.getMetadata())) return false; } if (metricKind_ != other.metricKind_) return false; if (valueType_ != other.valueType_) return false; - if (!getPointsList().equals(other.getPointsList())) return false; - if (!getUnit().equals(other.getUnit())) return false; + if (!getPointsList() + .equals(other.getPointsList())) return false; + if (!getUnit() + .equals(other.getUnit())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -732,103 +654,97 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.TimeSeries parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.TimeSeries parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.TimeSeries parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.TimeSeries parseFrom(com.google.protobuf.ByteString data) + public static com.google.monitoring.v3.TimeSeries parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.TimeSeries parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.TimeSeries parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.TimeSeries parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.TimeSeries 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.monitoring.v3.TimeSeries parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.TimeSeries parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.TimeSeries parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.TimeSeries parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.TimeSeries parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.TimeSeries prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 collection of data points that describes the time-varying values
    * of a metric. A time series is identified by a combination of a
@@ -838,23 +754,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.monitoring.v3.TimeSeries}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.TimeSeries)
       com.google.monitoring.v3.TimeSeriesOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.monitoring.v3.MetricProto
-          .internal_static_google_monitoring_v3_TimeSeries_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeries_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.MetricProto
-          .internal_static_google_monitoring_v3_TimeSeries_fieldAccessorTable
+      return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeries_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.TimeSeries.class,
-              com.google.monitoring.v3.TimeSeries.Builder.class);
+              com.google.monitoring.v3.TimeSeries.class, com.google.monitoring.v3.TimeSeries.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.TimeSeries.newBuilder()
@@ -862,17 +776,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getPointsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -910,9 +824,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.monitoring.v3.MetricProto
-          .internal_static_google_monitoring_v3_TimeSeries_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeries_descriptor;
     }
 
     @java.lang.Override
@@ -968,39 +882,38 @@ public com.google.monitoring.v3.TimeSeries 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.monitoring.v3.TimeSeries) {
-        return mergeFrom((com.google.monitoring.v3.TimeSeries) other);
+        return mergeFrom((com.google.monitoring.v3.TimeSeries)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1042,10 +955,9 @@ public Builder mergeFrom(com.google.monitoring.v3.TimeSeries other) {
             pointsBuilder_ = null;
             points_ = other.points_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            pointsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getPointsFieldBuilder()
-                    : null;
+            pointsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getPointsFieldBuilder() : null;
           } else {
             pointsBuilder_.addAllMessages(other.points_);
           }
@@ -1083,38 +995,30 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private com.google.api.Metric metric_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.api.Metric, com.google.api.Metric.Builder, com.google.api.MetricOrBuilder>
-        metricBuilder_;
+        com.google.api.Metric, com.google.api.Metric.Builder, com.google.api.MetricOrBuilder> metricBuilder_;
     /**
-     *
-     *
      * 
      * The associated metric. A fully-specified metric used to identify the time
      * series.
      * 
* * .google.api.Metric metric = 1; - * * @return Whether the metric field is set. */ public boolean hasMetric() { return metricBuilder_ != null || metric_ != null; } /** - * - * *
      * The associated metric. A fully-specified metric used to identify the time
      * series.
      * 
* * .google.api.Metric metric = 1; - * * @return The metric. */ public com.google.api.Metric getMetric() { @@ -1125,8 +1029,6 @@ public com.google.api.Metric getMetric() { } } /** - * - * *
      * The associated metric. A fully-specified metric used to identify the time
      * series.
@@ -1148,8 +1050,6 @@ public Builder setMetric(com.google.api.Metric value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The associated metric. A fully-specified metric used to identify the time
      * series.
@@ -1157,7 +1057,8 @@ public Builder setMetric(com.google.api.Metric value) {
      *
      * .google.api.Metric metric = 1;
      */
-    public Builder setMetric(com.google.api.Metric.Builder builderForValue) {
+    public Builder setMetric(
+        com.google.api.Metric.Builder builderForValue) {
       if (metricBuilder_ == null) {
         metric_ = builderForValue.build();
         onChanged();
@@ -1168,8 +1069,6 @@ public Builder setMetric(com.google.api.Metric.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The associated metric. A fully-specified metric used to identify the time
      * series.
@@ -1180,7 +1079,8 @@ public Builder setMetric(com.google.api.Metric.Builder builderForValue) {
     public Builder mergeMetric(com.google.api.Metric value) {
       if (metricBuilder_ == null) {
         if (metric_ != null) {
-          metric_ = com.google.api.Metric.newBuilder(metric_).mergeFrom(value).buildPartial();
+          metric_ =
+            com.google.api.Metric.newBuilder(metric_).mergeFrom(value).buildPartial();
         } else {
           metric_ = value;
         }
@@ -1192,8 +1092,6 @@ public Builder mergeMetric(com.google.api.Metric value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The associated metric. A fully-specified metric used to identify the time
      * series.
@@ -1213,8 +1111,6 @@ public Builder clearMetric() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The associated metric. A fully-specified metric used to identify the time
      * series.
@@ -1223,13 +1119,11 @@ public Builder clearMetric() {
      * .google.api.Metric metric = 1;
      */
     public com.google.api.Metric.Builder getMetricBuilder() {
-
+      
       onChanged();
       return getMetricFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The associated metric. A fully-specified metric used to identify the time
      * series.
@@ -1241,12 +1135,11 @@ public com.google.api.MetricOrBuilder getMetricOrBuilder() {
       if (metricBuilder_ != null) {
         return metricBuilder_.getMessageOrBuilder();
       } else {
-        return metric_ == null ? com.google.api.Metric.getDefaultInstance() : metric_;
+        return metric_ == null ?
+            com.google.api.Metric.getDefaultInstance() : metric_;
       }
     }
     /**
-     *
-     *
      * 
      * The associated metric. A fully-specified metric used to identify the time
      * series.
@@ -1255,14 +1148,14 @@ public com.google.api.MetricOrBuilder getMetricOrBuilder() {
      * .google.api.Metric metric = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.api.Metric, com.google.api.Metric.Builder, com.google.api.MetricOrBuilder>
+        com.google.api.Metric, com.google.api.Metric.Builder, com.google.api.MetricOrBuilder> 
         getMetricFieldBuilder() {
       if (metricBuilder_ == null) {
-        metricBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.api.Metric,
-                com.google.api.Metric.Builder,
-                com.google.api.MetricOrBuilder>(getMetric(), getParentForChildren(), isClean());
+        metricBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.api.Metric, com.google.api.Metric.Builder, com.google.api.MetricOrBuilder>(
+                getMetric(),
+                getParentForChildren(),
+                isClean());
         metric_ = null;
       }
       return metricBuilder_;
@@ -1270,13 +1163,8 @@ public com.google.api.MetricOrBuilder getMetricOrBuilder() {
 
     private com.google.api.MonitoredResource resource_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.api.MonitoredResource,
-            com.google.api.MonitoredResource.Builder,
-            com.google.api.MonitoredResourceOrBuilder>
-        resourceBuilder_;
+        com.google.api.MonitoredResource, com.google.api.MonitoredResource.Builder, com.google.api.MonitoredResourceOrBuilder> resourceBuilder_;
     /**
-     *
-     *
      * 
      * The associated monitored resource.  Custom metrics can use only certain
      * monitored resource types in their time series data. For more information,
@@ -1285,15 +1173,12 @@ public com.google.api.MetricOrBuilder getMetricOrBuilder() {
      * 
* * .google.api.MonitoredResource resource = 2; - * * @return Whether the resource field is set. */ public boolean hasResource() { return resourceBuilder_ != null || resource_ != null; } /** - * - * *
      * The associated monitored resource.  Custom metrics can use only certain
      * monitored resource types in their time series data. For more information,
@@ -1302,21 +1187,16 @@ public boolean hasResource() {
      * 
* * .google.api.MonitoredResource resource = 2; - * * @return The resource. */ public com.google.api.MonitoredResource getResource() { if (resourceBuilder_ == null) { - return resource_ == null - ? com.google.api.MonitoredResource.getDefaultInstance() - : resource_; + return resource_ == null ? com.google.api.MonitoredResource.getDefaultInstance() : resource_; } else { return resourceBuilder_.getMessage(); } } /** - * - * *
      * The associated monitored resource.  Custom metrics can use only certain
      * monitored resource types in their time series data. For more information,
@@ -1340,8 +1220,6 @@ public Builder setResource(com.google.api.MonitoredResource value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The associated monitored resource.  Custom metrics can use only certain
      * monitored resource types in their time series data. For more information,
@@ -1351,7 +1229,8 @@ public Builder setResource(com.google.api.MonitoredResource value) {
      *
      * .google.api.MonitoredResource resource = 2;
      */
-    public Builder setResource(com.google.api.MonitoredResource.Builder builderForValue) {
+    public Builder setResource(
+        com.google.api.MonitoredResource.Builder builderForValue) {
       if (resourceBuilder_ == null) {
         resource_ = builderForValue.build();
         onChanged();
@@ -1362,8 +1241,6 @@ public Builder setResource(com.google.api.MonitoredResource.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * The associated monitored resource.  Custom metrics can use only certain
      * monitored resource types in their time series data. For more information,
@@ -1377,9 +1254,7 @@ public Builder mergeResource(com.google.api.MonitoredResource value) {
       if (resourceBuilder_ == null) {
         if (resource_ != null) {
           resource_ =
-              com.google.api.MonitoredResource.newBuilder(resource_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.api.MonitoredResource.newBuilder(resource_).mergeFrom(value).buildPartial();
         } else {
           resource_ = value;
         }
@@ -1391,8 +1266,6 @@ public Builder mergeResource(com.google.api.MonitoredResource value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The associated monitored resource.  Custom metrics can use only certain
      * monitored resource types in their time series data. For more information,
@@ -1414,8 +1287,6 @@ public Builder clearResource() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The associated monitored resource.  Custom metrics can use only certain
      * monitored resource types in their time series data. For more information,
@@ -1426,13 +1297,11 @@ public Builder clearResource() {
      * .google.api.MonitoredResource resource = 2;
      */
     public com.google.api.MonitoredResource.Builder getResourceBuilder() {
-
+      
       onChanged();
       return getResourceFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The associated monitored resource.  Custom metrics can use only certain
      * monitored resource types in their time series data. For more information,
@@ -1446,14 +1315,11 @@ public com.google.api.MonitoredResourceOrBuilder getResourceOrBuilder() {
       if (resourceBuilder_ != null) {
         return resourceBuilder_.getMessageOrBuilder();
       } else {
-        return resource_ == null
-            ? com.google.api.MonitoredResource.getDefaultInstance()
-            : resource_;
+        return resource_ == null ?
+            com.google.api.MonitoredResource.getDefaultInstance() : resource_;
       }
     }
     /**
-     *
-     *
      * 
      * The associated monitored resource.  Custom metrics can use only certain
      * monitored resource types in their time series data. For more information,
@@ -1464,17 +1330,14 @@ public com.google.api.MonitoredResourceOrBuilder getResourceOrBuilder() {
      * .google.api.MonitoredResource resource = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.api.MonitoredResource,
-            com.google.api.MonitoredResource.Builder,
-            com.google.api.MonitoredResourceOrBuilder>
+        com.google.api.MonitoredResource, com.google.api.MonitoredResource.Builder, com.google.api.MonitoredResourceOrBuilder> 
         getResourceFieldBuilder() {
       if (resourceBuilder_ == null) {
-        resourceBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.api.MonitoredResource,
-                com.google.api.MonitoredResource.Builder,
-                com.google.api.MonitoredResourceOrBuilder>(
-                getResource(), getParentForChildren(), isClean());
+        resourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.api.MonitoredResource, com.google.api.MonitoredResource.Builder, com.google.api.MonitoredResourceOrBuilder>(
+                getResource(),
+                getParentForChildren(),
+                isClean());
         resource_ = null;
       }
       return resourceBuilder_;
@@ -1482,13 +1345,8 @@ public com.google.api.MonitoredResourceOrBuilder getResourceOrBuilder() {
 
     private com.google.api.MonitoredResourceMetadata metadata_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.api.MonitoredResourceMetadata,
-            com.google.api.MonitoredResourceMetadata.Builder,
-            com.google.api.MonitoredResourceMetadataOrBuilder>
-        metadataBuilder_;
+        com.google.api.MonitoredResourceMetadata, com.google.api.MonitoredResourceMetadata.Builder, com.google.api.MonitoredResourceMetadataOrBuilder> metadataBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The associated monitored resource metadata. When reading a
      * time series, this field will include metadata labels that are explicitly
@@ -1496,15 +1354,12 @@ public com.google.api.MonitoredResourceOrBuilder getResourceOrBuilder() {
      * 
* * .google.api.MonitoredResourceMetadata metadata = 7; - * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** - * - * *
      * Output only. The associated monitored resource metadata. When reading a
      * time series, this field will include metadata labels that are explicitly
@@ -1512,21 +1367,16 @@ public boolean hasMetadata() {
      * 
* * .google.api.MonitoredResourceMetadata metadata = 7; - * * @return The metadata. */ public com.google.api.MonitoredResourceMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null - ? com.google.api.MonitoredResourceMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.api.MonitoredResourceMetadata.getDefaultInstance() : metadata_; } else { return metadataBuilder_.getMessage(); } } /** - * - * *
      * Output only. The associated monitored resource metadata. When reading a
      * time series, this field will include metadata labels that are explicitly
@@ -1549,8 +1399,6 @@ public Builder setMetadata(com.google.api.MonitoredResourceMetadata value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The associated monitored resource metadata. When reading a
      * time series, this field will include metadata labels that are explicitly
@@ -1559,7 +1407,8 @@ public Builder setMetadata(com.google.api.MonitoredResourceMetadata value) {
      *
      * .google.api.MonitoredResourceMetadata metadata = 7;
      */
-    public Builder setMetadata(com.google.api.MonitoredResourceMetadata.Builder builderForValue) {
+    public Builder setMetadata(
+        com.google.api.MonitoredResourceMetadata.Builder builderForValue) {
       if (metadataBuilder_ == null) {
         metadata_ = builderForValue.build();
         onChanged();
@@ -1570,8 +1419,6 @@ public Builder setMetadata(com.google.api.MonitoredResourceMetadata.Builder buil
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The associated monitored resource metadata. When reading a
      * time series, this field will include metadata labels that are explicitly
@@ -1584,9 +1431,7 @@ public Builder mergeMetadata(com.google.api.MonitoredResourceMetadata value) {
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-              com.google.api.MonitoredResourceMetadata.newBuilder(metadata_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.api.MonitoredResourceMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
         } else {
           metadata_ = value;
         }
@@ -1598,8 +1443,6 @@ public Builder mergeMetadata(com.google.api.MonitoredResourceMetadata value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The associated monitored resource metadata. When reading a
      * time series, this field will include metadata labels that are explicitly
@@ -1620,8 +1463,6 @@ public Builder clearMetadata() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The associated monitored resource metadata. When reading a
      * time series, this field will include metadata labels that are explicitly
@@ -1631,13 +1472,11 @@ public Builder clearMetadata() {
      * .google.api.MonitoredResourceMetadata metadata = 7;
      */
     public com.google.api.MonitoredResourceMetadata.Builder getMetadataBuilder() {
-
+      
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The associated monitored resource metadata. When reading a
      * time series, this field will include metadata labels that are explicitly
@@ -1650,14 +1489,11 @@ public com.google.api.MonitoredResourceMetadataOrBuilder getMetadataOrBuilder()
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null
-            ? com.google.api.MonitoredResourceMetadata.getDefaultInstance()
-            : metadata_;
+        return metadata_ == null ?
+            com.google.api.MonitoredResourceMetadata.getDefaultInstance() : metadata_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The associated monitored resource metadata. When reading a
      * time series, this field will include metadata labels that are explicitly
@@ -1667,17 +1503,14 @@ public com.google.api.MonitoredResourceMetadataOrBuilder getMetadataOrBuilder()
      * .google.api.MonitoredResourceMetadata metadata = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.api.MonitoredResourceMetadata,
-            com.google.api.MonitoredResourceMetadata.Builder,
-            com.google.api.MonitoredResourceMetadataOrBuilder>
+        com.google.api.MonitoredResourceMetadata, com.google.api.MonitoredResourceMetadata.Builder, com.google.api.MonitoredResourceMetadataOrBuilder> 
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.api.MonitoredResourceMetadata,
-                com.google.api.MonitoredResourceMetadata.Builder,
-                com.google.api.MonitoredResourceMetadataOrBuilder>(
-                getMetadata(), getParentForChildren(), isClean());
+        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.api.MonitoredResourceMetadata, com.google.api.MonitoredResourceMetadata.Builder, com.google.api.MonitoredResourceMetadataOrBuilder>(
+                getMetadata(),
+                getParentForChildren(),
+                isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
@@ -1685,8 +1518,6 @@ public com.google.api.MonitoredResourceMetadataOrBuilder getMetadataOrBuilder()
 
     private int metricKind_ = 0;
     /**
-     *
-     *
      * 
      * The metric kind of the time series. When listing time series, this metric
      * kind might be different from the metric kind of the associated metric if
@@ -1699,16 +1530,12 @@ public com.google.api.MonitoredResourceMetadataOrBuilder getMetadataOrBuilder()
      * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; - * * @return The enum numeric value on the wire for metricKind. */ - @java.lang.Override - public int getMetricKindValue() { + @java.lang.Override public int getMetricKindValue() { return metricKind_; } /** - * - * *
      * The metric kind of the time series. When listing time series, this metric
      * kind might be different from the metric kind of the associated metric if
@@ -1721,19 +1548,16 @@ public int getMetricKindValue() {
      * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; - * * @param value The enum numeric value on the wire for metricKind to set. * @return This builder for chaining. */ public Builder setMetricKindValue(int value) { - + metricKind_ = value; onChanged(); return this; } /** - * - * *
      * The metric kind of the time series. When listing time series, this metric
      * kind might be different from the metric kind of the associated metric if
@@ -1746,19 +1570,15 @@ public Builder setMetricKindValue(int value) {
      * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; - * * @return The metricKind. */ @java.lang.Override public com.google.api.MetricDescriptor.MetricKind getMetricKind() { @SuppressWarnings("deprecation") - com.google.api.MetricDescriptor.MetricKind result = - com.google.api.MetricDescriptor.MetricKind.valueOf(metricKind_); + com.google.api.MetricDescriptor.MetricKind result = com.google.api.MetricDescriptor.MetricKind.valueOf(metricKind_); return result == null ? com.google.api.MetricDescriptor.MetricKind.UNRECOGNIZED : result; } /** - * - * *
      * The metric kind of the time series. When listing time series, this metric
      * kind might be different from the metric kind of the associated metric if
@@ -1771,7 +1591,6 @@ public com.google.api.MetricDescriptor.MetricKind getMetricKind() {
      * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; - * * @param value The metricKind to set. * @return This builder for chaining. */ @@ -1779,14 +1598,12 @@ public Builder setMetricKind(com.google.api.MetricDescriptor.MetricKind value) { if (value == null) { throw new NullPointerException(); } - + metricKind_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The metric kind of the time series. When listing time series, this metric
      * kind might be different from the metric kind of the associated metric if
@@ -1799,11 +1616,10 @@ public Builder setMetricKind(com.google.api.MetricDescriptor.MetricKind value) {
      * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; - * * @return This builder for chaining. */ public Builder clearMetricKind() { - + metricKind_ = 0; onChanged(); return this; @@ -1811,8 +1627,6 @@ public Builder clearMetricKind() { private int valueType_ = 0; /** - * - * *
      * The value type of the time series. When listing time series, this value
      * type might be different from the value type of the associated metric if
@@ -1822,16 +1636,12 @@ public Builder clearMetricKind() {
      * 
* * .google.api.MetricDescriptor.ValueType value_type = 4; - * * @return The enum numeric value on the wire for valueType. */ - @java.lang.Override - public int getValueTypeValue() { + @java.lang.Override public int getValueTypeValue() { return valueType_; } /** - * - * *
      * The value type of the time series. When listing time series, this value
      * type might be different from the value type of the associated metric if
@@ -1841,19 +1651,16 @@ public int getValueTypeValue() {
      * 
* * .google.api.MetricDescriptor.ValueType value_type = 4; - * * @param value The enum numeric value on the wire for valueType to set. * @return This builder for chaining. */ public Builder setValueTypeValue(int value) { - + valueType_ = value; onChanged(); return this; } /** - * - * *
      * The value type of the time series. When listing time series, this value
      * type might be different from the value type of the associated metric if
@@ -1863,19 +1670,15 @@ public Builder setValueTypeValue(int value) {
      * 
* * .google.api.MetricDescriptor.ValueType value_type = 4; - * * @return The valueType. */ @java.lang.Override public com.google.api.MetricDescriptor.ValueType getValueType() { @SuppressWarnings("deprecation") - com.google.api.MetricDescriptor.ValueType result = - com.google.api.MetricDescriptor.ValueType.valueOf(valueType_); + com.google.api.MetricDescriptor.ValueType result = com.google.api.MetricDescriptor.ValueType.valueOf(valueType_); return result == null ? com.google.api.MetricDescriptor.ValueType.UNRECOGNIZED : result; } /** - * - * *
      * The value type of the time series. When listing time series, this value
      * type might be different from the value type of the associated metric if
@@ -1885,7 +1688,6 @@ public com.google.api.MetricDescriptor.ValueType getValueType() {
      * 
* * .google.api.MetricDescriptor.ValueType value_type = 4; - * * @param value The valueType to set. * @return This builder for chaining. */ @@ -1893,14 +1695,12 @@ public Builder setValueType(com.google.api.MetricDescriptor.ValueType value) { if (value == null) { throw new NullPointerException(); } - + valueType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The value type of the time series. When listing time series, this value
      * type might be different from the value type of the associated metric if
@@ -1910,35 +1710,28 @@ public Builder setValueType(com.google.api.MetricDescriptor.ValueType value) {
      * 
* * .google.api.MetricDescriptor.ValueType value_type = 4; - * * @return This builder for chaining. */ public Builder clearValueType() { - + valueType_ = 0; onChanged(); return this; } private java.util.List points_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePointsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { points_ = new java.util.ArrayList(points_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.Point, - com.google.monitoring.v3.Point.Builder, - com.google.monitoring.v3.PointOrBuilder> - pointsBuilder_; + com.google.monitoring.v3.Point, com.google.monitoring.v3.Point.Builder, com.google.monitoring.v3.PointOrBuilder> pointsBuilder_; /** - * - * *
      * The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1959,8 +1752,6 @@ public java.util.List getPointsList() {
       }
     }
     /**
-     *
-     *
      * 
      * The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1981,8 +1772,6 @@ public int getPointsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -2003,8 +1792,6 @@ public com.google.monitoring.v3.Point getPoints(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -2017,7 +1804,8 @@ public com.google.monitoring.v3.Point getPoints(int index) {
      *
      * repeated .google.monitoring.v3.Point points = 5;
      */
-    public Builder setPoints(int index, com.google.monitoring.v3.Point value) {
+    public Builder setPoints(
+        int index, com.google.monitoring.v3.Point value) {
       if (pointsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2031,8 +1819,6 @@ public Builder setPoints(int index, com.google.monitoring.v3.Point value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -2045,7 +1831,8 @@ public Builder setPoints(int index, com.google.monitoring.v3.Point value) {
      *
      * repeated .google.monitoring.v3.Point points = 5;
      */
-    public Builder setPoints(int index, com.google.monitoring.v3.Point.Builder builderForValue) {
+    public Builder setPoints(
+        int index, com.google.monitoring.v3.Point.Builder builderForValue) {
       if (pointsBuilder_ == null) {
         ensurePointsIsMutable();
         points_.set(index, builderForValue.build());
@@ -2056,8 +1843,6 @@ public Builder setPoints(int index, com.google.monitoring.v3.Point.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -2084,8 +1869,6 @@ public Builder addPoints(com.google.monitoring.v3.Point value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -2098,7 +1881,8 @@ public Builder addPoints(com.google.monitoring.v3.Point value) {
      *
      * repeated .google.monitoring.v3.Point points = 5;
      */
-    public Builder addPoints(int index, com.google.monitoring.v3.Point value) {
+    public Builder addPoints(
+        int index, com.google.monitoring.v3.Point value) {
       if (pointsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2112,8 +1896,6 @@ public Builder addPoints(int index, com.google.monitoring.v3.Point value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -2126,7 +1908,8 @@ public Builder addPoints(int index, com.google.monitoring.v3.Point value) {
      *
      * repeated .google.monitoring.v3.Point points = 5;
      */
-    public Builder addPoints(com.google.monitoring.v3.Point.Builder builderForValue) {
+    public Builder addPoints(
+        com.google.monitoring.v3.Point.Builder builderForValue) {
       if (pointsBuilder_ == null) {
         ensurePointsIsMutable();
         points_.add(builderForValue.build());
@@ -2137,8 +1920,6 @@ public Builder addPoints(com.google.monitoring.v3.Point.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -2151,7 +1932,8 @@ public Builder addPoints(com.google.monitoring.v3.Point.Builder builderForValue)
      *
      * repeated .google.monitoring.v3.Point points = 5;
      */
-    public Builder addPoints(int index, com.google.monitoring.v3.Point.Builder builderForValue) {
+    public Builder addPoints(
+        int index, com.google.monitoring.v3.Point.Builder builderForValue) {
       if (pointsBuilder_ == null) {
         ensurePointsIsMutable();
         points_.add(index, builderForValue.build());
@@ -2162,8 +1944,6 @@ public Builder addPoints(int index, com.google.monitoring.v3.Point.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -2180,7 +1960,8 @@ public Builder addAllPoints(
         java.lang.Iterable values) {
       if (pointsBuilder_ == null) {
         ensurePointsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, points_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, points_);
         onChanged();
       } else {
         pointsBuilder_.addAllMessages(values);
@@ -2188,8 +1969,6 @@ public Builder addAllPoints(
       return this;
     }
     /**
-     *
-     *
      * 
      * The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -2213,8 +1992,6 @@ public Builder clearPoints() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -2238,8 +2015,6 @@ public Builder removePoints(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -2252,12 +2027,11 @@ public Builder removePoints(int index) {
      *
      * repeated .google.monitoring.v3.Point points = 5;
      */
-    public com.google.monitoring.v3.Point.Builder getPointsBuilder(int index) {
+    public com.google.monitoring.v3.Point.Builder getPointsBuilder(
+        int index) {
       return getPointsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -2270,16 +2044,14 @@ public com.google.monitoring.v3.Point.Builder getPointsBuilder(int index) {
      *
      * repeated .google.monitoring.v3.Point points = 5;
      */
-    public com.google.monitoring.v3.PointOrBuilder getPointsOrBuilder(int index) {
+    public com.google.monitoring.v3.PointOrBuilder getPointsOrBuilder(
+        int index) {
       if (pointsBuilder_ == null) {
-        return points_.get(index);
-      } else {
+        return points_.get(index);  } else {
         return pointsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -2292,8 +2064,8 @@ public com.google.monitoring.v3.PointOrBuilder getPointsOrBuilder(int index) {
      *
      * repeated .google.monitoring.v3.Point points = 5;
      */
-    public java.util.List
-        getPointsOrBuilderList() {
+    public java.util.List 
+         getPointsOrBuilderList() {
       if (pointsBuilder_ != null) {
         return pointsBuilder_.getMessageOrBuilderList();
       } else {
@@ -2301,8 +2073,6 @@ public com.google.monitoring.v3.PointOrBuilder getPointsOrBuilder(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -2316,12 +2086,10 @@ public com.google.monitoring.v3.PointOrBuilder getPointsOrBuilder(int index) {
      * repeated .google.monitoring.v3.Point points = 5;
      */
     public com.google.monitoring.v3.Point.Builder addPointsBuilder() {
-      return getPointsFieldBuilder()
-          .addBuilder(com.google.monitoring.v3.Point.getDefaultInstance());
+      return getPointsFieldBuilder().addBuilder(
+          com.google.monitoring.v3.Point.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -2334,13 +2102,12 @@ public com.google.monitoring.v3.Point.Builder addPointsBuilder() {
      *
      * repeated .google.monitoring.v3.Point points = 5;
      */
-    public com.google.monitoring.v3.Point.Builder addPointsBuilder(int index) {
-      return getPointsFieldBuilder()
-          .addBuilder(index, com.google.monitoring.v3.Point.getDefaultInstance());
+    public com.google.monitoring.v3.Point.Builder addPointsBuilder(
+        int index) {
+      return getPointsFieldBuilder().addBuilder(
+          index, com.google.monitoring.v3.Point.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -2353,22 +2120,20 @@ public com.google.monitoring.v3.Point.Builder addPointsBuilder(int index) {
      *
      * repeated .google.monitoring.v3.Point points = 5;
      */
-    public java.util.List getPointsBuilderList() {
+    public java.util.List 
+         getPointsBuilderList() {
       return getPointsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.monitoring.v3.Point,
-            com.google.monitoring.v3.Point.Builder,
-            com.google.monitoring.v3.PointOrBuilder>
+        com.google.monitoring.v3.Point, com.google.monitoring.v3.Point.Builder, com.google.monitoring.v3.PointOrBuilder> 
         getPointsFieldBuilder() {
       if (pointsBuilder_ == null) {
-        pointsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.monitoring.v3.Point,
-                com.google.monitoring.v3.Point.Builder,
-                com.google.monitoring.v3.PointOrBuilder>(
-                points_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        pointsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.monitoring.v3.Point, com.google.monitoring.v3.Point.Builder, com.google.monitoring.v3.PointOrBuilder>(
+                points_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         points_ = null;
       }
       return pointsBuilder_;
@@ -2376,8 +2141,6 @@ public java.util.List getPointsBuilderLi
 
     private java.lang.Object unit_ = "";
     /**
-     *
-     *
      * 
      * The units in which the metric value is reported. It is only applicable
      * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
@@ -2385,13 +2148,13 @@ public java.util.List getPointsBuilderLi
      * 
* * string unit = 8; - * * @return The unit. */ public java.lang.String getUnit() { java.lang.Object ref = unit_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); unit_ = s; return s; @@ -2400,8 +2163,6 @@ public java.lang.String getUnit() { } } /** - * - * *
      * The units in which the metric value is reported. It is only applicable
      * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
@@ -2409,14 +2170,15 @@ public java.lang.String getUnit() {
      * 
* * string unit = 8; - * * @return The bytes for unit. */ - public com.google.protobuf.ByteString getUnitBytes() { + public com.google.protobuf.ByteString + getUnitBytes() { java.lang.Object ref = unit_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); unit_ = b; return b; } else { @@ -2424,8 +2186,6 @@ public com.google.protobuf.ByteString getUnitBytes() { } } /** - * - * *
      * The units in which the metric value is reported. It is only applicable
      * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
@@ -2433,22 +2193,20 @@ public com.google.protobuf.ByteString getUnitBytes() {
      * 
* * string unit = 8; - * * @param value The unit to set. * @return This builder for chaining. */ - public Builder setUnit(java.lang.String value) { + public Builder setUnit( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + unit_ = value; onChanged(); return this; } /** - * - * *
      * The units in which the metric value is reported. It is only applicable
      * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
@@ -2456,18 +2214,15 @@ public Builder setUnit(java.lang.String value) {
      * 
* * string unit = 8; - * * @return This builder for chaining. */ public Builder clearUnit() { - + unit_ = getDefaultInstance().getUnit(); onChanged(); return this; } /** - * - * *
      * The units in which the metric value is reported. It is only applicable
      * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
@@ -2475,23 +2230,23 @@ public Builder clearUnit() {
      * 
* * string unit = 8; - * * @param value The bytes for unit to set. * @return This builder for chaining. */ - public Builder setUnitBytes(com.google.protobuf.ByteString value) { + public Builder setUnitBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + unit_ = 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); } @@ -2501,12 +2256,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.TimeSeries) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.TimeSeries) private static final com.google.monitoring.v3.TimeSeries DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.TimeSeries(); } @@ -2515,16 +2270,16 @@ public static com.google.monitoring.v3.TimeSeries getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimeSeries parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TimeSeries(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimeSeries parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TimeSeries(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2539,4 +2294,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.TimeSeries getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesData.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesData.java similarity index 78% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesData.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesData.java index a18cf932..f519d3b5 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesData.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesData.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/monitoring/v3/metric.proto package com.google.monitoring.v3; /** - * - * *
  * Represents the values of a time series associated with a
  * TimeSeriesDescriptor.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.monitoring.v3.TimeSeriesData}
  */
-public final class TimeSeriesData extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class TimeSeriesData extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.TimeSeriesData)
     TimeSeriesDataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TimeSeriesData.newBuilder() to construct.
   private TimeSeriesData(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private TimeSeriesData() {
     labelValues_ = java.util.Collections.emptyList();
     pointData_ = java.util.Collections.emptyList();
@@ -45,15 +27,16 @@ private TimeSeriesData() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TimeSeriesData();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private TimeSeriesData(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,43 +56,38 @@ private TimeSeriesData(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                labelValues_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              labelValues_.add(
-                  input.readMessage(
-                      com.google.monitoring.v3.LabelValue.parser(), extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              labelValues_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 18:
-            {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                pointData_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000002;
-              }
-              pointData_.add(
-                  input.readMessage(
-                      com.google.monitoring.v3.TimeSeriesData.PointData.parser(),
-                      extensionRegistry));
-              break;
+            labelValues_.add(
+                input.readMessage(com.google.monitoring.v3.LabelValue.parser(), extensionRegistry));
+            break;
+          }
+          case 18: {
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              pointData_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000002;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            pointData_.add(
+                input.readMessage(com.google.monitoring.v3.TimeSeriesData.PointData.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         labelValues_ = java.util.Collections.unmodifiableList(labelValues_);
@@ -121,40 +99,33 @@ private TimeSeriesData(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.monitoring.v3.MetricProto
-        .internal_static_google_monitoring_v3_TimeSeriesData_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeriesData_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.monitoring.v3.MetricProto
-        .internal_static_google_monitoring_v3_TimeSeriesData_fieldAccessorTable
+    return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeriesData_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.TimeSeriesData.class,
-            com.google.monitoring.v3.TimeSeriesData.Builder.class);
+            com.google.monitoring.v3.TimeSeriesData.class, com.google.monitoring.v3.TimeSeriesData.Builder.class);
   }
 
-  public interface PointDataOrBuilder
-      extends
+  public interface PointDataOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.monitoring.v3.TimeSeriesData.PointData)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The values that make up the point.
      * 
* * repeated .google.monitoring.v3.TypedValue values = 1; */ - java.util.List getValuesList(); + java.util.List + getValuesList(); /** - * - * *
      * The values that make up the point.
      * 
@@ -163,8 +134,6 @@ public interface PointDataOrBuilder */ com.google.monitoring.v3.TypedValue getValues(int index); /** - * - * *
      * The values that make up the point.
      * 
@@ -173,53 +142,43 @@ public interface PointDataOrBuilder */ int getValuesCount(); /** - * - * *
      * The values that make up the point.
      * 
* * repeated .google.monitoring.v3.TypedValue values = 1; */ - java.util.List getValuesOrBuilderList(); + java.util.List + getValuesOrBuilderList(); /** - * - * *
      * The values that make up the point.
      * 
* * repeated .google.monitoring.v3.TypedValue values = 1; */ - com.google.monitoring.v3.TypedValueOrBuilder getValuesOrBuilder(int index); + com.google.monitoring.v3.TypedValueOrBuilder getValuesOrBuilder( + int index); /** - * - * *
      * The time interval associated with the point.
      * 
* * .google.monitoring.v3.TimeInterval time_interval = 2; - * * @return Whether the timeInterval field is set. */ boolean hasTimeInterval(); /** - * - * *
      * The time interval associated with the point.
      * 
* * .google.monitoring.v3.TimeInterval time_interval = 2; - * * @return The timeInterval. */ com.google.monitoring.v3.TimeInterval getTimeInterval(); /** - * - * *
      * The time interval associated with the point.
      * 
@@ -229,8 +188,6 @@ public interface PointDataOrBuilder com.google.monitoring.v3.TimeIntervalOrBuilder getTimeIntervalOrBuilder(); } /** - * - * *
    * A point's value columns and time interval. Each point has one or more
    * point values corresponding to the entries in `point_descriptors` field in
@@ -239,31 +196,31 @@ public interface PointDataOrBuilder
    *
    * Protobuf type {@code google.monitoring.v3.TimeSeriesData.PointData}
    */
-  public static final class PointData extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class PointData extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.monitoring.v3.TimeSeriesData.PointData)
       PointDataOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use PointData.newBuilder() to construct.
     private PointData(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private PointData() {
       values_ = 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 PointData();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private PointData(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -283,46 +240,42 @@ private PointData(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  values_ = new java.util.ArrayList();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                values_.add(
-                    input.readMessage(
-                        com.google.monitoring.v3.TypedValue.parser(), extensionRegistry));
-                break;
+            case 10: {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                values_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            case 18:
-              {
-                com.google.monitoring.v3.TimeInterval.Builder subBuilder = null;
-                if (timeInterval_ != null) {
-                  subBuilder = timeInterval_.toBuilder();
-                }
-                timeInterval_ =
-                    input.readMessage(
-                        com.google.monitoring.v3.TimeInterval.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(timeInterval_);
-                  timeInterval_ = subBuilder.buildPartial();
-                }
-
-                break;
+              values_.add(
+                  input.readMessage(com.google.monitoring.v3.TypedValue.parser(), extensionRegistry));
+              break;
+            }
+            case 18: {
+              com.google.monitoring.v3.TimeInterval.Builder subBuilder = null;
+              if (timeInterval_ != null) {
+                subBuilder = timeInterval_.toBuilder();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              timeInterval_ = input.readMessage(com.google.monitoring.v3.TimeInterval.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(timeInterval_);
+                timeInterval_ = subBuilder.buildPartial();
               }
+
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           values_ = java.util.Collections.unmodifiableList(values_);
@@ -331,27 +284,22 @@ private PointData(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.monitoring.v3.MetricProto
-          .internal_static_google_monitoring_v3_TimeSeriesData_PointData_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeriesData_PointData_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.MetricProto
-          .internal_static_google_monitoring_v3_TimeSeriesData_PointData_fieldAccessorTable
+      return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeriesData_PointData_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.TimeSeriesData.PointData.class,
-              com.google.monitoring.v3.TimeSeriesData.PointData.Builder.class);
+              com.google.monitoring.v3.TimeSeriesData.PointData.class, com.google.monitoring.v3.TimeSeriesData.PointData.Builder.class);
     }
 
     public static final int VALUES_FIELD_NUMBER = 1;
     private java.util.List values_;
     /**
-     *
-     *
      * 
      * The values that make up the point.
      * 
@@ -363,8 +311,6 @@ public java.util.List getValuesList() { return values_; } /** - * - * *
      * The values that make up the point.
      * 
@@ -372,13 +318,11 @@ public java.util.List getValuesList() { * repeated .google.monitoring.v3.TypedValue values = 1; */ @java.lang.Override - public java.util.List + public java.util.List getValuesOrBuilderList() { return values_; } /** - * - * *
      * The values that make up the point.
      * 
@@ -390,8 +334,6 @@ public int getValuesCount() { return values_.size(); } /** - * - * *
      * The values that make up the point.
      * 
@@ -403,8 +345,6 @@ public com.google.monitoring.v3.TypedValue getValues(int index) { return values_.get(index); } /** - * - * *
      * The values that make up the point.
      * 
@@ -412,21 +352,19 @@ public com.google.monitoring.v3.TypedValue getValues(int index) { * repeated .google.monitoring.v3.TypedValue values = 1; */ @java.lang.Override - public com.google.monitoring.v3.TypedValueOrBuilder getValuesOrBuilder(int index) { + public com.google.monitoring.v3.TypedValueOrBuilder getValuesOrBuilder( + int index) { return values_.get(index); } public static final int TIME_INTERVAL_FIELD_NUMBER = 2; private com.google.monitoring.v3.TimeInterval timeInterval_; /** - * - * *
      * The time interval associated with the point.
      * 
* * .google.monitoring.v3.TimeInterval time_interval = 2; - * * @return Whether the timeInterval field is set. */ @java.lang.Override @@ -434,25 +372,18 @@ public boolean hasTimeInterval() { return timeInterval_ != null; } /** - * - * *
      * The time interval associated with the point.
      * 
* * .google.monitoring.v3.TimeInterval time_interval = 2; - * * @return The timeInterval. */ @java.lang.Override public com.google.monitoring.v3.TimeInterval getTimeInterval() { - return timeInterval_ == null - ? com.google.monitoring.v3.TimeInterval.getDefaultInstance() - : timeInterval_; + return timeInterval_ == null ? com.google.monitoring.v3.TimeInterval.getDefaultInstance() : timeInterval_; } /** - * - * *
      * The time interval associated with the point.
      * 
@@ -465,7 +396,6 @@ public com.google.monitoring.v3.TimeIntervalOrBuilder getTimeIntervalOrBuilder() } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -477,7 +407,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 < values_.size(); i++) { output.writeMessage(1, values_.get(i)); } @@ -494,10 +425,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < values_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, values_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, values_.get(i)); } if (timeInterval_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTimeInterval()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTimeInterval()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -507,18 +440,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.monitoring.v3.TimeSeriesData.PointData)) { return super.equals(obj); } - com.google.monitoring.v3.TimeSeriesData.PointData other = - (com.google.monitoring.v3.TimeSeriesData.PointData) obj; + com.google.monitoring.v3.TimeSeriesData.PointData other = (com.google.monitoring.v3.TimeSeriesData.PointData) obj; - if (!getValuesList().equals(other.getValuesList())) return false; + if (!getValuesList() + .equals(other.getValuesList())) return false; if (hasTimeInterval() != other.hasTimeInterval()) return false; if (hasTimeInterval()) { - if (!getTimeInterval().equals(other.getTimeInterval())) return false; + if (!getTimeInterval() + .equals(other.getTimeInterval())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -545,93 +479,87 @@ public int hashCode() { } public static com.google.monitoring.v3.TimeSeriesData.PointData parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.TimeSeriesData.PointData parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.TimeSeriesData.PointData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.TimeSeriesData.PointData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.TimeSeriesData.PointData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.TimeSeriesData.PointData parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.TimeSeriesData.PointData parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.TimeSeriesData.PointData parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.TimeSeriesData.PointData parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.TimeSeriesData.PointData parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.TimeSeriesData.PointData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.TimeSeriesData.PointData parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.TimeSeriesData.PointData parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.TimeSeriesData.PointData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.TimeSeriesData.PointData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -641,8 +569,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A point's value columns and time interval. Each point has one or more
      * point values corresponding to the entries in `point_descriptors` field in
@@ -651,24 +577,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.monitoring.v3.TimeSeriesData.PointData}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.monitoring.v3.TimeSeriesData.PointData)
         com.google.monitoring.v3.TimeSeriesData.PointDataOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.monitoring.v3.MetricProto
-            .internal_static_google_monitoring_v3_TimeSeriesData_PointData_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeriesData_PointData_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.monitoring.v3.MetricProto
-            .internal_static_google_monitoring_v3_TimeSeriesData_PointData_fieldAccessorTable
+        return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeriesData_PointData_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.monitoring.v3.TimeSeriesData.PointData.class,
-                com.google.monitoring.v3.TimeSeriesData.PointData.Builder.class);
+                com.google.monitoring.v3.TimeSeriesData.PointData.class, com.google.monitoring.v3.TimeSeriesData.PointData.Builder.class);
       }
 
       // Construct using com.google.monitoring.v3.TimeSeriesData.PointData.newBuilder()
@@ -676,17 +599,17 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
           getValuesFieldBuilder();
         }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -706,9 +629,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.monitoring.v3.MetricProto
-            .internal_static_google_monitoring_v3_TimeSeriesData_PointData_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeriesData_PointData_descriptor;
       }
 
       @java.lang.Override
@@ -727,8 +650,7 @@ public com.google.monitoring.v3.TimeSeriesData.PointData build() {
 
       @java.lang.Override
       public com.google.monitoring.v3.TimeSeriesData.PointData buildPartial() {
-        com.google.monitoring.v3.TimeSeriesData.PointData result =
-            new com.google.monitoring.v3.TimeSeriesData.PointData(this);
+        com.google.monitoring.v3.TimeSeriesData.PointData result = new com.google.monitoring.v3.TimeSeriesData.PointData(this);
         int from_bitField0_ = bitField0_;
         if (valuesBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
@@ -752,41 +674,38 @@ public com.google.monitoring.v3.TimeSeriesData.PointData 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.monitoring.v3.TimeSeriesData.PointData) {
-          return mergeFrom((com.google.monitoring.v3.TimeSeriesData.PointData) other);
+          return mergeFrom((com.google.monitoring.v3.TimeSeriesData.PointData)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -794,8 +713,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.monitoring.v3.TimeSeriesData.PointData other) {
-        if (other == com.google.monitoring.v3.TimeSeriesData.PointData.getDefaultInstance())
-          return this;
+        if (other == com.google.monitoring.v3.TimeSeriesData.PointData.getDefaultInstance()) return this;
         if (valuesBuilder_ == null) {
           if (!other.values_.isEmpty()) {
             if (values_.isEmpty()) {
@@ -814,10 +732,9 @@ public Builder mergeFrom(com.google.monitoring.v3.TimeSeriesData.PointData other
               valuesBuilder_ = null;
               values_ = other.values_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              valuesBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getValuesFieldBuilder()
-                      : null;
+              valuesBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getValuesFieldBuilder() : null;
             } else {
               valuesBuilder_.addAllMessages(other.values_);
             }
@@ -845,8 +762,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.monitoring.v3.TimeSeriesData.PointData) e.getUnfinishedMessage();
+          parsedMessage = (com.google.monitoring.v3.TimeSeriesData.PointData) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -855,28 +771,21 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
       private java.util.List values_ =
-          java.util.Collections.emptyList();
-
+        java.util.Collections.emptyList();
       private void ensureValuesIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
           values_ = new java.util.ArrayList(values_);
           bitField0_ |= 0x00000001;
-        }
+         }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.monitoring.v3.TypedValue,
-              com.google.monitoring.v3.TypedValue.Builder,
-              com.google.monitoring.v3.TypedValueOrBuilder>
-          valuesBuilder_;
+          com.google.monitoring.v3.TypedValue, com.google.monitoring.v3.TypedValue.Builder, com.google.monitoring.v3.TypedValueOrBuilder> valuesBuilder_;
 
       /**
-       *
-       *
        * 
        * The values that make up the point.
        * 
@@ -891,8 +800,6 @@ public java.util.List getValuesList() { } } /** - * - * *
        * The values that make up the point.
        * 
@@ -907,8 +814,6 @@ public int getValuesCount() { } } /** - * - * *
        * The values that make up the point.
        * 
@@ -923,15 +828,14 @@ public com.google.monitoring.v3.TypedValue getValues(int index) { } } /** - * - * *
        * The values that make up the point.
        * 
* * repeated .google.monitoring.v3.TypedValue values = 1; */ - public Builder setValues(int index, com.google.monitoring.v3.TypedValue value) { + public Builder setValues( + int index, com.google.monitoring.v3.TypedValue value) { if (valuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -945,8 +849,6 @@ public Builder setValues(int index, com.google.monitoring.v3.TypedValue value) { return this; } /** - * - * *
        * The values that make up the point.
        * 
@@ -965,8 +867,6 @@ public Builder setValues( return this; } /** - * - * *
        * The values that make up the point.
        * 
@@ -987,15 +887,14 @@ public Builder addValues(com.google.monitoring.v3.TypedValue value) { return this; } /** - * - * *
        * The values that make up the point.
        * 
* * repeated .google.monitoring.v3.TypedValue values = 1; */ - public Builder addValues(int index, com.google.monitoring.v3.TypedValue value) { + public Builder addValues( + int index, com.google.monitoring.v3.TypedValue value) { if (valuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1009,15 +908,14 @@ public Builder addValues(int index, com.google.monitoring.v3.TypedValue value) { return this; } /** - * - * *
        * The values that make up the point.
        * 
* * repeated .google.monitoring.v3.TypedValue values = 1; */ - public Builder addValues(com.google.monitoring.v3.TypedValue.Builder builderForValue) { + public Builder addValues( + com.google.monitoring.v3.TypedValue.Builder builderForValue) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); values_.add(builderForValue.build()); @@ -1028,8 +926,6 @@ public Builder addValues(com.google.monitoring.v3.TypedValue.Builder builderForV return this; } /** - * - * *
        * The values that make up the point.
        * 
@@ -1048,8 +944,6 @@ public Builder addValues( return this; } /** - * - * *
        * The values that make up the point.
        * 
@@ -1060,7 +954,8 @@ public Builder addAllValues( java.lang.Iterable values) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, values_); onChanged(); } else { valuesBuilder_.addAllMessages(values); @@ -1068,8 +963,6 @@ public Builder addAllValues( return this; } /** - * - * *
        * The values that make up the point.
        * 
@@ -1087,8 +980,6 @@ public Builder clearValues() { return this; } /** - * - * *
        * The values that make up the point.
        * 
@@ -1106,44 +997,39 @@ public Builder removeValues(int index) { return this; } /** - * - * *
        * The values that make up the point.
        * 
* * repeated .google.monitoring.v3.TypedValue values = 1; */ - public com.google.monitoring.v3.TypedValue.Builder getValuesBuilder(int index) { + public com.google.monitoring.v3.TypedValue.Builder getValuesBuilder( + int index) { return getValuesFieldBuilder().getBuilder(index); } /** - * - * *
        * The values that make up the point.
        * 
* * repeated .google.monitoring.v3.TypedValue values = 1; */ - public com.google.monitoring.v3.TypedValueOrBuilder getValuesOrBuilder(int index) { + public com.google.monitoring.v3.TypedValueOrBuilder getValuesOrBuilder( + int index) { if (valuesBuilder_ == null) { - return values_.get(index); - } else { + return values_.get(index); } else { return valuesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * The values that make up the point.
        * 
* * repeated .google.monitoring.v3.TypedValue values = 1; */ - public java.util.List - getValuesOrBuilderList() { + public java.util.List + getValuesOrBuilderList() { if (valuesBuilder_ != null) { return valuesBuilder_.getMessageOrBuilderList(); } else { @@ -1151,8 +1037,6 @@ public com.google.monitoring.v3.TypedValueOrBuilder getValuesOrBuilder(int index } } /** - * - * *
        * The values that make up the point.
        * 
@@ -1160,47 +1044,42 @@ public com.google.monitoring.v3.TypedValueOrBuilder getValuesOrBuilder(int index * repeated .google.monitoring.v3.TypedValue values = 1; */ public com.google.monitoring.v3.TypedValue.Builder addValuesBuilder() { - return getValuesFieldBuilder() - .addBuilder(com.google.monitoring.v3.TypedValue.getDefaultInstance()); + return getValuesFieldBuilder().addBuilder( + com.google.monitoring.v3.TypedValue.getDefaultInstance()); } /** - * - * *
        * The values that make up the point.
        * 
* * repeated .google.monitoring.v3.TypedValue values = 1; */ - public com.google.monitoring.v3.TypedValue.Builder addValuesBuilder(int index) { - return getValuesFieldBuilder() - .addBuilder(index, com.google.monitoring.v3.TypedValue.getDefaultInstance()); + public com.google.monitoring.v3.TypedValue.Builder addValuesBuilder( + int index) { + return getValuesFieldBuilder().addBuilder( + index, com.google.monitoring.v3.TypedValue.getDefaultInstance()); } /** - * - * *
        * The values that make up the point.
        * 
* * repeated .google.monitoring.v3.TypedValue values = 1; */ - public java.util.List getValuesBuilderList() { + public java.util.List + getValuesBuilderList() { return getValuesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.TypedValue, - com.google.monitoring.v3.TypedValue.Builder, - com.google.monitoring.v3.TypedValueOrBuilder> + com.google.monitoring.v3.TypedValue, com.google.monitoring.v3.TypedValue.Builder, com.google.monitoring.v3.TypedValueOrBuilder> getValuesFieldBuilder() { if (valuesBuilder_ == null) { - valuesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.TypedValue, - com.google.monitoring.v3.TypedValue.Builder, - com.google.monitoring.v3.TypedValueOrBuilder>( - values_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + valuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.monitoring.v3.TypedValue, com.google.monitoring.v3.TypedValue.Builder, com.google.monitoring.v3.TypedValueOrBuilder>( + values_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); values_ = null; } return valuesBuilder_; @@ -1208,47 +1087,34 @@ public java.util.List getValuesBuil private com.google.monitoring.v3.TimeInterval timeInterval_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TimeInterval, - com.google.monitoring.v3.TimeInterval.Builder, - com.google.monitoring.v3.TimeIntervalOrBuilder> - timeIntervalBuilder_; + com.google.monitoring.v3.TimeInterval, com.google.monitoring.v3.TimeInterval.Builder, com.google.monitoring.v3.TimeIntervalOrBuilder> timeIntervalBuilder_; /** - * - * *
        * The time interval associated with the point.
        * 
* * .google.monitoring.v3.TimeInterval time_interval = 2; - * * @return Whether the timeInterval field is set. */ public boolean hasTimeInterval() { return timeIntervalBuilder_ != null || timeInterval_ != null; } /** - * - * *
        * The time interval associated with the point.
        * 
* * .google.monitoring.v3.TimeInterval time_interval = 2; - * * @return The timeInterval. */ public com.google.monitoring.v3.TimeInterval getTimeInterval() { if (timeIntervalBuilder_ == null) { - return timeInterval_ == null - ? com.google.monitoring.v3.TimeInterval.getDefaultInstance() - : timeInterval_; + return timeInterval_ == null ? com.google.monitoring.v3.TimeInterval.getDefaultInstance() : timeInterval_; } else { return timeIntervalBuilder_.getMessage(); } } /** - * - * *
        * The time interval associated with the point.
        * 
@@ -1269,8 +1135,6 @@ public Builder setTimeInterval(com.google.monitoring.v3.TimeInterval value) { return this; } /** - * - * *
        * The time interval associated with the point.
        * 
@@ -1289,8 +1153,6 @@ public Builder setTimeInterval( return this; } /** - * - * *
        * The time interval associated with the point.
        * 
@@ -1301,9 +1163,7 @@ public Builder mergeTimeInterval(com.google.monitoring.v3.TimeInterval value) { if (timeIntervalBuilder_ == null) { if (timeInterval_ != null) { timeInterval_ = - com.google.monitoring.v3.TimeInterval.newBuilder(timeInterval_) - .mergeFrom(value) - .buildPartial(); + com.google.monitoring.v3.TimeInterval.newBuilder(timeInterval_).mergeFrom(value).buildPartial(); } else { timeInterval_ = value; } @@ -1315,8 +1175,6 @@ public Builder mergeTimeInterval(com.google.monitoring.v3.TimeInterval value) { return this; } /** - * - * *
        * The time interval associated with the point.
        * 
@@ -1335,8 +1193,6 @@ public Builder clearTimeInterval() { return this; } /** - * - * *
        * The time interval associated with the point.
        * 
@@ -1344,13 +1200,11 @@ public Builder clearTimeInterval() { * .google.monitoring.v3.TimeInterval time_interval = 2; */ public com.google.monitoring.v3.TimeInterval.Builder getTimeIntervalBuilder() { - + onChanged(); return getTimeIntervalFieldBuilder().getBuilder(); } /** - * - * *
        * The time interval associated with the point.
        * 
@@ -1361,14 +1215,11 @@ public com.google.monitoring.v3.TimeIntervalOrBuilder getTimeIntervalOrBuilder() if (timeIntervalBuilder_ != null) { return timeIntervalBuilder_.getMessageOrBuilder(); } else { - return timeInterval_ == null - ? com.google.monitoring.v3.TimeInterval.getDefaultInstance() - : timeInterval_; + return timeInterval_ == null ? + com.google.monitoring.v3.TimeInterval.getDefaultInstance() : timeInterval_; } } /** - * - * *
        * The time interval associated with the point.
        * 
@@ -1376,22 +1227,18 @@ public com.google.monitoring.v3.TimeIntervalOrBuilder getTimeIntervalOrBuilder() * .google.monitoring.v3.TimeInterval time_interval = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TimeInterval, - com.google.monitoring.v3.TimeInterval.Builder, - com.google.monitoring.v3.TimeIntervalOrBuilder> + com.google.monitoring.v3.TimeInterval, com.google.monitoring.v3.TimeInterval.Builder, com.google.monitoring.v3.TimeIntervalOrBuilder> getTimeIntervalFieldBuilder() { if (timeIntervalBuilder_ == null) { - timeIntervalBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TimeInterval, - com.google.monitoring.v3.TimeInterval.Builder, - com.google.monitoring.v3.TimeIntervalOrBuilder>( - getTimeInterval(), getParentForChildren(), isClean()); + timeIntervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.TimeInterval, com.google.monitoring.v3.TimeInterval.Builder, com.google.monitoring.v3.TimeIntervalOrBuilder>( + getTimeInterval(), + getParentForChildren(), + isClean()); timeInterval_ = null; } return timeIntervalBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1404,12 +1251,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.TimeSeriesData.PointData) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.TimeSeriesData.PointData) private static final com.google.monitoring.v3.TimeSeriesData.PointData DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.TimeSeriesData.PointData(); } @@ -1418,16 +1265,16 @@ public static com.google.monitoring.v3.TimeSeriesData.PointData getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PointData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PointData(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PointData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PointData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1442,13 +1289,12 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.TimeSeriesData.PointData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int LABEL_VALUES_FIELD_NUMBER = 1; private java.util.List labelValues_; /** - * - * *
    * The values of the labels in the time series identifier, given in the same
    * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -1463,8 +1309,6 @@ public java.util.List getLabelValuesList()
     return labelValues_;
   }
   /**
-   *
-   *
    * 
    * The values of the labels in the time series identifier, given in the same
    * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -1475,13 +1319,11 @@ public java.util.List getLabelValuesList()
    * repeated .google.monitoring.v3.LabelValue label_values = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getLabelValuesOrBuilderList() {
     return labelValues_;
   }
   /**
-   *
-   *
    * 
    * The values of the labels in the time series identifier, given in the same
    * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -1496,8 +1338,6 @@ public int getLabelValuesCount() {
     return labelValues_.size();
   }
   /**
-   *
-   *
    * 
    * The values of the labels in the time series identifier, given in the same
    * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -1512,8 +1352,6 @@ public com.google.monitoring.v3.LabelValue getLabelValues(int index) {
     return labelValues_.get(index);
   }
   /**
-   *
-   *
    * 
    * The values of the labels in the time series identifier, given in the same
    * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -1524,15 +1362,14 @@ public com.google.monitoring.v3.LabelValue getLabelValues(int index) {
    * repeated .google.monitoring.v3.LabelValue label_values = 1;
    */
   @java.lang.Override
-  public com.google.monitoring.v3.LabelValueOrBuilder getLabelValuesOrBuilder(int index) {
+  public com.google.monitoring.v3.LabelValueOrBuilder getLabelValuesOrBuilder(
+      int index) {
     return labelValues_.get(index);
   }
 
   public static final int POINT_DATA_FIELD_NUMBER = 2;
   private java.util.List pointData_;
   /**
-   *
-   *
    * 
    * The points in the time series.
    * 
@@ -1544,8 +1381,6 @@ public java.util.List getPoin return pointData_; } /** - * - * *
    * The points in the time series.
    * 
@@ -1553,13 +1388,11 @@ public java.util.List getPoin * repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2; */ @java.lang.Override - public java.util.List + public java.util.List getPointDataOrBuilderList() { return pointData_; } /** - * - * *
    * The points in the time series.
    * 
@@ -1571,8 +1404,6 @@ public int getPointDataCount() { return pointData_.size(); } /** - * - * *
    * The points in the time series.
    * 
@@ -1584,8 +1415,6 @@ public com.google.monitoring.v3.TimeSeriesData.PointData getPointData(int index) return pointData_.get(index); } /** - * - * *
    * The points in the time series.
    * 
@@ -1599,7 +1428,6 @@ public com.google.monitoring.v3.TimeSeriesData.PointDataOrBuilder getPointDataOr } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1611,7 +1439,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 < labelValues_.size(); i++) { output.writeMessage(1, labelValues_.get(i)); } @@ -1628,10 +1457,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < labelValues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, labelValues_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, labelValues_.get(i)); } for (int i = 0; i < pointData_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, pointData_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, pointData_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1641,15 +1472,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.monitoring.v3.TimeSeriesData)) { return super.equals(obj); } com.google.monitoring.v3.TimeSeriesData other = (com.google.monitoring.v3.TimeSeriesData) obj; - if (!getLabelValuesList().equals(other.getLabelValuesList())) return false; - if (!getPointDataList().equals(other.getPointDataList())) return false; + if (!getLabelValuesList() + .equals(other.getLabelValuesList())) return false; + if (!getPointDataList() + .equals(other.getPointDataList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1674,104 +1507,97 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.TimeSeriesData parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.TimeSeriesData parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.TimeSeriesData parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.TimeSeriesData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.TimeSeriesData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.TimeSeriesData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.TimeSeriesData parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.TimeSeriesData 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.monitoring.v3.TimeSeriesData parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.TimeSeriesData parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.TimeSeriesData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.TimeSeriesData parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.TimeSeriesData parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.TimeSeriesData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.TimeSeriesData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents the values of a time series associated with a
    * TimeSeriesDescriptor.
@@ -1779,23 +1605,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.monitoring.v3.TimeSeriesData}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.TimeSeriesData)
       com.google.monitoring.v3.TimeSeriesDataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.monitoring.v3.MetricProto
-          .internal_static_google_monitoring_v3_TimeSeriesData_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeriesData_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.MetricProto
-          .internal_static_google_monitoring_v3_TimeSeriesData_fieldAccessorTable
+      return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeriesData_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.TimeSeriesData.class,
-              com.google.monitoring.v3.TimeSeriesData.Builder.class);
+              com.google.monitoring.v3.TimeSeriesData.class, com.google.monitoring.v3.TimeSeriesData.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.TimeSeriesData.newBuilder()
@@ -1803,18 +1627,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getLabelValuesFieldBuilder();
         getPointDataFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1834,9 +1658,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.monitoring.v3.MetricProto
-          .internal_static_google_monitoring_v3_TimeSeriesData_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeriesData_descriptor;
     }
 
     @java.lang.Override
@@ -1855,8 +1679,7 @@ public com.google.monitoring.v3.TimeSeriesData build() {
 
     @java.lang.Override
     public com.google.monitoring.v3.TimeSeriesData buildPartial() {
-      com.google.monitoring.v3.TimeSeriesData result =
-          new com.google.monitoring.v3.TimeSeriesData(this);
+      com.google.monitoring.v3.TimeSeriesData result = new com.google.monitoring.v3.TimeSeriesData(this);
       int from_bitField0_ = bitField0_;
       if (labelValuesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -1884,39 +1707,38 @@ public com.google.monitoring.v3.TimeSeriesData 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.monitoring.v3.TimeSeriesData) {
-        return mergeFrom((com.google.monitoring.v3.TimeSeriesData) other);
+        return mergeFrom((com.google.monitoring.v3.TimeSeriesData)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1943,10 +1765,9 @@ public Builder mergeFrom(com.google.monitoring.v3.TimeSeriesData other) {
             labelValuesBuilder_ = null;
             labelValues_ = other.labelValues_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            labelValuesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getLabelValuesFieldBuilder()
-                    : null;
+            labelValuesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getLabelValuesFieldBuilder() : null;
           } else {
             labelValuesBuilder_.addAllMessages(other.labelValues_);
           }
@@ -1970,10 +1791,9 @@ public Builder mergeFrom(com.google.monitoring.v3.TimeSeriesData other) {
             pointDataBuilder_ = null;
             pointData_ = other.pointData_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            pointDataBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getPointDataFieldBuilder()
-                    : null;
+            pointDataBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getPointDataFieldBuilder() : null;
           } else {
             pointDataBuilder_.addAllMessages(other.pointData_);
           }
@@ -2007,28 +1827,21 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List labelValues_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureLabelValuesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         labelValues_ = new java.util.ArrayList(labelValues_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.monitoring.v3.LabelValue,
-            com.google.monitoring.v3.LabelValue.Builder,
-            com.google.monitoring.v3.LabelValueOrBuilder>
-        labelValuesBuilder_;
+        com.google.monitoring.v3.LabelValue, com.google.monitoring.v3.LabelValue.Builder, com.google.monitoring.v3.LabelValueOrBuilder> labelValuesBuilder_;
 
     /**
-     *
-     *
      * 
      * The values of the labels in the time series identifier, given in the same
      * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -2046,8 +1859,6 @@ public java.util.List getLabelValuesList()
       }
     }
     /**
-     *
-     *
      * 
      * The values of the labels in the time series identifier, given in the same
      * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -2065,8 +1876,6 @@ public int getLabelValuesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The values of the labels in the time series identifier, given in the same
      * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -2084,8 +1893,6 @@ public com.google.monitoring.v3.LabelValue getLabelValues(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The values of the labels in the time series identifier, given in the same
      * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -2095,7 +1902,8 @@ public com.google.monitoring.v3.LabelValue getLabelValues(int index) {
      *
      * repeated .google.monitoring.v3.LabelValue label_values = 1;
      */
-    public Builder setLabelValues(int index, com.google.monitoring.v3.LabelValue value) {
+    public Builder setLabelValues(
+        int index, com.google.monitoring.v3.LabelValue value) {
       if (labelValuesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2109,8 +1917,6 @@ public Builder setLabelValues(int index, com.google.monitoring.v3.LabelValue val
       return this;
     }
     /**
-     *
-     *
      * 
      * The values of the labels in the time series identifier, given in the same
      * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -2132,8 +1938,6 @@ public Builder setLabelValues(
       return this;
     }
     /**
-     *
-     *
      * 
      * The values of the labels in the time series identifier, given in the same
      * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -2157,8 +1961,6 @@ public Builder addLabelValues(com.google.monitoring.v3.LabelValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The values of the labels in the time series identifier, given in the same
      * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -2168,7 +1970,8 @@ public Builder addLabelValues(com.google.monitoring.v3.LabelValue value) {
      *
      * repeated .google.monitoring.v3.LabelValue label_values = 1;
      */
-    public Builder addLabelValues(int index, com.google.monitoring.v3.LabelValue value) {
+    public Builder addLabelValues(
+        int index, com.google.monitoring.v3.LabelValue value) {
       if (labelValuesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2182,8 +1985,6 @@ public Builder addLabelValues(int index, com.google.monitoring.v3.LabelValue val
       return this;
     }
     /**
-     *
-     *
      * 
      * The values of the labels in the time series identifier, given in the same
      * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -2193,7 +1994,8 @@ public Builder addLabelValues(int index, com.google.monitoring.v3.LabelValue val
      *
      * repeated .google.monitoring.v3.LabelValue label_values = 1;
      */
-    public Builder addLabelValues(com.google.monitoring.v3.LabelValue.Builder builderForValue) {
+    public Builder addLabelValues(
+        com.google.monitoring.v3.LabelValue.Builder builderForValue) {
       if (labelValuesBuilder_ == null) {
         ensureLabelValuesIsMutable();
         labelValues_.add(builderForValue.build());
@@ -2204,8 +2006,6 @@ public Builder addLabelValues(com.google.monitoring.v3.LabelValue.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * The values of the labels in the time series identifier, given in the same
      * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -2227,8 +2027,6 @@ public Builder addLabelValues(
       return this;
     }
     /**
-     *
-     *
      * 
      * The values of the labels in the time series identifier, given in the same
      * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -2242,7 +2040,8 @@ public Builder addAllLabelValues(
         java.lang.Iterable values) {
       if (labelValuesBuilder_ == null) {
         ensureLabelValuesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, labelValues_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, labelValues_);
         onChanged();
       } else {
         labelValuesBuilder_.addAllMessages(values);
@@ -2250,8 +2049,6 @@ public Builder addAllLabelValues(
       return this;
     }
     /**
-     *
-     *
      * 
      * The values of the labels in the time series identifier, given in the same
      * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -2272,8 +2069,6 @@ public Builder clearLabelValues() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The values of the labels in the time series identifier, given in the same
      * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -2294,8 +2089,6 @@ public Builder removeLabelValues(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The values of the labels in the time series identifier, given in the same
      * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -2305,12 +2098,11 @@ public Builder removeLabelValues(int index) {
      *
      * repeated .google.monitoring.v3.LabelValue label_values = 1;
      */
-    public com.google.monitoring.v3.LabelValue.Builder getLabelValuesBuilder(int index) {
+    public com.google.monitoring.v3.LabelValue.Builder getLabelValuesBuilder(
+        int index) {
       return getLabelValuesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The values of the labels in the time series identifier, given in the same
      * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -2320,16 +2112,14 @@ public com.google.monitoring.v3.LabelValue.Builder getLabelValuesBuilder(int ind
      *
      * repeated .google.monitoring.v3.LabelValue label_values = 1;
      */
-    public com.google.monitoring.v3.LabelValueOrBuilder getLabelValuesOrBuilder(int index) {
+    public com.google.monitoring.v3.LabelValueOrBuilder getLabelValuesOrBuilder(
+        int index) {
       if (labelValuesBuilder_ == null) {
-        return labelValues_.get(index);
-      } else {
+        return labelValues_.get(index);  } else {
         return labelValuesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The values of the labels in the time series identifier, given in the same
      * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -2339,8 +2129,8 @@ public com.google.monitoring.v3.LabelValueOrBuilder getLabelValuesOrBuilder(int
      *
      * repeated .google.monitoring.v3.LabelValue label_values = 1;
      */
-    public java.util.List
-        getLabelValuesOrBuilderList() {
+    public java.util.List 
+         getLabelValuesOrBuilderList() {
       if (labelValuesBuilder_ != null) {
         return labelValuesBuilder_.getMessageOrBuilderList();
       } else {
@@ -2348,8 +2138,6 @@ public com.google.monitoring.v3.LabelValueOrBuilder getLabelValuesOrBuilder(int
       }
     }
     /**
-     *
-     *
      * 
      * The values of the labels in the time series identifier, given in the same
      * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -2360,12 +2148,10 @@ public com.google.monitoring.v3.LabelValueOrBuilder getLabelValuesOrBuilder(int
      * repeated .google.monitoring.v3.LabelValue label_values = 1;
      */
     public com.google.monitoring.v3.LabelValue.Builder addLabelValuesBuilder() {
-      return getLabelValuesFieldBuilder()
-          .addBuilder(com.google.monitoring.v3.LabelValue.getDefaultInstance());
+      return getLabelValuesFieldBuilder().addBuilder(
+          com.google.monitoring.v3.LabelValue.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The values of the labels in the time series identifier, given in the same
      * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -2375,13 +2161,12 @@ public com.google.monitoring.v3.LabelValue.Builder addLabelValuesBuilder() {
      *
      * repeated .google.monitoring.v3.LabelValue label_values = 1;
      */
-    public com.google.monitoring.v3.LabelValue.Builder addLabelValuesBuilder(int index) {
-      return getLabelValuesFieldBuilder()
-          .addBuilder(index, com.google.monitoring.v3.LabelValue.getDefaultInstance());
+    public com.google.monitoring.v3.LabelValue.Builder addLabelValuesBuilder(
+        int index) {
+      return getLabelValuesFieldBuilder().addBuilder(
+          index, com.google.monitoring.v3.LabelValue.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The values of the labels in the time series identifier, given in the same
      * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -2391,47 +2176,38 @@ public com.google.monitoring.v3.LabelValue.Builder addLabelValuesBuilder(int ind
      *
      * repeated .google.monitoring.v3.LabelValue label_values = 1;
      */
-    public java.util.List getLabelValuesBuilderList() {
+    public java.util.List 
+         getLabelValuesBuilderList() {
       return getLabelValuesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.monitoring.v3.LabelValue,
-            com.google.monitoring.v3.LabelValue.Builder,
-            com.google.monitoring.v3.LabelValueOrBuilder>
+        com.google.monitoring.v3.LabelValue, com.google.monitoring.v3.LabelValue.Builder, com.google.monitoring.v3.LabelValueOrBuilder> 
         getLabelValuesFieldBuilder() {
       if (labelValuesBuilder_ == null) {
-        labelValuesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.monitoring.v3.LabelValue,
-                com.google.monitoring.v3.LabelValue.Builder,
-                com.google.monitoring.v3.LabelValueOrBuilder>(
-                labelValues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        labelValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.monitoring.v3.LabelValue, com.google.monitoring.v3.LabelValue.Builder, com.google.monitoring.v3.LabelValueOrBuilder>(
+                labelValues_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         labelValues_ = null;
       }
       return labelValuesBuilder_;
     }
 
     private java.util.List pointData_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensurePointDataIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
-        pointData_ =
-            new java.util.ArrayList(pointData_);
+        pointData_ = new java.util.ArrayList(pointData_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.monitoring.v3.TimeSeriesData.PointData,
-            com.google.monitoring.v3.TimeSeriesData.PointData.Builder,
-            com.google.monitoring.v3.TimeSeriesData.PointDataOrBuilder>
-        pointDataBuilder_;
+        com.google.monitoring.v3.TimeSeriesData.PointData, com.google.monitoring.v3.TimeSeriesData.PointData.Builder, com.google.monitoring.v3.TimeSeriesData.PointDataOrBuilder> pointDataBuilder_;
 
     /**
-     *
-     *
      * 
      * The points in the time series.
      * 
@@ -2446,8 +2222,6 @@ public java.util.List getPoin } } /** - * - * *
      * The points in the time series.
      * 
@@ -2462,8 +2236,6 @@ public int getPointDataCount() { } } /** - * - * *
      * The points in the time series.
      * 
@@ -2478,8 +2250,6 @@ public com.google.monitoring.v3.TimeSeriesData.PointData getPointData(int index) } } /** - * - * *
      * The points in the time series.
      * 
@@ -2501,8 +2271,6 @@ public Builder setPointData( return this; } /** - * - * *
      * The points in the time series.
      * 
@@ -2521,8 +2289,6 @@ public Builder setPointData( return this; } /** - * - * *
      * The points in the time series.
      * 
@@ -2543,8 +2309,6 @@ public Builder addPointData(com.google.monitoring.v3.TimeSeriesData.PointData va return this; } /** - * - * *
      * The points in the time series.
      * 
@@ -2566,8 +2330,6 @@ public Builder addPointData( return this; } /** - * - * *
      * The points in the time series.
      * 
@@ -2586,8 +2348,6 @@ public Builder addPointData( return this; } /** - * - * *
      * The points in the time series.
      * 
@@ -2606,8 +2366,6 @@ public Builder addPointData( return this; } /** - * - * *
      * The points in the time series.
      * 
@@ -2618,7 +2376,8 @@ public Builder addAllPointData( java.lang.Iterable values) { if (pointDataBuilder_ == null) { ensurePointDataIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pointData_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, pointData_); onChanged(); } else { pointDataBuilder_.addAllMessages(values); @@ -2626,8 +2385,6 @@ public Builder addAllPointData( return this; } /** - * - * *
      * The points in the time series.
      * 
@@ -2645,8 +2402,6 @@ public Builder clearPointData() { return this; } /** - * - * *
      * The points in the time series.
      * 
@@ -2664,8 +2419,6 @@ public Builder removePointData(int index) { return this; } /** - * - * *
      * The points in the time series.
      * 
@@ -2677,8 +2430,6 @@ public com.google.monitoring.v3.TimeSeriesData.PointData.Builder getPointDataBui return getPointDataFieldBuilder().getBuilder(index); } /** - * - * *
      * The points in the time series.
      * 
@@ -2688,22 +2439,19 @@ public com.google.monitoring.v3.TimeSeriesData.PointData.Builder getPointDataBui public com.google.monitoring.v3.TimeSeriesData.PointDataOrBuilder getPointDataOrBuilder( int index) { if (pointDataBuilder_ == null) { - return pointData_.get(index); - } else { + return pointData_.get(index); } else { return pointDataBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The points in the time series.
      * 
* * repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2; */ - public java.util.List - getPointDataOrBuilderList() { + public java.util.List + getPointDataOrBuilderList() { if (pointDataBuilder_ != null) { return pointDataBuilder_.getMessageOrBuilderList(); } else { @@ -2711,8 +2459,6 @@ public com.google.monitoring.v3.TimeSeriesData.PointDataOrBuilder getPointDataOr } } /** - * - * *
      * The points in the time series.
      * 
@@ -2720,12 +2466,10 @@ public com.google.monitoring.v3.TimeSeriesData.PointDataOrBuilder getPointDataOr * repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2; */ public com.google.monitoring.v3.TimeSeriesData.PointData.Builder addPointDataBuilder() { - return getPointDataFieldBuilder() - .addBuilder(com.google.monitoring.v3.TimeSeriesData.PointData.getDefaultInstance()); + return getPointDataFieldBuilder().addBuilder( + com.google.monitoring.v3.TimeSeriesData.PointData.getDefaultInstance()); } /** - * - * *
      * The points in the time series.
      * 
@@ -2734,43 +2478,37 @@ public com.google.monitoring.v3.TimeSeriesData.PointData.Builder addPointDataBui */ public com.google.monitoring.v3.TimeSeriesData.PointData.Builder addPointDataBuilder( int index) { - return getPointDataFieldBuilder() - .addBuilder( - index, com.google.monitoring.v3.TimeSeriesData.PointData.getDefaultInstance()); + return getPointDataFieldBuilder().addBuilder( + index, com.google.monitoring.v3.TimeSeriesData.PointData.getDefaultInstance()); } /** - * - * *
      * The points in the time series.
      * 
* * repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2; */ - public java.util.List - getPointDataBuilderList() { + public java.util.List + getPointDataBuilderList() { return getPointDataFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.TimeSeriesData.PointData, - com.google.monitoring.v3.TimeSeriesData.PointData.Builder, - com.google.monitoring.v3.TimeSeriesData.PointDataOrBuilder> + com.google.monitoring.v3.TimeSeriesData.PointData, com.google.monitoring.v3.TimeSeriesData.PointData.Builder, com.google.monitoring.v3.TimeSeriesData.PointDataOrBuilder> getPointDataFieldBuilder() { if (pointDataBuilder_ == null) { - pointDataBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.TimeSeriesData.PointData, - com.google.monitoring.v3.TimeSeriesData.PointData.Builder, - com.google.monitoring.v3.TimeSeriesData.PointDataOrBuilder>( - pointData_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + pointDataBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.monitoring.v3.TimeSeriesData.PointData, com.google.monitoring.v3.TimeSeriesData.PointData.Builder, com.google.monitoring.v3.TimeSeriesData.PointDataOrBuilder>( + pointData_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); pointData_ = null; } return pointDataBuilder_; } - @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); } @@ -2780,12 +2518,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.TimeSeriesData) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.TimeSeriesData) private static final com.google.monitoring.v3.TimeSeriesData DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.TimeSeriesData(); } @@ -2794,16 +2532,16 @@ public static com.google.monitoring.v3.TimeSeriesData getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimeSeriesData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TimeSeriesData(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimeSeriesData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TimeSeriesData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2818,4 +2556,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.TimeSeriesData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesDataOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesDataOrBuilder.java similarity index 80% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesDataOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesDataOrBuilder.java index 7032d258..35fa4f98 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesDataOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesDataOrBuilder.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/monitoring/v3/metric.proto package com.google.monitoring.v3; -public interface TimeSeriesDataOrBuilder - extends +public interface TimeSeriesDataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.TimeSeriesData) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The values of the labels in the time series identifier, given in the same
    * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -35,10 +17,9 @@ public interface TimeSeriesDataOrBuilder
    *
    * repeated .google.monitoring.v3.LabelValue label_values = 1;
    */
-  java.util.List getLabelValuesList();
+  java.util.List 
+      getLabelValuesList();
   /**
-   *
-   *
    * 
    * The values of the labels in the time series identifier, given in the same
    * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -50,8 +31,6 @@ public interface TimeSeriesDataOrBuilder
    */
   com.google.monitoring.v3.LabelValue getLabelValues(int index);
   /**
-   *
-   *
    * 
    * The values of the labels in the time series identifier, given in the same
    * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -63,8 +42,6 @@ public interface TimeSeriesDataOrBuilder
    */
   int getLabelValuesCount();
   /**
-   *
-   *
    * 
    * The values of the labels in the time series identifier, given in the same
    * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -74,11 +51,9 @@ public interface TimeSeriesDataOrBuilder
    *
    * repeated .google.monitoring.v3.LabelValue label_values = 1;
    */
-  java.util.List
+  java.util.List 
       getLabelValuesOrBuilderList();
   /**
-   *
-   *
    * 
    * The values of the labels in the time series identifier, given in the same
    * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -88,21 +63,19 @@ public interface TimeSeriesDataOrBuilder
    *
    * repeated .google.monitoring.v3.LabelValue label_values = 1;
    */
-  com.google.monitoring.v3.LabelValueOrBuilder getLabelValuesOrBuilder(int index);
+  com.google.monitoring.v3.LabelValueOrBuilder getLabelValuesOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * The points in the time series.
    * 
* * repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2; */ - java.util.List getPointDataList(); + java.util.List + getPointDataList(); /** - * - * *
    * The points in the time series.
    * 
@@ -111,8 +84,6 @@ public interface TimeSeriesDataOrBuilder */ com.google.monitoring.v3.TimeSeriesData.PointData getPointData(int index); /** - * - * *
    * The points in the time series.
    * 
@@ -121,24 +92,21 @@ public interface TimeSeriesDataOrBuilder */ int getPointDataCount(); /** - * - * *
    * The points in the time series.
    * 
* * repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2; */ - java.util.List + java.util.List getPointDataOrBuilderList(); /** - * - * *
    * The points in the time series.
    * 
* * repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2; */ - com.google.monitoring.v3.TimeSeriesData.PointDataOrBuilder getPointDataOrBuilder(int index); + com.google.monitoring.v3.TimeSeriesData.PointDataOrBuilder getPointDataOrBuilder( + int index); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesDescriptor.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesDescriptor.java similarity index 71% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesDescriptor.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesDescriptor.java index 93b5f3e5..ff293616 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesDescriptor.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesDescriptor.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/monitoring/v3/metric.proto package com.google.monitoring.v3; /** - * - * *
  * A descriptor for the labels and points in a time series.
  * 
* * Protobuf type {@code google.monitoring.v3.TimeSeriesDescriptor} */ -public final class TimeSeriesDescriptor extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TimeSeriesDescriptor extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.TimeSeriesDescriptor) TimeSeriesDescriptorOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TimeSeriesDescriptor.newBuilder() to construct. private TimeSeriesDescriptor(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TimeSeriesDescriptor() { labelDescriptors_ = java.util.Collections.emptyList(); pointDescriptors_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private TimeSeriesDescriptor() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TimeSeriesDescriptor(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TimeSeriesDescriptor( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,43 +55,38 @@ private TimeSeriesDescriptor( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labelDescriptors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - labelDescriptors_.add( - input.readMessage(com.google.api.LabelDescriptor.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labelDescriptors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 42: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - pointDescriptors_ = - new java.util.ArrayList< - com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor>(); - mutable_bitField0_ |= 0x00000002; - } - pointDescriptors_.add( - input.readMessage( - com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.parser(), - extensionRegistry)); - break; + labelDescriptors_.add( + input.readMessage(com.google.api.LabelDescriptor.parser(), extensionRegistry)); + break; + } + case 42: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + pointDescriptors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pointDescriptors_.add( + input.readMessage(com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { labelDescriptors_ = java.util.Collections.unmodifiableList(labelDescriptors_); @@ -120,105 +98,82 @@ private TimeSeriesDescriptor( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricProto - .internal_static_google_monitoring_v3_TimeSeriesDescriptor_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeriesDescriptor_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricProto - .internal_static_google_monitoring_v3_TimeSeriesDescriptor_fieldAccessorTable + return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeriesDescriptor_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.TimeSeriesDescriptor.class, - com.google.monitoring.v3.TimeSeriesDescriptor.Builder.class); + com.google.monitoring.v3.TimeSeriesDescriptor.class, com.google.monitoring.v3.TimeSeriesDescriptor.Builder.class); } - public interface ValueDescriptorOrBuilder - extends + public interface ValueDescriptorOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The value key.
      * 
* * string key = 1; - * * @return The key. */ java.lang.String getKey(); /** - * - * *
      * The value key.
      * 
* * string key = 1; - * * @return The bytes for key. */ - com.google.protobuf.ByteString getKeyBytes(); + com.google.protobuf.ByteString + getKeyBytes(); /** - * - * *
      * The value type.
      * 
* * .google.api.MetricDescriptor.ValueType value_type = 2; - * * @return The enum numeric value on the wire for valueType. */ int getValueTypeValue(); /** - * - * *
      * The value type.
      * 
* * .google.api.MetricDescriptor.ValueType value_type = 2; - * * @return The valueType. */ com.google.api.MetricDescriptor.ValueType getValueType(); /** - * - * *
      * The value stream kind.
      * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; - * * @return The enum numeric value on the wire for metricKind. */ int getMetricKindValue(); /** - * - * *
      * The value stream kind.
      * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; - * * @return The metricKind. */ com.google.api.MetricDescriptor.MetricKind getMetricKind(); /** - * - * *
      * The unit in which `time_series` point values are reported. `unit`
      * follows the UCUM format for units as seen in
@@ -227,13 +182,10 @@ public interface ValueDescriptorOrBuilder
      * 
* * string unit = 4; - * * @return The unit. */ java.lang.String getUnit(); /** - * - * *
      * The unit in which `time_series` point values are reported. `unit`
      * follows the UCUM format for units as seen in
@@ -242,30 +194,27 @@ public interface ValueDescriptorOrBuilder
      * 
* * string unit = 4; - * * @return The bytes for unit. */ - com.google.protobuf.ByteString getUnitBytes(); + com.google.protobuf.ByteString + getUnitBytes(); } /** - * - * *
    * A descriptor for the value columns in a data point.
    * 
* * Protobuf type {@code google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor} */ - public static final class ValueDescriptor extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ValueDescriptor extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor) ValueDescriptorOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ValueDescriptor.newBuilder() to construct. private ValueDescriptor(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ValueDescriptor() { key_ = ""; valueType_ = 0; @@ -275,15 +224,16 @@ private ValueDescriptor() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ValueDescriptor(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ValueDescriptor( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -302,79 +252,70 @@ private ValueDescriptor( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - key_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + key_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - valueType_ = rawValue; - break; - } - case 24: - { - int rawValue = input.readEnum(); + valueType_ = rawValue; + break; + } + case 24: { + int rawValue = input.readEnum(); - metricKind_ = rawValue; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + metricKind_ = rawValue; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - unit_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + unit_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricProto - .internal_static_google_monitoring_v3_TimeSeriesDescriptor_ValueDescriptor_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeriesDescriptor_ValueDescriptor_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricProto - .internal_static_google_monitoring_v3_TimeSeriesDescriptor_ValueDescriptor_fieldAccessorTable + return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeriesDescriptor_ValueDescriptor_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.class, - com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder.class); + com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.class, com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder.class); } public static final int KEY_FIELD_NUMBER = 1; private volatile java.lang.Object key_; /** - * - * *
      * The value key.
      * 
* * string key = 1; - * * @return The key. */ @java.lang.Override @@ -383,29 +324,29 @@ public java.lang.String getKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; } } /** - * - * *
      * The value key.
      * 
* * string key = 1; - * * @return The bytes for key. */ @java.lang.Override - public com.google.protobuf.ByteString getKeyBytes() { + public com.google.protobuf.ByteString + getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); key_ = b; return b; } else { @@ -416,80 +357,60 @@ public com.google.protobuf.ByteString getKeyBytes() { public static final int VALUE_TYPE_FIELD_NUMBER = 2; private int valueType_; /** - * - * *
      * The value type.
      * 
* * .google.api.MetricDescriptor.ValueType value_type = 2; - * * @return The enum numeric value on the wire for valueType. */ - @java.lang.Override - public int getValueTypeValue() { + @java.lang.Override public int getValueTypeValue() { return valueType_; } /** - * - * *
      * The value type.
      * 
* * .google.api.MetricDescriptor.ValueType value_type = 2; - * * @return The valueType. */ - @java.lang.Override - public com.google.api.MetricDescriptor.ValueType getValueType() { + @java.lang.Override public com.google.api.MetricDescriptor.ValueType getValueType() { @SuppressWarnings("deprecation") - com.google.api.MetricDescriptor.ValueType result = - com.google.api.MetricDescriptor.ValueType.valueOf(valueType_); + com.google.api.MetricDescriptor.ValueType result = com.google.api.MetricDescriptor.ValueType.valueOf(valueType_); return result == null ? com.google.api.MetricDescriptor.ValueType.UNRECOGNIZED : result; } public static final int METRIC_KIND_FIELD_NUMBER = 3; private int metricKind_; /** - * - * *
      * The value stream kind.
      * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; - * * @return The enum numeric value on the wire for metricKind. */ - @java.lang.Override - public int getMetricKindValue() { + @java.lang.Override public int getMetricKindValue() { return metricKind_; } /** - * - * *
      * The value stream kind.
      * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; - * * @return The metricKind. */ - @java.lang.Override - public com.google.api.MetricDescriptor.MetricKind getMetricKind() { + @java.lang.Override public com.google.api.MetricDescriptor.MetricKind getMetricKind() { @SuppressWarnings("deprecation") - com.google.api.MetricDescriptor.MetricKind result = - com.google.api.MetricDescriptor.MetricKind.valueOf(metricKind_); + com.google.api.MetricDescriptor.MetricKind result = com.google.api.MetricDescriptor.MetricKind.valueOf(metricKind_); return result == null ? com.google.api.MetricDescriptor.MetricKind.UNRECOGNIZED : result; } public static final int UNIT_FIELD_NUMBER = 4; private volatile java.lang.Object unit_; /** - * - * *
      * The unit in which `time_series` point values are reported. `unit`
      * follows the UCUM format for units as seen in
@@ -498,7 +419,6 @@ public com.google.api.MetricDescriptor.MetricKind getMetricKind() {
      * 
* * string unit = 4; - * * @return The unit. */ @java.lang.Override @@ -507,15 +427,14 @@ public java.lang.String getUnit() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); unit_ = s; return s; } } /** - * - * *
      * The unit in which `time_series` point values are reported. `unit`
      * follows the UCUM format for units as seen in
@@ -524,15 +443,16 @@ public java.lang.String getUnit() {
      * 
* * string unit = 4; - * * @return The bytes for unit. */ @java.lang.Override - public com.google.protobuf.ByteString getUnitBytes() { + public com.google.protobuf.ByteString + getUnitBytes() { java.lang.Object ref = unit_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); unit_ = b; return b; } else { @@ -541,7 +461,6 @@ public com.google.protobuf.ByteString getUnitBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -553,16 +472,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(key_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); } - if (valueType_ - != com.google.api.MetricDescriptor.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { + if (valueType_ != com.google.api.MetricDescriptor.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, valueType_); } - if (metricKind_ - != com.google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.getNumber()) { + if (metricKind_ != com.google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.getNumber()) { output.writeEnum(3, metricKind_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(unit_)) { @@ -580,13 +498,13 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_); } - if (valueType_ - != com.google.api.MetricDescriptor.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, valueType_); + if (valueType_ != com.google.api.MetricDescriptor.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, valueType_); } - if (metricKind_ - != com.google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, metricKind_); + if (metricKind_ != com.google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, metricKind_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(unit_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, unit_); @@ -599,18 +517,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.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor)) { return super.equals(obj); } - com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor other = - (com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor) obj; + com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor other = (com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor) obj; - if (!getKey().equals(other.getKey())) return false; + if (!getKey() + .equals(other.getKey())) return false; if (valueType_ != other.valueType_) return false; if (metricKind_ != other.metricKind_) return false; - if (!getUnit().equals(other.getUnit())) return false; + if (!getUnit() + .equals(other.getUnit())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -636,94 +555,87 @@ public int hashCode() { } public static com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor prototype) { + public static Builder newBuilder(com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -733,32 +645,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A descriptor for the value columns in a data point.
      * 
* * Protobuf type {@code google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor) com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricProto - .internal_static_google_monitoring_v3_TimeSeriesDescriptor_ValueDescriptor_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeriesDescriptor_ValueDescriptor_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricProto - .internal_static_google_monitoring_v3_TimeSeriesDescriptor_ValueDescriptor_fieldAccessorTable + return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeriesDescriptor_ValueDescriptor_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.class, - com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder.class); + com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.class, com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder.class); } // Construct using com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.newBuilder() @@ -766,15 +673,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -790,14 +698,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.MetricProto - .internal_static_google_monitoring_v3_TimeSeriesDescriptor_ValueDescriptor_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeriesDescriptor_ValueDescriptor_descriptor; } @java.lang.Override - public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor - getDefaultInstanceForType() { + public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor getDefaultInstanceForType() { return com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.getDefaultInstance(); } @@ -812,8 +719,7 @@ public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor build() { @java.lang.Override public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor buildPartial() { - com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor result = - new com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor(this); + com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor result = new com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor(this); result.key_ = key_; result.valueType_ = valueType_; result.metricKind_ = metricKind_; @@ -826,52 +732,46 @@ public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor) { - return mergeFrom((com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor) other); + return mergeFrom((com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor other) { - if (other - == com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor other) { + if (other == com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.getDefaultInstance()) return this; if (!other.getKey().isEmpty()) { key_ = other.key_; onChanged(); @@ -905,9 +805,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor) - e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -919,20 +817,18 @@ public Builder mergeFrom( private java.lang.Object key_ = ""; /** - * - * *
        * The value key.
        * 
* * string key = 1; - * * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; @@ -941,21 +837,20 @@ public java.lang.String getKey() { } } /** - * - * *
        * The value key.
        * 
* * string key = 1; - * * @return The bytes for key. */ - public com.google.protobuf.ByteString getKeyBytes() { + public com.google.protobuf.ByteString + getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); key_ = b; return b; } else { @@ -963,61 +858,54 @@ public com.google.protobuf.ByteString getKeyBytes() { } } /** - * - * *
        * The value key.
        * 
* * string key = 1; - * * @param value The key to set. * @return This builder for chaining. */ - public Builder setKey(java.lang.String value) { + public Builder setKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + key_ = value; onChanged(); return this; } /** - * - * *
        * The value key.
        * 
* * string key = 1; - * * @return This builder for chaining. */ public Builder clearKey() { - + key_ = getDefaultInstance().getKey(); onChanged(); return this; } /** - * - * *
        * The value key.
        * 
* * string key = 1; - * * @param value The bytes for key to set. * @return This builder for chaining. */ - public Builder setKeyBytes(com.google.protobuf.ByteString value) { + public Builder setKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + key_ = value; onChanged(); return this; @@ -1025,65 +913,51 @@ public Builder setKeyBytes(com.google.protobuf.ByteString value) { private int valueType_ = 0; /** - * - * *
        * The value type.
        * 
* * .google.api.MetricDescriptor.ValueType value_type = 2; - * * @return The enum numeric value on the wire for valueType. */ - @java.lang.Override - public int getValueTypeValue() { + @java.lang.Override public int getValueTypeValue() { return valueType_; } /** - * - * *
        * The value type.
        * 
* * .google.api.MetricDescriptor.ValueType value_type = 2; - * * @param value The enum numeric value on the wire for valueType to set. * @return This builder for chaining. */ public Builder setValueTypeValue(int value) { - + valueType_ = value; onChanged(); return this; } /** - * - * *
        * The value type.
        * 
* * .google.api.MetricDescriptor.ValueType value_type = 2; - * * @return The valueType. */ @java.lang.Override public com.google.api.MetricDescriptor.ValueType getValueType() { @SuppressWarnings("deprecation") - com.google.api.MetricDescriptor.ValueType result = - com.google.api.MetricDescriptor.ValueType.valueOf(valueType_); + com.google.api.MetricDescriptor.ValueType result = com.google.api.MetricDescriptor.ValueType.valueOf(valueType_); return result == null ? com.google.api.MetricDescriptor.ValueType.UNRECOGNIZED : result; } /** - * - * *
        * The value type.
        * 
* * .google.api.MetricDescriptor.ValueType value_type = 2; - * * @param value The valueType to set. * @return This builder for chaining. */ @@ -1091,24 +965,21 @@ public Builder setValueType(com.google.api.MetricDescriptor.ValueType value) { if (value == null) { throw new NullPointerException(); } - + valueType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The value type.
        * 
* * .google.api.MetricDescriptor.ValueType value_type = 2; - * * @return This builder for chaining. */ public Builder clearValueType() { - + valueType_ = 0; onChanged(); return this; @@ -1116,65 +987,51 @@ public Builder clearValueType() { private int metricKind_ = 0; /** - * - * *
        * The value stream kind.
        * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; - * * @return The enum numeric value on the wire for metricKind. */ - @java.lang.Override - public int getMetricKindValue() { + @java.lang.Override public int getMetricKindValue() { return metricKind_; } /** - * - * *
        * The value stream kind.
        * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; - * * @param value The enum numeric value on the wire for metricKind to set. * @return This builder for chaining. */ public Builder setMetricKindValue(int value) { - + metricKind_ = value; onChanged(); return this; } /** - * - * *
        * The value stream kind.
        * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; - * * @return The metricKind. */ @java.lang.Override public com.google.api.MetricDescriptor.MetricKind getMetricKind() { @SuppressWarnings("deprecation") - com.google.api.MetricDescriptor.MetricKind result = - com.google.api.MetricDescriptor.MetricKind.valueOf(metricKind_); + com.google.api.MetricDescriptor.MetricKind result = com.google.api.MetricDescriptor.MetricKind.valueOf(metricKind_); return result == null ? com.google.api.MetricDescriptor.MetricKind.UNRECOGNIZED : result; } /** - * - * *
        * The value stream kind.
        * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; - * * @param value The metricKind to set. * @return This builder for chaining. */ @@ -1182,24 +1039,21 @@ public Builder setMetricKind(com.google.api.MetricDescriptor.MetricKind value) { if (value == null) { throw new NullPointerException(); } - + metricKind_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The value stream kind.
        * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; - * * @return This builder for chaining. */ public Builder clearMetricKind() { - + metricKind_ = 0; onChanged(); return this; @@ -1207,8 +1061,6 @@ public Builder clearMetricKind() { private java.lang.Object unit_ = ""; /** - * - * *
        * The unit in which `time_series` point values are reported. `unit`
        * follows the UCUM format for units as seen in
@@ -1217,13 +1069,13 @@ public Builder clearMetricKind() {
        * 
* * string unit = 4; - * * @return The unit. */ public java.lang.String getUnit() { java.lang.Object ref = unit_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); unit_ = s; return s; @@ -1232,8 +1084,6 @@ public java.lang.String getUnit() { } } /** - * - * *
        * The unit in which `time_series` point values are reported. `unit`
        * follows the UCUM format for units as seen in
@@ -1242,14 +1092,15 @@ public java.lang.String getUnit() {
        * 
* * string unit = 4; - * * @return The bytes for unit. */ - public com.google.protobuf.ByteString getUnitBytes() { + public com.google.protobuf.ByteString + getUnitBytes() { java.lang.Object ref = unit_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); unit_ = b; return b; } else { @@ -1257,8 +1108,6 @@ public com.google.protobuf.ByteString getUnitBytes() { } } /** - * - * *
        * The unit in which `time_series` point values are reported. `unit`
        * follows the UCUM format for units as seen in
@@ -1267,22 +1116,20 @@ public com.google.protobuf.ByteString getUnitBytes() {
        * 
* * string unit = 4; - * * @param value The unit to set. * @return This builder for chaining. */ - public Builder setUnit(java.lang.String value) { + public Builder setUnit( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + unit_ = value; onChanged(); return this; } /** - * - * *
        * The unit in which `time_series` point values are reported. `unit`
        * follows the UCUM format for units as seen in
@@ -1291,18 +1138,15 @@ public Builder setUnit(java.lang.String value) {
        * 
* * string unit = 4; - * * @return This builder for chaining. */ public Builder clearUnit() { - + unit_ = getDefaultInstance().getUnit(); onChanged(); return this; } /** - * - * *
        * The unit in which `time_series` point values are reported. `unit`
        * follows the UCUM format for units as seen in
@@ -1311,21 +1155,20 @@ public Builder clearUnit() {
        * 
* * string unit = 4; - * * @param value The bytes for unit to set. * @return This builder for chaining. */ - public Builder setUnitBytes(com.google.protobuf.ByteString value) { + public Builder setUnitBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + unit_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1338,32 +1181,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor) - private static final com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor - DEFAULT_INSTANCE; - + private static final com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor(); } - public static com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor - getDefaultInstance() { + public static com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ValueDescriptor parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ValueDescriptor(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ValueDescriptor parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ValueDescriptor(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1375,17 +1216,15 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor - getDefaultInstanceForType() { + public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int LABEL_DESCRIPTORS_FIELD_NUMBER = 1; private java.util.List labelDescriptors_; /** - * - * *
    * Descriptors for the labels.
    * 
@@ -1397,8 +1236,6 @@ public java.util.List getLabelDescriptorsList() return labelDescriptors_; } /** - * - * *
    * Descriptors for the labels.
    * 
@@ -1406,13 +1243,11 @@ public java.util.List getLabelDescriptorsList() * repeated .google.api.LabelDescriptor label_descriptors = 1; */ @java.lang.Override - public java.util.List + public java.util.List getLabelDescriptorsOrBuilderList() { return labelDescriptors_; } /** - * - * *
    * Descriptors for the labels.
    * 
@@ -1424,8 +1259,6 @@ public int getLabelDescriptorsCount() { return labelDescriptors_.size(); } /** - * - * *
    * Descriptors for the labels.
    * 
@@ -1437,8 +1270,6 @@ public com.google.api.LabelDescriptor getLabelDescriptors(int index) { return labelDescriptors_.get(index); } /** - * - * *
    * Descriptors for the labels.
    * 
@@ -1446,96 +1277,72 @@ public com.google.api.LabelDescriptor getLabelDescriptors(int index) { * repeated .google.api.LabelDescriptor label_descriptors = 1; */ @java.lang.Override - public com.google.api.LabelDescriptorOrBuilder getLabelDescriptorsOrBuilder(int index) { + public com.google.api.LabelDescriptorOrBuilder getLabelDescriptorsOrBuilder( + int index) { return labelDescriptors_.get(index); } public static final int POINT_DESCRIPTORS_FIELD_NUMBER = 5; - private java.util.List - pointDescriptors_; + private java.util.List pointDescriptors_; /** - * - * *
    * Descriptors for the point data value columns.
    * 
* - * - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; - * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; */ @java.lang.Override - public java.util.List - getPointDescriptorsList() { + public java.util.List getPointDescriptorsList() { return pointDescriptors_; } /** - * - * *
    * Descriptors for the point data value columns.
    * 
* - * - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; - * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; */ @java.lang.Override - public java.util.List< - ? extends com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptorOrBuilder> + public java.util.List getPointDescriptorsOrBuilderList() { return pointDescriptors_; } /** - * - * *
    * Descriptors for the point data value columns.
    * 
* - * - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; - * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; */ @java.lang.Override public int getPointDescriptorsCount() { return pointDescriptors_.size(); } /** - * - * *
    * Descriptors for the point data value columns.
    * 
* - * - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; - * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; */ @java.lang.Override - public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor getPointDescriptors( - int index) { + public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor getPointDescriptors(int index) { return pointDescriptors_.get(index); } /** - * - * *
    * Descriptors for the point data value columns.
    * 
* - * - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; - * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; */ @java.lang.Override - public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptorOrBuilder - getPointDescriptorsOrBuilder(int index) { + public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptorOrBuilder getPointDescriptorsOrBuilder( + int index) { return pointDescriptors_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1547,7 +1354,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 < labelDescriptors_.size(); i++) { output.writeMessage(1, labelDescriptors_.get(i)); } @@ -1564,10 +1372,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < labelDescriptors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, labelDescriptors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, labelDescriptors_.get(i)); } for (int i = 0; i < pointDescriptors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, pointDescriptors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, pointDescriptors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1577,16 +1387,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.monitoring.v3.TimeSeriesDescriptor)) { return super.equals(obj); } - com.google.monitoring.v3.TimeSeriesDescriptor other = - (com.google.monitoring.v3.TimeSeriesDescriptor) obj; + com.google.monitoring.v3.TimeSeriesDescriptor other = (com.google.monitoring.v3.TimeSeriesDescriptor) obj; - if (!getLabelDescriptorsList().equals(other.getLabelDescriptorsList())) return false; - if (!getPointDescriptorsList().equals(other.getPointDescriptorsList())) return false; + if (!getLabelDescriptorsList() + .equals(other.getLabelDescriptorsList())) return false; + if (!getPointDescriptorsList() + .equals(other.getPointDescriptorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1611,127 +1422,118 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.TimeSeriesDescriptor parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.TimeSeriesDescriptor parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.TimeSeriesDescriptor parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.TimeSeriesDescriptor parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.TimeSeriesDescriptor parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.TimeSeriesDescriptor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.TimeSeriesDescriptor parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.TimeSeriesDescriptor 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.monitoring.v3.TimeSeriesDescriptor parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.TimeSeriesDescriptor parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.TimeSeriesDescriptor parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.TimeSeriesDescriptor parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.TimeSeriesDescriptor parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.TimeSeriesDescriptor parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.TimeSeriesDescriptor prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 descriptor for the labels and points in a time series.
    * 
* * Protobuf type {@code google.monitoring.v3.TimeSeriesDescriptor} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.TimeSeriesDescriptor) com.google.monitoring.v3.TimeSeriesDescriptorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.MetricProto - .internal_static_google_monitoring_v3_TimeSeriesDescriptor_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeriesDescriptor_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricProto - .internal_static_google_monitoring_v3_TimeSeriesDescriptor_fieldAccessorTable + return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeriesDescriptor_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.TimeSeriesDescriptor.class, - com.google.monitoring.v3.TimeSeriesDescriptor.Builder.class); + com.google.monitoring.v3.TimeSeriesDescriptor.class, com.google.monitoring.v3.TimeSeriesDescriptor.Builder.class); } // Construct using com.google.monitoring.v3.TimeSeriesDescriptor.newBuilder() @@ -1739,18 +1541,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getLabelDescriptorsFieldBuilder(); getPointDescriptorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1770,9 +1572,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.MetricProto - .internal_static_google_monitoring_v3_TimeSeriesDescriptor_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeriesDescriptor_descriptor; } @java.lang.Override @@ -1791,8 +1593,7 @@ public com.google.monitoring.v3.TimeSeriesDescriptor build() { @java.lang.Override public com.google.monitoring.v3.TimeSeriesDescriptor buildPartial() { - com.google.monitoring.v3.TimeSeriesDescriptor result = - new com.google.monitoring.v3.TimeSeriesDescriptor(this); + com.google.monitoring.v3.TimeSeriesDescriptor result = new com.google.monitoring.v3.TimeSeriesDescriptor(this); int from_bitField0_ = bitField0_; if (labelDescriptorsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1820,39 +1621,38 @@ public com.google.monitoring.v3.TimeSeriesDescriptor 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.monitoring.v3.TimeSeriesDescriptor) { - return mergeFrom((com.google.monitoring.v3.TimeSeriesDescriptor) other); + return mergeFrom((com.google.monitoring.v3.TimeSeriesDescriptor)other); } else { super.mergeFrom(other); return this; @@ -1879,10 +1679,9 @@ public Builder mergeFrom(com.google.monitoring.v3.TimeSeriesDescriptor other) { labelDescriptorsBuilder_ = null; labelDescriptors_ = other.labelDescriptors_; bitField0_ = (bitField0_ & ~0x00000001); - labelDescriptorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getLabelDescriptorsFieldBuilder() - : null; + labelDescriptorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getLabelDescriptorsFieldBuilder() : null; } else { labelDescriptorsBuilder_.addAllMessages(other.labelDescriptors_); } @@ -1906,10 +1705,9 @@ public Builder mergeFrom(com.google.monitoring.v3.TimeSeriesDescriptor other) { pointDescriptorsBuilder_ = null; pointDescriptors_ = other.pointDescriptors_; bitField0_ = (bitField0_ & ~0x00000002); - pointDescriptorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPointDescriptorsFieldBuilder() - : null; + pointDescriptorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPointDescriptorsFieldBuilder() : null; } else { pointDescriptorsBuilder_.addAllMessages(other.pointDescriptors_); } @@ -1943,29 +1741,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List labelDescriptors_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureLabelDescriptorsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - labelDescriptors_ = - new java.util.ArrayList(labelDescriptors_); + labelDescriptors_ = new java.util.ArrayList(labelDescriptors_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.LabelDescriptor, - com.google.api.LabelDescriptor.Builder, - com.google.api.LabelDescriptorOrBuilder> - labelDescriptorsBuilder_; + com.google.api.LabelDescriptor, com.google.api.LabelDescriptor.Builder, com.google.api.LabelDescriptorOrBuilder> labelDescriptorsBuilder_; /** - * - * *
      * Descriptors for the labels.
      * 
@@ -1980,8 +1770,6 @@ public java.util.List getLabelDescriptorsList() } } /** - * - * *
      * Descriptors for the labels.
      * 
@@ -1996,8 +1784,6 @@ public int getLabelDescriptorsCount() { } } /** - * - * *
      * Descriptors for the labels.
      * 
@@ -2012,15 +1798,14 @@ public com.google.api.LabelDescriptor getLabelDescriptors(int index) { } } /** - * - * *
      * Descriptors for the labels.
      * 
* * repeated .google.api.LabelDescriptor label_descriptors = 1; */ - public Builder setLabelDescriptors(int index, com.google.api.LabelDescriptor value) { + public Builder setLabelDescriptors( + int index, com.google.api.LabelDescriptor value) { if (labelDescriptorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2034,8 +1819,6 @@ public Builder setLabelDescriptors(int index, com.google.api.LabelDescriptor val return this; } /** - * - * *
      * Descriptors for the labels.
      * 
@@ -2054,8 +1837,6 @@ public Builder setLabelDescriptors( return this; } /** - * - * *
      * Descriptors for the labels.
      * 
@@ -2076,15 +1857,14 @@ public Builder addLabelDescriptors(com.google.api.LabelDescriptor value) { return this; } /** - * - * *
      * Descriptors for the labels.
      * 
* * repeated .google.api.LabelDescriptor label_descriptors = 1; */ - public Builder addLabelDescriptors(int index, com.google.api.LabelDescriptor value) { + public Builder addLabelDescriptors( + int index, com.google.api.LabelDescriptor value) { if (labelDescriptorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2098,15 +1878,14 @@ public Builder addLabelDescriptors(int index, com.google.api.LabelDescriptor val return this; } /** - * - * *
      * Descriptors for the labels.
      * 
* * repeated .google.api.LabelDescriptor label_descriptors = 1; */ - public Builder addLabelDescriptors(com.google.api.LabelDescriptor.Builder builderForValue) { + public Builder addLabelDescriptors( + com.google.api.LabelDescriptor.Builder builderForValue) { if (labelDescriptorsBuilder_ == null) { ensureLabelDescriptorsIsMutable(); labelDescriptors_.add(builderForValue.build()); @@ -2117,8 +1896,6 @@ public Builder addLabelDescriptors(com.google.api.LabelDescriptor.Builder builde return this; } /** - * - * *
      * Descriptors for the labels.
      * 
@@ -2137,8 +1914,6 @@ public Builder addLabelDescriptors( return this; } /** - * - * *
      * Descriptors for the labels.
      * 
@@ -2149,7 +1924,8 @@ public Builder addAllLabelDescriptors( java.lang.Iterable values) { if (labelDescriptorsBuilder_ == null) { ensureLabelDescriptorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, labelDescriptors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, labelDescriptors_); onChanged(); } else { labelDescriptorsBuilder_.addAllMessages(values); @@ -2157,8 +1933,6 @@ public Builder addAllLabelDescriptors( return this; } /** - * - * *
      * Descriptors for the labels.
      * 
@@ -2176,8 +1950,6 @@ public Builder clearLabelDescriptors() { return this; } /** - * - * *
      * Descriptors for the labels.
      * 
@@ -2195,44 +1967,39 @@ public Builder removeLabelDescriptors(int index) { return this; } /** - * - * *
      * Descriptors for the labels.
      * 
* * repeated .google.api.LabelDescriptor label_descriptors = 1; */ - public com.google.api.LabelDescriptor.Builder getLabelDescriptorsBuilder(int index) { + public com.google.api.LabelDescriptor.Builder getLabelDescriptorsBuilder( + int index) { return getLabelDescriptorsFieldBuilder().getBuilder(index); } /** - * - * *
      * Descriptors for the labels.
      * 
* * repeated .google.api.LabelDescriptor label_descriptors = 1; */ - public com.google.api.LabelDescriptorOrBuilder getLabelDescriptorsOrBuilder(int index) { + public com.google.api.LabelDescriptorOrBuilder getLabelDescriptorsOrBuilder( + int index) { if (labelDescriptorsBuilder_ == null) { - return labelDescriptors_.get(index); - } else { + return labelDescriptors_.get(index); } else { return labelDescriptorsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Descriptors for the labels.
      * 
* * repeated .google.api.LabelDescriptor label_descriptors = 1; */ - public java.util.List - getLabelDescriptorsOrBuilderList() { + public java.util.List + getLabelDescriptorsOrBuilderList() { if (labelDescriptorsBuilder_ != null) { return labelDescriptorsBuilder_.getMessageOrBuilderList(); } else { @@ -2240,8 +2007,6 @@ public com.google.api.LabelDescriptorOrBuilder getLabelDescriptorsOrBuilder(int } } /** - * - * *
      * Descriptors for the labels.
      * 
@@ -2249,46 +2014,38 @@ public com.google.api.LabelDescriptorOrBuilder getLabelDescriptorsOrBuilder(int * repeated .google.api.LabelDescriptor label_descriptors = 1; */ public com.google.api.LabelDescriptor.Builder addLabelDescriptorsBuilder() { - return getLabelDescriptorsFieldBuilder() - .addBuilder(com.google.api.LabelDescriptor.getDefaultInstance()); + return getLabelDescriptorsFieldBuilder().addBuilder( + com.google.api.LabelDescriptor.getDefaultInstance()); } /** - * - * *
      * Descriptors for the labels.
      * 
* * repeated .google.api.LabelDescriptor label_descriptors = 1; */ - public com.google.api.LabelDescriptor.Builder addLabelDescriptorsBuilder(int index) { - return getLabelDescriptorsFieldBuilder() - .addBuilder(index, com.google.api.LabelDescriptor.getDefaultInstance()); + public com.google.api.LabelDescriptor.Builder addLabelDescriptorsBuilder( + int index) { + return getLabelDescriptorsFieldBuilder().addBuilder( + index, com.google.api.LabelDescriptor.getDefaultInstance()); } /** - * - * *
      * Descriptors for the labels.
      * 
* * repeated .google.api.LabelDescriptor label_descriptors = 1; */ - public java.util.List getLabelDescriptorsBuilderList() { + public java.util.List + getLabelDescriptorsBuilderList() { return getLabelDescriptorsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.LabelDescriptor, - com.google.api.LabelDescriptor.Builder, - com.google.api.LabelDescriptorOrBuilder> + com.google.api.LabelDescriptor, com.google.api.LabelDescriptor.Builder, com.google.api.LabelDescriptorOrBuilder> getLabelDescriptorsFieldBuilder() { if (labelDescriptorsBuilder_ == null) { - labelDescriptorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.LabelDescriptor, - com.google.api.LabelDescriptor.Builder, - com.google.api.LabelDescriptorOrBuilder>( + labelDescriptorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.api.LabelDescriptor, com.google.api.LabelDescriptor.Builder, com.google.api.LabelDescriptorOrBuilder>( labelDescriptors_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2298,37 +2055,26 @@ public java.util.List getLabelDescriptor return labelDescriptorsBuilder_; } - private java.util.List - pointDescriptors_ = java.util.Collections.emptyList(); - + private java.util.List pointDescriptors_ = + java.util.Collections.emptyList(); private void ensurePointDescriptorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - pointDescriptors_ = - new java.util.ArrayList( - pointDescriptors_); + pointDescriptors_ = new java.util.ArrayList(pointDescriptors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor, - com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder, - com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptorOrBuilder> - pointDescriptorsBuilder_; + com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor, com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder, com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptorOrBuilder> pointDescriptorsBuilder_; /** - * - * *
      * Descriptors for the point data value columns.
      * 
* - * - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; - * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; */ - public java.util.List - getPointDescriptorsList() { + public java.util.List getPointDescriptorsList() { if (pointDescriptorsBuilder_ == null) { return java.util.Collections.unmodifiableList(pointDescriptors_); } else { @@ -2336,15 +2082,11 @@ private void ensurePointDescriptorsIsMutable() { } } /** - * - * *
      * Descriptors for the point data value columns.
      * 
* - * - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; - * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; */ public int getPointDescriptorsCount() { if (pointDescriptorsBuilder_ == null) { @@ -2354,18 +2096,13 @@ public int getPointDescriptorsCount() { } } /** - * - * *
      * Descriptors for the point data value columns.
      * 
* - * - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; - * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; */ - public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor getPointDescriptors( - int index) { + public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor getPointDescriptors(int index) { if (pointDescriptorsBuilder_ == null) { return pointDescriptors_.get(index); } else { @@ -2373,15 +2110,11 @@ public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor getPointDes } } /** - * - * *
      * Descriptors for the point data value columns.
      * 
* - * - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; - * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; */ public Builder setPointDescriptors( int index, com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor value) { @@ -2398,19 +2131,14 @@ public Builder setPointDescriptors( return this; } /** - * - * *
      * Descriptors for the point data value columns.
      * 
* - * - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; - * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; */ public Builder setPointDescriptors( - int index, - com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder builderForValue) { + int index, com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder builderForValue) { if (pointDescriptorsBuilder_ == null) { ensurePointDescriptorsIsMutable(); pointDescriptors_.set(index, builderForValue.build()); @@ -2421,18 +2149,13 @@ public Builder setPointDescriptors( return this; } /** - * - * *
      * Descriptors for the point data value columns.
      * 
* - * - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; - * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; */ - public Builder addPointDescriptors( - com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor value) { + public Builder addPointDescriptors(com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor value) { if (pointDescriptorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2446,15 +2169,11 @@ public Builder addPointDescriptors( return this; } /** - * - * *
      * Descriptors for the point data value columns.
      * 
* - * - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; - * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; */ public Builder addPointDescriptors( int index, com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor value) { @@ -2471,15 +2190,11 @@ public Builder addPointDescriptors( return this; } /** - * - * *
      * Descriptors for the point data value columns.
      * 
* - * - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; - * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; */ public Builder addPointDescriptors( com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder builderForValue) { @@ -2493,19 +2208,14 @@ public Builder addPointDescriptors( return this; } /** - * - * *
      * Descriptors for the point data value columns.
      * 
* - * - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; - * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; */ public Builder addPointDescriptors( - int index, - com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder builderForValue) { + int index, com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder builderForValue) { if (pointDescriptorsBuilder_ == null) { ensurePointDescriptorsIsMutable(); pointDescriptors_.add(index, builderForValue.build()); @@ -2516,22 +2226,18 @@ public Builder addPointDescriptors( return this; } /** - * - * *
      * Descriptors for the point data value columns.
      * 
* - * - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; - * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; */ public Builder addAllPointDescriptors( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (pointDescriptorsBuilder_ == null) { ensurePointDescriptorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pointDescriptors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, pointDescriptors_); onChanged(); } else { pointDescriptorsBuilder_.addAllMessages(values); @@ -2539,15 +2245,11 @@ public Builder addAllPointDescriptors( return this; } /** - * - * *
      * Descriptors for the point data value columns.
      * 
* - * - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; - * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; */ public Builder clearPointDescriptors() { if (pointDescriptorsBuilder_ == null) { @@ -2560,15 +2262,11 @@ public Builder clearPointDescriptors() { return this; } /** - * - * *
      * Descriptors for the point data value columns.
      * 
* - * - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; - * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; */ public Builder removePointDescriptors(int index) { if (pointDescriptorsBuilder_ == null) { @@ -2581,53 +2279,39 @@ public Builder removePointDescriptors(int index) { return this; } /** - * - * *
      * Descriptors for the point data value columns.
      * 
* - * - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; - * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; */ - public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder - getPointDescriptorsBuilder(int index) { + public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder getPointDescriptorsBuilder( + int index) { return getPointDescriptorsFieldBuilder().getBuilder(index); } /** - * - * *
      * Descriptors for the point data value columns.
      * 
* - * - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; - * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; */ - public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptorOrBuilder - getPointDescriptorsOrBuilder(int index) { + public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptorOrBuilder getPointDescriptorsOrBuilder( + int index) { if (pointDescriptorsBuilder_ == null) { - return pointDescriptors_.get(index); - } else { + return pointDescriptors_.get(index); } else { return pointDescriptorsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Descriptors for the point data value columns.
      * 
* - * - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; - * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; */ - public java.util.List< - ? extends com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptorOrBuilder> - getPointDescriptorsOrBuilderList() { + public java.util.List + getPointDescriptorsOrBuilderList() { if (pointDescriptorsBuilder_ != null) { return pointDescriptorsBuilder_.getMessageOrBuilderList(); } else { @@ -2635,67 +2319,45 @@ public Builder removePointDescriptors(int index) { } } /** - * - * *
      * Descriptors for the point data value columns.
      * 
* - * - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; - * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; */ - public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder - addPointDescriptorsBuilder() { - return getPointDescriptorsFieldBuilder() - .addBuilder( - com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.getDefaultInstance()); + public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder addPointDescriptorsBuilder() { + return getPointDescriptorsFieldBuilder().addBuilder( + com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.getDefaultInstance()); } /** - * - * *
      * Descriptors for the point data value columns.
      * 
* - * - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; - * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; */ - public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder - addPointDescriptorsBuilder(int index) { - return getPointDescriptorsFieldBuilder() - .addBuilder( - index, - com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.getDefaultInstance()); + public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder addPointDescriptorsBuilder( + int index) { + return getPointDescriptorsFieldBuilder().addBuilder( + index, com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.getDefaultInstance()); } /** - * - * *
      * Descriptors for the point data value columns.
      * 
* - * - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; - * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; */ - public java.util.List - getPointDescriptorsBuilderList() { + public java.util.List + getPointDescriptorsBuilderList() { return getPointDescriptorsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor, - com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder, - com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptorOrBuilder> + com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor, com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder, com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptorOrBuilder> getPointDescriptorsFieldBuilder() { if (pointDescriptorsBuilder_ == null) { - pointDescriptorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor, - com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder, - com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptorOrBuilder>( + pointDescriptorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor, com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder, com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptorOrBuilder>( pointDescriptors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -2704,9 +2366,9 @@ public Builder removePointDescriptors(int index) { } return pointDescriptorsBuilder_; } - @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); } @@ -2716,12 +2378,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.TimeSeriesDescriptor) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.TimeSeriesDescriptor) private static final com.google.monitoring.v3.TimeSeriesDescriptor DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.TimeSeriesDescriptor(); } @@ -2730,16 +2392,16 @@ public static com.google.monitoring.v3.TimeSeriesDescriptor getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimeSeriesDescriptor parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TimeSeriesDescriptor(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimeSeriesDescriptor parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TimeSeriesDescriptor(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2754,4 +2416,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.TimeSeriesDescriptor getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesDescriptorOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesDescriptorOrBuilder.java similarity index 57% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesDescriptorOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesDescriptorOrBuilder.java index 8c8fa7aa..28e2af71 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesDescriptorOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesDescriptorOrBuilder.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/monitoring/v3/metric.proto package com.google.monitoring.v3; -public interface TimeSeriesDescriptorOrBuilder - extends +public interface TimeSeriesDescriptorOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.TimeSeriesDescriptor) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Descriptors for the labels.
    * 
* * repeated .google.api.LabelDescriptor label_descriptors = 1; */ - java.util.List getLabelDescriptorsList(); + java.util.List + getLabelDescriptorsList(); /** - * - * *
    * Descriptors for the labels.
    * 
@@ -44,8 +25,6 @@ public interface TimeSeriesDescriptorOrBuilder */ com.google.api.LabelDescriptor getLabelDescriptors(int index); /** - * - * *
    * Descriptors for the labels.
    * 
@@ -54,88 +33,65 @@ public interface TimeSeriesDescriptorOrBuilder */ int getLabelDescriptorsCount(); /** - * - * *
    * Descriptors for the labels.
    * 
* * repeated .google.api.LabelDescriptor label_descriptors = 1; */ - java.util.List + java.util.List getLabelDescriptorsOrBuilderList(); /** - * - * *
    * Descriptors for the labels.
    * 
* * repeated .google.api.LabelDescriptor label_descriptors = 1; */ - com.google.api.LabelDescriptorOrBuilder getLabelDescriptorsOrBuilder(int index); + com.google.api.LabelDescriptorOrBuilder getLabelDescriptorsOrBuilder( + int index); /** - * - * *
    * Descriptors for the point data value columns.
    * 
* - * - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; - * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; */ - java.util.List + java.util.List getPointDescriptorsList(); /** - * - * *
    * Descriptors for the point data value columns.
    * 
* - * - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; - * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; */ com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor getPointDescriptors(int index); /** - * - * *
    * Descriptors for the point data value columns.
    * 
* - * - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; - * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; */ int getPointDescriptorsCount(); /** - * - * *
    * Descriptors for the point data value columns.
    * 
* - * - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; - * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; */ - java.util.List + java.util.List getPointDescriptorsOrBuilderList(); /** - * - * *
    * Descriptors for the point data value columns.
    * 
* - * - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; - * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; */ - com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptorOrBuilder - getPointDescriptorsOrBuilder(int index); + com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptorOrBuilder getPointDescriptorsOrBuilder( + int index); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesName.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesName.java similarity index 100% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesName.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesName.java diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesOrBuilder.java similarity index 90% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesOrBuilder.java index 96072eb6..7fad1de2 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesOrBuilder.java @@ -1,57 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric.proto package com.google.monitoring.v3; -public interface TimeSeriesOrBuilder - extends +public interface TimeSeriesOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.TimeSeries) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The associated metric. A fully-specified metric used to identify the time
    * series.
    * 
* * .google.api.Metric metric = 1; - * * @return Whether the metric field is set. */ boolean hasMetric(); /** - * - * *
    * The associated metric. A fully-specified metric used to identify the time
    * series.
    * 
* * .google.api.Metric metric = 1; - * * @return The metric. */ com.google.api.Metric getMetric(); /** - * - * *
    * The associated metric. A fully-specified metric used to identify the time
    * series.
@@ -62,8 +38,6 @@ public interface TimeSeriesOrBuilder
   com.google.api.MetricOrBuilder getMetricOrBuilder();
 
   /**
-   *
-   *
    * 
    * The associated monitored resource.  Custom metrics can use only certain
    * monitored resource types in their time series data. For more information,
@@ -72,13 +46,10 @@ public interface TimeSeriesOrBuilder
    * 
* * .google.api.MonitoredResource resource = 2; - * * @return Whether the resource field is set. */ boolean hasResource(); /** - * - * *
    * The associated monitored resource.  Custom metrics can use only certain
    * monitored resource types in their time series data. For more information,
@@ -87,13 +58,10 @@ public interface TimeSeriesOrBuilder
    * 
* * .google.api.MonitoredResource resource = 2; - * * @return The resource. */ com.google.api.MonitoredResource getResource(); /** - * - * *
    * The associated monitored resource.  Custom metrics can use only certain
    * monitored resource types in their time series data. For more information,
@@ -106,8 +74,6 @@ public interface TimeSeriesOrBuilder
   com.google.api.MonitoredResourceOrBuilder getResourceOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The associated monitored resource metadata. When reading a
    * time series, this field will include metadata labels that are explicitly
@@ -115,13 +81,10 @@ public interface TimeSeriesOrBuilder
    * 
* * .google.api.MonitoredResourceMetadata metadata = 7; - * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** - * - * *
    * Output only. The associated monitored resource metadata. When reading a
    * time series, this field will include metadata labels that are explicitly
@@ -129,13 +92,10 @@ public interface TimeSeriesOrBuilder
    * 
* * .google.api.MonitoredResourceMetadata metadata = 7; - * * @return The metadata. */ com.google.api.MonitoredResourceMetadata getMetadata(); /** - * - * *
    * Output only. The associated monitored resource metadata. When reading a
    * time series, this field will include metadata labels that are explicitly
@@ -147,8 +107,6 @@ public interface TimeSeriesOrBuilder
   com.google.api.MonitoredResourceMetadataOrBuilder getMetadataOrBuilder();
 
   /**
-   *
-   *
    * 
    * The metric kind of the time series. When listing time series, this metric
    * kind might be different from the metric kind of the associated metric if
@@ -161,13 +119,10 @@ public interface TimeSeriesOrBuilder
    * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; - * * @return The enum numeric value on the wire for metricKind. */ int getMetricKindValue(); /** - * - * *
    * The metric kind of the time series. When listing time series, this metric
    * kind might be different from the metric kind of the associated metric if
@@ -180,14 +135,11 @@ public interface TimeSeriesOrBuilder
    * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; - * * @return The metricKind. */ com.google.api.MetricDescriptor.MetricKind getMetricKind(); /** - * - * *
    * The value type of the time series. When listing time series, this value
    * type might be different from the value type of the associated metric if
@@ -197,13 +149,10 @@ public interface TimeSeriesOrBuilder
    * 
* * .google.api.MetricDescriptor.ValueType value_type = 4; - * * @return The enum numeric value on the wire for valueType. */ int getValueTypeValue(); /** - * - * *
    * The value type of the time series. When listing time series, this value
    * type might be different from the value type of the associated metric if
@@ -213,14 +162,11 @@ public interface TimeSeriesOrBuilder
    * 
* * .google.api.MetricDescriptor.ValueType value_type = 4; - * * @return The valueType. */ com.google.api.MetricDescriptor.ValueType getValueType(); /** - * - * *
    * The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -233,10 +179,9 @@ public interface TimeSeriesOrBuilder
    *
    * repeated .google.monitoring.v3.Point points = 5;
    */
-  java.util.List getPointsList();
+  java.util.List 
+      getPointsList();
   /**
-   *
-   *
    * 
    * The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -251,8 +196,6 @@ public interface TimeSeriesOrBuilder
    */
   com.google.monitoring.v3.Point getPoints(int index);
   /**
-   *
-   *
    * 
    * The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -267,8 +210,6 @@ public interface TimeSeriesOrBuilder
    */
   int getPointsCount();
   /**
-   *
-   *
    * 
    * The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -281,10 +222,9 @@ public interface TimeSeriesOrBuilder
    *
    * repeated .google.monitoring.v3.Point points = 5;
    */
-  java.util.List getPointsOrBuilderList();
+  java.util.List 
+      getPointsOrBuilderList();
   /**
-   *
-   *
    * 
    * The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -297,11 +237,10 @@ public interface TimeSeriesOrBuilder
    *
    * repeated .google.monitoring.v3.Point points = 5;
    */
-  com.google.monitoring.v3.PointOrBuilder getPointsOrBuilder(int index);
+  com.google.monitoring.v3.PointOrBuilder getPointsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * The units in which the metric value is reported. It is only applicable
    * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
@@ -309,13 +248,10 @@ public interface TimeSeriesOrBuilder
    * 
* * string unit = 8; - * * @return The unit. */ java.lang.String getUnit(); /** - * - * *
    * The units in which the metric value is reported. It is only applicable
    * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
@@ -323,8 +259,8 @@ public interface TimeSeriesOrBuilder
    * 
* * string unit = 8; - * * @return The bytes for unit. */ - com.google.protobuf.ByteString getUnitBytes(); + com.google.protobuf.ByteString + getUnitBytes(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesRatio.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesRatio.java similarity index 76% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesRatio.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesRatio.java index dfef860f..cd18f655 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesRatio.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesRatio.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/monitoring/v3/service.proto package com.google.monitoring.v3; /** - * - * *
  * A `TimeSeriesRatio` specifies two `TimeSeries` to use for computing the
  * `good_service / total_service` ratio. The specified `TimeSeries` must have
@@ -32,16 +15,15 @@
  *
  * Protobuf type {@code google.monitoring.v3.TimeSeriesRatio}
  */
-public final class TimeSeriesRatio extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class TimeSeriesRatio extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.TimeSeriesRatio)
     TimeSeriesRatioOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TimeSeriesRatio.newBuilder() to construct.
   private TimeSeriesRatio(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private TimeSeriesRatio() {
     goodServiceFilter_ = "";
     badServiceFilter_ = "";
@@ -50,15 +32,16 @@ private TimeSeriesRatio() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TimeSeriesRatio();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private TimeSeriesRatio(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -77,66 +60,59 @@ private TimeSeriesRatio(
           case 0:
             done = true;
             break;
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              goodServiceFilter_ = s;
-              break;
-            }
-          case 42:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            goodServiceFilter_ = s;
+            break;
+          }
+          case 42: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              badServiceFilter_ = s;
-              break;
-            }
-          case 50:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            badServiceFilter_ = s;
+            break;
+          }
+          case 50: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              totalServiceFilter_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            totalServiceFilter_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.monitoring.v3.ServiceMonitoringProto
-        .internal_static_google_monitoring_v3_TimeSeriesRatio_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_TimeSeriesRatio_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.monitoring.v3.ServiceMonitoringProto
-        .internal_static_google_monitoring_v3_TimeSeriesRatio_fieldAccessorTable
+    return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_TimeSeriesRatio_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.TimeSeriesRatio.class,
-            com.google.monitoring.v3.TimeSeriesRatio.Builder.class);
+            com.google.monitoring.v3.TimeSeriesRatio.class, com.google.monitoring.v3.TimeSeriesRatio.Builder.class);
   }
 
   public static final int GOOD_SERVICE_FILTER_FIELD_NUMBER = 4;
   private volatile java.lang.Object goodServiceFilter_;
   /**
-   *
-   *
    * 
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` quantifying good service provided. Must have
@@ -145,7 +121,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string good_service_filter = 4; - * * @return The goodServiceFilter. */ @java.lang.Override @@ -154,15 +129,14 @@ public java.lang.String getGoodServiceFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); goodServiceFilter_ = s; return s; } } /** - * - * *
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` quantifying good service provided. Must have
@@ -171,15 +145,16 @@ public java.lang.String getGoodServiceFilter() {
    * 
* * string good_service_filter = 4; - * * @return The bytes for goodServiceFilter. */ @java.lang.Override - public com.google.protobuf.ByteString getGoodServiceFilterBytes() { + public com.google.protobuf.ByteString + getGoodServiceFilterBytes() { java.lang.Object ref = goodServiceFilter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); goodServiceFilter_ = b; return b; } else { @@ -190,8 +165,6 @@ public com.google.protobuf.ByteString getGoodServiceFilterBytes() { public static final int BAD_SERVICE_FILTER_FIELD_NUMBER = 5; private volatile java.lang.Object badServiceFilter_; /** - * - * *
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` quantifying bad service, either demanded service
@@ -201,7 +174,6 @@ public com.google.protobuf.ByteString getGoodServiceFilterBytes() {
    * 
* * string bad_service_filter = 5; - * * @return The badServiceFilter. */ @java.lang.Override @@ -210,15 +182,14 @@ public java.lang.String getBadServiceFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); badServiceFilter_ = s; return s; } } /** - * - * *
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` quantifying bad service, either demanded service
@@ -228,15 +199,16 @@ public java.lang.String getBadServiceFilter() {
    * 
* * string bad_service_filter = 5; - * * @return The bytes for badServiceFilter. */ @java.lang.Override - public com.google.protobuf.ByteString getBadServiceFilterBytes() { + public com.google.protobuf.ByteString + getBadServiceFilterBytes() { java.lang.Object ref = badServiceFilter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); badServiceFilter_ = b; return b; } else { @@ -247,8 +219,6 @@ public com.google.protobuf.ByteString getBadServiceFilterBytes() { public static final int TOTAL_SERVICE_FILTER_FIELD_NUMBER = 6; private volatile java.lang.Object totalServiceFilter_; /** - * - * *
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` quantifying total demanded service. Must have
@@ -257,7 +227,6 @@ public com.google.protobuf.ByteString getBadServiceFilterBytes() {
    * 
* * string total_service_filter = 6; - * * @return The totalServiceFilter. */ @java.lang.Override @@ -266,15 +235,14 @@ public java.lang.String getTotalServiceFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); totalServiceFilter_ = s; return s; } } /** - * - * *
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` quantifying total demanded service. Must have
@@ -283,15 +251,16 @@ public java.lang.String getTotalServiceFilter() {
    * 
* * string total_service_filter = 6; - * * @return The bytes for totalServiceFilter. */ @java.lang.Override - public com.google.protobuf.ByteString getTotalServiceFilterBytes() { + public com.google.protobuf.ByteString + getTotalServiceFilterBytes() { java.lang.Object ref = totalServiceFilter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); totalServiceFilter_ = b; return b; } else { @@ -300,7 +269,6 @@ public com.google.protobuf.ByteString getTotalServiceFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -312,7 +280,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(goodServiceFilter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, goodServiceFilter_); } @@ -348,16 +317,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.monitoring.v3.TimeSeriesRatio)) { return super.equals(obj); } com.google.monitoring.v3.TimeSeriesRatio other = (com.google.monitoring.v3.TimeSeriesRatio) obj; - if (!getGoodServiceFilter().equals(other.getGoodServiceFilter())) return false; - if (!getBadServiceFilter().equals(other.getBadServiceFilter())) return false; - if (!getTotalServiceFilter().equals(other.getTotalServiceFilter())) return false; + if (!getGoodServiceFilter() + .equals(other.getGoodServiceFilter())) return false; + if (!getBadServiceFilter() + .equals(other.getBadServiceFilter())) return false; + if (!getTotalServiceFilter() + .equals(other.getTotalServiceFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -380,104 +352,97 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.TimeSeriesRatio parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.TimeSeriesRatio parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.TimeSeriesRatio parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.TimeSeriesRatio parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.TimeSeriesRatio parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.TimeSeriesRatio parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.TimeSeriesRatio parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.TimeSeriesRatio 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.monitoring.v3.TimeSeriesRatio parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.TimeSeriesRatio parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.TimeSeriesRatio parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.TimeSeriesRatio parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.TimeSeriesRatio parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.TimeSeriesRatio parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.TimeSeriesRatio prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 `TimeSeriesRatio` specifies two `TimeSeries` to use for computing the
    * `good_service / total_service` ratio. The specified `TimeSeries` must have
@@ -489,23 +454,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.monitoring.v3.TimeSeriesRatio}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.TimeSeriesRatio)
       com.google.monitoring.v3.TimeSeriesRatioOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.monitoring.v3.ServiceMonitoringProto
-          .internal_static_google_monitoring_v3_TimeSeriesRatio_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_TimeSeriesRatio_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.ServiceMonitoringProto
-          .internal_static_google_monitoring_v3_TimeSeriesRatio_fieldAccessorTable
+      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_TimeSeriesRatio_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.TimeSeriesRatio.class,
-              com.google.monitoring.v3.TimeSeriesRatio.Builder.class);
+              com.google.monitoring.v3.TimeSeriesRatio.class, com.google.monitoring.v3.TimeSeriesRatio.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.TimeSeriesRatio.newBuilder()
@@ -513,15 +476,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -535,9 +499,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.monitoring.v3.ServiceMonitoringProto
-          .internal_static_google_monitoring_v3_TimeSeriesRatio_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_TimeSeriesRatio_descriptor;
     }
 
     @java.lang.Override
@@ -556,8 +520,7 @@ public com.google.monitoring.v3.TimeSeriesRatio build() {
 
     @java.lang.Override
     public com.google.monitoring.v3.TimeSeriesRatio buildPartial() {
-      com.google.monitoring.v3.TimeSeriesRatio result =
-          new com.google.monitoring.v3.TimeSeriesRatio(this);
+      com.google.monitoring.v3.TimeSeriesRatio result = new com.google.monitoring.v3.TimeSeriesRatio(this);
       result.goodServiceFilter_ = goodServiceFilter_;
       result.badServiceFilter_ = badServiceFilter_;
       result.totalServiceFilter_ = totalServiceFilter_;
@@ -569,39 +532,38 @@ public com.google.monitoring.v3.TimeSeriesRatio 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.monitoring.v3.TimeSeriesRatio) {
-        return mergeFrom((com.google.monitoring.v3.TimeSeriesRatio) other);
+        return mergeFrom((com.google.monitoring.v3.TimeSeriesRatio)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -653,8 +615,6 @@ public Builder mergeFrom(
 
     private java.lang.Object goodServiceFilter_ = "";
     /**
-     *
-     *
      * 
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` quantifying good service provided. Must have
@@ -663,13 +623,13 @@ public Builder mergeFrom(
      * 
* * string good_service_filter = 4; - * * @return The goodServiceFilter. */ public java.lang.String getGoodServiceFilter() { java.lang.Object ref = goodServiceFilter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); goodServiceFilter_ = s; return s; @@ -678,8 +638,6 @@ public java.lang.String getGoodServiceFilter() { } } /** - * - * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` quantifying good service provided. Must have
@@ -688,14 +646,15 @@ public java.lang.String getGoodServiceFilter() {
      * 
* * string good_service_filter = 4; - * * @return The bytes for goodServiceFilter. */ - public com.google.protobuf.ByteString getGoodServiceFilterBytes() { + public com.google.protobuf.ByteString + getGoodServiceFilterBytes() { java.lang.Object ref = goodServiceFilter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); goodServiceFilter_ = b; return b; } else { @@ -703,8 +662,6 @@ public com.google.protobuf.ByteString getGoodServiceFilterBytes() { } } /** - * - * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` quantifying good service provided. Must have
@@ -713,22 +670,20 @@ public com.google.protobuf.ByteString getGoodServiceFilterBytes() {
      * 
* * string good_service_filter = 4; - * * @param value The goodServiceFilter to set. * @return This builder for chaining. */ - public Builder setGoodServiceFilter(java.lang.String value) { + public Builder setGoodServiceFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + goodServiceFilter_ = value; onChanged(); return this; } /** - * - * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` quantifying good service provided. Must have
@@ -737,18 +692,15 @@ public Builder setGoodServiceFilter(java.lang.String value) {
      * 
* * string good_service_filter = 4; - * * @return This builder for chaining. */ public Builder clearGoodServiceFilter() { - + goodServiceFilter_ = getDefaultInstance().getGoodServiceFilter(); onChanged(); return this; } /** - * - * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` quantifying good service provided. Must have
@@ -757,16 +709,16 @@ public Builder clearGoodServiceFilter() {
      * 
* * string good_service_filter = 4; - * * @param value The bytes for goodServiceFilter to set. * @return This builder for chaining. */ - public Builder setGoodServiceFilterBytes(com.google.protobuf.ByteString value) { + public Builder setGoodServiceFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + goodServiceFilter_ = value; onChanged(); return this; @@ -774,8 +726,6 @@ public Builder setGoodServiceFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object badServiceFilter_ = ""; /** - * - * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` quantifying bad service, either demanded service
@@ -785,13 +735,13 @@ public Builder setGoodServiceFilterBytes(com.google.protobuf.ByteString value) {
      * 
* * string bad_service_filter = 5; - * * @return The badServiceFilter. */ public java.lang.String getBadServiceFilter() { java.lang.Object ref = badServiceFilter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); badServiceFilter_ = s; return s; @@ -800,8 +750,6 @@ public java.lang.String getBadServiceFilter() { } } /** - * - * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` quantifying bad service, either demanded service
@@ -811,14 +759,15 @@ public java.lang.String getBadServiceFilter() {
      * 
* * string bad_service_filter = 5; - * * @return The bytes for badServiceFilter. */ - public com.google.protobuf.ByteString getBadServiceFilterBytes() { + public com.google.protobuf.ByteString + getBadServiceFilterBytes() { java.lang.Object ref = badServiceFilter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); badServiceFilter_ = b; return b; } else { @@ -826,8 +775,6 @@ public com.google.protobuf.ByteString getBadServiceFilterBytes() { } } /** - * - * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` quantifying bad service, either demanded service
@@ -837,22 +784,20 @@ public com.google.protobuf.ByteString getBadServiceFilterBytes() {
      * 
* * string bad_service_filter = 5; - * * @param value The badServiceFilter to set. * @return This builder for chaining. */ - public Builder setBadServiceFilter(java.lang.String value) { + public Builder setBadServiceFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + badServiceFilter_ = value; onChanged(); return this; } /** - * - * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` quantifying bad service, either demanded service
@@ -862,18 +807,15 @@ public Builder setBadServiceFilter(java.lang.String value) {
      * 
* * string bad_service_filter = 5; - * * @return This builder for chaining. */ public Builder clearBadServiceFilter() { - + badServiceFilter_ = getDefaultInstance().getBadServiceFilter(); onChanged(); return this; } /** - * - * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` quantifying bad service, either demanded service
@@ -883,16 +825,16 @@ public Builder clearBadServiceFilter() {
      * 
* * string bad_service_filter = 5; - * * @param value The bytes for badServiceFilter to set. * @return This builder for chaining. */ - public Builder setBadServiceFilterBytes(com.google.protobuf.ByteString value) { + public Builder setBadServiceFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + badServiceFilter_ = value; onChanged(); return this; @@ -900,8 +842,6 @@ public Builder setBadServiceFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object totalServiceFilter_ = ""; /** - * - * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` quantifying total demanded service. Must have
@@ -910,13 +850,13 @@ public Builder setBadServiceFilterBytes(com.google.protobuf.ByteString value) {
      * 
* * string total_service_filter = 6; - * * @return The totalServiceFilter. */ public java.lang.String getTotalServiceFilter() { java.lang.Object ref = totalServiceFilter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); totalServiceFilter_ = s; return s; @@ -925,8 +865,6 @@ public java.lang.String getTotalServiceFilter() { } } /** - * - * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` quantifying total demanded service. Must have
@@ -935,14 +873,15 @@ public java.lang.String getTotalServiceFilter() {
      * 
* * string total_service_filter = 6; - * * @return The bytes for totalServiceFilter. */ - public com.google.protobuf.ByteString getTotalServiceFilterBytes() { + public com.google.protobuf.ByteString + getTotalServiceFilterBytes() { java.lang.Object ref = totalServiceFilter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); totalServiceFilter_ = b; return b; } else { @@ -950,8 +889,6 @@ public com.google.protobuf.ByteString getTotalServiceFilterBytes() { } } /** - * - * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` quantifying total demanded service. Must have
@@ -960,22 +897,20 @@ public com.google.protobuf.ByteString getTotalServiceFilterBytes() {
      * 
* * string total_service_filter = 6; - * * @param value The totalServiceFilter to set. * @return This builder for chaining. */ - public Builder setTotalServiceFilter(java.lang.String value) { + public Builder setTotalServiceFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + totalServiceFilter_ = value; onChanged(); return this; } /** - * - * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` quantifying total demanded service. Must have
@@ -984,18 +919,15 @@ public Builder setTotalServiceFilter(java.lang.String value) {
      * 
* * string total_service_filter = 6; - * * @return This builder for chaining. */ public Builder clearTotalServiceFilter() { - + totalServiceFilter_ = getDefaultInstance().getTotalServiceFilter(); onChanged(); return this; } /** - * - * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` quantifying total demanded service. Must have
@@ -1004,23 +936,23 @@ public Builder clearTotalServiceFilter() {
      * 
* * string total_service_filter = 6; - * * @param value The bytes for totalServiceFilter to set. * @return This builder for chaining. */ - public Builder setTotalServiceFilterBytes(com.google.protobuf.ByteString value) { + public Builder setTotalServiceFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + totalServiceFilter_ = 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); } @@ -1030,12 +962,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.TimeSeriesRatio) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.TimeSeriesRatio) private static final com.google.monitoring.v3.TimeSeriesRatio DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.TimeSeriesRatio(); } @@ -1044,16 +976,16 @@ public static com.google.monitoring.v3.TimeSeriesRatio getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimeSeriesRatio parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TimeSeriesRatio(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimeSeriesRatio parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TimeSeriesRatio(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1068,4 +1000,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.TimeSeriesRatio getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesRatioOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesRatioOrBuilder.java similarity index 76% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesRatioOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesRatioOrBuilder.java index 79089c71..019f08e7 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesRatioOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesRatioOrBuilder.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/monitoring/v3/service.proto package com.google.monitoring.v3; -public interface TimeSeriesRatioOrBuilder - extends +public interface TimeSeriesRatioOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.TimeSeriesRatio) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` quantifying good service provided. Must have
@@ -34,13 +16,10 @@ public interface TimeSeriesRatioOrBuilder
    * 
* * string good_service_filter = 4; - * * @return The goodServiceFilter. */ java.lang.String getGoodServiceFilter(); /** - * - * *
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` quantifying good service provided. Must have
@@ -49,14 +28,12 @@ public interface TimeSeriesRatioOrBuilder
    * 
* * string good_service_filter = 4; - * * @return The bytes for goodServiceFilter. */ - com.google.protobuf.ByteString getGoodServiceFilterBytes(); + com.google.protobuf.ByteString + getGoodServiceFilterBytes(); /** - * - * *
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` quantifying bad service, either demanded service
@@ -66,13 +43,10 @@ public interface TimeSeriesRatioOrBuilder
    * 
* * string bad_service_filter = 5; - * * @return The badServiceFilter. */ java.lang.String getBadServiceFilter(); /** - * - * *
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` quantifying bad service, either demanded service
@@ -82,14 +56,12 @@ public interface TimeSeriesRatioOrBuilder
    * 
* * string bad_service_filter = 5; - * * @return The bytes for badServiceFilter. */ - com.google.protobuf.ByteString getBadServiceFilterBytes(); + com.google.protobuf.ByteString + getBadServiceFilterBytes(); /** - * - * *
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` quantifying total demanded service. Must have
@@ -98,13 +70,10 @@ public interface TimeSeriesRatioOrBuilder
    * 
* * string total_service_filter = 6; - * * @return The totalServiceFilter. */ java.lang.String getTotalServiceFilter(); /** - * - * *
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` quantifying total demanded service. Must have
@@ -113,8 +82,8 @@ public interface TimeSeriesRatioOrBuilder
    * 
* * string total_service_filter = 6; - * * @return The bytes for totalServiceFilter. */ - com.google.protobuf.ByteString getTotalServiceFilterBytes(); + com.google.protobuf.ByteString + getTotalServiceFilterBytes(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TypedValue.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TypedValue.java similarity index 72% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TypedValue.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TypedValue.java index 052e07c2..f4578889 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TypedValue.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TypedValue.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/common.proto package com.google.monitoring.v3; /** - * - * *
  * A single strongly-typed value.
  * 
* * Protobuf type {@code google.monitoring.v3.TypedValue} */ -public final class TypedValue extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TypedValue extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.TypedValue) TypedValueOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TypedValue.newBuilder() to construct. private TypedValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private TypedValue() {} + private TypedValue() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TypedValue(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TypedValue( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,85 +52,77 @@ private TypedValue( case 0: done = true; break; - case 8: - { - valueCase_ = 1; - value_ = input.readBool(); - break; - } - case 16: - { - valueCase_ = 2; - value_ = input.readInt64(); - break; - } - case 25: - { - valueCase_ = 3; - value_ = input.readDouble(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - valueCase_ = 4; - value_ = s; - break; + case 8: { + valueCase_ = 1; + value_ = input.readBool(); + break; + } + case 16: { + valueCase_ = 2; + value_ = input.readInt64(); + break; + } + case 25: { + valueCase_ = 3; + value_ = input.readDouble(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + valueCase_ = 4; + value_ = s; + break; + } + case 42: { + com.google.api.Distribution.Builder subBuilder = null; + if (valueCase_ == 5) { + subBuilder = ((com.google.api.Distribution) value_).toBuilder(); } - case 42: - { - com.google.api.Distribution.Builder subBuilder = null; - if (valueCase_ == 5) { - subBuilder = ((com.google.api.Distribution) value_).toBuilder(); - } - value_ = input.readMessage(com.google.api.Distribution.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.api.Distribution) value_); - value_ = subBuilder.buildPartial(); - } - valueCase_ = 5; - break; + value_ = + input.readMessage(com.google.api.Distribution.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.api.Distribution) value_); + value_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + valueCase_ = 5; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.CommonProto - .internal_static_google_monitoring_v3_TypedValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.CommonProto.internal_static_google_monitoring_v3_TypedValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.CommonProto - .internal_static_google_monitoring_v3_TypedValue_fieldAccessorTable + return com.google.monitoring.v3.CommonProto.internal_static_google_monitoring_v3_TypedValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.TypedValue.class, - com.google.monitoring.v3.TypedValue.Builder.class); + com.google.monitoring.v3.TypedValue.class, com.google.monitoring.v3.TypedValue.Builder.class); } private int valueCase_ = 0; private java.lang.Object value_; - public enum ValueCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BOOL_VALUE(1), INT64_VALUE(2), @@ -155,7 +131,6 @@ public enum ValueCase DISTRIBUTION_VALUE(5), VALUE_NOT_SET(0); private final int value; - private ValueCase(int value) { this.value = value; } @@ -171,42 +146,33 @@ public static ValueCase valueOf(int value) { public static ValueCase forNumber(int value) { switch (value) { - case 1: - return BOOL_VALUE; - case 2: - return INT64_VALUE; - case 3: - return DOUBLE_VALUE; - case 4: - return STRING_VALUE; - case 5: - return DISTRIBUTION_VALUE; - case 0: - return VALUE_NOT_SET; - default: - return null; + case 1: return BOOL_VALUE; + case 2: return INT64_VALUE; + case 3: return DOUBLE_VALUE; + case 4: return STRING_VALUE; + case 5: return DISTRIBUTION_VALUE; + case 0: return VALUE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ValueCase getValueCase() { - return ValueCase.forNumber(valueCase_); + public ValueCase + getValueCase() { + return ValueCase.forNumber( + valueCase_); } public static final int BOOL_VALUE_FIELD_NUMBER = 1; /** - * - * *
    * A Boolean value: `true` or `false`.
    * 
* * bool bool_value = 1; - * * @return Whether the boolValue field is set. */ @java.lang.Override @@ -214,14 +180,11 @@ public boolean hasBoolValue() { return valueCase_ == 1; } /** - * - * *
    * A Boolean value: `true` or `false`.
    * 
* * bool bool_value = 1; - * * @return The boolValue. */ @java.lang.Override @@ -234,14 +197,11 @@ public boolean getBoolValue() { public static final int INT64_VALUE_FIELD_NUMBER = 2; /** - * - * *
    * A 64-bit integer. Its range is approximately &plusmn;9.2x10<sup>18</sup>.
    * 
* * int64 int64_value = 2; - * * @return Whether the int64Value field is set. */ @java.lang.Override @@ -249,14 +209,11 @@ public boolean hasInt64Value() { return valueCase_ == 2; } /** - * - * *
    * A 64-bit integer. Its range is approximately &plusmn;9.2x10<sup>18</sup>.
    * 
* * int64 int64_value = 2; - * * @return The int64Value. */ @java.lang.Override @@ -269,8 +226,6 @@ public long getInt64Value() { public static final int DOUBLE_VALUE_FIELD_NUMBER = 3; /** - * - * *
    * A 64-bit double-precision floating-point number. Its magnitude
    * is approximately &plusmn;10<sup>&plusmn;300</sup> and it has 16
@@ -278,7 +233,6 @@ public long getInt64Value() {
    * 
* * double double_value = 3; - * * @return Whether the doubleValue field is set. */ @java.lang.Override @@ -286,8 +240,6 @@ public boolean hasDoubleValue() { return valueCase_ == 3; } /** - * - * *
    * A 64-bit double-precision floating-point number. Its magnitude
    * is approximately &plusmn;10<sup>&plusmn;300</sup> and it has 16
@@ -295,7 +247,6 @@ public boolean hasDoubleValue() {
    * 
* * double double_value = 3; - * * @return The doubleValue. */ @java.lang.Override @@ -308,28 +259,22 @@ public double getDoubleValue() { public static final int STRING_VALUE_FIELD_NUMBER = 4; /** - * - * *
    * A variable-length string value.
    * 
* * string string_value = 4; - * * @return Whether the stringValue field is set. */ public boolean hasStringValue() { return valueCase_ == 4; } /** - * - * *
    * A variable-length string value.
    * 
* * string string_value = 4; - * * @return The stringValue. */ public java.lang.String getStringValue() { @@ -340,7 +285,8 @@ public java.lang.String getStringValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueCase_ == 4) { value_ = s; @@ -349,24 +295,23 @@ public java.lang.String getStringValue() { } } /** - * - * *
    * A variable-length string value.
    * 
* * string string_value = 4; - * * @return The bytes for stringValue. */ - public com.google.protobuf.ByteString getStringValueBytes() { + public com.google.protobuf.ByteString + getStringValueBytes() { java.lang.Object ref = ""; if (valueCase_ == 4) { ref = value_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (valueCase_ == 4) { value_ = b; } @@ -378,14 +323,11 @@ public com.google.protobuf.ByteString getStringValueBytes() { public static final int DISTRIBUTION_VALUE_FIELD_NUMBER = 5; /** - * - * *
    * A distribution value.
    * 
* * .google.api.Distribution distribution_value = 5; - * * @return Whether the distributionValue field is set. */ @java.lang.Override @@ -393,26 +335,21 @@ public boolean hasDistributionValue() { return valueCase_ == 5; } /** - * - * *
    * A distribution value.
    * 
* * .google.api.Distribution distribution_value = 5; - * * @return The distributionValue. */ @java.lang.Override public com.google.api.Distribution getDistributionValue() { if (valueCase_ == 5) { - return (com.google.api.Distribution) value_; + return (com.google.api.Distribution) value_; } return com.google.api.Distribution.getDefaultInstance(); } /** - * - * *
    * A distribution value.
    * 
@@ -422,13 +359,12 @@ public com.google.api.Distribution getDistributionValue() { @java.lang.Override public com.google.api.DistributionOrBuilder getDistributionValueOrBuilder() { if (valueCase_ == 5) { - return (com.google.api.Distribution) value_; + return (com.google.api.Distribution) value_; } return com.google.api.Distribution.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -440,15 +376,19 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (valueCase_ == 1) { - output.writeBool(1, (boolean) ((java.lang.Boolean) value_)); + output.writeBool( + 1, (boolean)((java.lang.Boolean) value_)); } if (valueCase_ == 2) { - output.writeInt64(2, (long) ((java.lang.Long) value_)); + output.writeInt64( + 2, (long)((java.lang.Long) value_)); } if (valueCase_ == 3) { - output.writeDouble(3, (double) ((java.lang.Double) value_)); + output.writeDouble( + 3, (double)((java.lang.Double) value_)); } if (valueCase_ == 4) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, value_); @@ -466,27 +406,26 @@ public int getSerializedSize() { size = 0; if (valueCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 1, (boolean) ((java.lang.Boolean) value_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 1, (boolean)((java.lang.Boolean) value_)); } if (valueCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 2, (long) ((java.lang.Long) value_)); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size( + 2, (long)((java.lang.Long) value_)); } if (valueCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeDoubleSize( - 3, (double) ((java.lang.Double) value_)); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize( + 3, (double)((java.lang.Double) value_)); } if (valueCase_ == 4) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, value_); } if (valueCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (com.google.api.Distribution) value_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.api.Distribution) value_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -496,7 +435,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.TypedValue)) { return super.equals(obj); @@ -506,20 +445,25 @@ public boolean equals(final java.lang.Object obj) { if (!getValueCase().equals(other.getValueCase())) return false; switch (valueCase_) { case 1: - if (getBoolValue() != other.getBoolValue()) return false; + if (getBoolValue() + != other.getBoolValue()) return false; break; case 2: - if (getInt64Value() != other.getInt64Value()) return false; + if (getInt64Value() + != other.getInt64Value()) return false; break; case 3: if (java.lang.Double.doubleToLongBits(getDoubleValue()) - != java.lang.Double.doubleToLongBits(other.getDoubleValue())) return false; + != java.lang.Double.doubleToLongBits( + other.getDoubleValue())) return false; break; case 4: - if (!getStringValue().equals(other.getStringValue())) return false; + if (!getStringValue() + .equals(other.getStringValue())) return false; break; case 5: - if (!getDistributionValue().equals(other.getDistributionValue())) return false; + if (!getDistributionValue() + .equals(other.getDistributionValue())) return false; break; case 0: default: @@ -538,18 +482,18 @@ public int hashCode() { switch (valueCase_) { case 1: hash = (37 * hash) + BOOL_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBoolValue()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getBoolValue()); break; case 2: hash = (37 * hash) + INT64_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getInt64Value()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getInt64Value()); break; case 3: hash = (37 * hash) + DOUBLE_VALUE_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getDoubleValue())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDoubleValue())); break; case 4: hash = (37 * hash) + STRING_VALUE_FIELD_NUMBER; @@ -567,126 +511,118 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.TypedValue parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.TypedValue parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.TypedValue parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.TypedValue parseFrom(com.google.protobuf.ByteString data) + public static com.google.monitoring.v3.TypedValue parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.TypedValue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.TypedValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.TypedValue parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.TypedValue 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.monitoring.v3.TypedValue parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.TypedValue parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.TypedValue parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.TypedValue parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.TypedValue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.TypedValue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 single strongly-typed value.
    * 
* * Protobuf type {@code google.monitoring.v3.TypedValue} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.TypedValue) com.google.monitoring.v3.TypedValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.CommonProto - .internal_static_google_monitoring_v3_TypedValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.CommonProto.internal_static_google_monitoring_v3_TypedValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.CommonProto - .internal_static_google_monitoring_v3_TypedValue_fieldAccessorTable + return com.google.monitoring.v3.CommonProto.internal_static_google_monitoring_v3_TypedValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.TypedValue.class, - com.google.monitoring.v3.TypedValue.Builder.class); + com.google.monitoring.v3.TypedValue.class, com.google.monitoring.v3.TypedValue.Builder.class); } // Construct using com.google.monitoring.v3.TypedValue.newBuilder() @@ -694,15 +630,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -712,9 +649,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.CommonProto - .internal_static_google_monitoring_v3_TypedValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.CommonProto.internal_static_google_monitoring_v3_TypedValue_descriptor; } @java.lang.Override @@ -762,39 +699,38 @@ public com.google.monitoring.v3.TypedValue 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.monitoring.v3.TypedValue) { - return mergeFrom((com.google.monitoring.v3.TypedValue) other); + return mergeFrom((com.google.monitoring.v3.TypedValue)other); } else { super.mergeFrom(other); return this; @@ -804,37 +740,31 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.monitoring.v3.TypedValue other) { if (other == com.google.monitoring.v3.TypedValue.getDefaultInstance()) return this; switch (other.getValueCase()) { - case BOOL_VALUE: - { - setBoolValue(other.getBoolValue()); - break; - } - case INT64_VALUE: - { - setInt64Value(other.getInt64Value()); - break; - } - case DOUBLE_VALUE: - { - setDoubleValue(other.getDoubleValue()); - break; - } - case STRING_VALUE: - { - valueCase_ = 4; - value_ = other.value_; - onChanged(); - break; - } - case DISTRIBUTION_VALUE: - { - mergeDistributionValue(other.getDistributionValue()); - break; - } - case VALUE_NOT_SET: - { - break; - } + case BOOL_VALUE: { + setBoolValue(other.getBoolValue()); + break; + } + case INT64_VALUE: { + setInt64Value(other.getInt64Value()); + break; + } + case DOUBLE_VALUE: { + setDoubleValue(other.getDoubleValue()); + break; + } + case STRING_VALUE: { + valueCase_ = 4; + value_ = other.value_; + onChanged(); + break; + } + case DISTRIBUTION_VALUE: { + mergeDistributionValue(other.getDistributionValue()); + break; + } + case VALUE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -864,12 +794,12 @@ public Builder mergeFrom( } return this; } - private int valueCase_ = 0; private java.lang.Object value_; - - public ValueCase getValueCase() { - return ValueCase.forNumber(valueCase_); + public ValueCase + getValueCase() { + return ValueCase.forNumber( + valueCase_); } public Builder clearValue() { @@ -879,29 +809,24 @@ public Builder clearValue() { return this; } + /** - * - * *
      * A Boolean value: `true` or `false`.
      * 
* * bool bool_value = 1; - * * @return Whether the boolValue field is set. */ public boolean hasBoolValue() { return valueCase_ == 1; } /** - * - * *
      * A Boolean value: `true` or `false`.
      * 
* * bool bool_value = 1; - * * @return The boolValue. */ public boolean getBoolValue() { @@ -911,14 +836,11 @@ public boolean getBoolValue() { return false; } /** - * - * *
      * A Boolean value: `true` or `false`.
      * 
* * bool bool_value = 1; - * * @param value The boolValue to set. * @return This builder for chaining. */ @@ -929,14 +851,11 @@ public Builder setBoolValue(boolean value) { return this; } /** - * - * *
      * A Boolean value: `true` or `false`.
      * 
* * bool bool_value = 1; - * * @return This builder for chaining. */ public Builder clearBoolValue() { @@ -949,28 +868,22 @@ public Builder clearBoolValue() { } /** - * - * *
      * A 64-bit integer. Its range is approximately &plusmn;9.2x10<sup>18</sup>.
      * 
* * int64 int64_value = 2; - * * @return Whether the int64Value field is set. */ public boolean hasInt64Value() { return valueCase_ == 2; } /** - * - * *
      * A 64-bit integer. Its range is approximately &plusmn;9.2x10<sup>18</sup>.
      * 
* * int64 int64_value = 2; - * * @return The int64Value. */ public long getInt64Value() { @@ -980,14 +893,11 @@ public long getInt64Value() { return 0L; } /** - * - * *
      * A 64-bit integer. Its range is approximately &plusmn;9.2x10<sup>18</sup>.
      * 
* * int64 int64_value = 2; - * * @param value The int64Value to set. * @return This builder for chaining. */ @@ -998,14 +908,11 @@ public Builder setInt64Value(long value) { return this; } /** - * - * *
      * A 64-bit integer. Its range is approximately &plusmn;9.2x10<sup>18</sup>.
      * 
* * int64 int64_value = 2; - * * @return This builder for chaining. */ public Builder clearInt64Value() { @@ -1018,8 +925,6 @@ public Builder clearInt64Value() { } /** - * - * *
      * A 64-bit double-precision floating-point number. Its magnitude
      * is approximately &plusmn;10<sup>&plusmn;300</sup> and it has 16
@@ -1027,15 +932,12 @@ public Builder clearInt64Value() {
      * 
* * double double_value = 3; - * * @return Whether the doubleValue field is set. */ public boolean hasDoubleValue() { return valueCase_ == 3; } /** - * - * *
      * A 64-bit double-precision floating-point number. Its magnitude
      * is approximately &plusmn;10<sup>&plusmn;300</sup> and it has 16
@@ -1043,7 +945,6 @@ public boolean hasDoubleValue() {
      * 
* * double double_value = 3; - * * @return The doubleValue. */ public double getDoubleValue() { @@ -1053,8 +954,6 @@ public double getDoubleValue() { return 0D; } /** - * - * *
      * A 64-bit double-precision floating-point number. Its magnitude
      * is approximately &plusmn;10<sup>&plusmn;300</sup> and it has 16
@@ -1062,7 +961,6 @@ public double getDoubleValue() {
      * 
* * double double_value = 3; - * * @param value The doubleValue to set. * @return This builder for chaining. */ @@ -1073,8 +971,6 @@ public Builder setDoubleValue(double value) { return this; } /** - * - * *
      * A 64-bit double-precision floating-point number. Its magnitude
      * is approximately &plusmn;10<sup>&plusmn;300</sup> and it has 16
@@ -1082,7 +978,6 @@ public Builder setDoubleValue(double value) {
      * 
* * double double_value = 3; - * * @return This builder for chaining. */ public Builder clearDoubleValue() { @@ -1095,14 +990,11 @@ public Builder clearDoubleValue() { } /** - * - * *
      * A variable-length string value.
      * 
* * string string_value = 4; - * * @return Whether the stringValue field is set. */ @java.lang.Override @@ -1110,14 +1002,11 @@ public boolean hasStringValue() { return valueCase_ == 4; } /** - * - * *
      * A variable-length string value.
      * 
* * string string_value = 4; - * * @return The stringValue. */ @java.lang.Override @@ -1127,7 +1016,8 @@ public java.lang.String getStringValue() { ref = value_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueCase_ == 4) { value_ = s; @@ -1138,25 +1028,24 @@ public java.lang.String getStringValue() { } } /** - * - * *
      * A variable-length string value.
      * 
* * string string_value = 4; - * * @return The bytes for stringValue. */ @java.lang.Override - public com.google.protobuf.ByteString getStringValueBytes() { + public com.google.protobuf.ByteString + getStringValueBytes() { java.lang.Object ref = ""; if (valueCase_ == 4) { ref = value_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (valueCase_ == 4) { value_ = b; } @@ -1166,35 +1055,30 @@ public com.google.protobuf.ByteString getStringValueBytes() { } } /** - * - * *
      * A variable-length string value.
      * 
* * string string_value = 4; - * * @param value The stringValue to set. * @return This builder for chaining. */ - public Builder setStringValue(java.lang.String value) { + public Builder setStringValue( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - valueCase_ = 4; + throw new NullPointerException(); + } + valueCase_ = 4; value_ = value; onChanged(); return this; } /** - * - * *
      * A variable-length string value.
      * 
* * string string_value = 4; - * * @return This builder for chaining. */ public Builder clearStringValue() { @@ -1206,22 +1090,20 @@ public Builder clearStringValue() { return this; } /** - * - * *
      * A variable-length string value.
      * 
* * string string_value = 4; - * * @param value The bytes for stringValue to set. * @return This builder for chaining. */ - public Builder setStringValueBytes(com.google.protobuf.ByteString value) { + public Builder setStringValueBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); valueCase_ = 4; value_ = value; onChanged(); @@ -1229,19 +1111,13 @@ public Builder setStringValueBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.Distribution, - com.google.api.Distribution.Builder, - com.google.api.DistributionOrBuilder> - distributionValueBuilder_; + com.google.api.Distribution, com.google.api.Distribution.Builder, com.google.api.DistributionOrBuilder> distributionValueBuilder_; /** - * - * *
      * A distribution value.
      * 
* * .google.api.Distribution distribution_value = 5; - * * @return Whether the distributionValue field is set. */ @java.lang.Override @@ -1249,14 +1125,11 @@ public boolean hasDistributionValue() { return valueCase_ == 5; } /** - * - * *
      * A distribution value.
      * 
* * .google.api.Distribution distribution_value = 5; - * * @return The distributionValue. */ @java.lang.Override @@ -1274,8 +1147,6 @@ public com.google.api.Distribution getDistributionValue() { } } /** - * - * *
      * A distribution value.
      * 
@@ -1296,15 +1167,14 @@ public Builder setDistributionValue(com.google.api.Distribution value) { return this; } /** - * - * *
      * A distribution value.
      * 
* * .google.api.Distribution distribution_value = 5; */ - public Builder setDistributionValue(com.google.api.Distribution.Builder builderForValue) { + public Builder setDistributionValue( + com.google.api.Distribution.Builder builderForValue) { if (distributionValueBuilder_ == null) { value_ = builderForValue.build(); onChanged(); @@ -1315,8 +1185,6 @@ public Builder setDistributionValue(com.google.api.Distribution.Builder builderF return this; } /** - * - * *
      * A distribution value.
      * 
@@ -1325,11 +1193,10 @@ public Builder setDistributionValue(com.google.api.Distribution.Builder builderF */ public Builder mergeDistributionValue(com.google.api.Distribution value) { if (distributionValueBuilder_ == null) { - if (valueCase_ == 5 && value_ != com.google.api.Distribution.getDefaultInstance()) { - value_ = - com.google.api.Distribution.newBuilder((com.google.api.Distribution) value_) - .mergeFrom(value) - .buildPartial(); + if (valueCase_ == 5 && + value_ != com.google.api.Distribution.getDefaultInstance()) { + value_ = com.google.api.Distribution.newBuilder((com.google.api.Distribution) value_) + .mergeFrom(value).buildPartial(); } else { value_ = value; } @@ -1344,8 +1211,6 @@ public Builder mergeDistributionValue(com.google.api.Distribution value) { return this; } /** - * - * *
      * A distribution value.
      * 
@@ -1369,8 +1234,6 @@ public Builder clearDistributionValue() { return this; } /** - * - * *
      * A distribution value.
      * 
@@ -1381,8 +1244,6 @@ public com.google.api.Distribution.Builder getDistributionValueBuilder() { return getDistributionValueFieldBuilder().getBuilder(); } /** - * - * *
      * A distribution value.
      * 
@@ -1401,8 +1262,6 @@ public com.google.api.DistributionOrBuilder getDistributionValueOrBuilder() { } } /** - * - * *
      * A distribution value.
      * 
@@ -1410,30 +1269,26 @@ public com.google.api.DistributionOrBuilder getDistributionValueOrBuilder() { * .google.api.Distribution distribution_value = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.Distribution, - com.google.api.Distribution.Builder, - com.google.api.DistributionOrBuilder> + com.google.api.Distribution, com.google.api.Distribution.Builder, com.google.api.DistributionOrBuilder> getDistributionValueFieldBuilder() { if (distributionValueBuilder_ == null) { if (!(valueCase_ == 5)) { value_ = com.google.api.Distribution.getDefaultInstance(); } - distributionValueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.api.Distribution, - com.google.api.Distribution.Builder, - com.google.api.DistributionOrBuilder>( - (com.google.api.Distribution) value_, getParentForChildren(), isClean()); + distributionValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.api.Distribution, com.google.api.Distribution.Builder, com.google.api.DistributionOrBuilder>( + (com.google.api.Distribution) value_, + getParentForChildren(), + isClean()); value_ = null; } valueCase_ = 5; - onChanged(); - ; + onChanged();; return distributionValueBuilder_; } - @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); } @@ -1443,12 +1298,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.TypedValue) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.TypedValue) private static final com.google.monitoring.v3.TypedValue DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.TypedValue(); } @@ -1457,16 +1312,16 @@ public static com.google.monitoring.v3.TypedValue getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TypedValue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TypedValue(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TypedValue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TypedValue(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1481,4 +1336,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.TypedValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TypedValueOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TypedValueOrBuilder.java similarity index 77% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TypedValueOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TypedValueOrBuilder.java index b7b3bc08..cd86759f 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TypedValueOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TypedValueOrBuilder.java @@ -1,81 +1,51 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/common.proto package com.google.monitoring.v3; -public interface TypedValueOrBuilder - extends +public interface TypedValueOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.TypedValue) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A Boolean value: `true` or `false`.
    * 
* * bool bool_value = 1; - * * @return Whether the boolValue field is set. */ boolean hasBoolValue(); /** - * - * *
    * A Boolean value: `true` or `false`.
    * 
* * bool bool_value = 1; - * * @return The boolValue. */ boolean getBoolValue(); /** - * - * *
    * A 64-bit integer. Its range is approximately &plusmn;9.2x10<sup>18</sup>.
    * 
* * int64 int64_value = 2; - * * @return Whether the int64Value field is set. */ boolean hasInt64Value(); /** - * - * *
    * A 64-bit integer. Its range is approximately &plusmn;9.2x10<sup>18</sup>.
    * 
* * int64 int64_value = 2; - * * @return The int64Value. */ long getInt64Value(); /** - * - * *
    * A 64-bit double-precision floating-point number. Its magnitude
    * is approximately &plusmn;10<sup>&plusmn;300</sup> and it has 16
@@ -83,13 +53,10 @@ public interface TypedValueOrBuilder
    * 
* * double double_value = 3; - * * @return Whether the doubleValue field is set. */ boolean hasDoubleValue(); /** - * - * *
    * A 64-bit double-precision floating-point number. Its magnitude
    * is approximately &plusmn;10<sup>&plusmn;300</sup> and it has 16
@@ -97,75 +64,58 @@ public interface TypedValueOrBuilder
    * 
* * double double_value = 3; - * * @return The doubleValue. */ double getDoubleValue(); /** - * - * *
    * A variable-length string value.
    * 
* * string string_value = 4; - * * @return Whether the stringValue field is set. */ boolean hasStringValue(); /** - * - * *
    * A variable-length string value.
    * 
* * string string_value = 4; - * * @return The stringValue. */ java.lang.String getStringValue(); /** - * - * *
    * A variable-length string value.
    * 
* * string string_value = 4; - * * @return The bytes for stringValue. */ - com.google.protobuf.ByteString getStringValueBytes(); + com.google.protobuf.ByteString + getStringValueBytes(); /** - * - * *
    * A distribution value.
    * 
* * .google.api.Distribution distribution_value = 5; - * * @return Whether the distributionValue field is set. */ boolean hasDistributionValue(); /** - * - * *
    * A distribution value.
    * 
* * .google.api.Distribution distribution_value = 5; - * * @return The distributionValue. */ com.google.api.Distribution getDistributionValue(); /** - * - * *
    * A distribution value.
    * 
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateAlertPolicyRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateAlertPolicyRequest.java similarity index 77% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateAlertPolicyRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateAlertPolicyRequest.java index bbfae509..e4883763 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateAlertPolicyRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateAlertPolicyRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/alert_service.proto package com.google.monitoring.v3; /** - * - * *
  * The protocol for the `UpdateAlertPolicy` request.
  * 
* * Protobuf type {@code google.monitoring.v3.UpdateAlertPolicyRequest} */ -public final class UpdateAlertPolicyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateAlertPolicyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.UpdateAlertPolicyRequest) UpdateAlertPolicyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateAlertPolicyRequest.newBuilder() to construct. private UpdateAlertPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateAlertPolicyRequest() {} + private UpdateAlertPolicyRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateAlertPolicyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateAlertPolicyRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,76 +52,67 @@ private UpdateAlertPolicyRequest( case 0: done = true; break; - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - - break; + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } - case 26: - { - com.google.monitoring.v3.AlertPolicy.Builder subBuilder = null; - if (alertPolicy_ != null) { - subBuilder = alertPolicy_.toBuilder(); - } - alertPolicy_ = - input.readMessage( - com.google.monitoring.v3.AlertPolicy.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(alertPolicy_); - alertPolicy_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.monitoring.v3.AlertPolicy.Builder subBuilder = null; + if (alertPolicy_ != null) { + subBuilder = alertPolicy_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + alertPolicy_ = input.readMessage(com.google.monitoring.v3.AlertPolicy.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(alertPolicy_); + alertPolicy_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.AlertServiceProto - .internal_static_google_monitoring_v3_UpdateAlertPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_UpdateAlertPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.AlertServiceProto - .internal_static_google_monitoring_v3_UpdateAlertPolicyRequest_fieldAccessorTable + return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_UpdateAlertPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.UpdateAlertPolicyRequest.class, - com.google.monitoring.v3.UpdateAlertPolicyRequest.Builder.class); + com.google.monitoring.v3.UpdateAlertPolicyRequest.class, com.google.monitoring.v3.UpdateAlertPolicyRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Optional. A list of alerting policy field names. If this field is not
    * empty, each listed field in the existing alerting policy is set to the
@@ -160,7 +135,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -168,8 +142,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Optional. A list of alerting policy field names. If this field is not
    * empty, each listed field in the existing alerting policy is set to the
@@ -192,7 +164,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -200,8 +171,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Optional. A list of alerting policy field names. If this field is not
    * empty, each listed field in the existing alerting policy is set to the
@@ -233,8 +202,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   public static final int ALERT_POLICY_FIELD_NUMBER = 3;
   private com.google.monitoring.v3.AlertPolicy alertPolicy_;
   /**
-   *
-   *
    * 
    * Required. The updated alerting policy or the updated values for the
    * fields listed in `update_mask`.
@@ -242,10 +209,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
    * not in `update_mask` are ignored.
    * 
* - * - * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the alertPolicy field is set. */ @java.lang.Override @@ -253,8 +217,6 @@ public boolean hasAlertPolicy() { return alertPolicy_ != null; } /** - * - * *
    * Required. The updated alerting policy or the updated values for the
    * fields listed in `update_mask`.
@@ -262,21 +224,14 @@ public boolean hasAlertPolicy() {
    * not in `update_mask` are ignored.
    * 
* - * - * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The alertPolicy. */ @java.lang.Override public com.google.monitoring.v3.AlertPolicy getAlertPolicy() { - return alertPolicy_ == null - ? com.google.monitoring.v3.AlertPolicy.getDefaultInstance() - : alertPolicy_; + return alertPolicy_ == null ? com.google.monitoring.v3.AlertPolicy.getDefaultInstance() : alertPolicy_; } /** - * - * *
    * Required. The updated alerting policy or the updated values for the
    * fields listed in `update_mask`.
@@ -284,9 +239,7 @@ public com.google.monitoring.v3.AlertPolicy getAlertPolicy() {
    * not in `update_mask` are ignored.
    * 
* - * - * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPolicyOrBuilder() { @@ -294,7 +247,6 @@ public com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPolicyOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -306,7 +258,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(2, getUpdateMask()); } @@ -323,10 +276,12 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } if (alertPolicy_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getAlertPolicy()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getAlertPolicy()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -336,21 +291,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.monitoring.v3.UpdateAlertPolicyRequest)) { return super.equals(obj); } - com.google.monitoring.v3.UpdateAlertPolicyRequest other = - (com.google.monitoring.v3.UpdateAlertPolicyRequest) obj; + com.google.monitoring.v3.UpdateAlertPolicyRequest other = (com.google.monitoring.v3.UpdateAlertPolicyRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (hasAlertPolicy() != other.hasAlertPolicy()) return false; if (hasAlertPolicy()) { - if (!getAlertPolicy().equals(other.getAlertPolicy())) return false; + if (!getAlertPolicy() + .equals(other.getAlertPolicy())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -377,126 +333,117 @@ public int hashCode() { } public static com.google.monitoring.v3.UpdateAlertPolicyRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.UpdateAlertPolicyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.UpdateAlertPolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.UpdateAlertPolicyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.UpdateAlertPolicyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.UpdateAlertPolicyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.UpdateAlertPolicyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.UpdateAlertPolicyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.UpdateAlertPolicyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.UpdateAlertPolicyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.UpdateAlertPolicyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.UpdateAlertPolicyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.UpdateAlertPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.UpdateAlertPolicyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.UpdateAlertPolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 protocol for the `UpdateAlertPolicy` request.
    * 
* * Protobuf type {@code google.monitoring.v3.UpdateAlertPolicyRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.UpdateAlertPolicyRequest) com.google.monitoring.v3.UpdateAlertPolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.AlertServiceProto - .internal_static_google_monitoring_v3_UpdateAlertPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_UpdateAlertPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.AlertServiceProto - .internal_static_google_monitoring_v3_UpdateAlertPolicyRequest_fieldAccessorTable + return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_UpdateAlertPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.UpdateAlertPolicyRequest.class, - com.google.monitoring.v3.UpdateAlertPolicyRequest.Builder.class); + com.google.monitoring.v3.UpdateAlertPolicyRequest.class, com.google.monitoring.v3.UpdateAlertPolicyRequest.Builder.class); } // Construct using com.google.monitoring.v3.UpdateAlertPolicyRequest.newBuilder() @@ -504,15 +451,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -532,9 +480,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.AlertServiceProto - .internal_static_google_monitoring_v3_UpdateAlertPolicyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_UpdateAlertPolicyRequest_descriptor; } @java.lang.Override @@ -553,8 +501,7 @@ public com.google.monitoring.v3.UpdateAlertPolicyRequest build() { @java.lang.Override public com.google.monitoring.v3.UpdateAlertPolicyRequest buildPartial() { - com.google.monitoring.v3.UpdateAlertPolicyRequest result = - new com.google.monitoring.v3.UpdateAlertPolicyRequest(this); + com.google.monitoring.v3.UpdateAlertPolicyRequest result = new com.google.monitoring.v3.UpdateAlertPolicyRequest(this); if (updateMaskBuilder_ == null) { result.updateMask_ = updateMask_; } else { @@ -573,39 +520,38 @@ public com.google.monitoring.v3.UpdateAlertPolicyRequest 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.monitoring.v3.UpdateAlertPolicyRequest) { - return mergeFrom((com.google.monitoring.v3.UpdateAlertPolicyRequest) other); + return mergeFrom((com.google.monitoring.v3.UpdateAlertPolicyRequest)other); } else { super.mergeFrom(other); return this; @@ -613,8 +559,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.UpdateAlertPolicyRequest other) { - if (other == com.google.monitoring.v3.UpdateAlertPolicyRequest.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.UpdateAlertPolicyRequest.getDefaultInstance()) return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -640,8 +585,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.UpdateAlertPolicyRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.UpdateAlertPolicyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -653,13 +597,8 @@ public Builder mergeFrom( private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Optional. A list of alerting policy field names. If this field is not
      * empty, each listed field in the existing alerting policy is set to the
@@ -682,15 +621,12 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Optional. A list of alerting policy field names. If this field is not
      * empty, each listed field in the existing alerting policy is set to the
@@ -713,21 +649,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Optional. A list of alerting policy field names. If this field is not
      * empty, each listed field in the existing alerting policy is set to the
@@ -765,8 +696,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. A list of alerting policy field names. If this field is not
      * empty, each listed field in the existing alerting policy is set to the
@@ -790,7 +719,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -801,8 +731,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. A list of alerting policy field names. If this field is not
      * empty, each listed field in the existing alerting policy is set to the
@@ -830,7 +758,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -842,8 +770,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. A list of alerting policy field names. If this field is not
      * empty, each listed field in the existing alerting policy is set to the
@@ -879,8 +805,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. A list of alerting policy field names. If this field is not
      * empty, each listed field in the existing alerting policy is set to the
@@ -905,13 +829,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Optional. A list of alerting policy field names. If this field is not
      * empty, each listed field in the existing alerting policy is set to the
@@ -939,14 +861,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * Optional. A list of alerting policy field names. If this field is not
      * empty, each listed field in the existing alerting policy is set to the
@@ -971,17 +890,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
@@ -989,13 +905,8 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
 
     private com.google.monitoring.v3.AlertPolicy alertPolicy_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.AlertPolicy,
-            com.google.monitoring.v3.AlertPolicy.Builder,
-            com.google.monitoring.v3.AlertPolicyOrBuilder>
-        alertPolicyBuilder_;
+        com.google.monitoring.v3.AlertPolicy, com.google.monitoring.v3.AlertPolicy.Builder, com.google.monitoring.v3.AlertPolicyOrBuilder> alertPolicyBuilder_;
     /**
-     *
-     *
      * 
      * Required. The updated alerting policy or the updated values for the
      * fields listed in `update_mask`.
@@ -1003,18 +914,13 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * not in `update_mask` are ignored.
      * 
* - * - * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the alertPolicy field is set. */ public boolean hasAlertPolicy() { return alertPolicyBuilder_ != null || alertPolicy_ != null; } /** - * - * *
      * Required. The updated alerting policy or the updated values for the
      * fields listed in `update_mask`.
@@ -1022,24 +928,17 @@ public boolean hasAlertPolicy() {
      * not in `update_mask` are ignored.
      * 
* - * - * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The alertPolicy. */ public com.google.monitoring.v3.AlertPolicy getAlertPolicy() { if (alertPolicyBuilder_ == null) { - return alertPolicy_ == null - ? com.google.monitoring.v3.AlertPolicy.getDefaultInstance() - : alertPolicy_; + return alertPolicy_ == null ? com.google.monitoring.v3.AlertPolicy.getDefaultInstance() : alertPolicy_; } else { return alertPolicyBuilder_.getMessage(); } } /** - * - * *
      * Required. The updated alerting policy or the updated values for the
      * fields listed in `update_mask`.
@@ -1047,9 +946,7 @@ public com.google.monitoring.v3.AlertPolicy getAlertPolicy() {
      * not in `update_mask` are ignored.
      * 
* - * - * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAlertPolicy(com.google.monitoring.v3.AlertPolicy value) { if (alertPolicyBuilder_ == null) { @@ -1065,8 +962,6 @@ public Builder setAlertPolicy(com.google.monitoring.v3.AlertPolicy value) { return this; } /** - * - * *
      * Required. The updated alerting policy or the updated values for the
      * fields listed in `update_mask`.
@@ -1074,11 +969,10 @@ public Builder setAlertPolicy(com.google.monitoring.v3.AlertPolicy value) {
      * not in `update_mask` are ignored.
      * 
* - * - * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setAlertPolicy(com.google.monitoring.v3.AlertPolicy.Builder builderForValue) { + public Builder setAlertPolicy( + com.google.monitoring.v3.AlertPolicy.Builder builderForValue) { if (alertPolicyBuilder_ == null) { alertPolicy_ = builderForValue.build(); onChanged(); @@ -1089,8 +983,6 @@ public Builder setAlertPolicy(com.google.monitoring.v3.AlertPolicy.Builder build return this; } /** - * - * *
      * Required. The updated alerting policy or the updated values for the
      * fields listed in `update_mask`.
@@ -1098,17 +990,13 @@ public Builder setAlertPolicy(com.google.monitoring.v3.AlertPolicy.Builder build
      * not in `update_mask` are ignored.
      * 
* - * - * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAlertPolicy(com.google.monitoring.v3.AlertPolicy value) { if (alertPolicyBuilder_ == null) { if (alertPolicy_ != null) { alertPolicy_ = - com.google.monitoring.v3.AlertPolicy.newBuilder(alertPolicy_) - .mergeFrom(value) - .buildPartial(); + com.google.monitoring.v3.AlertPolicy.newBuilder(alertPolicy_).mergeFrom(value).buildPartial(); } else { alertPolicy_ = value; } @@ -1120,8 +1008,6 @@ public Builder mergeAlertPolicy(com.google.monitoring.v3.AlertPolicy value) { return this; } /** - * - * *
      * Required. The updated alerting policy or the updated values for the
      * fields listed in `update_mask`.
@@ -1129,9 +1015,7 @@ public Builder mergeAlertPolicy(com.google.monitoring.v3.AlertPolicy value) {
      * not in `update_mask` are ignored.
      * 
* - * - * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAlertPolicy() { if (alertPolicyBuilder_ == null) { @@ -1145,8 +1029,6 @@ public Builder clearAlertPolicy() { return this; } /** - * - * *
      * Required. The updated alerting policy or the updated values for the
      * fields listed in `update_mask`.
@@ -1154,18 +1036,14 @@ public Builder clearAlertPolicy() {
      * not in `update_mask` are ignored.
      * 
* - * - * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.monitoring.v3.AlertPolicy.Builder getAlertPolicyBuilder() { - + onChanged(); return getAlertPolicyFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The updated alerting policy or the updated values for the
      * fields listed in `update_mask`.
@@ -1173,22 +1051,17 @@ public com.google.monitoring.v3.AlertPolicy.Builder getAlertPolicyBuilder() {
      * not in `update_mask` are ignored.
      * 
* - * - * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPolicyOrBuilder() { if (alertPolicyBuilder_ != null) { return alertPolicyBuilder_.getMessageOrBuilder(); } else { - return alertPolicy_ == null - ? com.google.monitoring.v3.AlertPolicy.getDefaultInstance() - : alertPolicy_; + return alertPolicy_ == null ? + com.google.monitoring.v3.AlertPolicy.getDefaultInstance() : alertPolicy_; } } /** - * - * *
      * Required. The updated alerting policy or the updated values for the
      * fields listed in `update_mask`.
@@ -1196,29 +1069,24 @@ public com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPolicyOrBuilder() {
      * not in `update_mask` are ignored.
      * 
* - * - * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy, - com.google.monitoring.v3.AlertPolicy.Builder, - com.google.monitoring.v3.AlertPolicyOrBuilder> + com.google.monitoring.v3.AlertPolicy, com.google.monitoring.v3.AlertPolicy.Builder, com.google.monitoring.v3.AlertPolicyOrBuilder> getAlertPolicyFieldBuilder() { if (alertPolicyBuilder_ == null) { - alertPolicyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy, - com.google.monitoring.v3.AlertPolicy.Builder, - com.google.monitoring.v3.AlertPolicyOrBuilder>( - getAlertPolicy(), getParentForChildren(), isClean()); + alertPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.AlertPolicy, com.google.monitoring.v3.AlertPolicy.Builder, com.google.monitoring.v3.AlertPolicyOrBuilder>( + getAlertPolicy(), + getParentForChildren(), + isClean()); alertPolicy_ = null; } return alertPolicyBuilder_; } - @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); } @@ -1228,12 +1096,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.UpdateAlertPolicyRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.UpdateAlertPolicyRequest) private static final com.google.monitoring.v3.UpdateAlertPolicyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.UpdateAlertPolicyRequest(); } @@ -1242,16 +1110,16 @@ public static com.google.monitoring.v3.UpdateAlertPolicyRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateAlertPolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateAlertPolicyRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateAlertPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateAlertPolicyRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1266,4 +1134,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.UpdateAlertPolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateAlertPolicyRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateAlertPolicyRequestOrBuilder.java similarity index 83% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateAlertPolicyRequestOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateAlertPolicyRequestOrBuilder.java index 67acc36f..3559a7a3 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateAlertPolicyRequestOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateAlertPolicyRequestOrBuilder.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/monitoring/v3/alert_service.proto package com.google.monitoring.v3; -public interface UpdateAlertPolicyRequestOrBuilder - extends +public interface UpdateAlertPolicyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.UpdateAlertPolicyRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optional. A list of alerting policy field names. If this field is not
    * empty, each listed field in the existing alerting policy is set to the
@@ -48,13 +30,10 @@ public interface UpdateAlertPolicyRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Optional. A list of alerting policy field names. If this field is not
    * empty, each listed field in the existing alerting policy is set to the
@@ -77,13 +56,10 @@ public interface UpdateAlertPolicyRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Optional. A list of alerting policy field names. If this field is not
    * empty, each listed field in the existing alerting policy is set to the
@@ -110,8 +86,6 @@ public interface UpdateAlertPolicyRequestOrBuilder
   com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder();
 
   /**
-   *
-   *
    * 
    * Required. The updated alerting policy or the updated values for the
    * fields listed in `update_mask`.
@@ -119,16 +93,11 @@ public interface UpdateAlertPolicyRequestOrBuilder
    * not in `update_mask` are ignored.
    * 
* - * - * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the alertPolicy field is set. */ boolean hasAlertPolicy(); /** - * - * *
    * Required. The updated alerting policy or the updated values for the
    * fields listed in `update_mask`.
@@ -136,16 +105,11 @@ public interface UpdateAlertPolicyRequestOrBuilder
    * not in `update_mask` are ignored.
    * 
* - * - * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The alertPolicy. */ com.google.monitoring.v3.AlertPolicy getAlertPolicy(); /** - * - * *
    * Required. The updated alerting policy or the updated values for the
    * fields listed in `update_mask`.
@@ -153,9 +117,7 @@ public interface UpdateAlertPolicyRequestOrBuilder
    * not in `update_mask` are ignored.
    * 
* - * - * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPolicyOrBuilder(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateGroupRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateGroupRequest.java similarity index 72% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateGroupRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateGroupRequest.java index e9cc2675..21aa1044 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateGroupRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateGroupRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/group_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `UpdateGroup` request.
  * 
* * Protobuf type {@code google.monitoring.v3.UpdateGroupRequest} */ -public final class UpdateGroupRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateGroupRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.UpdateGroupRequest) UpdateGroupRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateGroupRequest.newBuilder() to construct. private UpdateGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateGroupRequest() {} + private UpdateGroupRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateGroupRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateGroupRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,72 +52,65 @@ private UpdateGroupRequest( case 0: done = true; break; - case 18: - { - com.google.monitoring.v3.Group.Builder subBuilder = null; - if (group_ != null) { - subBuilder = group_.toBuilder(); - } - group_ = - input.readMessage(com.google.monitoring.v3.Group.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(group_); - group_ = subBuilder.buildPartial(); - } - - break; + case 18: { + com.google.monitoring.v3.Group.Builder subBuilder = null; + if (group_ != null) { + subBuilder = group_.toBuilder(); } - case 24: - { - validateOnly_ = input.readBool(); - break; + group_ = input.readMessage(com.google.monitoring.v3.Group.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(group_); + group_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 24: { + + validateOnly_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.GroupServiceProto - .internal_static_google_monitoring_v3_UpdateGroupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_UpdateGroupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.GroupServiceProto - .internal_static_google_monitoring_v3_UpdateGroupRequest_fieldAccessorTable + return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_UpdateGroupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.UpdateGroupRequest.class, - com.google.monitoring.v3.UpdateGroupRequest.Builder.class); + com.google.monitoring.v3.UpdateGroupRequest.class, com.google.monitoring.v3.UpdateGroupRequest.Builder.class); } public static final int GROUP_FIELD_NUMBER = 2; private com.google.monitoring.v3.Group group_; /** - * - * *
    * Required. The new definition of the group.  All fields of the existing group,
    * excepting `name`, are replaced with the corresponding fields of this group.
    * 
* * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the group field is set. */ @java.lang.Override @@ -141,15 +118,12 @@ public boolean hasGroup() { return group_ != null; } /** - * - * *
    * Required. The new definition of the group.  All fields of the existing group,
    * excepting `name`, are replaced with the corresponding fields of this group.
    * 
* * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The group. */ @java.lang.Override @@ -157,8 +131,6 @@ public com.google.monitoring.v3.Group getGroup() { return group_ == null ? com.google.monitoring.v3.Group.getDefaultInstance() : group_; } /** - * - * *
    * Required. The new definition of the group.  All fields of the existing group,
    * excepting `name`, are replaced with the corresponding fields of this group.
@@ -174,14 +146,11 @@ public com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder() {
   public static final int VALIDATE_ONLY_FIELD_NUMBER = 3;
   private boolean validateOnly_;
   /**
-   *
-   *
    * 
    * If true, validate this request but do not update the existing group.
    * 
* * bool validate_only = 3; - * * @return The validateOnly. */ @java.lang.Override @@ -190,7 +159,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,7 +170,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 (group_ != null) { output.writeMessage(2, getGroup()); } @@ -219,10 +188,12 @@ public int getSerializedSize() { size = 0; if (group_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getGroup()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getGroup()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, validateOnly_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -232,19 +203,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.UpdateGroupRequest)) { return super.equals(obj); } - com.google.monitoring.v3.UpdateGroupRequest other = - (com.google.monitoring.v3.UpdateGroupRequest) obj; + com.google.monitoring.v3.UpdateGroupRequest other = (com.google.monitoring.v3.UpdateGroupRequest) obj; if (hasGroup() != other.hasGroup()) return false; if (hasGroup()) { - if (!getGroup().equals(other.getGroup())) return false; + if (!getGroup() + .equals(other.getGroup())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -261,133 +233,125 @@ public int hashCode() { hash = (53 * hash) + getGroup().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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.monitoring.v3.UpdateGroupRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.UpdateGroupRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.UpdateGroupRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.UpdateGroupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.UpdateGroupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.UpdateGroupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.UpdateGroupRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.UpdateGroupRequest 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.monitoring.v3.UpdateGroupRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.UpdateGroupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.UpdateGroupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.UpdateGroupRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.UpdateGroupRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.UpdateGroupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.UpdateGroupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 `UpdateGroup` request.
    * 
* * Protobuf type {@code google.monitoring.v3.UpdateGroupRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.UpdateGroupRequest) com.google.monitoring.v3.UpdateGroupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.GroupServiceProto - .internal_static_google_monitoring_v3_UpdateGroupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_UpdateGroupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.GroupServiceProto - .internal_static_google_monitoring_v3_UpdateGroupRequest_fieldAccessorTable + return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_UpdateGroupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.UpdateGroupRequest.class, - com.google.monitoring.v3.UpdateGroupRequest.Builder.class); + com.google.monitoring.v3.UpdateGroupRequest.class, com.google.monitoring.v3.UpdateGroupRequest.Builder.class); } // Construct using com.google.monitoring.v3.UpdateGroupRequest.newBuilder() @@ -395,15 +359,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -419,9 +384,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.GroupServiceProto - .internal_static_google_monitoring_v3_UpdateGroupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_UpdateGroupRequest_descriptor; } @java.lang.Override @@ -440,8 +405,7 @@ public com.google.monitoring.v3.UpdateGroupRequest build() { @java.lang.Override public com.google.monitoring.v3.UpdateGroupRequest buildPartial() { - com.google.monitoring.v3.UpdateGroupRequest result = - new com.google.monitoring.v3.UpdateGroupRequest(this); + com.google.monitoring.v3.UpdateGroupRequest result = new com.google.monitoring.v3.UpdateGroupRequest(this); if (groupBuilder_ == null) { result.group_ = group_; } else { @@ -456,39 +420,38 @@ public com.google.monitoring.v3.UpdateGroupRequest 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.monitoring.v3.UpdateGroupRequest) { - return mergeFrom((com.google.monitoring.v3.UpdateGroupRequest) other); + return mergeFrom((com.google.monitoring.v3.UpdateGroupRequest)other); } else { super.mergeFrom(other); return this; @@ -534,35 +497,26 @@ public Builder mergeFrom( private com.google.monitoring.v3.Group group_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Group, - com.google.monitoring.v3.Group.Builder, - com.google.monitoring.v3.GroupOrBuilder> - groupBuilder_; + com.google.monitoring.v3.Group, com.google.monitoring.v3.Group.Builder, com.google.monitoring.v3.GroupOrBuilder> groupBuilder_; /** - * - * *
      * Required. The new definition of the group.  All fields of the existing group,
      * excepting `name`, are replaced with the corresponding fields of this group.
      * 
* * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the group field is set. */ public boolean hasGroup() { return groupBuilder_ != null || group_ != null; } /** - * - * *
      * Required. The new definition of the group.  All fields of the existing group,
      * excepting `name`, are replaced with the corresponding fields of this group.
      * 
* * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The group. */ public com.google.monitoring.v3.Group getGroup() { @@ -573,8 +527,6 @@ public com.google.monitoring.v3.Group getGroup() { } } /** - * - * *
      * Required. The new definition of the group.  All fields of the existing group,
      * excepting `name`, are replaced with the corresponding fields of this group.
@@ -596,8 +548,6 @@ public Builder setGroup(com.google.monitoring.v3.Group value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. The new definition of the group.  All fields of the existing group,
      * excepting `name`, are replaced with the corresponding fields of this group.
@@ -605,7 +555,8 @@ public Builder setGroup(com.google.monitoring.v3.Group value) {
      *
      * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED];
      */
-    public Builder setGroup(com.google.monitoring.v3.Group.Builder builderForValue) {
+    public Builder setGroup(
+        com.google.monitoring.v3.Group.Builder builderForValue) {
       if (groupBuilder_ == null) {
         group_ = builderForValue.build();
         onChanged();
@@ -616,8 +567,6 @@ public Builder setGroup(com.google.monitoring.v3.Group.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. The new definition of the group.  All fields of the existing group,
      * excepting `name`, are replaced with the corresponding fields of this group.
@@ -629,7 +578,7 @@ public Builder mergeGroup(com.google.monitoring.v3.Group value) {
       if (groupBuilder_ == null) {
         if (group_ != null) {
           group_ =
-              com.google.monitoring.v3.Group.newBuilder(group_).mergeFrom(value).buildPartial();
+            com.google.monitoring.v3.Group.newBuilder(group_).mergeFrom(value).buildPartial();
         } else {
           group_ = value;
         }
@@ -641,8 +590,6 @@ public Builder mergeGroup(com.google.monitoring.v3.Group value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. The new definition of the group.  All fields of the existing group,
      * excepting `name`, are replaced with the corresponding fields of this group.
@@ -662,8 +609,6 @@ public Builder clearGroup() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. The new definition of the group.  All fields of the existing group,
      * excepting `name`, are replaced with the corresponding fields of this group.
@@ -672,13 +617,11 @@ public Builder clearGroup() {
      * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED];
      */
     public com.google.monitoring.v3.Group.Builder getGroupBuilder() {
-
+      
       onChanged();
       return getGroupFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Required. The new definition of the group.  All fields of the existing group,
      * excepting `name`, are replaced with the corresponding fields of this group.
@@ -690,12 +633,11 @@ public com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder() {
       if (groupBuilder_ != null) {
         return groupBuilder_.getMessageOrBuilder();
       } else {
-        return group_ == null ? com.google.monitoring.v3.Group.getDefaultInstance() : group_;
+        return group_ == null ?
+            com.google.monitoring.v3.Group.getDefaultInstance() : group_;
       }
     }
     /**
-     *
-     *
      * 
      * Required. The new definition of the group.  All fields of the existing group,
      * excepting `name`, are replaced with the corresponding fields of this group.
@@ -704,32 +646,26 @@ public com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder() {
      * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.Group,
-            com.google.monitoring.v3.Group.Builder,
-            com.google.monitoring.v3.GroupOrBuilder>
+        com.google.monitoring.v3.Group, com.google.monitoring.v3.Group.Builder, com.google.monitoring.v3.GroupOrBuilder> 
         getGroupFieldBuilder() {
       if (groupBuilder_ == null) {
-        groupBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.monitoring.v3.Group,
-                com.google.monitoring.v3.Group.Builder,
-                com.google.monitoring.v3.GroupOrBuilder>(
-                getGroup(), getParentForChildren(), isClean());
+        groupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.monitoring.v3.Group, com.google.monitoring.v3.Group.Builder, com.google.monitoring.v3.GroupOrBuilder>(
+                getGroup(),
+                getParentForChildren(),
+                isClean());
         group_ = null;
       }
       return groupBuilder_;
     }
 
-    private boolean validateOnly_;
+    private boolean validateOnly_ ;
     /**
-     *
-     *
      * 
      * If true, validate this request but do not update the existing group.
      * 
* * bool validate_only = 3; - * * @return The validateOnly. */ @java.lang.Override @@ -737,43 +673,37 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * If true, validate this request but do not update the existing group.
      * 
* * bool validate_only = 3; - * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** - * - * *
      * If true, validate this request but do not update the existing group.
      * 
* * bool validate_only = 3; - * * @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); } @@ -783,12 +713,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.UpdateGroupRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.UpdateGroupRequest) private static final com.google.monitoring.v3.UpdateGroupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.UpdateGroupRequest(); } @@ -797,16 +727,16 @@ public static com.google.monitoring.v3.UpdateGroupRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateGroupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateGroupRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateGroupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateGroupRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -821,4 +751,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.UpdateGroupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateGroupRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateGroupRequestOrBuilder.java similarity index 69% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateGroupRequestOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateGroupRequestOrBuilder.java index 9b1914a6..4ea723dd 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateGroupRequestOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateGroupRequestOrBuilder.java @@ -1,57 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/group_service.proto package com.google.monitoring.v3; -public interface UpdateGroupRequestOrBuilder - extends +public interface UpdateGroupRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.UpdateGroupRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The new definition of the group.  All fields of the existing group,
    * excepting `name`, are replaced with the corresponding fields of this group.
    * 
* * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the group field is set. */ boolean hasGroup(); /** - * - * *
    * Required. The new definition of the group.  All fields of the existing group,
    * excepting `name`, are replaced with the corresponding fields of this group.
    * 
* * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The group. */ com.google.monitoring.v3.Group getGroup(); /** - * - * *
    * Required. The new definition of the group.  All fields of the existing group,
    * excepting `name`, are replaced with the corresponding fields of this group.
@@ -62,14 +38,11 @@ public interface UpdateGroupRequestOrBuilder
   com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder();
 
   /**
-   *
-   *
    * 
    * If true, validate this request but do not update the existing group.
    * 
* * bool validate_only = 3; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateNotificationChannelRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateNotificationChannelRequest.java similarity index 66% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateNotificationChannelRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateNotificationChannelRequest.java index 59c48aca..cf58286f 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateNotificationChannelRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateNotificationChannelRequest.java @@ -1,56 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/notification_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `UpdateNotificationChannel` request.
  * 
* * Protobuf type {@code google.monitoring.v3.UpdateNotificationChannelRequest} */ -public final class UpdateNotificationChannelRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateNotificationChannelRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.UpdateNotificationChannelRequest) UpdateNotificationChannelRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateNotificationChannelRequest.newBuilder() to construct. - private UpdateNotificationChannelRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateNotificationChannelRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateNotificationChannelRequest() {} + private UpdateNotificationChannelRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateNotificationChannelRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateNotificationChannelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -69,82 +52,72 @@ private UpdateNotificationChannelRequest( case 0: done = true; break; - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - - break; + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } - case 26: - { - com.google.monitoring.v3.NotificationChannel.Builder subBuilder = null; - if (notificationChannel_ != null) { - subBuilder = notificationChannel_.toBuilder(); - } - notificationChannel_ = - input.readMessage( - com.google.monitoring.v3.NotificationChannel.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(notificationChannel_); - notificationChannel_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.monitoring.v3.NotificationChannel.Builder subBuilder = null; + if (notificationChannel_ != null) { + subBuilder = notificationChannel_.toBuilder(); + } + notificationChannel_ = input.readMessage(com.google.monitoring.v3.NotificationChannel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(notificationChannel_); + notificationChannel_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_UpdateNotificationChannelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_UpdateNotificationChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_UpdateNotificationChannelRequest_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_UpdateNotificationChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.UpdateNotificationChannelRequest.class, - com.google.monitoring.v3.UpdateNotificationChannelRequest.Builder.class); + com.google.monitoring.v3.UpdateNotificationChannelRequest.class, com.google.monitoring.v3.UpdateNotificationChannelRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * The fields to update.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -152,14 +125,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The fields to update.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -167,8 +137,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The fields to update.
    * 
@@ -183,8 +151,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int NOTIFICATION_CHANNEL_FIELD_NUMBER = 3; private com.google.monitoring.v3.NotificationChannel notificationChannel_; /** - * - * *
    * Required. A description of the changes to be applied to the specified
    * notification channel. The description must provide a definition for
@@ -192,10 +158,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
    * included in the `update_mask`.
    * 
* - * - * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the notificationChannel field is set. */ @java.lang.Override @@ -203,8 +166,6 @@ public boolean hasNotificationChannel() { return notificationChannel_ != null; } /** - * - * *
    * Required. A description of the changes to be applied to the specified
    * notification channel. The description must provide a definition for
@@ -212,21 +173,14 @@ public boolean hasNotificationChannel() {
    * included in the `update_mask`.
    * 
* - * - * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The notificationChannel. */ @java.lang.Override public com.google.monitoring.v3.NotificationChannel getNotificationChannel() { - return notificationChannel_ == null - ? com.google.monitoring.v3.NotificationChannel.getDefaultInstance() - : notificationChannel_; + return notificationChannel_ == null ? com.google.monitoring.v3.NotificationChannel.getDefaultInstance() : notificationChannel_; } /** - * - * *
    * Required. A description of the changes to be applied to the specified
    * notification channel. The description must provide a definition for
@@ -234,9 +188,7 @@ public com.google.monitoring.v3.NotificationChannel getNotificationChannel() {
    * included in the `update_mask`.
    * 
* - * - * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChannelOrBuilder() { @@ -244,7 +196,6 @@ public com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChan } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -256,7 +207,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(2, getUpdateMask()); } @@ -273,10 +225,12 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } if (notificationChannel_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getNotificationChannel()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getNotificationChannel()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -286,21 +240,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.monitoring.v3.UpdateNotificationChannelRequest)) { return super.equals(obj); } - com.google.monitoring.v3.UpdateNotificationChannelRequest other = - (com.google.monitoring.v3.UpdateNotificationChannelRequest) obj; + com.google.monitoring.v3.UpdateNotificationChannelRequest other = (com.google.monitoring.v3.UpdateNotificationChannelRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (hasNotificationChannel() != other.hasNotificationChannel()) return false; if (hasNotificationChannel()) { - if (!getNotificationChannel().equals(other.getNotificationChannel())) return false; + if (!getNotificationChannel() + .equals(other.getNotificationChannel())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -327,127 +282,117 @@ public int hashCode() { } public static com.google.monitoring.v3.UpdateNotificationChannelRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.UpdateNotificationChannelRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.UpdateNotificationChannelRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.UpdateNotificationChannelRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.UpdateNotificationChannelRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.UpdateNotificationChannelRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.UpdateNotificationChannelRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.UpdateNotificationChannelRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.UpdateNotificationChannelRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.UpdateNotificationChannelRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.UpdateNotificationChannelRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.UpdateNotificationChannelRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.UpdateNotificationChannelRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.UpdateNotificationChannelRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.UpdateNotificationChannelRequest prototype) { + public static Builder newBuilder(com.google.monitoring.v3.UpdateNotificationChannelRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 `UpdateNotificationChannel` request.
    * 
* * Protobuf type {@code google.monitoring.v3.UpdateNotificationChannelRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.UpdateNotificationChannelRequest) com.google.monitoring.v3.UpdateNotificationChannelRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_UpdateNotificationChannelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_UpdateNotificationChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_UpdateNotificationChannelRequest_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_UpdateNotificationChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.UpdateNotificationChannelRequest.class, - com.google.monitoring.v3.UpdateNotificationChannelRequest.Builder.class); + com.google.monitoring.v3.UpdateNotificationChannelRequest.class, com.google.monitoring.v3.UpdateNotificationChannelRequest.Builder.class); } // Construct using com.google.monitoring.v3.UpdateNotificationChannelRequest.newBuilder() @@ -455,15 +400,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -483,9 +429,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_UpdateNotificationChannelRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_UpdateNotificationChannelRequest_descriptor; } @java.lang.Override @@ -504,8 +450,7 @@ public com.google.monitoring.v3.UpdateNotificationChannelRequest build() { @java.lang.Override public com.google.monitoring.v3.UpdateNotificationChannelRequest buildPartial() { - com.google.monitoring.v3.UpdateNotificationChannelRequest result = - new com.google.monitoring.v3.UpdateNotificationChannelRequest(this); + com.google.monitoring.v3.UpdateNotificationChannelRequest result = new com.google.monitoring.v3.UpdateNotificationChannelRequest(this); if (updateMaskBuilder_ == null) { result.updateMask_ = updateMask_; } else { @@ -524,39 +469,38 @@ public com.google.monitoring.v3.UpdateNotificationChannelRequest 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.monitoring.v3.UpdateNotificationChannelRequest) { - return mergeFrom((com.google.monitoring.v3.UpdateNotificationChannelRequest) other); + return mergeFrom((com.google.monitoring.v3.UpdateNotificationChannelRequest)other); } else { super.mergeFrom(other); return this; @@ -564,8 +508,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.UpdateNotificationChannelRequest other) { - if (other == com.google.monitoring.v3.UpdateNotificationChannelRequest.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.UpdateNotificationChannelRequest.getDefaultInstance()) return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -591,8 +534,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.UpdateNotificationChannelRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.UpdateNotificationChannelRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -604,47 +546,34 @@ public Builder mergeFrom( private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * The fields to update.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * The fields to update.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * The fields to update.
      * 
@@ -665,15 +594,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The fields to update.
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -684,8 +612,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * The fields to update.
      * 
@@ -696,7 +622,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -708,8 +634,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The fields to update.
      * 
@@ -728,8 +652,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * The fields to update.
      * 
@@ -737,13 +659,11 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * The fields to update.
      * 
@@ -754,14 +674,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * The fields to update.
      * 
@@ -769,17 +686,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; @@ -787,13 +701,8 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.monitoring.v3.NotificationChannel notificationChannel_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.NotificationChannel, - com.google.monitoring.v3.NotificationChannel.Builder, - com.google.monitoring.v3.NotificationChannelOrBuilder> - notificationChannelBuilder_; + com.google.monitoring.v3.NotificationChannel, com.google.monitoring.v3.NotificationChannel.Builder, com.google.monitoring.v3.NotificationChannelOrBuilder> notificationChannelBuilder_; /** - * - * *
      * Required. A description of the changes to be applied to the specified
      * notification channel. The description must provide a definition for
@@ -801,18 +710,13 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * included in the `update_mask`.
      * 
* - * - * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the notificationChannel field is set. */ public boolean hasNotificationChannel() { return notificationChannelBuilder_ != null || notificationChannel_ != null; } /** - * - * *
      * Required. A description of the changes to be applied to the specified
      * notification channel. The description must provide a definition for
@@ -820,24 +724,17 @@ public boolean hasNotificationChannel() {
      * included in the `update_mask`.
      * 
* - * - * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The notificationChannel. */ public com.google.monitoring.v3.NotificationChannel getNotificationChannel() { if (notificationChannelBuilder_ == null) { - return notificationChannel_ == null - ? com.google.monitoring.v3.NotificationChannel.getDefaultInstance() - : notificationChannel_; + return notificationChannel_ == null ? com.google.monitoring.v3.NotificationChannel.getDefaultInstance() : notificationChannel_; } else { return notificationChannelBuilder_.getMessage(); } } /** - * - * *
      * Required. A description of the changes to be applied to the specified
      * notification channel. The description must provide a definition for
@@ -845,9 +742,7 @@ public com.google.monitoring.v3.NotificationChannel getNotificationChannel() {
      * included in the `update_mask`.
      * 
* - * - * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setNotificationChannel(com.google.monitoring.v3.NotificationChannel value) { if (notificationChannelBuilder_ == null) { @@ -863,8 +758,6 @@ public Builder setNotificationChannel(com.google.monitoring.v3.NotificationChann return this; } /** - * - * *
      * Required. A description of the changes to be applied to the specified
      * notification channel. The description must provide a definition for
@@ -872,9 +765,7 @@ public Builder setNotificationChannel(com.google.monitoring.v3.NotificationChann
      * included in the `update_mask`.
      * 
* - * - * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setNotificationChannel( com.google.monitoring.v3.NotificationChannel.Builder builderForValue) { @@ -888,8 +779,6 @@ public Builder setNotificationChannel( return this; } /** - * - * *
      * Required. A description of the changes to be applied to the specified
      * notification channel. The description must provide a definition for
@@ -897,17 +786,13 @@ public Builder setNotificationChannel(
      * included in the `update_mask`.
      * 
* - * - * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeNotificationChannel(com.google.monitoring.v3.NotificationChannel value) { if (notificationChannelBuilder_ == null) { if (notificationChannel_ != null) { notificationChannel_ = - com.google.monitoring.v3.NotificationChannel.newBuilder(notificationChannel_) - .mergeFrom(value) - .buildPartial(); + com.google.monitoring.v3.NotificationChannel.newBuilder(notificationChannel_).mergeFrom(value).buildPartial(); } else { notificationChannel_ = value; } @@ -919,8 +804,6 @@ public Builder mergeNotificationChannel(com.google.monitoring.v3.NotificationCha return this; } /** - * - * *
      * Required. A description of the changes to be applied to the specified
      * notification channel. The description must provide a definition for
@@ -928,9 +811,7 @@ public Builder mergeNotificationChannel(com.google.monitoring.v3.NotificationCha
      * included in the `update_mask`.
      * 
* - * - * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearNotificationChannel() { if (notificationChannelBuilder_ == null) { @@ -944,8 +825,6 @@ public Builder clearNotificationChannel() { return this; } /** - * - * *
      * Required. A description of the changes to be applied to the specified
      * notification channel. The description must provide a definition for
@@ -953,18 +832,14 @@ public Builder clearNotificationChannel() {
      * included in the `update_mask`.
      * 
* - * - * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.monitoring.v3.NotificationChannel.Builder getNotificationChannelBuilder() { - + onChanged(); return getNotificationChannelFieldBuilder().getBuilder(); } /** - * - * *
      * Required. A description of the changes to be applied to the specified
      * notification channel. The description must provide a definition for
@@ -972,22 +847,17 @@ public com.google.monitoring.v3.NotificationChannel.Builder getNotificationChann
      * included in the `update_mask`.
      * 
* - * - * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChannelOrBuilder() { if (notificationChannelBuilder_ != null) { return notificationChannelBuilder_.getMessageOrBuilder(); } else { - return notificationChannel_ == null - ? com.google.monitoring.v3.NotificationChannel.getDefaultInstance() - : notificationChannel_; + return notificationChannel_ == null ? + com.google.monitoring.v3.NotificationChannel.getDefaultInstance() : notificationChannel_; } } /** - * - * *
      * Required. A description of the changes to be applied to the specified
      * notification channel. The description must provide a definition for
@@ -995,29 +865,24 @@ public com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChan
      * included in the `update_mask`.
      * 
* - * - * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.NotificationChannel, - com.google.monitoring.v3.NotificationChannel.Builder, - com.google.monitoring.v3.NotificationChannelOrBuilder> + com.google.monitoring.v3.NotificationChannel, com.google.monitoring.v3.NotificationChannel.Builder, com.google.monitoring.v3.NotificationChannelOrBuilder> getNotificationChannelFieldBuilder() { if (notificationChannelBuilder_ == null) { - notificationChannelBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.NotificationChannel, - com.google.monitoring.v3.NotificationChannel.Builder, - com.google.monitoring.v3.NotificationChannelOrBuilder>( - getNotificationChannel(), getParentForChildren(), isClean()); + notificationChannelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.NotificationChannel, com.google.monitoring.v3.NotificationChannel.Builder, com.google.monitoring.v3.NotificationChannelOrBuilder>( + getNotificationChannel(), + getParentForChildren(), + isClean()); notificationChannel_ = null; } return notificationChannelBuilder_; } - @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); } @@ -1027,12 +892,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.UpdateNotificationChannelRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.UpdateNotificationChannelRequest) private static final com.google.monitoring.v3.UpdateNotificationChannelRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.UpdateNotificationChannelRequest(); } @@ -1041,16 +906,16 @@ public static com.google.monitoring.v3.UpdateNotificationChannelRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateNotificationChannelRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateNotificationChannelRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateNotificationChannelRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateNotificationChannelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1065,4 +930,6 @@ public com.google.protobuf.Parser getParserFor public com.google.monitoring.v3.UpdateNotificationChannelRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateNotificationChannelRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateNotificationChannelRequestOrBuilder.java similarity index 64% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateNotificationChannelRequestOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateNotificationChannelRequestOrBuilder.java index e1260fdf..d2168eae 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateNotificationChannelRequestOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateNotificationChannelRequestOrBuilder.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/monitoring/v3/notification_service.proto package com.google.monitoring.v3; -public interface UpdateNotificationChannelRequestOrBuilder - extends +public interface UpdateNotificationChannelRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.UpdateNotificationChannelRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The fields to update.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * The fields to update.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * The fields to update.
    * 
@@ -59,8 +35,6 @@ public interface UpdateNotificationChannelRequestOrBuilder com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * Required. A description of the changes to be applied to the specified
    * notification channel. The description must provide a definition for
@@ -68,16 +42,11 @@ public interface UpdateNotificationChannelRequestOrBuilder
    * included in the `update_mask`.
    * 
* - * - * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the notificationChannel field is set. */ boolean hasNotificationChannel(); /** - * - * *
    * Required. A description of the changes to be applied to the specified
    * notification channel. The description must provide a definition for
@@ -85,16 +54,11 @@ public interface UpdateNotificationChannelRequestOrBuilder
    * included in the `update_mask`.
    * 
* - * - * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The notificationChannel. */ com.google.monitoring.v3.NotificationChannel getNotificationChannel(); /** - * - * *
    * Required. A description of the changes to be applied to the specified
    * notification channel. The description must provide a definition for
@@ -102,9 +66,7 @@ public interface UpdateNotificationChannelRequestOrBuilder
    * included in the `update_mask`.
    * 
* - * - * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChannelOrBuilder(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceLevelObjectiveRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceLevelObjectiveRequest.java similarity index 65% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceLevelObjectiveRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceLevelObjectiveRequest.java index 8c0d3593..264efa9b 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceLevelObjectiveRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceLevelObjectiveRequest.java @@ -1,56 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/service_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `UpdateServiceLevelObjective` request.
  * 
* * Protobuf type {@code google.monitoring.v3.UpdateServiceLevelObjectiveRequest} */ -public final class UpdateServiceLevelObjectiveRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateServiceLevelObjectiveRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.UpdateServiceLevelObjectiveRequest) UpdateServiceLevelObjectiveRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateServiceLevelObjectiveRequest.newBuilder() to construct. - private UpdateServiceLevelObjectiveRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateServiceLevelObjectiveRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateServiceLevelObjectiveRequest() {} + private UpdateServiceLevelObjectiveRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateServiceLevelObjectiveRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateServiceLevelObjectiveRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -69,85 +52,73 @@ private UpdateServiceLevelObjectiveRequest( case 0: done = true; break; - case 10: - { - com.google.monitoring.v3.ServiceLevelObjective.Builder subBuilder = null; - if (serviceLevelObjective_ != null) { - subBuilder = serviceLevelObjective_.toBuilder(); - } - serviceLevelObjective_ = - input.readMessage( - com.google.monitoring.v3.ServiceLevelObjective.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(serviceLevelObjective_); - serviceLevelObjective_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.monitoring.v3.ServiceLevelObjective.Builder subBuilder = null; + if (serviceLevelObjective_ != null) { + subBuilder = serviceLevelObjective_.toBuilder(); + } + serviceLevelObjective_ = input.readMessage(com.google.monitoring.v3.ServiceLevelObjective.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(serviceLevelObjective_); + serviceLevelObjective_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_UpdateServiceLevelObjectiveRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_UpdateServiceLevelObjectiveRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_UpdateServiceLevelObjectiveRequest_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_UpdateServiceLevelObjectiveRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest.class, - com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest.Builder.class); + com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest.class, com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest.Builder.class); } public static final int SERVICE_LEVEL_OBJECTIVE_FIELD_NUMBER = 1; private com.google.monitoring.v3.ServiceLevelObjective serviceLevelObjective_; /** - * - * *
    * Required. The `ServiceLevelObjective` to draw updates from.
    * The given `name` specifies the resource to update.
    * 
* - * - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the serviceLevelObjective field is set. */ @java.lang.Override @@ -155,54 +126,39 @@ public boolean hasServiceLevelObjective() { return serviceLevelObjective_ != null; } /** - * - * *
    * Required. The `ServiceLevelObjective` to draw updates from.
    * The given `name` specifies the resource to update.
    * 
* - * - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The serviceLevelObjective. */ @java.lang.Override public com.google.monitoring.v3.ServiceLevelObjective getServiceLevelObjective() { - return serviceLevelObjective_ == null - ? com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance() - : serviceLevelObjective_; + return serviceLevelObjective_ == null ? com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance() : serviceLevelObjective_; } /** - * - * *
    * Required. The `ServiceLevelObjective` to draw updates from.
    * The given `name` specifies the resource to update.
    * 
* - * - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder - getServiceLevelObjectiveOrBuilder() { + public com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder getServiceLevelObjectiveOrBuilder() { return getServiceLevelObjective(); } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * A set of field paths defining which fields to use for the update.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -210,14 +166,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * A set of field paths defining which fields to use for the update.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -225,8 +178,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * A set of field paths defining which fields to use for the update.
    * 
@@ -239,7 +190,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -251,7 +201,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 (serviceLevelObjective_ != null) { output.writeMessage(1, getServiceLevelObjective()); } @@ -268,11 +219,12 @@ public int getSerializedSize() { size = 0; if (serviceLevelObjective_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, getServiceLevelObjective()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getServiceLevelObjective()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -282,21 +234,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.monitoring.v3.UpdateServiceLevelObjectiveRequest)) { return super.equals(obj); } - com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest other = - (com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest) obj; + com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest other = (com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest) obj; if (hasServiceLevelObjective() != other.hasServiceLevelObjective()) return false; if (hasServiceLevelObjective()) { - if (!getServiceLevelObjective().equals(other.getServiceLevelObjective())) return false; + if (!getServiceLevelObjective() + .equals(other.getServiceLevelObjective())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -323,127 +276,117 @@ public int hashCode() { } public static com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest prototype) { + public static Builder newBuilder(com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 `UpdateServiceLevelObjective` request.
    * 
* * Protobuf type {@code google.monitoring.v3.UpdateServiceLevelObjectiveRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.UpdateServiceLevelObjectiveRequest) com.google.monitoring.v3.UpdateServiceLevelObjectiveRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_UpdateServiceLevelObjectiveRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_UpdateServiceLevelObjectiveRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_UpdateServiceLevelObjectiveRequest_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_UpdateServiceLevelObjectiveRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest.class, - com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest.Builder.class); + com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest.class, com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest.Builder.class); } // Construct using com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest.newBuilder() @@ -451,15 +394,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -479,9 +423,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_UpdateServiceLevelObjectiveRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_UpdateServiceLevelObjectiveRequest_descriptor; } @java.lang.Override @@ -500,8 +444,7 @@ public com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest build() { @java.lang.Override public com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest buildPartial() { - com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest result = - new com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest(this); + com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest result = new com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest(this); if (serviceLevelObjectiveBuilder_ == null) { result.serviceLevelObjective_ = serviceLevelObjective_; } else { @@ -520,39 +463,38 @@ public com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest 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.monitoring.v3.UpdateServiceLevelObjectiveRequest) { - return mergeFrom((com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest) other); + return mergeFrom((com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest)other); } else { super.mergeFrom(other); return this; @@ -560,8 +502,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest other) { - if (other == com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest.getDefaultInstance()) return this; if (other.hasServiceLevelObjective()) { mergeServiceLevelObjective(other.getServiceLevelObjective()); } @@ -587,8 +528,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -600,61 +540,42 @@ public Builder mergeFrom( private com.google.monitoring.v3.ServiceLevelObjective serviceLevelObjective_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.ServiceLevelObjective, - com.google.monitoring.v3.ServiceLevelObjective.Builder, - com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder> - serviceLevelObjectiveBuilder_; + com.google.monitoring.v3.ServiceLevelObjective, com.google.monitoring.v3.ServiceLevelObjective.Builder, com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder> serviceLevelObjectiveBuilder_; /** - * - * *
      * Required. The `ServiceLevelObjective` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the serviceLevelObjective field is set. */ public boolean hasServiceLevelObjective() { return serviceLevelObjectiveBuilder_ != null || serviceLevelObjective_ != null; } /** - * - * *
      * Required. The `ServiceLevelObjective` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The serviceLevelObjective. */ public com.google.monitoring.v3.ServiceLevelObjective getServiceLevelObjective() { if (serviceLevelObjectiveBuilder_ == null) { - return serviceLevelObjective_ == null - ? com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance() - : serviceLevelObjective_; + return serviceLevelObjective_ == null ? com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance() : serviceLevelObjective_; } else { return serviceLevelObjectiveBuilder_.getMessage(); } } /** - * - * *
      * Required. The `ServiceLevelObjective` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setServiceLevelObjective(com.google.monitoring.v3.ServiceLevelObjective value) { if (serviceLevelObjectiveBuilder_ == null) { @@ -670,16 +591,12 @@ public Builder setServiceLevelObjective(com.google.monitoring.v3.ServiceLevelObj return this; } /** - * - * *
      * Required. The `ServiceLevelObjective` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setServiceLevelObjective( com.google.monitoring.v3.ServiceLevelObjective.Builder builderForValue) { @@ -693,25 +610,18 @@ public Builder setServiceLevelObjective( return this; } /** - * - * *
      * Required. The `ServiceLevelObjective` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeServiceLevelObjective( - com.google.monitoring.v3.ServiceLevelObjective value) { + public Builder mergeServiceLevelObjective(com.google.monitoring.v3.ServiceLevelObjective value) { if (serviceLevelObjectiveBuilder_ == null) { if (serviceLevelObjective_ != null) { serviceLevelObjective_ = - com.google.monitoring.v3.ServiceLevelObjective.newBuilder(serviceLevelObjective_) - .mergeFrom(value) - .buildPartial(); + com.google.monitoring.v3.ServiceLevelObjective.newBuilder(serviceLevelObjective_).mergeFrom(value).buildPartial(); } else { serviceLevelObjective_ = value; } @@ -723,16 +633,12 @@ public Builder mergeServiceLevelObjective( return this; } /** - * - * *
      * Required. The `ServiceLevelObjective` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearServiceLevelObjective() { if (serviceLevelObjectiveBuilder_ == null) { @@ -746,69 +652,51 @@ public Builder clearServiceLevelObjective() { return this; } /** - * - * *
      * Required. The `ServiceLevelObjective` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.monitoring.v3.ServiceLevelObjective.Builder - getServiceLevelObjectiveBuilder() { - + public com.google.monitoring.v3.ServiceLevelObjective.Builder getServiceLevelObjectiveBuilder() { + onChanged(); return getServiceLevelObjectiveFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The `ServiceLevelObjective` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder - getServiceLevelObjectiveOrBuilder() { + public com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder getServiceLevelObjectiveOrBuilder() { if (serviceLevelObjectiveBuilder_ != null) { return serviceLevelObjectiveBuilder_.getMessageOrBuilder(); } else { - return serviceLevelObjective_ == null - ? com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance() - : serviceLevelObjective_; + return serviceLevelObjective_ == null ? + com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance() : serviceLevelObjective_; } } /** - * - * *
      * Required. The `ServiceLevelObjective` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.ServiceLevelObjective, - com.google.monitoring.v3.ServiceLevelObjective.Builder, - com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder> + com.google.monitoring.v3.ServiceLevelObjective, com.google.monitoring.v3.ServiceLevelObjective.Builder, com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder> getServiceLevelObjectiveFieldBuilder() { if (serviceLevelObjectiveBuilder_ == null) { - serviceLevelObjectiveBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.ServiceLevelObjective, - com.google.monitoring.v3.ServiceLevelObjective.Builder, - com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder>( - getServiceLevelObjective(), getParentForChildren(), isClean()); + serviceLevelObjectiveBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.ServiceLevelObjective, com.google.monitoring.v3.ServiceLevelObjective.Builder, com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder>( + getServiceLevelObjective(), + getParentForChildren(), + isClean()); serviceLevelObjective_ = null; } return serviceLevelObjectiveBuilder_; @@ -816,47 +704,34 @@ public Builder clearServiceLevelObjective() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * A set of field paths defining which fields to use for the update.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * A set of field paths defining which fields to use for the update.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * A set of field paths defining which fields to use for the update.
      * 
@@ -877,15 +752,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * A set of field paths defining which fields to use for the update.
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -896,8 +770,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * A set of field paths defining which fields to use for the update.
      * 
@@ -908,7 +780,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -920,8 +792,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * A set of field paths defining which fields to use for the update.
      * 
@@ -940,8 +810,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * A set of field paths defining which fields to use for the update.
      * 
@@ -949,13 +817,11 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * A set of field paths defining which fields to use for the update.
      * 
@@ -966,14 +832,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * A set of field paths defining which fields to use for the update.
      * 
@@ -981,24 +844,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1008,12 +868,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.UpdateServiceLevelObjectiveRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.UpdateServiceLevelObjectiveRequest) private static final com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest(); } @@ -1022,16 +882,16 @@ public static com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateServiceLevelObjectiveRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateServiceLevelObjectiveRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateServiceLevelObjectiveRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateServiceLevelObjectiveRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1046,4 +906,6 @@ public com.google.protobuf.Parser getParserF public com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceLevelObjectiveRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceLevelObjectiveRequestOrBuilder.java similarity index 60% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceLevelObjectiveRequestOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceLevelObjectiveRequestOrBuilder.java index 5ff861b6..a4b20583 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceLevelObjectiveRequestOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceLevelObjectiveRequestOrBuilder.java @@ -1,99 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/service_service.proto package com.google.monitoring.v3; -public interface UpdateServiceLevelObjectiveRequestOrBuilder - extends +public interface UpdateServiceLevelObjectiveRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.UpdateServiceLevelObjectiveRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The `ServiceLevelObjective` to draw updates from.
    * The given `name` specifies the resource to update.
    * 
* - * - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the serviceLevelObjective field is set. */ boolean hasServiceLevelObjective(); /** - * - * *
    * Required. The `ServiceLevelObjective` to draw updates from.
    * The given `name` specifies the resource to update.
    * 
* - * - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The serviceLevelObjective. */ com.google.monitoring.v3.ServiceLevelObjective getServiceLevelObjective(); /** - * - * *
    * Required. The `ServiceLevelObjective` to draw updates from.
    * The given `name` specifies the resource to update.
    * 
* - * - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder getServiceLevelObjectiveOrBuilder(); /** - * - * *
    * A set of field paths defining which fields to use for the update.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * A set of field paths defining which fields to use for the update.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * A set of field paths defining which fields to use for the update.
    * 
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceRequest.java similarity index 71% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceRequest.java index 22ffae36..24993134 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/service_service.proto package com.google.monitoring.v3; /** - * - * *
  * The `UpdateService` request.
  * 
* * Protobuf type {@code google.monitoring.v3.UpdateServiceRequest} */ -public final class UpdateServiceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateServiceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.UpdateServiceRequest) UpdateServiceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateServiceRequest.newBuilder() to construct. private UpdateServiceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateServiceRequest() {} + private UpdateServiceRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateServiceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateServiceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,83 +52,73 @@ private UpdateServiceRequest( case 0: done = true; break; - case 10: - { - com.google.monitoring.v3.Service.Builder subBuilder = null; - if (service_ != null) { - subBuilder = service_.toBuilder(); - } - service_ = - input.readMessage(com.google.monitoring.v3.Service.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(service_); - service_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.monitoring.v3.Service.Builder subBuilder = null; + if (service_ != null) { + subBuilder = service_.toBuilder(); + } + service_ = input.readMessage(com.google.monitoring.v3.Service.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(service_); + service_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_UpdateServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_UpdateServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_UpdateServiceRequest_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_UpdateServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.UpdateServiceRequest.class, - com.google.monitoring.v3.UpdateServiceRequest.Builder.class); + com.google.monitoring.v3.UpdateServiceRequest.class, com.google.monitoring.v3.UpdateServiceRequest.Builder.class); } public static final int SERVICE_FIELD_NUMBER = 1; private com.google.monitoring.v3.Service service_; /** - * - * *
    * Required. The `Service` to draw updates from.
    * The given `name` specifies the resource to update.
    * 
* - * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the service field is set. */ @java.lang.Override @@ -152,16 +126,12 @@ public boolean hasService() { return service_ != null; } /** - * - * *
    * Required. The `Service` to draw updates from.
    * The given `name` specifies the resource to update.
    * 
* - * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The service. */ @java.lang.Override @@ -169,15 +139,12 @@ public com.google.monitoring.v3.Service getService() { return service_ == null ? com.google.monitoring.v3.Service.getDefaultInstance() : service_; } /** - * - * *
    * Required. The `Service` to draw updates from.
    * The given `name` specifies the resource to update.
    * 
* - * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.monitoring.v3.ServiceOrBuilder getServiceOrBuilder() { @@ -187,14 +154,11 @@ public com.google.monitoring.v3.ServiceOrBuilder getServiceOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * A set of field paths defining which fields to use for the update.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -202,14 +166,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * A set of field paths defining which fields to use for the update.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -217,8 +178,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * A set of field paths defining which fields to use for the update.
    * 
@@ -231,7 +190,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -243,7 +201,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()); } @@ -260,10 +219,12 @@ public int getSerializedSize() { size = 0; if (service_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getService()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getService()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -273,21 +234,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.monitoring.v3.UpdateServiceRequest)) { return super.equals(obj); } - com.google.monitoring.v3.UpdateServiceRequest other = - (com.google.monitoring.v3.UpdateServiceRequest) obj; + com.google.monitoring.v3.UpdateServiceRequest other = (com.google.monitoring.v3.UpdateServiceRequest) obj; if (hasService() != other.hasService()) return false; if (hasService()) { - if (!getService().equals(other.getService())) return false; + if (!getService() + .equals(other.getService())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -313,127 +275,118 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.UpdateServiceRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.UpdateServiceRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.UpdateServiceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.UpdateServiceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.UpdateServiceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.UpdateServiceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.UpdateServiceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.UpdateServiceRequest 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.monitoring.v3.UpdateServiceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.UpdateServiceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.UpdateServiceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.UpdateServiceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.UpdateServiceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.UpdateServiceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.UpdateServiceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 `UpdateService` request.
    * 
* * Protobuf type {@code google.monitoring.v3.UpdateServiceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.UpdateServiceRequest) com.google.monitoring.v3.UpdateServiceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_UpdateServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_UpdateServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_UpdateServiceRequest_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_UpdateServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.UpdateServiceRequest.class, - com.google.monitoring.v3.UpdateServiceRequest.Builder.class); + com.google.monitoring.v3.UpdateServiceRequest.class, com.google.monitoring.v3.UpdateServiceRequest.Builder.class); } // Construct using com.google.monitoring.v3.UpdateServiceRequest.newBuilder() @@ -441,15 +394,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -469,9 +423,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto - .internal_static_google_monitoring_v3_UpdateServiceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_UpdateServiceRequest_descriptor; } @java.lang.Override @@ -490,8 +444,7 @@ public com.google.monitoring.v3.UpdateServiceRequest build() { @java.lang.Override public com.google.monitoring.v3.UpdateServiceRequest buildPartial() { - com.google.monitoring.v3.UpdateServiceRequest result = - new com.google.monitoring.v3.UpdateServiceRequest(this); + com.google.monitoring.v3.UpdateServiceRequest result = new com.google.monitoring.v3.UpdateServiceRequest(this); if (serviceBuilder_ == null) { result.service_ = service_; } else { @@ -510,39 +463,38 @@ public com.google.monitoring.v3.UpdateServiceRequest 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.monitoring.v3.UpdateServiceRequest) { - return mergeFrom((com.google.monitoring.v3.UpdateServiceRequest) other); + return mergeFrom((com.google.monitoring.v3.UpdateServiceRequest)other); } else { super.mergeFrom(other); return this; @@ -588,37 +540,26 @@ public Builder mergeFrom( private com.google.monitoring.v3.Service service_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service, - com.google.monitoring.v3.Service.Builder, - com.google.monitoring.v3.ServiceOrBuilder> - serviceBuilder_; + com.google.monitoring.v3.Service, com.google.monitoring.v3.Service.Builder, com.google.monitoring.v3.ServiceOrBuilder> serviceBuilder_; /** - * - * *
      * Required. The `Service` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the service field is set. */ public boolean hasService() { return serviceBuilder_ != null || service_ != null; } /** - * - * *
      * Required. The `Service` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The service. */ public com.google.monitoring.v3.Service getService() { @@ -629,15 +570,12 @@ public com.google.monitoring.v3.Service getService() { } } /** - * - * *
      * Required. The `Service` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setService(com.google.monitoring.v3.Service value) { if (serviceBuilder_ == null) { @@ -653,17 +591,15 @@ public Builder setService(com.google.monitoring.v3.Service value) { return this; } /** - * - * *
      * Required. The `Service` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setService(com.google.monitoring.v3.Service.Builder builderForValue) { + public Builder setService( + com.google.monitoring.v3.Service.Builder builderForValue) { if (serviceBuilder_ == null) { service_ = builderForValue.build(); onChanged(); @@ -674,21 +610,18 @@ public Builder setService(com.google.monitoring.v3.Service.Builder builderForVal return this; } /** - * - * *
      * Required. The `Service` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeService(com.google.monitoring.v3.Service value) { if (serviceBuilder_ == null) { if (service_ != null) { service_ = - com.google.monitoring.v3.Service.newBuilder(service_).mergeFrom(value).buildPartial(); + com.google.monitoring.v3.Service.newBuilder(service_).mergeFrom(value).buildPartial(); } else { service_ = value; } @@ -700,15 +633,12 @@ public Builder mergeService(com.google.monitoring.v3.Service value) { return this; } /** - * - * *
      * Required. The `Service` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearService() { if (serviceBuilder_ == null) { @@ -722,62 +652,51 @@ public Builder clearService() { return this; } /** - * - * *
      * Required. The `Service` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.monitoring.v3.Service.Builder getServiceBuilder() { - + onChanged(); return getServiceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The `Service` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.monitoring.v3.ServiceOrBuilder getServiceOrBuilder() { if (serviceBuilder_ != null) { return serviceBuilder_.getMessageOrBuilder(); } else { - return service_ == null ? com.google.monitoring.v3.Service.getDefaultInstance() : service_; + return service_ == null ? + com.google.monitoring.v3.Service.getDefaultInstance() : service_; } } /** - * - * *
      * Required. The `Service` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service, - com.google.monitoring.v3.Service.Builder, - com.google.monitoring.v3.ServiceOrBuilder> + com.google.monitoring.v3.Service, com.google.monitoring.v3.Service.Builder, com.google.monitoring.v3.ServiceOrBuilder> getServiceFieldBuilder() { if (serviceBuilder_ == null) { - serviceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service, - com.google.monitoring.v3.Service.Builder, - com.google.monitoring.v3.ServiceOrBuilder>( - getService(), getParentForChildren(), isClean()); + serviceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.Service, com.google.monitoring.v3.Service.Builder, com.google.monitoring.v3.ServiceOrBuilder>( + getService(), + getParentForChildren(), + isClean()); service_ = null; } return serviceBuilder_; @@ -785,47 +704,34 @@ public com.google.monitoring.v3.ServiceOrBuilder getServiceOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * A set of field paths defining which fields to use for the update.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * A set of field paths defining which fields to use for the update.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * A set of field paths defining which fields to use for the update.
      * 
@@ -846,15 +752,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * A set of field paths defining which fields to use for the update.
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -865,8 +770,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * A set of field paths defining which fields to use for the update.
      * 
@@ -877,7 +780,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -889,8 +792,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * A set of field paths defining which fields to use for the update.
      * 
@@ -909,8 +810,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * A set of field paths defining which fields to use for the update.
      * 
@@ -918,13 +817,11 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * A set of field paths defining which fields to use for the update.
      * 
@@ -935,14 +832,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * A set of field paths defining which fields to use for the update.
      * 
@@ -950,24 +844,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -977,12 +868,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.UpdateServiceRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.UpdateServiceRequest) private static final com.google.monitoring.v3.UpdateServiceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.UpdateServiceRequest(); } @@ -991,16 +882,16 @@ public static com.google.monitoring.v3.UpdateServiceRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateServiceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateServiceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateServiceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateServiceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1015,4 +906,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.UpdateServiceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceRequestOrBuilder.java similarity index 68% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceRequestOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceRequestOrBuilder.java index aae850cd..18152641 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceRequestOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceRequestOrBuilder.java @@ -1,96 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/service_service.proto package com.google.monitoring.v3; -public interface UpdateServiceRequestOrBuilder - extends +public interface UpdateServiceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.UpdateServiceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The `Service` to draw updates from.
    * The given `name` specifies the resource to update.
    * 
* - * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the service field is set. */ boolean hasService(); /** - * - * *
    * Required. The `Service` to draw updates from.
    * The given `name` specifies the resource to update.
    * 
* - * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The service. */ com.google.monitoring.v3.Service getService(); /** - * - * *
    * Required. The `Service` to draw updates from.
    * The given `name` specifies the resource to update.
    * 
* - * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.monitoring.v3.ServiceOrBuilder getServiceOrBuilder(); /** - * - * *
    * A set of field paths defining which fields to use for the update.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * A set of field paths defining which fields to use for the update.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * A set of field paths defining which fields to use for the update.
    * 
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateUptimeCheckConfigRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateUptimeCheckConfigRequest.java similarity index 72% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateUptimeCheckConfigRequest.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateUptimeCheckConfigRequest.java index dc9ac054..7cef21d6 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateUptimeCheckConfigRequest.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateUptimeCheckConfigRequest.java @@ -1,56 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/uptime_service.proto package com.google.monitoring.v3; /** - * - * *
  * The protocol for the `UpdateUptimeCheckConfig` request.
  * 
* * Protobuf type {@code google.monitoring.v3.UpdateUptimeCheckConfigRequest} */ -public final class UpdateUptimeCheckConfigRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateUptimeCheckConfigRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.UpdateUptimeCheckConfigRequest) UpdateUptimeCheckConfigRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateUptimeCheckConfigRequest.newBuilder() to construct. - private UpdateUptimeCheckConfigRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateUptimeCheckConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateUptimeCheckConfigRequest() {} + private UpdateUptimeCheckConfigRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateUptimeCheckConfigRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateUptimeCheckConfigRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -69,76 +52,67 @@ private UpdateUptimeCheckConfigRequest( case 0: done = true; break; - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - - break; + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } - case 26: - { - com.google.monitoring.v3.UptimeCheckConfig.Builder subBuilder = null; - if (uptimeCheckConfig_ != null) { - subBuilder = uptimeCheckConfig_.toBuilder(); - } - uptimeCheckConfig_ = - input.readMessage( - com.google.monitoring.v3.UptimeCheckConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(uptimeCheckConfig_); - uptimeCheckConfig_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.monitoring.v3.UptimeCheckConfig.Builder subBuilder = null; + if (uptimeCheckConfig_ != null) { + subBuilder = uptimeCheckConfig_.toBuilder(); + } + uptimeCheckConfig_ = input.readMessage(com.google.monitoring.v3.UptimeCheckConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(uptimeCheckConfig_); + uptimeCheckConfig_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.UptimeServiceProto - .internal_static_google_monitoring_v3_UpdateUptimeCheckConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_UpdateUptimeCheckConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.UptimeServiceProto - .internal_static_google_monitoring_v3_UpdateUptimeCheckConfigRequest_fieldAccessorTable + return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_UpdateUptimeCheckConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.UpdateUptimeCheckConfigRequest.class, - com.google.monitoring.v3.UpdateUptimeCheckConfigRequest.Builder.class); + com.google.monitoring.v3.UpdateUptimeCheckConfigRequest.class, com.google.monitoring.v3.UpdateUptimeCheckConfigRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Optional. If present, only the listed fields in the current Uptime check
    * configuration are updated with values from the new configuration. If this
@@ -147,7 +121,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -155,8 +128,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Optional. If present, only the listed fields in the current Uptime check
    * configuration are updated with values from the new configuration. If this
@@ -165,7 +136,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -173,8 +143,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Optional. If present, only the listed fields in the current Uptime check
    * configuration are updated with values from the new configuration. If this
@@ -192,8 +160,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   public static final int UPTIME_CHECK_CONFIG_FIELD_NUMBER = 3;
   private com.google.monitoring.v3.UptimeCheckConfig uptimeCheckConfig_;
   /**
-   *
-   *
    * 
    * Required. If an `updateMask` has been specified, this field gives
    * the values for the set of fields mentioned in the `updateMask`. If an
@@ -207,10 +173,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
    * `selected_regions`.
    * 
* - * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the uptimeCheckConfig field is set. */ @java.lang.Override @@ -218,8 +181,6 @@ public boolean hasUptimeCheckConfig() { return uptimeCheckConfig_ != null; } /** - * - * *
    * Required. If an `updateMask` has been specified, this field gives
    * the values for the set of fields mentioned in the `updateMask`. If an
@@ -233,21 +194,14 @@ public boolean hasUptimeCheckConfig() {
    * `selected_regions`.
    * 
* - * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The uptimeCheckConfig. */ @java.lang.Override public com.google.monitoring.v3.UptimeCheckConfig getUptimeCheckConfig() { - return uptimeCheckConfig_ == null - ? com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance() - : uptimeCheckConfig_; + return uptimeCheckConfig_ == null ? com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance() : uptimeCheckConfig_; } /** - * - * *
    * Required. If an `updateMask` has been specified, this field gives
    * the values for the set of fields mentioned in the `updateMask`. If an
@@ -261,9 +215,7 @@ public com.google.monitoring.v3.UptimeCheckConfig getUptimeCheckConfig() {
    * `selected_regions`.
    * 
* - * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigOrBuilder() { @@ -271,7 +223,6 @@ public com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigO } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -283,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 (updateMask_ != null) { output.writeMessage(2, getUpdateMask()); } @@ -300,10 +252,12 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } if (uptimeCheckConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUptimeCheckConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUptimeCheckConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -313,21 +267,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.monitoring.v3.UpdateUptimeCheckConfigRequest)) { return super.equals(obj); } - com.google.monitoring.v3.UpdateUptimeCheckConfigRequest other = - (com.google.monitoring.v3.UpdateUptimeCheckConfigRequest) obj; + com.google.monitoring.v3.UpdateUptimeCheckConfigRequest other = (com.google.monitoring.v3.UpdateUptimeCheckConfigRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (hasUptimeCheckConfig() != other.hasUptimeCheckConfig()) return false; if (hasUptimeCheckConfig()) { - if (!getUptimeCheckConfig().equals(other.getUptimeCheckConfig())) return false; + if (!getUptimeCheckConfig() + .equals(other.getUptimeCheckConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -354,127 +309,117 @@ public int hashCode() { } public static com.google.monitoring.v3.UpdateUptimeCheckConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.UpdateUptimeCheckConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.UpdateUptimeCheckConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.UpdateUptimeCheckConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.UpdateUptimeCheckConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.UpdateUptimeCheckConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.UpdateUptimeCheckConfigRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.UpdateUptimeCheckConfigRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.UpdateUptimeCheckConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.UpdateUptimeCheckConfigRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.UpdateUptimeCheckConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.UpdateUptimeCheckConfigRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.UpdateUptimeCheckConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.UpdateUptimeCheckConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.UpdateUptimeCheckConfigRequest prototype) { + public static Builder newBuilder(com.google.monitoring.v3.UpdateUptimeCheckConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 protocol for the `UpdateUptimeCheckConfig` request.
    * 
* * Protobuf type {@code google.monitoring.v3.UpdateUptimeCheckConfigRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.UpdateUptimeCheckConfigRequest) com.google.monitoring.v3.UpdateUptimeCheckConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.UptimeServiceProto - .internal_static_google_monitoring_v3_UpdateUptimeCheckConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_UpdateUptimeCheckConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.UptimeServiceProto - .internal_static_google_monitoring_v3_UpdateUptimeCheckConfigRequest_fieldAccessorTable + return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_UpdateUptimeCheckConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.UpdateUptimeCheckConfigRequest.class, - com.google.monitoring.v3.UpdateUptimeCheckConfigRequest.Builder.class); + com.google.monitoring.v3.UpdateUptimeCheckConfigRequest.class, com.google.monitoring.v3.UpdateUptimeCheckConfigRequest.Builder.class); } // Construct using com.google.monitoring.v3.UpdateUptimeCheckConfigRequest.newBuilder() @@ -482,15 +427,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -510,9 +456,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.UptimeServiceProto - .internal_static_google_monitoring_v3_UpdateUptimeCheckConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_UpdateUptimeCheckConfigRequest_descriptor; } @java.lang.Override @@ -531,8 +477,7 @@ public com.google.monitoring.v3.UpdateUptimeCheckConfigRequest build() { @java.lang.Override public com.google.monitoring.v3.UpdateUptimeCheckConfigRequest buildPartial() { - com.google.monitoring.v3.UpdateUptimeCheckConfigRequest result = - new com.google.monitoring.v3.UpdateUptimeCheckConfigRequest(this); + com.google.monitoring.v3.UpdateUptimeCheckConfigRequest result = new com.google.monitoring.v3.UpdateUptimeCheckConfigRequest(this); if (updateMaskBuilder_ == null) { result.updateMask_ = updateMask_; } else { @@ -551,39 +496,38 @@ public com.google.monitoring.v3.UpdateUptimeCheckConfigRequest 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.monitoring.v3.UpdateUptimeCheckConfigRequest) { - return mergeFrom((com.google.monitoring.v3.UpdateUptimeCheckConfigRequest) other); + return mergeFrom((com.google.monitoring.v3.UpdateUptimeCheckConfigRequest)other); } else { super.mergeFrom(other); return this; @@ -591,8 +535,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.UpdateUptimeCheckConfigRequest other) { - if (other == com.google.monitoring.v3.UpdateUptimeCheckConfigRequest.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.UpdateUptimeCheckConfigRequest.getDefaultInstance()) return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -618,8 +561,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.UpdateUptimeCheckConfigRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.UpdateUptimeCheckConfigRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -631,13 +573,8 @@ public Builder mergeFrom( private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Optional. If present, only the listed fields in the current Uptime check
      * configuration are updated with values from the new configuration. If this
@@ -646,15 +583,12 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Optional. If present, only the listed fields in the current Uptime check
      * configuration are updated with values from the new configuration. If this
@@ -663,21 +597,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Optional. If present, only the listed fields in the current Uptime check
      * configuration are updated with values from the new configuration. If this
@@ -701,8 +630,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. If present, only the listed fields in the current Uptime check
      * configuration are updated with values from the new configuration. If this
@@ -712,7 +639,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -723,8 +651,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. If present, only the listed fields in the current Uptime check
      * configuration are updated with values from the new configuration. If this
@@ -738,7 +664,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -750,8 +676,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. If present, only the listed fields in the current Uptime check
      * configuration are updated with values from the new configuration. If this
@@ -773,8 +697,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. If present, only the listed fields in the current Uptime check
      * configuration are updated with values from the new configuration. If this
@@ -785,13 +707,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Optional. If present, only the listed fields in the current Uptime check
      * configuration are updated with values from the new configuration. If this
@@ -805,14 +725,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * Optional. If present, only the listed fields in the current Uptime check
      * configuration are updated with values from the new configuration. If this
@@ -823,17 +740,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
@@ -841,13 +755,8 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
 
     private com.google.monitoring.v3.UptimeCheckConfig uptimeCheckConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.UptimeCheckConfig,
-            com.google.monitoring.v3.UptimeCheckConfig.Builder,
-            com.google.monitoring.v3.UptimeCheckConfigOrBuilder>
-        uptimeCheckConfigBuilder_;
+        com.google.monitoring.v3.UptimeCheckConfig, com.google.monitoring.v3.UptimeCheckConfig.Builder, com.google.monitoring.v3.UptimeCheckConfigOrBuilder> uptimeCheckConfigBuilder_;
     /**
-     *
-     *
      * 
      * Required. If an `updateMask` has been specified, this field gives
      * the values for the set of fields mentioned in the `updateMask`. If an
@@ -861,18 +770,13 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * `selected_regions`.
      * 
* - * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the uptimeCheckConfig field is set. */ public boolean hasUptimeCheckConfig() { return uptimeCheckConfigBuilder_ != null || uptimeCheckConfig_ != null; } /** - * - * *
      * Required. If an `updateMask` has been specified, this field gives
      * the values for the set of fields mentioned in the `updateMask`. If an
@@ -886,24 +790,17 @@ public boolean hasUptimeCheckConfig() {
      * `selected_regions`.
      * 
* - * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The uptimeCheckConfig. */ public com.google.monitoring.v3.UptimeCheckConfig getUptimeCheckConfig() { if (uptimeCheckConfigBuilder_ == null) { - return uptimeCheckConfig_ == null - ? com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance() - : uptimeCheckConfig_; + return uptimeCheckConfig_ == null ? com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance() : uptimeCheckConfig_; } else { return uptimeCheckConfigBuilder_.getMessage(); } } /** - * - * *
      * Required. If an `updateMask` has been specified, this field gives
      * the values for the set of fields mentioned in the `updateMask`. If an
@@ -917,9 +814,7 @@ public com.google.monitoring.v3.UptimeCheckConfig getUptimeCheckConfig() {
      * `selected_regions`.
      * 
* - * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUptimeCheckConfig(com.google.monitoring.v3.UptimeCheckConfig value) { if (uptimeCheckConfigBuilder_ == null) { @@ -935,8 +830,6 @@ public Builder setUptimeCheckConfig(com.google.monitoring.v3.UptimeCheckConfig v return this; } /** - * - * *
      * Required. If an `updateMask` has been specified, this field gives
      * the values for the set of fields mentioned in the `updateMask`. If an
@@ -950,9 +843,7 @@ public Builder setUptimeCheckConfig(com.google.monitoring.v3.UptimeCheckConfig v
      * `selected_regions`.
      * 
* - * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUptimeCheckConfig( com.google.monitoring.v3.UptimeCheckConfig.Builder builderForValue) { @@ -966,8 +857,6 @@ public Builder setUptimeCheckConfig( return this; } /** - * - * *
      * Required. If an `updateMask` has been specified, this field gives
      * the values for the set of fields mentioned in the `updateMask`. If an
@@ -981,17 +870,13 @@ public Builder setUptimeCheckConfig(
      * `selected_regions`.
      * 
* - * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUptimeCheckConfig(com.google.monitoring.v3.UptimeCheckConfig value) { if (uptimeCheckConfigBuilder_ == null) { if (uptimeCheckConfig_ != null) { uptimeCheckConfig_ = - com.google.monitoring.v3.UptimeCheckConfig.newBuilder(uptimeCheckConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.monitoring.v3.UptimeCheckConfig.newBuilder(uptimeCheckConfig_).mergeFrom(value).buildPartial(); } else { uptimeCheckConfig_ = value; } @@ -1003,8 +888,6 @@ public Builder mergeUptimeCheckConfig(com.google.monitoring.v3.UptimeCheckConfig return this; } /** - * - * *
      * Required. If an `updateMask` has been specified, this field gives
      * the values for the set of fields mentioned in the `updateMask`. If an
@@ -1018,9 +901,7 @@ public Builder mergeUptimeCheckConfig(com.google.monitoring.v3.UptimeCheckConfig
      * `selected_regions`.
      * 
* - * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUptimeCheckConfig() { if (uptimeCheckConfigBuilder_ == null) { @@ -1034,8 +915,6 @@ public Builder clearUptimeCheckConfig() { return this; } /** - * - * *
      * Required. If an `updateMask` has been specified, this field gives
      * the values for the set of fields mentioned in the `updateMask`. If an
@@ -1049,18 +928,14 @@ public Builder clearUptimeCheckConfig() {
      * `selected_regions`.
      * 
* - * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.monitoring.v3.UptimeCheckConfig.Builder getUptimeCheckConfigBuilder() { - + onChanged(); return getUptimeCheckConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. If an `updateMask` has been specified, this field gives
      * the values for the set of fields mentioned in the `updateMask`. If an
@@ -1074,22 +949,17 @@ public com.google.monitoring.v3.UptimeCheckConfig.Builder getUptimeCheckConfigBu
      * `selected_regions`.
      * 
* - * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigOrBuilder() { if (uptimeCheckConfigBuilder_ != null) { return uptimeCheckConfigBuilder_.getMessageOrBuilder(); } else { - return uptimeCheckConfig_ == null - ? com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance() - : uptimeCheckConfig_; + return uptimeCheckConfig_ == null ? + com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance() : uptimeCheckConfig_; } } /** - * - * *
      * Required. If an `updateMask` has been specified, this field gives
      * the values for the set of fields mentioned in the `updateMask`. If an
@@ -1103,29 +973,24 @@ public com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigO
      * `selected_regions`.
      * 
* - * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig, - com.google.monitoring.v3.UptimeCheckConfig.Builder, - com.google.monitoring.v3.UptimeCheckConfigOrBuilder> + com.google.monitoring.v3.UptimeCheckConfig, com.google.monitoring.v3.UptimeCheckConfig.Builder, com.google.monitoring.v3.UptimeCheckConfigOrBuilder> getUptimeCheckConfigFieldBuilder() { if (uptimeCheckConfigBuilder_ == null) { - uptimeCheckConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig, - com.google.monitoring.v3.UptimeCheckConfig.Builder, - com.google.monitoring.v3.UptimeCheckConfigOrBuilder>( - getUptimeCheckConfig(), getParentForChildren(), isClean()); + uptimeCheckConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.UptimeCheckConfig, com.google.monitoring.v3.UptimeCheckConfig.Builder, com.google.monitoring.v3.UptimeCheckConfigOrBuilder>( + getUptimeCheckConfig(), + getParentForChildren(), + isClean()); uptimeCheckConfig_ = null; } return uptimeCheckConfigBuilder_; } - @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); } @@ -1135,12 +1000,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.UpdateUptimeCheckConfigRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.UpdateUptimeCheckConfigRequest) private static final com.google.monitoring.v3.UpdateUptimeCheckConfigRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.UpdateUptimeCheckConfigRequest(); } @@ -1149,16 +1014,16 @@ public static com.google.monitoring.v3.UpdateUptimeCheckConfigRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateUptimeCheckConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateUptimeCheckConfigRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateUptimeCheckConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateUptimeCheckConfigRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1173,4 +1038,6 @@ public com.google.protobuf.Parser getParserForTy public com.google.monitoring.v3.UpdateUptimeCheckConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateUptimeCheckConfigRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateUptimeCheckConfigRequestOrBuilder.java similarity index 77% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateUptimeCheckConfigRequestOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateUptimeCheckConfigRequestOrBuilder.java index f1e23340..87a1c212 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateUptimeCheckConfigRequestOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateUptimeCheckConfigRequestOrBuilder.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/monitoring/v3/uptime_service.proto package com.google.monitoring.v3; -public interface UpdateUptimeCheckConfigRequestOrBuilder - extends +public interface UpdateUptimeCheckConfigRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.UpdateUptimeCheckConfigRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optional. If present, only the listed fields in the current Uptime check
    * configuration are updated with values from the new configuration. If this
@@ -34,13 +16,10 @@ public interface UpdateUptimeCheckConfigRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Optional. If present, only the listed fields in the current Uptime check
    * configuration are updated with values from the new configuration. If this
@@ -49,13 +28,10 @@ public interface UpdateUptimeCheckConfigRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Optional. If present, only the listed fields in the current Uptime check
    * configuration are updated with values from the new configuration. If this
@@ -68,8 +44,6 @@ public interface UpdateUptimeCheckConfigRequestOrBuilder
   com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder();
 
   /**
-   *
-   *
    * 
    * Required. If an `updateMask` has been specified, this field gives
    * the values for the set of fields mentioned in the `updateMask`. If an
@@ -83,16 +57,11 @@ public interface UpdateUptimeCheckConfigRequestOrBuilder
    * `selected_regions`.
    * 
* - * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the uptimeCheckConfig field is set. */ boolean hasUptimeCheckConfig(); /** - * - * *
    * Required. If an `updateMask` has been specified, this field gives
    * the values for the set of fields mentioned in the `updateMask`. If an
@@ -106,16 +75,11 @@ public interface UpdateUptimeCheckConfigRequestOrBuilder
    * `selected_regions`.
    * 
* - * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The uptimeCheckConfig. */ com.google.monitoring.v3.UptimeCheckConfig getUptimeCheckConfig(); /** - * - * *
    * Required. If an `updateMask` has been specified, this field gives
    * the values for the set of fields mentioned in the `updateMask`. If an
@@ -129,9 +93,7 @@ public interface UpdateUptimeCheckConfigRequestOrBuilder
    * `selected_regions`.
    * 
* - * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigOrBuilder(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfig.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfig.java similarity index 74% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfig.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfig.java index 77ea5494..d84b79cf 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfig.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfig.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/monitoring/v3/uptime.proto package com.google.monitoring.v3; /** - * - * *
  * This message configures which resources and services to monitor for
  * availability.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.monitoring.v3.UptimeCheckConfig}
  */
-public final class UptimeCheckConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UptimeCheckConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.UptimeCheckConfig)
     UptimeCheckConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UptimeCheckConfig.newBuilder() to construct.
   private UptimeCheckConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private UptimeCheckConfig() {
     name_ = "";
     displayName_ = "";
@@ -48,15 +30,16 @@ private UptimeCheckConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UptimeCheckConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private UptimeCheckConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -76,193 +59,160 @@ private UptimeCheckConfig(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              displayName_ = s;
-              break;
+            displayName_ = s;
+            break;
+          }
+          case 26: {
+            com.google.api.MonitoredResource.Builder subBuilder = null;
+            if (resourceCase_ == 3) {
+              subBuilder = ((com.google.api.MonitoredResource) resource_).toBuilder();
             }
-          case 26:
-            {
-              com.google.api.MonitoredResource.Builder subBuilder = null;
-              if (resourceCase_ == 3) {
-                subBuilder = ((com.google.api.MonitoredResource) resource_).toBuilder();
-              }
-              resource_ =
-                  input.readMessage(com.google.api.MonitoredResource.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.api.MonitoredResource) resource_);
-                resource_ = subBuilder.buildPartial();
-              }
-              resourceCase_ = 3;
-              break;
+            resource_ =
+                input.readMessage(com.google.api.MonitoredResource.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.api.MonitoredResource) resource_);
+              resource_ = subBuilder.buildPartial();
             }
-          case 34:
-            {
-              com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.Builder subBuilder = null;
-              if (resourceCase_ == 4) {
-                subBuilder =
-                    ((com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup) resource_)
-                        .toBuilder();
-              }
-              resource_ =
-                  input.readMessage(
-                      com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup) resource_);
-                resource_ = subBuilder.buildPartial();
-              }
-              resourceCase_ = 4;
-              break;
+            resourceCase_ = 3;
+            break;
+          }
+          case 34: {
+            com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.Builder subBuilder = null;
+            if (resourceCase_ == 4) {
+              subBuilder = ((com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup) resource_).toBuilder();
             }
-          case 42:
-            {
-              com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.Builder subBuilder = null;
-              if (checkRequestTypeCase_ == 5) {
-                subBuilder =
-                    ((com.google.monitoring.v3.UptimeCheckConfig.HttpCheck) checkRequestType_)
-                        .toBuilder();
-              }
-              checkRequestType_ =
-                  input.readMessage(
-                      com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.monitoring.v3.UptimeCheckConfig.HttpCheck) checkRequestType_);
-                checkRequestType_ = subBuilder.buildPartial();
-              }
-              checkRequestTypeCase_ = 5;
-              break;
+            resource_ =
+                input.readMessage(com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup) resource_);
+              resource_ = subBuilder.buildPartial();
             }
-          case 50:
-            {
-              com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.Builder subBuilder = null;
-              if (checkRequestTypeCase_ == 6) {
-                subBuilder =
-                    ((com.google.monitoring.v3.UptimeCheckConfig.TcpCheck) checkRequestType_)
-                        .toBuilder();
-              }
-              checkRequestType_ =
-                  input.readMessage(
-                      com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.monitoring.v3.UptimeCheckConfig.TcpCheck) checkRequestType_);
-                checkRequestType_ = subBuilder.buildPartial();
-              }
-              checkRequestTypeCase_ = 6;
-              break;
+            resourceCase_ = 4;
+            break;
+          }
+          case 42: {
+            com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.Builder subBuilder = null;
+            if (checkRequestTypeCase_ == 5) {
+              subBuilder = ((com.google.monitoring.v3.UptimeCheckConfig.HttpCheck) checkRequestType_).toBuilder();
+            }
+            checkRequestType_ =
+                input.readMessage(com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.monitoring.v3.UptimeCheckConfig.HttpCheck) checkRequestType_);
+              checkRequestType_ = subBuilder.buildPartial();
+            }
+            checkRequestTypeCase_ = 5;
+            break;
+          }
+          case 50: {
+            com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.Builder subBuilder = null;
+            if (checkRequestTypeCase_ == 6) {
+              subBuilder = ((com.google.monitoring.v3.UptimeCheckConfig.TcpCheck) checkRequestType_).toBuilder();
+            }
+            checkRequestType_ =
+                input.readMessage(com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.monitoring.v3.UptimeCheckConfig.TcpCheck) checkRequestType_);
+              checkRequestType_ = subBuilder.buildPartial();
+            }
+            checkRequestTypeCase_ = 6;
+            break;
+          }
+          case 58: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (period_ != null) {
+              subBuilder = period_.toBuilder();
+            }
+            period_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(period_);
+              period_ = subBuilder.buildPartial();
             }
-          case 58:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (period_ != null) {
-                subBuilder = period_.toBuilder();
-              }
-              period_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(period_);
-                period_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 66: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (timeout_ != null) {
+              subBuilder = timeout_.toBuilder();
+            }
+            timeout_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(timeout_);
+              timeout_ = subBuilder.buildPartial();
             }
-          case 66:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (timeout_ != null) {
-                subBuilder = timeout_.toBuilder();
-              }
-              timeout_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(timeout_);
-                timeout_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 74: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              contentMatchers_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 74:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                contentMatchers_ =
-                    new java.util.ArrayList<
-                        com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              contentMatchers_.add(
-                  input.readMessage(
-                      com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.parser(),
-                      extensionRegistry));
-              break;
+            contentMatchers_.add(
+                input.readMessage(com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.parser(), extensionRegistry));
+            break;
+          }
+          case 80: {
+            int rawValue = input.readEnum();
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              selectedRegions_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000002;
             }
-          case 80:
-            {
+            selectedRegions_.add(rawValue);
+            break;
+          }
+          case 82: {
+            int length = input.readRawVarint32();
+            int oldLimit = input.pushLimit(length);
+            while(input.getBytesUntilLimit() > 0) {
               int rawValue = input.readEnum();
               if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                 selectedRegions_ = new java.util.ArrayList();
                 mutable_bitField0_ |= 0x00000002;
               }
               selectedRegions_.add(rawValue);
-              break;
             }
-          case 82:
-            {
-              int length = input.readRawVarint32();
-              int oldLimit = input.pushLimit(length);
-              while (input.getBytesUntilLimit() > 0) {
-                int rawValue = input.readEnum();
-                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                  selectedRegions_ = new java.util.ArrayList();
-                  mutable_bitField0_ |= 0x00000002;
-                }
-                selectedRegions_.add(rawValue);
-              }
-              input.popLimit(oldLimit);
-              break;
-            }
-          case 114:
-            {
-              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                internalCheckers_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000004;
-              }
-              internalCheckers_.add(
-                  input.readMessage(
-                      com.google.monitoring.v3.InternalChecker.parser(), extensionRegistry));
-              break;
-            }
-          case 120:
-            {
-              isInternal_ = input.readBool();
-              break;
+            input.popLimit(oldLimit);
+            break;
+          }
+          case 114: {
+            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+              internalCheckers_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000004;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            internalCheckers_.add(
+                input.readMessage(com.google.monitoring.v3.InternalChecker.parser(), extensionRegistry));
+            break;
+          }
+          case 120: {
+
+            isInternal_ = input.readBool();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         contentMatchers_ = java.util.Collections.unmodifiableList(contentMatchers_);
@@ -277,30 +227,24 @@ private UptimeCheckConfig(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.monitoring.v3.UptimeProto
-        .internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.monitoring.v3.UptimeProto
-        .internal_static_google_monitoring_v3_UptimeCheckConfig_fieldAccessorTable
+    return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.UptimeCheckConfig.class,
-            com.google.monitoring.v3.UptimeCheckConfig.Builder.class);
+            com.google.monitoring.v3.UptimeCheckConfig.class, com.google.monitoring.v3.UptimeCheckConfig.Builder.class);
   }
 
-  public interface ResourceGroupOrBuilder
-      extends
+  public interface ResourceGroupOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.monitoring.v3.UptimeCheckConfig.ResourceGroup)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The group of resources being monitored. Should be only the `[GROUP_ID]`,
      * and not the full-path
@@ -308,13 +252,10 @@ public interface ResourceGroupOrBuilder
      * 
* * string group_id = 1; - * * @return The groupId. */ java.lang.String getGroupId(); /** - * - * *
      * The group of resources being monitored. Should be only the `[GROUP_ID]`,
      * and not the full-path
@@ -322,39 +263,31 @@ public interface ResourceGroupOrBuilder
      * 
* * string group_id = 1; - * * @return The bytes for groupId. */ - com.google.protobuf.ByteString getGroupIdBytes(); + com.google.protobuf.ByteString + getGroupIdBytes(); /** - * - * *
      * The resource type of the group members.
      * 
* * .google.monitoring.v3.GroupResourceType resource_type = 2; - * * @return The enum numeric value on the wire for resourceType. */ int getResourceTypeValue(); /** - * - * *
      * The resource type of the group members.
      * 
* * .google.monitoring.v3.GroupResourceType resource_type = 2; - * * @return The resourceType. */ com.google.monitoring.v3.GroupResourceType getResourceType(); } /** - * - * *
    * The resource submessage for group checks. It can be used instead of a
    * monitored resource, when multiple resources are being monitored.
@@ -362,16 +295,15 @@ public interface ResourceGroupOrBuilder
    *
    * Protobuf type {@code google.monitoring.v3.UptimeCheckConfig.ResourceGroup}
    */
-  public static final class ResourceGroup extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class ResourceGroup extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.monitoring.v3.UptimeCheckConfig.ResourceGroup)
       ResourceGroupOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use ResourceGroup.newBuilder() to construct.
     private ResourceGroup(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private ResourceGroup() {
       groupId_ = "";
       resourceType_ = 0;
@@ -379,15 +311,16 @@ private ResourceGroup() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new ResourceGroup();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private ResourceGroup(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -406,59 +339,53 @@ private ResourceGroup(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                groupId_ = s;
-                break;
-              }
-            case 16:
-              {
-                int rawValue = input.readEnum();
+              groupId_ = s;
+              break;
+            }
+            case 16: {
+              int rawValue = input.readEnum();
 
-                resourceType_ = rawValue;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              resourceType_ = rawValue;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.monitoring.v3.UptimeProto
-          .internal_static_google_monitoring_v3_UptimeCheckConfig_ResourceGroup_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_ResourceGroup_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.UptimeProto
-          .internal_static_google_monitoring_v3_UptimeCheckConfig_ResourceGroup_fieldAccessorTable
+      return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_ResourceGroup_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.class,
-              com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.Builder.class);
+              com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.class, com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.Builder.class);
     }
 
     public static final int GROUP_ID_FIELD_NUMBER = 1;
     private volatile java.lang.Object groupId_;
     /**
-     *
-     *
      * 
      * The group of resources being monitored. Should be only the `[GROUP_ID]`,
      * and not the full-path
@@ -466,7 +393,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string group_id = 1; - * * @return The groupId. */ @java.lang.Override @@ -475,15 +401,14 @@ public java.lang.String getGroupId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); groupId_ = s; return s; } } /** - * - * *
      * The group of resources being monitored. Should be only the `[GROUP_ID]`,
      * and not the full-path
@@ -491,15 +416,16 @@ public java.lang.String getGroupId() {
      * 
* * string group_id = 1; - * * @return The bytes for groupId. */ @java.lang.Override - public com.google.protobuf.ByteString getGroupIdBytes() { + public com.google.protobuf.ByteString + getGroupIdBytes() { java.lang.Object ref = groupId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); groupId_ = b; return b; } else { @@ -510,41 +436,31 @@ public com.google.protobuf.ByteString getGroupIdBytes() { public static final int RESOURCE_TYPE_FIELD_NUMBER = 2; private int resourceType_; /** - * - * *
      * The resource type of the group members.
      * 
* * .google.monitoring.v3.GroupResourceType resource_type = 2; - * * @return The enum numeric value on the wire for resourceType. */ - @java.lang.Override - public int getResourceTypeValue() { + @java.lang.Override public int getResourceTypeValue() { return resourceType_; } /** - * - * *
      * The resource type of the group members.
      * 
* * .google.monitoring.v3.GroupResourceType resource_type = 2; - * * @return The resourceType. */ - @java.lang.Override - public com.google.monitoring.v3.GroupResourceType getResourceType() { + @java.lang.Override public com.google.monitoring.v3.GroupResourceType getResourceType() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.GroupResourceType result = - com.google.monitoring.v3.GroupResourceType.valueOf(resourceType_); + com.google.monitoring.v3.GroupResourceType result = com.google.monitoring.v3.GroupResourceType.valueOf(resourceType_); return result == null ? com.google.monitoring.v3.GroupResourceType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -556,12 +472,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(groupId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, groupId_); } - if (resourceType_ - != com.google.monitoring.v3.GroupResourceType.RESOURCE_TYPE_UNSPECIFIED.getNumber()) { + if (resourceType_ != com.google.monitoring.v3.GroupResourceType.RESOURCE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, resourceType_); } unknownFields.writeTo(output); @@ -576,9 +492,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(groupId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, groupId_); } - if (resourceType_ - != com.google.monitoring.v3.GroupResourceType.RESOURCE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, resourceType_); + if (resourceType_ != com.google.monitoring.v3.GroupResourceType.RESOURCE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, resourceType_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -588,15 +504,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.monitoring.v3.UptimeCheckConfig.ResourceGroup)) { return super.equals(obj); } - com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup other = - (com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup) obj; + com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup other = (com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup) obj; - if (!getGroupId().equals(other.getGroupId())) return false; + if (!getGroupId() + .equals(other.getGroupId())) return false; if (resourceType_ != other.resourceType_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -619,94 +535,87 @@ public int hashCode() { } public static com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup prototype) { + public static Builder newBuilder(com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -716,8 +625,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * The resource submessage for group checks. It can be used instead of a
      * monitored resource, when multiple resources are being monitored.
@@ -725,24 +632,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.monitoring.v3.UptimeCheckConfig.ResourceGroup}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.monitoring.v3.UptimeCheckConfig.ResourceGroup)
         com.google.monitoring.v3.UptimeCheckConfig.ResourceGroupOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.monitoring.v3.UptimeProto
-            .internal_static_google_monitoring_v3_UptimeCheckConfig_ResourceGroup_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_ResourceGroup_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.monitoring.v3.UptimeProto
-            .internal_static_google_monitoring_v3_UptimeCheckConfig_ResourceGroup_fieldAccessorTable
+        return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_ResourceGroup_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.class,
-                com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.Builder.class);
+                com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.class, com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.Builder.class);
       }
 
       // Construct using com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.newBuilder()
@@ -750,15 +654,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -770,9 +675,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.monitoring.v3.UptimeProto
-            .internal_static_google_monitoring_v3_UptimeCheckConfig_ResourceGroup_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_ResourceGroup_descriptor;
       }
 
       @java.lang.Override
@@ -791,8 +696,7 @@ public com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup build() {
 
       @java.lang.Override
       public com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup buildPartial() {
-        com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup result =
-            new com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup(this);
+        com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup result = new com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup(this);
         result.groupId_ = groupId_;
         result.resourceType_ = resourceType_;
         onBuilt();
@@ -803,41 +707,38 @@ public com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup) {
-          return mergeFrom((com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup) other);
+          return mergeFrom((com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -845,8 +746,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup other) {
-        if (other == com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.getDefaultInstance())
-          return this;
+        if (other == com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.getDefaultInstance()) return this;
         if (!other.getGroupId().isEmpty()) {
           groupId_ = other.groupId_;
           onChanged();
@@ -873,8 +773,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup) e.getUnfinishedMessage();
+          parsedMessage = (com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -886,8 +785,6 @@ public Builder mergeFrom(
 
       private java.lang.Object groupId_ = "";
       /**
-       *
-       *
        * 
        * The group of resources being monitored. Should be only the `[GROUP_ID]`,
        * and not the full-path
@@ -895,13 +792,13 @@ public Builder mergeFrom(
        * 
* * string group_id = 1; - * * @return The groupId. */ public java.lang.String getGroupId() { java.lang.Object ref = groupId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); groupId_ = s; return s; @@ -910,8 +807,6 @@ public java.lang.String getGroupId() { } } /** - * - * *
        * The group of resources being monitored. Should be only the `[GROUP_ID]`,
        * and not the full-path
@@ -919,14 +814,15 @@ public java.lang.String getGroupId() {
        * 
* * string group_id = 1; - * * @return The bytes for groupId. */ - public com.google.protobuf.ByteString getGroupIdBytes() { + public com.google.protobuf.ByteString + getGroupIdBytes() { java.lang.Object ref = groupId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); groupId_ = b; return b; } else { @@ -934,8 +830,6 @@ public com.google.protobuf.ByteString getGroupIdBytes() { } } /** - * - * *
        * The group of resources being monitored. Should be only the `[GROUP_ID]`,
        * and not the full-path
@@ -943,22 +837,20 @@ public com.google.protobuf.ByteString getGroupIdBytes() {
        * 
* * string group_id = 1; - * * @param value The groupId to set. * @return This builder for chaining. */ - public Builder setGroupId(java.lang.String value) { + public Builder setGroupId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + groupId_ = value; onChanged(); return this; } /** - * - * *
        * The group of resources being monitored. Should be only the `[GROUP_ID]`,
        * and not the full-path
@@ -966,18 +858,15 @@ public Builder setGroupId(java.lang.String value) {
        * 
* * string group_id = 1; - * * @return This builder for chaining. */ public Builder clearGroupId() { - + groupId_ = getDefaultInstance().getGroupId(); onChanged(); return this; } /** - * - * *
        * The group of resources being monitored. Should be only the `[GROUP_ID]`,
        * and not the full-path
@@ -985,16 +874,16 @@ public Builder clearGroupId() {
        * 
* * string group_id = 1; - * * @param value The bytes for groupId to set. * @return This builder for chaining. */ - public Builder setGroupIdBytes(com.google.protobuf.ByteString value) { + public Builder setGroupIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + groupId_ = value; onChanged(); return this; @@ -1002,65 +891,51 @@ public Builder setGroupIdBytes(com.google.protobuf.ByteString value) { private int resourceType_ = 0; /** - * - * *
        * The resource type of the group members.
        * 
* * .google.monitoring.v3.GroupResourceType resource_type = 2; - * * @return The enum numeric value on the wire for resourceType. */ - @java.lang.Override - public int getResourceTypeValue() { + @java.lang.Override public int getResourceTypeValue() { return resourceType_; } /** - * - * *
        * The resource type of the group members.
        * 
* * .google.monitoring.v3.GroupResourceType resource_type = 2; - * * @param value The enum numeric value on the wire for resourceType to set. * @return This builder for chaining. */ public Builder setResourceTypeValue(int value) { - + resourceType_ = value; onChanged(); return this; } /** - * - * *
        * The resource type of the group members.
        * 
* * .google.monitoring.v3.GroupResourceType resource_type = 2; - * * @return The resourceType. */ @java.lang.Override public com.google.monitoring.v3.GroupResourceType getResourceType() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.GroupResourceType result = - com.google.monitoring.v3.GroupResourceType.valueOf(resourceType_); + com.google.monitoring.v3.GroupResourceType result = com.google.monitoring.v3.GroupResourceType.valueOf(resourceType_); return result == null ? com.google.monitoring.v3.GroupResourceType.UNRECOGNIZED : result; } /** - * - * *
        * The resource type of the group members.
        * 
* * .google.monitoring.v3.GroupResourceType resource_type = 2; - * * @param value The resourceType to set. * @return This builder for chaining. */ @@ -1068,29 +943,25 @@ public Builder setResourceType(com.google.monitoring.v3.GroupResourceType value) if (value == null) { throw new NullPointerException(); } - + resourceType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The resource type of the group members.
        * 
* * .google.monitoring.v3.GroupResourceType resource_type = 2; - * * @return This builder for chaining. */ public Builder clearResourceType() { - + resourceType_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1103,12 +974,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.UptimeCheckConfig.ResourceGroup) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.UptimeCheckConfig.ResourceGroup) private static final com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup(); } @@ -1117,16 +988,16 @@ public static com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceGroup parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResourceGroup(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceGroup parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResourceGroup(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1141,58 +1012,45 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface HttpCheckOrBuilder - extends + public interface HttpCheckOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.UptimeCheckConfig.HttpCheck) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The HTTP request method to use for the check. If set to
      * `METHOD_UNSPECIFIED` then `request_method` defaults to `GET`.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8; - * - * + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8; * @return The enum numeric value on the wire for requestMethod. */ int getRequestMethodValue(); /** - * - * *
      * The HTTP request method to use for the check. If set to
      * `METHOD_UNSPECIFIED` then `request_method` defaults to `GET`.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8; - * - * + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8; * @return The requestMethod. */ com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod getRequestMethod(); /** - * - * *
      * If `true`, use HTTPS instead of HTTP to run the check.
      * 
* * bool use_ssl = 1; - * * @return The useSsl. */ boolean getUseSsl(); /** - * - * *
      * Optional (defaults to "/"). The path to the page against which to run
      * the check. Will be combined with the `host` (specified within the
@@ -1202,13 +1060,10 @@ public interface HttpCheckOrBuilder
      * 
* * string path = 2; - * * @return The path. */ java.lang.String getPath(); /** - * - * *
      * Optional (defaults to "/"). The path to the page against which to run
      * the check. Will be combined with the `host` (specified within the
@@ -1218,14 +1073,12 @@ public interface HttpCheckOrBuilder
      * 
* * string path = 2; - * * @return The bytes for path. */ - com.google.protobuf.ByteString getPathBytes(); + com.google.protobuf.ByteString + getPathBytes(); /** - * - * *
      * Optional (defaults to 80 when `use_ssl` is `false`, and 443 when
      * `use_ssl` is `true`). The TCP port on the HTTP server against which to
@@ -1234,56 +1087,41 @@ public interface HttpCheckOrBuilder
      * 
* * int32 port = 3; - * * @return The port. */ int getPort(); /** - * - * *
      * The authentication information. Optional when creating an HTTP check;
      * defaults to empty.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; - * - * + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; * @return Whether the authInfo field is set. */ boolean hasAuthInfo(); /** - * - * *
      * The authentication information. Optional when creating an HTTP check;
      * defaults to empty.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; - * - * + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; * @return The authInfo. */ com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication getAuthInfo(); /** - * - * *
      * The authentication information. Optional when creating an HTTP check;
      * defaults to empty.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; - * + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; */ - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthenticationOrBuilder - getAuthInfoOrBuilder(); + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthenticationOrBuilder getAuthInfoOrBuilder(); /** - * - * *
      * Boolean specifying whether to encrypt the header information.
      * Encryption should be specified for any headers related to authentication
@@ -1294,14 +1132,11 @@ public interface HttpCheckOrBuilder
      * 
* * bool mask_headers = 5; - * * @return The maskHeaders. */ boolean getMaskHeaders(); /** - * - * *
      * The list of headers to send as part of the Uptime check request.
      * If two headers have the same key and different values, they should
@@ -1317,8 +1152,6 @@ public interface HttpCheckOrBuilder
      */
     int getHeadersCount();
     /**
-     *
-     *
      * 
      * The list of headers to send as part of the Uptime check request.
      * If two headers have the same key and different values, they should
@@ -1332,13 +1165,15 @@ public interface HttpCheckOrBuilder
      *
      * map<string, string> headers = 6;
      */
-    boolean containsHeaders(java.lang.String key);
-    /** Use {@link #getHeadersMap()} instead. */
+    boolean containsHeaders(
+        java.lang.String key);
+    /**
+     * Use {@link #getHeadersMap()} instead.
+     */
     @java.lang.Deprecated
-    java.util.Map getHeaders();
+    java.util.Map
+    getHeaders();
     /**
-     *
-     *
      * 
      * The list of headers to send as part of the Uptime check request.
      * If two headers have the same key and different values, they should
@@ -1352,10 +1187,9 @@ public interface HttpCheckOrBuilder
      *
      * map<string, string> headers = 6;
      */
-    java.util.Map getHeadersMap();
+    java.util.Map
+    getHeadersMap();
     /**
-     *
-     *
      * 
      * The list of headers to send as part of the Uptime check request.
      * If two headers have the same key and different values, they should
@@ -1369,10 +1203,11 @@ public interface HttpCheckOrBuilder
      *
      * map<string, string> headers = 6;
      */
-    java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue);
+
+    java.lang.String getHeadersOrDefault(
+        java.lang.String key,
+        java.lang.String defaultValue);
     /**
-     *
-     *
      * 
      * The list of headers to send as part of the Uptime check request.
      * If two headers have the same key and different values, they should
@@ -1386,11 +1221,11 @@ public interface HttpCheckOrBuilder
      *
      * map<string, string> headers = 6;
      */
-    java.lang.String getHeadersOrThrow(java.lang.String key);
+
+    java.lang.String getHeadersOrThrow(
+        java.lang.String key);
 
     /**
-     *
-     *
      * 
      * The content type header to use for the check. The following
      * configurations result in errors:
@@ -1403,13 +1238,10 @@ public interface HttpCheckOrBuilder
      * 
* * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType content_type = 9; - * * @return The enum numeric value on the wire for contentType. */ int getContentTypeValue(); /** - * - * *
      * The content type header to use for the check. The following
      * configurations result in errors:
@@ -1422,14 +1254,11 @@ public interface HttpCheckOrBuilder
      * 
* * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType content_type = 9; - * * @return The contentType. */ com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType getContentType(); /** - * - * *
      * Boolean specifying whether to include SSL certificate validation as a
      * part of the Uptime check. Only applies to checks where
@@ -1438,14 +1267,11 @@ public interface HttpCheckOrBuilder
      * 
* * bool validate_ssl = 7; - * * @return The validateSsl. */ boolean getValidateSsl(); /** - * - * *
      * The request body associated with the HTTP POST request. If `content_type`
      * is `URL_ENCODED`, the body passed in must be URL-encoded. Users can
@@ -1458,30 +1284,26 @@ public interface HttpCheckOrBuilder
      * 
* * bytes body = 10; - * * @return The body. */ com.google.protobuf.ByteString getBody(); } /** - * - * *
    * Information involved in an HTTP/HTTPS Uptime check request.
    * 
* * Protobuf type {@code google.monitoring.v3.UptimeCheckConfig.HttpCheck} */ - public static final class HttpCheck extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class HttpCheck extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.UptimeCheckConfig.HttpCheck) HttpCheckOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use HttpCheck.newBuilder() to construct. private HttpCheck(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private HttpCheck() { requestMethod_ = 0; path_ = ""; @@ -1491,15 +1313,16 @@ private HttpCheck() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new HttpCheck(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private HttpCheck( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1519,144 +1342,129 @@ private HttpCheck( case 0: done = true; break; - case 8: - { - useSsl_ = input.readBool(); - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + case 8: { - path_ = s; - break; - } - case 24: - { - port_ = input.readInt32(); - break; - } - case 34: - { - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder - subBuilder = null; - if (authInfo_ != null) { - subBuilder = authInfo_.toBuilder(); - } - authInfo_ = - input.readMessage( - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(authInfo_); - authInfo_ = subBuilder.buildPartial(); - } + useSsl_ = input.readBool(); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 40: - { - maskHeaders_ = input.readBool(); - break; - } - case 50: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - headers_ = - com.google.protobuf.MapField.newMapField( - HeadersDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry headers__ = - input.readMessage( - HeadersDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - headers_.getMutableMap().put(headers__.getKey(), headers__.getValue()); - break; + path_ = s; + break; + } + case 24: { + + port_ = input.readInt32(); + break; + } + case 34: { + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder subBuilder = null; + if (authInfo_ != null) { + subBuilder = authInfo_.toBuilder(); } - case 56: - { - validateSsl_ = input.readBool(); - break; + authInfo_ = input.readMessage(com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(authInfo_); + authInfo_ = subBuilder.buildPartial(); } - case 64: - { - int rawValue = input.readEnum(); - requestMethod_ = rawValue; - break; - } - case 72: - { - int rawValue = input.readEnum(); + break; + } + case 40: { - contentType_ = rawValue; - break; - } - case 82: - { - body_ = input.readBytes(); - break; + maskHeaders_ = input.readBool(); + break; + } + case 50: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + headers_ = com.google.protobuf.MapField.newMapField( + HeadersDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + com.google.protobuf.MapEntry + headers__ = input.readMessage( + HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + headers_.getMutableMap().put( + headers__.getKey(), headers__.getValue()); + break; + } + case 56: { + + validateSsl_ = input.readBool(); + break; + } + case 64: { + int rawValue = input.readEnum(); + + requestMethod_ = rawValue; + break; + } + case 72: { + int rawValue = input.readEnum(); + + contentType_ = rawValue; + break; + } + case 82: { + + body_ = input.readBytes(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.UptimeProto - .internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_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 6: return internalGetHeaders(); 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.monitoring.v3.UptimeProto - .internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_fieldAccessorTable + return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.class, - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.Builder.class); + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.class, com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.Builder.class); } /** - * - * *
      * The HTTP request method options.
      * 
* * Protobuf enum {@code google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod} */ - public enum RequestMethod implements com.google.protobuf.ProtocolMessageEnum { + public enum RequestMethod + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * No request method specified.
        * 
@@ -1665,8 +1473,6 @@ public enum RequestMethod implements com.google.protobuf.ProtocolMessageEnum { */ METHOD_UNSPECIFIED(0), /** - * - * *
        * GET request.
        * 
@@ -1675,8 +1481,6 @@ public enum RequestMethod implements com.google.protobuf.ProtocolMessageEnum { */ GET(1), /** - * - * *
        * POST request.
        * 
@@ -1688,8 +1492,6 @@ public enum RequestMethod implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * No request method specified.
        * 
@@ -1698,8 +1500,6 @@ public enum RequestMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int METHOD_UNSPECIFIED_VALUE = 0; /** - * - * *
        * GET request.
        * 
@@ -1708,8 +1508,6 @@ public enum RequestMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GET_VALUE = 1; /** - * - * *
        * POST request.
        * 
@@ -1718,6 +1516,7 @@ public enum RequestMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POST_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -1742,45 +1541,40 @@ public static RequestMethod valueOf(int value) { */ public static RequestMethod forNumber(int value) { switch (value) { - case 0: - return METHOD_UNSPECIFIED; - case 1: - return GET; - case 2: - return POST; - default: - return null; + case 0: return METHOD_UNSPECIFIED; + case 1: return GET; + case 2: return POST; + 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< + RequestMethod> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RequestMethod findValueByNumber(int number) { + return RequestMethod.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RequestMethod findValueByNumber(int number) { - return RequestMethod.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.monitoring.v3.UptimeCheckConfig.HttpCheck.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.getDescriptor().getEnumTypes().get(0); } private static final RequestMethod[] VALUES = values(); @@ -1788,7 +1582,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static RequestMethod 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; @@ -1806,18 +1601,15 @@ private RequestMethod(int value) { } /** - * - * *
      * Header options corresponding to the content type of a HTTP request body.
      * 
* * Protobuf enum {@code google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType} */ - public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { + public enum ContentType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * No content type specified.
        * 
@@ -1826,8 +1618,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
        * `body` is in URL-encoded form. Equivalent to setting the `Content-Type`
        * to `application/x-www-form-urlencoded` in the HTTP request.
@@ -1840,8 +1630,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * No content type specified.
        * 
@@ -1850,8 +1638,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * `body` is in URL-encoded form. Equivalent to setting the `Content-Type`
        * to `application/x-www-form-urlencoded` in the HTTP request.
@@ -1861,6 +1647,7 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int URL_ENCODED_VALUE = 1;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -1885,49 +1672,48 @@ public static ContentType valueOf(int value) {
        */
       public static ContentType forNumber(int value) {
         switch (value) {
-          case 0:
-            return TYPE_UNSPECIFIED;
-          case 1:
-            return URL_ENCODED;
-          default:
-            return null;
+          case 0: return TYPE_UNSPECIFIED;
+          case 1: return URL_ENCODED;
+          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<
+          ContentType> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public ContentType findValueByNumber(int number) {
+                return ContentType.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public ContentType findValueByNumber(int number) {
-              return ContentType.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.monitoring.v3.UptimeCheckConfig.HttpCheck.getDescriptor()
-            .getEnumTypes()
-            .get(1);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.getDescriptor().getEnumTypes().get(1);
       }
 
       private static final ContentType[] VALUES = values();
 
-      public static ContentType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static ContentType 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;
@@ -1944,64 +1730,51 @@ private ContentType(int value) {
       // @@protoc_insertion_point(enum_scope:google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType)
     }
 
-    public interface BasicAuthenticationOrBuilder
-        extends
+    public interface BasicAuthenticationOrBuilder extends
         // @@protoc_insertion_point(interface_extends:google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication)
         com.google.protobuf.MessageOrBuilder {
 
       /**
-       *
-       *
        * 
        * The username to use when authenticating with the HTTP server.
        * 
* * string username = 1; - * * @return The username. */ java.lang.String getUsername(); /** - * - * *
        * The username to use when authenticating with the HTTP server.
        * 
* * string username = 1; - * * @return The bytes for username. */ - com.google.protobuf.ByteString getUsernameBytes(); + com.google.protobuf.ByteString + getUsernameBytes(); /** - * - * *
        * The password to use when authenticating with the HTTP server.
        * 
* * string password = 2; - * * @return The password. */ java.lang.String getPassword(); /** - * - * *
        * The password to use when authenticating with the HTTP server.
        * 
* * string password = 2; - * * @return The bytes for password. */ - com.google.protobuf.ByteString getPasswordBytes(); + com.google.protobuf.ByteString + getPasswordBytes(); } /** - * - * *
      * The authentication parameters to provide to the specified resource or
      * URL that requires a username and password. Currently, only
@@ -2011,16 +1784,15 @@ public interface BasicAuthenticationOrBuilder
      *
      * Protobuf type {@code google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication}
      */
-    public static final class BasicAuthentication extends com.google.protobuf.GeneratedMessageV3
-        implements
+    public static final class BasicAuthentication extends
+        com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication)
         BasicAuthenticationOrBuilder {
-      private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
       // Use BasicAuthentication.newBuilder() to construct.
       private BasicAuthentication(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-
       private BasicAuthentication() {
         username_ = "";
         password_ = "";
@@ -2028,15 +1800,16 @@ private BasicAuthentication() {
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(
+          UnusedPrivateParameter unused) {
         return new BasicAuthentication();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet
+      getUnknownFields() {
         return this.unknownFields;
       }
-
       private BasicAuthentication(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -2055,67 +1828,58 @@ private BasicAuthentication(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
+              case 10: {
+                java.lang.String s = input.readStringRequireUtf8();
 
-                  username_ = s;
-                  break;
-                }
-              case 18:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
+                username_ = s;
+                break;
+              }
+              case 18: {
+                java.lang.String s = input.readStringRequireUtf8();
 
-                  password_ = s;
-                  break;
-                }
-              default:
-                {
-                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                    done = true;
-                  }
-                  break;
+                password_ = s;
+                break;
+              }
+              default: {
+                if (!parseUnknownField(
+                    input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
                 }
+                break;
+              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
           throw e.setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(
+              e).setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
-
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.monitoring.v3.UptimeProto
-            .internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_BasicAuthentication_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_BasicAuthentication_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.monitoring.v3.UptimeProto
-            .internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_BasicAuthentication_fieldAccessorTable
+        return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_BasicAuthentication_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.class,
-                com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder
-                    .class);
+                com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.class, com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder.class);
       }
 
       public static final int USERNAME_FIELD_NUMBER = 1;
       private volatile java.lang.Object username_;
       /**
-       *
-       *
        * 
        * The username to use when authenticating with the HTTP server.
        * 
* * string username = 1; - * * @return The username. */ @java.lang.Override @@ -2124,29 +1888,29 @@ public java.lang.String getUsername() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; } } /** - * - * *
        * The username to use when authenticating with the HTTP server.
        * 
* * string username = 1; - * * @return The bytes for username. */ @java.lang.Override - public com.google.protobuf.ByteString getUsernameBytes() { + public com.google.protobuf.ByteString + getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); username_ = b; return b; } else { @@ -2157,14 +1921,11 @@ public com.google.protobuf.ByteString getUsernameBytes() { public static final int PASSWORD_FIELD_NUMBER = 2; private volatile java.lang.Object password_; /** - * - * *
        * The password to use when authenticating with the HTTP server.
        * 
* * string password = 2; - * * @return The password. */ @java.lang.Override @@ -2173,29 +1934,29 @@ public java.lang.String getPassword() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; } } /** - * - * *
        * The password to use when authenticating with the HTTP server.
        * 
* * string password = 2; - * * @return The bytes for password. */ @java.lang.Override - public com.google.protobuf.ByteString getPasswordBytes() { + public com.google.protobuf.ByteString + getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); password_ = b; return b; } else { @@ -2204,7 +1965,6 @@ public com.google.protobuf.ByteString getPasswordBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2216,7 +1976,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(username_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, username_); } @@ -2246,17 +2007,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.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication)) { + if (!(obj instanceof com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication)) { return super.equals(obj); } - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication other = - (com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication) obj; + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication other = (com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication) obj; - if (!getUsername().equals(other.getUsername())) return false; - if (!getPassword().equals(other.getPassword())) return false; + if (!getUsername() + .equals(other.getUsername())) return false; + if (!getPassword() + .equals(other.getPassword())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2277,103 +2038,88 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication - parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication prototype) { + public static Builder newBuilder(com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2383,8 +2129,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * The authentication parameters to provide to the specified resource or
        * URL that requires a username and password. Currently, only
@@ -2394,42 +2138,38 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication}
        */
-      public static final class Builder
-          extends com.google.protobuf.GeneratedMessageV3.Builder
-          implements
+      public static final class Builder extends
+          com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication)
           com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthenticationOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-          return com.google.monitoring.v3.UptimeProto
-              .internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_BasicAuthentication_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor
+            getDescriptor() {
+          return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_BasicAuthentication_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.monitoring.v3.UptimeProto
-              .internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_BasicAuthentication_fieldAccessorTable
+          return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_BasicAuthentication_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.class,
-                  com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder
-                      .class);
+                  com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.class, com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder.class);
         }
 
-        // Construct using
-        // com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.newBuilder()
+        // Construct using com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
 
-        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(
+            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
-
         private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+          if (com.google.protobuf.GeneratedMessageV3
+                  .alwaysUseFieldBuilders) {
+          }
         }
-
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -2441,22 +2181,19 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-          return com.google.monitoring.v3.UptimeProto
-              .internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_BasicAuthentication_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor
+            getDescriptorForType() {
+          return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_BasicAuthentication_descriptor;
         }
 
         @java.lang.Override
-        public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication
-            getDefaultInstanceForType() {
-          return com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication
-              .getDefaultInstance();
+        public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication getDefaultInstanceForType() {
+          return com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.getDefaultInstance();
         }
 
         @java.lang.Override
         public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication build() {
-          com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication result =
-              buildPartial();
+          com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication result = buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
@@ -2464,10 +2201,8 @@ public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication
         }
 
         @java.lang.Override
-        public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication
-            buildPartial() {
-          com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication result =
-              new com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication(this);
+        public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication buildPartial() {
+          com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication result = new com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication(this);
           result.username_ = username_;
           result.password_ = password_;
           onBuilt();
@@ -2478,54 +2213,46 @@ public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication
         public Builder clone() {
           return super.clone();
         }
-
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field,
+            java.lang.Object value) {
           return super.setField(field, value);
         }
-
         @java.lang.Override
-        public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+        public Builder clearField(
+            com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
-
         @java.lang.Override
-        public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+        public Builder clearOneof(
+            com.google.protobuf.Descriptors.OneofDescriptor oneof) {
           return super.clearOneof(oneof);
         }
-
         @java.lang.Override
         public Builder setRepeatedField(
             com.google.protobuf.Descriptors.FieldDescriptor field,
-            int index,
-            java.lang.Object value) {
+            int index, java.lang.Object value) {
           return super.setRepeatedField(field, index, value);
         }
-
         @java.lang.Override
         public Builder addRepeatedField(
-            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field,
+            java.lang.Object value) {
           return super.addRepeatedField(field, value);
         }
-
         @java.lang.Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
-          if (other
-              instanceof com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication) {
-            return mergeFrom(
-                (com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication) other);
+          if (other instanceof com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication) {
+            return mergeFrom((com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication)other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(
-            com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication other) {
-          if (other
-              == com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication
-                  .getDefaultInstance()) return this;
+        public Builder mergeFrom(com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication other) {
+          if (other == com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.getDefaultInstance()) return this;
           if (!other.getUsername().isEmpty()) {
             username_ = other.username_;
             onChanged();
@@ -2549,14 +2276,11 @@ public Builder mergeFrom(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
             throws java.io.IOException {
-          com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication parsedMessage =
-              null;
+          com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication parsedMessage = null;
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            parsedMessage =
-                (com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication)
-                    e.getUnfinishedMessage();
+            parsedMessage = (com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
@@ -2568,20 +2292,18 @@ public Builder mergeFrom(
 
         private java.lang.Object username_ = "";
         /**
-         *
-         *
          * 
          * The username to use when authenticating with the HTTP server.
          * 
* * string username = 1; - * * @return The username. */ public java.lang.String getUsername() { java.lang.Object ref = username_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; @@ -2590,21 +2312,20 @@ public java.lang.String getUsername() { } } /** - * - * *
          * The username to use when authenticating with the HTTP server.
          * 
* * string username = 1; - * * @return The bytes for username. */ - public com.google.protobuf.ByteString getUsernameBytes() { + public com.google.protobuf.ByteString + getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); username_ = b; return b; } else { @@ -2612,61 +2333,54 @@ public com.google.protobuf.ByteString getUsernameBytes() { } } /** - * - * *
          * The username to use when authenticating with the HTTP server.
          * 
* * string username = 1; - * * @param value The username to set. * @return This builder for chaining. */ - public Builder setUsername(java.lang.String value) { + public Builder setUsername( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + username_ = value; onChanged(); return this; } /** - * - * *
          * The username to use when authenticating with the HTTP server.
          * 
* * string username = 1; - * * @return This builder for chaining. */ public Builder clearUsername() { - + username_ = getDefaultInstance().getUsername(); onChanged(); return this; } /** - * - * *
          * The username to use when authenticating with the HTTP server.
          * 
* * string username = 1; - * * @param value The bytes for username to set. * @return This builder for chaining. */ - public Builder setUsernameBytes(com.google.protobuf.ByteString value) { + public Builder setUsernameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + username_ = value; onChanged(); return this; @@ -2674,20 +2388,18 @@ public Builder setUsernameBytes(com.google.protobuf.ByteString value) { private java.lang.Object password_ = ""; /** - * - * *
          * The password to use when authenticating with the HTTP server.
          * 
* * string password = 2; - * * @return The password. */ public java.lang.String getPassword() { java.lang.Object ref = password_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; @@ -2696,21 +2408,20 @@ public java.lang.String getPassword() { } } /** - * - * *
          * The password to use when authenticating with the HTTP server.
          * 
* * string password = 2; - * * @return The bytes for password. */ - public com.google.protobuf.ByteString getPasswordBytes() { + public com.google.protobuf.ByteString + getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); password_ = b; return b; } else { @@ -2718,66 +2429,58 @@ public com.google.protobuf.ByteString getPasswordBytes() { } } /** - * - * *
          * The password to use when authenticating with the HTTP server.
          * 
* * string password = 2; - * * @param value The password to set. * @return This builder for chaining. */ - public Builder setPassword(java.lang.String value) { + public Builder setPassword( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + password_ = value; onChanged(); return this; } /** - * - * *
          * The password to use when authenticating with the HTTP server.
          * 
* * string password = 2; - * * @return This builder for chaining. */ public Builder clearPassword() { - + password_ = getDefaultInstance().getPassword(); onChanged(); return this; } /** - * - * *
          * The password to use when authenticating with the HTTP server.
          * 
* * string password = 2; - * * @param value The bytes for password to set. * @return This builder for chaining. */ - public Builder setPasswordBytes(com.google.protobuf.ByteString value) { + public Builder setPasswordBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + password_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2790,33 +2493,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication) - private static final com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication - DEFAULT_INSTANCE; - + private static final com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication(); + DEFAULT_INSTANCE = new com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication(); } - public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication - getDefaultInstance() { + public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BasicAuthentication parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BasicAuthentication(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BasicAuthentication parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BasicAuthentication(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2828,66 +2528,49 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication - getDefaultInstanceForType() { + public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int REQUEST_METHOD_FIELD_NUMBER = 8; private int requestMethod_; /** - * - * *
      * The HTTP request method to use for the check. If set to
      * `METHOD_UNSPECIFIED` then `request_method` defaults to `GET`.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8; - * - * + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8; * @return The enum numeric value on the wire for requestMethod. */ - @java.lang.Override - public int getRequestMethodValue() { + @java.lang.Override public int getRequestMethodValue() { return requestMethod_; } /** - * - * *
      * The HTTP request method to use for the check. If set to
      * `METHOD_UNSPECIFIED` then `request_method` defaults to `GET`.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8; - * - * + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8; * @return The requestMethod. */ - @java.lang.Override - public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod getRequestMethod() { + @java.lang.Override public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod getRequestMethod() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod result = - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod.valueOf( - requestMethod_); - return result == null - ? com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod.UNRECOGNIZED - : result; + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod result = com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod.valueOf(requestMethod_); + return result == null ? com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod.UNRECOGNIZED : result; } public static final int USE_SSL_FIELD_NUMBER = 1; private boolean useSsl_; /** - * - * *
      * If `true`, use HTTPS instead of HTTP to run the check.
      * 
* * bool use_ssl = 1; - * * @return The useSsl. */ @java.lang.Override @@ -2898,8 +2581,6 @@ public boolean getUseSsl() { public static final int PATH_FIELD_NUMBER = 2; private volatile java.lang.Object path_; /** - * - * *
      * Optional (defaults to "/"). The path to the page against which to run
      * the check. Will be combined with the `host` (specified within the
@@ -2909,7 +2590,6 @@ public boolean getUseSsl() {
      * 
* * string path = 2; - * * @return The path. */ @java.lang.Override @@ -2918,15 +2598,14 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** - * - * *
      * Optional (defaults to "/"). The path to the page against which to run
      * the check. Will be combined with the `host` (specified within the
@@ -2936,15 +2615,16 @@ public java.lang.String getPath() {
      * 
* * string path = 2; - * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); path_ = b; return b; } else { @@ -2955,8 +2635,6 @@ public com.google.protobuf.ByteString getPathBytes() { public static final int PORT_FIELD_NUMBER = 3; private int port_; /** - * - * *
      * Optional (defaults to 80 when `use_ssl` is `false`, and 443 when
      * `use_ssl` is `true`). The TCP port on the HTTP server against which to
@@ -2965,7 +2643,6 @@ public com.google.protobuf.ByteString getPathBytes() {
      * 
* * int32 port = 3; - * * @return The port. */ @java.lang.Override @@ -2976,16 +2653,12 @@ public int getPort() { public static final int AUTH_INFO_FIELD_NUMBER = 4; private com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication authInfo_; /** - * - * *
      * The authentication information. Optional when creating an HTTP check;
      * defaults to empty.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; - * - * + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; * @return Whether the authInfo field is set. */ @java.lang.Override @@ -2993,47 +2666,34 @@ public boolean hasAuthInfo() { return authInfo_ != null; } /** - * - * *
      * The authentication information. Optional when creating an HTTP check;
      * defaults to empty.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; - * - * + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; * @return The authInfo. */ @java.lang.Override public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication getAuthInfo() { - return authInfo_ == null - ? com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication - .getDefaultInstance() - : authInfo_; + return authInfo_ == null ? com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.getDefaultInstance() : authInfo_; } /** - * - * *
      * The authentication information. Optional when creating an HTTP check;
      * defaults to empty.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; - * + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; */ @java.lang.Override - public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthenticationOrBuilder - getAuthInfoOrBuilder() { + public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthenticationOrBuilder getAuthInfoOrBuilder() { return getAuthInfo(); } public static final int MASK_HEADERS_FIELD_NUMBER = 5; private boolean maskHeaders_; /** - * - * *
      * Boolean specifying whether to encrypt the header information.
      * Encryption should be specified for any headers related to authentication
@@ -3044,7 +2704,6 @@ public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication
      * 
* * bool mask_headers = 5; - * * @return The maskHeaders. */ @java.lang.Override @@ -3053,23 +2712,24 @@ public boolean getMaskHeaders() { } public static final int HEADERS_FIELD_NUMBER = 6; - private static final class HeadersDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.monitoring.v3.UptimeProto - .internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_HeadersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField headers_; - - private com.google.protobuf.MapField internalGetHeaders() { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_HeadersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> headers_; + private com.google.protobuf.MapField + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HeadersDefaultEntryHolder.defaultEntry); } return headers_; } @@ -3078,8 +2738,6 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** - * - * *
      * The list of headers to send as part of the Uptime check request.
      * If two headers have the same key and different values, they should
@@ -3093,22 +2751,22 @@ public int getHeadersCount() {
      *
      * map<string, string> headers = 6;
      */
+
     @java.lang.Override
-    public boolean containsHeaders(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
+    public boolean containsHeaders(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
       return internalGetHeaders().getMap().containsKey(key);
     }
-    /** Use {@link #getHeadersMap()} instead. */
+    /**
+     * Use {@link #getHeadersMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHeaders() {
       return getHeadersMap();
     }
     /**
-     *
-     *
      * 
      * The list of headers to send as part of the Uptime check request.
      * If two headers have the same key and different values, they should
@@ -3123,12 +2781,11 @@ public java.util.Map getHeaders() {
      * map<string, string> headers = 6;
      */
     @java.lang.Override
+
     public java.util.Map getHeadersMap() {
       return internalGetHeaders().getMap();
     }
     /**
-     *
-     *
      * 
      * The list of headers to send as part of the Uptime check request.
      * If two headers have the same key and different values, they should
@@ -3143,17 +2800,16 @@ public java.util.Map getHeadersMap() {
      * map<string, string> headers = 6;
      */
     @java.lang.Override
+
     public java.lang.String getHeadersOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      java.util.Map map = internalGetHeaders().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      java.util.Map map =
+          internalGetHeaders().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * The list of headers to send as part of the Uptime check request.
      * If two headers have the same key and different values, they should
@@ -3168,11 +2824,12 @@ public java.lang.String getHeadersOrDefault(
      * map<string, string> headers = 6;
      */
     @java.lang.Override
-    public java.lang.String getHeadersOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      java.util.Map map = internalGetHeaders().getMap();
+
+    public java.lang.String getHeadersOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      java.util.Map map =
+          internalGetHeaders().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -3182,8 +2839,6 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
     public static final int CONTENT_TYPE_FIELD_NUMBER = 9;
     private int contentType_;
     /**
-     *
-     *
      * 
      * The content type header to use for the check. The following
      * configurations result in errors:
@@ -3196,16 +2851,12 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
      * 
* * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType content_type = 9; - * * @return The enum numeric value on the wire for contentType. */ - @java.lang.Override - public int getContentTypeValue() { + @java.lang.Override public int getContentTypeValue() { return contentType_; } /** - * - * *
      * The content type header to use for the check. The following
      * configurations result in errors:
@@ -3218,24 +2869,17 @@ public int getContentTypeValue() {
      * 
* * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType content_type = 9; - * * @return The contentType. */ - @java.lang.Override - public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType getContentType() { + @java.lang.Override public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType getContentType() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType result = - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType.valueOf(contentType_); - return result == null - ? com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType.UNRECOGNIZED - : result; + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType result = com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType.valueOf(contentType_); + return result == null ? com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType.UNRECOGNIZED : result; } public static final int VALIDATE_SSL_FIELD_NUMBER = 7; private boolean validateSsl_; /** - * - * *
      * Boolean specifying whether to include SSL certificate validation as a
      * part of the Uptime check. Only applies to checks where
@@ -3244,7 +2888,6 @@ public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType getConte
      * 
* * bool validate_ssl = 7; - * * @return The validateSsl. */ @java.lang.Override @@ -3255,8 +2898,6 @@ public boolean getValidateSsl() { public static final int BODY_FIELD_NUMBER = 10; private com.google.protobuf.ByteString body_; /** - * - * *
      * The request body associated with the HTTP POST request. If `content_type`
      * is `URL_ENCODED`, the body passed in must be URL-encoded. Users can
@@ -3269,7 +2910,6 @@ public boolean getValidateSsl() {
      * 
* * bytes body = 10; - * * @return The body. */ @java.lang.Override @@ -3278,7 +2918,6 @@ public com.google.protobuf.ByteString getBody() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3290,7 +2929,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 (useSsl_ != false) { output.writeBool(1, useSsl_); } @@ -3306,19 +2946,19 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (maskHeaders_ != false) { output.writeBool(5, maskHeaders_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 6); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetHeaders(), + HeadersDefaultEntryHolder.defaultEntry, + 6); if (validateSsl_ != false) { output.writeBool(7, validateSsl_); } - if (requestMethod_ - != com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod.METHOD_UNSPECIFIED - .getNumber()) { + if (requestMethod_ != com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod.METHOD_UNSPECIFIED.getNumber()) { output.writeEnum(8, requestMethod_); } - if (contentType_ - != com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType.TYPE_UNSPECIFIED - .getNumber()) { + if (contentType_ != com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(9, contentType_); } if (!body_.isEmpty()) { @@ -3334,45 +2974,49 @@ public int getSerializedSize() { size = 0; if (useSsl_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, useSsl_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, useSsl_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_); } if (port_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, port_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, port_); } if (authInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getAuthInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getAuthInfo()); } if (maskHeaders_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, maskHeaders_); - } - for (java.util.Map.Entry entry : - internalGetHeaders().getMap().entrySet()) { - com.google.protobuf.MapEntry headers__ = - HeadersDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, headers__); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, maskHeaders_); + } + for (java.util.Map.Entry entry + : internalGetHeaders().getMap().entrySet()) { + com.google.protobuf.MapEntry + headers__ = HeadersDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, headers__); } if (validateSsl_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, validateSsl_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(7, validateSsl_); } - if (requestMethod_ - != com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod.METHOD_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, requestMethod_); + if (requestMethod_ != com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod.METHOD_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(8, requestMethod_); } - if (contentType_ - != com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType.TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, contentType_); + if (contentType_ != com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(9, contentType_); } if (!body_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(10, body_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(10, body_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3382,27 +3026,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.monitoring.v3.UptimeCheckConfig.HttpCheck)) { return super.equals(obj); } - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck other = - (com.google.monitoring.v3.UptimeCheckConfig.HttpCheck) obj; + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck other = (com.google.monitoring.v3.UptimeCheckConfig.HttpCheck) obj; if (requestMethod_ != other.requestMethod_) return false; - if (getUseSsl() != other.getUseSsl()) return false; - if (!getPath().equals(other.getPath())) return false; - if (getPort() != other.getPort()) return false; + if (getUseSsl() + != other.getUseSsl()) return false; + if (!getPath() + .equals(other.getPath())) return false; + if (getPort() + != other.getPort()) return false; if (hasAuthInfo() != other.hasAuthInfo()) return false; if (hasAuthInfo()) { - if (!getAuthInfo().equals(other.getAuthInfo())) return false; + if (!getAuthInfo() + .equals(other.getAuthInfo())) return false; } - if (getMaskHeaders() != other.getMaskHeaders()) return false; - if (!internalGetHeaders().equals(other.internalGetHeaders())) return false; + if (getMaskHeaders() + != other.getMaskHeaders()) return false; + if (!internalGetHeaders().equals( + other.internalGetHeaders())) return false; if (contentType_ != other.contentType_) return false; - if (getValidateSsl() != other.getValidateSsl()) return false; - if (!getBody().equals(other.getBody())) return false; + if (getValidateSsl() + != other.getValidateSsl()) return false; + if (!getBody() + .equals(other.getBody())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3417,7 +3068,8 @@ public int hashCode() { hash = (37 * hash) + REQUEST_METHOD_FIELD_NUMBER; hash = (53 * hash) + requestMethod_; hash = (37 * hash) + USE_SSL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseSsl()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUseSsl()); hash = (37 * hash) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); hash = (37 * hash) + PORT_FIELD_NUMBER; @@ -3427,7 +3079,8 @@ public int hashCode() { hash = (53 * hash) + getAuthInfo().hashCode(); } hash = (37 * hash) + MASK_HEADERS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getMaskHeaders()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getMaskHeaders()); if (!internalGetHeaders().getMap().isEmpty()) { hash = (37 * hash) + HEADERS_FIELD_NUMBER; hash = (53 * hash) + internalGetHeaders().hashCode(); @@ -3435,7 +3088,8 @@ public int hashCode() { hash = (37 * hash) + CONTENT_TYPE_FIELD_NUMBER; hash = (53 * hash) + contentType_; hash = (37 * hash) + VALIDATE_SSL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateSsl()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateSsl()); hash = (37 * hash) + BODY_FIELD_NUMBER; hash = (53 * hash) + getBody().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); @@ -3444,94 +3098,87 @@ public int hashCode() { } public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck prototype) { + public static Builder newBuilder(com.google.monitoring.v3.UptimeCheckConfig.HttpCheck prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3541,52 +3188,49 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Information involved in an HTTP/HTTPS Uptime check request.
      * 
* * Protobuf type {@code google.monitoring.v3.UptimeCheckConfig.HttpCheck} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.UptimeCheckConfig.HttpCheck) com.google.monitoring.v3.UptimeCheckConfig.HttpCheckOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.UptimeProto - .internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 6: return internalGetHeaders(); 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 6: return internalGetMutableHeaders(); 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.monitoring.v3.UptimeProto - .internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_fieldAccessorTable + return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.class, - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.Builder.class); + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.class, com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.Builder.class); } // Construct using com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.newBuilder() @@ -3594,15 +3238,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3633,9 +3278,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.UptimeProto - .internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_descriptor; } @java.lang.Override @@ -3654,8 +3299,7 @@ public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck build() { @java.lang.Override public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck buildPartial() { - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck result = - new com.google.monitoring.v3.UptimeCheckConfig.HttpCheck(this); + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck result = new com.google.monitoring.v3.UptimeCheckConfig.HttpCheck(this); int from_bitField0_ = bitField0_; result.requestMethod_ = requestMethod_; result.useSsl_ = useSsl_; @@ -3680,41 +3324,38 @@ public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck 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.monitoring.v3.UptimeCheckConfig.HttpCheck) { - return mergeFrom((com.google.monitoring.v3.UptimeCheckConfig.HttpCheck) other); + return mergeFrom((com.google.monitoring.v3.UptimeCheckConfig.HttpCheck)other); } else { super.mergeFrom(other); return this; @@ -3722,8 +3363,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.UptimeCheckConfig.HttpCheck other) { - if (other == com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.getDefaultInstance()) return this; if (other.requestMethod_ != 0) { setRequestMethodValue(other.getRequestMethodValue()); } @@ -3743,7 +3383,8 @@ public Builder mergeFrom(com.google.monitoring.v3.UptimeCheckConfig.HttpCheck ot if (other.getMaskHeaders() != false) { setMaskHeaders(other.getMaskHeaders()); } - internalGetMutableHeaders().mergeFrom(other.internalGetHeaders()); + internalGetMutableHeaders().mergeFrom( + other.internalGetHeaders()); if (other.contentType_ != 0) { setContentTypeValue(other.getContentTypeValue()); } @@ -3772,8 +3413,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.UptimeCheckConfig.HttpCheck) e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.UptimeCheckConfig.HttpCheck) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3782,124 +3422,94 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private int requestMethod_ = 0; /** - * - * *
        * The HTTP request method to use for the check. If set to
        * `METHOD_UNSPECIFIED` then `request_method` defaults to `GET`.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8; - * - * + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8; * @return The enum numeric value on the wire for requestMethod. */ - @java.lang.Override - public int getRequestMethodValue() { + @java.lang.Override public int getRequestMethodValue() { return requestMethod_; } /** - * - * *
        * The HTTP request method to use for the check. If set to
        * `METHOD_UNSPECIFIED` then `request_method` defaults to `GET`.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8; - * - * + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8; * @param value The enum numeric value on the wire for requestMethod to set. * @return This builder for chaining. */ public Builder setRequestMethodValue(int value) { - + requestMethod_ = value; onChanged(); return this; } /** - * - * *
        * The HTTP request method to use for the check. If set to
        * `METHOD_UNSPECIFIED` then `request_method` defaults to `GET`.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8; - * - * + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8; * @return The requestMethod. */ @java.lang.Override public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod getRequestMethod() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod result = - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod.valueOf( - requestMethod_); - return result == null - ? com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod.UNRECOGNIZED - : result; + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod result = com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod.valueOf(requestMethod_); + return result == null ? com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod.UNRECOGNIZED : result; } /** - * - * *
        * The HTTP request method to use for the check. If set to
        * `METHOD_UNSPECIFIED` then `request_method` defaults to `GET`.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8; - * - * + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8; * @param value The requestMethod to set. * @return This builder for chaining. */ - public Builder setRequestMethod( - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod value) { + public Builder setRequestMethod(com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod value) { if (value == null) { throw new NullPointerException(); } - + requestMethod_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The HTTP request method to use for the check. If set to
        * `METHOD_UNSPECIFIED` then `request_method` defaults to `GET`.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8; - * - * + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8; * @return This builder for chaining. */ public Builder clearRequestMethod() { - + requestMethod_ = 0; onChanged(); return this; } - private boolean useSsl_; + private boolean useSsl_ ; /** - * - * *
        * If `true`, use HTTPS instead of HTTP to run the check.
        * 
* * bool use_ssl = 1; - * * @return The useSsl. */ @java.lang.Override @@ -3907,36 +3517,30 @@ public boolean getUseSsl() { return useSsl_; } /** - * - * *
        * If `true`, use HTTPS instead of HTTP to run the check.
        * 
* * bool use_ssl = 1; - * * @param value The useSsl to set. * @return This builder for chaining. */ public Builder setUseSsl(boolean value) { - + useSsl_ = value; onChanged(); return this; } /** - * - * *
        * If `true`, use HTTPS instead of HTTP to run the check.
        * 
* * bool use_ssl = 1; - * * @return This builder for chaining. */ public Builder clearUseSsl() { - + useSsl_ = false; onChanged(); return this; @@ -3944,8 +3548,6 @@ public Builder clearUseSsl() { private java.lang.Object path_ = ""; /** - * - * *
        * Optional (defaults to "/"). The path to the page against which to run
        * the check. Will be combined with the `host` (specified within the
@@ -3955,13 +3557,13 @@ public Builder clearUseSsl() {
        * 
* * string path = 2; - * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -3970,8 +3572,6 @@ public java.lang.String getPath() { } } /** - * - * *
        * Optional (defaults to "/"). The path to the page against which to run
        * the check. Will be combined with the `host` (specified within the
@@ -3981,14 +3581,15 @@ public java.lang.String getPath() {
        * 
* * string path = 2; - * * @return The bytes for path. */ - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); path_ = b; return b; } else { @@ -3996,8 +3597,6 @@ public com.google.protobuf.ByteString getPathBytes() { } } /** - * - * *
        * Optional (defaults to "/"). The path to the page against which to run
        * the check. Will be combined with the `host` (specified within the
@@ -4007,22 +3606,20 @@ public com.google.protobuf.ByteString getPathBytes() {
        * 
* * string path = 2; - * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath(java.lang.String value) { + public Builder setPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** - * - * *
        * Optional (defaults to "/"). The path to the page against which to run
        * the check. Will be combined with the `host` (specified within the
@@ -4032,18 +3629,15 @@ public Builder setPath(java.lang.String value) {
        * 
* * string path = 2; - * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** - * - * *
        * Optional (defaults to "/"). The path to the page against which to run
        * the check. Will be combined with the `host` (specified within the
@@ -4053,25 +3647,23 @@ public Builder clearPath() {
        * 
* * string path = 2; - * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes(com.google.protobuf.ByteString value) { + public Builder setPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; } - private int port_; + private int port_ ; /** - * - * *
        * Optional (defaults to 80 when `use_ssl` is `false`, and 443 when
        * `use_ssl` is `true`). The TCP port on the HTTP server against which to
@@ -4080,7 +3672,6 @@ public Builder setPathBytes(com.google.protobuf.ByteString value) {
        * 
* * int32 port = 3; - * * @return The port. */ @java.lang.Override @@ -4088,8 +3679,6 @@ public int getPort() { return port_; } /** - * - * *
        * Optional (defaults to 80 when `use_ssl` is `false`, and 443 when
        * `use_ssl` is `true`). The TCP port on the HTTP server against which to
@@ -4098,19 +3687,16 @@ public int getPort() {
        * 
* * int32 port = 3; - * * @param value The port to set. * @return This builder for chaining. */ public Builder setPort(int value) { - + port_ = value; onChanged(); return this; } /** - * - * *
        * Optional (defaults to 80 when `use_ssl` is `false`, and 443 when
        * `use_ssl` is `true`). The TCP port on the HTTP server against which to
@@ -4119,11 +3705,10 @@ public Builder setPort(int value) {
        * 
* * int32 port = 3; - * * @return This builder for chaining. */ public Builder clearPort() { - + port_ = 0; onChanged(); return this; @@ -4131,63 +3716,44 @@ public Builder clearPort() { private com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication authInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication, - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder, - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthenticationOrBuilder> - authInfoBuilder_; + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication, com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder, com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthenticationOrBuilder> authInfoBuilder_; /** - * - * *
        * The authentication information. Optional when creating an HTTP check;
        * defaults to empty.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; - * - * + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; * @return Whether the authInfo field is set. */ public boolean hasAuthInfo() { return authInfoBuilder_ != null || authInfo_ != null; } /** - * - * *
        * The authentication information. Optional when creating an HTTP check;
        * defaults to empty.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; - * - * + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; * @return The authInfo. */ - public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication - getAuthInfo() { + public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication getAuthInfo() { if (authInfoBuilder_ == null) { - return authInfo_ == null - ? com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication - .getDefaultInstance() - : authInfo_; + return authInfo_ == null ? com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.getDefaultInstance() : authInfo_; } else { return authInfoBuilder_.getMessage(); } } /** - * - * *
        * The authentication information. Optional when creating an HTTP check;
        * defaults to empty.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; - * + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; */ - public Builder setAuthInfo( - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication value) { + public Builder setAuthInfo(com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication value) { if (authInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4201,19 +3767,15 @@ public Builder setAuthInfo( return this; } /** - * - * *
        * The authentication information. Optional when creating an HTTP check;
        * defaults to empty.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; - * + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; */ public Builder setAuthInfo( - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder - builderForValue) { + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder builderForValue) { if (authInfoBuilder_ == null) { authInfo_ = builderForValue.build(); onChanged(); @@ -4224,25 +3786,18 @@ public Builder setAuthInfo( return this; } /** - * - * *
        * The authentication information. Optional when creating an HTTP check;
        * defaults to empty.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; - * + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; */ - public Builder mergeAuthInfo( - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication value) { + public Builder mergeAuthInfo(com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication value) { if (authInfoBuilder_ == null) { if (authInfo_ != null) { authInfo_ = - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.newBuilder( - authInfo_) - .mergeFrom(value) - .buildPartial(); + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.newBuilder(authInfo_).mergeFrom(value).buildPartial(); } else { authInfo_ = value; } @@ -4254,15 +3809,12 @@ public Builder mergeAuthInfo( return this; } /** - * - * *
        * The authentication information. Optional when creating an HTTP check;
        * defaults to empty.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; - * + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; */ public Builder clearAuthInfo() { if (authInfoBuilder_ == null) { @@ -4276,77 +3828,58 @@ public Builder clearAuthInfo() { return this; } /** - * - * *
        * The authentication information. Optional when creating an HTTP check;
        * defaults to empty.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; - * + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; */ - public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder - getAuthInfoBuilder() { - + public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder getAuthInfoBuilder() { + onChanged(); return getAuthInfoFieldBuilder().getBuilder(); } /** - * - * *
        * The authentication information. Optional when creating an HTTP check;
        * defaults to empty.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; - * + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; */ - public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthenticationOrBuilder - getAuthInfoOrBuilder() { + public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthenticationOrBuilder getAuthInfoOrBuilder() { if (authInfoBuilder_ != null) { return authInfoBuilder_.getMessageOrBuilder(); } else { - return authInfo_ == null - ? com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication - .getDefaultInstance() - : authInfo_; + return authInfo_ == null ? + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.getDefaultInstance() : authInfo_; } } /** - * - * *
        * The authentication information. Optional when creating an HTTP check;
        * defaults to empty.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; - * + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication, - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder, - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthenticationOrBuilder> + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication, com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder, com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthenticationOrBuilder> getAuthInfoFieldBuilder() { if (authInfoBuilder_ == null) { - authInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication, - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder, - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck - .BasicAuthenticationOrBuilder>( - getAuthInfo(), getParentForChildren(), isClean()); + authInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication, com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder, com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthenticationOrBuilder>( + getAuthInfo(), + getParentForChildren(), + isClean()); authInfo_ = null; } return authInfoBuilder_; } - private boolean maskHeaders_; + private boolean maskHeaders_ ; /** - * - * *
        * Boolean specifying whether to encrypt the header information.
        * Encryption should be specified for any headers related to authentication
@@ -4357,7 +3890,6 @@ public Builder clearAuthInfo() {
        * 
* * bool mask_headers = 5; - * * @return The maskHeaders. */ @java.lang.Override @@ -4365,8 +3897,6 @@ public boolean getMaskHeaders() { return maskHeaders_; } /** - * - * *
        * Boolean specifying whether to encrypt the header information.
        * Encryption should be specified for any headers related to authentication
@@ -4377,19 +3907,16 @@ public boolean getMaskHeaders() {
        * 
* * bool mask_headers = 5; - * * @param value The maskHeaders to set. * @return This builder for chaining. */ public Builder setMaskHeaders(boolean value) { - + maskHeaders_ = value; onChanged(); return this; } /** - * - * *
        * Boolean specifying whether to encrypt the header information.
        * Encryption should be specified for any headers related to authentication
@@ -4400,33 +3927,31 @@ public Builder setMaskHeaders(boolean value) {
        * 
* * bool mask_headers = 5; - * * @return This builder for chaining. */ public Builder clearMaskHeaders() { - + maskHeaders_ = false; onChanged(); return this; } - private com.google.protobuf.MapField headers_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> headers_; private com.google.protobuf.MapField - internalGetHeaders() { + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HeadersDefaultEntryHolder.defaultEntry); } return headers_; } - private com.google.protobuf.MapField - internalGetMutableHeaders() { - onChanged(); - ; + internalGetMutableHeaders() { + onChanged();; if (headers_ == null) { - headers_ = - com.google.protobuf.MapField.newMapField(HeadersDefaultEntryHolder.defaultEntry); + headers_ = com.google.protobuf.MapField.newMapField( + HeadersDefaultEntryHolder.defaultEntry); } if (!headers_.isMutable()) { headers_ = headers_.copy(); @@ -4438,8 +3963,6 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** - * - * *
        * The list of headers to send as part of the Uptime check request.
        * If two headers have the same key and different values, they should
@@ -4453,22 +3976,22 @@ public int getHeadersCount() {
        *
        * map<string, string> headers = 6;
        */
+
       @java.lang.Override
-      public boolean containsHeaders(java.lang.String key) {
-        if (key == null) {
-          throw new java.lang.NullPointerException();
-        }
+      public boolean containsHeaders(
+          java.lang.String key) {
+        if (key == null) { throw new java.lang.NullPointerException(); }
         return internalGetHeaders().getMap().containsKey(key);
       }
-      /** Use {@link #getHeadersMap()} instead. */
+      /**
+       * Use {@link #getHeadersMap()} instead.
+       */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getHeaders() {
         return getHeadersMap();
       }
       /**
-       *
-       *
        * 
        * The list of headers to send as part of the Uptime check request.
        * If two headers have the same key and different values, they should
@@ -4483,12 +4006,11 @@ public java.util.Map getHeaders() {
        * map<string, string> headers = 6;
        */
       @java.lang.Override
+
       public java.util.Map getHeadersMap() {
         return internalGetHeaders().getMap();
       }
       /**
-       *
-       *
        * 
        * The list of headers to send as part of the Uptime check request.
        * If two headers have the same key and different values, they should
@@ -4503,17 +4025,16 @@ public java.util.Map getHeadersMap() {
        * map<string, string> headers = 6;
        */
       @java.lang.Override
+
       public java.lang.String getHeadersOrDefault(
-          java.lang.String key, java.lang.String defaultValue) {
-        if (key == null) {
-          throw new java.lang.NullPointerException();
-        }
-        java.util.Map map = internalGetHeaders().getMap();
+          java.lang.String key,
+          java.lang.String defaultValue) {
+        if (key == null) { throw new java.lang.NullPointerException(); }
+        java.util.Map map =
+            internalGetHeaders().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
-       *
-       *
        * 
        * The list of headers to send as part of the Uptime check request.
        * If two headers have the same key and different values, they should
@@ -4528,11 +4049,12 @@ public java.lang.String getHeadersOrDefault(
        * map<string, string> headers = 6;
        */
       @java.lang.Override
-      public java.lang.String getHeadersOrThrow(java.lang.String key) {
-        if (key == null) {
-          throw new java.lang.NullPointerException();
-        }
-        java.util.Map map = internalGetHeaders().getMap();
+
+      public java.lang.String getHeadersOrThrow(
+          java.lang.String key) {
+        if (key == null) { throw new java.lang.NullPointerException(); }
+        java.util.Map map =
+            internalGetHeaders().getMap();
         if (!map.containsKey(key)) {
           throw new java.lang.IllegalArgumentException();
         }
@@ -4540,12 +4062,11 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
       }
 
       public Builder clearHeaders() {
-        internalGetMutableHeaders().getMutableMap().clear();
+        internalGetMutableHeaders().getMutableMap()
+            .clear();
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of headers to send as part of the Uptime check request.
        * If two headers have the same key and different values, they should
@@ -4559,21 +4080,23 @@ public Builder clearHeaders() {
        *
        * map<string, string> headers = 6;
        */
-      public Builder removeHeaders(java.lang.String key) {
-        if (key == null) {
-          throw new java.lang.NullPointerException();
-        }
-        internalGetMutableHeaders().getMutableMap().remove(key);
+
+      public Builder removeHeaders(
+          java.lang.String key) {
+        if (key == null) { throw new java.lang.NullPointerException(); }
+        internalGetMutableHeaders().getMutableMap()
+            .remove(key);
         return this;
       }
-      /** Use alternate mutation accessors instead. */
+      /**
+       * Use alternate mutation accessors instead.
+       */
       @java.lang.Deprecated
-      public java.util.Map getMutableHeaders() {
+      public java.util.Map
+      getMutableHeaders() {
         return internalGetMutableHeaders().getMutableMap();
       }
       /**
-       *
-       *
        * 
        * The list of headers to send as part of the Uptime check request.
        * If two headers have the same key and different values, they should
@@ -4587,19 +4110,16 @@ public java.util.Map getMutableHeaders() {
        *
        * map<string, string> headers = 6;
        */
-      public Builder putHeaders(java.lang.String key, java.lang.String value) {
-        if (key == null) {
-          throw new java.lang.NullPointerException();
-        }
-        if (value == null) {
-          throw new java.lang.NullPointerException();
-        }
-        internalGetMutableHeaders().getMutableMap().put(key, value);
+      public Builder putHeaders(
+          java.lang.String key,
+          java.lang.String value) {
+        if (key == null) { throw new java.lang.NullPointerException(); }
+        if (value == null) { throw new java.lang.NullPointerException(); }
+        internalGetMutableHeaders().getMutableMap()
+            .put(key, value);
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of headers to send as part of the Uptime check request.
        * If two headers have the same key and different values, they should
@@ -4613,15 +4133,16 @@ public Builder putHeaders(java.lang.String key, java.lang.String value) {
        *
        * map<string, string> headers = 6;
        */
-      public Builder putAllHeaders(java.util.Map values) {
-        internalGetMutableHeaders().getMutableMap().putAll(values);
+
+      public Builder putAllHeaders(
+          java.util.Map values) {
+        internalGetMutableHeaders().getMutableMap()
+            .putAll(values);
         return this;
       }
 
       private int contentType_ = 0;
       /**
-       *
-       *
        * 
        * The content type header to use for the check. The following
        * configurations result in errors:
@@ -4633,18 +4154,13 @@ public Builder putAllHeaders(java.util.Map v
        * `headers` field. The `content_type` field should be used instead.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType content_type = 9; - * - * + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType content_type = 9; * @return The enum numeric value on the wire for contentType. */ - @java.lang.Override - public int getContentTypeValue() { + @java.lang.Override public int getContentTypeValue() { return contentType_; } /** - * - * *
        * The content type header to use for the check. The following
        * configurations result in errors:
@@ -4656,21 +4172,17 @@ public int getContentTypeValue() {
        * `headers` field. The `content_type` field should be used instead.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType content_type = 9; - * - * + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType content_type = 9; * @param value The enum numeric value on the wire for contentType to set. * @return This builder for chaining. */ public Builder setContentTypeValue(int value) { - + contentType_ = value; onChanged(); return this; } /** - * - * *
        * The content type header to use for the check. The following
        * configurations result in errors:
@@ -4682,23 +4194,16 @@ public Builder setContentTypeValue(int value) {
        * `headers` field. The `content_type` field should be used instead.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType content_type = 9; - * - * + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType content_type = 9; * @return The contentType. */ @java.lang.Override public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType getContentType() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType result = - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType.valueOf(contentType_); - return result == null - ? com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType.UNRECOGNIZED - : result; + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType result = com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType.valueOf(contentType_); + return result == null ? com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType.UNRECOGNIZED : result; } /** - * - * *
        * The content type header to use for the check. The following
        * configurations result in errors:
@@ -4710,25 +4215,20 @@ public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType getConte
        * `headers` field. The `content_type` field should be used instead.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType content_type = 9; - * - * + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType content_type = 9; * @param value The contentType to set. * @return This builder for chaining. */ - public Builder setContentType( - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType value) { + public Builder setContentType(com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType value) { if (value == null) { throw new NullPointerException(); } - + contentType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The content type header to use for the check. The following
        * configurations result in errors:
@@ -4740,22 +4240,18 @@ public Builder setContentType(
        * `headers` field. The `content_type` field should be used instead.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType content_type = 9; - * - * + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType content_type = 9; * @return This builder for chaining. */ public Builder clearContentType() { - + contentType_ = 0; onChanged(); return this; } - private boolean validateSsl_; + private boolean validateSsl_ ; /** - * - * *
        * Boolean specifying whether to include SSL certificate validation as a
        * part of the Uptime check. Only applies to checks where
@@ -4764,7 +4260,6 @@ public Builder clearContentType() {
        * 
* * bool validate_ssl = 7; - * * @return The validateSsl. */ @java.lang.Override @@ -4772,8 +4267,6 @@ public boolean getValidateSsl() { return validateSsl_; } /** - * - * *
        * Boolean specifying whether to include SSL certificate validation as a
        * part of the Uptime check. Only applies to checks where
@@ -4782,19 +4275,16 @@ public boolean getValidateSsl() {
        * 
* * bool validate_ssl = 7; - * * @param value The validateSsl to set. * @return This builder for chaining. */ public Builder setValidateSsl(boolean value) { - + validateSsl_ = value; onChanged(); return this; } /** - * - * *
        * Boolean specifying whether to include SSL certificate validation as a
        * part of the Uptime check. Only applies to checks where
@@ -4803,11 +4293,10 @@ public Builder setValidateSsl(boolean value) {
        * 
* * bool validate_ssl = 7; - * * @return This builder for chaining. */ public Builder clearValidateSsl() { - + validateSsl_ = false; onChanged(); return this; @@ -4815,8 +4304,6 @@ public Builder clearValidateSsl() { private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
        * The request body associated with the HTTP POST request. If `content_type`
        * is `URL_ENCODED`, the body passed in must be URL-encoded. Users can
@@ -4829,7 +4316,6 @@ public Builder clearValidateSsl() {
        * 
* * bytes body = 10; - * * @return The body. */ @java.lang.Override @@ -4837,8 +4323,6 @@ public com.google.protobuf.ByteString getBody() { return body_; } /** - * - * *
        * The request body associated with the HTTP POST request. If `content_type`
        * is `URL_ENCODED`, the body passed in must be URL-encoded. Users can
@@ -4851,22 +4335,19 @@ public com.google.protobuf.ByteString getBody() {
        * 
* * bytes body = 10; - * * @param value The body to set. * @return This builder for chaining. */ public Builder setBody(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + body_ = value; onChanged(); return this; } /** - * - * *
        * The request body associated with the HTTP POST request. If `content_type`
        * is `URL_ENCODED`, the body passed in must be URL-encoded. Users can
@@ -4879,16 +4360,14 @@ public Builder setBody(com.google.protobuf.ByteString value) {
        * 
* * bytes body = 10; - * * @return This builder for chaining. */ public Builder clearBody() { - + body_ = getDefaultInstance().getBody(); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4901,12 +4380,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.UptimeCheckConfig.HttpCheck) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.UptimeCheckConfig.HttpCheck) private static final com.google.monitoring.v3.UptimeCheckConfig.HttpCheck DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.UptimeCheckConfig.HttpCheck(); } @@ -4915,16 +4394,16 @@ public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HttpCheck parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new HttpCheck(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HttpCheck parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new HttpCheck(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4939,16 +4418,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface TcpCheckOrBuilder - extends + public interface TcpCheckOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.UptimeCheckConfig.TcpCheck) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The TCP port on the server against which to run the check. Will be
      * combined with host (specified within the `monitored_resource`) to
@@ -4956,43 +4433,41 @@ public interface TcpCheckOrBuilder
      * 
* * int32 port = 1; - * * @return The port. */ int getPort(); } /** - * - * *
    * Information required for a TCP Uptime check request.
    * 
* * Protobuf type {@code google.monitoring.v3.UptimeCheckConfig.TcpCheck} */ - public static final class TcpCheck extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class TcpCheck extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.UptimeCheckConfig.TcpCheck) TcpCheckOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TcpCheck.newBuilder() to construct. private TcpCheck(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private TcpCheck() {} + private TcpCheck() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TcpCheck(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TcpCheck( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -5011,50 +4486,46 @@ private TcpCheck( case 0: done = true; break; - case 8: - { - port_ = input.readInt32(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + + port_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.UptimeProto - .internal_static_google_monitoring_v3_UptimeCheckConfig_TcpCheck_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_TcpCheck_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.UptimeProto - .internal_static_google_monitoring_v3_UptimeCheckConfig_TcpCheck_fieldAccessorTable + return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_TcpCheck_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.class, - com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.Builder.class); + com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.class, com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.Builder.class); } public static final int PORT_FIELD_NUMBER = 1; private int port_; /** - * - * *
      * The TCP port on the server against which to run the check. Will be
      * combined with host (specified within the `monitored_resource`) to
@@ -5062,7 +4533,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * int32 port = 1; - * * @return The port. */ @java.lang.Override @@ -5071,7 +4541,6 @@ public int getPort() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5083,7 +4552,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 (port_ != 0) { output.writeInt32(1, port_); } @@ -5097,7 +4567,8 @@ public int getSerializedSize() { size = 0; if (port_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, port_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, port_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -5107,15 +4578,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.monitoring.v3.UptimeCheckConfig.TcpCheck)) { return super.equals(obj); } - com.google.monitoring.v3.UptimeCheckConfig.TcpCheck other = - (com.google.monitoring.v3.UptimeCheckConfig.TcpCheck) obj; + com.google.monitoring.v3.UptimeCheckConfig.TcpCheck other = (com.google.monitoring.v3.UptimeCheckConfig.TcpCheck) obj; - if (getPort() != other.getPort()) return false; + if (getPort() + != other.getPort()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -5135,94 +4606,87 @@ public int hashCode() { } public static com.google.monitoring.v3.UptimeCheckConfig.TcpCheck parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.UptimeCheckConfig.TcpCheck parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.UptimeCheckConfig.TcpCheck parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.UptimeCheckConfig.TcpCheck parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.UptimeCheckConfig.TcpCheck parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.UptimeCheckConfig.TcpCheck parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.UptimeCheckConfig.TcpCheck parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.UptimeCheckConfig.TcpCheck parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.UptimeCheckConfig.TcpCheck parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.UptimeCheckConfig.TcpCheck parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.UptimeCheckConfig.TcpCheck parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.UptimeCheckConfig.TcpCheck parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.UptimeCheckConfig.TcpCheck parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.UptimeCheckConfig.TcpCheck parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.UptimeCheckConfig.TcpCheck prototype) { + public static Builder newBuilder(com.google.monitoring.v3.UptimeCheckConfig.TcpCheck prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5232,32 +4696,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Information required for a TCP Uptime check request.
      * 
* * Protobuf type {@code google.monitoring.v3.UptimeCheckConfig.TcpCheck} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.UptimeCheckConfig.TcpCheck) com.google.monitoring.v3.UptimeCheckConfig.TcpCheckOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.UptimeProto - .internal_static_google_monitoring_v3_UptimeCheckConfig_TcpCheck_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_TcpCheck_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.UptimeProto - .internal_static_google_monitoring_v3_UptimeCheckConfig_TcpCheck_fieldAccessorTable + return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_TcpCheck_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.class, - com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.Builder.class); + com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.class, com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.Builder.class); } // Construct using com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.newBuilder() @@ -5265,15 +4724,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -5283,9 +4743,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.UptimeProto - .internal_static_google_monitoring_v3_UptimeCheckConfig_TcpCheck_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_TcpCheck_descriptor; } @java.lang.Override @@ -5304,8 +4764,7 @@ public com.google.monitoring.v3.UptimeCheckConfig.TcpCheck build() { @java.lang.Override public com.google.monitoring.v3.UptimeCheckConfig.TcpCheck buildPartial() { - com.google.monitoring.v3.UptimeCheckConfig.TcpCheck result = - new com.google.monitoring.v3.UptimeCheckConfig.TcpCheck(this); + com.google.monitoring.v3.UptimeCheckConfig.TcpCheck result = new com.google.monitoring.v3.UptimeCheckConfig.TcpCheck(this); result.port_ = port_; onBuilt(); return result; @@ -5315,41 +4774,38 @@ public com.google.monitoring.v3.UptimeCheckConfig.TcpCheck 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.monitoring.v3.UptimeCheckConfig.TcpCheck) { - return mergeFrom((com.google.monitoring.v3.UptimeCheckConfig.TcpCheck) other); + return mergeFrom((com.google.monitoring.v3.UptimeCheckConfig.TcpCheck)other); } else { super.mergeFrom(other); return this; @@ -5357,8 +4813,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.UptimeCheckConfig.TcpCheck other) { - if (other == com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.getDefaultInstance()) return this; if (other.getPort() != 0) { setPort(other.getPort()); } @@ -5381,8 +4836,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.UptimeCheckConfig.TcpCheck) e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.UptimeCheckConfig.TcpCheck) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -5392,10 +4846,8 @@ public Builder mergeFrom( return this; } - private int port_; + private int port_ ; /** - * - * *
        * The TCP port on the server against which to run the check. Will be
        * combined with host (specified within the `monitored_resource`) to
@@ -5403,7 +4855,6 @@ public Builder mergeFrom(
        * 
* * int32 port = 1; - * * @return The port. */ @java.lang.Override @@ -5411,8 +4862,6 @@ public int getPort() { return port_; } /** - * - * *
        * The TCP port on the server against which to run the check. Will be
        * combined with host (specified within the `monitored_resource`) to
@@ -5420,19 +4869,16 @@ public int getPort() {
        * 
* * int32 port = 1; - * * @param value The port to set. * @return This builder for chaining. */ public Builder setPort(int value) { - + port_ = value; onChanged(); return this; } /** - * - * *
        * The TCP port on the server against which to run the check. Will be
        * combined with host (specified within the `monitored_resource`) to
@@ -5440,16 +4886,14 @@ public Builder setPort(int value) {
        * 
* * int32 port = 1; - * * @return This builder for chaining. */ public Builder clearPort() { - + port_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5462,12 +4906,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.UptimeCheckConfig.TcpCheck) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.UptimeCheckConfig.TcpCheck) private static final com.google.monitoring.v3.UptimeCheckConfig.TcpCheck DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.UptimeCheckConfig.TcpCheck(); } @@ -5476,16 +4920,16 @@ public static com.google.monitoring.v3.UptimeCheckConfig.TcpCheck getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TcpCheck parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TcpCheck(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TcpCheck parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TcpCheck(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5500,74 +4944,57 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.UptimeCheckConfig.TcpCheck getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ContentMatcherOrBuilder - extends + public interface ContentMatcherOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.UptimeCheckConfig.ContentMatcher) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * String or regex content to match. Maximum 1024 bytes. An empty `content`
      * string indicates no content matching is to be performed.
      * 
* * string content = 1; - * * @return The content. */ java.lang.String getContent(); /** - * - * *
      * String or regex content to match. Maximum 1024 bytes. An empty `content`
      * string indicates no content matching is to be performed.
      * 
* * string content = 1; - * * @return The bytes for content. */ - com.google.protobuf.ByteString getContentBytes(); + com.google.protobuf.ByteString + getContentBytes(); /** - * - * *
      * The type of content matcher that will be applied to the server output,
      * compared to the `content` string when the check is run.
      * 
* - * - * .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2; - * - * + * .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2; * @return The enum numeric value on the wire for matcher. */ int getMatcherValue(); /** - * - * *
      * The type of content matcher that will be applied to the server output,
      * compared to the `content` string when the check is run.
      * 
* - * - * .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2; - * - * + * .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2; * @return The matcher. */ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption getMatcher(); } /** - * - * *
    * Optional. Used to perform content matching. This allows matching based on
    * substrings and regular expressions, together with their negations. Only the
@@ -5578,16 +5005,15 @@ public interface ContentMatcherOrBuilder
    *
    * Protobuf type {@code google.monitoring.v3.UptimeCheckConfig.ContentMatcher}
    */
-  public static final class ContentMatcher extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class ContentMatcher extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.monitoring.v3.UptimeCheckConfig.ContentMatcher)
       ContentMatcherOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use ContentMatcher.newBuilder() to construct.
     private ContentMatcher(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private ContentMatcher() {
       content_ = "";
       matcher_ = 0;
@@ -5595,15 +5021,16 @@ private ContentMatcher() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new ContentMatcher();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private ContentMatcher(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -5622,68 +5049,60 @@ private ContentMatcher(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                content_ = s;
-                break;
-              }
-            case 16:
-              {
-                int rawValue = input.readEnum();
+              content_ = s;
+              break;
+            }
+            case 16: {
+              int rawValue = input.readEnum();
 
-                matcher_ = rawValue;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              matcher_ = rawValue;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.monitoring.v3.UptimeProto
-          .internal_static_google_monitoring_v3_UptimeCheckConfig_ContentMatcher_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_ContentMatcher_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.UptimeProto
-          .internal_static_google_monitoring_v3_UptimeCheckConfig_ContentMatcher_fieldAccessorTable
+      return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_ContentMatcher_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.class,
-              com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder.class);
+              com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.class, com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder.class);
     }
 
     /**
-     *
-     *
      * 
      * Options to perform content matching.
      * 
* - * Protobuf enum {@code - * google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption} + * Protobuf enum {@code google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption} */ - public enum ContentMatcherOption implements com.google.protobuf.ProtocolMessageEnum { + public enum ContentMatcherOption + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * No content matcher type specified (maintained for backward
        * compatibility, but deprecated for future use).
@@ -5694,8 +5113,6 @@ public enum ContentMatcherOption implements com.google.protobuf.ProtocolMessageE
        */
       CONTENT_MATCHER_OPTION_UNSPECIFIED(0),
       /**
-       *
-       *
        * 
        * Selects substring matching. The match succeeds if the output contains
        * the `content` string.  This is the default value for checks without
@@ -5707,8 +5124,6 @@ public enum ContentMatcherOption implements com.google.protobuf.ProtocolMessageE
        */
       CONTAINS_STRING(1),
       /**
-       *
-       *
        * 
        * Selects negation of substring matching. The match succeeds if the
        * output does _NOT_ contain the `content` string.
@@ -5718,8 +5133,6 @@ public enum ContentMatcherOption implements com.google.protobuf.ProtocolMessageE
        */
       NOT_CONTAINS_STRING(2),
       /**
-       *
-       *
        * 
        * Selects regular-expression matching. The match succeeds of the output
        * matches the regular expression specified in the `content` string.
@@ -5730,8 +5143,6 @@ public enum ContentMatcherOption implements com.google.protobuf.ProtocolMessageE
        */
       MATCHES_REGEX(3),
       /**
-       *
-       *
        * 
        * Selects negation of regular-expression matching. The match succeeds if
        * the output does _NOT_ match the regular expression specified in the
@@ -5746,8 +5157,6 @@ public enum ContentMatcherOption implements com.google.protobuf.ProtocolMessageE
       ;
 
       /**
-       *
-       *
        * 
        * No content matcher type specified (maintained for backward
        * compatibility, but deprecated for future use).
@@ -5758,8 +5167,6 @@ public enum ContentMatcherOption implements com.google.protobuf.ProtocolMessageE
        */
       public static final int CONTENT_MATCHER_OPTION_UNSPECIFIED_VALUE = 0;
       /**
-       *
-       *
        * 
        * Selects substring matching. The match succeeds if the output contains
        * the `content` string.  This is the default value for checks without
@@ -5771,8 +5178,6 @@ public enum ContentMatcherOption implements com.google.protobuf.ProtocolMessageE
        */
       public static final int CONTAINS_STRING_VALUE = 1;
       /**
-       *
-       *
        * 
        * Selects negation of substring matching. The match succeeds if the
        * output does _NOT_ contain the `content` string.
@@ -5782,8 +5187,6 @@ public enum ContentMatcherOption implements com.google.protobuf.ProtocolMessageE
        */
       public static final int NOT_CONTAINS_STRING_VALUE = 2;
       /**
-       *
-       *
        * 
        * Selects regular-expression matching. The match succeeds of the output
        * matches the regular expression specified in the `content` string.
@@ -5794,8 +5197,6 @@ public enum ContentMatcherOption implements com.google.protobuf.ProtocolMessageE
        */
       public static final int MATCHES_REGEX_VALUE = 3;
       /**
-       *
-       *
        * 
        * Selects negation of regular-expression matching. The match succeeds if
        * the output does _NOT_ match the regular expression specified in the
@@ -5807,6 +5208,7 @@ public enum ContentMatcherOption implements com.google.protobuf.ProtocolMessageE
        */
       public static final int NOT_MATCHES_REGEX_VALUE = 4;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -5831,18 +5233,12 @@ public static ContentMatcherOption valueOf(int value) {
        */
       public static ContentMatcherOption forNumber(int value) {
         switch (value) {
-          case 0:
-            return CONTENT_MATCHER_OPTION_UNSPECIFIED;
-          case 1:
-            return CONTAINS_STRING;
-          case 2:
-            return NOT_CONTAINS_STRING;
-          case 3:
-            return MATCHES_REGEX;
-          case 4:
-            return NOT_MATCHES_REGEX;
-          default:
-            return null;
+          case 0: return CONTENT_MATCHER_OPTION_UNSPECIFIED;
+          case 1: return CONTAINS_STRING;
+          case 2: return NOT_CONTAINS_STRING;
+          case 3: return MATCHES_REGEX;
+          case 4: return NOT_MATCHES_REGEX;
+          default: return null;
         }
       }
 
@@ -5850,31 +5246,29 @@ public static ContentMatcherOption forNumber(int value) {
           internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          ContentMatcherOption> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public ContentMatcherOption findValueByNumber(int number) {
+                return ContentMatcherOption.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap
-          internalValueMap =
-              new com.google.protobuf.Internal.EnumLiteMap() {
-                public ContentMatcherOption findValueByNumber(int number) {
-                  return ContentMatcherOption.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.monitoring.v3.UptimeCheckConfig.ContentMatcher.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final ContentMatcherOption[] VALUES = values();
@@ -5882,7 +5276,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
       public static ContentMatcherOption 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;
@@ -5902,15 +5297,12 @@ private ContentMatcherOption(int value) {
     public static final int CONTENT_FIELD_NUMBER = 1;
     private volatile java.lang.Object content_;
     /**
-     *
-     *
      * 
      * String or regex content to match. Maximum 1024 bytes. An empty `content`
      * string indicates no content matching is to be performed.
      * 
* * string content = 1; - * * @return The content. */ @java.lang.Override @@ -5919,30 +5311,30 @@ public java.lang.String getContent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); content_ = s; return s; } } /** - * - * *
      * String or regex content to match. Maximum 1024 bytes. An empty `content`
      * string indicates no content matching is to be performed.
      * 
* * string content = 1; - * * @return The bytes for content. */ @java.lang.Override - public com.google.protobuf.ByteString getContentBytes() { + public com.google.protobuf.ByteString + getContentBytes() { java.lang.Object ref = content_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); content_ = b; return b; } else { @@ -5953,52 +5345,33 @@ public com.google.protobuf.ByteString getContentBytes() { public static final int MATCHER_FIELD_NUMBER = 2; private int matcher_; /** - * - * *
      * The type of content matcher that will be applied to the server output,
      * compared to the `content` string when the check is run.
      * 
* - * - * .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2; - * - * + * .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2; * @return The enum numeric value on the wire for matcher. */ - @java.lang.Override - public int getMatcherValue() { + @java.lang.Override public int getMatcherValue() { return matcher_; } /** - * - * *
      * The type of content matcher that will be applied to the server output,
      * compared to the `content` string when the check is run.
      * 
* - * - * .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2; - * - * + * .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2; * @return The matcher. */ - @java.lang.Override - public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption - getMatcher() { + @java.lang.Override public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption getMatcher() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption result = - com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption.valueOf( - matcher_); - return result == null - ? com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption - .UNRECOGNIZED - : result; + com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption result = com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption.valueOf(matcher_); + return result == null ? com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6010,14 +5383,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(content_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, content_); } - if (matcher_ - != com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption - .CONTENT_MATCHER_OPTION_UNSPECIFIED - .getNumber()) { + if (matcher_ != com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption.CONTENT_MATCHER_OPTION_UNSPECIFIED.getNumber()) { output.writeEnum(2, matcher_); } unknownFields.writeTo(output); @@ -6032,11 +5403,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(content_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, content_); } - if (matcher_ - != com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption - .CONTENT_MATCHER_OPTION_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, matcher_); + if (matcher_ != com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption.CONTENT_MATCHER_OPTION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, matcher_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -6046,15 +5415,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.monitoring.v3.UptimeCheckConfig.ContentMatcher)) { return super.equals(obj); } - com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher other = - (com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher) obj; + com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher other = (com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher) obj; - if (!getContent().equals(other.getContent())) return false; + if (!getContent() + .equals(other.getContent())) return false; if (matcher_ != other.matcher_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -6077,94 +5446,87 @@ public int hashCode() { } public static com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher prototype) { + public static Builder newBuilder(com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -6174,8 +5536,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Optional. Used to perform content matching. This allows matching based on
      * substrings and regular expressions, together with their negations. Only the
@@ -6186,24 +5546,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.monitoring.v3.UptimeCheckConfig.ContentMatcher}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.monitoring.v3.UptimeCheckConfig.ContentMatcher)
         com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.monitoring.v3.UptimeProto
-            .internal_static_google_monitoring_v3_UptimeCheckConfig_ContentMatcher_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_ContentMatcher_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.monitoring.v3.UptimeProto
-            .internal_static_google_monitoring_v3_UptimeCheckConfig_ContentMatcher_fieldAccessorTable
+        return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_ContentMatcher_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.class,
-                com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder.class);
+                com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.class, com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder.class);
       }
 
       // Construct using com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.newBuilder()
@@ -6211,15 +5568,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -6231,9 +5589,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.monitoring.v3.UptimeProto
-            .internal_static_google_monitoring_v3_UptimeCheckConfig_ContentMatcher_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_ContentMatcher_descriptor;
       }
 
       @java.lang.Override
@@ -6252,8 +5610,7 @@ public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher build() {
 
       @java.lang.Override
       public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher buildPartial() {
-        com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher result =
-            new com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher(this);
+        com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher result = new com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher(this);
         result.content_ = content_;
         result.matcher_ = matcher_;
         onBuilt();
@@ -6264,41 +5621,38 @@ public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher 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.monitoring.v3.UptimeCheckConfig.ContentMatcher) {
-          return mergeFrom((com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher) other);
+          return mergeFrom((com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -6306,8 +5660,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher other) {
-        if (other == com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.getDefaultInstance())
-          return this;
+        if (other == com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.getDefaultInstance()) return this;
         if (!other.getContent().isEmpty()) {
           content_ = other.content_;
           onChanged();
@@ -6334,8 +5687,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher) e.getUnfinishedMessage();
+          parsedMessage = (com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -6347,21 +5699,19 @@ public Builder mergeFrom(
 
       private java.lang.Object content_ = "";
       /**
-       *
-       *
        * 
        * String or regex content to match. Maximum 1024 bytes. An empty `content`
        * string indicates no content matching is to be performed.
        * 
* * string content = 1; - * * @return The content. */ public java.lang.String getContent() { java.lang.Object ref = content_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); content_ = s; return s; @@ -6370,22 +5720,21 @@ public java.lang.String getContent() { } } /** - * - * *
        * String or regex content to match. Maximum 1024 bytes. An empty `content`
        * string indicates no content matching is to be performed.
        * 
* * string content = 1; - * * @return The bytes for content. */ - public com.google.protobuf.ByteString getContentBytes() { + public com.google.protobuf.ByteString + getContentBytes() { java.lang.Object ref = content_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); content_ = b; return b; } else { @@ -6393,64 +5742,57 @@ public com.google.protobuf.ByteString getContentBytes() { } } /** - * - * *
        * String or regex content to match. Maximum 1024 bytes. An empty `content`
        * string indicates no content matching is to be performed.
        * 
* * string content = 1; - * * @param value The content to set. * @return This builder for chaining. */ - public Builder setContent(java.lang.String value) { + public Builder setContent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + content_ = value; onChanged(); return this; } /** - * - * *
        * String or regex content to match. Maximum 1024 bytes. An empty `content`
        * string indicates no content matching is to be performed.
        * 
* * string content = 1; - * * @return This builder for chaining. */ public Builder clearContent() { - + content_ = getDefaultInstance().getContent(); onChanged(); return this; } /** - * - * *
        * String or regex content to match. Maximum 1024 bytes. An empty `content`
        * string indicates no content matching is to be performed.
        * 
* * string content = 1; - * * @param value The bytes for content to set. * @return This builder for chaining. */ - public Builder setContentBytes(com.google.protobuf.ByteString value) { + public Builder setContentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + content_ = value; onChanged(); return this; @@ -6458,116 +5800,82 @@ public Builder setContentBytes(com.google.protobuf.ByteString value) { private int matcher_ = 0; /** - * - * *
        * The type of content matcher that will be applied to the server output,
        * compared to the `content` string when the check is run.
        * 
* - * - * .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2; - * - * + * .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2; * @return The enum numeric value on the wire for matcher. */ - @java.lang.Override - public int getMatcherValue() { + @java.lang.Override public int getMatcherValue() { return matcher_; } /** - * - * *
        * The type of content matcher that will be applied to the server output,
        * compared to the `content` string when the check is run.
        * 
* - * - * .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2; - * - * + * .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2; * @param value The enum numeric value on the wire for matcher to set. * @return This builder for chaining. */ public Builder setMatcherValue(int value) { - + matcher_ = value; onChanged(); return this; } /** - * - * *
        * The type of content matcher that will be applied to the server output,
        * compared to the `content` string when the check is run.
        * 
* - * - * .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2; - * - * + * .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2; * @return The matcher. */ @java.lang.Override - public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption - getMatcher() { + public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption getMatcher() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption result = - com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption.valueOf( - matcher_); - return result == null - ? com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption - .UNRECOGNIZED - : result; + com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption result = com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption.valueOf(matcher_); + return result == null ? com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption.UNRECOGNIZED : result; } /** - * - * *
        * The type of content matcher that will be applied to the server output,
        * compared to the `content` string when the check is run.
        * 
* - * - * .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2; - * - * + * .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2; * @param value The matcher to set. * @return This builder for chaining. */ - public Builder setMatcher( - com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption value) { + public Builder setMatcher(com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption value) { if (value == null) { throw new NullPointerException(); } - + matcher_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The type of content matcher that will be applied to the server output,
        * compared to the `content` string when the check is run.
        * 
* - * - * .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2; - * - * + * .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2; * @return This builder for chaining. */ public Builder clearMatcher() { - + matcher_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6580,12 +5888,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.UptimeCheckConfig.ContentMatcher) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.UptimeCheckConfig.ContentMatcher) private static final com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher(); } @@ -6594,16 +5902,16 @@ public static com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ContentMatcher parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ContentMatcher(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ContentMatcher parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ContentMatcher(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6618,20 +5926,18 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int resourceCase_ = 0; private java.lang.Object resource_; - public enum ResourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { MONITORED_RESOURCE(3), RESOURCE_GROUP(4), RESOURCE_NOT_SET(0); private final int value; - private ResourceCase(int value) { this.value = value; } @@ -6647,38 +5953,32 @@ public static ResourceCase valueOf(int value) { public static ResourceCase forNumber(int value) { switch (value) { - case 3: - return MONITORED_RESOURCE; - case 4: - return RESOURCE_GROUP; - case 0: - return RESOURCE_NOT_SET; - default: - return null; + case 3: return MONITORED_RESOURCE; + case 4: return RESOURCE_GROUP; + case 0: return RESOURCE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ResourceCase getResourceCase() { - return ResourceCase.forNumber(resourceCase_); + public ResourceCase + getResourceCase() { + return ResourceCase.forNumber( + resourceCase_); } private int checkRequestTypeCase_ = 0; private java.lang.Object checkRequestType_; - public enum CheckRequestTypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { HTTP_CHECK(5), TCP_CHECK(6), CHECKREQUESTTYPE_NOT_SET(0); private final int value; - private CheckRequestTypeCase(int value) { this.value = value; } @@ -6694,31 +5994,26 @@ public static CheckRequestTypeCase valueOf(int value) { public static CheckRequestTypeCase forNumber(int value) { switch (value) { - case 5: - return HTTP_CHECK; - case 6: - return TCP_CHECK; - case 0: - return CHECKREQUESTTYPE_NOT_SET; - default: - return null; + case 5: return HTTP_CHECK; + case 6: return TCP_CHECK; + case 0: return CHECKREQUESTTYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public CheckRequestTypeCase getCheckRequestTypeCase() { - return CheckRequestTypeCase.forNumber(checkRequestTypeCase_); + public CheckRequestTypeCase + getCheckRequestTypeCase() { + return CheckRequestTypeCase.forNumber( + checkRequestTypeCase_); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * A unique resource name for this Uptime check configuration. The format is:
    *      projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
@@ -6730,7 +6025,6 @@ public CheckRequestTypeCase getCheckRequestTypeCase() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -6739,15 +6033,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * A unique resource name for this Uptime check configuration. The format is:
    *      projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
@@ -6759,15 +6052,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -6778,8 +6072,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * A human-friendly name for the Uptime check configuration. The display name
    * should be unique within a Stackdriver Workspace in order to make it easier
@@ -6787,7 +6079,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -6796,15 +6087,14 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * A human-friendly name for the Uptime check configuration. The display name
    * should be unique within a Stackdriver Workspace in order to make it easier
@@ -6812,15 +6102,16 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -6830,8 +6121,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int MONITORED_RESOURCE_FIELD_NUMBER = 3; /** - * - * *
    * The [monitored
    * resource](https://cloud.google.com/monitoring/api/resources) associated
@@ -6846,7 +6135,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * .google.api.MonitoredResource monitored_resource = 3; - * * @return Whether the monitoredResource field is set. */ @java.lang.Override @@ -6854,8 +6142,6 @@ public boolean hasMonitoredResource() { return resourceCase_ == 3; } /** - * - * *
    * The [monitored
    * resource](https://cloud.google.com/monitoring/api/resources) associated
@@ -6870,19 +6156,16 @@ public boolean hasMonitoredResource() {
    * 
* * .google.api.MonitoredResource monitored_resource = 3; - * * @return The monitoredResource. */ @java.lang.Override public com.google.api.MonitoredResource getMonitoredResource() { if (resourceCase_ == 3) { - return (com.google.api.MonitoredResource) resource_; + return (com.google.api.MonitoredResource) resource_; } return com.google.api.MonitoredResource.getDefaultInstance(); } /** - * - * *
    * The [monitored
    * resource](https://cloud.google.com/monitoring/api/resources) associated
@@ -6901,21 +6184,18 @@ public com.google.api.MonitoredResource getMonitoredResource() {
   @java.lang.Override
   public com.google.api.MonitoredResourceOrBuilder getMonitoredResourceOrBuilder() {
     if (resourceCase_ == 3) {
-      return (com.google.api.MonitoredResource) resource_;
+       return (com.google.api.MonitoredResource) resource_;
     }
     return com.google.api.MonitoredResource.getDefaultInstance();
   }
 
   public static final int RESOURCE_GROUP_FIELD_NUMBER = 4;
   /**
-   *
-   *
    * 
    * The group resource associated with the configuration.
    * 
* * .google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4; - * * @return Whether the resourceGroup field is set. */ @java.lang.Override @@ -6923,26 +6203,21 @@ public boolean hasResourceGroup() { return resourceCase_ == 4; } /** - * - * *
    * The group resource associated with the configuration.
    * 
* * .google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4; - * * @return The resourceGroup. */ @java.lang.Override public com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup getResourceGroup() { if (resourceCase_ == 4) { - return (com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup) resource_; + return (com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup) resource_; } return com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.getDefaultInstance(); } /** - * - * *
    * The group resource associated with the configuration.
    * 
@@ -6950,24 +6225,20 @@ public com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup getResourceGroup * .google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4; */ @java.lang.Override - public com.google.monitoring.v3.UptimeCheckConfig.ResourceGroupOrBuilder - getResourceGroupOrBuilder() { + public com.google.monitoring.v3.UptimeCheckConfig.ResourceGroupOrBuilder getResourceGroupOrBuilder() { if (resourceCase_ == 4) { - return (com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup) resource_; + return (com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup) resource_; } return com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.getDefaultInstance(); } public static final int HTTP_CHECK_FIELD_NUMBER = 5; /** - * - * *
    * Contains information needed to make an HTTP or HTTPS check.
    * 
* * .google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5; - * * @return Whether the httpCheck field is set. */ @java.lang.Override @@ -6975,26 +6246,21 @@ public boolean hasHttpCheck() { return checkRequestTypeCase_ == 5; } /** - * - * *
    * Contains information needed to make an HTTP or HTTPS check.
    * 
* * .google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5; - * * @return The httpCheck. */ @java.lang.Override public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck getHttpCheck() { if (checkRequestTypeCase_ == 5) { - return (com.google.monitoring.v3.UptimeCheckConfig.HttpCheck) checkRequestType_; + return (com.google.monitoring.v3.UptimeCheckConfig.HttpCheck) checkRequestType_; } return com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.getDefaultInstance(); } /** - * - * *
    * Contains information needed to make an HTTP or HTTPS check.
    * 
@@ -7004,21 +6270,18 @@ public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck getHttpCheck() { @java.lang.Override public com.google.monitoring.v3.UptimeCheckConfig.HttpCheckOrBuilder getHttpCheckOrBuilder() { if (checkRequestTypeCase_ == 5) { - return (com.google.monitoring.v3.UptimeCheckConfig.HttpCheck) checkRequestType_; + return (com.google.monitoring.v3.UptimeCheckConfig.HttpCheck) checkRequestType_; } return com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.getDefaultInstance(); } public static final int TCP_CHECK_FIELD_NUMBER = 6; /** - * - * *
    * Contains information needed to make a TCP check.
    * 
* * .google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6; - * * @return Whether the tcpCheck field is set. */ @java.lang.Override @@ -7026,26 +6289,21 @@ public boolean hasTcpCheck() { return checkRequestTypeCase_ == 6; } /** - * - * *
    * Contains information needed to make a TCP check.
    * 
* * .google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6; - * * @return The tcpCheck. */ @java.lang.Override public com.google.monitoring.v3.UptimeCheckConfig.TcpCheck getTcpCheck() { if (checkRequestTypeCase_ == 6) { - return (com.google.monitoring.v3.UptimeCheckConfig.TcpCheck) checkRequestType_; + return (com.google.monitoring.v3.UptimeCheckConfig.TcpCheck) checkRequestType_; } return com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.getDefaultInstance(); } /** - * - * *
    * Contains information needed to make a TCP check.
    * 
@@ -7055,7 +6313,7 @@ public com.google.monitoring.v3.UptimeCheckConfig.TcpCheck getTcpCheck() { @java.lang.Override public com.google.monitoring.v3.UptimeCheckConfig.TcpCheckOrBuilder getTcpCheckOrBuilder() { if (checkRequestTypeCase_ == 6) { - return (com.google.monitoring.v3.UptimeCheckConfig.TcpCheck) checkRequestType_; + return (com.google.monitoring.v3.UptimeCheckConfig.TcpCheck) checkRequestType_; } return com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.getDefaultInstance(); } @@ -7063,8 +6321,6 @@ public com.google.monitoring.v3.UptimeCheckConfig.TcpCheckOrBuilder getTcpCheckO public static final int PERIOD_FIELD_NUMBER = 7; private com.google.protobuf.Duration period_; /** - * - * *
    * How often, in seconds, the Uptime check is performed.
    * Currently, the only supported values are `60s` (1 minute), `300s`
@@ -7073,7 +6329,6 @@ public com.google.monitoring.v3.UptimeCheckConfig.TcpCheckOrBuilder getTcpCheckO
    * 
* * .google.protobuf.Duration period = 7; - * * @return Whether the period field is set. */ @java.lang.Override @@ -7081,8 +6336,6 @@ public boolean hasPeriod() { return period_ != null; } /** - * - * *
    * How often, in seconds, the Uptime check is performed.
    * Currently, the only supported values are `60s` (1 minute), `300s`
@@ -7091,7 +6344,6 @@ public boolean hasPeriod() {
    * 
* * .google.protobuf.Duration period = 7; - * * @return The period. */ @java.lang.Override @@ -7099,8 +6351,6 @@ public com.google.protobuf.Duration getPeriod() { return period_ == null ? com.google.protobuf.Duration.getDefaultInstance() : period_; } /** - * - * *
    * How often, in seconds, the Uptime check is performed.
    * Currently, the only supported values are `60s` (1 minute), `300s`
@@ -7118,15 +6368,12 @@ public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder() {
   public static final int TIMEOUT_FIELD_NUMBER = 8;
   private com.google.protobuf.Duration timeout_;
   /**
-   *
-   *
    * 
    * The maximum amount of time to wait for the request to complete (must be
    * between 1 and 60 seconds). Required.
    * 
* * .google.protobuf.Duration timeout = 8; - * * @return Whether the timeout field is set. */ @java.lang.Override @@ -7134,15 +6381,12 @@ public boolean hasTimeout() { return timeout_ != null; } /** - * - * *
    * The maximum amount of time to wait for the request to complete (must be
    * between 1 and 60 seconds). Required.
    * 
* * .google.protobuf.Duration timeout = 8; - * * @return The timeout. */ @java.lang.Override @@ -7150,8 +6394,6 @@ public com.google.protobuf.Duration getTimeout() { return timeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeout_; } /** - * - * *
    * The maximum amount of time to wait for the request to complete (must be
    * between 1 and 60 seconds). Required.
@@ -7165,11 +6407,8 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
   }
 
   public static final int CONTENT_MATCHERS_FIELD_NUMBER = 9;
-  private java.util.List
-      contentMatchers_;
+  private java.util.List contentMatchers_;
   /**
-   *
-   *
    * 
    * The content that is expected to appear in the data returned by the target
    * server against which the check is run.  Currently, only the first entry
@@ -7178,17 +6417,13 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
    * content match is required as part of the/ Uptime check.
    * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; - * + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; */ @java.lang.Override - public java.util.List - getContentMatchersList() { + public java.util.List getContentMatchersList() { return contentMatchers_; } /** - * - * *
    * The content that is expected to appear in the data returned by the target
    * server against which the check is run.  Currently, only the first entry
@@ -7197,18 +6432,14 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
    * content match is required as part of the/ Uptime check.
    * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; - * + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; */ @java.lang.Override - public java.util.List< - ? extends com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder> + public java.util.List getContentMatchersOrBuilderList() { return contentMatchers_; } /** - * - * *
    * The content that is expected to appear in the data returned by the target
    * server against which the check is run.  Currently, only the first entry
@@ -7217,16 +6448,13 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
    * content match is required as part of the/ Uptime check.
    * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; - * + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; */ @java.lang.Override public int getContentMatchersCount() { return contentMatchers_.size(); } /** - * - * *
    * The content that is expected to appear in the data returned by the target
    * server against which the check is run.  Currently, only the first entry
@@ -7235,16 +6463,13 @@ public int getContentMatchersCount() {
    * content match is required as part of the/ Uptime check.
    * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; - * + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; */ @java.lang.Override public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher getContentMatchers(int index) { return contentMatchers_.get(index); } /** - * - * *
    * The content that is expected to appear in the data returned by the target
    * server against which the check is run.  Currently, only the first entry
@@ -7253,34 +6478,27 @@ public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher getContentMatch
    * content match is required as part of the/ Uptime check.
    * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; - * + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; */ @java.lang.Override - public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder - getContentMatchersOrBuilder(int index) { + public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMatchersOrBuilder( + int index) { return contentMatchers_.get(index); } public static final int SELECTED_REGIONS_FIELD_NUMBER = 10; private java.util.List selectedRegions_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.monitoring.v3.UptimeCheckRegion> - selectedRegions_converter_ = + java.lang.Integer, com.google.monitoring.v3.UptimeCheckRegion> selectedRegions_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.monitoring.v3.UptimeCheckRegion>() { public com.google.monitoring.v3.UptimeCheckRegion convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.monitoring.v3.UptimeCheckRegion result = - com.google.monitoring.v3.UptimeCheckRegion.valueOf(from); - return result == null - ? com.google.monitoring.v3.UptimeCheckRegion.UNRECOGNIZED - : result; + com.google.monitoring.v3.UptimeCheckRegion result = com.google.monitoring.v3.UptimeCheckRegion.valueOf(from); + return result == null ? com.google.monitoring.v3.UptimeCheckRegion.UNRECOGNIZED : result; } }; /** - * - * *
    * The list of regions from which the check will be run.
    * Some regions contain one location, and others contain more than one.
@@ -7290,18 +6508,14 @@ public com.google.monitoring.v3.UptimeCheckRegion convert(java.lang.Integer from
    * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; - * * @return A list containing the selectedRegions. */ @java.lang.Override public java.util.List getSelectedRegionsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.monitoring.v3.UptimeCheckRegion>( - selectedRegions_, selectedRegions_converter_); + java.lang.Integer, com.google.monitoring.v3.UptimeCheckRegion>(selectedRegions_, selectedRegions_converter_); } /** - * - * *
    * The list of regions from which the check will be run.
    * Some regions contain one location, and others contain more than one.
@@ -7311,7 +6525,6 @@ public java.util.List getSelectedReg
    * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; - * * @return The count of selectedRegions. */ @java.lang.Override @@ -7319,8 +6532,6 @@ public int getSelectedRegionsCount() { return selectedRegions_.size(); } /** - * - * *
    * The list of regions from which the check will be run.
    * Some regions contain one location, and others contain more than one.
@@ -7330,7 +6541,6 @@ public int getSelectedRegionsCount() {
    * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; - * * @param index The index of the element to return. * @return The selectedRegions at the given index. */ @@ -7339,8 +6549,6 @@ public com.google.monitoring.v3.UptimeCheckRegion getSelectedRegions(int index) return selectedRegions_converter_.convert(selectedRegions_.get(index)); } /** - * - * *
    * The list of regions from which the check will be run.
    * Some regions contain one location, and others contain more than one.
@@ -7350,16 +6558,14 @@ public com.google.monitoring.v3.UptimeCheckRegion getSelectedRegions(int index)
    * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; - * * @return A list containing the enum numeric values on the wire for selectedRegions. */ @java.lang.Override - public java.util.List getSelectedRegionsValueList() { + public java.util.List + getSelectedRegionsValueList() { return selectedRegions_; } /** - * - * *
    * The list of regions from which the check will be run.
    * Some regions contain one location, and others contain more than one.
@@ -7369,7 +6575,6 @@ public java.util.List getSelectedRegionsValueList() {
    * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of selectedRegions at the given index. */ @@ -7377,14 +6582,11 @@ public java.util.List getSelectedRegionsValueList() { public int getSelectedRegionsValue(int index) { return selectedRegions_.get(index); } - private int selectedRegionsMemoizedSerializedSize; public static final int IS_INTERNAL_FIELD_NUMBER = 15; private boolean isInternal_; /** - * - * *
    * If this is `true`, then checks are made only from the 'internal_checkers'.
    * If it is `false`, then checks are made only from the 'selected_regions'.
@@ -7393,20 +6595,16 @@ public int getSelectedRegionsValue(int index) {
    * 
* * bool is_internal = 15 [deprecated = true]; - * * @return The isInternal. */ @java.lang.Override - @java.lang.Deprecated - public boolean getIsInternal() { + @java.lang.Deprecated public boolean getIsInternal() { return isInternal_; } public static final int INTERNAL_CHECKERS_FIELD_NUMBER = 14; private java.util.List internalCheckers_; /** - * - * *
    * The internal checkers that this check will egress from. If `is_internal` is
    * `true` and this list is empty, the check will egress from all the
@@ -7414,18 +6612,13 @@ public boolean getIsInternal() {
    * `UptimeCheckConfig`.
    * 
* - * - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; - * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public java.util.List getInternalCheckersList() { + @java.lang.Deprecated public java.util.List getInternalCheckersList() { return internalCheckers_; } /** - * - * *
    * The internal checkers that this check will egress from. If `is_internal` is
    * `true` and this list is empty, the check will egress from all the
@@ -7433,19 +6626,14 @@ public java.util.List getInternalCheck
    * `UptimeCheckConfig`.
    * 
* - * - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; - * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public java.util.List + @java.lang.Deprecated public java.util.List getInternalCheckersOrBuilderList() { return internalCheckers_; } /** - * - * *
    * The internal checkers that this check will egress from. If `is_internal` is
    * `true` and this list is empty, the check will egress from all the
@@ -7453,18 +6641,13 @@ public java.util.List getInternalCheck
    * `UptimeCheckConfig`.
    * 
* - * - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; - * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public int getInternalCheckersCount() { + @java.lang.Deprecated public int getInternalCheckersCount() { return internalCheckers_.size(); } /** - * - * *
    * The internal checkers that this check will egress from. If `is_internal` is
    * `true` and this list is empty, the check will egress from all the
@@ -7472,18 +6655,13 @@ public int getInternalCheckersCount() {
    * `UptimeCheckConfig`.
    * 
* - * - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; - * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public com.google.monitoring.v3.InternalChecker getInternalCheckers(int index) { + @java.lang.Deprecated public com.google.monitoring.v3.InternalChecker getInternalCheckers(int index) { return internalCheckers_.get(index); } /** - * - * *
    * The internal checkers that this check will egress from. If `is_internal` is
    * `true` and this list is empty, the check will egress from all the
@@ -7491,18 +6669,15 @@ public com.google.monitoring.v3.InternalChecker getInternalCheckers(int index) {
    * `UptimeCheckConfig`.
    * 
* - * - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; - * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public com.google.monitoring.v3.InternalCheckerOrBuilder getInternalCheckersOrBuilder(int index) { + @java.lang.Deprecated public com.google.monitoring.v3.InternalCheckerOrBuilder getInternalCheckersOrBuilder( + int index) { return internalCheckers_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7514,7 +6689,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); @@ -7529,12 +6705,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(4, (com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup) resource_); } if (checkRequestTypeCase_ == 5) { - output.writeMessage( - 5, (com.google.monitoring.v3.UptimeCheckConfig.HttpCheck) checkRequestType_); + output.writeMessage(5, (com.google.monitoring.v3.UptimeCheckConfig.HttpCheck) checkRequestType_); } if (checkRequestTypeCase_ == 6) { - output.writeMessage( - 6, (com.google.monitoring.v3.UptimeCheckConfig.TcpCheck) checkRequestType_); + output.writeMessage(6, (com.google.monitoring.v3.UptimeCheckConfig.TcpCheck) checkRequestType_); } if (period_ != null) { output.writeMessage(7, getPeriod()); @@ -7574,53 +6748,52 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_); } if (resourceCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.api.MonitoredResource) resource_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.api.MonitoredResource) resource_); } if (resourceCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup) resource_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup) resource_); } if (checkRequestTypeCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (com.google.monitoring.v3.UptimeCheckConfig.HttpCheck) checkRequestType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.monitoring.v3.UptimeCheckConfig.HttpCheck) checkRequestType_); } if (checkRequestTypeCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, (com.google.monitoring.v3.UptimeCheckConfig.TcpCheck) checkRequestType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.monitoring.v3.UptimeCheckConfig.TcpCheck) checkRequestType_); } if (period_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getPeriod()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getPeriod()); } if (timeout_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getTimeout()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getTimeout()); } for (int i = 0; i < contentMatchers_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, contentMatchers_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, contentMatchers_.get(i)); } { int dataSize = 0; for (int i = 0; i < selectedRegions_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(selectedRegions_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(selectedRegions_.get(i)); } size += dataSize; - if (!getSelectedRegionsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - selectedRegionsMemoizedSerializedSize = dataSize; + if (!getSelectedRegionsList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }selectedRegionsMemoizedSerializedSize = dataSize; } for (int i = 0; i < internalCheckers_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(14, internalCheckers_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, internalCheckers_.get(i)); } if (isInternal_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(15, isInternal_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(15, isInternal_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -7630,35 +6803,43 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.UptimeCheckConfig)) { return super.equals(obj); } - com.google.monitoring.v3.UptimeCheckConfig other = - (com.google.monitoring.v3.UptimeCheckConfig) obj; + com.google.monitoring.v3.UptimeCheckConfig other = (com.google.monitoring.v3.UptimeCheckConfig) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (hasPeriod() != other.hasPeriod()) return false; if (hasPeriod()) { - if (!getPeriod().equals(other.getPeriod())) return false; + if (!getPeriod() + .equals(other.getPeriod())) return false; } if (hasTimeout() != other.hasTimeout()) return false; if (hasTimeout()) { - if (!getTimeout().equals(other.getTimeout())) return false; + if (!getTimeout() + .equals(other.getTimeout())) return false; } - if (!getContentMatchersList().equals(other.getContentMatchersList())) return false; + if (!getContentMatchersList() + .equals(other.getContentMatchersList())) return false; if (!selectedRegions_.equals(other.selectedRegions_)) return false; - if (getIsInternal() != other.getIsInternal()) return false; - if (!getInternalCheckersList().equals(other.getInternalCheckersList())) return false; + if (getIsInternal() + != other.getIsInternal()) return false; + if (!getInternalCheckersList() + .equals(other.getInternalCheckersList())) return false; if (!getResourceCase().equals(other.getResourceCase())) return false; switch (resourceCase_) { case 3: - if (!getMonitoredResource().equals(other.getMonitoredResource())) return false; + if (!getMonitoredResource() + .equals(other.getMonitoredResource())) return false; break; case 4: - if (!getResourceGroup().equals(other.getResourceGroup())) return false; + if (!getResourceGroup() + .equals(other.getResourceGroup())) return false; break; case 0: default: @@ -7666,10 +6847,12 @@ public boolean equals(final java.lang.Object obj) { if (!getCheckRequestTypeCase().equals(other.getCheckRequestTypeCase())) return false; switch (checkRequestTypeCase_) { case 5: - if (!getHttpCheck().equals(other.getHttpCheck())) return false; + if (!getHttpCheck() + .equals(other.getHttpCheck())) return false; break; case 6: - if (!getTcpCheck().equals(other.getTcpCheck())) return false; + if (!getTcpCheck() + .equals(other.getTcpCheck())) return false; break; case 0: default: @@ -7706,7 +6889,8 @@ public int hashCode() { hash = (53 * hash) + selectedRegions_.hashCode(); } hash = (37 * hash) + IS_INTERNAL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsInternal()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsInternal()); if (getInternalCheckersCount() > 0) { hash = (37 * hash) + INTERNAL_CHECKERS_FIELD_NUMBER; hash = (53 * hash) + getInternalCheckersList().hashCode(); @@ -7740,104 +6924,97 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.UptimeCheckConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.UptimeCheckConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.UptimeCheckConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.UptimeCheckConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.UptimeCheckConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.UptimeCheckConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.UptimeCheckConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.UptimeCheckConfig 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.monitoring.v3.UptimeCheckConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.UptimeCheckConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.UptimeCheckConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.UptimeCheckConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.UptimeCheckConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.UptimeCheckConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.UptimeCheckConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * This message configures which resources and services to monitor for
    * availability.
@@ -7845,23 +7022,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.monitoring.v3.UptimeCheckConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.UptimeCheckConfig)
       com.google.monitoring.v3.UptimeCheckConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.monitoring.v3.UptimeProto
-          .internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.UptimeProto
-          .internal_static_google_monitoring_v3_UptimeCheckConfig_fieldAccessorTable
+      return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.UptimeCheckConfig.class,
-              com.google.monitoring.v3.UptimeCheckConfig.Builder.class);
+              com.google.monitoring.v3.UptimeCheckConfig.class, com.google.monitoring.v3.UptimeCheckConfig.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.UptimeCheckConfig.newBuilder()
@@ -7869,18 +7044,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getContentMatchersFieldBuilder();
         getInternalCheckersFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -7924,9 +7099,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.monitoring.v3.UptimeProto
-          .internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor;
     }
 
     @java.lang.Override
@@ -7945,8 +7120,7 @@ public com.google.monitoring.v3.UptimeCheckConfig build() {
 
     @java.lang.Override
     public com.google.monitoring.v3.UptimeCheckConfig buildPartial() {
-      com.google.monitoring.v3.UptimeCheckConfig result =
-          new com.google.monitoring.v3.UptimeCheckConfig(this);
+      com.google.monitoring.v3.UptimeCheckConfig result = new com.google.monitoring.v3.UptimeCheckConfig(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.displayName_ = displayName_;
@@ -8022,39 +7196,38 @@ public com.google.monitoring.v3.UptimeCheckConfig 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.monitoring.v3.UptimeCheckConfig) {
-        return mergeFrom((com.google.monitoring.v3.UptimeCheckConfig) other);
+        return mergeFrom((com.google.monitoring.v3.UptimeCheckConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -8095,10 +7268,9 @@ public Builder mergeFrom(com.google.monitoring.v3.UptimeCheckConfig other) {
             contentMatchersBuilder_ = null;
             contentMatchers_ = other.contentMatchers_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            contentMatchersBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getContentMatchersFieldBuilder()
-                    : null;
+            contentMatchersBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getContentMatchersFieldBuilder() : null;
           } else {
             contentMatchersBuilder_.addAllMessages(other.contentMatchers_);
           }
@@ -8135,46 +7307,39 @@ public Builder mergeFrom(com.google.monitoring.v3.UptimeCheckConfig other) {
             internalCheckersBuilder_ = null;
             internalCheckers_ = other.internalCheckers_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            internalCheckersBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getInternalCheckersFieldBuilder()
-                    : null;
+            internalCheckersBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getInternalCheckersFieldBuilder() : null;
           } else {
             internalCheckersBuilder_.addAllMessages(other.internalCheckers_);
           }
         }
       }
       switch (other.getResourceCase()) {
-        case MONITORED_RESOURCE:
-          {
-            mergeMonitoredResource(other.getMonitoredResource());
-            break;
-          }
-        case RESOURCE_GROUP:
-          {
-            mergeResourceGroup(other.getResourceGroup());
-            break;
-          }
-        case RESOURCE_NOT_SET:
-          {
-            break;
-          }
+        case MONITORED_RESOURCE: {
+          mergeMonitoredResource(other.getMonitoredResource());
+          break;
+        }
+        case RESOURCE_GROUP: {
+          mergeResourceGroup(other.getResourceGroup());
+          break;
+        }
+        case RESOURCE_NOT_SET: {
+          break;
+        }
       }
       switch (other.getCheckRequestTypeCase()) {
-        case HTTP_CHECK:
-          {
-            mergeHttpCheck(other.getHttpCheck());
-            break;
-          }
-        case TCP_CHECK:
-          {
-            mergeTcpCheck(other.getTcpCheck());
-            break;
-          }
-        case CHECKREQUESTTYPE_NOT_SET:
-          {
-            break;
-          }
+        case HTTP_CHECK: {
+          mergeHttpCheck(other.getHttpCheck());
+          break;
+        }
+        case TCP_CHECK: {
+          mergeTcpCheck(other.getTcpCheck());
+          break;
+        }
+        case CHECKREQUESTTYPE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -8204,12 +7369,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int resourceCase_ = 0;
     private java.lang.Object resource_;
-
-    public ResourceCase getResourceCase() {
-      return ResourceCase.forNumber(resourceCase_);
+    public ResourceCase
+        getResourceCase() {
+      return ResourceCase.forNumber(
+          resourceCase_);
     }
 
     public Builder clearResource() {
@@ -8221,9 +7386,10 @@ public Builder clearResource() {
 
     private int checkRequestTypeCase_ = 0;
     private java.lang.Object checkRequestType_;
-
-    public CheckRequestTypeCase getCheckRequestTypeCase() {
-      return CheckRequestTypeCase.forNumber(checkRequestTypeCase_);
+    public CheckRequestTypeCase
+        getCheckRequestTypeCase() {
+      return CheckRequestTypeCase.forNumber(
+          checkRequestTypeCase_);
     }
 
     public Builder clearCheckRequestType() {
@@ -8237,8 +7403,6 @@ public Builder clearCheckRequestType() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * A unique resource name for this Uptime check configuration. The format is:
      *      projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
@@ -8250,13 +7414,13 @@ public Builder clearCheckRequestType() {
      * 
* * 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; @@ -8265,8 +7429,6 @@ public java.lang.String getName() { } } /** - * - * *
      * A unique resource name for this Uptime check configuration. The format is:
      *      projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
@@ -8278,14 +7440,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -8293,8 +7456,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * A unique resource name for this Uptime check configuration. The format is:
      *      projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
@@ -8306,22 +7467,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * A unique resource name for this Uptime check configuration. The format is:
      *      projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
@@ -8333,18 +7492,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * A unique resource name for this Uptime check configuration. The format is:
      *      projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
@@ -8356,16 +7512,16 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -8373,8 +7529,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * A human-friendly name for the Uptime check configuration. The display name
      * should be unique within a Stackdriver Workspace in order to make it easier
@@ -8382,13 +7536,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string display_name = 2; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -8397,8 +7551,6 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * A human-friendly name for the Uptime check configuration. The display name
      * should be unique within a Stackdriver Workspace in order to make it easier
@@ -8406,14 +7558,15 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -8421,8 +7574,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * A human-friendly name for the Uptime check configuration. The display name
      * should be unique within a Stackdriver Workspace in order to make it easier
@@ -8430,22 +7581,20 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * A human-friendly name for the Uptime check configuration. The display name
      * should be unique within a Stackdriver Workspace in order to make it easier
@@ -8453,18 +7602,15 @@ public Builder setDisplayName(java.lang.String value) {
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * A human-friendly name for the Uptime check configuration. The display name
      * should be unique within a Stackdriver Workspace in order to make it easier
@@ -8472,29 +7618,24 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.MonitoredResource, - com.google.api.MonitoredResource.Builder, - com.google.api.MonitoredResourceOrBuilder> - monitoredResourceBuilder_; + com.google.api.MonitoredResource, com.google.api.MonitoredResource.Builder, com.google.api.MonitoredResourceOrBuilder> monitoredResourceBuilder_; /** - * - * *
      * The [monitored
      * resource](https://cloud.google.com/monitoring/api/resources) associated
@@ -8509,7 +7650,6 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.api.MonitoredResource monitored_resource = 3; - * * @return Whether the monitoredResource field is set. */ @java.lang.Override @@ -8517,8 +7657,6 @@ public boolean hasMonitoredResource() { return resourceCase_ == 3; } /** - * - * *
      * The [monitored
      * resource](https://cloud.google.com/monitoring/api/resources) associated
@@ -8533,7 +7671,6 @@ public boolean hasMonitoredResource() {
      * 
* * .google.api.MonitoredResource monitored_resource = 3; - * * @return The monitoredResource. */ @java.lang.Override @@ -8551,8 +7688,6 @@ public com.google.api.MonitoredResource getMonitoredResource() { } } /** - * - * *
      * The [monitored
      * resource](https://cloud.google.com/monitoring/api/resources) associated
@@ -8582,8 +7717,6 @@ public Builder setMonitoredResource(com.google.api.MonitoredResource value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The [monitored
      * resource](https://cloud.google.com/monitoring/api/resources) associated
@@ -8599,7 +7732,8 @@ public Builder setMonitoredResource(com.google.api.MonitoredResource value) {
      *
      * .google.api.MonitoredResource monitored_resource = 3;
      */
-    public Builder setMonitoredResource(com.google.api.MonitoredResource.Builder builderForValue) {
+    public Builder setMonitoredResource(
+        com.google.api.MonitoredResource.Builder builderForValue) {
       if (monitoredResourceBuilder_ == null) {
         resource_ = builderForValue.build();
         onChanged();
@@ -8610,8 +7744,6 @@ public Builder setMonitoredResource(com.google.api.MonitoredResource.Builder bui
       return this;
     }
     /**
-     *
-     *
      * 
      * The [monitored
      * resource](https://cloud.google.com/monitoring/api/resources) associated
@@ -8629,13 +7761,10 @@ public Builder setMonitoredResource(com.google.api.MonitoredResource.Builder bui
      */
     public Builder mergeMonitoredResource(com.google.api.MonitoredResource value) {
       if (monitoredResourceBuilder_ == null) {
-        if (resourceCase_ == 3
-            && resource_ != com.google.api.MonitoredResource.getDefaultInstance()) {
-          resource_ =
-              com.google.api.MonitoredResource.newBuilder(
-                      (com.google.api.MonitoredResource) resource_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (resourceCase_ == 3 &&
+            resource_ != com.google.api.MonitoredResource.getDefaultInstance()) {
+          resource_ = com.google.api.MonitoredResource.newBuilder((com.google.api.MonitoredResource) resource_)
+              .mergeFrom(value).buildPartial();
         } else {
           resource_ = value;
         }
@@ -8650,8 +7779,6 @@ public Builder mergeMonitoredResource(com.google.api.MonitoredResource value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The [monitored
      * resource](https://cloud.google.com/monitoring/api/resources) associated
@@ -8684,8 +7811,6 @@ public Builder clearMonitoredResource() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The [monitored
      * resource](https://cloud.google.com/monitoring/api/resources) associated
@@ -8705,8 +7830,6 @@ public com.google.api.MonitoredResource.Builder getMonitoredResourceBuilder() {
       return getMonitoredResourceFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The [monitored
      * resource](https://cloud.google.com/monitoring/api/resources) associated
@@ -8734,8 +7857,6 @@ public com.google.api.MonitoredResourceOrBuilder getMonitoredResourceOrBuilder()
       }
     }
     /**
-     *
-     *
      * 
      * The [monitored
      * resource](https://cloud.google.com/monitoring/api/resources) associated
@@ -8752,42 +7873,32 @@ public com.google.api.MonitoredResourceOrBuilder getMonitoredResourceOrBuilder()
      * .google.api.MonitoredResource monitored_resource = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.api.MonitoredResource,
-            com.google.api.MonitoredResource.Builder,
-            com.google.api.MonitoredResourceOrBuilder>
+        com.google.api.MonitoredResource, com.google.api.MonitoredResource.Builder, com.google.api.MonitoredResourceOrBuilder> 
         getMonitoredResourceFieldBuilder() {
       if (monitoredResourceBuilder_ == null) {
         if (!(resourceCase_ == 3)) {
           resource_ = com.google.api.MonitoredResource.getDefaultInstance();
         }
-        monitoredResourceBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.api.MonitoredResource,
-                com.google.api.MonitoredResource.Builder,
-                com.google.api.MonitoredResourceOrBuilder>(
-                (com.google.api.MonitoredResource) resource_, getParentForChildren(), isClean());
+        monitoredResourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.api.MonitoredResource, com.google.api.MonitoredResource.Builder, com.google.api.MonitoredResourceOrBuilder>(
+                (com.google.api.MonitoredResource) resource_,
+                getParentForChildren(),
+                isClean());
         resource_ = null;
       }
       resourceCase_ = 3;
-      onChanged();
-      ;
+      onChanged();;
       return monitoredResourceBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup,
-            com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.Builder,
-            com.google.monitoring.v3.UptimeCheckConfig.ResourceGroupOrBuilder>
-        resourceGroupBuilder_;
+        com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup, com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.Builder, com.google.monitoring.v3.UptimeCheckConfig.ResourceGroupOrBuilder> resourceGroupBuilder_;
     /**
-     *
-     *
      * 
      * The group resource associated with the configuration.
      * 
* * .google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4; - * * @return Whether the resourceGroup field is set. */ @java.lang.Override @@ -8795,14 +7906,11 @@ public boolean hasResourceGroup() { return resourceCase_ == 4; } /** - * - * *
      * The group resource associated with the configuration.
      * 
* * .google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4; - * * @return The resourceGroup. */ @java.lang.Override @@ -8820,16 +7928,13 @@ public com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup getResourceGroup } } /** - * - * *
      * The group resource associated with the configuration.
      * 
* * .google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4; */ - public Builder setResourceGroup( - com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup value) { + public Builder setResourceGroup(com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup value) { if (resourceGroupBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8843,8 +7948,6 @@ public Builder setResourceGroup( return this; } /** - * - * *
      * The group resource associated with the configuration.
      * 
@@ -8863,25 +7966,18 @@ public Builder setResourceGroup( return this; } /** - * - * *
      * The group resource associated with the configuration.
      * 
* * .google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4; */ - public Builder mergeResourceGroup( - com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup value) { + public Builder mergeResourceGroup(com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup value) { if (resourceGroupBuilder_ == null) { - if (resourceCase_ == 4 - && resource_ - != com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.getDefaultInstance()) { - resource_ = - com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.newBuilder( - (com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup) resource_) - .mergeFrom(value) - .buildPartial(); + if (resourceCase_ == 4 && + resource_ != com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.getDefaultInstance()) { + resource_ = com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.newBuilder((com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup) resource_) + .mergeFrom(value).buildPartial(); } else { resource_ = value; } @@ -8896,8 +7992,6 @@ public Builder mergeResourceGroup( return this; } /** - * - * *
      * The group resource associated with the configuration.
      * 
@@ -8921,21 +8015,16 @@ public Builder clearResourceGroup() { return this; } /** - * - * *
      * The group resource associated with the configuration.
      * 
* * .google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4; */ - public com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.Builder - getResourceGroupBuilder() { + public com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.Builder getResourceGroupBuilder() { return getResourceGroupFieldBuilder().getBuilder(); } /** - * - * *
      * The group resource associated with the configuration.
      * 
@@ -8943,8 +8032,7 @@ public Builder clearResourceGroup() { * .google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4; */ @java.lang.Override - public com.google.monitoring.v3.UptimeCheckConfig.ResourceGroupOrBuilder - getResourceGroupOrBuilder() { + public com.google.monitoring.v3.UptimeCheckConfig.ResourceGroupOrBuilder getResourceGroupOrBuilder() { if ((resourceCase_ == 4) && (resourceGroupBuilder_ != null)) { return resourceGroupBuilder_.getMessageOrBuilder(); } else { @@ -8955,8 +8043,6 @@ public Builder clearResourceGroup() { } } /** - * - * *
      * The group resource associated with the configuration.
      * 
@@ -8964,44 +8050,32 @@ public Builder clearResourceGroup() { * .google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup, - com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.Builder, - com.google.monitoring.v3.UptimeCheckConfig.ResourceGroupOrBuilder> + com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup, com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.Builder, com.google.monitoring.v3.UptimeCheckConfig.ResourceGroupOrBuilder> getResourceGroupFieldBuilder() { if (resourceGroupBuilder_ == null) { if (!(resourceCase_ == 4)) { resource_ = com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.getDefaultInstance(); } - resourceGroupBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup, - com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.Builder, - com.google.monitoring.v3.UptimeCheckConfig.ResourceGroupOrBuilder>( + resourceGroupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup, com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.Builder, com.google.monitoring.v3.UptimeCheckConfig.ResourceGroupOrBuilder>( (com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup) resource_, getParentForChildren(), isClean()); resource_ = null; } resourceCase_ = 4; - onChanged(); - ; + onChanged();; return resourceGroupBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck, - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.Builder, - com.google.monitoring.v3.UptimeCheckConfig.HttpCheckOrBuilder> - httpCheckBuilder_; + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck, com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.Builder, com.google.monitoring.v3.UptimeCheckConfig.HttpCheckOrBuilder> httpCheckBuilder_; /** - * - * *
      * Contains information needed to make an HTTP or HTTPS check.
      * 
* * .google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5; - * * @return Whether the httpCheck field is set. */ @java.lang.Override @@ -9009,14 +8083,11 @@ public boolean hasHttpCheck() { return checkRequestTypeCase_ == 5; } /** - * - * *
      * Contains information needed to make an HTTP or HTTPS check.
      * 
* * .google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5; - * * @return The httpCheck. */ @java.lang.Override @@ -9034,8 +8105,6 @@ public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck getHttpCheck() { } } /** - * - * *
      * Contains information needed to make an HTTP or HTTPS check.
      * 
@@ -9056,8 +8125,6 @@ public Builder setHttpCheck(com.google.monitoring.v3.UptimeCheckConfig.HttpCheck return this; } /** - * - * *
      * Contains information needed to make an HTTP or HTTPS check.
      * 
@@ -9076,8 +8143,6 @@ public Builder setHttpCheck( return this; } /** - * - * *
      * Contains information needed to make an HTTP or HTTPS check.
      * 
@@ -9086,14 +8151,10 @@ public Builder setHttpCheck( */ public Builder mergeHttpCheck(com.google.monitoring.v3.UptimeCheckConfig.HttpCheck value) { if (httpCheckBuilder_ == null) { - if (checkRequestTypeCase_ == 5 - && checkRequestType_ - != com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.getDefaultInstance()) { - checkRequestType_ = - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.newBuilder( - (com.google.monitoring.v3.UptimeCheckConfig.HttpCheck) checkRequestType_) - .mergeFrom(value) - .buildPartial(); + if (checkRequestTypeCase_ == 5 && + checkRequestType_ != com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.getDefaultInstance()) { + checkRequestType_ = com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.newBuilder((com.google.monitoring.v3.UptimeCheckConfig.HttpCheck) checkRequestType_) + .mergeFrom(value).buildPartial(); } else { checkRequestType_ = value; } @@ -9108,8 +8169,6 @@ public Builder mergeHttpCheck(com.google.monitoring.v3.UptimeCheckConfig.HttpChe return this; } /** - * - * *
      * Contains information needed to make an HTTP or HTTPS check.
      * 
@@ -9133,8 +8192,6 @@ public Builder clearHttpCheck() { return this; } /** - * - * *
      * Contains information needed to make an HTTP or HTTPS check.
      * 
@@ -9145,8 +8202,6 @@ public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.Builder getHttpCheck return getHttpCheckFieldBuilder().getBuilder(); } /** - * - * *
      * Contains information needed to make an HTTP or HTTPS check.
      * 
@@ -9165,8 +8220,6 @@ public com.google.monitoring.v3.UptimeCheckConfig.HttpCheckOrBuilder getHttpChec } } /** - * - * *
      * Contains information needed to make an HTTP or HTTPS check.
      * 
@@ -9174,45 +8227,32 @@ public com.google.monitoring.v3.UptimeCheckConfig.HttpCheckOrBuilder getHttpChec * .google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck, - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.Builder, - com.google.monitoring.v3.UptimeCheckConfig.HttpCheckOrBuilder> + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck, com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.Builder, com.google.monitoring.v3.UptimeCheckConfig.HttpCheckOrBuilder> getHttpCheckFieldBuilder() { if (httpCheckBuilder_ == null) { if (!(checkRequestTypeCase_ == 5)) { - checkRequestType_ = - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.getDefaultInstance(); - } - httpCheckBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck, - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.Builder, - com.google.monitoring.v3.UptimeCheckConfig.HttpCheckOrBuilder>( + checkRequestType_ = com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.getDefaultInstance(); + } + httpCheckBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck, com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.Builder, com.google.monitoring.v3.UptimeCheckConfig.HttpCheckOrBuilder>( (com.google.monitoring.v3.UptimeCheckConfig.HttpCheck) checkRequestType_, getParentForChildren(), isClean()); checkRequestType_ = null; } checkRequestTypeCase_ = 5; - onChanged(); - ; + onChanged();; return httpCheckBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig.TcpCheck, - com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.Builder, - com.google.monitoring.v3.UptimeCheckConfig.TcpCheckOrBuilder> - tcpCheckBuilder_; + com.google.monitoring.v3.UptimeCheckConfig.TcpCheck, com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.Builder, com.google.monitoring.v3.UptimeCheckConfig.TcpCheckOrBuilder> tcpCheckBuilder_; /** - * - * *
      * Contains information needed to make a TCP check.
      * 
* * .google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6; - * * @return Whether the tcpCheck field is set. */ @java.lang.Override @@ -9220,14 +8260,11 @@ public boolean hasTcpCheck() { return checkRequestTypeCase_ == 6; } /** - * - * *
      * Contains information needed to make a TCP check.
      * 
* * .google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6; - * * @return The tcpCheck. */ @java.lang.Override @@ -9245,8 +8282,6 @@ public com.google.monitoring.v3.UptimeCheckConfig.TcpCheck getTcpCheck() { } } /** - * - * *
      * Contains information needed to make a TCP check.
      * 
@@ -9267,8 +8302,6 @@ public Builder setTcpCheck(com.google.monitoring.v3.UptimeCheckConfig.TcpCheck v return this; } /** - * - * *
      * Contains information needed to make a TCP check.
      * 
@@ -9287,8 +8320,6 @@ public Builder setTcpCheck( return this; } /** - * - * *
      * Contains information needed to make a TCP check.
      * 
@@ -9297,14 +8328,10 @@ public Builder setTcpCheck( */ public Builder mergeTcpCheck(com.google.monitoring.v3.UptimeCheckConfig.TcpCheck value) { if (tcpCheckBuilder_ == null) { - if (checkRequestTypeCase_ == 6 - && checkRequestType_ - != com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.getDefaultInstance()) { - checkRequestType_ = - com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.newBuilder( - (com.google.monitoring.v3.UptimeCheckConfig.TcpCheck) checkRequestType_) - .mergeFrom(value) - .buildPartial(); + if (checkRequestTypeCase_ == 6 && + checkRequestType_ != com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.getDefaultInstance()) { + checkRequestType_ = com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.newBuilder((com.google.monitoring.v3.UptimeCheckConfig.TcpCheck) checkRequestType_) + .mergeFrom(value).buildPartial(); } else { checkRequestType_ = value; } @@ -9319,8 +8346,6 @@ public Builder mergeTcpCheck(com.google.monitoring.v3.UptimeCheckConfig.TcpCheck return this; } /** - * - * *
      * Contains information needed to make a TCP check.
      * 
@@ -9344,8 +8369,6 @@ public Builder clearTcpCheck() { return this; } /** - * - * *
      * Contains information needed to make a TCP check.
      * 
@@ -9356,8 +8379,6 @@ public com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.Builder getTcpCheckBu return getTcpCheckFieldBuilder().getBuilder(); } /** - * - * *
      * Contains information needed to make a TCP check.
      * 
@@ -9376,8 +8397,6 @@ public com.google.monitoring.v3.UptimeCheckConfig.TcpCheckOrBuilder getTcpCheckO } } /** - * - * *
      * Contains information needed to make a TCP check.
      * 
@@ -9385,40 +8404,28 @@ public com.google.monitoring.v3.UptimeCheckConfig.TcpCheckOrBuilder getTcpCheckO * .google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig.TcpCheck, - com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.Builder, - com.google.monitoring.v3.UptimeCheckConfig.TcpCheckOrBuilder> + com.google.monitoring.v3.UptimeCheckConfig.TcpCheck, com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.Builder, com.google.monitoring.v3.UptimeCheckConfig.TcpCheckOrBuilder> getTcpCheckFieldBuilder() { if (tcpCheckBuilder_ == null) { if (!(checkRequestTypeCase_ == 6)) { - checkRequestType_ = - com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.getDefaultInstance(); - } - tcpCheckBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig.TcpCheck, - com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.Builder, - com.google.monitoring.v3.UptimeCheckConfig.TcpCheckOrBuilder>( + checkRequestType_ = com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.getDefaultInstance(); + } + tcpCheckBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.UptimeCheckConfig.TcpCheck, com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.Builder, com.google.monitoring.v3.UptimeCheckConfig.TcpCheckOrBuilder>( (com.google.monitoring.v3.UptimeCheckConfig.TcpCheck) checkRequestType_, getParentForChildren(), isClean()); checkRequestType_ = null; } checkRequestTypeCase_ = 6; - onChanged(); - ; + onChanged();; return tcpCheckBuilder_; } private com.google.protobuf.Duration period_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - periodBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> periodBuilder_; /** - * - * *
      * How often, in seconds, the Uptime check is performed.
      * Currently, the only supported values are `60s` (1 minute), `300s`
@@ -9427,15 +8434,12 @@ public com.google.monitoring.v3.UptimeCheckConfig.TcpCheckOrBuilder getTcpCheckO
      * 
* * .google.protobuf.Duration period = 7; - * * @return Whether the period field is set. */ public boolean hasPeriod() { return periodBuilder_ != null || period_ != null; } /** - * - * *
      * How often, in seconds, the Uptime check is performed.
      * Currently, the only supported values are `60s` (1 minute), `300s`
@@ -9444,7 +8448,6 @@ public boolean hasPeriod() {
      * 
* * .google.protobuf.Duration period = 7; - * * @return The period. */ public com.google.protobuf.Duration getPeriod() { @@ -9455,8 +8458,6 @@ public com.google.protobuf.Duration getPeriod() { } } /** - * - * *
      * How often, in seconds, the Uptime check is performed.
      * Currently, the only supported values are `60s` (1 minute), `300s`
@@ -9480,8 +8481,6 @@ public Builder setPeriod(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * How often, in seconds, the Uptime check is performed.
      * Currently, the only supported values are `60s` (1 minute), `300s`
@@ -9491,7 +8490,8 @@ public Builder setPeriod(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration period = 7;
      */
-    public Builder setPeriod(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setPeriod(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (periodBuilder_ == null) {
         period_ = builderForValue.build();
         onChanged();
@@ -9502,8 +8502,6 @@ public Builder setPeriod(com.google.protobuf.Duration.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * How often, in seconds, the Uptime check is performed.
      * Currently, the only supported values are `60s` (1 minute), `300s`
@@ -9517,7 +8515,7 @@ public Builder mergePeriod(com.google.protobuf.Duration value) {
       if (periodBuilder_ == null) {
         if (period_ != null) {
           period_ =
-              com.google.protobuf.Duration.newBuilder(period_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(period_).mergeFrom(value).buildPartial();
         } else {
           period_ = value;
         }
@@ -9529,8 +8527,6 @@ public Builder mergePeriod(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * How often, in seconds, the Uptime check is performed.
      * Currently, the only supported values are `60s` (1 minute), `300s`
@@ -9552,8 +8548,6 @@ public Builder clearPeriod() {
       return this;
     }
     /**
-     *
-     *
      * 
      * How often, in seconds, the Uptime check is performed.
      * Currently, the only supported values are `60s` (1 minute), `300s`
@@ -9564,13 +8558,11 @@ public Builder clearPeriod() {
      * .google.protobuf.Duration period = 7;
      */
     public com.google.protobuf.Duration.Builder getPeriodBuilder() {
-
+      
       onChanged();
       return getPeriodFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * How often, in seconds, the Uptime check is performed.
      * Currently, the only supported values are `60s` (1 minute), `300s`
@@ -9584,12 +8576,11 @@ public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder() {
       if (periodBuilder_ != null) {
         return periodBuilder_.getMessageOrBuilder();
       } else {
-        return period_ == null ? com.google.protobuf.Duration.getDefaultInstance() : period_;
+        return period_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : period_;
       }
     }
     /**
-     *
-     *
      * 
      * How often, in seconds, the Uptime check is performed.
      * Currently, the only supported values are `60s` (1 minute), `300s`
@@ -9600,17 +8591,14 @@ public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder() {
      * .google.protobuf.Duration period = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getPeriodFieldBuilder() {
       if (periodBuilder_ == null) {
-        periodBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getPeriod(), getParentForChildren(), isClean());
+        periodBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getPeriod(),
+                getParentForChildren(),
+                isClean());
         period_ = null;
       }
       return periodBuilder_;
@@ -9618,35 +8606,26 @@ public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder() {
 
     private com.google.protobuf.Duration timeout_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        timeoutBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeoutBuilder_;
     /**
-     *
-     *
      * 
      * The maximum amount of time to wait for the request to complete (must be
      * between 1 and 60 seconds). Required.
      * 
* * .google.protobuf.Duration timeout = 8; - * * @return Whether the timeout field is set. */ public boolean hasTimeout() { return timeoutBuilder_ != null || timeout_ != null; } /** - * - * *
      * The maximum amount of time to wait for the request to complete (must be
      * between 1 and 60 seconds). Required.
      * 
* * .google.protobuf.Duration timeout = 8; - * * @return The timeout. */ public com.google.protobuf.Duration getTimeout() { @@ -9657,8 +8636,6 @@ public com.google.protobuf.Duration getTimeout() { } } /** - * - * *
      * The maximum amount of time to wait for the request to complete (must be
      * between 1 and 60 seconds). Required.
@@ -9680,8 +8657,6 @@ public Builder setTimeout(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time to wait for the request to complete (must be
      * between 1 and 60 seconds). Required.
@@ -9689,7 +8664,8 @@ public Builder setTimeout(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration timeout = 8;
      */
-    public Builder setTimeout(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTimeout(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (timeoutBuilder_ == null) {
         timeout_ = builderForValue.build();
         onChanged();
@@ -9700,8 +8676,6 @@ public Builder setTimeout(com.google.protobuf.Duration.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time to wait for the request to complete (must be
      * between 1 and 60 seconds). Required.
@@ -9713,7 +8687,7 @@ public Builder mergeTimeout(com.google.protobuf.Duration value) {
       if (timeoutBuilder_ == null) {
         if (timeout_ != null) {
           timeout_ =
-              com.google.protobuf.Duration.newBuilder(timeout_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(timeout_).mergeFrom(value).buildPartial();
         } else {
           timeout_ = value;
         }
@@ -9725,8 +8699,6 @@ public Builder mergeTimeout(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time to wait for the request to complete (must be
      * between 1 and 60 seconds). Required.
@@ -9746,8 +8718,6 @@ public Builder clearTimeout() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time to wait for the request to complete (must be
      * between 1 and 60 seconds). Required.
@@ -9756,13 +8726,11 @@ public Builder clearTimeout() {
      * .google.protobuf.Duration timeout = 8;
      */
     public com.google.protobuf.Duration.Builder getTimeoutBuilder() {
-
+      
       onChanged();
       return getTimeoutFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time to wait for the request to complete (must be
      * between 1 and 60 seconds). Required.
@@ -9774,12 +8742,11 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
       if (timeoutBuilder_ != null) {
         return timeoutBuilder_.getMessageOrBuilder();
       } else {
-        return timeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeout_;
+        return timeout_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : timeout_;
       }
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time to wait for the request to complete (must be
      * between 1 and 60 seconds). Required.
@@ -9788,43 +8755,32 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
      * .google.protobuf.Duration timeout = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getTimeoutFieldBuilder() {
       if (timeoutBuilder_ == null) {
-        timeoutBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getTimeout(), getParentForChildren(), isClean());
+        timeoutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getTimeout(),
+                getParentForChildren(),
+                isClean());
         timeout_ = null;
       }
       return timeoutBuilder_;
     }
 
-    private java.util.List
-        contentMatchers_ = java.util.Collections.emptyList();
-
+    private java.util.List contentMatchers_ =
+      java.util.Collections.emptyList();
     private void ensureContentMatchersIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        contentMatchers_ =
-            new java.util.ArrayList(
-                contentMatchers_);
+        contentMatchers_ = new java.util.ArrayList(contentMatchers_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher,
-            com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder,
-            com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder>
-        contentMatchersBuilder_;
+        com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher, com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder, com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder> contentMatchersBuilder_;
 
     /**
-     *
-     *
      * 
      * The content that is expected to appear in the data returned by the target
      * server against which the check is run.  Currently, only the first entry
@@ -9833,11 +8789,9 @@ private void ensureContentMatchersIsMutable() {
      * content match is required as part of the/ Uptime check.
      * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; - * + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; */ - public java.util.List - getContentMatchersList() { + public java.util.List getContentMatchersList() { if (contentMatchersBuilder_ == null) { return java.util.Collections.unmodifiableList(contentMatchers_); } else { @@ -9845,8 +8799,6 @@ private void ensureContentMatchersIsMutable() { } } /** - * - * *
      * The content that is expected to appear in the data returned by the target
      * server against which the check is run.  Currently, only the first entry
@@ -9855,8 +8807,7 @@ private void ensureContentMatchersIsMutable() {
      * content match is required as part of the/ Uptime check.
      * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; - * + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; */ public int getContentMatchersCount() { if (contentMatchersBuilder_ == null) { @@ -9866,8 +8817,6 @@ public int getContentMatchersCount() { } } /** - * - * *
      * The content that is expected to appear in the data returned by the target
      * server against which the check is run.  Currently, only the first entry
@@ -9876,8 +8825,7 @@ public int getContentMatchersCount() {
      * content match is required as part of the/ Uptime check.
      * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; - * + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; */ public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher getContentMatchers(int index) { if (contentMatchersBuilder_ == null) { @@ -9887,8 +8835,6 @@ public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher getContentMatch } } /** - * - * *
      * The content that is expected to appear in the data returned by the target
      * server against which the check is run.  Currently, only the first entry
@@ -9897,8 +8843,7 @@ public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher getContentMatch
      * content match is required as part of the/ Uptime check.
      * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; - * + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; */ public Builder setContentMatchers( int index, com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher value) { @@ -9915,8 +8860,6 @@ public Builder setContentMatchers( return this; } /** - * - * *
      * The content that is expected to appear in the data returned by the target
      * server against which the check is run.  Currently, only the first entry
@@ -9925,12 +8868,10 @@ public Builder setContentMatchers(
      * content match is required as part of the/ Uptime check.
      * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; - * + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; */ public Builder setContentMatchers( - int index, - com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder builderForValue) { + int index, com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder builderForValue) { if (contentMatchersBuilder_ == null) { ensureContentMatchersIsMutable(); contentMatchers_.set(index, builderForValue.build()); @@ -9941,8 +8882,6 @@ public Builder setContentMatchers( return this; } /** - * - * *
      * The content that is expected to appear in the data returned by the target
      * server against which the check is run.  Currently, only the first entry
@@ -9951,11 +8890,9 @@ public Builder setContentMatchers(
      * content match is required as part of the/ Uptime check.
      * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; - * + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; */ - public Builder addContentMatchers( - com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher value) { + public Builder addContentMatchers(com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher value) { if (contentMatchersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9969,8 +8906,6 @@ public Builder addContentMatchers( return this; } /** - * - * *
      * The content that is expected to appear in the data returned by the target
      * server against which the check is run.  Currently, only the first entry
@@ -9979,8 +8914,7 @@ public Builder addContentMatchers(
      * content match is required as part of the/ Uptime check.
      * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; - * + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; */ public Builder addContentMatchers( int index, com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher value) { @@ -9997,8 +8931,6 @@ public Builder addContentMatchers( return this; } /** - * - * *
      * The content that is expected to appear in the data returned by the target
      * server against which the check is run.  Currently, only the first entry
@@ -10007,8 +8939,7 @@ public Builder addContentMatchers(
      * content match is required as part of the/ Uptime check.
      * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; - * + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; */ public Builder addContentMatchers( com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder builderForValue) { @@ -10022,8 +8953,6 @@ public Builder addContentMatchers( return this; } /** - * - * *
      * The content that is expected to appear in the data returned by the target
      * server against which the check is run.  Currently, only the first entry
@@ -10032,12 +8961,10 @@ public Builder addContentMatchers(
      * content match is required as part of the/ Uptime check.
      * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; - * + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; */ public Builder addContentMatchers( - int index, - com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder builderForValue) { + int index, com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder builderForValue) { if (contentMatchersBuilder_ == null) { ensureContentMatchersIsMutable(); contentMatchers_.add(index, builderForValue.build()); @@ -10048,8 +8975,6 @@ public Builder addContentMatchers( return this; } /** - * - * *
      * The content that is expected to appear in the data returned by the target
      * server against which the check is run.  Currently, only the first entry
@@ -10058,15 +8983,14 @@ public Builder addContentMatchers(
      * content match is required as part of the/ Uptime check.
      * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; - * + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; */ public Builder addAllContentMatchers( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (contentMatchersBuilder_ == null) { ensureContentMatchersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, contentMatchers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, contentMatchers_); onChanged(); } else { contentMatchersBuilder_.addAllMessages(values); @@ -10074,8 +8998,6 @@ public Builder addAllContentMatchers( return this; } /** - * - * *
      * The content that is expected to appear in the data returned by the target
      * server against which the check is run.  Currently, only the first entry
@@ -10084,8 +9006,7 @@ public Builder addAllContentMatchers(
      * content match is required as part of the/ Uptime check.
      * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; - * + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; */ public Builder clearContentMatchers() { if (contentMatchersBuilder_ == null) { @@ -10098,8 +9019,6 @@ public Builder clearContentMatchers() { return this; } /** - * - * *
      * The content that is expected to appear in the data returned by the target
      * server against which the check is run.  Currently, only the first entry
@@ -10108,8 +9027,7 @@ public Builder clearContentMatchers() {
      * content match is required as part of the/ Uptime check.
      * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; - * + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; */ public Builder removeContentMatchers(int index) { if (contentMatchersBuilder_ == null) { @@ -10122,8 +9040,6 @@ public Builder removeContentMatchers(int index) { return this; } /** - * - * *
      * The content that is expected to appear in the data returned by the target
      * server against which the check is run.  Currently, only the first entry
@@ -10132,16 +9048,13 @@ public Builder removeContentMatchers(int index) {
      * content match is required as part of the/ Uptime check.
      * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; - * + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; */ - public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder - getContentMatchersBuilder(int index) { + public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder getContentMatchersBuilder( + int index) { return getContentMatchersFieldBuilder().getBuilder(index); } /** - * - * *
      * The content that is expected to appear in the data returned by the target
      * server against which the check is run.  Currently, only the first entry
@@ -10150,20 +9063,16 @@ public Builder removeContentMatchers(int index) {
      * content match is required as part of the/ Uptime check.
      * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; - * + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; */ - public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder - getContentMatchersOrBuilder(int index) { + public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMatchersOrBuilder( + int index) { if (contentMatchersBuilder_ == null) { - return contentMatchers_.get(index); - } else { + return contentMatchers_.get(index); } else { return contentMatchersBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The content that is expected to appear in the data returned by the target
      * server against which the check is run.  Currently, only the first entry
@@ -10172,12 +9081,10 @@ public Builder removeContentMatchers(int index) {
      * content match is required as part of the/ Uptime check.
      * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; - * + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; */ - public java.util.List< - ? extends com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder> - getContentMatchersOrBuilderList() { + public java.util.List + getContentMatchersOrBuilderList() { if (contentMatchersBuilder_ != null) { return contentMatchersBuilder_.getMessageOrBuilderList(); } else { @@ -10185,8 +9092,6 @@ public Builder removeContentMatchers(int index) { } } /** - * - * *
      * The content that is expected to appear in the data returned by the target
      * server against which the check is run.  Currently, only the first entry
@@ -10195,18 +9100,13 @@ public Builder removeContentMatchers(int index) {
      * content match is required as part of the/ Uptime check.
      * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; - * + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; */ - public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder - addContentMatchersBuilder() { - return getContentMatchersFieldBuilder() - .addBuilder( - com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.getDefaultInstance()); + public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder addContentMatchersBuilder() { + return getContentMatchersFieldBuilder().addBuilder( + com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.getDefaultInstance()); } /** - * - * *
      * The content that is expected to appear in the data returned by the target
      * server against which the check is run.  Currently, only the first entry
@@ -10215,19 +9115,14 @@ public Builder removeContentMatchers(int index) {
      * content match is required as part of the/ Uptime check.
      * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; - * + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; */ - public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder - addContentMatchersBuilder(int index) { - return getContentMatchersFieldBuilder() - .addBuilder( - index, - com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.getDefaultInstance()); + public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder addContentMatchersBuilder( + int index) { + return getContentMatchersFieldBuilder().addBuilder( + index, com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.getDefaultInstance()); } /** - * - * *
      * The content that is expected to appear in the data returned by the target
      * server against which the check is run.  Currently, only the first entry
@@ -10236,25 +9131,18 @@ public Builder removeContentMatchers(int index) {
      * content match is required as part of the/ Uptime check.
      * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; - * + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; */ - public java.util.List - getContentMatchersBuilderList() { + public java.util.List + getContentMatchersBuilderList() { return getContentMatchersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher, - com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder, - com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder> + com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher, com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder, com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder> getContentMatchersFieldBuilder() { if (contentMatchersBuilder_ == null) { - contentMatchersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher, - com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder, - com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder>( + contentMatchersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher, com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder, com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder>( contentMatchers_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -10264,8 +9152,8 @@ public Builder removeContentMatchers(int index) { return contentMatchersBuilder_; } - private java.util.List selectedRegions_ = java.util.Collections.emptyList(); - + private java.util.List selectedRegions_ = + java.util.Collections.emptyList(); private void ensureSelectedRegionsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { selectedRegions_ = new java.util.ArrayList(selectedRegions_); @@ -10273,8 +9161,6 @@ private void ensureSelectedRegionsIsMutable() { } } /** - * - * *
      * The list of regions from which the check will be run.
      * Some regions contain one location, and others contain more than one.
@@ -10284,17 +9170,13 @@ private void ensureSelectedRegionsIsMutable() {
      * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; - * * @return A list containing the selectedRegions. */ public java.util.List getSelectedRegionsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.monitoring.v3.UptimeCheckRegion>( - selectedRegions_, selectedRegions_converter_); + java.lang.Integer, com.google.monitoring.v3.UptimeCheckRegion>(selectedRegions_, selectedRegions_converter_); } /** - * - * *
      * The list of regions from which the check will be run.
      * Some regions contain one location, and others contain more than one.
@@ -10304,15 +9186,12 @@ public java.util.List getSelectedReg
      * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; - * * @return The count of selectedRegions. */ public int getSelectedRegionsCount() { return selectedRegions_.size(); } /** - * - * *
      * The list of regions from which the check will be run.
      * Some regions contain one location, and others contain more than one.
@@ -10322,7 +9201,6 @@ public int getSelectedRegionsCount() {
      * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; - * * @param index The index of the element to return. * @return The selectedRegions at the given index. */ @@ -10330,8 +9208,6 @@ public com.google.monitoring.v3.UptimeCheckRegion getSelectedRegions(int index) return selectedRegions_converter_.convert(selectedRegions_.get(index)); } /** - * - * *
      * The list of regions from which the check will be run.
      * Some regions contain one location, and others contain more than one.
@@ -10341,12 +9217,12 @@ public com.google.monitoring.v3.UptimeCheckRegion getSelectedRegions(int index)
      * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; - * * @param index The index to set the value at. * @param value The selectedRegions to set. * @return This builder for chaining. */ - public Builder setSelectedRegions(int index, com.google.monitoring.v3.UptimeCheckRegion value) { + public Builder setSelectedRegions( + int index, com.google.monitoring.v3.UptimeCheckRegion value) { if (value == null) { throw new NullPointerException(); } @@ -10356,8 +9232,6 @@ public Builder setSelectedRegions(int index, com.google.monitoring.v3.UptimeChec return this; } /** - * - * *
      * The list of regions from which the check will be run.
      * Some regions contain one location, and others contain more than one.
@@ -10367,7 +9241,6 @@ public Builder setSelectedRegions(int index, com.google.monitoring.v3.UptimeChec
      * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; - * * @param value The selectedRegions to add. * @return This builder for chaining. */ @@ -10381,8 +9254,6 @@ public Builder addSelectedRegions(com.google.monitoring.v3.UptimeCheckRegion val return this; } /** - * - * *
      * The list of regions from which the check will be run.
      * Some regions contain one location, and others contain more than one.
@@ -10392,7 +9263,6 @@ public Builder addSelectedRegions(com.google.monitoring.v3.UptimeCheckRegion val
      * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; - * * @param values The selectedRegions to add. * @return This builder for chaining. */ @@ -10406,8 +9276,6 @@ public Builder addAllSelectedRegions( return this; } /** - * - * *
      * The list of regions from which the check will be run.
      * Some regions contain one location, and others contain more than one.
@@ -10417,7 +9285,6 @@ public Builder addAllSelectedRegions(
      * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; - * * @return This builder for chaining. */ public Builder clearSelectedRegions() { @@ -10427,8 +9294,6 @@ public Builder clearSelectedRegions() { return this; } /** - * - * *
      * The list of regions from which the check will be run.
      * Some regions contain one location, and others contain more than one.
@@ -10438,15 +9303,13 @@ public Builder clearSelectedRegions() {
      * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; - * * @return A list containing the enum numeric values on the wire for selectedRegions. */ - public java.util.List getSelectedRegionsValueList() { + public java.util.List + getSelectedRegionsValueList() { return java.util.Collections.unmodifiableList(selectedRegions_); } /** - * - * *
      * The list of regions from which the check will be run.
      * Some regions contain one location, and others contain more than one.
@@ -10456,7 +9319,6 @@ public java.util.List getSelectedRegionsValueList() {
      * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of selectedRegions at the given index. */ @@ -10464,8 +9326,6 @@ public int getSelectedRegionsValue(int index) { return selectedRegions_.get(index); } /** - * - * *
      * The list of regions from which the check will be run.
      * Some regions contain one location, and others contain more than one.
@@ -10475,20 +9335,18 @@ public int getSelectedRegionsValue(int index) {
      * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of selectedRegions at the given index. * @return This builder for chaining. */ - public Builder setSelectedRegionsValue(int index, int value) { + public Builder setSelectedRegionsValue( + int index, int value) { ensureSelectedRegionsIsMutable(); selectedRegions_.set(index, value); onChanged(); return this; } /** - * - * *
      * The list of regions from which the check will be run.
      * Some regions contain one location, and others contain more than one.
@@ -10498,7 +9356,6 @@ public Builder setSelectedRegionsValue(int index, int value) {
      * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; - * * @param value The enum numeric value on the wire for selectedRegions to add. * @return This builder for chaining. */ @@ -10509,8 +9366,6 @@ public Builder addSelectedRegionsValue(int value) { return this; } /** - * - * *
      * The list of regions from which the check will be run.
      * Some regions contain one location, and others contain more than one.
@@ -10520,11 +9375,11 @@ public Builder addSelectedRegionsValue(int value) {
      * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; - * * @param values The enum numeric values on the wire for selectedRegions to add. * @return This builder for chaining. */ - public Builder addAllSelectedRegionsValue(java.lang.Iterable values) { + public Builder addAllSelectedRegionsValue( + java.lang.Iterable values) { ensureSelectedRegionsIsMutable(); for (int value : values) { selectedRegions_.add(value); @@ -10533,10 +9388,8 @@ public Builder addAllSelectedRegionsValue(java.lang.Iterable return this; } - private boolean isInternal_; + private boolean isInternal_ ; /** - * - * *
      * If this is `true`, then checks are made only from the 'internal_checkers'.
      * If it is `false`, then checks are made only from the 'selected_regions'.
@@ -10545,17 +9398,13 @@ public Builder addAllSelectedRegionsValue(java.lang.Iterable
      * 
* * bool is_internal = 15 [deprecated = true]; - * * @return The isInternal. */ @java.lang.Override - @java.lang.Deprecated - public boolean getIsInternal() { + @java.lang.Deprecated public boolean getIsInternal() { return isInternal_; } /** - * - * *
      * If this is `true`, then checks are made only from the 'internal_checkers'.
      * If it is `false`, then checks are made only from the 'selected_regions'.
@@ -10564,20 +9413,16 @@ public boolean getIsInternal() {
      * 
* * bool is_internal = 15 [deprecated = true]; - * * @param value The isInternal to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setIsInternal(boolean value) { - + @java.lang.Deprecated public Builder setIsInternal(boolean value) { + isInternal_ = value; onChanged(); return this; } /** - * - * *
      * If this is `true`, then checks are made only from the 'internal_checkers'.
      * If it is `false`, then checks are made only from the 'selected_regions'.
@@ -10586,37 +9431,28 @@ public Builder setIsInternal(boolean value) {
      * 
* * bool is_internal = 15 [deprecated = true]; - * * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearIsInternal() { - + @java.lang.Deprecated public Builder clearIsInternal() { + isInternal_ = false; onChanged(); return this; } private java.util.List internalCheckers_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureInternalCheckersIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - internalCheckers_ = - new java.util.ArrayList(internalCheckers_); + internalCheckers_ = new java.util.ArrayList(internalCheckers_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.InternalChecker, - com.google.monitoring.v3.InternalChecker.Builder, - com.google.monitoring.v3.InternalCheckerOrBuilder> - internalCheckersBuilder_; + com.google.monitoring.v3.InternalChecker, com.google.monitoring.v3.InternalChecker.Builder, com.google.monitoring.v3.InternalCheckerOrBuilder> internalCheckersBuilder_; /** - * - * *
      * The internal checkers that this check will egress from. If `is_internal` is
      * `true` and this list is empty, the check will egress from all the
@@ -10624,12 +9460,9 @@ private void ensureInternalCheckersIsMutable() {
      * `UptimeCheckConfig`.
      * 
* - * - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; - * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; */ - @java.lang.Deprecated - public java.util.List getInternalCheckersList() { + @java.lang.Deprecated public java.util.List getInternalCheckersList() { if (internalCheckersBuilder_ == null) { return java.util.Collections.unmodifiableList(internalCheckers_); } else { @@ -10637,8 +9470,6 @@ public java.util.List getInternalCheck } } /** - * - * *
      * The internal checkers that this check will egress from. If `is_internal` is
      * `true` and this list is empty, the check will egress from all the
@@ -10646,12 +9477,9 @@ public java.util.List getInternalCheck
      * `UptimeCheckConfig`.
      * 
* - * - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; - * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; */ - @java.lang.Deprecated - public int getInternalCheckersCount() { + @java.lang.Deprecated public int getInternalCheckersCount() { if (internalCheckersBuilder_ == null) { return internalCheckers_.size(); } else { @@ -10659,8 +9487,6 @@ public int getInternalCheckersCount() { } } /** - * - * *
      * The internal checkers that this check will egress from. If `is_internal` is
      * `true` and this list is empty, the check will egress from all the
@@ -10668,12 +9494,9 @@ public int getInternalCheckersCount() {
      * `UptimeCheckConfig`.
      * 
* - * - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; - * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.monitoring.v3.InternalChecker getInternalCheckers(int index) { + @java.lang.Deprecated public com.google.monitoring.v3.InternalChecker getInternalCheckers(int index) { if (internalCheckersBuilder_ == null) { return internalCheckers_.get(index); } else { @@ -10681,8 +9504,6 @@ public com.google.monitoring.v3.InternalChecker getInternalCheckers(int index) { } } /** - * - * *
      * The internal checkers that this check will egress from. If `is_internal` is
      * `true` and this list is empty, the check will egress from all the
@@ -10690,12 +9511,10 @@ public com.google.monitoring.v3.InternalChecker getInternalCheckers(int index) {
      * `UptimeCheckConfig`.
      * 
* - * - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; - * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; */ - @java.lang.Deprecated - public Builder setInternalCheckers(int index, com.google.monitoring.v3.InternalChecker value) { + @java.lang.Deprecated public Builder setInternalCheckers( + int index, com.google.monitoring.v3.InternalChecker value) { if (internalCheckersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10709,8 +9528,6 @@ public Builder setInternalCheckers(int index, com.google.monitoring.v3.InternalC return this; } /** - * - * *
      * The internal checkers that this check will egress from. If `is_internal` is
      * `true` and this list is empty, the check will egress from all the
@@ -10718,12 +9535,9 @@ public Builder setInternalCheckers(int index, com.google.monitoring.v3.InternalC
      * `UptimeCheckConfig`.
      * 
* - * - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; - * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; */ - @java.lang.Deprecated - public Builder setInternalCheckers( + @java.lang.Deprecated public Builder setInternalCheckers( int index, com.google.monitoring.v3.InternalChecker.Builder builderForValue) { if (internalCheckersBuilder_ == null) { ensureInternalCheckersIsMutable(); @@ -10735,8 +9549,6 @@ public Builder setInternalCheckers( return this; } /** - * - * *
      * The internal checkers that this check will egress from. If `is_internal` is
      * `true` and this list is empty, the check will egress from all the
@@ -10744,12 +9556,9 @@ public Builder setInternalCheckers(
      * `UptimeCheckConfig`.
      * 
* - * - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; - * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; */ - @java.lang.Deprecated - public Builder addInternalCheckers(com.google.monitoring.v3.InternalChecker value) { + @java.lang.Deprecated public Builder addInternalCheckers(com.google.monitoring.v3.InternalChecker value) { if (internalCheckersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10763,8 +9572,6 @@ public Builder addInternalCheckers(com.google.monitoring.v3.InternalChecker valu return this; } /** - * - * *
      * The internal checkers that this check will egress from. If `is_internal` is
      * `true` and this list is empty, the check will egress from all the
@@ -10772,12 +9579,10 @@ public Builder addInternalCheckers(com.google.monitoring.v3.InternalChecker valu
      * `UptimeCheckConfig`.
      * 
* - * - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; - * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; */ - @java.lang.Deprecated - public Builder addInternalCheckers(int index, com.google.monitoring.v3.InternalChecker value) { + @java.lang.Deprecated public Builder addInternalCheckers( + int index, com.google.monitoring.v3.InternalChecker value) { if (internalCheckersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10791,8 +9596,6 @@ public Builder addInternalCheckers(int index, com.google.monitoring.v3.InternalC return this; } /** - * - * *
      * The internal checkers that this check will egress from. If `is_internal` is
      * `true` and this list is empty, the check will egress from all the
@@ -10800,12 +9603,9 @@ public Builder addInternalCheckers(int index, com.google.monitoring.v3.InternalC
      * `UptimeCheckConfig`.
      * 
* - * - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; - * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; */ - @java.lang.Deprecated - public Builder addInternalCheckers( + @java.lang.Deprecated public Builder addInternalCheckers( com.google.monitoring.v3.InternalChecker.Builder builderForValue) { if (internalCheckersBuilder_ == null) { ensureInternalCheckersIsMutable(); @@ -10817,8 +9617,6 @@ public Builder addInternalCheckers( return this; } /** - * - * *
      * The internal checkers that this check will egress from. If `is_internal` is
      * `true` and this list is empty, the check will egress from all the
@@ -10826,12 +9624,9 @@ public Builder addInternalCheckers(
      * `UptimeCheckConfig`.
      * 
* - * - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; - * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; */ - @java.lang.Deprecated - public Builder addInternalCheckers( + @java.lang.Deprecated public Builder addInternalCheckers( int index, com.google.monitoring.v3.InternalChecker.Builder builderForValue) { if (internalCheckersBuilder_ == null) { ensureInternalCheckersIsMutable(); @@ -10843,8 +9638,6 @@ public Builder addInternalCheckers( return this; } /** - * - * *
      * The internal checkers that this check will egress from. If `is_internal` is
      * `true` and this list is empty, the check will egress from all the
@@ -10852,16 +9645,14 @@ public Builder addInternalCheckers(
      * `UptimeCheckConfig`.
      * 
* - * - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; - * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; */ - @java.lang.Deprecated - public Builder addAllInternalCheckers( + @java.lang.Deprecated public Builder addAllInternalCheckers( java.lang.Iterable values) { if (internalCheckersBuilder_ == null) { ensureInternalCheckersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, internalCheckers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, internalCheckers_); onChanged(); } else { internalCheckersBuilder_.addAllMessages(values); @@ -10869,8 +9660,6 @@ public Builder addAllInternalCheckers( return this; } /** - * - * *
      * The internal checkers that this check will egress from. If `is_internal` is
      * `true` and this list is empty, the check will egress from all the
@@ -10878,12 +9667,9 @@ public Builder addAllInternalCheckers(
      * `UptimeCheckConfig`.
      * 
* - * - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; - * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; */ - @java.lang.Deprecated - public Builder clearInternalCheckers() { + @java.lang.Deprecated public Builder clearInternalCheckers() { if (internalCheckersBuilder_ == null) { internalCheckers_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); @@ -10894,8 +9680,6 @@ public Builder clearInternalCheckers() { return this; } /** - * - * *
      * The internal checkers that this check will egress from. If `is_internal` is
      * `true` and this list is empty, the check will egress from all the
@@ -10903,12 +9687,9 @@ public Builder clearInternalCheckers() {
      * `UptimeCheckConfig`.
      * 
* - * - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; - * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; */ - @java.lang.Deprecated - public Builder removeInternalCheckers(int index) { + @java.lang.Deprecated public Builder removeInternalCheckers(int index) { if (internalCheckersBuilder_ == null) { ensureInternalCheckersIsMutable(); internalCheckers_.remove(index); @@ -10919,8 +9700,6 @@ public Builder removeInternalCheckers(int index) { return this; } /** - * - * *
      * The internal checkers that this check will egress from. If `is_internal` is
      * `true` and this list is empty, the check will egress from all the
@@ -10928,17 +9707,13 @@ public Builder removeInternalCheckers(int index) {
      * `UptimeCheckConfig`.
      * 
* - * - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; - * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.monitoring.v3.InternalChecker.Builder getInternalCheckersBuilder(int index) { + @java.lang.Deprecated public com.google.monitoring.v3.InternalChecker.Builder getInternalCheckersBuilder( + int index) { return getInternalCheckersFieldBuilder().getBuilder(index); } /** - * - * *
      * The internal checkers that this check will egress from. If `is_internal` is
      * `true` and this list is empty, the check will egress from all the
@@ -10946,22 +9721,16 @@ public com.google.monitoring.v3.InternalChecker.Builder getInternalCheckersBuild
      * `UptimeCheckConfig`.
      * 
* - * - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; - * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.monitoring.v3.InternalCheckerOrBuilder getInternalCheckersOrBuilder( + @java.lang.Deprecated public com.google.monitoring.v3.InternalCheckerOrBuilder getInternalCheckersOrBuilder( int index) { if (internalCheckersBuilder_ == null) { - return internalCheckers_.get(index); - } else { + return internalCheckers_.get(index); } else { return internalCheckersBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The internal checkers that this check will egress from. If `is_internal` is
      * `true` and this list is empty, the check will egress from all the
@@ -10969,13 +9738,10 @@ public com.google.monitoring.v3.InternalCheckerOrBuilder getInternalCheckersOrBu
      * `UptimeCheckConfig`.
      * 
* - * - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; - * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; */ - @java.lang.Deprecated - public java.util.List - getInternalCheckersOrBuilderList() { + @java.lang.Deprecated public java.util.List + getInternalCheckersOrBuilderList() { if (internalCheckersBuilder_ != null) { return internalCheckersBuilder_.getMessageOrBuilderList(); } else { @@ -10983,8 +9749,6 @@ public com.google.monitoring.v3.InternalCheckerOrBuilder getInternalCheckersOrBu } } /** - * - * *
      * The internal checkers that this check will egress from. If `is_internal` is
      * `true` and this list is empty, the check will egress from all the
@@ -10992,18 +9756,13 @@ public com.google.monitoring.v3.InternalCheckerOrBuilder getInternalCheckersOrBu
      * `UptimeCheckConfig`.
      * 
* - * - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; - * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.monitoring.v3.InternalChecker.Builder addInternalCheckersBuilder() { - return getInternalCheckersFieldBuilder() - .addBuilder(com.google.monitoring.v3.InternalChecker.getDefaultInstance()); + @java.lang.Deprecated public com.google.monitoring.v3.InternalChecker.Builder addInternalCheckersBuilder() { + return getInternalCheckersFieldBuilder().addBuilder( + com.google.monitoring.v3.InternalChecker.getDefaultInstance()); } /** - * - * *
      * The internal checkers that this check will egress from. If `is_internal` is
      * `true` and this list is empty, the check will egress from all the
@@ -11011,18 +9770,14 @@ public com.google.monitoring.v3.InternalChecker.Builder addInternalCheckersBuild
      * `UptimeCheckConfig`.
      * 
* - * - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; - * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.monitoring.v3.InternalChecker.Builder addInternalCheckersBuilder(int index) { - return getInternalCheckersFieldBuilder() - .addBuilder(index, com.google.monitoring.v3.InternalChecker.getDefaultInstance()); + @java.lang.Deprecated public com.google.monitoring.v3.InternalChecker.Builder addInternalCheckersBuilder( + int index) { + return getInternalCheckersFieldBuilder().addBuilder( + index, com.google.monitoring.v3.InternalChecker.getDefaultInstance()); } /** - * - * *
      * The internal checkers that this check will egress from. If `is_internal` is
      * `true` and this list is empty, the check will egress from all the
@@ -11030,27 +9785,18 @@ public com.google.monitoring.v3.InternalChecker.Builder addInternalCheckersBuild
      * `UptimeCheckConfig`.
      * 
* - * - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; - * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; */ - @java.lang.Deprecated - public java.util.List - getInternalCheckersBuilderList() { + @java.lang.Deprecated public java.util.List + getInternalCheckersBuilderList() { return getInternalCheckersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.InternalChecker, - com.google.monitoring.v3.InternalChecker.Builder, - com.google.monitoring.v3.InternalCheckerOrBuilder> + com.google.monitoring.v3.InternalChecker, com.google.monitoring.v3.InternalChecker.Builder, com.google.monitoring.v3.InternalCheckerOrBuilder> getInternalCheckersFieldBuilder() { if (internalCheckersBuilder_ == null) { - internalCheckersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.InternalChecker, - com.google.monitoring.v3.InternalChecker.Builder, - com.google.monitoring.v3.InternalCheckerOrBuilder>( + internalCheckersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.monitoring.v3.InternalChecker, com.google.monitoring.v3.InternalChecker.Builder, com.google.monitoring.v3.InternalCheckerOrBuilder>( internalCheckers_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -11059,9 +9805,9 @@ public com.google.monitoring.v3.InternalChecker.Builder addInternalCheckersBuild } return internalCheckersBuilder_; } - @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); } @@ -11071,12 +9817,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.UptimeCheckConfig) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.UptimeCheckConfig) private static final com.google.monitoring.v3.UptimeCheckConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.UptimeCheckConfig(); } @@ -11085,16 +9831,16 @@ public static com.google.monitoring.v3.UptimeCheckConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UptimeCheckConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UptimeCheckConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UptimeCheckConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UptimeCheckConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -11109,4 +9855,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.UptimeCheckConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfigName.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfigName.java similarity index 100% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfigName.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfigName.java diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfigOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfigOrBuilder.java similarity index 85% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfigOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfigOrBuilder.java index 10625200..64369236 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfigOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfigOrBuilder.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/monitoring/v3/uptime.proto package com.google.monitoring.v3; -public interface UptimeCheckConfigOrBuilder - extends +public interface UptimeCheckConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.UptimeCheckConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A unique resource name for this Uptime check configuration. The format is:
    *      projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
@@ -37,13 +19,10 @@ public interface UptimeCheckConfigOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * A unique resource name for this Uptime check configuration. The format is:
    *      projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
@@ -55,14 +34,12 @@ public interface UptimeCheckConfigOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * A human-friendly name for the Uptime check configuration. The display name
    * should be unique within a Stackdriver Workspace in order to make it easier
@@ -70,13 +47,10 @@ public interface UptimeCheckConfigOrBuilder
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * A human-friendly name for the Uptime check configuration. The display name
    * should be unique within a Stackdriver Workspace in order to make it easier
@@ -84,14 +58,12 @@ public interface UptimeCheckConfigOrBuilder
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * The [monitored
    * resource](https://cloud.google.com/monitoring/api/resources) associated
@@ -106,13 +78,10 @@ public interface UptimeCheckConfigOrBuilder
    * 
* * .google.api.MonitoredResource monitored_resource = 3; - * * @return Whether the monitoredResource field is set. */ boolean hasMonitoredResource(); /** - * - * *
    * The [monitored
    * resource](https://cloud.google.com/monitoring/api/resources) associated
@@ -127,13 +96,10 @@ public interface UptimeCheckConfigOrBuilder
    * 
* * .google.api.MonitoredResource monitored_resource = 3; - * * @return The monitoredResource. */ com.google.api.MonitoredResource getMonitoredResource(); /** - * - * *
    * The [monitored
    * resource](https://cloud.google.com/monitoring/api/resources) associated
@@ -152,32 +118,24 @@ public interface UptimeCheckConfigOrBuilder
   com.google.api.MonitoredResourceOrBuilder getMonitoredResourceOrBuilder();
 
   /**
-   *
-   *
    * 
    * The group resource associated with the configuration.
    * 
* * .google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4; - * * @return Whether the resourceGroup field is set. */ boolean hasResourceGroup(); /** - * - * *
    * The group resource associated with the configuration.
    * 
* * .google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4; - * * @return The resourceGroup. */ com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup getResourceGroup(); /** - * - * *
    * The group resource associated with the configuration.
    * 
@@ -187,32 +145,24 @@ public interface UptimeCheckConfigOrBuilder com.google.monitoring.v3.UptimeCheckConfig.ResourceGroupOrBuilder getResourceGroupOrBuilder(); /** - * - * *
    * Contains information needed to make an HTTP or HTTPS check.
    * 
* * .google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5; - * * @return Whether the httpCheck field is set. */ boolean hasHttpCheck(); /** - * - * *
    * Contains information needed to make an HTTP or HTTPS check.
    * 
* * .google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5; - * * @return The httpCheck. */ com.google.monitoring.v3.UptimeCheckConfig.HttpCheck getHttpCheck(); /** - * - * *
    * Contains information needed to make an HTTP or HTTPS check.
    * 
@@ -222,32 +172,24 @@ public interface UptimeCheckConfigOrBuilder com.google.monitoring.v3.UptimeCheckConfig.HttpCheckOrBuilder getHttpCheckOrBuilder(); /** - * - * *
    * Contains information needed to make a TCP check.
    * 
* * .google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6; - * * @return Whether the tcpCheck field is set. */ boolean hasTcpCheck(); /** - * - * *
    * Contains information needed to make a TCP check.
    * 
* * .google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6; - * * @return The tcpCheck. */ com.google.monitoring.v3.UptimeCheckConfig.TcpCheck getTcpCheck(); /** - * - * *
    * Contains information needed to make a TCP check.
    * 
@@ -257,8 +199,6 @@ public interface UptimeCheckConfigOrBuilder com.google.monitoring.v3.UptimeCheckConfig.TcpCheckOrBuilder getTcpCheckOrBuilder(); /** - * - * *
    * How often, in seconds, the Uptime check is performed.
    * Currently, the only supported values are `60s` (1 minute), `300s`
@@ -267,13 +207,10 @@ public interface UptimeCheckConfigOrBuilder
    * 
* * .google.protobuf.Duration period = 7; - * * @return Whether the period field is set. */ boolean hasPeriod(); /** - * - * *
    * How often, in seconds, the Uptime check is performed.
    * Currently, the only supported values are `60s` (1 minute), `300s`
@@ -282,13 +219,10 @@ public interface UptimeCheckConfigOrBuilder
    * 
* * .google.protobuf.Duration period = 7; - * * @return The period. */ com.google.protobuf.Duration getPeriod(); /** - * - * *
    * How often, in seconds, the Uptime check is performed.
    * Currently, the only supported values are `60s` (1 minute), `300s`
@@ -301,34 +235,26 @@ public interface UptimeCheckConfigOrBuilder
   com.google.protobuf.DurationOrBuilder getPeriodOrBuilder();
 
   /**
-   *
-   *
    * 
    * The maximum amount of time to wait for the request to complete (must be
    * between 1 and 60 seconds). Required.
    * 
* * .google.protobuf.Duration timeout = 8; - * * @return Whether the timeout field is set. */ boolean hasTimeout(); /** - * - * *
    * The maximum amount of time to wait for the request to complete (must be
    * between 1 and 60 seconds). Required.
    * 
* * .google.protobuf.Duration timeout = 8; - * * @return The timeout. */ com.google.protobuf.Duration getTimeout(); /** - * - * *
    * The maximum amount of time to wait for the request to complete (must be
    * between 1 and 60 seconds). Required.
@@ -339,8 +265,6 @@ public interface UptimeCheckConfigOrBuilder
   com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder();
 
   /**
-   *
-   *
    * 
    * The content that is expected to appear in the data returned by the target
    * server against which the check is run.  Currently, only the first entry
@@ -349,14 +273,11 @@ public interface UptimeCheckConfigOrBuilder
    * content match is required as part of the/ Uptime check.
    * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; - * + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; */ - java.util.List + java.util.List getContentMatchersList(); /** - * - * *
    * The content that is expected to appear in the data returned by the target
    * server against which the check is run.  Currently, only the first entry
@@ -365,13 +286,10 @@ public interface UptimeCheckConfigOrBuilder
    * content match is required as part of the/ Uptime check.
    * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; - * + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; */ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher getContentMatchers(int index); /** - * - * *
    * The content that is expected to appear in the data returned by the target
    * server against which the check is run.  Currently, only the first entry
@@ -380,13 +298,10 @@ public interface UptimeCheckConfigOrBuilder
    * content match is required as part of the/ Uptime check.
    * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; - * + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; */ int getContentMatchersCount(); /** - * - * *
    * The content that is expected to appear in the data returned by the target
    * server against which the check is run.  Currently, only the first entry
@@ -395,14 +310,11 @@ public interface UptimeCheckConfigOrBuilder
    * content match is required as part of the/ Uptime check.
    * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; - * + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; */ - java.util.List + java.util.List getContentMatchersOrBuilderList(); /** - * - * *
    * The content that is expected to appear in the data returned by the target
    * server against which the check is run.  Currently, only the first entry
@@ -411,15 +323,12 @@ public interface UptimeCheckConfigOrBuilder
    * content match is required as part of the/ Uptime check.
    * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; - * + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; */ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMatchersOrBuilder( int index); /** - * - * *
    * The list of regions from which the check will be run.
    * Some regions contain one location, and others contain more than one.
@@ -429,13 +338,10 @@ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMat
    * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; - * * @return A list containing the selectedRegions. */ java.util.List getSelectedRegionsList(); /** - * - * *
    * The list of regions from which the check will be run.
    * Some regions contain one location, and others contain more than one.
@@ -445,13 +351,10 @@ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMat
    * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; - * * @return The count of selectedRegions. */ int getSelectedRegionsCount(); /** - * - * *
    * The list of regions from which the check will be run.
    * Some regions contain one location, and others contain more than one.
@@ -461,14 +364,11 @@ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMat
    * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; - * * @param index The index of the element to return. * @return The selectedRegions at the given index. */ com.google.monitoring.v3.UptimeCheckRegion getSelectedRegions(int index); /** - * - * *
    * The list of regions from which the check will be run.
    * Some regions contain one location, and others contain more than one.
@@ -478,13 +378,11 @@ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMat
    * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; - * * @return A list containing the enum numeric values on the wire for selectedRegions. */ - java.util.List getSelectedRegionsValueList(); + java.util.List + getSelectedRegionsValueList(); /** - * - * *
    * The list of regions from which the check will be run.
    * Some regions contain one location, and others contain more than one.
@@ -494,15 +392,12 @@ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMat
    * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of selectedRegions at the given index. */ int getSelectedRegionsValue(int index); /** - * - * *
    * If this is `true`, then checks are made only from the 'internal_checkers'.
    * If it is `false`, then checks are made only from the 'selected_regions'.
@@ -511,15 +406,11 @@ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMat
    * 
* * bool is_internal = 15 [deprecated = true]; - * * @return The isInternal. */ - @java.lang.Deprecated - boolean getIsInternal(); + @java.lang.Deprecated boolean getIsInternal(); /** - * - * *
    * The internal checkers that this check will egress from. If `is_internal` is
    * `true` and this list is empty, the check will egress from all the
@@ -527,15 +418,11 @@ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMat
    * `UptimeCheckConfig`.
    * 
* - * - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; - * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; */ - @java.lang.Deprecated - java.util.List getInternalCheckersList(); + @java.lang.Deprecated java.util.List + getInternalCheckersList(); /** - * - * *
    * The internal checkers that this check will egress from. If `is_internal` is
    * `true` and this list is empty, the check will egress from all the
@@ -543,15 +430,10 @@ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMat
    * `UptimeCheckConfig`.
    * 
* - * - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; - * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; */ - @java.lang.Deprecated - com.google.monitoring.v3.InternalChecker getInternalCheckers(int index); + @java.lang.Deprecated com.google.monitoring.v3.InternalChecker getInternalCheckers(int index); /** - * - * *
    * The internal checkers that this check will egress from. If `is_internal` is
    * `true` and this list is empty, the check will egress from all the
@@ -559,15 +441,10 @@ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMat
    * `UptimeCheckConfig`.
    * 
* - * - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; - * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; */ - @java.lang.Deprecated - int getInternalCheckersCount(); + @java.lang.Deprecated int getInternalCheckersCount(); /** - * - * *
    * The internal checkers that this check will egress from. If `is_internal` is
    * `true` and this list is empty, the check will egress from all the
@@ -575,16 +452,11 @@ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMat
    * `UptimeCheckConfig`.
    * 
* - * - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; - * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; */ - @java.lang.Deprecated - java.util.List + @java.lang.Deprecated java.util.List getInternalCheckersOrBuilderList(); /** - * - * *
    * The internal checkers that this check will egress from. If `is_internal` is
    * `true` and this list is empty, the check will egress from all the
@@ -592,12 +464,10 @@ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMat
    * `UptimeCheckConfig`.
    * 
* - * - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; - * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; */ - @java.lang.Deprecated - com.google.monitoring.v3.InternalCheckerOrBuilder getInternalCheckersOrBuilder(int index); + @java.lang.Deprecated com.google.monitoring.v3.InternalCheckerOrBuilder getInternalCheckersOrBuilder( + int index); public com.google.monitoring.v3.UptimeCheckConfig.ResourceCase getResourceCase(); diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckIp.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckIp.java similarity index 74% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckIp.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckIp.java index 9c1b49c6..857f77d2 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckIp.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckIp.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/monitoring/v3/uptime.proto package com.google.monitoring.v3; /** - * - * *
  * Contains the region, location, and list of IP
  * addresses where checkers in the location run from.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.monitoring.v3.UptimeCheckIp}
  */
-public final class UptimeCheckIp extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UptimeCheckIp extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.UptimeCheckIp)
     UptimeCheckIpOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UptimeCheckIp.newBuilder() to construct.
   private UptimeCheckIp(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private UptimeCheckIp() {
     region_ = 0;
     location_ = "";
@@ -46,15 +28,16 @@ private UptimeCheckIp() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UptimeCheckIp();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private UptimeCheckIp(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,102 +56,86 @@ private UptimeCheckIp(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              int rawValue = input.readEnum();
+          case 8: {
+            int rawValue = input.readEnum();
 
-              region_ = rawValue;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            region_ = rawValue;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              location_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            location_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              ipAddress_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            ipAddress_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.monitoring.v3.UptimeProto
-        .internal_static_google_monitoring_v3_UptimeCheckIp_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckIp_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.monitoring.v3.UptimeProto
-        .internal_static_google_monitoring_v3_UptimeCheckIp_fieldAccessorTable
+    return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckIp_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.UptimeCheckIp.class,
-            com.google.monitoring.v3.UptimeCheckIp.Builder.class);
+            com.google.monitoring.v3.UptimeCheckIp.class, com.google.monitoring.v3.UptimeCheckIp.Builder.class);
   }
 
   public static final int REGION_FIELD_NUMBER = 1;
   private int region_;
   /**
-   *
-   *
    * 
    * A broad region category in which the IP address is located.
    * 
* * .google.monitoring.v3.UptimeCheckRegion region = 1; - * * @return The enum numeric value on the wire for region. */ - @java.lang.Override - public int getRegionValue() { + @java.lang.Override public int getRegionValue() { return region_; } /** - * - * *
    * A broad region category in which the IP address is located.
    * 
* * .google.monitoring.v3.UptimeCheckRegion region = 1; - * * @return The region. */ - @java.lang.Override - public com.google.monitoring.v3.UptimeCheckRegion getRegion() { + @java.lang.Override public com.google.monitoring.v3.UptimeCheckRegion getRegion() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.UptimeCheckRegion result = - com.google.monitoring.v3.UptimeCheckRegion.valueOf(region_); + com.google.monitoring.v3.UptimeCheckRegion result = com.google.monitoring.v3.UptimeCheckRegion.valueOf(region_); return result == null ? com.google.monitoring.v3.UptimeCheckRegion.UNRECOGNIZED : result; } public static final int LOCATION_FIELD_NUMBER = 2; private volatile java.lang.Object location_; /** - * - * *
    * A more specific location within the region that typically encodes
    * a particular city/town/metro (and its containing state/province or country)
@@ -176,7 +143,6 @@ public com.google.monitoring.v3.UptimeCheckRegion getRegion() {
    * 
* * string location = 2; - * * @return The location. */ @java.lang.Override @@ -185,15 +151,14 @@ 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; } } /** - * - * *
    * A more specific location within the region that typically encodes
    * a particular city/town/metro (and its containing state/province or country)
@@ -201,15 +166,16 @@ public java.lang.String getLocation() {
    * 
* * string location = 2; - * * @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 { @@ -220,8 +186,6 @@ public com.google.protobuf.ByteString getLocationBytes() { public static final int IP_ADDRESS_FIELD_NUMBER = 3; private volatile java.lang.Object ipAddress_; /** - * - * *
    * The IP address from which the Uptime check originates. This is a fully
    * specified IP address (not an IP address range). Most IP addresses, as of
@@ -231,7 +195,6 @@ public com.google.protobuf.ByteString getLocationBytes() {
    * 
* * string ip_address = 3; - * * @return The ipAddress. */ @java.lang.Override @@ -240,15 +203,14 @@ public java.lang.String getIpAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipAddress_ = s; return s; } } /** - * - * *
    * The IP address from which the Uptime check originates. This is a fully
    * specified IP address (not an IP address range). Most IP addresses, as of
@@ -258,15 +220,16 @@ public java.lang.String getIpAddress() {
    * 
* * string ip_address = 3; - * * @return The bytes for ipAddress. */ @java.lang.Override - public com.google.protobuf.ByteString getIpAddressBytes() { + public com.google.protobuf.ByteString + getIpAddressBytes() { java.lang.Object ref = ipAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ipAddress_ = b; return b; } else { @@ -275,7 +238,6 @@ public com.google.protobuf.ByteString getIpAddressBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -287,7 +249,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 (region_ != com.google.monitoring.v3.UptimeCheckRegion.REGION_UNSPECIFIED.getNumber()) { output.writeEnum(1, region_); } @@ -307,7 +270,8 @@ public int getSerializedSize() { size = 0; if (region_ != com.google.monitoring.v3.UptimeCheckRegion.REGION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, region_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, region_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, location_); @@ -323,7 +287,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.UptimeCheckIp)) { return super.equals(obj); @@ -331,8 +295,10 @@ public boolean equals(final java.lang.Object obj) { com.google.monitoring.v3.UptimeCheckIp other = (com.google.monitoring.v3.UptimeCheckIp) obj; if (region_ != other.region_) return false; - if (!getLocation().equals(other.getLocation())) return false; - if (!getIpAddress().equals(other.getIpAddress())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; + if (!getIpAddress() + .equals(other.getIpAddress())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -355,104 +321,97 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.UptimeCheckIp parseFrom(java.nio.ByteBuffer data) + public static com.google.monitoring.v3.UptimeCheckIp parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.UptimeCheckIp parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.UptimeCheckIp parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.UptimeCheckIp parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.UptimeCheckIp parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.UptimeCheckIp parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.UptimeCheckIp 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.monitoring.v3.UptimeCheckIp parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.UptimeCheckIp parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.UptimeCheckIp parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.UptimeCheckIp parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.UptimeCheckIp parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.UptimeCheckIp prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Contains the region, location, and list of IP
    * addresses where checkers in the location run from.
@@ -460,23 +419,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.monitoring.v3.UptimeCheckIp}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.UptimeCheckIp)
       com.google.monitoring.v3.UptimeCheckIpOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.monitoring.v3.UptimeProto
-          .internal_static_google_monitoring_v3_UptimeCheckIp_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckIp_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.UptimeProto
-          .internal_static_google_monitoring_v3_UptimeCheckIp_fieldAccessorTable
+      return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckIp_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.UptimeCheckIp.class,
-              com.google.monitoring.v3.UptimeCheckIp.Builder.class);
+              com.google.monitoring.v3.UptimeCheckIp.class, com.google.monitoring.v3.UptimeCheckIp.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.UptimeCheckIp.newBuilder()
@@ -484,15 +441,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -506,9 +464,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.monitoring.v3.UptimeProto
-          .internal_static_google_monitoring_v3_UptimeCheckIp_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckIp_descriptor;
     }
 
     @java.lang.Override
@@ -527,8 +485,7 @@ public com.google.monitoring.v3.UptimeCheckIp build() {
 
     @java.lang.Override
     public com.google.monitoring.v3.UptimeCheckIp buildPartial() {
-      com.google.monitoring.v3.UptimeCheckIp result =
-          new com.google.monitoring.v3.UptimeCheckIp(this);
+      com.google.monitoring.v3.UptimeCheckIp result = new com.google.monitoring.v3.UptimeCheckIp(this);
       result.region_ = region_;
       result.location_ = location_;
       result.ipAddress_ = ipAddress_;
@@ -540,39 +497,38 @@ public com.google.monitoring.v3.UptimeCheckIp 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.monitoring.v3.UptimeCheckIp) {
-        return mergeFrom((com.google.monitoring.v3.UptimeCheckIp) other);
+        return mergeFrom((com.google.monitoring.v3.UptimeCheckIp)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -623,65 +579,51 @@ public Builder mergeFrom(
 
     private int region_ = 0;
     /**
-     *
-     *
      * 
      * A broad region category in which the IP address is located.
      * 
* * .google.monitoring.v3.UptimeCheckRegion region = 1; - * * @return The enum numeric value on the wire for region. */ - @java.lang.Override - public int getRegionValue() { + @java.lang.Override public int getRegionValue() { return region_; } /** - * - * *
      * A broad region category in which the IP address is located.
      * 
* * .google.monitoring.v3.UptimeCheckRegion region = 1; - * * @param value The enum numeric value on the wire for region to set. * @return This builder for chaining. */ public Builder setRegionValue(int value) { - + region_ = value; onChanged(); return this; } /** - * - * *
      * A broad region category in which the IP address is located.
      * 
* * .google.monitoring.v3.UptimeCheckRegion region = 1; - * * @return The region. */ @java.lang.Override public com.google.monitoring.v3.UptimeCheckRegion getRegion() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.UptimeCheckRegion result = - com.google.monitoring.v3.UptimeCheckRegion.valueOf(region_); + com.google.monitoring.v3.UptimeCheckRegion result = com.google.monitoring.v3.UptimeCheckRegion.valueOf(region_); return result == null ? com.google.monitoring.v3.UptimeCheckRegion.UNRECOGNIZED : result; } /** - * - * *
      * A broad region category in which the IP address is located.
      * 
* * .google.monitoring.v3.UptimeCheckRegion region = 1; - * * @param value The region to set. * @return This builder for chaining. */ @@ -689,24 +631,21 @@ public Builder setRegion(com.google.monitoring.v3.UptimeCheckRegion value) { if (value == null) { throw new NullPointerException(); } - + region_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * A broad region category in which the IP address is located.
      * 
* * .google.monitoring.v3.UptimeCheckRegion region = 1; - * * @return This builder for chaining. */ public Builder clearRegion() { - + region_ = 0; onChanged(); return this; @@ -714,8 +653,6 @@ public Builder clearRegion() { private java.lang.Object location_ = ""; /** - * - * *
      * A more specific location within the region that typically encodes
      * a particular city/town/metro (and its containing state/province or country)
@@ -723,13 +660,13 @@ public Builder clearRegion() {
      * 
* * string location = 2; - * * @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; @@ -738,8 +675,6 @@ public java.lang.String getLocation() { } } /** - * - * *
      * A more specific location within the region that typically encodes
      * a particular city/town/metro (and its containing state/province or country)
@@ -747,14 +682,15 @@ public java.lang.String getLocation() {
      * 
* * string location = 2; - * * @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 { @@ -762,8 +698,6 @@ public com.google.protobuf.ByteString getLocationBytes() { } } /** - * - * *
      * A more specific location within the region that typically encodes
      * a particular city/town/metro (and its containing state/province or country)
@@ -771,22 +705,20 @@ public com.google.protobuf.ByteString getLocationBytes() {
      * 
* * string location = 2; - * * @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; } /** - * - * *
      * A more specific location within the region that typically encodes
      * a particular city/town/metro (and its containing state/province or country)
@@ -794,18 +726,15 @@ public Builder setLocation(java.lang.String value) {
      * 
* * string location = 2; - * * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** - * - * *
      * A more specific location within the region that typically encodes
      * a particular city/town/metro (and its containing state/province or country)
@@ -813,16 +742,16 @@ public Builder clearLocation() {
      * 
* * string location = 2; - * * @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; @@ -830,8 +759,6 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) { private java.lang.Object ipAddress_ = ""; /** - * - * *
      * The IP address from which the Uptime check originates. This is a fully
      * specified IP address (not an IP address range). Most IP addresses, as of
@@ -841,13 +768,13 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) {
      * 
* * string ip_address = 3; - * * @return The ipAddress. */ public java.lang.String getIpAddress() { java.lang.Object ref = ipAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipAddress_ = s; return s; @@ -856,8 +783,6 @@ public java.lang.String getIpAddress() { } } /** - * - * *
      * The IP address from which the Uptime check originates. This is a fully
      * specified IP address (not an IP address range). Most IP addresses, as of
@@ -867,14 +792,15 @@ public java.lang.String getIpAddress() {
      * 
* * string ip_address = 3; - * * @return The bytes for ipAddress. */ - public com.google.protobuf.ByteString getIpAddressBytes() { + public com.google.protobuf.ByteString + getIpAddressBytes() { java.lang.Object ref = ipAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ipAddress_ = b; return b; } else { @@ -882,8 +808,6 @@ public com.google.protobuf.ByteString getIpAddressBytes() { } } /** - * - * *
      * The IP address from which the Uptime check originates. This is a fully
      * specified IP address (not an IP address range). Most IP addresses, as of
@@ -893,22 +817,20 @@ public com.google.protobuf.ByteString getIpAddressBytes() {
      * 
* * string ip_address = 3; - * * @param value The ipAddress to set. * @return This builder for chaining. */ - public Builder setIpAddress(java.lang.String value) { + public Builder setIpAddress( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + ipAddress_ = value; onChanged(); return this; } /** - * - * *
      * The IP address from which the Uptime check originates. This is a fully
      * specified IP address (not an IP address range). Most IP addresses, as of
@@ -918,18 +840,15 @@ public Builder setIpAddress(java.lang.String value) {
      * 
* * string ip_address = 3; - * * @return This builder for chaining. */ public Builder clearIpAddress() { - + ipAddress_ = getDefaultInstance().getIpAddress(); onChanged(); return this; } /** - * - * *
      * The IP address from which the Uptime check originates. This is a fully
      * specified IP address (not an IP address range). Most IP addresses, as of
@@ -939,23 +858,23 @@ public Builder clearIpAddress() {
      * 
* * string ip_address = 3; - * * @param value The bytes for ipAddress to set. * @return This builder for chaining. */ - public Builder setIpAddressBytes(com.google.protobuf.ByteString value) { + public Builder setIpAddressBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ipAddress_ = 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); } @@ -965,12 +884,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.UptimeCheckIp) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.UptimeCheckIp) private static final com.google.monitoring.v3.UptimeCheckIp DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.UptimeCheckIp(); } @@ -979,16 +898,16 @@ public static com.google.monitoring.v3.UptimeCheckIp getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UptimeCheckIp parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UptimeCheckIp(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UptimeCheckIp parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UptimeCheckIp(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1003,4 +922,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.UptimeCheckIp getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckIpOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckIpOrBuilder.java similarity index 74% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckIpOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckIpOrBuilder.java index d05f7513..010c4bff 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckIpOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckIpOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/uptime.proto package com.google.monitoring.v3; -public interface UptimeCheckIpOrBuilder - extends +public interface UptimeCheckIpOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.UptimeCheckIp) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A broad region category in which the IP address is located.
    * 
* * .google.monitoring.v3.UptimeCheckRegion region = 1; - * * @return The enum numeric value on the wire for region. */ int getRegionValue(); /** - * - * *
    * A broad region category in which the IP address is located.
    * 
* * .google.monitoring.v3.UptimeCheckRegion region = 1; - * * @return The region. */ com.google.monitoring.v3.UptimeCheckRegion getRegion(); /** - * - * *
    * A more specific location within the region that typically encodes
    * a particular city/town/metro (and its containing state/province or country)
@@ -58,13 +34,10 @@ public interface UptimeCheckIpOrBuilder
    * 
* * string location = 2; - * * @return The location. */ java.lang.String getLocation(); /** - * - * *
    * A more specific location within the region that typically encodes
    * a particular city/town/metro (and its containing state/province or country)
@@ -72,14 +45,12 @@ public interface UptimeCheckIpOrBuilder
    * 
* * string location = 2; - * * @return The bytes for location. */ - com.google.protobuf.ByteString getLocationBytes(); + com.google.protobuf.ByteString + getLocationBytes(); /** - * - * *
    * The IP address from which the Uptime check originates. This is a fully
    * specified IP address (not an IP address range). Most IP addresses, as of
@@ -89,13 +60,10 @@ public interface UptimeCheckIpOrBuilder
    * 
* * string ip_address = 3; - * * @return The ipAddress. */ java.lang.String getIpAddress(); /** - * - * *
    * The IP address from which the Uptime check originates. This is a fully
    * specified IP address (not an IP address range). Most IP addresses, as of
@@ -105,8 +73,8 @@ public interface UptimeCheckIpOrBuilder
    * 
* * string ip_address = 3; - * * @return The bytes for ipAddress. */ - com.google.protobuf.ByteString getIpAddressBytes(); + com.google.protobuf.ByteString + getIpAddressBytes(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckRegion.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckRegion.java similarity index 72% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckRegion.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckRegion.java index 0ffbf88a..0c5bd5a5 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckRegion.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckRegion.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/uptime.proto package com.google.monitoring.v3; /** - * - * *
  * The regions from which an Uptime check can be run.
  * 
* * Protobuf enum {@code google.monitoring.v3.UptimeCheckRegion} */ -public enum UptimeCheckRegion implements com.google.protobuf.ProtocolMessageEnum { +public enum UptimeCheckRegion + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Default value if no region is specified. Will result in Uptime checks
    * running from all regions.
@@ -40,8 +22,6 @@ public enum UptimeCheckRegion implements com.google.protobuf.ProtocolMessageEnum
    */
   REGION_UNSPECIFIED(0),
   /**
-   *
-   *
    * 
    * Allows checks to run from locations within the United States of America.
    * 
@@ -50,8 +30,6 @@ public enum UptimeCheckRegion implements com.google.protobuf.ProtocolMessageEnum */ USA(1), /** - * - * *
    * Allows checks to run from locations within the continent of Europe.
    * 
@@ -60,8 +38,6 @@ public enum UptimeCheckRegion implements com.google.protobuf.ProtocolMessageEnum */ EUROPE(2), /** - * - * *
    * Allows checks to run from locations within the continent of South
    * America.
@@ -71,8 +47,6 @@ public enum UptimeCheckRegion implements com.google.protobuf.ProtocolMessageEnum
    */
   SOUTH_AMERICA(3),
   /**
-   *
-   *
    * 
    * Allows checks to run from locations within the Asia Pacific area (ex:
    * Singapore).
@@ -85,8 +59,6 @@ public enum UptimeCheckRegion implements com.google.protobuf.ProtocolMessageEnum
   ;
 
   /**
-   *
-   *
    * 
    * Default value if no region is specified. Will result in Uptime checks
    * running from all regions.
@@ -96,8 +68,6 @@ public enum UptimeCheckRegion implements com.google.protobuf.ProtocolMessageEnum
    */
   public static final int REGION_UNSPECIFIED_VALUE = 0;
   /**
-   *
-   *
    * 
    * Allows checks to run from locations within the United States of America.
    * 
@@ -106,8 +76,6 @@ public enum UptimeCheckRegion implements com.google.protobuf.ProtocolMessageEnum */ public static final int USA_VALUE = 1; /** - * - * *
    * Allows checks to run from locations within the continent of Europe.
    * 
@@ -116,8 +84,6 @@ public enum UptimeCheckRegion implements com.google.protobuf.ProtocolMessageEnum */ public static final int EUROPE_VALUE = 2; /** - * - * *
    * Allows checks to run from locations within the continent of South
    * America.
@@ -127,8 +93,6 @@ public enum UptimeCheckRegion implements com.google.protobuf.ProtocolMessageEnum
    */
   public static final int SOUTH_AMERICA_VALUE = 3;
   /**
-   *
-   *
    * 
    * Allows checks to run from locations within the Asia Pacific area (ex:
    * Singapore).
@@ -138,6 +102,7 @@ public enum UptimeCheckRegion implements com.google.protobuf.ProtocolMessageEnum
    */
   public static final int ASIA_PACIFIC_VALUE = 4;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -162,46 +127,41 @@ public static UptimeCheckRegion valueOf(int value) {
    */
   public static UptimeCheckRegion forNumber(int value) {
     switch (value) {
-      case 0:
-        return REGION_UNSPECIFIED;
-      case 1:
-        return USA;
-      case 2:
-        return EUROPE;
-      case 3:
-        return SOUTH_AMERICA;
-      case 4:
-        return ASIA_PACIFIC;
-      default:
-        return null;
+      case 0: return REGION_UNSPECIFIED;
+      case 1: return USA;
+      case 2: return EUROPE;
+      case 3: return SOUTH_AMERICA;
+      case 4: return ASIA_PACIFIC;
+      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 UptimeCheckRegion findValueByNumber(int number) {
-              return UptimeCheckRegion.forNumber(number);
-            }
-          };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      UptimeCheckRegion> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public UptimeCheckRegion findValueByNumber(int number) {
+            return UptimeCheckRegion.forNumber(number);
+          }
+        };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor
+      getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-
-  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+  public final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptorForType() {
     return getDescriptor();
   }
-
-  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
     return com.google.monitoring.v3.UptimeProto.getDescriptor().getEnumTypes().get(0);
   }
 
@@ -210,7 +170,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
   public static UptimeCheckRegion valueOf(
       com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -226,3 +187,4 @@ private UptimeCheckRegion(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.monitoring.v3.UptimeCheckRegion)
 }
+
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeProto.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeProto.java
new file mode 100644
index 00000000..7baec70b
--- /dev/null
+++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeProto.java
@@ -0,0 +1,218 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/monitoring/v3/uptime.proto
+
+package com.google.monitoring.v3;
+
+public final class UptimeProto {
+  private UptimeProto() {}
+  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_monitoring_v3_InternalChecker_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_InternalChecker_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_UptimeCheckConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_UptimeCheckConfig_ResourceGroup_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_UptimeCheckConfig_ResourceGroup_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_BasicAuthentication_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_BasicAuthentication_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_HeadersEntry_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_HeadersEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_UptimeCheckConfig_TcpCheck_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_UptimeCheckConfig_TcpCheck_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_UptimeCheckConfig_ContentMatcher_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_UptimeCheckConfig_ContentMatcher_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_UptimeCheckIp_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_UptimeCheckIp_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/monitoring/v3/uptime.proto\022\024goo" +
+      "gle.monitoring.v3\032#google/api/monitored_" +
+      "resource.proto\032\031google/api/resource.prot" +
+      "o\032\036google/protobuf/duration.proto\"\346\001\n\017In" +
+      "ternalChecker\022\014\n\004name\030\001 \001(\t\022\024\n\014display_n" +
+      "ame\030\002 \001(\t\022\017\n\007network\030\003 \001(\t\022\020\n\010gcp_zone\030\004" +
+      " \001(\t\022\027\n\017peer_project_id\030\006 \001(\t\022:\n\005state\030\007" +
+      " \001(\0162+.google.monitoring.v3.InternalChec" +
+      "ker.State\"3\n\005State\022\017\n\013UNSPECIFIED\020\000\022\014\n\010C" +
+      "REATING\020\001\022\013\n\007RUNNING\020\002:\002\030\001\"\373\017\n\021UptimeChe" +
+      "ckConfig\022\014\n\004name\030\001 \001(\t\022\024\n\014display_name\030\002" +
+      " \001(\t\022;\n\022monitored_resource\030\003 \001(\0132\035.googl" +
+      "e.api.MonitoredResourceH\000\022O\n\016resource_gr" +
+      "oup\030\004 \001(\01325.google.monitoring.v3.UptimeC" +
+      "heckConfig.ResourceGroupH\000\022G\n\nhttp_check" +
+      "\030\005 \001(\01321.google.monitoring.v3.UptimeChec" +
+      "kConfig.HttpCheckH\001\022E\n\ttcp_check\030\006 \001(\01320" +
+      ".google.monitoring.v3.UptimeCheckConfig." +
+      "TcpCheckH\001\022)\n\006period\030\007 \001(\0132\031.google.prot" +
+      "obuf.Duration\022*\n\007timeout\030\010 \001(\0132\031.google." +
+      "protobuf.Duration\022P\n\020content_matchers\030\t " +
+      "\003(\01326.google.monitoring.v3.UptimeCheckCo" +
+      "nfig.ContentMatcher\022A\n\020selected_regions\030" +
+      "\n \003(\0162\'.google.monitoring.v3.UptimeCheck" +
+      "Region\022\027\n\013is_internal\030\017 \001(\010B\002\030\001\022D\n\021inter" +
+      "nal_checkers\030\016 \003(\0132%.google.monitoring.v" +
+      "3.InternalCheckerB\002\030\001\032a\n\rResourceGroup\022\020" +
+      "\n\010group_id\030\001 \001(\t\022>\n\rresource_type\030\002 \001(\0162" +
+      "\'.google.monitoring.v3.GroupResourceType" +
+      "\032\250\005\n\tHttpCheck\022W\n\016request_method\030\010 \001(\0162?" +
+      ".google.monitoring.v3.UptimeCheckConfig." +
+      "HttpCheck.RequestMethod\022\017\n\007use_ssl\030\001 \001(\010" +
+      "\022\014\n\004path\030\002 \001(\t\022\014\n\004port\030\003 \001(\005\022X\n\tauth_inf" +
+      "o\030\004 \001(\0132E.google.monitoring.v3.UptimeChe" +
+      "ckConfig.HttpCheck.BasicAuthentication\022\024" +
+      "\n\014mask_headers\030\005 \001(\010\022O\n\007headers\030\006 \003(\0132>." +
+      "google.monitoring.v3.UptimeCheckConfig.H" +
+      "ttpCheck.HeadersEntry\022S\n\014content_type\030\t " +
+      "\001(\0162=.google.monitoring.v3.UptimeCheckCo" +
+      "nfig.HttpCheck.ContentType\022\024\n\014validate_s" +
+      "sl\030\007 \001(\010\022\014\n\004body\030\n \001(\014\0329\n\023BasicAuthentic" +
+      "ation\022\020\n\010username\030\001 \001(\t\022\020\n\010password\030\002 \001(" +
+      "\t\032.\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" +
+      "\002 \001(\t:\0028\001\":\n\rRequestMethod\022\026\n\022METHOD_UNS" +
+      "PECIFIED\020\000\022\007\n\003GET\020\001\022\010\n\004POST\020\002\"4\n\013Content" +
+      "Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\017\n\013URL_ENCODE" +
+      "D\020\001\032\030\n\010TcpCheck\022\014\n\004port\030\001 \001(\005\032\230\002\n\016Conten" +
+      "tMatcher\022\017\n\007content\030\001 \001(\t\022\\\n\007matcher\030\002 \001" +
+      "(\0162K.google.monitoring.v3.UptimeCheckCon" +
+      "fig.ContentMatcher.ContentMatcherOption\"" +
+      "\226\001\n\024ContentMatcherOption\022&\n\"CONTENT_MATC" +
+      "HER_OPTION_UNSPECIFIED\020\000\022\023\n\017CONTAINS_STR" +
+      "ING\020\001\022\027\n\023NOT_CONTAINS_STRING\020\002\022\021\n\rMATCHE" +
+      "S_REGEX\020\003\022\025\n\021NOT_MATCHES_REGEX\020\004:\363\001\352A\357\001\n" +
+      "+monitoring.googleapis.com/UptimeCheckCo" +
+      "nfig\022;projects/{project}/uptimeCheckConf" +
+      "igs/{uptime_check_config}\022Eorganizations" +
+      "/{organization}/uptimeCheckConfigs/{upti" +
+      "me_check_config}\0229folders/{folder}/uptim" +
+      "eCheckConfigs/{uptime_check_config}\022\001*B\n" +
+      "\n\010resourceB\024\n\022check_request_type\"n\n\rUpti" +
+      "meCheckIp\0227\n\006region\030\001 \001(\0162\'.google.monit" +
+      "oring.v3.UptimeCheckRegion\022\020\n\010location\030\002" +
+      " \001(\t\022\022\n\nip_address\030\003 \001(\t*e\n\021UptimeCheckR" +
+      "egion\022\026\n\022REGION_UNSPECIFIED\020\000\022\007\n\003USA\020\001\022\n" +
+      "\n\006EUROPE\020\002\022\021\n\rSOUTH_AMERICA\020\003\022\020\n\014ASIA_PA" +
+      "CIFIC\020\004*[\n\021GroupResourceType\022\035\n\031RESOURCE" +
+      "_TYPE_UNSPECIFIED\020\000\022\014\n\010INSTANCE\020\001\022\031\n\025AWS" +
+      "_ELB_LOAD_BALANCER\020\002B\303\001\n\030com.google.moni" +
+      "toring.v3B\013UptimeProtoP\001Z>google.golang." +
+      "org/genproto/googleapis/monitoring/v3;mo" +
+      "nitoring\252\002\032Google.Cloud.Monitoring.V3\312\002\032" +
+      "Google\\Cloud\\Monitoring\\V3\352\002\035Google::Clo" +
+      "ud::Monitoring::V3b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.MonitoredResourceProto.getDescriptor(),
+          com.google.api.ResourceProto.getDescriptor(),
+          com.google.protobuf.DurationProto.getDescriptor(),
+        });
+    internal_static_google_monitoring_v3_InternalChecker_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_monitoring_v3_InternalChecker_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_InternalChecker_descriptor,
+        new java.lang.String[] { "Name", "DisplayName", "Network", "GcpZone", "PeerProjectId", "State", });
+    internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_monitoring_v3_UptimeCheckConfig_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor,
+        new java.lang.String[] { "Name", "DisplayName", "MonitoredResource", "ResourceGroup", "HttpCheck", "TcpCheck", "Period", "Timeout", "ContentMatchers", "SelectedRegions", "IsInternal", "InternalCheckers", "Resource", "CheckRequestType", });
+    internal_static_google_monitoring_v3_UptimeCheckConfig_ResourceGroup_descriptor =
+      internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor.getNestedTypes().get(0);
+    internal_static_google_monitoring_v3_UptimeCheckConfig_ResourceGroup_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_UptimeCheckConfig_ResourceGroup_descriptor,
+        new java.lang.String[] { "GroupId", "ResourceType", });
+    internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_descriptor =
+      internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor.getNestedTypes().get(1);
+    internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_descriptor,
+        new java.lang.String[] { "RequestMethod", "UseSsl", "Path", "Port", "AuthInfo", "MaskHeaders", "Headers", "ContentType", "ValidateSsl", "Body", });
+    internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_BasicAuthentication_descriptor =
+      internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_descriptor.getNestedTypes().get(0);
+    internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_BasicAuthentication_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_BasicAuthentication_descriptor,
+        new java.lang.String[] { "Username", "Password", });
+    internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_HeadersEntry_descriptor =
+      internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_descriptor.getNestedTypes().get(1);
+    internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_HeadersEntry_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_HeadersEntry_descriptor,
+        new java.lang.String[] { "Key", "Value", });
+    internal_static_google_monitoring_v3_UptimeCheckConfig_TcpCheck_descriptor =
+      internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor.getNestedTypes().get(2);
+    internal_static_google_monitoring_v3_UptimeCheckConfig_TcpCheck_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_UptimeCheckConfig_TcpCheck_descriptor,
+        new java.lang.String[] { "Port", });
+    internal_static_google_monitoring_v3_UptimeCheckConfig_ContentMatcher_descriptor =
+      internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor.getNestedTypes().get(3);
+    internal_static_google_monitoring_v3_UptimeCheckConfig_ContentMatcher_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_UptimeCheckConfig_ContentMatcher_descriptor,
+        new java.lang.String[] { "Content", "Matcher", });
+    internal_static_google_monitoring_v3_UptimeCheckIp_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_monitoring_v3_UptimeCheckIp_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_UptimeCheckIp_descriptor,
+        new java.lang.String[] { "Region", "Location", "IpAddress", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ResourceProto.resource);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.MonitoredResourceProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.protobuf.DurationProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeServiceProto.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeServiceProto.java
new file mode 100644
index 00000000..607fcae2
--- /dev/null
+++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeServiceProto.java
@@ -0,0 +1,223 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/monitoring/v3/uptime_service.proto
+
+package com.google.monitoring.v3;
+
+public final class UptimeServiceProto {
+  private UptimeServiceProto() {}
+  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_monitoring_v3_ListUptimeCheckConfigsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_ListUptimeCheckConfigsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_ListUptimeCheckConfigsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_ListUptimeCheckConfigsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_GetUptimeCheckConfigRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_GetUptimeCheckConfigRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_CreateUptimeCheckConfigRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_CreateUptimeCheckConfigRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_UpdateUptimeCheckConfigRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_UpdateUptimeCheckConfigRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_DeleteUptimeCheckConfigRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_DeleteUptimeCheckConfigRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_ListUptimeCheckIpsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_ListUptimeCheckIpsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_monitoring_v3_ListUptimeCheckIpsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_ListUptimeCheckIpsResponse_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/monitoring/v3/uptime_service.pr" +
+      "oto\022\024google.monitoring.v3\032\034google/api/an" +
+      "notations.proto\032\027google/api/client.proto" +
+      "\032\037google/api/field_behavior.proto\032\031googl" +
+      "e/api/resource.proto\032#google/longrunning" +
+      "/operations.proto\032!google/monitoring/v3/" +
+      "uptime.proto\032\036google/protobuf/duration.p" +
+      "roto\032\033google/protobuf/empty.proto\032 googl" +
+      "e/protobuf/field_mask.proto\"\213\001\n\035ListUpti" +
+      "meCheckConfigsRequest\022C\n\006parent\030\001 \001(\tB3\340" +
+      "A\002\372A-\022+monitoring.googleapis.com/UptimeC" +
+      "heckConfig\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_to" +
+      "ken\030\004 \001(\t\"\224\001\n\036ListUptimeCheckConfigsResp" +
+      "onse\022E\n\024uptime_check_configs\030\001 \003(\0132\'.goo" +
+      "gle.monitoring.v3.UptimeCheckConfig\022\027\n\017n" +
+      "ext_page_token\030\002 \001(\t\022\022\n\ntotal_size\030\003 \001(\005" +
+      "\"`\n\033GetUptimeCheckConfigRequest\022A\n\004name\030" +
+      "\001 \001(\tB3\340A\002\372A-\n+monitoring.googleapis.com" +
+      "/UptimeCheckConfig\"\260\001\n\036CreateUptimeCheck" +
+      "ConfigRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\022+m" +
+      "onitoring.googleapis.com/UptimeCheckConf" +
+      "ig\022I\n\023uptime_check_config\030\002 \001(\0132\'.google" +
+      ".monitoring.v3.UptimeCheckConfigB\003\340A\002\"\234\001" +
+      "\n\036UpdateUptimeCheckConfigRequest\022/\n\013upda" +
+      "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" +
+      "k\022I\n\023uptime_check_config\030\003 \001(\0132\'.google." +
+      "monitoring.v3.UptimeCheckConfigB\003\340A\002\"c\n\036" +
+      "DeleteUptimeCheckConfigRequest\022A\n\004name\030\001" +
+      " \001(\tB3\340A\002\372A-\n+monitoring.googleapis.com/" +
+      "UptimeCheckConfig\"B\n\031ListUptimeCheckIpsR" +
+      "equest\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030" +
+      "\003 \001(\t\"t\n\032ListUptimeCheckIpsResponse\022=\n\020u" +
+      "ptime_check_ips\030\001 \003(\0132#.google.monitorin" +
+      "g.v3.UptimeCheckIp\022\027\n\017next_page_token\030\002 " +
+      "\001(\t2\275\n\n\022UptimeCheckService\022\300\001\n\026ListUptim" +
+      "eCheckConfigs\0223.google.monitoring.v3.Lis" +
+      "tUptimeCheckConfigsRequest\0324.google.moni" +
+      "toring.v3.ListUptimeCheckConfigsResponse" +
+      "\";\202\323\344\223\002,\022*/v3/{parent=projects/*}/uptime" +
+      "CheckConfigs\332A\006parent\022\255\001\n\024GetUptimeCheck" +
+      "Config\0221.google.monitoring.v3.GetUptimeC" +
+      "heckConfigRequest\032\'.google.monitoring.v3" +
+      ".UptimeCheckConfig\"9\202\323\344\223\002,\022*/v3/{name=pr" +
+      "ojects/*/uptimeCheckConfigs/*}\332A\004name\022\336\001" +
+      "\n\027CreateUptimeCheckConfig\0224.google.monit" +
+      "oring.v3.CreateUptimeCheckConfigRequest\032" +
+      "\'.google.monitoring.v3.UptimeCheckConfig" +
+      "\"d\202\323\344\223\002A\"*/v3/{parent=projects/*}/uptime" +
+      "CheckConfigs:\023uptime_check_config\332A\032pare" +
+      "nt,uptime_check_config\022\353\001\n\027UpdateUptimeC" +
+      "heckConfig\0224.google.monitoring.v3.Update" +
+      "UptimeCheckConfigRequest\032\'.google.monito" +
+      "ring.v3.UptimeCheckConfig\"q\202\323\344\223\002U2>/v3/{" +
+      "uptime_check_config.name=projects/*/upti" +
+      "meCheckConfigs/*}:\023uptime_check_config\332A" +
+      "\023uptime_check_config\022\242\001\n\027DeleteUptimeChe" +
+      "ckConfig\0224.google.monitoring.v3.DeleteUp" +
+      "timeCheckConfigRequest\032\026.google.protobuf" +
+      ".Empty\"9\202\323\344\223\002,**/v3/{name=projects/*/upt" +
+      "imeCheckConfigs/*}\332A\004name\022\223\001\n\022ListUptime" +
+      "CheckIps\022/.google.monitoring.v3.ListUpti" +
+      "meCheckIpsRequest\0320.google.monitoring.v3" +
+      ".ListUptimeCheckIpsResponse\"\032\202\323\344\223\002\024\022\022/v3" +
+      "/uptimeCheckIps\032\251\001\312A\031monitoring.googleap" +
+      "is.com\322A\211\001https://www.googleapis.com/aut" +
+      "h/cloud-platform,https://www.googleapis." +
+      "com/auth/monitoring,https://www.googleap" +
+      "is.com/auth/monitoring.readB\312\001\n\030com.goog" +
+      "le.monitoring.v3B\022UptimeServiceProtoP\001Z>" +
+      "google.golang.org/genproto/googleapis/mo" +
+      "nitoring/v3;monitoring\252\002\032Google.Cloud.Mo" +
+      "nitoring.V3\312\002\032Google\\Cloud\\Monitoring\\V3" +
+      "\352\002\035Google::Cloud::Monitoring::V3b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.AnnotationsProto.getDescriptor(),
+          com.google.api.ClientProto.getDescriptor(),
+          com.google.api.FieldBehaviorProto.getDescriptor(),
+          com.google.api.ResourceProto.getDescriptor(),
+          com.google.longrunning.OperationsProto.getDescriptor(),
+          com.google.monitoring.v3.UptimeProto.getDescriptor(),
+          com.google.protobuf.DurationProto.getDescriptor(),
+          com.google.protobuf.EmptyProto.getDescriptor(),
+          com.google.protobuf.FieldMaskProto.getDescriptor(),
+        });
+    internal_static_google_monitoring_v3_ListUptimeCheckConfigsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_monitoring_v3_ListUptimeCheckConfigsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_ListUptimeCheckConfigsRequest_descriptor,
+        new java.lang.String[] { "Parent", "PageSize", "PageToken", });
+    internal_static_google_monitoring_v3_ListUptimeCheckConfigsResponse_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_monitoring_v3_ListUptimeCheckConfigsResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_ListUptimeCheckConfigsResponse_descriptor,
+        new java.lang.String[] { "UptimeCheckConfigs", "NextPageToken", "TotalSize", });
+    internal_static_google_monitoring_v3_GetUptimeCheckConfigRequest_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_monitoring_v3_GetUptimeCheckConfigRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_GetUptimeCheckConfigRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_monitoring_v3_CreateUptimeCheckConfigRequest_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_monitoring_v3_CreateUptimeCheckConfigRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_CreateUptimeCheckConfigRequest_descriptor,
+        new java.lang.String[] { "Parent", "UptimeCheckConfig", });
+    internal_static_google_monitoring_v3_UpdateUptimeCheckConfigRequest_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_monitoring_v3_UpdateUptimeCheckConfigRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_UpdateUptimeCheckConfigRequest_descriptor,
+        new java.lang.String[] { "UpdateMask", "UptimeCheckConfig", });
+    internal_static_google_monitoring_v3_DeleteUptimeCheckConfigRequest_descriptor =
+      getDescriptor().getMessageTypes().get(5);
+    internal_static_google_monitoring_v3_DeleteUptimeCheckConfigRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_DeleteUptimeCheckConfigRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_monitoring_v3_ListUptimeCheckIpsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(6);
+    internal_static_google_monitoring_v3_ListUptimeCheckIpsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_ListUptimeCheckIpsRequest_descriptor,
+        new java.lang.String[] { "PageSize", "PageToken", });
+    internal_static_google_monitoring_v3_ListUptimeCheckIpsResponse_descriptor =
+      getDescriptor().getMessageTypes().get(7);
+    internal_static_google_monitoring_v3_ListUptimeCheckIpsResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_monitoring_v3_ListUptimeCheckIpsResponse_descriptor,
+        new java.lang.String[] { "UptimeCheckIps", "NextPageToken", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.methodSignature);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    registry.add(com.google.api.ResourceProto.resourceReference);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.ClientProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.longrunning.OperationsProto.getDescriptor();
+    com.google.monitoring.v3.UptimeProto.getDescriptor();
+    com.google.protobuf.DurationProto.getDescriptor();
+    com.google.protobuf.EmptyProto.getDescriptor();
+    com.google.protobuf.FieldMaskProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/VerifyNotificationChannelRequest.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/VerifyNotificationChannelRequest.java
similarity index 69%
rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/VerifyNotificationChannelRequest.java
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/VerifyNotificationChannelRequest.java
index 4134546d..9d4d5c22 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/VerifyNotificationChannelRequest.java
+++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/VerifyNotificationChannelRequest.java
@@ -1,43 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/monitoring/v3/notification_service.proto
 
 package com.google.monitoring.v3;
 
 /**
- *
- *
  * 
  * The `VerifyNotificationChannel` request.
  * 
* * Protobuf type {@code google.monitoring.v3.VerifyNotificationChannelRequest} */ -public final class VerifyNotificationChannelRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class VerifyNotificationChannelRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.VerifyNotificationChannelRequest) VerifyNotificationChannelRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use VerifyNotificationChannelRequest.newBuilder() to construct. - private VerifyNotificationChannelRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private VerifyNotificationChannelRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private VerifyNotificationChannelRequest() { name_ = ""; code_ = ""; @@ -45,15 +26,16 @@ private VerifyNotificationChannelRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new VerifyNotificationChannelRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private VerifyNotificationChannelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,67 +54,58 @@ private VerifyNotificationChannelRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - code_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + code_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_VerifyNotificationChannelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_VerifyNotificationChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_VerifyNotificationChannelRequest_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_VerifyNotificationChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.VerifyNotificationChannelRequest.class, - com.google.monitoring.v3.VerifyNotificationChannelRequest.Builder.class); + com.google.monitoring.v3.VerifyNotificationChannelRequest.class, com.google.monitoring.v3.VerifyNotificationChannelRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The notification channel to verify.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -141,31 +114,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The notification channel to verify.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -176,8 +147,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CODE_FIELD_NUMBER = 2; private volatile java.lang.Object code_; /** - * - * *
    * Required. The verification code that was delivered to the channel as
    * a result of invoking the `SendNotificationChannelVerificationCode` API
@@ -189,7 +158,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string code = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The code. */ @java.lang.Override @@ -198,15 +166,14 @@ public java.lang.String getCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); code_ = s; return s; } } /** - * - * *
    * Required. The verification code that was delivered to the channel as
    * a result of invoking the `SendNotificationChannelVerificationCode` API
@@ -218,15 +185,16 @@ public java.lang.String getCode() {
    * 
* * string code = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for code. */ @java.lang.Override - public com.google.protobuf.ByteString getCodeBytes() { + public com.google.protobuf.ByteString + getCodeBytes() { java.lang.Object ref = code_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); code_ = b; return b; } else { @@ -235,7 +203,6 @@ public com.google.protobuf.ByteString getCodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,7 +214,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -277,16 +245,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.monitoring.v3.VerifyNotificationChannelRequest)) { return super.equals(obj); } - com.google.monitoring.v3.VerifyNotificationChannelRequest other = - (com.google.monitoring.v3.VerifyNotificationChannelRequest) obj; + com.google.monitoring.v3.VerifyNotificationChannelRequest other = (com.google.monitoring.v3.VerifyNotificationChannelRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getCode().equals(other.getCode())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getCode() + .equals(other.getCode())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -308,127 +277,117 @@ public int hashCode() { } public static com.google.monitoring.v3.VerifyNotificationChannelRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.VerifyNotificationChannelRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.VerifyNotificationChannelRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.VerifyNotificationChannelRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.VerifyNotificationChannelRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.VerifyNotificationChannelRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.VerifyNotificationChannelRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.VerifyNotificationChannelRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.VerifyNotificationChannelRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.VerifyNotificationChannelRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.VerifyNotificationChannelRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.VerifyNotificationChannelRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.VerifyNotificationChannelRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.VerifyNotificationChannelRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.VerifyNotificationChannelRequest prototype) { + public static Builder newBuilder(com.google.monitoring.v3.VerifyNotificationChannelRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 `VerifyNotificationChannel` request.
    * 
* * Protobuf type {@code google.monitoring.v3.VerifyNotificationChannelRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.VerifyNotificationChannelRequest) com.google.monitoring.v3.VerifyNotificationChannelRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_VerifyNotificationChannelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_VerifyNotificationChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_VerifyNotificationChannelRequest_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_VerifyNotificationChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.VerifyNotificationChannelRequest.class, - com.google.monitoring.v3.VerifyNotificationChannelRequest.Builder.class); + com.google.monitoring.v3.VerifyNotificationChannelRequest.class, com.google.monitoring.v3.VerifyNotificationChannelRequest.Builder.class); } // Construct using com.google.monitoring.v3.VerifyNotificationChannelRequest.newBuilder() @@ -436,15 +395,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -456,9 +416,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.monitoring.v3.NotificationServiceProto - .internal_static_google_monitoring_v3_VerifyNotificationChannelRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_VerifyNotificationChannelRequest_descriptor; } @java.lang.Override @@ -477,8 +437,7 @@ public com.google.monitoring.v3.VerifyNotificationChannelRequest build() { @java.lang.Override public com.google.monitoring.v3.VerifyNotificationChannelRequest buildPartial() { - com.google.monitoring.v3.VerifyNotificationChannelRequest result = - new com.google.monitoring.v3.VerifyNotificationChannelRequest(this); + com.google.monitoring.v3.VerifyNotificationChannelRequest result = new com.google.monitoring.v3.VerifyNotificationChannelRequest(this); result.name_ = name_; result.code_ = code_; onBuilt(); @@ -489,39 +448,38 @@ public com.google.monitoring.v3.VerifyNotificationChannelRequest 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.monitoring.v3.VerifyNotificationChannelRequest) { - return mergeFrom((com.google.monitoring.v3.VerifyNotificationChannelRequest) other); + return mergeFrom((com.google.monitoring.v3.VerifyNotificationChannelRequest)other); } else { super.mergeFrom(other); return this; @@ -529,8 +487,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.VerifyNotificationChannelRequest other) { - if (other == com.google.monitoring.v3.VerifyNotificationChannelRequest.getDefaultInstance()) - return this; + if (other == com.google.monitoring.v3.VerifyNotificationChannelRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -558,8 +515,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.monitoring.v3.VerifyNotificationChannelRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.monitoring.v3.VerifyNotificationChannelRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -571,22 +527,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The notification channel to verify.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -595,23 +547,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The notification channel to verify.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -619,67 +568,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The notification channel to verify.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The notification channel to verify.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The notification channel to verify.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -687,8 +623,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object code_ = ""; /** - * - * *
      * Required. The verification code that was delivered to the channel as
      * a result of invoking the `SendNotificationChannelVerificationCode` API
@@ -700,13 +634,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string code = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The code. */ public java.lang.String getCode() { java.lang.Object ref = code_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); code_ = s; return s; @@ -715,8 +649,6 @@ public java.lang.String getCode() { } } /** - * - * *
      * Required. The verification code that was delivered to the channel as
      * a result of invoking the `SendNotificationChannelVerificationCode` API
@@ -728,14 +660,15 @@ public java.lang.String getCode() {
      * 
* * string code = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for code. */ - public com.google.protobuf.ByteString getCodeBytes() { + public com.google.protobuf.ByteString + getCodeBytes() { java.lang.Object ref = code_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); code_ = b; return b; } else { @@ -743,8 +676,6 @@ public com.google.protobuf.ByteString getCodeBytes() { } } /** - * - * *
      * Required. The verification code that was delivered to the channel as
      * a result of invoking the `SendNotificationChannelVerificationCode` API
@@ -756,22 +687,20 @@ public com.google.protobuf.ByteString getCodeBytes() {
      * 
* * string code = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The code to set. * @return This builder for chaining. */ - public Builder setCode(java.lang.String value) { + public Builder setCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + code_ = value; onChanged(); return this; } /** - * - * *
      * Required. The verification code that was delivered to the channel as
      * a result of invoking the `SendNotificationChannelVerificationCode` API
@@ -783,18 +712,15 @@ public Builder setCode(java.lang.String value) {
      * 
* * string code = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearCode() { - + code_ = getDefaultInstance().getCode(); onChanged(); return this; } /** - * - * *
      * Required. The verification code that was delivered to the channel as
      * a result of invoking the `SendNotificationChannelVerificationCode` API
@@ -806,23 +732,23 @@ public Builder clearCode() {
      * 
* * string code = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for code to set. * @return This builder for chaining. */ - public Builder setCodeBytes(com.google.protobuf.ByteString value) { + public Builder setCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + code_ = 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); } @@ -832,12 +758,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.VerifyNotificationChannelRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.VerifyNotificationChannelRequest) private static final com.google.monitoring.v3.VerifyNotificationChannelRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.monitoring.v3.VerifyNotificationChannelRequest(); } @@ -846,16 +772,16 @@ public static com.google.monitoring.v3.VerifyNotificationChannelRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VerifyNotificationChannelRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VerifyNotificationChannelRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VerifyNotificationChannelRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VerifyNotificationChannelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -870,4 +796,6 @@ public com.google.protobuf.Parser getParserFor public com.google.monitoring.v3.VerifyNotificationChannelRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/VerifyNotificationChannelRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/VerifyNotificationChannelRequestOrBuilder.java similarity index 63% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/VerifyNotificationChannelRequestOrBuilder.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/VerifyNotificationChannelRequestOrBuilder.java index a5c8ee44..d0fff217 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/VerifyNotificationChannelRequestOrBuilder.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/VerifyNotificationChannelRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/notification_service.proto package com.google.monitoring.v3; -public interface VerifyNotificationChannelRequestOrBuilder - extends +public interface VerifyNotificationChannelRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.VerifyNotificationChannelRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The notification channel to verify.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The notification channel to verify.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The verification code that was delivered to the channel as
    * a result of invoking the `SendNotificationChannelVerificationCode` API
@@ -66,13 +39,10 @@ public interface VerifyNotificationChannelRequestOrBuilder
    * 
* * string code = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The code. */ java.lang.String getCode(); /** - * - * *
    * Required. The verification code that was delivered to the channel as
    * a result of invoking the `SendNotificationChannelVerificationCode` API
@@ -84,8 +54,8 @@ public interface VerifyNotificationChannelRequestOrBuilder
    * 
* * string code = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for code. */ - com.google.protobuf.ByteString getCodeBytes(); + com.google.protobuf.ByteString + getCodeBytes(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/WindowsBasedSli.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/WindowsBasedSli.java similarity index 72% rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/WindowsBasedSli.java rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/WindowsBasedSli.java index 9f24d80e..e203a451 100644 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/WindowsBasedSli.java +++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/WindowsBasedSli.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/monitoring/v3/service.proto package com.google.monitoring.v3; /** - * - * *
  * A `WindowsBasedSli` defines `good_service` as the count of time windows for
  * which the provided service was of good quality. Criteria for determining
@@ -29,29 +12,30 @@
  *
  * Protobuf type {@code google.monitoring.v3.WindowsBasedSli}
  */
-public final class WindowsBasedSli extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class WindowsBasedSli extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.WindowsBasedSli)
     WindowsBasedSliOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use WindowsBasedSli.newBuilder() to construct.
   private WindowsBasedSli(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private WindowsBasedSli() {}
+  private WindowsBasedSli() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new WindowsBasedSli();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private WindowsBasedSli(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -70,157 +54,122 @@ private WindowsBasedSli(
           case 0:
             done = true;
             break;
-          case 18:
-            {
-              com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.Builder subBuilder =
-                  null;
-              if (windowCriterionCase_ == 2) {
-                subBuilder =
-                    ((com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold)
-                            windowCriterion_)
-                        .toBuilder();
-              }
-              windowCriterion_ =
-                  input.readMessage(
-                      com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold)
-                        windowCriterion_);
-                windowCriterion_ = subBuilder.buildPartial();
-              }
-              windowCriterionCase_ = 2;
-              break;
+          case 18: {
+            com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.Builder subBuilder = null;
+            if (windowCriterionCase_ == 2) {
+              subBuilder = ((com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) windowCriterion_).toBuilder();
+            }
+            windowCriterion_ =
+                input.readMessage(com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) windowCriterion_);
+              windowCriterion_ = subBuilder.buildPartial();
+            }
+            windowCriterionCase_ = 2;
+            break;
+          }
+          case 34: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (windowPeriod_ != null) {
+              subBuilder = windowPeriod_.toBuilder();
+            }
+            windowPeriod_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(windowPeriod_);
+              windowPeriod_ = subBuilder.buildPartial();
             }
-          case 34:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (windowPeriod_ != null) {
-                subBuilder = windowPeriod_.toBuilder();
-              }
-              windowPeriod_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(windowPeriod_);
-                windowPeriod_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 42: {
+            java.lang.String s = input.readStringRequireUtf8();
+            windowCriterionCase_ = 5;
+            windowCriterion_ = s;
+            break;
+          }
+          case 50: {
+            com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder subBuilder = null;
+            if (windowCriterionCase_ == 6) {
+              subBuilder = ((com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_).toBuilder();
             }
-          case 42:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              windowCriterionCase_ = 5;
-              windowCriterion_ = s;
-              break;
+            windowCriterion_ =
+                input.readMessage(com.google.monitoring.v3.WindowsBasedSli.MetricRange.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_);
+              windowCriterion_ = subBuilder.buildPartial();
             }
-          case 50:
-            {
-              com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder subBuilder = null;
-              if (windowCriterionCase_ == 6) {
-                subBuilder =
-                    ((com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_)
-                        .toBuilder();
-              }
-              windowCriterion_ =
-                  input.readMessage(
-                      com.google.monitoring.v3.WindowsBasedSli.MetricRange.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_);
-                windowCriterion_ = subBuilder.buildPartial();
-              }
-              windowCriterionCase_ = 6;
-              break;
+            windowCriterionCase_ = 6;
+            break;
+          }
+          case 58: {
+            com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder subBuilder = null;
+            if (windowCriterionCase_ == 7) {
+              subBuilder = ((com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_).toBuilder();
             }
-          case 58:
-            {
-              com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder subBuilder = null;
-              if (windowCriterionCase_ == 7) {
-                subBuilder =
-                    ((com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_)
-                        .toBuilder();
-              }
-              windowCriterion_ =
-                  input.readMessage(
-                      com.google.monitoring.v3.WindowsBasedSli.MetricRange.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_);
-                windowCriterion_ = subBuilder.buildPartial();
-              }
-              windowCriterionCase_ = 7;
-              break;
+            windowCriterion_ =
+                input.readMessage(com.google.monitoring.v3.WindowsBasedSli.MetricRange.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_);
+              windowCriterion_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            windowCriterionCase_ = 7;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.monitoring.v3.ServiceMonitoringProto
-        .internal_static_google_monitoring_v3_WindowsBasedSli_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_WindowsBasedSli_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.monitoring.v3.ServiceMonitoringProto
-        .internal_static_google_monitoring_v3_WindowsBasedSli_fieldAccessorTable
+    return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_WindowsBasedSli_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.WindowsBasedSli.class,
-            com.google.monitoring.v3.WindowsBasedSli.Builder.class);
+            com.google.monitoring.v3.WindowsBasedSli.class, com.google.monitoring.v3.WindowsBasedSli.Builder.class);
   }
 
-  public interface PerformanceThresholdOrBuilder
-      extends
+  public interface PerformanceThresholdOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.monitoring.v3.WindowsBasedSli.PerformanceThreshold)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * `RequestBasedSli` to evaluate to judge window quality.
      * 
* * .google.monitoring.v3.RequestBasedSli performance = 1; - * * @return Whether the performance field is set. */ boolean hasPerformance(); /** - * - * *
      * `RequestBasedSli` to evaluate to judge window quality.
      * 
* * .google.monitoring.v3.RequestBasedSli performance = 1; - * * @return The performance. */ com.google.monitoring.v3.RequestBasedSli getPerformance(); /** - * - * *
      * `RequestBasedSli` to evaluate to judge window quality.
      * 
@@ -230,32 +179,24 @@ public interface PerformanceThresholdOrBuilder com.google.monitoring.v3.RequestBasedSliOrBuilder getPerformanceOrBuilder(); /** - * - * *
      * `BasicSli` to evaluate to judge window quality.
      * 
* * .google.monitoring.v3.BasicSli basic_sli_performance = 3; - * * @return Whether the basicSliPerformance field is set. */ boolean hasBasicSliPerformance(); /** - * - * *
      * `BasicSli` to evaluate to judge window quality.
      * 
* * .google.monitoring.v3.BasicSli basic_sli_performance = 3; - * * @return The basicSliPerformance. */ com.google.monitoring.v3.BasicSli getBasicSliPerformance(); /** - * - * *
      * `BasicSli` to evaluate to judge window quality.
      * 
@@ -265,14 +206,11 @@ public interface PerformanceThresholdOrBuilder com.google.monitoring.v3.BasicSliOrBuilder getBasicSliPerformanceOrBuilder(); /** - * - * *
      * If window `performance >= threshold`, the window is counted as good.
      * 
* * double threshold = 2; - * * @return The threshold. */ double getThreshold(); @@ -280,8 +218,6 @@ public interface PerformanceThresholdOrBuilder public com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.TypeCase getTypeCase(); } /** - * - * *
    * A `PerformanceThreshold` is used when each window is good when that window
    * has a sufficiently high `performance`.
@@ -289,29 +225,30 @@ public interface PerformanceThresholdOrBuilder
    *
    * Protobuf type {@code google.monitoring.v3.WindowsBasedSli.PerformanceThreshold}
    */
-  public static final class PerformanceThreshold extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class PerformanceThreshold extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.monitoring.v3.WindowsBasedSli.PerformanceThreshold)
       PerformanceThresholdOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use PerformanceThreshold.newBuilder() to construct.
     private PerformanceThreshold(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private PerformanceThreshold() {}
+    private PerformanceThreshold() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new PerformanceThreshold();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private PerformanceThreshold(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -330,89 +267,80 @@ private PerformanceThreshold(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.monitoring.v3.RequestBasedSli.Builder subBuilder = null;
-                if (typeCase_ == 1) {
-                  subBuilder = ((com.google.monitoring.v3.RequestBasedSli) type_).toBuilder();
-                }
-                type_ =
-                    input.readMessage(
-                        com.google.monitoring.v3.RequestBasedSli.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom((com.google.monitoring.v3.RequestBasedSli) type_);
-                  type_ = subBuilder.buildPartial();
-                }
-                typeCase_ = 1;
-                break;
+            case 10: {
+              com.google.monitoring.v3.RequestBasedSli.Builder subBuilder = null;
+              if (typeCase_ == 1) {
+                subBuilder = ((com.google.monitoring.v3.RequestBasedSli) type_).toBuilder();
               }
-            case 17:
-              {
-                threshold_ = input.readDouble();
-                break;
+              type_ =
+                  input.readMessage(com.google.monitoring.v3.RequestBasedSli.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.monitoring.v3.RequestBasedSli) type_);
+                type_ = subBuilder.buildPartial();
+              }
+              typeCase_ = 1;
+              break;
+            }
+            case 17: {
+
+              threshold_ = input.readDouble();
+              break;
+            }
+            case 26: {
+              com.google.monitoring.v3.BasicSli.Builder subBuilder = null;
+              if (typeCase_ == 3) {
+                subBuilder = ((com.google.monitoring.v3.BasicSli) type_).toBuilder();
               }
-            case 26:
-              {
-                com.google.monitoring.v3.BasicSli.Builder subBuilder = null;
-                if (typeCase_ == 3) {
-                  subBuilder = ((com.google.monitoring.v3.BasicSli) type_).toBuilder();
-                }
-                type_ =
-                    input.readMessage(
-                        com.google.monitoring.v3.BasicSli.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom((com.google.monitoring.v3.BasicSli) type_);
-                  type_ = subBuilder.buildPartial();
-                }
-                typeCase_ = 3;
-                break;
+              type_ =
+                  input.readMessage(com.google.monitoring.v3.BasicSli.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.monitoring.v3.BasicSli) type_);
+                type_ = subBuilder.buildPartial();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              typeCase_ = 3;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.monitoring.v3.ServiceMonitoringProto
-          .internal_static_google_monitoring_v3_WindowsBasedSli_PerformanceThreshold_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_WindowsBasedSli_PerformanceThreshold_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.ServiceMonitoringProto
-          .internal_static_google_monitoring_v3_WindowsBasedSli_PerformanceThreshold_fieldAccessorTable
+      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_WindowsBasedSli_PerformanceThreshold_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.class,
-              com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.Builder.class);
+              com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.class, com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.Builder.class);
     }
 
     private int typeCase_ = 0;
     private java.lang.Object type_;
-
     public enum TypeCase
-        implements
-            com.google.protobuf.Internal.EnumLite,
+        implements com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       PERFORMANCE(1),
       BASIC_SLI_PERFORMANCE(3),
       TYPE_NOT_SET(0);
       private final int value;
-
       private TypeCase(int value) {
         this.value = value;
       }
@@ -428,36 +356,30 @@ public static TypeCase valueOf(int value) {
 
       public static TypeCase forNumber(int value) {
         switch (value) {
-          case 1:
-            return PERFORMANCE;
-          case 3:
-            return BASIC_SLI_PERFORMANCE;
-          case 0:
-            return TYPE_NOT_SET;
-          default:
-            return null;
+          case 1: return PERFORMANCE;
+          case 3: return BASIC_SLI_PERFORMANCE;
+          case 0: return TYPE_NOT_SET;
+          default: return null;
         }
       }
-
       public int getNumber() {
         return this.value;
       }
     };
 
-    public TypeCase getTypeCase() {
-      return TypeCase.forNumber(typeCase_);
+    public TypeCase
+    getTypeCase() {
+      return TypeCase.forNumber(
+          typeCase_);
     }
 
     public static final int PERFORMANCE_FIELD_NUMBER = 1;
     /**
-     *
-     *
      * 
      * `RequestBasedSli` to evaluate to judge window quality.
      * 
* * .google.monitoring.v3.RequestBasedSli performance = 1; - * * @return Whether the performance field is set. */ @java.lang.Override @@ -465,26 +387,21 @@ public boolean hasPerformance() { return typeCase_ == 1; } /** - * - * *
      * `RequestBasedSli` to evaluate to judge window quality.
      * 
* * .google.monitoring.v3.RequestBasedSli performance = 1; - * * @return The performance. */ @java.lang.Override public com.google.monitoring.v3.RequestBasedSli getPerformance() { if (typeCase_ == 1) { - return (com.google.monitoring.v3.RequestBasedSli) type_; + return (com.google.monitoring.v3.RequestBasedSli) type_; } return com.google.monitoring.v3.RequestBasedSli.getDefaultInstance(); } /** - * - * *
      * `RequestBasedSli` to evaluate to judge window quality.
      * 
@@ -494,21 +411,18 @@ public com.google.monitoring.v3.RequestBasedSli getPerformance() { @java.lang.Override public com.google.monitoring.v3.RequestBasedSliOrBuilder getPerformanceOrBuilder() { if (typeCase_ == 1) { - return (com.google.monitoring.v3.RequestBasedSli) type_; + return (com.google.monitoring.v3.RequestBasedSli) type_; } return com.google.monitoring.v3.RequestBasedSli.getDefaultInstance(); } public static final int BASIC_SLI_PERFORMANCE_FIELD_NUMBER = 3; /** - * - * *
      * `BasicSli` to evaluate to judge window quality.
      * 
* * .google.monitoring.v3.BasicSli basic_sli_performance = 3; - * * @return Whether the basicSliPerformance field is set. */ @java.lang.Override @@ -516,26 +430,21 @@ public boolean hasBasicSliPerformance() { return typeCase_ == 3; } /** - * - * *
      * `BasicSli` to evaluate to judge window quality.
      * 
* * .google.monitoring.v3.BasicSli basic_sli_performance = 3; - * * @return The basicSliPerformance. */ @java.lang.Override public com.google.monitoring.v3.BasicSli getBasicSliPerformance() { if (typeCase_ == 3) { - return (com.google.monitoring.v3.BasicSli) type_; + return (com.google.monitoring.v3.BasicSli) type_; } return com.google.monitoring.v3.BasicSli.getDefaultInstance(); } /** - * - * *
      * `BasicSli` to evaluate to judge window quality.
      * 
@@ -545,7 +454,7 @@ public com.google.monitoring.v3.BasicSli getBasicSliPerformance() { @java.lang.Override public com.google.monitoring.v3.BasicSliOrBuilder getBasicSliPerformanceOrBuilder() { if (typeCase_ == 3) { - return (com.google.monitoring.v3.BasicSli) type_; + return (com.google.monitoring.v3.BasicSli) type_; } return com.google.monitoring.v3.BasicSli.getDefaultInstance(); } @@ -553,14 +462,11 @@ public com.google.monitoring.v3.BasicSliOrBuilder getBasicSliPerformanceOrBuilde public static final int THRESHOLD_FIELD_NUMBER = 2; private double threshold_; /** - * - * *
      * If window `performance >= threshold`, the window is counted as good.
      * 
* * double threshold = 2; - * * @return The threshold. */ @java.lang.Override @@ -569,7 +475,6 @@ public double getThreshold() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -581,7 +486,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 (typeCase_ == 1) { output.writeMessage(1, (com.google.monitoring.v3.RequestBasedSli) type_); } @@ -601,17 +507,16 @@ public int getSerializedSize() { size = 0; if (typeCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.monitoring.v3.RequestBasedSli) type_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.monitoring.v3.RequestBasedSli) type_); } if (threshold_ != 0D) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, threshold_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(2, threshold_); } if (typeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.monitoring.v3.BasicSli) type_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.monitoring.v3.BasicSli) type_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -621,23 +526,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold)) { return super.equals(obj); } - com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold other = - (com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) obj; + com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold other = (com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) obj; if (java.lang.Double.doubleToLongBits(getThreshold()) - != java.lang.Double.doubleToLongBits(other.getThreshold())) return false; + != java.lang.Double.doubleToLongBits( + other.getThreshold())) return false; if (!getTypeCase().equals(other.getTypeCase())) return false; switch (typeCase_) { case 1: - if (!getPerformance().equals(other.getPerformance())) return false; + if (!getPerformance() + .equals(other.getPerformance())) return false; break; case 3: - if (!getBasicSliPerformance().equals(other.getBasicSliPerformance())) return false; + if (!getBasicSliPerformance() + .equals(other.getBasicSliPerformance())) return false; break; case 0: default: @@ -654,10 +561,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + THRESHOLD_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getThreshold())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getThreshold())); switch (typeCase_) { case 1: hash = (37 * hash) + PERFORMANCE_FIELD_NUMBER; @@ -676,94 +581,87 @@ public int hashCode() { } public static com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold prototype) { + public static Builder newBuilder(com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -773,8 +671,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A `PerformanceThreshold` is used when each window is good when that window
      * has a sufficiently high `performance`.
@@ -782,24 +678,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.monitoring.v3.WindowsBasedSli.PerformanceThreshold}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.monitoring.v3.WindowsBasedSli.PerformanceThreshold)
         com.google.monitoring.v3.WindowsBasedSli.PerformanceThresholdOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.monitoring.v3.ServiceMonitoringProto
-            .internal_static_google_monitoring_v3_WindowsBasedSli_PerformanceThreshold_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_WindowsBasedSli_PerformanceThreshold_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.monitoring.v3.ServiceMonitoringProto
-            .internal_static_google_monitoring_v3_WindowsBasedSli_PerformanceThreshold_fieldAccessorTable
+        return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_WindowsBasedSli_PerformanceThreshold_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.class,
-                com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.Builder.class);
+                com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.class, com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.Builder.class);
       }
 
       // Construct using com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.newBuilder()
@@ -807,15 +700,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -827,14 +721,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.monitoring.v3.ServiceMonitoringProto
-            .internal_static_google_monitoring_v3_WindowsBasedSli_PerformanceThreshold_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_WindowsBasedSli_PerformanceThreshold_descriptor;
       }
 
       @java.lang.Override
-      public com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold
-          getDefaultInstanceForType() {
+      public com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold getDefaultInstanceForType() {
         return com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.getDefaultInstance();
       }
 
@@ -849,8 +742,7 @@ public com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold build() {
 
       @java.lang.Override
       public com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold buildPartial() {
-        com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold result =
-            new com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold(this);
+        com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold result = new com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold(this);
         if (typeCase_ == 1) {
           if (performanceBuilder_ == null) {
             result.type_ = type_;
@@ -875,70 +767,61 @@ public com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold buildPartia
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) {
-          return mergeFrom((com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) other);
+          return mergeFrom((com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold other) {
-        if (other
-            == com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.getDefaultInstance())
-          return this;
+      public Builder mergeFrom(com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold other) {
+        if (other == com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.getDefaultInstance()) return this;
         if (other.getThreshold() != 0D) {
           setThreshold(other.getThreshold());
         }
         switch (other.getTypeCase()) {
-          case PERFORMANCE:
-            {
-              mergePerformance(other.getPerformance());
-              break;
-            }
-          case BASIC_SLI_PERFORMANCE:
-            {
-              mergeBasicSliPerformance(other.getBasicSliPerformance());
-              break;
-            }
-          case TYPE_NOT_SET:
-            {
-              break;
-            }
+          case PERFORMANCE: {
+            mergePerformance(other.getPerformance());
+            break;
+          }
+          case BASIC_SLI_PERFORMANCE: {
+            mergeBasicSliPerformance(other.getBasicSliPerformance());
+            break;
+          }
+          case TYPE_NOT_SET: {
+            break;
+          }
         }
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
@@ -959,9 +842,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -970,12 +851,12 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int typeCase_ = 0;
       private java.lang.Object type_;
-
-      public TypeCase getTypeCase() {
-        return TypeCase.forNumber(typeCase_);
+      public TypeCase
+          getTypeCase() {
+        return TypeCase.forNumber(
+            typeCase_);
       }
 
       public Builder clearType() {
@@ -985,20 +866,15 @@ public Builder clearType() {
         return this;
       }
 
+
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.monitoring.v3.RequestBasedSli,
-              com.google.monitoring.v3.RequestBasedSli.Builder,
-              com.google.monitoring.v3.RequestBasedSliOrBuilder>
-          performanceBuilder_;
+          com.google.monitoring.v3.RequestBasedSli, com.google.monitoring.v3.RequestBasedSli.Builder, com.google.monitoring.v3.RequestBasedSliOrBuilder> performanceBuilder_;
       /**
-       *
-       *
        * 
        * `RequestBasedSli` to evaluate to judge window quality.
        * 
* * .google.monitoring.v3.RequestBasedSli performance = 1; - * * @return Whether the performance field is set. */ @java.lang.Override @@ -1006,14 +882,11 @@ public boolean hasPerformance() { return typeCase_ == 1; } /** - * - * *
        * `RequestBasedSli` to evaluate to judge window quality.
        * 
* * .google.monitoring.v3.RequestBasedSli performance = 1; - * * @return The performance. */ @java.lang.Override @@ -1031,8 +904,6 @@ public com.google.monitoring.v3.RequestBasedSli getPerformance() { } } /** - * - * *
        * `RequestBasedSli` to evaluate to judge window quality.
        * 
@@ -1053,8 +924,6 @@ public Builder setPerformance(com.google.monitoring.v3.RequestBasedSli value) { return this; } /** - * - * *
        * `RequestBasedSli` to evaluate to judge window quality.
        * 
@@ -1073,8 +942,6 @@ public Builder setPerformance( return this; } /** - * - * *
        * `RequestBasedSli` to evaluate to judge window quality.
        * 
@@ -1083,13 +950,10 @@ public Builder setPerformance( */ public Builder mergePerformance(com.google.monitoring.v3.RequestBasedSli value) { if (performanceBuilder_ == null) { - if (typeCase_ == 1 - && type_ != com.google.monitoring.v3.RequestBasedSli.getDefaultInstance()) { - type_ = - com.google.monitoring.v3.RequestBasedSli.newBuilder( - (com.google.monitoring.v3.RequestBasedSli) type_) - .mergeFrom(value) - .buildPartial(); + if (typeCase_ == 1 && + type_ != com.google.monitoring.v3.RequestBasedSli.getDefaultInstance()) { + type_ = com.google.monitoring.v3.RequestBasedSli.newBuilder((com.google.monitoring.v3.RequestBasedSli) type_) + .mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -1104,8 +968,6 @@ public Builder mergePerformance(com.google.monitoring.v3.RequestBasedSli value) return this; } /** - * - * *
        * `RequestBasedSli` to evaluate to judge window quality.
        * 
@@ -1129,8 +991,6 @@ public Builder clearPerformance() { return this; } /** - * - * *
        * `RequestBasedSli` to evaluate to judge window quality.
        * 
@@ -1141,8 +1001,6 @@ public com.google.monitoring.v3.RequestBasedSli.Builder getPerformanceBuilder() return getPerformanceFieldBuilder().getBuilder(); } /** - * - * *
        * `RequestBasedSli` to evaluate to judge window quality.
        * 
@@ -1161,8 +1019,6 @@ public com.google.monitoring.v3.RequestBasedSliOrBuilder getPerformanceOrBuilder } } /** - * - * *
        * `RequestBasedSli` to evaluate to judge window quality.
        * 
@@ -1170,44 +1026,32 @@ public com.google.monitoring.v3.RequestBasedSliOrBuilder getPerformanceOrBuilder * .google.monitoring.v3.RequestBasedSli performance = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.RequestBasedSli, - com.google.monitoring.v3.RequestBasedSli.Builder, - com.google.monitoring.v3.RequestBasedSliOrBuilder> + com.google.monitoring.v3.RequestBasedSli, com.google.monitoring.v3.RequestBasedSli.Builder, com.google.monitoring.v3.RequestBasedSliOrBuilder> getPerformanceFieldBuilder() { if (performanceBuilder_ == null) { if (!(typeCase_ == 1)) { type_ = com.google.monitoring.v3.RequestBasedSli.getDefaultInstance(); } - performanceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.RequestBasedSli, - com.google.monitoring.v3.RequestBasedSli.Builder, - com.google.monitoring.v3.RequestBasedSliOrBuilder>( + performanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.RequestBasedSli, com.google.monitoring.v3.RequestBasedSli.Builder, com.google.monitoring.v3.RequestBasedSliOrBuilder>( (com.google.monitoring.v3.RequestBasedSli) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 1; - onChanged(); - ; + onChanged();; return performanceBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.BasicSli, - com.google.monitoring.v3.BasicSli.Builder, - com.google.monitoring.v3.BasicSliOrBuilder> - basicSliPerformanceBuilder_; + com.google.monitoring.v3.BasicSli, com.google.monitoring.v3.BasicSli.Builder, com.google.monitoring.v3.BasicSliOrBuilder> basicSliPerformanceBuilder_; /** - * - * *
        * `BasicSli` to evaluate to judge window quality.
        * 
* * .google.monitoring.v3.BasicSli basic_sli_performance = 3; - * * @return Whether the basicSliPerformance field is set. */ @java.lang.Override @@ -1215,14 +1059,11 @@ public boolean hasBasicSliPerformance() { return typeCase_ == 3; } /** - * - * *
        * `BasicSli` to evaluate to judge window quality.
        * 
* * .google.monitoring.v3.BasicSli basic_sli_performance = 3; - * * @return The basicSliPerformance. */ @java.lang.Override @@ -1240,8 +1081,6 @@ public com.google.monitoring.v3.BasicSli getBasicSliPerformance() { } } /** - * - * *
        * `BasicSli` to evaluate to judge window quality.
        * 
@@ -1262,8 +1101,6 @@ public Builder setBasicSliPerformance(com.google.monitoring.v3.BasicSli value) { return this; } /** - * - * *
        * `BasicSli` to evaluate to judge window quality.
        * 
@@ -1282,8 +1119,6 @@ public Builder setBasicSliPerformance( return this; } /** - * - * *
        * `BasicSli` to evaluate to judge window quality.
        * 
@@ -1292,12 +1127,10 @@ public Builder setBasicSliPerformance( */ public Builder mergeBasicSliPerformance(com.google.monitoring.v3.BasicSli value) { if (basicSliPerformanceBuilder_ == null) { - if (typeCase_ == 3 && type_ != com.google.monitoring.v3.BasicSli.getDefaultInstance()) { - type_ = - com.google.monitoring.v3.BasicSli.newBuilder( - (com.google.monitoring.v3.BasicSli) type_) - .mergeFrom(value) - .buildPartial(); + if (typeCase_ == 3 && + type_ != com.google.monitoring.v3.BasicSli.getDefaultInstance()) { + type_ = com.google.monitoring.v3.BasicSli.newBuilder((com.google.monitoring.v3.BasicSli) type_) + .mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -1312,8 +1145,6 @@ public Builder mergeBasicSliPerformance(com.google.monitoring.v3.BasicSli value) return this; } /** - * - * *
        * `BasicSli` to evaluate to judge window quality.
        * 
@@ -1337,8 +1168,6 @@ public Builder clearBasicSliPerformance() { return this; } /** - * - * *
        * `BasicSli` to evaluate to judge window quality.
        * 
@@ -1349,8 +1178,6 @@ public com.google.monitoring.v3.BasicSli.Builder getBasicSliPerformanceBuilder() return getBasicSliPerformanceFieldBuilder().getBuilder(); } /** - * - * *
        * `BasicSli` to evaluate to judge window quality.
        * 
@@ -1369,8 +1196,6 @@ public com.google.monitoring.v3.BasicSliOrBuilder getBasicSliPerformanceOrBuilde } } /** - * - * *
        * `BasicSli` to evaluate to judge window quality.
        * 
@@ -1378,38 +1203,31 @@ public com.google.monitoring.v3.BasicSliOrBuilder getBasicSliPerformanceOrBuilde * .google.monitoring.v3.BasicSli basic_sli_performance = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.BasicSli, - com.google.monitoring.v3.BasicSli.Builder, - com.google.monitoring.v3.BasicSliOrBuilder> + com.google.monitoring.v3.BasicSli, com.google.monitoring.v3.BasicSli.Builder, com.google.monitoring.v3.BasicSliOrBuilder> getBasicSliPerformanceFieldBuilder() { if (basicSliPerformanceBuilder_ == null) { if (!(typeCase_ == 3)) { type_ = com.google.monitoring.v3.BasicSli.getDefaultInstance(); } - basicSliPerformanceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.BasicSli, - com.google.monitoring.v3.BasicSli.Builder, - com.google.monitoring.v3.BasicSliOrBuilder>( - (com.google.monitoring.v3.BasicSli) type_, getParentForChildren(), isClean()); + basicSliPerformanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.BasicSli, com.google.monitoring.v3.BasicSli.Builder, com.google.monitoring.v3.BasicSliOrBuilder>( + (com.google.monitoring.v3.BasicSli) type_, + getParentForChildren(), + isClean()); type_ = null; } typeCase_ = 3; - onChanged(); - ; + onChanged();; return basicSliPerformanceBuilder_; } - private double threshold_; + private double threshold_ ; /** - * - * *
        * If window `performance >= threshold`, the window is counted as good.
        * 
* * double threshold = 2; - * * @return The threshold. */ @java.lang.Override @@ -1417,41 +1235,34 @@ public double getThreshold() { return threshold_; } /** - * - * *
        * If window `performance >= threshold`, the window is counted as good.
        * 
* * double threshold = 2; - * * @param value The threshold to set. * @return This builder for chaining. */ public Builder setThreshold(double value) { - + threshold_ = value; onChanged(); return this; } /** - * - * *
        * If window `performance >= threshold`, the window is counted as good.
        * 
* * double threshold = 2; - * * @return This builder for chaining. */ public Builder clearThreshold() { - + threshold_ = 0D; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1464,32 +1275,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) - private static final com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold - DEFAULT_INSTANCE; - + private static final com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold(); } - public static com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold - getDefaultInstance() { + public static com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PerformanceThreshold parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PerformanceThreshold(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PerformanceThreshold parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PerformanceThreshold(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1501,73 +1310,59 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold - getDefaultInstanceForType() { + public com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface MetricRangeOrBuilder - extends + public interface MetricRangeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.WindowsBasedSli.MetricRange) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying the `TimeSeries` to use for evaluating window quality.
      * 
* * string time_series = 1; - * * @return The timeSeries. */ java.lang.String getTimeSeries(); /** - * - * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying the `TimeSeries` to use for evaluating window quality.
      * 
* * string time_series = 1; - * * @return The bytes for timeSeries. */ - com.google.protobuf.ByteString getTimeSeriesBytes(); + com.google.protobuf.ByteString + getTimeSeriesBytes(); /** - * - * *
      * Range of values considered "good." For a one-sided range, set one bound
      * to an infinite value.
      * 
* * .google.monitoring.v3.Range range = 4; - * * @return Whether the range field is set. */ boolean hasRange(); /** - * - * *
      * Range of values considered "good." For a one-sided range, set one bound
      * to an infinite value.
      * 
* * .google.monitoring.v3.Range range = 4; - * * @return The range. */ com.google.monitoring.v3.Range getRange(); /** - * - * *
      * Range of values considered "good." For a one-sided range, set one bound
      * to an infinite value.
@@ -1578,8 +1373,6 @@ public interface MetricRangeOrBuilder
     com.google.monitoring.v3.RangeOrBuilder getRangeOrBuilder();
   }
   /**
-   *
-   *
    * 
    * A `MetricRange` is used when each window is good when the value x of a
    * single `TimeSeries` satisfies `range.min <= x <= range.max`. The provided
@@ -1589,31 +1382,31 @@ public interface MetricRangeOrBuilder
    *
    * Protobuf type {@code google.monitoring.v3.WindowsBasedSli.MetricRange}
    */
-  public static final class MetricRange extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class MetricRange extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.monitoring.v3.WindowsBasedSli.MetricRange)
       MetricRangeOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use MetricRange.newBuilder() to construct.
     private MetricRange(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private MetricRange() {
       timeSeries_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new MetricRange();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private MetricRange(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1632,74 +1425,66 @@ private MetricRange(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                timeSeries_ = s;
-                break;
+              timeSeries_ = s;
+              break;
+            }
+            case 34: {
+              com.google.monitoring.v3.Range.Builder subBuilder = null;
+              if (range_ != null) {
+                subBuilder = range_.toBuilder();
               }
-            case 34:
-              {
-                com.google.monitoring.v3.Range.Builder subBuilder = null;
-                if (range_ != null) {
-                  subBuilder = range_.toBuilder();
-                }
-                range_ =
-                    input.readMessage(com.google.monitoring.v3.Range.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(range_);
-                  range_ = subBuilder.buildPartial();
-                }
-
-                break;
+              range_ = input.readMessage(com.google.monitoring.v3.Range.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(range_);
+                range_ = subBuilder.buildPartial();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.monitoring.v3.ServiceMonitoringProto
-          .internal_static_google_monitoring_v3_WindowsBasedSli_MetricRange_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_WindowsBasedSli_MetricRange_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.ServiceMonitoringProto
-          .internal_static_google_monitoring_v3_WindowsBasedSli_MetricRange_fieldAccessorTable
+      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_WindowsBasedSli_MetricRange_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.WindowsBasedSli.MetricRange.class,
-              com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder.class);
+              com.google.monitoring.v3.WindowsBasedSli.MetricRange.class, com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder.class);
     }
 
     public static final int TIME_SERIES_FIELD_NUMBER = 1;
     private volatile java.lang.Object timeSeries_;
     /**
-     *
-     *
      * 
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying the `TimeSeries` to use for evaluating window quality.
      * 
* * string time_series = 1; - * * @return The timeSeries. */ @java.lang.Override @@ -1708,30 +1493,30 @@ public java.lang.String getTimeSeries() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timeSeries_ = s; return s; } } /** - * - * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying the `TimeSeries` to use for evaluating window quality.
      * 
* * string time_series = 1; - * * @return The bytes for timeSeries. */ @java.lang.Override - public com.google.protobuf.ByteString getTimeSeriesBytes() { + public com.google.protobuf.ByteString + getTimeSeriesBytes() { java.lang.Object ref = timeSeries_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); timeSeries_ = b; return b; } else { @@ -1742,15 +1527,12 @@ public com.google.protobuf.ByteString getTimeSeriesBytes() { public static final int RANGE_FIELD_NUMBER = 4; private com.google.monitoring.v3.Range range_; /** - * - * *
      * Range of values considered "good." For a one-sided range, set one bound
      * to an infinite value.
      * 
* * .google.monitoring.v3.Range range = 4; - * * @return Whether the range field is set. */ @java.lang.Override @@ -1758,15 +1540,12 @@ public boolean hasRange() { return range_ != null; } /** - * - * *
      * Range of values considered "good." For a one-sided range, set one bound
      * to an infinite value.
      * 
* * .google.monitoring.v3.Range range = 4; - * * @return The range. */ @java.lang.Override @@ -1774,8 +1553,6 @@ public com.google.monitoring.v3.Range getRange() { return range_ == null ? com.google.monitoring.v3.Range.getDefaultInstance() : range_; } /** - * - * *
      * Range of values considered "good." For a one-sided range, set one bound
      * to an infinite value.
@@ -1789,7 +1566,6 @@ public com.google.monitoring.v3.RangeOrBuilder getRangeOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1801,7 +1577,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(timeSeries_)) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 1, timeSeries_);
       }
@@ -1821,7 +1598,8 @@ public int getSerializedSize() {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, timeSeries_);
       }
       if (range_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getRange());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(4, getRange());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -1831,18 +1609,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.monitoring.v3.WindowsBasedSli.MetricRange)) {
         return super.equals(obj);
       }
-      com.google.monitoring.v3.WindowsBasedSli.MetricRange other =
-          (com.google.monitoring.v3.WindowsBasedSli.MetricRange) obj;
+      com.google.monitoring.v3.WindowsBasedSli.MetricRange other = (com.google.monitoring.v3.WindowsBasedSli.MetricRange) obj;
 
-      if (!getTimeSeries().equals(other.getTimeSeries())) return false;
+      if (!getTimeSeries()
+          .equals(other.getTimeSeries())) return false;
       if (hasRange() != other.hasRange()) return false;
       if (hasRange()) {
-        if (!getRange().equals(other.getRange())) return false;
+        if (!getRange()
+            .equals(other.getRange())) return false;
       }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -1867,94 +1646,87 @@ public int hashCode() {
     }
 
     public static com.google.monitoring.v3.WindowsBasedSli.MetricRange parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.monitoring.v3.WindowsBasedSli.MetricRange parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.monitoring.v3.WindowsBasedSli.MetricRange parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.monitoring.v3.WindowsBasedSli.MetricRange parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.monitoring.v3.WindowsBasedSli.MetricRange parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.monitoring.v3.WindowsBasedSli.MetricRange parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.monitoring.v3.WindowsBasedSli.MetricRange parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.monitoring.v3.WindowsBasedSli.MetricRange parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.monitoring.v3.WindowsBasedSli.MetricRange parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.monitoring.v3.WindowsBasedSli.MetricRange parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.monitoring.v3.WindowsBasedSli.MetricRange parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.monitoring.v3.WindowsBasedSli.MetricRange parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.monitoring.v3.WindowsBasedSli.MetricRange parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.monitoring.v3.WindowsBasedSli.MetricRange parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.monitoring.v3.WindowsBasedSli.MetricRange prototype) {
+    public static Builder newBuilder(com.google.monitoring.v3.WindowsBasedSli.MetricRange prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -1964,8 +1736,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * A `MetricRange` is used when each window is good when the value x of a
      * single `TimeSeries` satisfies `range.min <= x <= range.max`. The provided
@@ -1975,24 +1745,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.monitoring.v3.WindowsBasedSli.MetricRange}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.monitoring.v3.WindowsBasedSli.MetricRange)
         com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.monitoring.v3.ServiceMonitoringProto
-            .internal_static_google_monitoring_v3_WindowsBasedSli_MetricRange_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_WindowsBasedSli_MetricRange_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.monitoring.v3.ServiceMonitoringProto
-            .internal_static_google_monitoring_v3_WindowsBasedSli_MetricRange_fieldAccessorTable
+        return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_WindowsBasedSli_MetricRange_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.monitoring.v3.WindowsBasedSli.MetricRange.class,
-                com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder.class);
+                com.google.monitoring.v3.WindowsBasedSli.MetricRange.class, com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder.class);
       }
 
       // Construct using com.google.monitoring.v3.WindowsBasedSli.MetricRange.newBuilder()
@@ -2000,15 +1767,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -2024,9 +1792,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.monitoring.v3.ServiceMonitoringProto
-            .internal_static_google_monitoring_v3_WindowsBasedSli_MetricRange_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_WindowsBasedSli_MetricRange_descriptor;
       }
 
       @java.lang.Override
@@ -2045,8 +1813,7 @@ public com.google.monitoring.v3.WindowsBasedSli.MetricRange build() {
 
       @java.lang.Override
       public com.google.monitoring.v3.WindowsBasedSli.MetricRange buildPartial() {
-        com.google.monitoring.v3.WindowsBasedSli.MetricRange result =
-            new com.google.monitoring.v3.WindowsBasedSli.MetricRange(this);
+        com.google.monitoring.v3.WindowsBasedSli.MetricRange result = new com.google.monitoring.v3.WindowsBasedSli.MetricRange(this);
         result.timeSeries_ = timeSeries_;
         if (rangeBuilder_ == null) {
           result.range_ = range_;
@@ -2061,41 +1828,38 @@ public com.google.monitoring.v3.WindowsBasedSli.MetricRange 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.monitoring.v3.WindowsBasedSli.MetricRange) {
-          return mergeFrom((com.google.monitoring.v3.WindowsBasedSli.MetricRange) other);
+          return mergeFrom((com.google.monitoring.v3.WindowsBasedSli.MetricRange)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -2103,8 +1867,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.monitoring.v3.WindowsBasedSli.MetricRange other) {
-        if (other == com.google.monitoring.v3.WindowsBasedSli.MetricRange.getDefaultInstance())
-          return this;
+        if (other == com.google.monitoring.v3.WindowsBasedSli.MetricRange.getDefaultInstance()) return this;
         if (!other.getTimeSeries().isEmpty()) {
           timeSeries_ = other.timeSeries_;
           onChanged();
@@ -2131,8 +1894,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.monitoring.v3.WindowsBasedSli.MetricRange) e.getUnfinishedMessage();
+          parsedMessage = (com.google.monitoring.v3.WindowsBasedSli.MetricRange) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -2144,21 +1906,19 @@ public Builder mergeFrom(
 
       private java.lang.Object timeSeries_ = "";
       /**
-       *
-       *
        * 
        * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
        * specifying the `TimeSeries` to use for evaluating window quality.
        * 
* * string time_series = 1; - * * @return The timeSeries. */ public java.lang.String getTimeSeries() { java.lang.Object ref = timeSeries_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timeSeries_ = s; return s; @@ -2167,22 +1927,21 @@ public java.lang.String getTimeSeries() { } } /** - * - * *
        * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
        * specifying the `TimeSeries` to use for evaluating window quality.
        * 
* * string time_series = 1; - * * @return The bytes for timeSeries. */ - public com.google.protobuf.ByteString getTimeSeriesBytes() { + public com.google.protobuf.ByteString + getTimeSeriesBytes() { java.lang.Object ref = timeSeries_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); timeSeries_ = b; return b; } else { @@ -2190,64 +1949,57 @@ public com.google.protobuf.ByteString getTimeSeriesBytes() { } } /** - * - * *
        * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
        * specifying the `TimeSeries` to use for evaluating window quality.
        * 
* * string time_series = 1; - * * @param value The timeSeries to set. * @return This builder for chaining. */ - public Builder setTimeSeries(java.lang.String value) { + public Builder setTimeSeries( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + timeSeries_ = value; onChanged(); return this; } /** - * - * *
        * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
        * specifying the `TimeSeries` to use for evaluating window quality.
        * 
* * string time_series = 1; - * * @return This builder for chaining. */ public Builder clearTimeSeries() { - + timeSeries_ = getDefaultInstance().getTimeSeries(); onChanged(); return this; } /** - * - * *
        * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
        * specifying the `TimeSeries` to use for evaluating window quality.
        * 
* * string time_series = 1; - * * @param value The bytes for timeSeries to set. * @return This builder for chaining. */ - public Builder setTimeSeriesBytes(com.google.protobuf.ByteString value) { + public Builder setTimeSeriesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + timeSeries_ = value; onChanged(); return this; @@ -2255,35 +2007,26 @@ public Builder setTimeSeriesBytes(com.google.protobuf.ByteString value) { private com.google.monitoring.v3.Range range_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Range, - com.google.monitoring.v3.Range.Builder, - com.google.monitoring.v3.RangeOrBuilder> - rangeBuilder_; + com.google.monitoring.v3.Range, com.google.monitoring.v3.Range.Builder, com.google.monitoring.v3.RangeOrBuilder> rangeBuilder_; /** - * - * *
        * Range of values considered "good." For a one-sided range, set one bound
        * to an infinite value.
        * 
* * .google.monitoring.v3.Range range = 4; - * * @return Whether the range field is set. */ public boolean hasRange() { return rangeBuilder_ != null || range_ != null; } /** - * - * *
        * Range of values considered "good." For a one-sided range, set one bound
        * to an infinite value.
        * 
* * .google.monitoring.v3.Range range = 4; - * * @return The range. */ public com.google.monitoring.v3.Range getRange() { @@ -2294,8 +2037,6 @@ public com.google.monitoring.v3.Range getRange() { } } /** - * - * *
        * Range of values considered "good." For a one-sided range, set one bound
        * to an infinite value.
@@ -2317,8 +2058,6 @@ public Builder setRange(com.google.monitoring.v3.Range value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Range of values considered "good." For a one-sided range, set one bound
        * to an infinite value.
@@ -2326,7 +2065,8 @@ public Builder setRange(com.google.monitoring.v3.Range value) {
        *
        * .google.monitoring.v3.Range range = 4;
        */
-      public Builder setRange(com.google.monitoring.v3.Range.Builder builderForValue) {
+      public Builder setRange(
+          com.google.monitoring.v3.Range.Builder builderForValue) {
         if (rangeBuilder_ == null) {
           range_ = builderForValue.build();
           onChanged();
@@ -2336,9 +2076,7 @@ public Builder setRange(com.google.monitoring.v3.Range.Builder builderForValue)
 
         return this;
       }
-      /**
-       *
-       *
+      /**
        * 
        * Range of values considered "good." For a one-sided range, set one bound
        * to an infinite value.
@@ -2350,7 +2088,7 @@ public Builder mergeRange(com.google.monitoring.v3.Range value) {
         if (rangeBuilder_ == null) {
           if (range_ != null) {
             range_ =
-                com.google.monitoring.v3.Range.newBuilder(range_).mergeFrom(value).buildPartial();
+              com.google.monitoring.v3.Range.newBuilder(range_).mergeFrom(value).buildPartial();
           } else {
             range_ = value;
           }
@@ -2362,8 +2100,6 @@ public Builder mergeRange(com.google.monitoring.v3.Range value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Range of values considered "good." For a one-sided range, set one bound
        * to an infinite value.
@@ -2383,8 +2119,6 @@ public Builder clearRange() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Range of values considered "good." For a one-sided range, set one bound
        * to an infinite value.
@@ -2393,13 +2127,11 @@ public Builder clearRange() {
        * .google.monitoring.v3.Range range = 4;
        */
       public com.google.monitoring.v3.Range.Builder getRangeBuilder() {
-
+        
         onChanged();
         return getRangeFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Range of values considered "good." For a one-sided range, set one bound
        * to an infinite value.
@@ -2411,12 +2143,11 @@ public com.google.monitoring.v3.RangeOrBuilder getRangeOrBuilder() {
         if (rangeBuilder_ != null) {
           return rangeBuilder_.getMessageOrBuilder();
         } else {
-          return range_ == null ? com.google.monitoring.v3.Range.getDefaultInstance() : range_;
+          return range_ == null ?
+              com.google.monitoring.v3.Range.getDefaultInstance() : range_;
         }
       }
       /**
-       *
-       *
        * 
        * Range of values considered "good." For a one-sided range, set one bound
        * to an infinite value.
@@ -2425,22 +2156,18 @@ public com.google.monitoring.v3.RangeOrBuilder getRangeOrBuilder() {
        * .google.monitoring.v3.Range range = 4;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.monitoring.v3.Range,
-              com.google.monitoring.v3.Range.Builder,
-              com.google.monitoring.v3.RangeOrBuilder>
+          com.google.monitoring.v3.Range, com.google.monitoring.v3.Range.Builder, com.google.monitoring.v3.RangeOrBuilder> 
           getRangeFieldBuilder() {
         if (rangeBuilder_ == null) {
-          rangeBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.monitoring.v3.Range,
-                  com.google.monitoring.v3.Range.Builder,
-                  com.google.monitoring.v3.RangeOrBuilder>(
-                  getRange(), getParentForChildren(), isClean());
+          rangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.monitoring.v3.Range, com.google.monitoring.v3.Range.Builder, com.google.monitoring.v3.RangeOrBuilder>(
+                  getRange(),
+                  getParentForChildren(),
+                  isClean());
           range_ = null;
         }
         return rangeBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -2453,12 +2180,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.monitoring.v3.WindowsBasedSli.MetricRange)
     }
 
     // @@protoc_insertion_point(class_scope:google.monitoring.v3.WindowsBasedSli.MetricRange)
     private static final com.google.monitoring.v3.WindowsBasedSli.MetricRange DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.monitoring.v3.WindowsBasedSli.MetricRange();
     }
@@ -2467,16 +2194,16 @@ public static com.google.monitoring.v3.WindowsBasedSli.MetricRange getDefaultIns
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public MetricRange parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new MetricRange(input, extensionRegistry);
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public MetricRange parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new MetricRange(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -2491,14 +2218,13 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.monitoring.v3.WindowsBasedSli.MetricRange getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   private int windowCriterionCase_ = 0;
   private java.lang.Object windowCriterion_;
-
   public enum WindowCriterionCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     GOOD_BAD_METRIC_FILTER(5),
     GOOD_TOTAL_RATIO_THRESHOLD(2),
@@ -2506,7 +2232,6 @@ public enum WindowCriterionCase
     METRIC_SUM_IN_RANGE(7),
     WINDOWCRITERION_NOT_SET(0);
     private final int value;
-
     private WindowCriterionCase(int value) {
       this.value = value;
     }
@@ -2522,34 +2247,27 @@ public static WindowCriterionCase valueOf(int value) {
 
     public static WindowCriterionCase forNumber(int value) {
       switch (value) {
-        case 5:
-          return GOOD_BAD_METRIC_FILTER;
-        case 2:
-          return GOOD_TOTAL_RATIO_THRESHOLD;
-        case 6:
-          return METRIC_MEAN_IN_RANGE;
-        case 7:
-          return METRIC_SUM_IN_RANGE;
-        case 0:
-          return WINDOWCRITERION_NOT_SET;
-        default:
-          return null;
+        case 5: return GOOD_BAD_METRIC_FILTER;
+        case 2: return GOOD_TOTAL_RATIO_THRESHOLD;
+        case 6: return METRIC_MEAN_IN_RANGE;
+        case 7: return METRIC_SUM_IN_RANGE;
+        case 0: return WINDOWCRITERION_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public WindowCriterionCase getWindowCriterionCase() {
-    return WindowCriterionCase.forNumber(windowCriterionCase_);
+  public WindowCriterionCase
+  getWindowCriterionCase() {
+    return WindowCriterionCase.forNumber(
+        windowCriterionCase_);
   }
 
   public static final int GOOD_BAD_METRIC_FILTER_FIELD_NUMBER = 5;
   /**
-   *
-   *
    * 
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` with `ValueType = BOOL`. The window is good if
@@ -2557,15 +2275,12 @@ public WindowCriterionCase getWindowCriterionCase() {
    * 
* * string good_bad_metric_filter = 5; - * * @return Whether the goodBadMetricFilter field is set. */ public boolean hasGoodBadMetricFilter() { return windowCriterionCase_ == 5; } /** - * - * *
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` with `ValueType = BOOL`. The window is good if
@@ -2573,7 +2288,6 @@ public boolean hasGoodBadMetricFilter() {
    * 
* * string good_bad_metric_filter = 5; - * * @return The goodBadMetricFilter. */ public java.lang.String getGoodBadMetricFilter() { @@ -2584,7 +2298,8 @@ public java.lang.String getGoodBadMetricFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (windowCriterionCase_ == 5) { windowCriterion_ = s; @@ -2593,8 +2308,6 @@ public java.lang.String getGoodBadMetricFilter() { } } /** - * - * *
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` with `ValueType = BOOL`. The window is good if
@@ -2602,17 +2315,18 @@ public java.lang.String getGoodBadMetricFilter() {
    * 
* * string good_bad_metric_filter = 5; - * * @return The bytes for goodBadMetricFilter. */ - public com.google.protobuf.ByteString getGoodBadMetricFilterBytes() { + public com.google.protobuf.ByteString + getGoodBadMetricFilterBytes() { java.lang.Object ref = ""; if (windowCriterionCase_ == 5) { ref = windowCriterion_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (windowCriterionCase_ == 5) { windowCriterion_ = b; } @@ -2624,16 +2338,11 @@ public com.google.protobuf.ByteString getGoodBadMetricFilterBytes() { public static final int GOOD_TOTAL_RATIO_THRESHOLD_FIELD_NUMBER = 2; /** - * - * *
    * A window is good if its `performance` is high enough.
    * 
* - * - * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; - * - * + * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; * @return Whether the goodTotalRatioThreshold field is set. */ @java.lang.Override @@ -2641,57 +2350,43 @@ public boolean hasGoodTotalRatioThreshold() { return windowCriterionCase_ == 2; } /** - * - * *
    * A window is good if its `performance` is high enough.
    * 
* - * - * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; - * - * + * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; * @return The goodTotalRatioThreshold. */ @java.lang.Override - public com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold - getGoodTotalRatioThreshold() { + public com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold getGoodTotalRatioThreshold() { if (windowCriterionCase_ == 2) { - return (com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) windowCriterion_; + return (com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) windowCriterion_; } return com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.getDefaultInstance(); } /** - * - * *
    * A window is good if its `performance` is high enough.
    * 
* - * - * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; - * + * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; */ @java.lang.Override - public com.google.monitoring.v3.WindowsBasedSli.PerformanceThresholdOrBuilder - getGoodTotalRatioThresholdOrBuilder() { + public com.google.monitoring.v3.WindowsBasedSli.PerformanceThresholdOrBuilder getGoodTotalRatioThresholdOrBuilder() { if (windowCriterionCase_ == 2) { - return (com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) windowCriterion_; + return (com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) windowCriterion_; } return com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.getDefaultInstance(); } public static final int METRIC_MEAN_IN_RANGE_FIELD_NUMBER = 6; /** - * - * *
    * A window is good if the metric's value is in a good range, averaged
    * across returned streams.
    * 
* * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_mean_in_range = 6; - * * @return Whether the metricMeanInRange field is set. */ @java.lang.Override @@ -2699,27 +2394,22 @@ public boolean hasMetricMeanInRange() { return windowCriterionCase_ == 6; } /** - * - * *
    * A window is good if the metric's value is in a good range, averaged
    * across returned streams.
    * 
* * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_mean_in_range = 6; - * * @return The metricMeanInRange. */ @java.lang.Override public com.google.monitoring.v3.WindowsBasedSli.MetricRange getMetricMeanInRange() { if (windowCriterionCase_ == 6) { - return (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_; + return (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_; } return com.google.monitoring.v3.WindowsBasedSli.MetricRange.getDefaultInstance(); } /** - * - * *
    * A window is good if the metric's value is in a good range, averaged
    * across returned streams.
@@ -2728,25 +2418,21 @@ public com.google.monitoring.v3.WindowsBasedSli.MetricRange getMetricMeanInRange
    * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_mean_in_range = 6;
    */
   @java.lang.Override
-  public com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder
-      getMetricMeanInRangeOrBuilder() {
+  public com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder getMetricMeanInRangeOrBuilder() {
     if (windowCriterionCase_ == 6) {
-      return (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_;
+       return (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_;
     }
     return com.google.monitoring.v3.WindowsBasedSli.MetricRange.getDefaultInstance();
   }
 
   public static final int METRIC_SUM_IN_RANGE_FIELD_NUMBER = 7;
   /**
-   *
-   *
    * 
    * A window is good if the metric's value is in a good range, summed across
    * returned streams.
    * 
* * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_sum_in_range = 7; - * * @return Whether the metricSumInRange field is set. */ @java.lang.Override @@ -2754,27 +2440,22 @@ public boolean hasMetricSumInRange() { return windowCriterionCase_ == 7; } /** - * - * *
    * A window is good if the metric's value is in a good range, summed across
    * returned streams.
    * 
* * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_sum_in_range = 7; - * * @return The metricSumInRange. */ @java.lang.Override public com.google.monitoring.v3.WindowsBasedSli.MetricRange getMetricSumInRange() { if (windowCriterionCase_ == 7) { - return (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_; + return (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_; } return com.google.monitoring.v3.WindowsBasedSli.MetricRange.getDefaultInstance(); } /** - * - * *
    * A window is good if the metric's value is in a good range, summed across
    * returned streams.
@@ -2783,10 +2464,9 @@ public com.google.monitoring.v3.WindowsBasedSli.MetricRange getMetricSumInRange(
    * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_sum_in_range = 7;
    */
   @java.lang.Override
-  public com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder
-      getMetricSumInRangeOrBuilder() {
+  public com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder getMetricSumInRangeOrBuilder() {
     if (windowCriterionCase_ == 7) {
-      return (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_;
+       return (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_;
     }
     return com.google.monitoring.v3.WindowsBasedSli.MetricRange.getDefaultInstance();
   }
@@ -2794,15 +2474,12 @@ public com.google.monitoring.v3.WindowsBasedSli.MetricRange getMetricSumInRange(
   public static final int WINDOW_PERIOD_FIELD_NUMBER = 4;
   private com.google.protobuf.Duration windowPeriod_;
   /**
-   *
-   *
    * 
    * Duration over which window quality is evaluated. Must be an integer
    * fraction of a day and at least `60s`.
    * 
* * .google.protobuf.Duration window_period = 4; - * * @return Whether the windowPeriod field is set. */ @java.lang.Override @@ -2810,26 +2487,19 @@ public boolean hasWindowPeriod() { return windowPeriod_ != null; } /** - * - * *
    * Duration over which window quality is evaluated. Must be an integer
    * fraction of a day and at least `60s`.
    * 
* * .google.protobuf.Duration window_period = 4; - * * @return The windowPeriod. */ @java.lang.Override public com.google.protobuf.Duration getWindowPeriod() { - return windowPeriod_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : windowPeriod_; + return windowPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : windowPeriod_; } /** - * - * *
    * Duration over which window quality is evaluated. Must be an integer
    * fraction of a day and at least `60s`.
@@ -2843,7 +2513,6 @@ public com.google.protobuf.DurationOrBuilder getWindowPeriodOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -2855,10 +2524,10 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (windowCriterionCase_ == 2) {
-      output.writeMessage(
-          2, (com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) windowCriterion_);
+      output.writeMessage(2, (com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) windowCriterion_);
     }
     if (windowPeriod_ != null) {
       output.writeMessage(4, getWindowPeriod());
@@ -2867,12 +2536,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
       com.google.protobuf.GeneratedMessageV3.writeString(output, 5, windowCriterion_);
     }
     if (windowCriterionCase_ == 6) {
-      output.writeMessage(
-          6, (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_);
+      output.writeMessage(6, (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_);
     }
     if (windowCriterionCase_ == 7) {
-      output.writeMessage(
-          7, (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_);
+      output.writeMessage(7, (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_);
     }
     unknownFields.writeTo(output);
   }
@@ -2884,25 +2551,23 @@ public int getSerializedSize() {
 
     size = 0;
     if (windowCriterionCase_ == 2) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, (com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) windowCriterion_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, (com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) windowCriterion_);
     }
     if (windowPeriod_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getWindowPeriod());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getWindowPeriod());
     }
     if (windowCriterionCase_ == 5) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, windowCriterion_);
     }
     if (windowCriterionCase_ == 6) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              6, (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_);
     }
     if (windowCriterionCase_ == 7) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              7, (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -2912,7 +2577,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.monitoring.v3.WindowsBasedSli)) {
       return super.equals(obj);
@@ -2921,21 +2586,26 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasWindowPeriod() != other.hasWindowPeriod()) return false;
     if (hasWindowPeriod()) {
-      if (!getWindowPeriod().equals(other.getWindowPeriod())) return false;
+      if (!getWindowPeriod()
+          .equals(other.getWindowPeriod())) return false;
     }
     if (!getWindowCriterionCase().equals(other.getWindowCriterionCase())) return false;
     switch (windowCriterionCase_) {
       case 5:
-        if (!getGoodBadMetricFilter().equals(other.getGoodBadMetricFilter())) return false;
+        if (!getGoodBadMetricFilter()
+            .equals(other.getGoodBadMetricFilter())) return false;
         break;
       case 2:
-        if (!getGoodTotalRatioThreshold().equals(other.getGoodTotalRatioThreshold())) return false;
+        if (!getGoodTotalRatioThreshold()
+            .equals(other.getGoodTotalRatioThreshold())) return false;
         break;
       case 6:
-        if (!getMetricMeanInRange().equals(other.getMetricMeanInRange())) return false;
+        if (!getMetricMeanInRange()
+            .equals(other.getMetricMeanInRange())) return false;
         break;
       case 7:
-        if (!getMetricSumInRange().equals(other.getMetricSumInRange())) return false;
+        if (!getMetricSumInRange()
+            .equals(other.getMetricSumInRange())) return false;
         break;
       case 0:
       default:
@@ -2980,104 +2650,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.monitoring.v3.WindowsBasedSli parseFrom(java.nio.ByteBuffer data)
+  public static com.google.monitoring.v3.WindowsBasedSli parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.monitoring.v3.WindowsBasedSli parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.monitoring.v3.WindowsBasedSli parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.monitoring.v3.WindowsBasedSli parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.monitoring.v3.WindowsBasedSli parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.monitoring.v3.WindowsBasedSli parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.monitoring.v3.WindowsBasedSli 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.monitoring.v3.WindowsBasedSli parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.monitoring.v3.WindowsBasedSli parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.monitoring.v3.WindowsBasedSli parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.monitoring.v3.WindowsBasedSli parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.monitoring.v3.WindowsBasedSli parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.monitoring.v3.WindowsBasedSli parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.monitoring.v3.WindowsBasedSli prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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 `WindowsBasedSli` defines `good_service` as the count of time windows for
    * which the provided service was of good quality. Criteria for determining
@@ -3086,23 +2749,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.monitoring.v3.WindowsBasedSli}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.WindowsBasedSli)
       com.google.monitoring.v3.WindowsBasedSliOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.monitoring.v3.ServiceMonitoringProto
-          .internal_static_google_monitoring_v3_WindowsBasedSli_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_WindowsBasedSli_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.ServiceMonitoringProto
-          .internal_static_google_monitoring_v3_WindowsBasedSli_fieldAccessorTable
+      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_WindowsBasedSli_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.WindowsBasedSli.class,
-              com.google.monitoring.v3.WindowsBasedSli.Builder.class);
+              com.google.monitoring.v3.WindowsBasedSli.class, com.google.monitoring.v3.WindowsBasedSli.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.WindowsBasedSli.newBuilder()
@@ -3110,15 +2771,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -3134,9 +2796,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.monitoring.v3.ServiceMonitoringProto
-          .internal_static_google_monitoring_v3_WindowsBasedSli_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_WindowsBasedSli_descriptor;
     }
 
     @java.lang.Override
@@ -3155,8 +2817,7 @@ public com.google.monitoring.v3.WindowsBasedSli build() {
 
     @java.lang.Override
     public com.google.monitoring.v3.WindowsBasedSli buildPartial() {
-      com.google.monitoring.v3.WindowsBasedSli result =
-          new com.google.monitoring.v3.WindowsBasedSli(this);
+      com.google.monitoring.v3.WindowsBasedSli result = new com.google.monitoring.v3.WindowsBasedSli(this);
       if (windowCriterionCase_ == 5) {
         result.windowCriterion_ = windowCriterion_;
       }
@@ -3195,39 +2856,38 @@ public com.google.monitoring.v3.WindowsBasedSli 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.monitoring.v3.WindowsBasedSli) {
-        return mergeFrom((com.google.monitoring.v3.WindowsBasedSli) other);
+        return mergeFrom((com.google.monitoring.v3.WindowsBasedSli)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -3240,32 +2900,27 @@ public Builder mergeFrom(com.google.monitoring.v3.WindowsBasedSli other) {
         mergeWindowPeriod(other.getWindowPeriod());
       }
       switch (other.getWindowCriterionCase()) {
-        case GOOD_BAD_METRIC_FILTER:
-          {
-            windowCriterionCase_ = 5;
-            windowCriterion_ = other.windowCriterion_;
-            onChanged();
-            break;
-          }
-        case GOOD_TOTAL_RATIO_THRESHOLD:
-          {
-            mergeGoodTotalRatioThreshold(other.getGoodTotalRatioThreshold());
-            break;
-          }
-        case METRIC_MEAN_IN_RANGE:
-          {
-            mergeMetricMeanInRange(other.getMetricMeanInRange());
-            break;
-          }
-        case METRIC_SUM_IN_RANGE:
-          {
-            mergeMetricSumInRange(other.getMetricSumInRange());
-            break;
-          }
-        case WINDOWCRITERION_NOT_SET:
-          {
-            break;
-          }
+        case GOOD_BAD_METRIC_FILTER: {
+          windowCriterionCase_ = 5;
+          windowCriterion_ = other.windowCriterion_;
+          onChanged();
+          break;
+        }
+        case GOOD_TOTAL_RATIO_THRESHOLD: {
+          mergeGoodTotalRatioThreshold(other.getGoodTotalRatioThreshold());
+          break;
+        }
+        case METRIC_MEAN_IN_RANGE: {
+          mergeMetricMeanInRange(other.getMetricMeanInRange());
+          break;
+        }
+        case METRIC_SUM_IN_RANGE: {
+          mergeMetricSumInRange(other.getMetricSumInRange());
+          break;
+        }
+        case WINDOWCRITERION_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -3295,12 +2950,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int windowCriterionCase_ = 0;
     private java.lang.Object windowCriterion_;
-
-    public WindowCriterionCase getWindowCriterionCase() {
-      return WindowCriterionCase.forNumber(windowCriterionCase_);
+    public WindowCriterionCase
+        getWindowCriterionCase() {
+      return WindowCriterionCase.forNumber(
+          windowCriterionCase_);
     }
 
     public Builder clearWindowCriterion() {
@@ -3310,9 +2965,8 @@ public Builder clearWindowCriterion() {
       return this;
     }
 
+
     /**
-     *
-     *
      * 
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` with `ValueType = BOOL`. The window is good if
@@ -3320,7 +2974,6 @@ public Builder clearWindowCriterion() {
      * 
* * string good_bad_metric_filter = 5; - * * @return Whether the goodBadMetricFilter field is set. */ @java.lang.Override @@ -3328,8 +2981,6 @@ public boolean hasGoodBadMetricFilter() { return windowCriterionCase_ == 5; } /** - * - * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` with `ValueType = BOOL`. The window is good if
@@ -3337,7 +2988,6 @@ public boolean hasGoodBadMetricFilter() {
      * 
* * string good_bad_metric_filter = 5; - * * @return The goodBadMetricFilter. */ @java.lang.Override @@ -3347,7 +2997,8 @@ public java.lang.String getGoodBadMetricFilter() { ref = windowCriterion_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (windowCriterionCase_ == 5) { windowCriterion_ = s; @@ -3358,8 +3009,6 @@ public java.lang.String getGoodBadMetricFilter() { } } /** - * - * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` with `ValueType = BOOL`. The window is good if
@@ -3367,18 +3016,19 @@ public java.lang.String getGoodBadMetricFilter() {
      * 
* * string good_bad_metric_filter = 5; - * * @return The bytes for goodBadMetricFilter. */ @java.lang.Override - public com.google.protobuf.ByteString getGoodBadMetricFilterBytes() { + public com.google.protobuf.ByteString + getGoodBadMetricFilterBytes() { java.lang.Object ref = ""; if (windowCriterionCase_ == 5) { ref = windowCriterion_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (windowCriterionCase_ == 5) { windowCriterion_ = b; } @@ -3388,8 +3038,6 @@ public com.google.protobuf.ByteString getGoodBadMetricFilterBytes() { } } /** - * - * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` with `ValueType = BOOL`. The window is good if
@@ -3397,22 +3045,20 @@ public com.google.protobuf.ByteString getGoodBadMetricFilterBytes() {
      * 
* * string good_bad_metric_filter = 5; - * * @param value The goodBadMetricFilter to set. * @return This builder for chaining. */ - public Builder setGoodBadMetricFilter(java.lang.String value) { + public Builder setGoodBadMetricFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - windowCriterionCase_ = 5; + throw new NullPointerException(); + } + windowCriterionCase_ = 5; windowCriterion_ = value; onChanged(); return this; } /** - * - * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` with `ValueType = BOOL`. The window is good if
@@ -3420,7 +3066,6 @@ public Builder setGoodBadMetricFilter(java.lang.String value) {
      * 
* * string good_bad_metric_filter = 5; - * * @return This builder for chaining. */ public Builder clearGoodBadMetricFilter() { @@ -3432,8 +3077,6 @@ public Builder clearGoodBadMetricFilter() { return this; } /** - * - * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` with `ValueType = BOOL`. The window is good if
@@ -3441,15 +3084,15 @@ public Builder clearGoodBadMetricFilter() {
      * 
* * string good_bad_metric_filter = 5; - * * @param value The bytes for goodBadMetricFilter to set. * @return This builder for chaining. */ - public Builder setGoodBadMetricFilterBytes(com.google.protobuf.ByteString value) { + public Builder setGoodBadMetricFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); windowCriterionCase_ = 5; windowCriterion_ = value; onChanged(); @@ -3457,21 +3100,13 @@ public Builder setGoodBadMetricFilterBytes(com.google.protobuf.ByteString value) } private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold, - com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.Builder, - com.google.monitoring.v3.WindowsBasedSli.PerformanceThresholdOrBuilder> - goodTotalRatioThresholdBuilder_; + com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold, com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.Builder, com.google.monitoring.v3.WindowsBasedSli.PerformanceThresholdOrBuilder> goodTotalRatioThresholdBuilder_; /** - * - * *
      * A window is good if its `performance` is high enough.
      * 
* - * - * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; - * - * + * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; * @return Whether the goodTotalRatioThreshold field is set. */ @java.lang.Override @@ -3479,21 +3114,15 @@ public boolean hasGoodTotalRatioThreshold() { return windowCriterionCase_ == 2; } /** - * - * *
      * A window is good if its `performance` is high enough.
      * 
* - * - * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; - * - * + * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; * @return The goodTotalRatioThreshold. */ @java.lang.Override - public com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold - getGoodTotalRatioThreshold() { + public com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold getGoodTotalRatioThreshold() { if (goodTotalRatioThresholdBuilder_ == null) { if (windowCriterionCase_ == 2) { return (com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) windowCriterion_; @@ -3507,18 +3136,13 @@ public boolean hasGoodTotalRatioThreshold() { } } /** - * - * *
      * A window is good if its `performance` is high enough.
      * 
* - * - * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; - * + * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; */ - public Builder setGoodTotalRatioThreshold( - com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold value) { + public Builder setGoodTotalRatioThreshold(com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold value) { if (goodTotalRatioThresholdBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3532,15 +3156,11 @@ public Builder setGoodTotalRatioThreshold( return this; } /** - * - * *
      * A window is good if its `performance` is high enough.
      * 
* - * - * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; - * + * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; */ public Builder setGoodTotalRatioThreshold( com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.Builder builderForValue) { @@ -3554,29 +3174,18 @@ public Builder setGoodTotalRatioThreshold( return this; } /** - * - * *
      * A window is good if its `performance` is high enough.
      * 
* - * - * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; - * + * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; */ - public Builder mergeGoodTotalRatioThreshold( - com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold value) { + public Builder mergeGoodTotalRatioThreshold(com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold value) { if (goodTotalRatioThresholdBuilder_ == null) { - if (windowCriterionCase_ == 2 - && windowCriterion_ - != com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold - .getDefaultInstance()) { - windowCriterion_ = - com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.newBuilder( - (com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) - windowCriterion_) - .mergeFrom(value) - .buildPartial(); + if (windowCriterionCase_ == 2 && + windowCriterion_ != com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.getDefaultInstance()) { + windowCriterion_ = com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.newBuilder((com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) windowCriterion_) + .mergeFrom(value).buildPartial(); } else { windowCriterion_ = value; } @@ -3591,15 +3200,11 @@ public Builder mergeGoodTotalRatioThreshold( return this; } /** - * - * *
      * A window is good if its `performance` is high enough.
      * 
* - * - * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; - * + * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; */ public Builder clearGoodTotalRatioThreshold() { if (goodTotalRatioThresholdBuilder_ == null) { @@ -3618,34 +3223,24 @@ public Builder clearGoodTotalRatioThreshold() { return this; } /** - * - * *
      * A window is good if its `performance` is high enough.
      * 
* - * - * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; - * + * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; */ - public com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.Builder - getGoodTotalRatioThresholdBuilder() { + public com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.Builder getGoodTotalRatioThresholdBuilder() { return getGoodTotalRatioThresholdFieldBuilder().getBuilder(); } /** - * - * *
      * A window is good if its `performance` is high enough.
      * 
* - * - * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; - * + * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; */ @java.lang.Override - public com.google.monitoring.v3.WindowsBasedSli.PerformanceThresholdOrBuilder - getGoodTotalRatioThresholdOrBuilder() { + public com.google.monitoring.v3.WindowsBasedSli.PerformanceThresholdOrBuilder getGoodTotalRatioThresholdOrBuilder() { if ((windowCriterionCase_ == 2) && (goodTotalRatioThresholdBuilder_ != null)) { return goodTotalRatioThresholdBuilder_.getMessageOrBuilder(); } else { @@ -3656,57 +3251,40 @@ public Builder clearGoodTotalRatioThreshold() { } } /** - * - * *
      * A window is good if its `performance` is high enough.
      * 
* - * - * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; - * + * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold, - com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.Builder, - com.google.monitoring.v3.WindowsBasedSli.PerformanceThresholdOrBuilder> + com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold, com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.Builder, com.google.monitoring.v3.WindowsBasedSli.PerformanceThresholdOrBuilder> getGoodTotalRatioThresholdFieldBuilder() { if (goodTotalRatioThresholdBuilder_ == null) { if (!(windowCriterionCase_ == 2)) { - windowCriterion_ = - com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.getDefaultInstance(); + windowCriterion_ = com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.getDefaultInstance(); } - goodTotalRatioThresholdBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold, - com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.Builder, - com.google.monitoring.v3.WindowsBasedSli.PerformanceThresholdOrBuilder>( + goodTotalRatioThresholdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold, com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.Builder, com.google.monitoring.v3.WindowsBasedSli.PerformanceThresholdOrBuilder>( (com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) windowCriterion_, getParentForChildren(), isClean()); windowCriterion_ = null; } windowCriterionCase_ = 2; - onChanged(); - ; + onChanged();; return goodTotalRatioThresholdBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.WindowsBasedSli.MetricRange, - com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder, - com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder> - metricMeanInRangeBuilder_; + com.google.monitoring.v3.WindowsBasedSli.MetricRange, com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder, com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder> metricMeanInRangeBuilder_; /** - * - * *
      * A window is good if the metric's value is in a good range, averaged
      * across returned streams.
      * 
* * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_mean_in_range = 6; - * * @return Whether the metricMeanInRange field is set. */ @java.lang.Override @@ -3714,15 +3292,12 @@ public boolean hasMetricMeanInRange() { return windowCriterionCase_ == 6; } /** - * - * *
      * A window is good if the metric's value is in a good range, averaged
      * across returned streams.
      * 
* * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_mean_in_range = 6; - * * @return The metricMeanInRange. */ @java.lang.Override @@ -3740,8 +3315,6 @@ public com.google.monitoring.v3.WindowsBasedSli.MetricRange getMetricMeanInRange } } /** - * - * *
      * A window is good if the metric's value is in a good range, averaged
      * across returned streams.
@@ -3749,8 +3322,7 @@ public com.google.monitoring.v3.WindowsBasedSli.MetricRange getMetricMeanInRange
      *
      * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_mean_in_range = 6;
      */
-    public Builder setMetricMeanInRange(
-        com.google.monitoring.v3.WindowsBasedSli.MetricRange value) {
+    public Builder setMetricMeanInRange(com.google.monitoring.v3.WindowsBasedSli.MetricRange value) {
       if (metricMeanInRangeBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3764,8 +3336,6 @@ public Builder setMetricMeanInRange(
       return this;
     }
     /**
-     *
-     *
      * 
      * A window is good if the metric's value is in a good range, averaged
      * across returned streams.
@@ -3785,8 +3355,6 @@ public Builder setMetricMeanInRange(
       return this;
     }
     /**
-     *
-     *
      * 
      * A window is good if the metric's value is in a good range, averaged
      * across returned streams.
@@ -3794,17 +3362,12 @@ public Builder setMetricMeanInRange(
      *
      * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_mean_in_range = 6;
      */
-    public Builder mergeMetricMeanInRange(
-        com.google.monitoring.v3.WindowsBasedSli.MetricRange value) {
+    public Builder mergeMetricMeanInRange(com.google.monitoring.v3.WindowsBasedSli.MetricRange value) {
       if (metricMeanInRangeBuilder_ == null) {
-        if (windowCriterionCase_ == 6
-            && windowCriterion_
-                != com.google.monitoring.v3.WindowsBasedSli.MetricRange.getDefaultInstance()) {
-          windowCriterion_ =
-              com.google.monitoring.v3.WindowsBasedSli.MetricRange.newBuilder(
-                      (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (windowCriterionCase_ == 6 &&
+            windowCriterion_ != com.google.monitoring.v3.WindowsBasedSli.MetricRange.getDefaultInstance()) {
+          windowCriterion_ = com.google.monitoring.v3.WindowsBasedSli.MetricRange.newBuilder((com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_)
+              .mergeFrom(value).buildPartial();
         } else {
           windowCriterion_ = value;
         }
@@ -3819,8 +3382,6 @@ public Builder mergeMetricMeanInRange(
       return this;
     }
     /**
-     *
-     *
      * 
      * A window is good if the metric's value is in a good range, averaged
      * across returned streams.
@@ -3845,8 +3406,6 @@ public Builder clearMetricMeanInRange() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A window is good if the metric's value is in a good range, averaged
      * across returned streams.
@@ -3854,13 +3413,10 @@ public Builder clearMetricMeanInRange() {
      *
      * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_mean_in_range = 6;
      */
-    public com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder
-        getMetricMeanInRangeBuilder() {
+    public com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder getMetricMeanInRangeBuilder() {
       return getMetricMeanInRangeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A window is good if the metric's value is in a good range, averaged
      * across returned streams.
@@ -3869,8 +3425,7 @@ public Builder clearMetricMeanInRange() {
      * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_mean_in_range = 6;
      */
     @java.lang.Override
-    public com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder
-        getMetricMeanInRangeOrBuilder() {
+    public com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder getMetricMeanInRangeOrBuilder() {
       if ((windowCriterionCase_ == 6) && (metricMeanInRangeBuilder_ != null)) {
         return metricMeanInRangeBuilder_.getMessageOrBuilder();
       } else {
@@ -3881,8 +3436,6 @@ public Builder clearMetricMeanInRange() {
       }
     }
     /**
-     *
-     *
      * 
      * A window is good if the metric's value is in a good range, averaged
      * across returned streams.
@@ -3891,46 +3444,33 @@ public Builder clearMetricMeanInRange() {
      * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_mean_in_range = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.WindowsBasedSli.MetricRange,
-            com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder,
-            com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder>
+        com.google.monitoring.v3.WindowsBasedSli.MetricRange, com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder, com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder> 
         getMetricMeanInRangeFieldBuilder() {
       if (metricMeanInRangeBuilder_ == null) {
         if (!(windowCriterionCase_ == 6)) {
-          windowCriterion_ =
-              com.google.monitoring.v3.WindowsBasedSli.MetricRange.getDefaultInstance();
+          windowCriterion_ = com.google.monitoring.v3.WindowsBasedSli.MetricRange.getDefaultInstance();
         }
-        metricMeanInRangeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.monitoring.v3.WindowsBasedSli.MetricRange,
-                com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder,
-                com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder>(
+        metricMeanInRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.monitoring.v3.WindowsBasedSli.MetricRange, com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder, com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder>(
                 (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_,
                 getParentForChildren(),
                 isClean());
         windowCriterion_ = null;
       }
       windowCriterionCase_ = 6;
-      onChanged();
-      ;
+      onChanged();;
       return metricMeanInRangeBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.WindowsBasedSli.MetricRange,
-            com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder,
-            com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder>
-        metricSumInRangeBuilder_;
+        com.google.monitoring.v3.WindowsBasedSli.MetricRange, com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder, com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder> metricSumInRangeBuilder_;
     /**
-     *
-     *
      * 
      * A window is good if the metric's value is in a good range, summed across
      * returned streams.
      * 
* * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_sum_in_range = 7; - * * @return Whether the metricSumInRange field is set. */ @java.lang.Override @@ -3938,15 +3478,12 @@ public boolean hasMetricSumInRange() { return windowCriterionCase_ == 7; } /** - * - * *
      * A window is good if the metric's value is in a good range, summed across
      * returned streams.
      * 
* * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_sum_in_range = 7; - * * @return The metricSumInRange. */ @java.lang.Override @@ -3964,8 +3501,6 @@ public com.google.monitoring.v3.WindowsBasedSli.MetricRange getMetricSumInRange( } } /** - * - * *
      * A window is good if the metric's value is in a good range, summed across
      * returned streams.
@@ -3987,8 +3522,6 @@ public Builder setMetricSumInRange(com.google.monitoring.v3.WindowsBasedSli.Metr
       return this;
     }
     /**
-     *
-     *
      * 
      * A window is good if the metric's value is in a good range, summed across
      * returned streams.
@@ -4008,8 +3541,6 @@ public Builder setMetricSumInRange(
       return this;
     }
     /**
-     *
-     *
      * 
      * A window is good if the metric's value is in a good range, summed across
      * returned streams.
@@ -4017,17 +3548,12 @@ public Builder setMetricSumInRange(
      *
      * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_sum_in_range = 7;
      */
-    public Builder mergeMetricSumInRange(
-        com.google.monitoring.v3.WindowsBasedSli.MetricRange value) {
+    public Builder mergeMetricSumInRange(com.google.monitoring.v3.WindowsBasedSli.MetricRange value) {
       if (metricSumInRangeBuilder_ == null) {
-        if (windowCriterionCase_ == 7
-            && windowCriterion_
-                != com.google.monitoring.v3.WindowsBasedSli.MetricRange.getDefaultInstance()) {
-          windowCriterion_ =
-              com.google.monitoring.v3.WindowsBasedSli.MetricRange.newBuilder(
-                      (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (windowCriterionCase_ == 7 &&
+            windowCriterion_ != com.google.monitoring.v3.WindowsBasedSli.MetricRange.getDefaultInstance()) {
+          windowCriterion_ = com.google.monitoring.v3.WindowsBasedSli.MetricRange.newBuilder((com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_)
+              .mergeFrom(value).buildPartial();
         } else {
           windowCriterion_ = value;
         }
@@ -4042,8 +3568,6 @@ public Builder mergeMetricSumInRange(
       return this;
     }
     /**
-     *
-     *
      * 
      * A window is good if the metric's value is in a good range, summed across
      * returned streams.
@@ -4068,8 +3592,6 @@ public Builder clearMetricSumInRange() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A window is good if the metric's value is in a good range, summed across
      * returned streams.
@@ -4077,13 +3599,10 @@ public Builder clearMetricSumInRange() {
      *
      * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_sum_in_range = 7;
      */
-    public com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder
-        getMetricSumInRangeBuilder() {
+    public com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder getMetricSumInRangeBuilder() {
       return getMetricSumInRangeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A window is good if the metric's value is in a good range, summed across
      * returned streams.
@@ -4092,8 +3611,7 @@ public Builder clearMetricSumInRange() {
      * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_sum_in_range = 7;
      */
     @java.lang.Override
-    public com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder
-        getMetricSumInRangeOrBuilder() {
+    public com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder getMetricSumInRangeOrBuilder() {
       if ((windowCriterionCase_ == 7) && (metricSumInRangeBuilder_ != null)) {
         return metricSumInRangeBuilder_.getMessageOrBuilder();
       } else {
@@ -4104,8 +3622,6 @@ public Builder clearMetricSumInRange() {
       }
     }
     /**
-     *
-     *
      * 
      * A window is good if the metric's value is in a good range, summed across
      * returned streams.
@@ -4114,76 +3630,56 @@ public Builder clearMetricSumInRange() {
      * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_sum_in_range = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.WindowsBasedSli.MetricRange,
-            com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder,
-            com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder>
+        com.google.monitoring.v3.WindowsBasedSli.MetricRange, com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder, com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder> 
         getMetricSumInRangeFieldBuilder() {
       if (metricSumInRangeBuilder_ == null) {
         if (!(windowCriterionCase_ == 7)) {
-          windowCriterion_ =
-              com.google.monitoring.v3.WindowsBasedSli.MetricRange.getDefaultInstance();
+          windowCriterion_ = com.google.monitoring.v3.WindowsBasedSli.MetricRange.getDefaultInstance();
         }
-        metricSumInRangeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.monitoring.v3.WindowsBasedSli.MetricRange,
-                com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder,
-                com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder>(
+        metricSumInRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.monitoring.v3.WindowsBasedSli.MetricRange, com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder, com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder>(
                 (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_,
                 getParentForChildren(),
                 isClean());
         windowCriterion_ = null;
       }
       windowCriterionCase_ = 7;
-      onChanged();
-      ;
+      onChanged();;
       return metricSumInRangeBuilder_;
     }
 
     private com.google.protobuf.Duration windowPeriod_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        windowPeriodBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> windowPeriodBuilder_;
     /**
-     *
-     *
      * 
      * Duration over which window quality is evaluated. Must be an integer
      * fraction of a day and at least `60s`.
      * 
* * .google.protobuf.Duration window_period = 4; - * * @return Whether the windowPeriod field is set. */ public boolean hasWindowPeriod() { return windowPeriodBuilder_ != null || windowPeriod_ != null; } /** - * - * *
      * Duration over which window quality is evaluated. Must be an integer
      * fraction of a day and at least `60s`.
      * 
* * .google.protobuf.Duration window_period = 4; - * * @return The windowPeriod. */ public com.google.protobuf.Duration getWindowPeriod() { if (windowPeriodBuilder_ == null) { - return windowPeriod_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : windowPeriod_; + return windowPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : windowPeriod_; } else { return windowPeriodBuilder_.getMessage(); } } /** - * - * *
      * Duration over which window quality is evaluated. Must be an integer
      * fraction of a day and at least `60s`.
@@ -4205,8 +3701,6 @@ public Builder setWindowPeriod(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Duration over which window quality is evaluated. Must be an integer
      * fraction of a day and at least `60s`.
@@ -4214,7 +3708,8 @@ public Builder setWindowPeriod(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration window_period = 4;
      */
-    public Builder setWindowPeriod(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setWindowPeriod(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (windowPeriodBuilder_ == null) {
         windowPeriod_ = builderForValue.build();
         onChanged();
@@ -4225,8 +3720,6 @@ public Builder setWindowPeriod(com.google.protobuf.Duration.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * Duration over which window quality is evaluated. Must be an integer
      * fraction of a day and at least `60s`.
@@ -4238,9 +3731,7 @@ public Builder mergeWindowPeriod(com.google.protobuf.Duration value) {
       if (windowPeriodBuilder_ == null) {
         if (windowPeriod_ != null) {
           windowPeriod_ =
-              com.google.protobuf.Duration.newBuilder(windowPeriod_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(windowPeriod_).mergeFrom(value).buildPartial();
         } else {
           windowPeriod_ = value;
         }
@@ -4252,8 +3743,6 @@ public Builder mergeWindowPeriod(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Duration over which window quality is evaluated. Must be an integer
      * fraction of a day and at least `60s`.
@@ -4273,8 +3762,6 @@ public Builder clearWindowPeriod() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Duration over which window quality is evaluated. Must be an integer
      * fraction of a day and at least `60s`.
@@ -4283,13 +3770,11 @@ public Builder clearWindowPeriod() {
      * .google.protobuf.Duration window_period = 4;
      */
     public com.google.protobuf.Duration.Builder getWindowPeriodBuilder() {
-
+      
       onChanged();
       return getWindowPeriodFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Duration over which window quality is evaluated. Must be an integer
      * fraction of a day and at least `60s`.
@@ -4301,14 +3786,11 @@ public com.google.protobuf.DurationOrBuilder getWindowPeriodOrBuilder() {
       if (windowPeriodBuilder_ != null) {
         return windowPeriodBuilder_.getMessageOrBuilder();
       } else {
-        return windowPeriod_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : windowPeriod_;
+        return windowPeriod_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : windowPeriod_;
       }
     }
     /**
-     *
-     *
      * 
      * Duration over which window quality is evaluated. Must be an integer
      * fraction of a day and at least `60s`.
@@ -4317,24 +3799,21 @@ public com.google.protobuf.DurationOrBuilder getWindowPeriodOrBuilder() {
      * .google.protobuf.Duration window_period = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getWindowPeriodFieldBuilder() {
       if (windowPeriodBuilder_ == null) {
-        windowPeriodBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getWindowPeriod(), getParentForChildren(), isClean());
+        windowPeriodBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getWindowPeriod(),
+                getParentForChildren(),
+                isClean());
         windowPeriod_ = null;
       }
       return windowPeriodBuilder_;
     }
-
     @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);
     }
 
@@ -4344,12 +3823,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.monitoring.v3.WindowsBasedSli)
   }
 
   // @@protoc_insertion_point(class_scope:google.monitoring.v3.WindowsBasedSli)
   private static final com.google.monitoring.v3.WindowsBasedSli DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.monitoring.v3.WindowsBasedSli();
   }
@@ -4358,16 +3837,16 @@ public static com.google.monitoring.v3.WindowsBasedSli getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public WindowsBasedSli parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new WindowsBasedSli(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public WindowsBasedSli parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new WindowsBasedSli(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -4382,4 +3861,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.monitoring.v3.WindowsBasedSli getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/WindowsBasedSliOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/WindowsBasedSliOrBuilder.java
similarity index 78%
rename from proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/WindowsBasedSliOrBuilder.java
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/WindowsBasedSliOrBuilder.java
index b50815dd..fca91d59 100644
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/WindowsBasedSliOrBuilder.java
+++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/WindowsBasedSliOrBuilder.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/monitoring/v3/service.proto
 
 package com.google.monitoring.v3;
 
-public interface WindowsBasedSliOrBuilder
-    extends
+public interface WindowsBasedSliOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.monitoring.v3.WindowsBasedSli)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` with `ValueType = BOOL`. The window is good if
@@ -33,13 +15,10 @@ public interface WindowsBasedSliOrBuilder
    * 
* * string good_bad_metric_filter = 5; - * * @return Whether the goodBadMetricFilter field is set. */ boolean hasGoodBadMetricFilter(); /** - * - * *
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` with `ValueType = BOOL`. The window is good if
@@ -47,13 +26,10 @@ public interface WindowsBasedSliOrBuilder
    * 
* * string good_bad_metric_filter = 5; - * * @return The goodBadMetricFilter. */ java.lang.String getGoodBadMetricFilter(); /** - * - * *
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` with `ValueType = BOOL`. The window is good if
@@ -61,82 +37,59 @@ public interface WindowsBasedSliOrBuilder
    * 
* * string good_bad_metric_filter = 5; - * * @return The bytes for goodBadMetricFilter. */ - com.google.protobuf.ByteString getGoodBadMetricFilterBytes(); + com.google.protobuf.ByteString + getGoodBadMetricFilterBytes(); /** - * - * *
    * A window is good if its `performance` is high enough.
    * 
* - * - * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; - * - * + * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; * @return Whether the goodTotalRatioThreshold field is set. */ boolean hasGoodTotalRatioThreshold(); /** - * - * *
    * A window is good if its `performance` is high enough.
    * 
* - * - * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; - * - * + * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; * @return The goodTotalRatioThreshold. */ com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold getGoodTotalRatioThreshold(); /** - * - * *
    * A window is good if its `performance` is high enough.
    * 
* - * - * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; - * + * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; */ - com.google.monitoring.v3.WindowsBasedSli.PerformanceThresholdOrBuilder - getGoodTotalRatioThresholdOrBuilder(); + com.google.monitoring.v3.WindowsBasedSli.PerformanceThresholdOrBuilder getGoodTotalRatioThresholdOrBuilder(); /** - * - * *
    * A window is good if the metric's value is in a good range, averaged
    * across returned streams.
    * 
* * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_mean_in_range = 6; - * * @return Whether the metricMeanInRange field is set. */ boolean hasMetricMeanInRange(); /** - * - * *
    * A window is good if the metric's value is in a good range, averaged
    * across returned streams.
    * 
* * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_mean_in_range = 6; - * * @return The metricMeanInRange. */ com.google.monitoring.v3.WindowsBasedSli.MetricRange getMetricMeanInRange(); /** - * - * *
    * A window is good if the metric's value is in a good range, averaged
    * across returned streams.
@@ -147,34 +100,26 @@ public interface WindowsBasedSliOrBuilder
   com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder getMetricMeanInRangeOrBuilder();
 
   /**
-   *
-   *
    * 
    * A window is good if the metric's value is in a good range, summed across
    * returned streams.
    * 
* * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_sum_in_range = 7; - * * @return Whether the metricSumInRange field is set. */ boolean hasMetricSumInRange(); /** - * - * *
    * A window is good if the metric's value is in a good range, summed across
    * returned streams.
    * 
* * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_sum_in_range = 7; - * * @return The metricSumInRange. */ com.google.monitoring.v3.WindowsBasedSli.MetricRange getMetricSumInRange(); /** - * - * *
    * A window is good if the metric's value is in a good range, summed across
    * returned streams.
@@ -185,34 +130,26 @@ public interface WindowsBasedSliOrBuilder
   com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder getMetricSumInRangeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Duration over which window quality is evaluated. Must be an integer
    * fraction of a day and at least `60s`.
    * 
* * .google.protobuf.Duration window_period = 4; - * * @return Whether the windowPeriod field is set. */ boolean hasWindowPeriod(); /** - * - * *
    * Duration over which window quality is evaluated. Must be an integer
    * fraction of a day and at least `60s`.
    * 
* * .google.protobuf.Duration window_period = 4; - * * @return The windowPeriod. */ com.google.protobuf.Duration getWindowPeriod(); /** - * - * *
    * Duration over which window quality is evaluated. Must be an integer
    * fraction of a day and at least `60s`.
diff --git a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/alert.proto b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/alert.proto
similarity index 99%
rename from proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/alert.proto
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/alert.proto
index a1d15510..b63b318a 100644
--- a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/alert.proto
+++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/alert.proto
@@ -334,6 +334,10 @@ message AlertPolicy {
     //
     // This limit is not implemented for alert policies that are not log-based.
     NotificationRateLimit notification_rate_limit = 1;
+
+    // If an alert policy that was active has no data for this long, any open
+    // incidents will close
+    google.protobuf.Duration auto_close = 3;
   }
 
   // Operators for combining conditions.
diff --git a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/alert_service.proto b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/alert_service.proto
similarity index 100%
rename from proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/alert_service.proto
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/alert_service.proto
diff --git a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/common.proto b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/common.proto
similarity index 99%
rename from proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/common.proto
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/common.proto
index b278d739..d603cab7 100644
--- a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/common.proto
+++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/common.proto
@@ -68,7 +68,7 @@ message TypedValue {
 //   of the previous interval.
 //
 // * For `CUMULATIVE` metrics, the start time and end time must specify a
-//   a non-zero interval, with subsequent points specifying the same
+//   non-zero interval, with subsequent points specifying the same
 //   start time and increasing end times, until an event resets the
 //   cumulative value to zero and sets a new start time for the following
 //   points. The new start time must be at least a millisecond after the
diff --git a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/dropped_labels.proto b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/dropped_labels.proto
similarity index 100%
rename from proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/dropped_labels.proto
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/dropped_labels.proto
diff --git a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/group.proto b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/group.proto
similarity index 100%
rename from proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/group.proto
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/group.proto
diff --git a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/group_service.proto b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/group_service.proto
similarity index 100%
rename from proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/group_service.proto
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/group_service.proto
diff --git a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/metric.proto b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/metric.proto
similarity index 100%
rename from proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/metric.proto
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/metric.proto
diff --git a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/metric_service.proto b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/metric_service.proto
similarity index 100%
rename from proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/metric_service.proto
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/metric_service.proto
diff --git a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/mutation_record.proto b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/mutation_record.proto
similarity index 100%
rename from proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/mutation_record.proto
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/mutation_record.proto
diff --git a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/notification.proto b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/notification.proto
similarity index 100%
rename from proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/notification.proto
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/notification.proto
diff --git a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/notification_service.proto b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/notification_service.proto
similarity index 100%
rename from proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/notification_service.proto
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/notification_service.proto
diff --git a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/query_service.proto b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/query_service.proto
similarity index 100%
rename from proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/query_service.proto
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/query_service.proto
diff --git a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/service.proto b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/service.proto
similarity index 100%
rename from proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/service.proto
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/service.proto
diff --git a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/service_service.proto b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/service_service.proto
similarity index 100%
rename from proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/service_service.proto
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/service_service.proto
diff --git a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/span_context.proto b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/span_context.proto
similarity index 100%
rename from proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/span_context.proto
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/span_context.proto
diff --git a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/uptime.proto b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/uptime.proto
similarity index 100%
rename from proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/uptime.proto
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/uptime.proto
index 210cbe5d..fb24e149 100644
--- a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/uptime.proto
+++ b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/uptime.proto
@@ -28,27 +28,6 @@ option java_package = "com.google.monitoring.v3";
 option php_namespace = "Google\\Cloud\\Monitoring\\V3";
 option ruby_package = "Google::Cloud::Monitoring::V3";
 
-// The regions from which an Uptime check can be run.
-enum UptimeCheckRegion {
-  // Default value if no region is specified. Will result in Uptime checks
-  // running from all regions.
-  REGION_UNSPECIFIED = 0;
-
-  // Allows checks to run from locations within the United States of America.
-  USA = 1;
-
-  // Allows checks to run from locations within the continent of Europe.
-  EUROPE = 2;
-
-  // Allows checks to run from locations within the continent of South
-  // America.
-  SOUTH_AMERICA = 3;
-
-  // Allows checks to run from locations within the Asia Pacific area (ex:
-  // Singapore).
-  ASIA_PACIFIC = 4;
-}
-
 // An internal checker allows Uptime checks to run on private/internal GCP
 // resources.
 message InternalChecker {
@@ -105,6 +84,27 @@ message InternalChecker {
   State state = 7;
 }
 
+// The regions from which an Uptime check can be run.
+enum UptimeCheckRegion {
+  // Default value if no region is specified. Will result in Uptime checks
+  // running from all regions.
+  REGION_UNSPECIFIED = 0;
+
+  // Allows checks to run from locations within the United States of America.
+  USA = 1;
+
+  // Allows checks to run from locations within the continent of Europe.
+  EUROPE = 2;
+
+  // Allows checks to run from locations within the continent of South
+  // America.
+  SOUTH_AMERICA = 3;
+
+  // Allows checks to run from locations within the Asia Pacific area (ex:
+  // Singapore).
+  ASIA_PACIFIC = 4;
+}
+
 // This message configures which resources and services to monitor for
 // availability.
 message UptimeCheckConfig {
diff --git a/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/uptime_service.proto b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/uptime_service.proto
similarity index 100%
rename from proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/uptime_service.proto
rename to owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/uptime_service.proto
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertProto.java
deleted file mode 100644
index 9f2631a4..00000000
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertProto.java
+++ /dev/null
@@ -1,338 +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/monitoring/v3/alert.proto
-
-package com.google.monitoring.v3;
-
-public final class AlertProto {
-  private AlertProto() {}
-
-  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_monitoring_v3_AlertPolicy_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_monitoring_v3_AlertPolicy_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_monitoring_v3_AlertPolicy_Documentation_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_monitoring_v3_AlertPolicy_Documentation_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_monitoring_v3_AlertPolicy_Condition_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_monitoring_v3_AlertPolicy_Condition_Trigger_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_monitoring_v3_AlertPolicy_Condition_Trigger_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricThreshold_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricThreshold_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricAbsence_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricAbsence_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_LabelExtractorsEntry_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_LabelExtractorsEntry_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_monitoring_v3_AlertPolicy_Condition_MonitoringQueryLanguageCondition_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_monitoring_v3_AlertPolicy_Condition_MonitoringQueryLanguageCondition_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_NotificationRateLimit_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_NotificationRateLimit_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_monitoring_v3_AlertPolicy_UserLabelsEntry_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_monitoring_v3_AlertPolicy_UserLabelsEntry_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/monitoring/v3/alert.proto\022\024goog"
-          + "le.monitoring.v3\032\037google/api/field_behav"
-          + "ior.proto\032\031google/api/resource.proto\032!go"
-          + "ogle/monitoring/v3/common.proto\032*google/"
-          + "monitoring/v3/mutation_record.proto\032\036goo"
-          + "gle/protobuf/duration.proto\032\036google/prot"
-          + "obuf/wrappers.proto\032\027google/rpc/status.p"
-          + "roto\"\264\027\n\013AlertPolicy\022\014\n\004name\030\001 \001(\t\022\024\n\014di"
-          + "splay_name\030\002 \001(\t\022F\n\rdocumentation\030\r \001(\0132"
-          + "/.google.monitoring.v3.AlertPolicy.Docum"
-          + "entation\022F\n\013user_labels\030\020 \003(\01321.google.m"
-          + "onitoring.v3.AlertPolicy.UserLabelsEntry"
-          + "\022?\n\nconditions\030\014 \003(\0132+.google.monitoring"
-          + ".v3.AlertPolicy.Condition\022I\n\010combiner\030\006 "
-          + "\001(\01627.google.monitoring.v3.AlertPolicy.C"
-          + "onditionCombinerType\022+\n\007enabled\030\021 \001(\0132\032."
-          + "google.protobuf.BoolValue\022$\n\010validity\030\022 "
-          + "\001(\0132\022.google.rpc.Status\022\035\n\025notification_"
-          + "channels\030\016 \003(\t\022=\n\017creation_record\030\n \001(\0132"
-          + "$.google.monitoring.v3.MutationRecord\022=\n"
-          + "\017mutation_record\030\013 \001(\0132$.google.monitori"
-          + "ng.v3.MutationRecord\022G\n\016alert_strategy\030\025"
-          + " \001(\0132/.google.monitoring.v3.AlertPolicy."
-          + "AlertStrategy\0323\n\rDocumentation\022\017\n\007conten"
-          + "t\030\001 \001(\t\022\021\n\tmime_type\030\002 \001(\t\032\326\r\n\tCondition"
-          + "\022\014\n\004name\030\014 \001(\t\022\024\n\014display_name\030\006 \001(\t\022Z\n\023"
-          + "condition_threshold\030\001 \001(\0132;.google.monit"
-          + "oring.v3.AlertPolicy.Condition.MetricThr"
-          + "esholdH\000\022U\n\020condition_absent\030\002 \001(\01329.goo"
-          + "gle.monitoring.v3.AlertPolicy.Condition."
-          + "MetricAbsenceH\000\022U\n\025condition_matched_log"
-          + "\030\024 \001(\01324.google.monitoring.v3.AlertPolic"
-          + "y.Condition.LogMatchH\000\022{\n#condition_moni"
-          + "toring_query_language\030\023 \001(\0132L.google.mon"
-          + "itoring.v3.AlertPolicy.Condition.Monitor"
-          + "ingQueryLanguageConditionH\000\0325\n\007Trigger\022\017"
-          + "\n\005count\030\001 \001(\005H\000\022\021\n\007percent\030\002 \001(\001H\000B\006\n\004ty"
-          + "pe\032\206\003\n\017MetricThreshold\022\023\n\006filter\030\002 \001(\tB\003"
-          + "\340A\002\0227\n\014aggregations\030\010 \003(\0132!.google.monit"
-          + "oring.v3.Aggregation\022\032\n\022denominator_filt"
-          + "er\030\t \001(\t\022C\n\030denominator_aggregations\030\n \003"
-          + "(\0132!.google.monitoring.v3.Aggregation\0228\n"
-          + "\ncomparison\030\004 \001(\0162$.google.monitoring.v3"
-          + ".ComparisonType\022\027\n\017threshold_value\030\005 \001(\001"
-          + "\022+\n\010duration\030\006 \001(\0132\031.google.protobuf.Dur"
-          + "ation\022D\n\007trigger\030\007 \001(\01323.google.monitori"
-          + "ng.v3.AlertPolicy.Condition.Trigger\032\320\001\n\r"
-          + "MetricAbsence\022\023\n\006filter\030\001 \001(\tB\003\340A\002\0227\n\014ag"
-          + "gregations\030\005 \003(\0132!.google.monitoring.v3."
-          + "Aggregation\022+\n\010duration\030\002 \001(\0132\031.google.p"
-          + "rotobuf.Duration\022D\n\007trigger\030\003 \001(\01323.goog"
-          + "le.monitoring.v3.AlertPolicy.Condition.T"
-          + "rigger\032\274\001\n\010LogMatch\022\023\n\006filter\030\001 \001(\tB\003\340A\002"
-          + "\022c\n\020label_extractors\030\002 \003(\0132I.google.moni"
-          + "toring.v3.AlertPolicy.Condition.LogMatch"
-          + ".LabelExtractorsEntry\0326\n\024LabelExtractors"
-          + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032\244\001"
-          + "\n MonitoringQueryLanguageCondition\022\r\n\005qu"
-          + "ery\030\001 \001(\t\022+\n\010duration\030\002 \001(\0132\031.google.pro"
-          + "tobuf.Duration\022D\n\007trigger\030\003 \001(\01323.google"
-          + ".monitoring.v3.AlertPolicy.Condition.Tri"
-          + "gger:\227\002\352A\223\002\n.monitoring.googleapis.com/A"
-          + "lertPolicyCondition\022Fprojects/{project}/"
-          + "alertPolicies/{alert_policy}/conditions/"
-          + "{condition}\022Porganizations/{organization"
-          + "}/alertPolicies/{alert_policy}/condition"
-          + "s/{condition}\022Dfolders/{folder}/alertPol"
-          + "icies/{alert_policy}/conditions/{conditi"
-          + "on}\022\001*B\013\n\tcondition\032\273\001\n\rAlertStrategy\022f\n"
-          + "\027notification_rate_limit\030\001 \001(\0132E.google."
-          + "monitoring.v3.AlertPolicy.AlertStrategy."
-          + "NotificationRateLimit\032B\n\025NotificationRat"
-          + "eLimit\022)\n\006period\030\001 \001(\0132\031.google.protobuf"
-          + ".Duration\0321\n\017UserLabelsEntry\022\013\n\003key\030\001 \001("
-          + "\t\022\r\n\005value\030\002 \001(\t:\0028\001\"a\n\025ConditionCombine"
-          + "rType\022\027\n\023COMBINE_UNSPECIFIED\020\000\022\007\n\003AND\020\001\022"
-          + "\006\n\002OR\020\002\022\036\n\032AND_WITH_MATCHING_RESOURCE\020\003:"
-          + "\311\001\352A\305\001\n%monitoring.googleapis.com/AlertP"
-          + "olicy\022/projects/{project}/alertPolicies/"
-          + "{alert_policy}\0229organizations/{organizat"
-          + "ion}/alertPolicies/{alert_policy}\022-folde"
-          + "rs/{folder}/alertPolicies/{alert_policy}"
-          + "\022\001*B\302\001\n\030com.google.monitoring.v3B\nAlertP"
-          + "rotoP\001Z>google.golang.org/genproto/googl"
-          + "eapis/monitoring/v3;monitoring\252\002\032Google."
-          + "Cloud.Monitoring.V3\312\002\032Google\\Cloud\\Monit"
-          + "oring\\V3\352\002\035Google::Cloud::Monitoring::V3"
-          + "b\006proto3"
-    };
-    descriptor =
-        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
-            descriptorData,
-            new com.google.protobuf.Descriptors.FileDescriptor[] {
-              com.google.api.FieldBehaviorProto.getDescriptor(),
-              com.google.api.ResourceProto.getDescriptor(),
-              com.google.monitoring.v3.CommonProto.getDescriptor(),
-              com.google.monitoring.v3.MutationRecordProto.getDescriptor(),
-              com.google.protobuf.DurationProto.getDescriptor(),
-              com.google.protobuf.WrappersProto.getDescriptor(),
-              com.google.rpc.StatusProto.getDescriptor(),
-            });
-    internal_static_google_monitoring_v3_AlertPolicy_descriptor =
-        getDescriptor().getMessageTypes().get(0);
-    internal_static_google_monitoring_v3_AlertPolicy_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_monitoring_v3_AlertPolicy_descriptor,
-            new java.lang.String[] {
-              "Name",
-              "DisplayName",
-              "Documentation",
-              "UserLabels",
-              "Conditions",
-              "Combiner",
-              "Enabled",
-              "Validity",
-              "NotificationChannels",
-              "CreationRecord",
-              "MutationRecord",
-              "AlertStrategy",
-            });
-    internal_static_google_monitoring_v3_AlertPolicy_Documentation_descriptor =
-        internal_static_google_monitoring_v3_AlertPolicy_descriptor.getNestedTypes().get(0);
-    internal_static_google_monitoring_v3_AlertPolicy_Documentation_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_monitoring_v3_AlertPolicy_Documentation_descriptor,
-            new java.lang.String[] {
-              "Content", "MimeType",
-            });
-    internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor =
-        internal_static_google_monitoring_v3_AlertPolicy_descriptor.getNestedTypes().get(1);
-    internal_static_google_monitoring_v3_AlertPolicy_Condition_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor,
-            new java.lang.String[] {
-              "Name",
-              "DisplayName",
-              "ConditionThreshold",
-              "ConditionAbsent",
-              "ConditionMatchedLog",
-              "ConditionMonitoringQueryLanguage",
-              "Condition",
-            });
-    internal_static_google_monitoring_v3_AlertPolicy_Condition_Trigger_descriptor =
-        internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor
-            .getNestedTypes()
-            .get(0);
-    internal_static_google_monitoring_v3_AlertPolicy_Condition_Trigger_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_monitoring_v3_AlertPolicy_Condition_Trigger_descriptor,
-            new java.lang.String[] {
-              "Count", "Percent", "Type",
-            });
-    internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricThreshold_descriptor =
-        internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor
-            .getNestedTypes()
-            .get(1);
-    internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricThreshold_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricThreshold_descriptor,
-            new java.lang.String[] {
-              "Filter",
-              "Aggregations",
-              "DenominatorFilter",
-              "DenominatorAggregations",
-              "Comparison",
-              "ThresholdValue",
-              "Duration",
-              "Trigger",
-            });
-    internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricAbsence_descriptor =
-        internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor
-            .getNestedTypes()
-            .get(2);
-    internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricAbsence_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricAbsence_descriptor,
-            new java.lang.String[] {
-              "Filter", "Aggregations", "Duration", "Trigger",
-            });
-    internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_descriptor =
-        internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor
-            .getNestedTypes()
-            .get(3);
-    internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_descriptor,
-            new java.lang.String[] {
-              "Filter", "LabelExtractors",
-            });
-    internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_LabelExtractorsEntry_descriptor =
-        internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_descriptor
-            .getNestedTypes()
-            .get(0);
-    internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_LabelExtractorsEntry_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_LabelExtractorsEntry_descriptor,
-            new java.lang.String[] {
-              "Key", "Value",
-            });
-    internal_static_google_monitoring_v3_AlertPolicy_Condition_MonitoringQueryLanguageCondition_descriptor =
-        internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor
-            .getNestedTypes()
-            .get(4);
-    internal_static_google_monitoring_v3_AlertPolicy_Condition_MonitoringQueryLanguageCondition_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_monitoring_v3_AlertPolicy_Condition_MonitoringQueryLanguageCondition_descriptor,
-            new java.lang.String[] {
-              "Query", "Duration", "Trigger",
-            });
-    internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_descriptor =
-        internal_static_google_monitoring_v3_AlertPolicy_descriptor.getNestedTypes().get(2);
-    internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_descriptor,
-            new java.lang.String[] {
-              "NotificationRateLimit",
-            });
-    internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_NotificationRateLimit_descriptor =
-        internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_descriptor
-            .getNestedTypes()
-            .get(0);
-    internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_NotificationRateLimit_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_NotificationRateLimit_descriptor,
-            new java.lang.String[] {
-              "Period",
-            });
-    internal_static_google_monitoring_v3_AlertPolicy_UserLabelsEntry_descriptor =
-        internal_static_google_monitoring_v3_AlertPolicy_descriptor.getNestedTypes().get(3);
-    internal_static_google_monitoring_v3_AlertPolicy_UserLabelsEntry_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_monitoring_v3_AlertPolicy_UserLabelsEntry_descriptor,
-            new java.lang.String[] {
-              "Key", "Value",
-            });
-    com.google.protobuf.ExtensionRegistry registry =
-        com.google.protobuf.ExtensionRegistry.newInstance();
-    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
-    registry.add(com.google.api.ResourceProto.resource);
-    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
-        descriptor, registry);
-    com.google.api.FieldBehaviorProto.getDescriptor();
-    com.google.api.ResourceProto.getDescriptor();
-    com.google.monitoring.v3.CommonProto.getDescriptor();
-    com.google.monitoring.v3.MutationRecordProto.getDescriptor();
-    com.google.protobuf.DurationProto.getDescriptor();
-    com.google.protobuf.WrappersProto.getDescriptor();
-    com.google.rpc.StatusProto.getDescriptor();
-  }
-
-  // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertServiceProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertServiceProto.java
deleted file mode 100644
index a90b69db..00000000
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertServiceProto.java
+++ /dev/null
@@ -1,202 +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/monitoring/v3/alert_service.proto
-
-package com.google.monitoring.v3;
-
-public final class AlertServiceProto {
-  private AlertServiceProto() {}
-
-  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_monitoring_v3_CreateAlertPolicyRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_monitoring_v3_CreateAlertPolicyRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_monitoring_v3_GetAlertPolicyRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_monitoring_v3_GetAlertPolicyRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_monitoring_v3_ListAlertPoliciesRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_monitoring_v3_ListAlertPoliciesRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_monitoring_v3_ListAlertPoliciesResponse_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_monitoring_v3_ListAlertPoliciesResponse_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_monitoring_v3_UpdateAlertPolicyRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_monitoring_v3_UpdateAlertPolicyRequest_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_monitoring_v3_DeleteAlertPolicyRequest_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_monitoring_v3_DeleteAlertPolicyRequest_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/monitoring/v3/alert_service.pro"
-          + "to\022\024google.monitoring.v3\032\034google/api/ann"
-          + "otations.proto\032\027google/api/client.proto\032"
-          + "\037google/api/field_behavior.proto\032\031google"
-          + "/api/resource.proto\032 google/monitoring/v"
-          + "3/alert.proto\032\033google/protobuf/empty.pro"
-          + "to\032 google/protobuf/field_mask.proto\"\225\001\n"
-          + "\030CreateAlertPolicyRequest\022;\n\004name\030\003 \001(\tB"
-          + "-\340A\002\372A\'\022%monitoring.googleapis.com/Alert"
-          + "Policy\022<\n\014alert_policy\030\002 \001(\0132!.google.mo"
-          + "nitoring.v3.AlertPolicyB\003\340A\002\"T\n\025GetAlert"
-          + "PolicyRequest\022;\n\004name\030\003 \001(\tB-\340A\002\372A\'\n%mon"
-          + "itoring.googleapis.com/AlertPolicy\"\240\001\n\030L"
-          + "istAlertPoliciesRequest\022;\n\004name\030\004 \001(\tB-\340"
-          + "A\002\372A\'\022%monitoring.googleapis.com/AlertPo"
-          + "licy\022\016\n\006filter\030\005 \001(\t\022\020\n\010order_by\030\006 \001(\t\022\021"
-          + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\203\001"
-          + "\n\031ListAlertPoliciesResponse\0229\n\016alert_pol"
-          + "icies\030\003 \003(\0132!.google.monitoring.v3.Alert"
-          + "Policy\022\027\n\017next_page_token\030\002 \001(\t\022\022\n\ntotal"
-          + "_size\030\004 \001(\005\"\211\001\n\030UpdateAlertPolicyRequest"
-          + "\022/\n\013update_mask\030\002 \001(\0132\032.google.protobuf."
-          + "FieldMask\022<\n\014alert_policy\030\003 \001(\0132!.google"
-          + ".monitoring.v3.AlertPolicyB\003\340A\002\"W\n\030Delet"
-          + "eAlertPolicyRequest\022;\n\004name\030\003 \001(\tB-\340A\002\372A"
-          + "\'\n%monitoring.googleapis.com/AlertPolicy"
-          + "2\236\010\n\022AlertPolicyService\022\250\001\n\021ListAlertPol"
-          + "icies\022..google.monitoring.v3.ListAlertPo"
-          + "liciesRequest\032/.google.monitoring.v3.Lis"
-          + "tAlertPoliciesResponse\"2\202\323\344\223\002%\022#/v3/{nam"
-          + "e=projects/*}/alertPolicies\332A\004name\022\226\001\n\016G"
-          + "etAlertPolicy\022+.google.monitoring.v3.Get"
-          + "AlertPolicyRequest\032!.google.monitoring.v"
-          + "3.AlertPolicy\"4\202\323\344\223\002\'\022%/v3/{name=project"
-          + "s/*/alertPolicies/*}\332A\004name\022\265\001\n\021CreateAl"
-          + "ertPolicy\022..google.monitoring.v3.CreateA"
-          + "lertPolicyRequest\032!.google.monitoring.v3"
-          + ".AlertPolicy\"M\202\323\344\223\0023\"#/v3/{name=projects"
-          + "/*}/alertPolicies:\014alert_policy\332A\021name,a"
-          + "lert_policy\022\221\001\n\021DeleteAlertPolicy\022..goog"
-          + "le.monitoring.v3.DeleteAlertPolicyReques"
-          + "t\032\026.google.protobuf.Empty\"4\202\323\344\223\002\'*%/v3/{"
-          + "name=projects/*/alertPolicies/*}\332A\004name\022"
-          + "\313\001\n\021UpdateAlertPolicy\022..google.monitorin"
-          + "g.v3.UpdateAlertPolicyRequest\032!.google.m"
-          + "onitoring.v3.AlertPolicy\"c\202\323\344\223\002B22/v3/{a"
-          + "lert_policy.name=projects/*/alertPolicie"
-          + "s/*}:\014alert_policy\332A\030update_mask,alert_p"
-          + "olicy\032\251\001\312A\031monitoring.googleapis.com\322A\211\001"
-          + "https://www.googleapis.com/auth/cloud-pl"
-          + "atform,https://www.googleapis.com/auth/m"
-          + "onitoring,https://www.googleapis.com/aut"
-          + "h/monitoring.readB\311\001\n\030com.google.monitor"
-          + "ing.v3B\021AlertServiceProtoP\001Z>google.gola"
-          + "ng.org/genproto/googleapis/monitoring/v3"
-          + ";monitoring\252\002\032Google.Cloud.Monitoring.V3"
-          + "\312\002\032Google\\Cloud\\Monitoring\\V3\352\002\035Google::"
-          + "Cloud::Monitoring::V3b\006proto3"
-    };
-    descriptor =
-        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
-            descriptorData,
-            new com.google.protobuf.Descriptors.FileDescriptor[] {
-              com.google.api.AnnotationsProto.getDescriptor(),
-              com.google.api.ClientProto.getDescriptor(),
-              com.google.api.FieldBehaviorProto.getDescriptor(),
-              com.google.api.ResourceProto.getDescriptor(),
-              com.google.monitoring.v3.AlertProto.getDescriptor(),
-              com.google.protobuf.EmptyProto.getDescriptor(),
-              com.google.protobuf.FieldMaskProto.getDescriptor(),
-            });
-    internal_static_google_monitoring_v3_CreateAlertPolicyRequest_descriptor =
-        getDescriptor().getMessageTypes().get(0);
-    internal_static_google_monitoring_v3_CreateAlertPolicyRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_monitoring_v3_CreateAlertPolicyRequest_descriptor,
-            new java.lang.String[] {
-              "Name", "AlertPolicy",
-            });
-    internal_static_google_monitoring_v3_GetAlertPolicyRequest_descriptor =
-        getDescriptor().getMessageTypes().get(1);
-    internal_static_google_monitoring_v3_GetAlertPolicyRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_monitoring_v3_GetAlertPolicyRequest_descriptor,
-            new java.lang.String[] {
-              "Name",
-            });
-    internal_static_google_monitoring_v3_ListAlertPoliciesRequest_descriptor =
-        getDescriptor().getMessageTypes().get(2);
-    internal_static_google_monitoring_v3_ListAlertPoliciesRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_monitoring_v3_ListAlertPoliciesRequest_descriptor,
-            new java.lang.String[] {
-              "Name", "Filter", "OrderBy", "PageSize", "PageToken",
-            });
-    internal_static_google_monitoring_v3_ListAlertPoliciesResponse_descriptor =
-        getDescriptor().getMessageTypes().get(3);
-    internal_static_google_monitoring_v3_ListAlertPoliciesResponse_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_monitoring_v3_ListAlertPoliciesResponse_descriptor,
-            new java.lang.String[] {
-              "AlertPolicies", "NextPageToken", "TotalSize",
-            });
-    internal_static_google_monitoring_v3_UpdateAlertPolicyRequest_descriptor =
-        getDescriptor().getMessageTypes().get(4);
-    internal_static_google_monitoring_v3_UpdateAlertPolicyRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_monitoring_v3_UpdateAlertPolicyRequest_descriptor,
-            new java.lang.String[] {
-              "UpdateMask", "AlertPolicy",
-            });
-    internal_static_google_monitoring_v3_DeleteAlertPolicyRequest_descriptor =
-        getDescriptor().getMessageTypes().get(5);
-    internal_static_google_monitoring_v3_DeleteAlertPolicyRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_monitoring_v3_DeleteAlertPolicyRequest_descriptor,
-            new java.lang.String[] {
-              "Name",
-            });
-    com.google.protobuf.ExtensionRegistry registry =
-        com.google.protobuf.ExtensionRegistry.newInstance();
-    registry.add(com.google.api.ClientProto.defaultHost);
-    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
-    registry.add(com.google.api.AnnotationsProto.http);
-    registry.add(com.google.api.ClientProto.methodSignature);
-    registry.add(com.google.api.ClientProto.oauthScopes);
-    registry.add(com.google.api.ResourceProto.resourceReference);
-    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
-        descriptor, registry);
-    com.google.api.AnnotationsProto.getDescriptor();
-    com.google.api.ClientProto.getDescriptor();
-    com.google.api.FieldBehaviorProto.getDescriptor();
-    com.google.api.ResourceProto.getDescriptor();
-    com.google.monitoring.v3.AlertProto.getDescriptor();
-    com.google.protobuf.EmptyProto.getDescriptor();
-    com.google.protobuf.FieldMaskProto.getDescriptor();
-  }
-
-  // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CommonProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CommonProto.java
deleted file mode 100644
index 0f15ffdf..00000000
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CommonProto.java
+++ /dev/null
@@ -1,137 +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/monitoring/v3/common.proto
-
-package com.google.monitoring.v3;
-
-public final class CommonProto {
-  private CommonProto() {}
-
-  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_monitoring_v3_TypedValue_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_monitoring_v3_TypedValue_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_monitoring_v3_TimeInterval_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_monitoring_v3_TimeInterval_fieldAccessorTable;
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_monitoring_v3_Aggregation_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_monitoring_v3_Aggregation_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/monitoring/v3/common.proto\022\024goo"
-          + "gle.monitoring.v3\032\035google/api/distributi"
-          + "on.proto\032\036google/protobuf/duration.proto"
-          + "\032\037google/protobuf/timestamp.proto\"\252\001\n\nTy"
-          + "pedValue\022\024\n\nbool_value\030\001 \001(\010H\000\022\025\n\013int64_"
-          + "value\030\002 \001(\003H\000\022\026\n\014double_value\030\003 \001(\001H\000\022\026\n"
-          + "\014string_value\030\004 \001(\tH\000\0226\n\022distribution_va"
-          + "lue\030\005 \001(\0132\030.google.api.DistributionH\000B\007\n"
-          + "\005value\"l\n\014TimeInterval\022,\n\010end_time\030\002 \001(\013"
-          + "2\032.google.protobuf.Timestamp\022.\n\nstart_ti"
-          + "me\030\001 \001(\0132\032.google.protobuf.Timestamp\"\255\007\n"
-          + "\013Aggregation\0223\n\020alignment_period\030\001 \001(\0132\031"
-          + ".google.protobuf.Duration\022E\n\022per_series_"
-          + "aligner\030\002 \001(\0162).google.monitoring.v3.Agg"
-          + "regation.Aligner\022G\n\024cross_series_reducer"
-          + "\030\004 \001(\0162).google.monitoring.v3.Aggregatio"
-          + "n.Reducer\022\027\n\017group_by_fields\030\005 \003(\t\"\213\003\n\007A"
-          + "ligner\022\016\n\nALIGN_NONE\020\000\022\017\n\013ALIGN_DELTA\020\001\022"
-          + "\016\n\nALIGN_RATE\020\002\022\025\n\021ALIGN_INTERPOLATE\020\003\022\024"
-          + "\n\020ALIGN_NEXT_OLDER\020\004\022\r\n\tALIGN_MIN\020\n\022\r\n\tA"
-          + "LIGN_MAX\020\013\022\016\n\nALIGN_MEAN\020\014\022\017\n\013ALIGN_COUN"
-          + "T\020\r\022\r\n\tALIGN_SUM\020\016\022\020\n\014ALIGN_STDDEV\020\017\022\024\n\020"
-          + "ALIGN_COUNT_TRUE\020\020\022\025\n\021ALIGN_COUNT_FALSE\020"
-          + "\030\022\027\n\023ALIGN_FRACTION_TRUE\020\021\022\027\n\023ALIGN_PERC"
-          + "ENTILE_99\020\022\022\027\n\023ALIGN_PERCENTILE_95\020\023\022\027\n\023"
-          + "ALIGN_PERCENTILE_50\020\024\022\027\n\023ALIGN_PERCENTIL"
-          + "E_05\020\025\022\030\n\024ALIGN_PERCENT_CHANGE\020\027\"\261\002\n\007Red"
-          + "ucer\022\017\n\013REDUCE_NONE\020\000\022\017\n\013REDUCE_MEAN\020\001\022\016"
-          + "\n\nREDUCE_MIN\020\002\022\016\n\nREDUCE_MAX\020\003\022\016\n\nREDUCE"
-          + "_SUM\020\004\022\021\n\rREDUCE_STDDEV\020\005\022\020\n\014REDUCE_COUN"
-          + "T\020\006\022\025\n\021REDUCE_COUNT_TRUE\020\007\022\026\n\022REDUCE_COU"
-          + "NT_FALSE\020\017\022\030\n\024REDUCE_FRACTION_TRUE\020\010\022\030\n\024"
-          + "REDUCE_PERCENTILE_99\020\t\022\030\n\024REDUCE_PERCENT"
-          + "ILE_95\020\n\022\030\n\024REDUCE_PERCENTILE_50\020\013\022\030\n\024RE"
-          + "DUCE_PERCENTILE_05\020\014*\236\001\n\016ComparisonType\022"
-          + "\032\n\026COMPARISON_UNSPECIFIED\020\000\022\021\n\rCOMPARISO"
-          + "N_GT\020\001\022\021\n\rCOMPARISON_GE\020\002\022\021\n\rCOMPARISON_"
-          + "LT\020\003\022\021\n\rCOMPARISON_LE\020\004\022\021\n\rCOMPARISON_EQ"
-          + "\020\005\022\021\n\rCOMPARISON_NE\020\006*a\n\013ServiceTier\022\034\n\030"
-          + "SERVICE_TIER_UNSPECIFIED\020\000\022\026\n\022SERVICE_TI"
-          + "ER_BASIC\020\001\022\030\n\024SERVICE_TIER_PREMIUM\020\002\032\002\030\001"
-          + "B\303\001\n\030com.google.monitoring.v3B\013CommonPro"
-          + "toP\001Z>google.golang.org/genproto/googlea"
-          + "pis/monitoring/v3;monitoring\252\002\032Google.Cl"
-          + "oud.Monitoring.V3\312\002\032Google\\Cloud\\Monitor"
-          + "ing\\V3\352\002\035Google::Cloud::Monitoring::V3b\006"
-          + "proto3"
-    };
-    descriptor =
-        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
-            descriptorData,
-            new com.google.protobuf.Descriptors.FileDescriptor[] {
-              com.google.api.DistributionProto.getDescriptor(),
-              com.google.protobuf.DurationProto.getDescriptor(),
-              com.google.protobuf.TimestampProto.getDescriptor(),
-            });
-    internal_static_google_monitoring_v3_TypedValue_descriptor =
-        getDescriptor().getMessageTypes().get(0);
-    internal_static_google_monitoring_v3_TypedValue_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_monitoring_v3_TypedValue_descriptor,
-            new java.lang.String[] {
-              "BoolValue", "Int64Value", "DoubleValue", "StringValue", "DistributionValue", "Value",
-            });
-    internal_static_google_monitoring_v3_TimeInterval_descriptor =
-        getDescriptor().getMessageTypes().get(1);
-    internal_static_google_monitoring_v3_TimeInterval_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_monitoring_v3_TimeInterval_descriptor,
-            new java.lang.String[] {
-              "EndTime", "StartTime",
-            });
-    internal_static_google_monitoring_v3_Aggregation_descriptor =
-        getDescriptor().getMessageTypes().get(2);
-    internal_static_google_monitoring_v3_Aggregation_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_monitoring_v3_Aggregation_descriptor,
-            new java.lang.String[] {
-              "AlignmentPeriod", "PerSeriesAligner", "CrossSeriesReducer", "GroupByFields",
-            });
-    com.google.api.DistributionProto.getDescriptor();
-    com.google.protobuf.DurationProto.getDescriptor();
-    com.google.protobuf.TimestampProto.getDescriptor();
-  }
-
-  // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequestOrBuilder.java
deleted file mode 100644
index a35b44f8..00000000
--- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequestOrBuilder.java
+++ /dev/null
@@ -1,99 +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/monitoring/v3/uptime_service.proto
-
-package com.google.monitoring.v3;
-
-public interface CreateUptimeCheckConfigRequestOrBuilder
-    extends
-    // @@protoc_insertion_point(interface_extends:google.monitoring.v3.CreateUptimeCheckConfigRequest)
-    com.google.protobuf.MessageOrBuilder {
-
-  /**
-   *
-   *
-   * 
-   * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
-   * which to create the Uptime check. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
-   * which to create the Uptime check. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
-   * Required. The new Uptime check configuration.
-   * 
- * - * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the uptimeCheckConfig field is set. - */ - boolean hasUptimeCheckConfig(); - /** - * - * - *
-   * Required. The new Uptime check configuration.
-   * 
- * - * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The uptimeCheckConfig. - */ - com.google.monitoring.v3.UptimeCheckConfig getUptimeCheckConfig(); - /** - * - * - *
-   * Required. The new Uptime check configuration.
-   * 
- * - * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigOrBuilder(); -} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequestOrBuilder.java deleted file mode 100644 index 24a0cb4d..00000000 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/monitoring/v3/alert_service.proto - -package com.google.monitoring.v3; - -public interface DeleteAlertPolicyRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.monitoring.v3.DeleteAlertPolicyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The alerting policy to delete. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
-   * For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy].
-   * 
- * - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The alerting policy to delete. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
-   * For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy].
-   * 
- * - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequestOrBuilder.java deleted file mode 100644 index 957ddbe2..00000000 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequestOrBuilder.java +++ /dev/null @@ -1,60 +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/monitoring/v3/metric_service.proto - -package com.google.monitoring.v3; - -public interface DeleteMetricDescriptorRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.monitoring.v3.DeleteMetricDescriptorRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The metric descriptor on which to execute the request. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
-   * An example of `[METRIC_ID]` is:
-   * `"custom.googleapis.com/my_test_metric"`.
-   * 
- * - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The metric descriptor on which to execute the request. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
-   * An example of `[METRIC_ID]` is:
-   * `"custom.googleapis.com/my_test_metric"`.
-   * 
- * - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceLevelObjectiveRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceLevelObjectiveRequestOrBuilder.java deleted file mode 100644 index 5e758a38..00000000 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceLevelObjectiveRequestOrBuilder.java +++ /dev/null @@ -1,56 +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/monitoring/v3/service_service.proto - -package com.google.monitoring.v3; - -public interface DeleteServiceLevelObjectiveRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.monitoring.v3.DeleteServiceLevelObjectiveRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Resource name of the `ServiceLevelObjective` to delete. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Resource name of the `ServiceLevelObjective` to delete. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceRequestOrBuilder.java deleted file mode 100644 index 47244917..00000000 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceRequestOrBuilder.java +++ /dev/null @@ -1,56 +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/monitoring/v3/service_service.proto - -package com.google.monitoring.v3; - -public interface DeleteServiceRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.monitoring.v3.DeleteServiceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Resource name of the `Service` to delete. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Resource name of the `Service` to delete. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequestOrBuilder.java deleted file mode 100644 index 250843a8..00000000 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequestOrBuilder.java +++ /dev/null @@ -1,56 +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/monitoring/v3/uptime_service.proto - -package com.google.monitoring.v3; - -public interface DeleteUptimeCheckConfigRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.monitoring.v3.DeleteUptimeCheckConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The Uptime check configuration to delete. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The Uptime check configuration to delete. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabelsProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabelsProto.java deleted file mode 100644 index 4e5744ae..00000000 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabelsProto.java +++ /dev/null @@ -1,81 +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/monitoring/v3/dropped_labels.proto - -package com.google.monitoring.v3; - -public final class DroppedLabelsProto { - private DroppedLabelsProto() {} - - 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_monitoring_v3_DroppedLabels_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_DroppedLabels_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_DroppedLabels_LabelEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_DroppedLabels_LabelEntry_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/monitoring/v3/dropped_labels.pr" - + "oto\022\024google.monitoring.v3\"|\n\rDroppedLabe" - + "ls\022=\n\005label\030\001 \003(\0132..google.monitoring.v3" - + ".DroppedLabels.LabelEntry\032,\n\nLabelEntry\022" - + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\312\001\n\030com." - + "google.monitoring.v3B\022DroppedLabelsProto" - + "P\001Z>google.golang.org/genproto/googleapi" - + "s/monitoring/v3;monitoring\252\002\032Google.Clou" - + "d.Monitoring.V3\312\002\032Google\\Cloud\\Monitorin" - + "g\\V3\352\002\035Google::Cloud::Monitoring::V3b\006pr" - + "oto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_monitoring_v3_DroppedLabels_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_monitoring_v3_DroppedLabels_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_DroppedLabels_descriptor, - new java.lang.String[] { - "Label", - }); - internal_static_google_monitoring_v3_DroppedLabels_LabelEntry_descriptor = - internal_static_google_monitoring_v3_DroppedLabels_descriptor.getNestedTypes().get(0); - internal_static_google_monitoring_v3_DroppedLabels_LabelEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_DroppedLabels_LabelEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequestOrBuilder.java deleted file mode 100644 index c6b5d655..00000000 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequestOrBuilder.java +++ /dev/null @@ -1,56 +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/monitoring/v3/alert_service.proto - -package com.google.monitoring.v3; - -public interface GetAlertPolicyRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.monitoring.v3.GetAlertPolicyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The alerting policy to retrieve. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
-   * 
- * - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The alerting policy to retrieve. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
-   * 
- * - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetGroupRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetGroupRequestOrBuilder.java deleted file mode 100644 index c6518a97..00000000 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetGroupRequestOrBuilder.java +++ /dev/null @@ -1,56 +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/monitoring/v3/group_service.proto - -package com.google.monitoring.v3; - -public interface GetGroupRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.monitoring.v3.GetGroupRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The group to retrieve. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
-   * 
- * - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The group to retrieve. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
-   * 
- * - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequestOrBuilder.java deleted file mode 100644 index d84e1f46..00000000 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequestOrBuilder.java +++ /dev/null @@ -1,60 +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/monitoring/v3/metric_service.proto - -package com.google.monitoring.v3; - -public interface GetMetricDescriptorRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.monitoring.v3.GetMetricDescriptorRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The metric descriptor on which to execute the request. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
-   * An example value of `[METRIC_ID]` is
-   * `"compute.googleapis.com/instance/disk/read_bytes_count"`.
-   * 
- * - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The metric descriptor on which to execute the request. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
-   * An example value of `[METRIC_ID]` is
-   * `"compute.googleapis.com/instance/disk/read_bytes_count"`.
-   * 
- * - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequestOrBuilder.java deleted file mode 100644 index 7e0ec26e..00000000 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequestOrBuilder.java +++ /dev/null @@ -1,60 +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/monitoring/v3/metric_service.proto - -package com.google.monitoring.v3; - -public interface GetMonitoredResourceDescriptorRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.monitoring.v3.GetMonitoredResourceDescriptorRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The monitored resource descriptor to get.  The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/monitoredResourceDescriptors/[RESOURCE_TYPE]
-   * The `[RESOURCE_TYPE]` is a predefined type, such as
-   * `cloudsql_database`.
-   * 
- * - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The monitored resource descriptor to get.  The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/monitoredResourceDescriptors/[RESOURCE_TYPE]
-   * The `[RESOURCE_TYPE]` is a predefined type, such as
-   * `cloudsql_database`.
-   * 
- * - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequestOrBuilder.java deleted file mode 100644 index baed81f2..00000000 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequestOrBuilder.java +++ /dev/null @@ -1,56 +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/monitoring/v3/notification_service.proto - -package com.google.monitoring.v3; - -public interface GetNotificationChannelDescriptorRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.monitoring.v3.GetNotificationChannelDescriptorRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The channel type for which to execute the request. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[CHANNEL_TYPE]
-   * 
- * - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The channel type for which to execute the request. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[CHANNEL_TYPE]
-   * 
- * - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequestOrBuilder.java deleted file mode 100644 index d1562e47..00000000 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequestOrBuilder.java +++ /dev/null @@ -1,56 +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/monitoring/v3/notification_service.proto - -package com.google.monitoring.v3; - -public interface GetNotificationChannelRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.monitoring.v3.GetNotificationChannelRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The channel for which to execute the request. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
-   * 
- * - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The channel for which to execute the request. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
-   * 
- * - * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceRequestOrBuilder.java deleted file mode 100644 index 1ae5d7e3..00000000 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceRequestOrBuilder.java +++ /dev/null @@ -1,56 +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/monitoring/v3/service_service.proto - -package com.google.monitoring.v3; - -public interface GetServiceRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.monitoring.v3.GetServiceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Resource name of the `Service`. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Resource name of the `Service`. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequestOrBuilder.java deleted file mode 100644 index 5a4b7dde..00000000 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequestOrBuilder.java +++ /dev/null @@ -1,56 +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/monitoring/v3/uptime_service.proto - -package com.google.monitoring.v3; - -public interface GetUptimeCheckConfigRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.monitoring.v3.GetUptimeCheckConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The Uptime check configuration to retrieve. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The Uptime check configuration to retrieve. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupProto.java deleted file mode 100644 index 1c260fd2..00000000 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupProto.java +++ /dev/null @@ -1,81 +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/monitoring/v3/group.proto - -package com.google.monitoring.v3; - -public final class GroupProto { - private GroupProto() {} - - 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_monitoring_v3_Group_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_Group_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/monitoring/v3/group.proto\022\024goog" - + "le.monitoring.v3\032\031google/api/resource.pr" - + "oto\"\200\002\n\005Group\022\014\n\004name\030\001 \001(\t\022\024\n\014display_n" - + "ame\030\002 \001(\t\022\023\n\013parent_name\030\003 \001(\t\022\016\n\006filter" - + "\030\005 \001(\t\022\022\n\nis_cluster\030\006 \001(\010:\231\001\352A\225\001\n\037monit" - + "oring.googleapis.com/Group\022!projects/{pr" - + "oject}/groups/{group}\022+organizations/{or" - + "ganization}/groups/{group}\022\037folders/{fol" - + "der}/groups/{group}\022\001*B\302\001\n\030com.google.mo" - + "nitoring.v3B\nGroupProtoP\001Z>google.golang" - + ".org/genproto/googleapis/monitoring/v3;m" - + "onitoring\252\002\032Google.Cloud.Monitoring.V3\312\002" - + "\032Google\\Cloud\\Monitoring\\V3\352\002\035Google::Cl" - + "oud::Monitoring::V3b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - }); - internal_static_google_monitoring_v3_Group_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_monitoring_v3_Group_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_Group_descriptor, - new java.lang.String[] { - "Name", "DisplayName", "ParentName", "Filter", "IsCluster", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupServiceProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupServiceProto.java deleted file mode 100644 index 58ca29f2..00000000 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupServiceProto.java +++ /dev/null @@ -1,245 +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/monitoring/v3/group_service.proto - -package com.google.monitoring.v3; - -public final class GroupServiceProto { - private GroupServiceProto() {} - - 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_monitoring_v3_ListGroupsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListGroupsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ListGroupsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListGroupsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_GetGroupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_GetGroupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_CreateGroupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_CreateGroupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_UpdateGroupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_UpdateGroupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_DeleteGroupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_DeleteGroupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ListGroupMembersRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListGroupMembersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ListGroupMembersResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListGroupMembersResponse_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/monitoring/v3/group_service.pro" - + "to\022\024google.monitoring.v3\032\034google/api/ann" - + "otations.proto\032\027google/api/client.proto\032" - + "\037google/api/field_behavior.proto\032#google" - + "/api/monitored_resource.proto\032\031google/ap" - + "i/resource.proto\032!google/monitoring/v3/c" - + "ommon.proto\032 google/monitoring/v3/group." - + "proto\032\033google/protobuf/empty.proto\"\310\002\n\021L" - + "istGroupsRequest\0225\n\004name\030\007 \001(\tB\'\340A\002\372A!\022\037" - + "monitoring.googleapis.com/Group\022A\n\021child" - + "ren_of_group\030\002 \001(\tB$\372A!\n\037monitoring.goog" - + "leapis.com/GroupH\000\022B\n\022ancestors_of_group" - + "\030\003 \001(\tB$\372A!\n\037monitoring.googleapis.com/G" - + "roupH\000\022D\n\024descendants_of_group\030\004 \001(\tB$\372A" - + "!\n\037monitoring.googleapis.com/GroupH\000\022\021\n\t" - + "page_size\030\005 \001(\005\022\022\n\npage_token\030\006 \001(\tB\010\n\006f" - + "ilter\"Y\n\022ListGroupsResponse\022*\n\005group\030\001 \003" - + "(\0132\033.google.monitoring.v3.Group\022\027\n\017next_" - + "page_token\030\002 \001(\t\"H\n\017GetGroupRequest\0225\n\004n" - + "ame\030\003 \001(\tB\'\340A\002\372A!\n\037monitoring.googleapis" - + ".com/Group\"\223\001\n\022CreateGroupRequest\0225\n\004nam" - + "e\030\004 \001(\tB\'\340A\002\372A!\022\037monitoring.googleapis.c" - + "om/Group\022/\n\005group\030\002 \001(\0132\033.google.monitor" - + "ing.v3.GroupB\003\340A\002\022\025\n\rvalidate_only\030\003 \001(\010" - + "\"\\\n\022UpdateGroupRequest\022/\n\005group\030\002 \001(\0132\033." - + "google.monitoring.v3.GroupB\003\340A\002\022\025\n\rvalid" - + "ate_only\030\003 \001(\010\"^\n\022DeleteGroupRequest\0225\n\004" - + "name\030\003 \001(\tB\'\340A\002\372A!\n\037monitoring.googleapi" - + "s.com/Group\022\021\n\trecursive\030\004 \001(\010\"\275\001\n\027ListG" - + "roupMembersRequest\0225\n\004name\030\007 \001(\tB\'\340A\002\372A!" - + "\n\037monitoring.googleapis.com/Group\022\021\n\tpag" - + "e_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\022\016\n\006filt" - + "er\030\005 \001(\t\0224\n\010interval\030\006 \001(\0132\".google.moni" - + "toring.v3.TimeInterval\"w\n\030ListGroupMembe" - + "rsResponse\022.\n\007members\030\001 \003(\0132\035.google.api" - + ".MonitoredResource\022\027\n\017next_page_token\030\002 " - + "\001(\t\022\022\n\ntotal_size\030\003 \001(\0052\230\010\n\014GroupService" - + "\022\214\001\n\nListGroups\022\'.google.monitoring.v3.L" - + "istGroupsRequest\032(.google.monitoring.v3." - + "ListGroupsResponse\"+\202\323\344\223\002\036\022\034/v3/{name=pr" - + "ojects/*}/groups\332A\004name\022}\n\010GetGroup\022%.go" - + "ogle.monitoring.v3.GetGroupRequest\032\033.goo" - + "gle.monitoring.v3.Group\"-\202\323\344\223\002 \022\036/v3/{na" - + "me=projects/*/groups/*}\332A\004name\022\216\001\n\013Creat" - + "eGroup\022(.google.monitoring.v3.CreateGrou" - + "pRequest\032\033.google.monitoring.v3.Group\"8\202" - + "\323\344\223\002%\"\034/v3/{name=projects/*}/groups:\005gro" - + "up\332A\nname,group\022\221\001\n\013UpdateGroup\022(.google" - + ".monitoring.v3.UpdateGroupRequest\032\033.goog" - + "le.monitoring.v3.Group\";\202\323\344\223\002-\032$/v3/{gro" - + "up.name=projects/*/groups/*}:\005group\332A\005gr" - + "oup\022~\n\013DeleteGroup\022(.google.monitoring.v" - + "3.DeleteGroupRequest\032\026.google.protobuf.E" - + "mpty\"-\202\323\344\223\002 *\036/v3/{name=projects/*/group" - + "s/*}\332A\004name\022\250\001\n\020ListGroupMembers\022-.googl" - + "e.monitoring.v3.ListGroupMembersRequest\032" - + "..google.monitoring.v3.ListGroupMembersR" - + "esponse\"5\202\323\344\223\002(\022&/v3/{name=projects/*/gr" - + "oups/*}/members\332A\004name\032\251\001\312A\031monitoring.g" - + "oogleapis.com\322A\211\001https://www.googleapis." - + "com/auth/cloud-platform,https://www.goog" - + "leapis.com/auth/monitoring,https://www.g" - + "oogleapis.com/auth/monitoring.readB\311\001\n\030c" - + "om.google.monitoring.v3B\021GroupServicePro" - + "toP\001Z>google.golang.org/genproto/googlea" - + "pis/monitoring/v3;monitoring\252\002\032Google.Cl" - + "oud.Monitoring.V3\312\002\032Google\\Cloud\\Monitor" - + "ing\\V3\352\002\035Google::Cloud::Monitoring::V3b\006" - + "proto3" - }; - 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.MonitoredResourceProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.monitoring.v3.CommonProto.getDescriptor(), - com.google.monitoring.v3.GroupProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - }); - internal_static_google_monitoring_v3_ListGroupsRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_monitoring_v3_ListGroupsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListGroupsRequest_descriptor, - new java.lang.String[] { - "Name", - "ChildrenOfGroup", - "AncestorsOfGroup", - "DescendantsOfGroup", - "PageSize", - "PageToken", - "Filter", - }); - internal_static_google_monitoring_v3_ListGroupsResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_monitoring_v3_ListGroupsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListGroupsResponse_descriptor, - new java.lang.String[] { - "Group", "NextPageToken", - }); - internal_static_google_monitoring_v3_GetGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_monitoring_v3_GetGroupRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_GetGroupRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_monitoring_v3_CreateGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_monitoring_v3_CreateGroupRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_CreateGroupRequest_descriptor, - new java.lang.String[] { - "Name", "Group", "ValidateOnly", - }); - internal_static_google_monitoring_v3_UpdateGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_monitoring_v3_UpdateGroupRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_UpdateGroupRequest_descriptor, - new java.lang.String[] { - "Group", "ValidateOnly", - }); - internal_static_google_monitoring_v3_DeleteGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_monitoring_v3_DeleteGroupRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_DeleteGroupRequest_descriptor, - new java.lang.String[] { - "Name", "Recursive", - }); - internal_static_google_monitoring_v3_ListGroupMembersRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_monitoring_v3_ListGroupMembersRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListGroupMembersRequest_descriptor, - new java.lang.String[] { - "Name", "PageSize", "PageToken", "Filter", "Interval", - }); - internal_static_google_monitoring_v3_ListGroupMembersResponse_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_monitoring_v3_ListGroupMembersResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListGroupMembersResponse_descriptor, - new java.lang.String[] { - "Members", "NextPageToken", "TotalSize", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.MonitoredResourceProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.monitoring.v3.CommonProto.getDescriptor(); - com.google.monitoring.v3.GroupProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricProto.java deleted file mode 100644 index a460ab83..00000000 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricProto.java +++ /dev/null @@ -1,232 +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/monitoring/v3/metric.proto - -package com.google.monitoring.v3; - -public final class MetricProto { - private MetricProto() {} - - 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_monitoring_v3_Point_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_Point_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_TimeSeries_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_TimeSeries_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_TimeSeriesDescriptor_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_TimeSeriesDescriptor_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_TimeSeriesDescriptor_ValueDescriptor_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_TimeSeriesDescriptor_ValueDescriptor_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_TimeSeriesData_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_TimeSeriesData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_TimeSeriesData_PointData_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_TimeSeriesData_PointData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_LabelValue_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_LabelValue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_QueryError_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_QueryError_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_TextLocator_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_TextLocator_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_TextLocator_Position_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_TextLocator_Position_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/monitoring/v3/metric.proto\022\024goo" - + "gle.monitoring.v3\032\035google/api/distributi" - + "on.proto\032\026google/api/label.proto\032\027google" - + "/api/metric.proto\032#google/api/monitored_" - + "resource.proto\032!google/monitoring/v3/com" - + "mon.proto\032\036google/protobuf/duration.prot" - + "o\"n\n\005Point\0224\n\010interval\030\001 \001(\0132\".google.mo" - + "nitoring.v3.TimeInterval\022/\n\005value\030\002 \001(\0132" - + " .google.monitoring.v3.TypedValue\"\317\002\n\nTi" - + "meSeries\022\"\n\006metric\030\001 \001(\0132\022.google.api.Me" - + "tric\022/\n\010resource\030\002 \001(\0132\035.google.api.Moni" - + "toredResource\0227\n\010metadata\030\007 \001(\0132%.google" - + ".api.MonitoredResourceMetadata\022<\n\013metric" - + "_kind\030\003 \001(\0162\'.google.api.MetricDescripto" - + "r.MetricKind\022:\n\nvalue_type\030\004 \001(\0162&.googl" - + "e.api.MetricDescriptor.ValueType\022+\n\006poin" - + "ts\030\005 \003(\0132\033.google.monitoring.v3.Point\022\014\n" - + "\004unit\030\010 \001(\t\"\316\002\n\024TimeSeriesDescriptor\0226\n\021" - + "label_descriptors\030\001 \003(\0132\033.google.api.Lab" - + "elDescriptor\022U\n\021point_descriptors\030\005 \003(\0132" - + ":.google.monitoring.v3.TimeSeriesDescrip" - + "tor.ValueDescriptor\032\246\001\n\017ValueDescriptor\022" - + "\013\n\003key\030\001 \001(\t\022:\n\nvalue_type\030\002 \001(\0162&.googl" - + "e.api.MetricDescriptor.ValueType\022<\n\013metr" - + "ic_kind\030\003 \001(\0162\'.google.api.MetricDescrip" - + "tor.MetricKind\022\014\n\004unit\030\004 \001(\t\"\206\002\n\016TimeSer" - + "iesData\0226\n\014label_values\030\001 \003(\0132 .google.m" - + "onitoring.v3.LabelValue\022B\n\npoint_data\030\002 " - + "\003(\0132..google.monitoring.v3.TimeSeriesDat" - + "a.PointData\032x\n\tPointData\0220\n\006values\030\001 \003(\013" - + "2 .google.monitoring.v3.TypedValue\0229\n\rti" - + "me_interval\030\002 \001(\0132\".google.monitoring.v3" - + ".TimeInterval\"Z\n\nLabelValue\022\024\n\nbool_valu" - + "e\030\001 \001(\010H\000\022\025\n\013int64_value\030\002 \001(\003H\000\022\026\n\014stri" - + "ng_value\030\003 \001(\tH\000B\007\n\005value\"Q\n\nQueryError\022" - + "2\n\007locator\030\001 \001(\0132!.google.monitoring.v3." - + "TextLocator\022\017\n\007message\030\002 \001(\t\"\240\002\n\013TextLoc" - + "ator\022\016\n\006source\030\001 \001(\t\022B\n\016start_position\030\002" - + " \001(\0132*.google.monitoring.v3.TextLocator." - + "Position\022@\n\014end_position\030\003 \001(\0132*.google." - + "monitoring.v3.TextLocator.Position\0229\n\016ne" - + "sted_locator\030\004 \001(\0132!.google.monitoring.v" - + "3.TextLocator\022\026\n\016nesting_reason\030\005 \001(\t\032(\n" - + "\010Position\022\014\n\004line\030\001 \001(\005\022\016\n\006column\030\002 \001(\005B" - + "\303\001\n\030com.google.monitoring.v3B\013MetricProt" - + "oP\001Z>google.golang.org/genproto/googleap" - + "is/monitoring/v3;monitoring\252\002\032Google.Clo" - + "ud.Monitoring.V3\312\002\032Google\\Cloud\\Monitori" - + "ng\\V3\352\002\035Google::Cloud::Monitoring::V3b\006p" - + "roto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.DistributionProto.getDescriptor(), - com.google.api.LabelProto.getDescriptor(), - com.google.api.MetricProto.getDescriptor(), - com.google.api.MonitoredResourceProto.getDescriptor(), - com.google.monitoring.v3.CommonProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - }); - internal_static_google_monitoring_v3_Point_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_monitoring_v3_Point_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_Point_descriptor, - new java.lang.String[] { - "Interval", "Value", - }); - internal_static_google_monitoring_v3_TimeSeries_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_monitoring_v3_TimeSeries_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_TimeSeries_descriptor, - new java.lang.String[] { - "Metric", "Resource", "Metadata", "MetricKind", "ValueType", "Points", "Unit", - }); - internal_static_google_monitoring_v3_TimeSeriesDescriptor_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_monitoring_v3_TimeSeriesDescriptor_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_TimeSeriesDescriptor_descriptor, - new java.lang.String[] { - "LabelDescriptors", "PointDescriptors", - }); - internal_static_google_monitoring_v3_TimeSeriesDescriptor_ValueDescriptor_descriptor = - internal_static_google_monitoring_v3_TimeSeriesDescriptor_descriptor - .getNestedTypes() - .get(0); - internal_static_google_monitoring_v3_TimeSeriesDescriptor_ValueDescriptor_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_TimeSeriesDescriptor_ValueDescriptor_descriptor, - new java.lang.String[] { - "Key", "ValueType", "MetricKind", "Unit", - }); - internal_static_google_monitoring_v3_TimeSeriesData_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_monitoring_v3_TimeSeriesData_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_TimeSeriesData_descriptor, - new java.lang.String[] { - "LabelValues", "PointData", - }); - internal_static_google_monitoring_v3_TimeSeriesData_PointData_descriptor = - internal_static_google_monitoring_v3_TimeSeriesData_descriptor.getNestedTypes().get(0); - internal_static_google_monitoring_v3_TimeSeriesData_PointData_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_TimeSeriesData_PointData_descriptor, - new java.lang.String[] { - "Values", "TimeInterval", - }); - internal_static_google_monitoring_v3_LabelValue_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_monitoring_v3_LabelValue_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_LabelValue_descriptor, - new java.lang.String[] { - "BoolValue", "Int64Value", "StringValue", "Value", - }); - internal_static_google_monitoring_v3_QueryError_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_monitoring_v3_QueryError_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_QueryError_descriptor, - new java.lang.String[] { - "Locator", "Message", - }); - internal_static_google_monitoring_v3_TextLocator_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_monitoring_v3_TextLocator_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_TextLocator_descriptor, - new java.lang.String[] { - "Source", "StartPosition", "EndPosition", "NestedLocator", "NestingReason", - }); - internal_static_google_monitoring_v3_TextLocator_Position_descriptor = - internal_static_google_monitoring_v3_TextLocator_descriptor.getNestedTypes().get(0); - internal_static_google_monitoring_v3_TextLocator_Position_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_TextLocator_Position_descriptor, - new java.lang.String[] { - "Line", "Column", - }); - com.google.api.DistributionProto.getDescriptor(); - com.google.api.LabelProto.getDescriptor(); - com.google.api.MetricProto.getDescriptor(); - com.google.api.MonitoredResourceProto.getDescriptor(); - com.google.monitoring.v3.CommonProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceProto.java deleted file mode 100644 index 787f2cd6..00000000 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceProto.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/monitoring/v3/metric_service.proto - -package com.google.monitoring.v3; - -public final class MetricServiceProto { - private MetricServiceProto() {} - - 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_monitoring_v3_ListMonitoredResourceDescriptorsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_GetMonitoredResourceDescriptorRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_GetMonitoredResourceDescriptorRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ListMetricDescriptorsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListMetricDescriptorsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ListMetricDescriptorsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListMetricDescriptorsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_GetMetricDescriptorRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_GetMetricDescriptorRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_CreateMetricDescriptorRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_CreateMetricDescriptorRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_DeleteMetricDescriptorRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_DeleteMetricDescriptorRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ListTimeSeriesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListTimeSeriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ListTimeSeriesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListTimeSeriesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_CreateTimeSeriesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_CreateTimeSeriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_CreateTimeSeriesError_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_CreateTimeSeriesError_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_CreateTimeSeriesSummary_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_CreateTimeSeriesSummary_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_CreateTimeSeriesSummary_Error_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_CreateTimeSeriesSummary_Error_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_QueryTimeSeriesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_QueryTimeSeriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_QueryTimeSeriesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_QueryTimeSeriesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_QueryErrorList_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_QueryErrorList_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/monitoring/v3/metric_service.pr" - + "oto\022\024google.monitoring.v3\032\034google/api/an" - + "notations.proto\032\027google/api/client.proto" - + "\032\037google/api/field_behavior.proto\032\027googl" - + "e/api/metric.proto\032#google/api/monitored" - + "_resource.proto\032\031google/api/resource.pro" - + "to\032 google/monitoring/v3/alert.proto\032!go" - + "ogle/monitoring/v3/common.proto\032!google/" - + "monitoring/v3/metric.proto\032\036google/proto" - + "buf/duration.proto\032\033google/protobuf/empt" - + "y.proto\032\027google/rpc/status.proto\"\255\001\n\'Lis" - + "tMonitoredResourceDescriptorsRequest\022K\n\004" - + "name\030\005 \001(\tB=\340A\002\372A7\0225monitoring.googleapi" - + "s.com/MonitoredResourceDescriptor\022\016\n\006fil" - + "ter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_tok" - + "en\030\004 \001(\t\"\212\001\n(ListMonitoredResourceDescri" - + "ptorsResponse\022E\n\024resource_descriptors\030\001 " - + "\003(\0132\'.google.api.MonitoredResourceDescri" - + "ptor\022\027\n\017next_page_token\030\002 \001(\t\"t\n%GetMoni" - + "toredResourceDescriptorRequest\022K\n\004name\030\003" - + " \001(\tB=\340A\002\372A7\n5monitoring.googleapis.com/" - + "MonitoredResourceDescriptor\"\227\001\n\034ListMetr" - + "icDescriptorsRequest\022@\n\004name\030\005 \001(\tB2\340A\002\372" - + "A,\022*monitoring.googleapis.com/MetricDesc" - + "riptor\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(" - + "\005\022\022\n\npage_token\030\004 \001(\t\"r\n\035ListMetricDescr" - + "iptorsResponse\0228\n\022metric_descriptors\030\001 \003" - + "(\0132\034.google.api.MetricDescriptor\022\027\n\017next" - + "_page_token\030\002 \001(\t\"^\n\032GetMetricDescriptor" - + "Request\022@\n\004name\030\003 \001(\tB2\340A\002\372A,\n*monitorin" - + "g.googleapis.com/MetricDescriptor\"\237\001\n\035Cr" - + "eateMetricDescriptorRequest\022@\n\004name\030\003 \001(" - + "\tB2\340A\002\372A,\022*monitoring.googleapis.com/Met" - + "ricDescriptor\022<\n\021metric_descriptor\030\002 \001(\013" - + "2\034.google.api.MetricDescriptorB\003\340A\002\"a\n\035D" - + "eleteMetricDescriptorRequest\022@\n\004name\030\003 \001" - + "(\tB2\340A\002\372A,\n*monitoring.googleapis.com/Me" - + "tricDescriptor\"\316\003\n\025ListTimeSeriesRequest" - + "\022:\n\004name\030\n \001(\tB,\340A\002\372A&\022$monitoring.googl" - + "eapis.com/TimeSeries\022\023\n\006filter\030\002 \001(\tB\003\340A" - + "\002\0229\n\010interval\030\004 \001(\0132\".google.monitoring." - + "v3.TimeIntervalB\003\340A\002\0226\n\013aggregation\030\005 \001(" - + "\0132!.google.monitoring.v3.Aggregation\022@\n\025" - + "secondary_aggregation\030\013 \001(\0132!.google.mon" - + "itoring.v3.Aggregation\022\020\n\010order_by\030\006 \001(\t" - + "\022M\n\004view\030\007 \001(\0162:.google.monitoring.v3.Li" - + "stTimeSeriesRequest.TimeSeriesViewB\003\340A\002\022" - + "\021\n\tpage_size\030\010 \001(\005\022\022\n\npage_token\030\t \001(\t\"\'" - + "\n\016TimeSeriesView\022\010\n\004FULL\020\000\022\013\n\007HEADERS\020\001\"" - + "\244\001\n\026ListTimeSeriesResponse\0225\n\013time_serie" - + "s\030\001 \003(\0132 .google.monitoring.v3.TimeSerie" - + "s\022\027\n\017next_page_token\030\002 \001(\t\022,\n\020execution_" - + "errors\030\003 \003(\0132\022.google.rpc.Status\022\014\n\004unit" - + "\030\005 \001(\t\"\230\001\n\027CreateTimeSeriesRequest\022A\n\004na" - + "me\030\003 \001(\tB3\340A\002\372A-\n+cloudresourcemanager.g" - + "oogleapis.com/Project\022:\n\013time_series\030\002 \003" - + "(\0132 .google.monitoring.v3.TimeSeriesB\003\340A" - + "\002\"z\n\025CreateTimeSeriesError\0229\n\013time_serie" - + "s\030\001 \001(\0132 .google.monitoring.v3.TimeSerie" - + "sB\002\030\001\022&\n\006status\030\002 \001(\0132\022.google.rpc.Statu" - + "sB\002\030\001\"\330\001\n\027CreateTimeSeriesSummary\022\031\n\021tot" - + "al_point_count\030\001 \001(\005\022\033\n\023success_point_co" - + "unt\030\002 \001(\005\022C\n\006errors\030\003 \003(\01323.google.monit" - + "oring.v3.CreateTimeSeriesSummary.Error\032@" - + "\n\005Error\022\"\n\006status\030\001 \001(\0132\022.google.rpc.Sta" - + "tus\022\023\n\013point_count\030\002 \001(\005\"f\n\026QueryTimeSer" - + "iesRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\022\n\005query\030\007" - + " \001(\tB\003\340A\002\022\021\n\tpage_size\030\t \001(\005\022\022\n\npage_tok" - + "en\030\n \001(\t\"\352\001\n\027QueryTimeSeriesResponse\022J\n\026" - + "time_series_descriptor\030\010 \001(\0132*.google.mo" - + "nitoring.v3.TimeSeriesDescriptor\022>\n\020time" - + "_series_data\030\t \003(\0132$.google.monitoring.v" - + "3.TimeSeriesData\022\027\n\017next_page_token\030\n \001(" - + "\t\022*\n\016partial_errors\030\013 \003(\0132\022.google.rpc.S" - + "tatus\"Y\n\016QueryErrorList\0220\n\006errors\030\001 \003(\0132" - + " .google.monitoring.v3.QueryError\022\025\n\rerr" - + "or_summary\030\002 \001(\t2\274\017\n\rMetricService\022\344\001\n L" - + "istMonitoredResourceDescriptors\022=.google" - + ".monitoring.v3.ListMonitoredResourceDesc" - + "riptorsRequest\032>.google.monitoring.v3.Li" - + "stMonitoredResourceDescriptorsResponse\"A" - + "\202\323\344\223\0024\0222/v3/{name=projects/*}/monitoredR" - + "esourceDescriptors\332A\004name\022\314\001\n\036GetMonitor" - + "edResourceDescriptor\022;.google.monitoring" - + ".v3.GetMonitoredResourceDescriptorReques" - + "t\032\'.google.api.MonitoredResourceDescript" - + "or\"D\202\323\344\223\0027\0225/v3/{name=projects/*/monitor" - + "edResourceDescriptors/**}\332A\004name\022\270\001\n\025Lis" - + "tMetricDescriptors\0222.google.monitoring.v" - + "3.ListMetricDescriptorsRequest\0323.google." - + "monitoring.v3.ListMetricDescriptorsRespo" - + "nse\"6\202\323\344\223\002)\022\'/v3/{name=projects/*}/metri" - + "cDescriptors\332A\004name\022\240\001\n\023GetMetricDescrip" - + "tor\0220.google.monitoring.v3.GetMetricDesc" - + "riptorRequest\032\034.google.api.MetricDescrip" - + "tor\"9\202\323\344\223\002,\022*/v3/{name=projects/*/metric" - + "Descriptors/**}\332A\004name\022\310\001\n\026CreateMetricD" - + "escriptor\0223.google.monitoring.v3.CreateM" - + "etricDescriptorRequest\032\034.google.api.Metr" - + "icDescriptor\"[\202\323\344\223\002<\"\'/v3/{name=projects" - + "/*}/metricDescriptors:\021metric_descriptor" - + "\332A\026name,metric_descriptor\022\240\001\n\026DeleteMetr" - + "icDescriptor\0223.google.monitoring.v3.Dele" - + "teMetricDescriptorRequest\032\026.google.proto" - + "buf.Empty\"9\202\323\344\223\002,**/v3/{name=projects/*/" - + "metricDescriptors/**}\332A\004name\022\376\001\n\016ListTim" - + "eSeries\022+.google.monitoring.v3.ListTimeS" - + "eriesRequest\032,.google.monitoring.v3.List" - + "TimeSeriesResponse\"\220\001\202\323\344\223\002n\022 /v3/{name=p" - + "rojects/*}/timeSeriesZ\'\022%/v3/{name=organ" - + "izations/*}/timeSeriesZ!\022\037/v3/{name=fold" - + "ers/*}/timeSeries\332A\031name,filter,interval" - + ",view\022\231\001\n\020CreateTimeSeries\022-.google.moni" - + "toring.v3.CreateTimeSeriesRequest\032\026.goog" - + "le.protobuf.Empty\">\202\323\344\223\002%\" /v3/{name=pro" - + "jects/*}/timeSeries:\001*\332A\020name,time_serie" - + "s\022\256\001\n\027CreateServiceTimeSeries\022-.google.m" - + "onitoring.v3.CreateTimeSeriesRequest\032\026.g" - + "oogle.protobuf.Empty\"L\202\323\344\223\0023\"./v3/{name=" - + "projects/*}/timeSeries:createService:\001*\332" - + "A\020name,time_series\032\332\001\312A\031monitoring.googl" - + "eapis.com\322A\272\001https://www.googleapis.com/" - + "auth/cloud-platform,https://www.googleap" - + "is.com/auth/monitoring,https://www.googl" - + "eapis.com/auth/monitoring.read,https://w" - + "ww.googleapis.com/auth/monitoring.writeB" - + "\206\010\n\030com.google.monitoring.v3B\022MetricServ" - + "iceProtoP\001Z>google.golang.org/genproto/g" - + "oogleapis/monitoring/v3;monitoring\252\002\032Goo" - + "gle.Cloud.Monitoring.V3\312\002\032Google\\Cloud\\M" - + "onitoring\\V3\352\002\035Google::Cloud::Monitoring" - + "::V3\352A\360\001\n*monitoring.googleapis.com/Metr" - + "icDescriptor\022;projects/{project}/metricD" - + "escriptors/{metric_descriptor=**}\022Eorgan" - + "izations/{organization}/metricDescriptor" - + "s/{metric_descriptor=**}\0229folders/{folde" - + "r}/metricDescriptors/{metric_descriptor=" - + "**}\022\001* \001\352A\267\002\n5monitoring.googleapis.com/" - + "MonitoredResourceDescriptor\022Oprojects/{p" - + "roject}/monitoredResourceDescriptors/{mo" - + "nitored_resource_descriptor}\022Yorganizati" - + "ons/{organization}/monitoredResourceDesc" - + "riptors/{monitored_resource_descriptor}\022" - + "Mfolders/{folder}/monitoredResourceDescr" - + "iptors/{monitored_resource_descriptor}\022\001" - + "* \001\352AQ\n#monitoring.googleapis.com/Worksp" - + "ace\022\022projects/{project}\022\026workspaces/{wor" - + "kspace}\352A\265\001\n$monitoring.googleapis.com/T" - + "imeSeries\022+projects/{project}/timeSeries" - + "/{time_series}\0225organizations/{organizat" - + "ion}/timeSeries/{time_series}\022)folders/{" - + "folder}/timeSeries/{time_series}b\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.MetricProto.getDescriptor(), - com.google.api.MonitoredResourceProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.monitoring.v3.AlertProto.getDescriptor(), - com.google.monitoring.v3.CommonProto.getDescriptor(), - com.google.monitoring.v3.MetricProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsRequest_descriptor, - new java.lang.String[] { - "Name", "Filter", "PageSize", "PageToken", - }); - internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsResponse_descriptor, - new java.lang.String[] { - "ResourceDescriptors", "NextPageToken", - }); - internal_static_google_monitoring_v3_GetMonitoredResourceDescriptorRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_monitoring_v3_GetMonitoredResourceDescriptorRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_GetMonitoredResourceDescriptorRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_monitoring_v3_ListMetricDescriptorsRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_monitoring_v3_ListMetricDescriptorsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListMetricDescriptorsRequest_descriptor, - new java.lang.String[] { - "Name", "Filter", "PageSize", "PageToken", - }); - internal_static_google_monitoring_v3_ListMetricDescriptorsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_monitoring_v3_ListMetricDescriptorsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListMetricDescriptorsResponse_descriptor, - new java.lang.String[] { - "MetricDescriptors", "NextPageToken", - }); - internal_static_google_monitoring_v3_GetMetricDescriptorRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_monitoring_v3_GetMetricDescriptorRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_GetMetricDescriptorRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_monitoring_v3_CreateMetricDescriptorRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_monitoring_v3_CreateMetricDescriptorRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_CreateMetricDescriptorRequest_descriptor, - new java.lang.String[] { - "Name", "MetricDescriptor", - }); - internal_static_google_monitoring_v3_DeleteMetricDescriptorRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_monitoring_v3_DeleteMetricDescriptorRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_DeleteMetricDescriptorRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_monitoring_v3_ListTimeSeriesRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_monitoring_v3_ListTimeSeriesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListTimeSeriesRequest_descriptor, - new java.lang.String[] { - "Name", - "Filter", - "Interval", - "Aggregation", - "SecondaryAggregation", - "OrderBy", - "View", - "PageSize", - "PageToken", - }); - internal_static_google_monitoring_v3_ListTimeSeriesResponse_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_monitoring_v3_ListTimeSeriesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListTimeSeriesResponse_descriptor, - new java.lang.String[] { - "TimeSeries", "NextPageToken", "ExecutionErrors", "Unit", - }); - internal_static_google_monitoring_v3_CreateTimeSeriesRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_monitoring_v3_CreateTimeSeriesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_CreateTimeSeriesRequest_descriptor, - new java.lang.String[] { - "Name", "TimeSeries", - }); - internal_static_google_monitoring_v3_CreateTimeSeriesError_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_monitoring_v3_CreateTimeSeriesError_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_CreateTimeSeriesError_descriptor, - new java.lang.String[] { - "TimeSeries", "Status", - }); - internal_static_google_monitoring_v3_CreateTimeSeriesSummary_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_monitoring_v3_CreateTimeSeriesSummary_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_CreateTimeSeriesSummary_descriptor, - new java.lang.String[] { - "TotalPointCount", "SuccessPointCount", "Errors", - }); - internal_static_google_monitoring_v3_CreateTimeSeriesSummary_Error_descriptor = - internal_static_google_monitoring_v3_CreateTimeSeriesSummary_descriptor - .getNestedTypes() - .get(0); - internal_static_google_monitoring_v3_CreateTimeSeriesSummary_Error_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_CreateTimeSeriesSummary_Error_descriptor, - new java.lang.String[] { - "Status", "PointCount", - }); - internal_static_google_monitoring_v3_QueryTimeSeriesRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_monitoring_v3_QueryTimeSeriesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_QueryTimeSeriesRequest_descriptor, - new java.lang.String[] { - "Name", "Query", "PageSize", "PageToken", - }); - internal_static_google_monitoring_v3_QueryTimeSeriesResponse_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_monitoring_v3_QueryTimeSeriesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_QueryTimeSeriesResponse_descriptor, - new java.lang.String[] { - "TimeSeriesDescriptor", "TimeSeriesData", "NextPageToken", "PartialErrors", - }); - internal_static_google_monitoring_v3_QueryErrorList_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_monitoring_v3_QueryErrorList_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_QueryErrorList_descriptor, - new java.lang.String[] { - "Errors", "ErrorSummary", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.MetricProto.getDescriptor(); - com.google.api.MonitoredResourceProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.monitoring.v3.AlertProto.getDescriptor(); - com.google.monitoring.v3.CommonProto.getDescriptor(); - com.google.monitoring.v3.MetricProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecordProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecordProto.java deleted file mode 100644 index 2f14f970..00000000 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecordProto.java +++ /dev/null @@ -1,72 +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/monitoring/v3/mutation_record.proto - -package com.google.monitoring.v3; - -public final class MutationRecordProto { - private MutationRecordProto() {} - - 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_monitoring_v3_MutationRecord_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_MutationRecord_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/monitoring/v3/mutation_record.p" - + "roto\022\024google.monitoring.v3\032\037google/proto" - + "buf/timestamp.proto\"U\n\016MutationRecord\022/\n" - + "\013mutate_time\030\001 \001(\0132\032.google.protobuf.Tim" - + "estamp\022\022\n\nmutated_by\030\002 \001(\tB\313\001\n\030com.googl" - + "e.monitoring.v3B\023MutationRecordProtoP\001Z>" - + "google.golang.org/genproto/googleapis/mo" - + "nitoring/v3;monitoring\252\002\032Google.Cloud.Mo" - + "nitoring.V3\312\002\032Google\\Cloud\\Monitoring\\V3" - + "\352\002\035Google::Cloud::Monitoring::V3b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_monitoring_v3_MutationRecord_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_monitoring_v3_MutationRecord_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_MutationRecord_descriptor, - new java.lang.String[] { - "MutateTime", "MutatedBy", - }); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationProto.java deleted file mode 100644 index 20fca624..00000000 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationProto.java +++ /dev/null @@ -1,178 +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/monitoring/v3/notification.proto - -package com.google.monitoring.v3; - -public final class NotificationProto { - private NotificationProto() {} - - 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_monitoring_v3_NotificationChannelDescriptor_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_NotificationChannelDescriptor_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_NotificationChannel_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_NotificationChannel_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_NotificationChannel_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_NotificationChannel_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_NotificationChannel_UserLabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_NotificationChannel_UserLabelsEntry_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/monitoring/v3/notification.prot" - + "o\022\024google.monitoring.v3\032\026google/api/labe" - + "l.proto\032\035google/api/launch_stage.proto\032\031" - + "google/api/resource.proto\032!google/monito" - + "ring/v3/common.proto\032*google/monitoring/" - + "v3/mutation_record.proto\032\036google/protobu" - + "f/wrappers.proto\"\245\004\n\035NotificationChannel" - + "Descriptor\022\014\n\004name\030\006 \001(\t\022\014\n\004type\030\001 \001(\t\022\024" - + "\n\014display_name\030\002 \001(\t\022\023\n\013description\030\003 \001(" - + "\t\022+\n\006labels\030\004 \003(\0132\033.google.api.LabelDesc" - + "riptor\022>\n\017supported_tiers\030\005 \003(\0162!.google" - + ".monitoring.v3.ServiceTierB\002\030\001\022-\n\014launch" - + "_stage\030\007 \001(\0162\027.google.api.LaunchStage:\240\002" - + "\352A\234\002\n7monitoring.googleapis.com/Notifica" - + "tionChannelDescriptor\022Fprojects/{project" - + "}/notificationChannelDescriptors/{channe" - + "l_descriptor}\022Porganizations/{organizati" - + "on}/notificationChannelDescriptors/{chan" - + "nel_descriptor}\022Dfolders/{folder}/notifi" - + "cationChannelDescriptors/{channel_descri" - + "ptor}\022\001*\"\266\007\n\023NotificationChannel\022\014\n\004type" - + "\030\001 \001(\t\022\014\n\004name\030\006 \001(\t\022\024\n\014display_name\030\003 \001" - + "(\t\022\023\n\013description\030\004 \001(\t\022E\n\006labels\030\005 \003(\0132" - + "5.google.monitoring.v3.NotificationChann" - + "el.LabelsEntry\022N\n\013user_labels\030\010 \003(\01329.go" - + "ogle.monitoring.v3.NotificationChannel.U" - + "serLabelsEntry\022Y\n\023verification_status\030\t " - + "\001(\0162<.google.monitoring.v3.NotificationC" - + "hannel.VerificationStatus\022+\n\007enabled\030\013 \001" - + "(\0132\032.google.protobuf.BoolValue\022=\n\017creati" - + "on_record\030\014 \001(\0132$.google.monitoring.v3.M" - + "utationRecord\022>\n\020mutation_records\030\r \003(\0132" - + "$.google.monitoring.v3.MutationRecord\032-\n" - + "\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t" - + ":\0028\001\0321\n\017UserLabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" - + "value\030\002 \001(\t:\0028\001\"W\n\022VerificationStatus\022#\n" - + "\037VERIFICATION_STATUS_UNSPECIFIED\020\000\022\016\n\nUN" - + "VERIFIED\020\001\022\014\n\010VERIFIED\020\002:\376\001\352A\372\001\n-monitor" - + "ing.googleapis.com/NotificationChannel\022>" - + "projects/{project}/notificationChannels/" - + "{notification_channel}\022Horganizations/{o" - + "rganization}/notificationChannels/{notif" - + "ication_channel}\022google.golang.org/genproto/" - + "googleapis/monitoring/v3;monitoring\252\002\032Go" - + "ogle.Cloud.Monitoring.V3\312\002\032Google\\Cloud\\" - + "Monitoring\\V3\352\002\035Google::Cloud::Monitorin" - + "g::V3b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.LabelProto.getDescriptor(), - com.google.api.LaunchStageProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.monitoring.v3.CommonProto.getDescriptor(), - com.google.monitoring.v3.MutationRecordProto.getDescriptor(), - com.google.protobuf.WrappersProto.getDescriptor(), - }); - internal_static_google_monitoring_v3_NotificationChannelDescriptor_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_monitoring_v3_NotificationChannelDescriptor_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_NotificationChannelDescriptor_descriptor, - new java.lang.String[] { - "Name", - "Type", - "DisplayName", - "Description", - "Labels", - "SupportedTiers", - "LaunchStage", - }); - internal_static_google_monitoring_v3_NotificationChannel_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_monitoring_v3_NotificationChannel_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_NotificationChannel_descriptor, - new java.lang.String[] { - "Type", - "Name", - "DisplayName", - "Description", - "Labels", - "UserLabels", - "VerificationStatus", - "Enabled", - "CreationRecord", - "MutationRecords", - }); - internal_static_google_monitoring_v3_NotificationChannel_LabelsEntry_descriptor = - internal_static_google_monitoring_v3_NotificationChannel_descriptor.getNestedTypes().get(0); - internal_static_google_monitoring_v3_NotificationChannel_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_NotificationChannel_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_monitoring_v3_NotificationChannel_UserLabelsEntry_descriptor = - internal_static_google_monitoring_v3_NotificationChannel_descriptor.getNestedTypes().get(1); - internal_static_google_monitoring_v3_NotificationChannel_UserLabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_NotificationChannel_UserLabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.LabelProto.getDescriptor(); - com.google.api.LaunchStageProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.monitoring.v3.CommonProto.getDescriptor(); - com.google.monitoring.v3.MutationRecordProto.getDescriptor(); - com.google.protobuf.WrappersProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationServiceProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationServiceProto.java deleted file mode 100644 index 87511c52..00000000 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationServiceProto.java +++ /dev/null @@ -1,354 +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/monitoring/v3/notification_service.proto - -package com.google.monitoring.v3; - -public final class NotificationServiceProto { - private NotificationServiceProto() {} - - 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_monitoring_v3_ListNotificationChannelDescriptorsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_GetNotificationChannelDescriptorRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_GetNotificationChannelDescriptorRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_CreateNotificationChannelRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_CreateNotificationChannelRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ListNotificationChannelsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListNotificationChannelsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ListNotificationChannelsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListNotificationChannelsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_GetNotificationChannelRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_GetNotificationChannelRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_UpdateNotificationChannelRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_UpdateNotificationChannelRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_DeleteNotificationChannelRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_DeleteNotificationChannelRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_SendNotificationChannelVerificationCodeRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_SendNotificationChannelVerificationCodeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_VerifyNotificationChannelRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_VerifyNotificationChannelRequest_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/monitoring/v3/notification_serv" - + "ice.proto\022\024google.monitoring.v3\032\034google/" - + "api/annotations.proto\032\027google/api/client" - + ".proto\032\037google/api/field_behavior.proto\032" - + "\031google/api/resource.proto\032\'google/monit" - + "oring/v3/notification.proto\032\033google/prot" - + "obuf/empty.proto\032 google/protobuf/field_" - + "mask.proto\032\034google/protobuf/struct.proto" - + "\032\037google/protobuf/timestamp.proto\"\241\001\n)Li" - + "stNotificationChannelDescriptorsRequest\022" - + "M\n\004name\030\004 \001(\tB?\340A\002\372A9\0227monitoring.google" - + "apis.com/NotificationChannelDescriptor\022\021" - + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\227\001" - + "\n*ListNotificationChannelDescriptorsResp" - + "onse\022P\n\023channel_descriptors\030\001 \003(\01323.goog" - + "le.monitoring.v3.NotificationChannelDesc" - + "riptor\022\027\n\017next_page_token\030\002 \001(\t\"x\n\'GetNo" - + "tificationChannelDescriptorRequest\022M\n\004na" - + "me\030\003 \001(\tB?\340A\002\372A9\n7monitoring.googleapis." - + "com/NotificationChannelDescriptor\"\265\001\n Cr" - + "eateNotificationChannelRequest\022C\n\004name\030\003" - + " \001(\tB5\340A\002\372A/\022-monitoring.googleapis.com/" - + "NotificationChannel\022L\n\024notification_chan" - + "nel\030\002 \001(\0132).google.monitoring.v3.Notific" - + "ationChannelB\003\340A\002\"\257\001\n\037ListNotificationCh" - + "annelsRequest\022C\n\004name\030\005 \001(\tB5\340A\002\372A/\022-mon" - + "itoring.googleapis.com/NotificationChann" - + "el\022\016\n\006filter\030\006 \001(\t\022\020\n\010order_by\030\007 \001(\t\022\021\n\t" - + "page_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"\231\001\n " - + "ListNotificationChannelsResponse\022H\n\025noti" - + "fication_channels\030\003 \003(\0132).google.monitor" - + "ing.v3.NotificationChannel\022\027\n\017next_page_" - + "token\030\002 \001(\t\022\022\n\ntotal_size\030\004 \001(\005\"d\n\035GetNo" - + "tificationChannelRequest\022C\n\004name\030\003 \001(\tB5" - + "\340A\002\372A/\n-monitoring.googleapis.com/Notifi" - + "cationChannel\"\241\001\n UpdateNotificationChan" - + "nelRequest\022/\n\013update_mask\030\002 \001(\0132\032.google" - + ".protobuf.FieldMask\022L\n\024notification_chan" - + "nel\030\003 \001(\0132).google.monitoring.v3.Notific" - + "ationChannelB\003\340A\002\"v\n DeleteNotificationC" - + "hannelRequest\022C\n\004name\030\003 \001(\tB5\340A\002\372A/\n-mon" - + "itoring.googleapis.com/NotificationChann" - + "el\022\r\n\005force\030\005 \001(\010\"u\n.SendNotificationCha" - + "nnelVerificationCodeRequest\022C\n\004name\030\001 \001(" - + "\tB5\340A\002\372A/\n-monitoring.googleapis.com/Not" - + "ificationChannel\"\245\001\n-GetNotificationChan" - + "nelVerificationCodeRequest\022C\n\004name\030\001 \001(\t" - + "B5\340A\002\372A/\n-monitoring.googleapis.com/Noti" - + "ficationChannel\022/\n\013expire_time\030\002 \001(\0132\032.g" - + "oogle.protobuf.Timestamp\"o\n.GetNotificat" - + "ionChannelVerificationCodeResponse\022\014\n\004co" - + "de\030\001 \001(\t\022/\n\013expire_time\030\002 \001(\0132\032.google.p" - + "rotobuf.Timestamp\"z\n VerifyNotificationC" - + "hannelRequest\022C\n\004name\030\001 \001(\tB5\340A\002\372A/\n-mon" - + "itoring.googleapis.com/NotificationChann" - + "el\022\021\n\004code\030\002 \001(\tB\003\340A\0022\352\022\n\032NotificationCh" - + "annelService\022\354\001\n\"ListNotificationChannel" - + "Descriptors\022?.google.monitoring.v3.ListN" - + "otificationChannelDescriptorsRequest\032@.g" - + "oogle.monitoring.v3.ListNotificationChan" - + "nelDescriptorsResponse\"C\202\323\344\223\0026\0224/v3/{nam" - + "e=projects/*}/notificationChannelDescrip" - + "tors\332A\004name\022\335\001\n GetNotificationChannelDe" - + "scriptor\022=.google.monitoring.v3.GetNotif" - + "icationChannelDescriptorRequest\0323.google" - + ".monitoring.v3.NotificationChannelDescri" - + "ptor\"E\202\323\344\223\0028\0226/v3/{name=projects/*/notif" - + "icationChannelDescriptors/*}\332A\004name\022\304\001\n\030" - + "ListNotificationChannels\0225.google.monito" - + "ring.v3.ListNotificationChannelsRequest\032" - + "6.google.monitoring.v3.ListNotificationC" - + "hannelsResponse\"9\202\323\344\223\002,\022*/v3/{name=proje" - + "cts/*}/notificationChannels\332A\004name\022\265\001\n\026G" - + "etNotificationChannel\0223.google.monitorin" - + "g.v3.GetNotificationChannelRequest\032).goo" - + "gle.monitoring.v3.NotificationChannel\";\202" - + "\323\344\223\002.\022,/v3/{name=projects/*/notification" - + "Channels/*}\332A\004name\022\344\001\n\031CreateNotificatio" - + "nChannel\0226.google.monitoring.v3.CreateNo" - + "tificationChannelRequest\032).google.monito" - + "ring.v3.NotificationChannel\"d\202\323\344\223\002B\"*/v3" - + "/{name=projects/*}/notificationChannels:" - + "\024notification_channel\332A\031name,notificatio" - + "n_channel\022\203\002\n\031UpdateNotificationChannel\022" - + "6.google.monitoring.v3.UpdateNotificatio" - + "nChannelRequest\032).google.monitoring.v3.N" - + "otificationChannel\"\202\001\202\323\344\223\002Y2A/v3/{notifi" - + "cation_channel.name=projects/*/notificat" - + "ionChannels/*}:\024notification_channel\332A u" - + "pdate_mask,notification_channel\022\256\001\n\031Dele" - + "teNotificationChannel\0226.google.monitorin" - + "g.v3.DeleteNotificationChannelRequest\032\026." - + "google.protobuf.Empty\"A\202\323\344\223\002.*,/v3/{name" - + "=projects/*/notificationChannels/*}\332A\nna" - + "me,force\022\334\001\n\'SendNotificationChannelVeri" - + "ficationCode\022D.google.monitoring.v3.Send" - + "NotificationChannelVerificationCodeReque" - + "st\032\026.google.protobuf.Empty\"S\202\323\344\223\002F\"A/v3/" - + "{name=projects/*/notificationChannels/*}" - + ":sendVerificationCode:\001*\332A\004name\022\207\002\n&GetN" - + "otificationChannelVerificationCode\022C.goo" - + "gle.monitoring.v3.GetNotificationChannel" - + "VerificationCodeRequest\032D.google.monitor" - + "ing.v3.GetNotificationChannelVerificatio" - + "nCodeResponse\"R\202\323\344\223\002E\"@/v3/{name=project" - + "s/*/notificationChannels/*}:getVerificat" - + "ionCode:\001*\332A\004name\022\312\001\n\031VerifyNotification" - + "Channel\0226.google.monitoring.v3.VerifyNot" - + "ificationChannelRequest\032).google.monitor" - + "ing.v3.NotificationChannel\"J\202\323\344\223\0028\"3/v3/" - + "{name=projects/*/notificationChannels/*}" - + ":verify:\001*\332A\tname,code\032\251\001\312A\031monitoring.g" - + "oogleapis.com\322A\211\001https://www.googleapis." - + "com/auth/cloud-platform,https://www.goog" - + "leapis.com/auth/monitoring,https://www.g" - + "oogleapis.com/auth/monitoring.readB\320\001\n\030c" - + "om.google.monitoring.v3B\030NotificationSer" - + "viceProtoP\001Z>google.golang.org/genproto/" - + "googleapis/monitoring/v3;monitoring\252\002\032Go" - + "ogle.Cloud.Monitoring.V3\312\002\032Google\\Cloud\\" - + "Monitoring\\V3\352\002\035Google::Cloud::Monitorin" - + "g::V3b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.monitoring.v3.NotificationProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsRequest_descriptor, - new java.lang.String[] { - "Name", "PageSize", "PageToken", - }); - internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsResponse_descriptor, - new java.lang.String[] { - "ChannelDescriptors", "NextPageToken", - }); - internal_static_google_monitoring_v3_GetNotificationChannelDescriptorRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_monitoring_v3_GetNotificationChannelDescriptorRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_GetNotificationChannelDescriptorRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_monitoring_v3_CreateNotificationChannelRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_monitoring_v3_CreateNotificationChannelRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_CreateNotificationChannelRequest_descriptor, - new java.lang.String[] { - "Name", "NotificationChannel", - }); - internal_static_google_monitoring_v3_ListNotificationChannelsRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_monitoring_v3_ListNotificationChannelsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListNotificationChannelsRequest_descriptor, - new java.lang.String[] { - "Name", "Filter", "OrderBy", "PageSize", "PageToken", - }); - internal_static_google_monitoring_v3_ListNotificationChannelsResponse_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_monitoring_v3_ListNotificationChannelsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListNotificationChannelsResponse_descriptor, - new java.lang.String[] { - "NotificationChannels", "NextPageToken", "TotalSize", - }); - internal_static_google_monitoring_v3_GetNotificationChannelRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_monitoring_v3_GetNotificationChannelRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_GetNotificationChannelRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_monitoring_v3_UpdateNotificationChannelRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_monitoring_v3_UpdateNotificationChannelRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_UpdateNotificationChannelRequest_descriptor, - new java.lang.String[] { - "UpdateMask", "NotificationChannel", - }); - internal_static_google_monitoring_v3_DeleteNotificationChannelRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_monitoring_v3_DeleteNotificationChannelRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_DeleteNotificationChannelRequest_descriptor, - new java.lang.String[] { - "Name", "Force", - }); - internal_static_google_monitoring_v3_SendNotificationChannelVerificationCodeRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_monitoring_v3_SendNotificationChannelVerificationCodeRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_SendNotificationChannelVerificationCodeRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeRequest_descriptor, - new java.lang.String[] { - "Name", "ExpireTime", - }); - internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeResponse_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeResponse_descriptor, - new java.lang.String[] { - "Code", "ExpireTime", - }); - internal_static_google_monitoring_v3_VerifyNotificationChannelRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_monitoring_v3_VerifyNotificationChannelRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_VerifyNotificationChannelRequest_descriptor, - new java.lang.String[] { - "Name", "Code", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.monitoring.v3.NotificationProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryServiceProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryServiceProto.java deleted file mode 100644 index 1d19a150..00000000 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryServiceProto.java +++ /dev/null @@ -1,84 +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/monitoring/v3/query_service.proto - -package com.google.monitoring.v3; - -public final class QueryServiceProto { - private QueryServiceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n(google/monitoring/v3/query_service.pro" - + "to\022\024google.monitoring.v3\032\034google/api/ann" - + "otations.proto\032\026google/api/label.proto\032!" - + "google/monitoring/v3/metric.proto\032)googl" - + "e/monitoring/v3/metric_service.proto\032\027go" - + "ogle/api/client.proto2\336\002\n\014QueryService\022\241" - + "\001\n\017QueryTimeSeries\022,.google.monitoring.v" - + "3.QueryTimeSeriesRequest\032-.google.monito" - + "ring.v3.QueryTimeSeriesResponse\"1\202\323\344\223\002+\"" - + "&/v3/{name=projects/*}/timeSeries:query:" - + "\001*\032\251\001\312A\031monitoring.googleapis.com\322A\211\001htt" - + "ps://www.googleapis.com/auth/cloud-platf" - + "orm,https://www.googleapis.com/auth/moni" - + "toring,https://www.googleapis.com/auth/m" - + "onitoring.readB\311\001\n\030com.google.monitoring" - + ".v3B\021QueryServiceProtoP\001Z>google.golang." - + "org/genproto/googleapis/monitoring/v3;mo" - + "nitoring\252\002\032Google.Cloud.Monitoring.V3\312\002\032" - + "Google\\Cloud\\Monitoring\\V3\352\002\035Google::Clo" - + "ud::Monitoring::V3b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.LabelProto.getDescriptor(), - com.google.monitoring.v3.MetricProto.getDescriptor(), - com.google.monitoring.v3.MetricServiceProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.oauthScopes); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.LabelProto.getDescriptor(); - com.google.monitoring.v3.MetricProto.getDescriptor(); - com.google.monitoring.v3.MetricServiceProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RangeOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RangeOrBuilder.java deleted file mode 100644 index c608b30c..00000000 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RangeOrBuilder.java +++ /dev/null @@ -1,51 +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/monitoring/v3/service.proto - -package com.google.monitoring.v3; - -public interface RangeOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.monitoring.v3.Range) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Range minimum.
-   * 
- * - * double min = 1; - * - * @return The min. - */ - double getMin(); - - /** - * - * - *
-   * Range maximum.
-   * 
- * - * double max = 2; - * - * @return The max. - */ - double getMax(); -} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequestOrBuilder.java deleted file mode 100644 index e5179539..00000000 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/monitoring/v3/notification_service.proto - -package com.google.monitoring.v3; - -public interface SendNotificationChannelVerificationCodeRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.monitoring.v3.SendNotificationChannelVerificationCodeRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The notification channel to which to send a verification code.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The notification channel to which to send a verification code.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringProto.java deleted file mode 100644 index 8f343760..00000000 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringProto.java +++ /dev/null @@ -1,448 +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/monitoring/v3/service.proto - -package com.google.monitoring.v3; - -public final class ServiceMonitoringProto { - private ServiceMonitoringProto() {} - - 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_monitoring_v3_Service_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_Service_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_Service_Custom_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_Service_Custom_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_Service_AppEngine_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_Service_AppEngine_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_Service_CloudEndpoints_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_Service_CloudEndpoints_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_Service_ClusterIstio_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_Service_ClusterIstio_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_Service_MeshIstio_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_Service_MeshIstio_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_Service_IstioCanonicalService_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_Service_IstioCanonicalService_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_Service_Telemetry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_Service_Telemetry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_Service_UserLabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_Service_UserLabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ServiceLevelObjective_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ServiceLevelObjective_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ServiceLevelObjective_UserLabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ServiceLevelObjective_UserLabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ServiceLevelIndicator_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ServiceLevelIndicator_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_BasicSli_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_BasicSli_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_BasicSli_AvailabilityCriteria_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_BasicSli_AvailabilityCriteria_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_BasicSli_LatencyCriteria_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_BasicSli_LatencyCriteria_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_Range_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_Range_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_RequestBasedSli_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_RequestBasedSli_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_TimeSeriesRatio_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_TimeSeriesRatio_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_DistributionCut_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_DistributionCut_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_WindowsBasedSli_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_WindowsBasedSli_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_WindowsBasedSli_PerformanceThreshold_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_WindowsBasedSli_PerformanceThreshold_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_WindowsBasedSli_MetricRange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_WindowsBasedSli_MetricRange_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/monitoring/v3/service.proto\022\024go" - + "ogle.monitoring.v3\032\037google/api/field_beh" - + "avior.proto\032\031google/api/resource.proto\032\036" - + "google/protobuf/duration.proto\032\037google/p" - + "rotobuf/timestamp.proto\032!google/type/cal" - + "endar_period.proto\"\311\t\n\007Service\022\014\n\004name\030\001" - + " \001(\t\022\024\n\014display_name\030\002 \001(\t\0226\n\006custom\030\006 \001" - + "(\0132$.google.monitoring.v3.Service.Custom" - + "H\000\022=\n\napp_engine\030\007 \001(\0132\'.google.monitori" - + "ng.v3.Service.AppEngineH\000\022G\n\017cloud_endpo" - + "ints\030\010 \001(\0132,.google.monitoring.v3.Servic" - + "e.CloudEndpointsH\000\022C\n\rcluster_istio\030\t \001(" - + "\0132*.google.monitoring.v3.Service.Cluster" - + "IstioH\000\022=\n\nmesh_istio\030\n \001(\0132\'.google.mon" - + "itoring.v3.Service.MeshIstioH\000\022V\n\027istio_" - + "canonical_service\030\013 \001(\01323.google.monitor" - + "ing.v3.Service.IstioCanonicalServiceH\000\022:" - + "\n\ttelemetry\030\r \001(\0132\'.google.monitoring.v3" - + ".Service.Telemetry\022B\n\013user_labels\030\016 \003(\0132" - + "-.google.monitoring.v3.Service.UserLabel" - + "sEntry\032\010\n\006Custom\032\036\n\tAppEngine\022\021\n\tmodule_" - + "id\030\001 \001(\t\032!\n\016CloudEndpoints\022\017\n\007service\030\001 " - + "\001(\t\032g\n\014ClusterIstio\022\020\n\010location\030\001 \001(\t\022\024\n" - + "\014cluster_name\030\002 \001(\t\022\031\n\021service_namespace" - + "\030\003 \001(\t\022\024\n\014service_name\030\004 \001(\t\032N\n\tMeshIsti" - + "o\022\020\n\010mesh_uid\030\001 \001(\t\022\031\n\021service_namespace" - + "\030\003 \001(\t\022\024\n\014service_name\030\004 \001(\t\032i\n\025IstioCan" - + "onicalService\022\020\n\010mesh_uid\030\001 \001(\t\022#\n\033canon" - + "ical_service_namespace\030\003 \001(\t\022\031\n\021canonica" - + "l_service\030\004 \001(\t\032\"\n\tTelemetry\022\025\n\rresource" - + "_name\030\001 \001(\t\0321\n\017UserLabelsEntry\022\013\n\003key\030\001 " - + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\247\001\352A\243\001\n!monitorin" - + "g.googleapis.com/Service\022%projects/{proj" - + "ect}/services/{service}\022/organizations/{" - + "organization}/services/{service}\022#folder" - + "s/{folder}/services/{service}\022\001*B\014\n\niden" - + "tifier\"\226\006\n\025ServiceLevelObjective\022\014\n\004name" - + "\030\001 \001(\t\022\024\n\014display_name\030\013 \001(\t\022L\n\027service_" - + "level_indicator\030\003 \001(\0132+.google.monitorin" - + "g.v3.ServiceLevelIndicator\022\014\n\004goal\030\004 \001(\001" - + "\0223\n\016rolling_period\030\005 \001(\0132\031.google.protob" - + "uf.DurationH\000\0226\n\017calendar_period\030\006 \001(\0162\033" - + ".google.type.CalendarPeriodH\000\022P\n\013user_la" - + "bels\030\014 \003(\0132;.google.monitoring.v3.Servic" - + "eLevelObjective.UserLabelsEntry\0321\n\017UserL" - + "abelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" - + "8\001\"4\n\004View\022\024\n\020VIEW_UNSPECIFIED\020\000\022\010\n\004FULL" - + "\020\002\022\014\n\010EXPLICIT\020\001:\312\002\352A\306\002\n/monitoring.goog" - + "leapis.com/ServiceLevelObjective\022Vprojec" - + "ts/{project}/services/{service}/serviceL" - + "evelObjectives/{service_level_objective}" - + "\022`organizations/{organization}/services/" - + "{service}/serviceLevelObjectives/{servic" - + "e_level_objective}\022Tfolders/{folder}/ser" - + "vices/{service}/serviceLevelObjectives/{" - + "service_level_objective}\022\001* \001B\010\n\006period\"" - + "\324\001\n\025ServiceLevelIndicator\0223\n\tbasic_sli\030\004" - + " \001(\0132\036.google.monitoring.v3.BasicSliH\000\022>" - + "\n\rrequest_based\030\001 \001(\0132%.google.monitorin" - + "g.v3.RequestBasedSliH\000\022>\n\rwindows_based\030" - + "\002 \001(\0132%.google.monitoring.v3.WindowsBase" - + "dSliH\000B\006\n\004type\"\266\002\n\010BasicSli\022\016\n\006method\030\007 " - + "\003(\t\022\020\n\010location\030\010 \003(\t\022\017\n\007version\030\t \003(\t\022K" - + "\n\014availability\030\002 \001(\01323.google.monitoring" - + ".v3.BasicSli.AvailabilityCriteriaH\000\022A\n\007l" - + "atency\030\003 \001(\0132..google.monitoring.v3.Basi" - + "cSli.LatencyCriteriaH\000\032\026\n\024AvailabilityCr" - + "iteria\032?\n\017LatencyCriteria\022,\n\tthreshold\030\003" - + " \001(\0132\031.google.protobuf.DurationB\016\n\014sli_c" - + "riteria\"!\n\005Range\022\013\n\003min\030\001 \001(\001\022\013\n\003max\030\002 \001" - + "(\001\"\241\001\n\017RequestBasedSli\022A\n\020good_total_rat" - + "io\030\001 \001(\0132%.google.monitoring.v3.TimeSeri" - + "esRatioH\000\022A\n\020distribution_cut\030\003 \001(\0132%.go" - + "ogle.monitoring.v3.DistributionCutH\000B\010\n\006" - + "method\"h\n\017TimeSeriesRatio\022\033\n\023good_servic" - + "e_filter\030\004 \001(\t\022\032\n\022bad_service_filter\030\005 \001" - + "(\t\022\034\n\024total_service_filter\030\006 \001(\t\"Z\n\017Dist" - + "ributionCut\022\033\n\023distribution_filter\030\004 \001(\t" - + "\022*\n\005range\030\005 \001(\0132\033.google.monitoring.v3.R" - + "ange\"\203\005\n\017WindowsBasedSli\022 \n\026good_bad_met" - + "ric_filter\030\005 \001(\tH\000\022`\n\032good_total_ratio_t" - + "hreshold\030\002 \001(\0132:.google.monitoring.v3.Wi" - + "ndowsBasedSli.PerformanceThresholdH\000\022Q\n\024" - + "metric_mean_in_range\030\006 \001(\01321.google.moni" - + "toring.v3.WindowsBasedSli.MetricRangeH\000\022" - + "P\n\023metric_sum_in_range\030\007 \001(\01321.google.mo" - + "nitoring.v3.WindowsBasedSli.MetricRangeH" - + "\000\0220\n\rwindow_period\030\004 \001(\0132\031.google.protob" - + "uf.Duration\032\260\001\n\024PerformanceThreshold\022<\n\013" - + "performance\030\001 \001(\0132%.google.monitoring.v3" - + ".RequestBasedSliH\000\022?\n\025basic_sli_performa" - + "nce\030\003 \001(\0132\036.google.monitoring.v3.BasicSl" - + "iH\000\022\021\n\tthreshold\030\002 \001(\001B\006\n\004type\032N\n\013Metric" - + "Range\022\023\n\013time_series\030\001 \001(\t\022*\n\005range\030\004 \001(" - + "\0132\033.google.monitoring.v3.RangeB\022\n\020window" - + "_criterionB\316\001\n\030com.google.monitoring.v3B" - + "\026ServiceMonitoringProtoP\001Z>google.golang" - + ".org/genproto/googleapis/monitoring/v3;m" - + "onitoring\252\002\032Google.Cloud.Monitoring.V3\312\002" - + "\032Google\\Cloud\\Monitoring\\V3\352\002\035Google::Cl" - + "oud::Monitoring::V3b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.type.CalendarPeriodProto.getDescriptor(), - }); - internal_static_google_monitoring_v3_Service_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_monitoring_v3_Service_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_Service_descriptor, - new java.lang.String[] { - "Name", - "DisplayName", - "Custom", - "AppEngine", - "CloudEndpoints", - "ClusterIstio", - "MeshIstio", - "IstioCanonicalService", - "Telemetry", - "UserLabels", - "Identifier", - }); - internal_static_google_monitoring_v3_Service_Custom_descriptor = - internal_static_google_monitoring_v3_Service_descriptor.getNestedTypes().get(0); - internal_static_google_monitoring_v3_Service_Custom_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_Service_Custom_descriptor, - new java.lang.String[] {}); - internal_static_google_monitoring_v3_Service_AppEngine_descriptor = - internal_static_google_monitoring_v3_Service_descriptor.getNestedTypes().get(1); - internal_static_google_monitoring_v3_Service_AppEngine_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_Service_AppEngine_descriptor, - new java.lang.String[] { - "ModuleId", - }); - internal_static_google_monitoring_v3_Service_CloudEndpoints_descriptor = - internal_static_google_monitoring_v3_Service_descriptor.getNestedTypes().get(2); - internal_static_google_monitoring_v3_Service_CloudEndpoints_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_Service_CloudEndpoints_descriptor, - new java.lang.String[] { - "Service", - }); - internal_static_google_monitoring_v3_Service_ClusterIstio_descriptor = - internal_static_google_monitoring_v3_Service_descriptor.getNestedTypes().get(3); - internal_static_google_monitoring_v3_Service_ClusterIstio_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_Service_ClusterIstio_descriptor, - new java.lang.String[] { - "Location", "ClusterName", "ServiceNamespace", "ServiceName", - }); - internal_static_google_monitoring_v3_Service_MeshIstio_descriptor = - internal_static_google_monitoring_v3_Service_descriptor.getNestedTypes().get(4); - internal_static_google_monitoring_v3_Service_MeshIstio_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_Service_MeshIstio_descriptor, - new java.lang.String[] { - "MeshUid", "ServiceNamespace", "ServiceName", - }); - internal_static_google_monitoring_v3_Service_IstioCanonicalService_descriptor = - internal_static_google_monitoring_v3_Service_descriptor.getNestedTypes().get(5); - internal_static_google_monitoring_v3_Service_IstioCanonicalService_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_Service_IstioCanonicalService_descriptor, - new java.lang.String[] { - "MeshUid", "CanonicalServiceNamespace", "CanonicalService", - }); - internal_static_google_monitoring_v3_Service_Telemetry_descriptor = - internal_static_google_monitoring_v3_Service_descriptor.getNestedTypes().get(6); - internal_static_google_monitoring_v3_Service_Telemetry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_Service_Telemetry_descriptor, - new java.lang.String[] { - "ResourceName", - }); - internal_static_google_monitoring_v3_Service_UserLabelsEntry_descriptor = - internal_static_google_monitoring_v3_Service_descriptor.getNestedTypes().get(7); - internal_static_google_monitoring_v3_Service_UserLabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_Service_UserLabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_monitoring_v3_ServiceLevelObjective_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_monitoring_v3_ServiceLevelObjective_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ServiceLevelObjective_descriptor, - new java.lang.String[] { - "Name", - "DisplayName", - "ServiceLevelIndicator", - "Goal", - "RollingPeriod", - "CalendarPeriod", - "UserLabels", - "Period", - }); - internal_static_google_monitoring_v3_ServiceLevelObjective_UserLabelsEntry_descriptor = - internal_static_google_monitoring_v3_ServiceLevelObjective_descriptor - .getNestedTypes() - .get(0); - internal_static_google_monitoring_v3_ServiceLevelObjective_UserLabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ServiceLevelObjective_UserLabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_monitoring_v3_ServiceLevelIndicator_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_monitoring_v3_ServiceLevelIndicator_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ServiceLevelIndicator_descriptor, - new java.lang.String[] { - "BasicSli", "RequestBased", "WindowsBased", "Type", - }); - internal_static_google_monitoring_v3_BasicSli_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_monitoring_v3_BasicSli_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_BasicSli_descriptor, - new java.lang.String[] { - "Method", "Location", "Version", "Availability", "Latency", "SliCriteria", - }); - internal_static_google_monitoring_v3_BasicSli_AvailabilityCriteria_descriptor = - internal_static_google_monitoring_v3_BasicSli_descriptor.getNestedTypes().get(0); - internal_static_google_monitoring_v3_BasicSli_AvailabilityCriteria_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_BasicSli_AvailabilityCriteria_descriptor, - new java.lang.String[] {}); - internal_static_google_monitoring_v3_BasicSli_LatencyCriteria_descriptor = - internal_static_google_monitoring_v3_BasicSli_descriptor.getNestedTypes().get(1); - internal_static_google_monitoring_v3_BasicSli_LatencyCriteria_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_BasicSli_LatencyCriteria_descriptor, - new java.lang.String[] { - "Threshold", - }); - internal_static_google_monitoring_v3_Range_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_monitoring_v3_Range_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_Range_descriptor, - new java.lang.String[] { - "Min", "Max", - }); - internal_static_google_monitoring_v3_RequestBasedSli_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_monitoring_v3_RequestBasedSli_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_RequestBasedSli_descriptor, - new java.lang.String[] { - "GoodTotalRatio", "DistributionCut", "Method", - }); - internal_static_google_monitoring_v3_TimeSeriesRatio_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_monitoring_v3_TimeSeriesRatio_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_TimeSeriesRatio_descriptor, - new java.lang.String[] { - "GoodServiceFilter", "BadServiceFilter", "TotalServiceFilter", - }); - internal_static_google_monitoring_v3_DistributionCut_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_monitoring_v3_DistributionCut_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_DistributionCut_descriptor, - new java.lang.String[] { - "DistributionFilter", "Range", - }); - internal_static_google_monitoring_v3_WindowsBasedSli_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_monitoring_v3_WindowsBasedSli_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_WindowsBasedSli_descriptor, - new java.lang.String[] { - "GoodBadMetricFilter", - "GoodTotalRatioThreshold", - "MetricMeanInRange", - "MetricSumInRange", - "WindowPeriod", - "WindowCriterion", - }); - internal_static_google_monitoring_v3_WindowsBasedSli_PerformanceThreshold_descriptor = - internal_static_google_monitoring_v3_WindowsBasedSli_descriptor.getNestedTypes().get(0); - internal_static_google_monitoring_v3_WindowsBasedSli_PerformanceThreshold_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_WindowsBasedSli_PerformanceThreshold_descriptor, - new java.lang.String[] { - "Performance", "BasicSliPerformance", "Threshold", "Type", - }); - internal_static_google_monitoring_v3_WindowsBasedSli_MetricRange_descriptor = - internal_static_google_monitoring_v3_WindowsBasedSli_descriptor.getNestedTypes().get(1); - internal_static_google_monitoring_v3_WindowsBasedSli_MetricRange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_WindowsBasedSli_MetricRange_descriptor, - new java.lang.String[] { - "TimeSeries", "Range", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.type.CalendarPeriodProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringServiceProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringServiceProto.java deleted file mode 100644 index 0228f04f..00000000 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringServiceProto.java +++ /dev/null @@ -1,322 +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/monitoring/v3/service_service.proto - -package com.google.monitoring.v3; - -public final class ServiceMonitoringServiceProto { - private ServiceMonitoringServiceProto() {} - - 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_monitoring_v3_CreateServiceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_CreateServiceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_GetServiceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_GetServiceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ListServicesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListServicesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ListServicesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListServicesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_UpdateServiceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_UpdateServiceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_DeleteServiceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_DeleteServiceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_CreateServiceLevelObjectiveRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_CreateServiceLevelObjectiveRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_GetServiceLevelObjectiveRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_GetServiceLevelObjectiveRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ListServiceLevelObjectivesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListServiceLevelObjectivesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ListServiceLevelObjectivesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListServiceLevelObjectivesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_UpdateServiceLevelObjectiveRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_UpdateServiceLevelObjectiveRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_DeleteServiceLevelObjectiveRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_DeleteServiceLevelObjectiveRequest_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/monitoring/v3/service_service.p" - + "roto\022\024google.monitoring.v3\032\034google/api/a" - + "nnotations.proto\032\027google/api/client.prot" - + "o\032\037google/api/field_behavior.proto\032\031goog" - + "le/api/resource.proto\032\"google/monitoring" - + "/v3/service.proto\032\033google/protobuf/empty" - + ".proto\032 google/protobuf/field_mask.proto" - + "\"\232\001\n\024CreateServiceRequest\0229\n\006parent\030\001 \001(" - + "\tB)\340A\002\372A#\022!monitoring.googleapis.com/Ser" - + "vice\022\022\n\nservice_id\030\003 \001(\t\0223\n\007service\030\002 \001(" - + "\0132\035.google.monitoring.v3.ServiceB\003\340A\002\"L\n" - + "\021GetServiceRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#" - + "\n!monitoring.googleapis.com/Service\"\207\001\n\023" - + "ListServicesRequest\0229\n\006parent\030\001 \001(\tB)\340A\002" - + "\372A#\022!monitoring.googleapis.com/Service\022\016" - + "\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npag" - + "e_token\030\004 \001(\t\"`\n\024ListServicesResponse\022/\n" - + "\010services\030\001 \003(\0132\035.google.monitoring.v3.S" - + "ervice\022\027\n\017next_page_token\030\002 \001(\t\"|\n\024Updat" - + "eServiceRequest\0223\n\007service\030\001 \001(\0132\035.googl" - + "e.monitoring.v3.ServiceB\003\340A\002\022/\n\013update_m" - + "ask\030\002 \001(\0132\032.google.protobuf.FieldMask\"O\n" - + "\024DeleteServiceRequest\0227\n\004name\030\001 \001(\tB)\340A\002" - + "\372A#\n!monitoring.googleapis.com/Service\"\326" - + "\001\n\"CreateServiceLevelObjectiveRequest\0229\n" - + "\006parent\030\001 \001(\tB)\340A\002\372A#\n!monitoring.google" - + "apis.com/Service\022\"\n\032service_level_object" - + "ive_id\030\003 \001(\t\022Q\n\027service_level_objective\030" - + "\002 \001(\0132+.google.monitoring.v3.ServiceLeve" - + "lObjectiveB\003\340A\002\"\250\001\n\037GetServiceLevelObjec" - + "tiveRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/monit" - + "oring.googleapis.com/ServiceLevelObjecti" - + "ve\022>\n\004view\030\002 \001(\01620.google.monitoring.v3." - + "ServiceLevelObjective.View\"\325\001\n!ListServi" - + "ceLevelObjectivesRequest\0229\n\006parent\030\001 \001(\t" - + "B)\340A\002\372A#\n!monitoring.googleapis.com/Serv" - + "ice\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022" - + "\n\npage_token\030\004 \001(\t\022>\n\004view\030\005 \001(\01620.googl" - + "e.monitoring.v3.ServiceLevelObjective.Vi" - + "ew\"\214\001\n\"ListServiceLevelObjectivesRespons" - + "e\022M\n\030service_level_objectives\030\001 \003(\0132+.go" - + "ogle.monitoring.v3.ServiceLevelObjective" - + "\022\027\n\017next_page_token\030\002 \001(\t\"\250\001\n\"UpdateServ" - + "iceLevelObjectiveRequest\022Q\n\027service_leve" - + "l_objective\030\001 \001(\0132+.google.monitoring.v3" - + ".ServiceLevelObjectiveB\003\340A\002\022/\n\013update_ma" - + "sk\030\002 \001(\0132\032.google.protobuf.FieldMask\"k\n\"" - + "DeleteServiceLevelObjectiveRequest\022E\n\004na" - + "me\030\001 \001(\tB7\340A\002\372A1\n/monitoring.googleapis." - + "com/ServiceLevelObjective2\352\017\n\030ServiceMon" - + "itoringService\022\227\001\n\rCreateService\022*.googl" - + "e.monitoring.v3.CreateServiceRequest\032\035.g" - + "oogle.monitoring.v3.Service\";\202\323\344\223\002$\"\031/v3" - + "/{parent=*/*}/services:\007service\332A\016parent" - + ",service\022~\n\nGetService\022\'.google.monitori" - + "ng.v3.GetServiceRequest\032\035.google.monitor" - + "ing.v3.Service\"(\202\323\344\223\002\033\022\031/v3/{name=*/*/se" - + "rvices/*}\332A\004name\022\221\001\n\014ListServices\022).goog" - + "le.monitoring.v3.ListServicesRequest\032*.g" - + "oogle.monitoring.v3.ListServicesResponse" - + "\"*\202\323\344\223\002\033\022\031/v3/{parent=*/*}/services\332A\006pa" - + "rent\022\230\001\n\rUpdateService\022*.google.monitori" - + "ng.v3.UpdateServiceRequest\032\035.google.moni" - + "toring.v3.Service\"<\202\323\344\223\002,2!/v3/{service." - + "name=*/*/services/*}:\007service\332A\007service\022" - + "}\n\rDeleteService\022*.google.monitoring.v3." - + "DeleteServiceRequest\032\026.google.protobuf.E" - + "mpty\"(\202\323\344\223\002\033*\031/v3/{name=*/*/services/*}\332" - + "A\004name\022\372\001\n\033CreateServiceLevelObjective\0228" - + ".google.monitoring.v3.CreateServiceLevel" - + "ObjectiveRequest\032+.google.monitoring.v3." - + "ServiceLevelObjective\"t\202\323\344\223\002M\"2/v3/{pare" - + "nt=*/*/services/*}/serviceLevelObjective" - + "s:\027service_level_objective\332A\036parent,serv" - + "ice_level_objective\022\301\001\n\030GetServiceLevelO" - + "bjective\0225.google.monitoring.v3.GetServi" - + "ceLevelObjectiveRequest\032+.google.monitor" - + "ing.v3.ServiceLevelObjective\"A\202\323\344\223\0024\0222/v" - + "3/{name=*/*/services/*/serviceLevelObjec" - + "tives/*}\332A\004name\022\324\001\n\032ListServiceLevelObje" - + "ctives\0227.google.monitoring.v3.ListServic" - + "eLevelObjectivesRequest\0328.google.monitor" - + "ing.v3.ListServiceLevelObjectivesRespons" - + "e\"C\202\323\344\223\0024\0222/v3/{parent=*/*/services/*}/s" - + "erviceLevelObjectives\332A\006parent\022\214\002\n\033Updat" - + "eServiceLevelObjective\0228.google.monitori" - + "ng.v3.UpdateServiceLevelObjectiveRequest" - + "\032+.google.monitoring.v3.ServiceLevelObje" - + "ctive\"\205\001\202\323\344\223\002e2J/v3/{service_level_objec" - + "tive.name=*/*/services/*/serviceLevelObj" - + "ectives/*}:\027service_level_objective\332A\027se" - + "rvice_level_objective\022\262\001\n\033DeleteServiceL" - + "evelObjective\0228.google.monitoring.v3.Del" - + "eteServiceLevelObjectiveRequest\032\026.google" - + ".protobuf.Empty\"A\202\323\344\223\0024*2/v3/{name=*/*/s" - + "ervices/*/serviceLevelObjectives/*}\332A\004na" - + "me\032\251\001\312A\031monitoring.googleapis.com\322A\211\001htt" - + "ps://www.googleapis.com/auth/cloud-platf" - + "orm,https://www.googleapis.com/auth/moni" - + "toring,https://www.googleapis.com/auth/m" - + "onitoring.readB\325\001\n\030com.google.monitoring" - + ".v3B\035ServiceMonitoringServiceProtoP\001Z>go" - + "ogle.golang.org/genproto/googleapis/moni" - + "toring/v3;monitoring\252\002\032Google.Cloud.Moni" - + "toring.V3\312\002\032Google\\Cloud\\Monitoring\\V3\352\002" - + "\035Google::Cloud::Monitoring::V3b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.monitoring.v3.ServiceMonitoringProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_monitoring_v3_CreateServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_monitoring_v3_CreateServiceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_CreateServiceRequest_descriptor, - new java.lang.String[] { - "Parent", "ServiceId", "Service", - }); - internal_static_google_monitoring_v3_GetServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_monitoring_v3_GetServiceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_GetServiceRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_monitoring_v3_ListServicesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_monitoring_v3_ListServicesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListServicesRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageSize", "PageToken", - }); - internal_static_google_monitoring_v3_ListServicesResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_monitoring_v3_ListServicesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListServicesResponse_descriptor, - new java.lang.String[] { - "Services", "NextPageToken", - }); - internal_static_google_monitoring_v3_UpdateServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_monitoring_v3_UpdateServiceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_UpdateServiceRequest_descriptor, - new java.lang.String[] { - "Service", "UpdateMask", - }); - internal_static_google_monitoring_v3_DeleteServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_monitoring_v3_DeleteServiceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_DeleteServiceRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_monitoring_v3_CreateServiceLevelObjectiveRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_monitoring_v3_CreateServiceLevelObjectiveRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_CreateServiceLevelObjectiveRequest_descriptor, - new java.lang.String[] { - "Parent", "ServiceLevelObjectiveId", "ServiceLevelObjective", - }); - internal_static_google_monitoring_v3_GetServiceLevelObjectiveRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_monitoring_v3_GetServiceLevelObjectiveRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_GetServiceLevelObjectiveRequest_descriptor, - new java.lang.String[] { - "Name", "View", - }); - internal_static_google_monitoring_v3_ListServiceLevelObjectivesRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_monitoring_v3_ListServiceLevelObjectivesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListServiceLevelObjectivesRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageSize", "PageToken", "View", - }); - internal_static_google_monitoring_v3_ListServiceLevelObjectivesResponse_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_monitoring_v3_ListServiceLevelObjectivesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListServiceLevelObjectivesResponse_descriptor, - new java.lang.String[] { - "ServiceLevelObjectives", "NextPageToken", - }); - internal_static_google_monitoring_v3_UpdateServiceLevelObjectiveRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_monitoring_v3_UpdateServiceLevelObjectiveRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_UpdateServiceLevelObjectiveRequest_descriptor, - new java.lang.String[] { - "ServiceLevelObjective", "UpdateMask", - }); - internal_static_google_monitoring_v3_DeleteServiceLevelObjectiveRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_monitoring_v3_DeleteServiceLevelObjectiveRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_DeleteServiceLevelObjectiveRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.monitoring.v3.ServiceMonitoringProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContextProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContextProto.java deleted file mode 100644 index d6d5b203..00000000 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContextProto.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/monitoring/v3/span_context.proto - -package com.google.monitoring.v3; - -public final class SpanContextProto { - private SpanContextProto() {} - - 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_monitoring_v3_SpanContext_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_SpanContext_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/monitoring/v3/span_context.prot" - + "o\022\024google.monitoring.v3\" \n\013SpanContext\022\021" - + "\n\tspan_name\030\001 \001(\tB\310\001\n\030com.google.monitor" - + "ing.v3B\020SpanContextProtoP\001Z>google.golan" - + "g.org/genproto/googleapis/monitoring/v3;" - + "monitoring\252\002\032Google.Cloud.Monitoring.V3\312" - + "\002\032Google\\Cloud\\Monitoring\\V3\352\002\035Google::C" - + "loud::Monitoring::V3b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_monitoring_v3_SpanContext_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_monitoring_v3_SpanContext_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_SpanContext_descriptor, - new java.lang.String[] { - "SpanName", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeProto.java deleted file mode 100644 index e8ca93da..00000000 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeProto.java +++ /dev/null @@ -1,267 +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/monitoring/v3/uptime.proto - -package com.google.monitoring.v3; - -public final class UptimeProto { - private UptimeProto() {} - - 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_monitoring_v3_InternalChecker_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_InternalChecker_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_UptimeCheckConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_UptimeCheckConfig_ResourceGroup_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_UptimeCheckConfig_ResourceGroup_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_BasicAuthentication_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_BasicAuthentication_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_HeadersEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_HeadersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_UptimeCheckConfig_TcpCheck_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_UptimeCheckConfig_TcpCheck_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_UptimeCheckConfig_ContentMatcher_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_UptimeCheckConfig_ContentMatcher_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_UptimeCheckIp_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_UptimeCheckIp_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/monitoring/v3/uptime.proto\022\024goo" - + "gle.monitoring.v3\032#google/api/monitored_" - + "resource.proto\032\031google/api/resource.prot" - + "o\032\036google/protobuf/duration.proto\"\346\001\n\017In" - + "ternalChecker\022\014\n\004name\030\001 \001(\t\022\024\n\014display_n" - + "ame\030\002 \001(\t\022\017\n\007network\030\003 \001(\t\022\020\n\010gcp_zone\030\004" - + " \001(\t\022\027\n\017peer_project_id\030\006 \001(\t\022:\n\005state\030\007" - + " \001(\0162+.google.monitoring.v3.InternalChec" - + "ker.State\"3\n\005State\022\017\n\013UNSPECIFIED\020\000\022\014\n\010C" - + "REATING\020\001\022\013\n\007RUNNING\020\002:\002\030\001\"\373\017\n\021UptimeChe" - + "ckConfig\022\014\n\004name\030\001 \001(\t\022\024\n\014display_name\030\002" - + " \001(\t\022;\n\022monitored_resource\030\003 \001(\0132\035.googl" - + "e.api.MonitoredResourceH\000\022O\n\016resource_gr" - + "oup\030\004 \001(\01325.google.monitoring.v3.UptimeC" - + "heckConfig.ResourceGroupH\000\022G\n\nhttp_check" - + "\030\005 \001(\01321.google.monitoring.v3.UptimeChec" - + "kConfig.HttpCheckH\001\022E\n\ttcp_check\030\006 \001(\01320" - + ".google.monitoring.v3.UptimeCheckConfig." - + "TcpCheckH\001\022)\n\006period\030\007 \001(\0132\031.google.prot" - + "obuf.Duration\022*\n\007timeout\030\010 \001(\0132\031.google." - + "protobuf.Duration\022P\n\020content_matchers\030\t " - + "\003(\01326.google.monitoring.v3.UptimeCheckCo" - + "nfig.ContentMatcher\022A\n\020selected_regions\030" - + "\n \003(\0162\'.google.monitoring.v3.UptimeCheck" - + "Region\022\027\n\013is_internal\030\017 \001(\010B\002\030\001\022D\n\021inter" - + "nal_checkers\030\016 \003(\0132%.google.monitoring.v" - + "3.InternalCheckerB\002\030\001\032a\n\rResourceGroup\022\020" - + "\n\010group_id\030\001 \001(\t\022>\n\rresource_type\030\002 \001(\0162" - + "\'.google.monitoring.v3.GroupResourceType" - + "\032\250\005\n\tHttpCheck\022W\n\016request_method\030\010 \001(\0162?" - + ".google.monitoring.v3.UptimeCheckConfig." - + "HttpCheck.RequestMethod\022\017\n\007use_ssl\030\001 \001(\010" - + "\022\014\n\004path\030\002 \001(\t\022\014\n\004port\030\003 \001(\005\022X\n\tauth_inf" - + "o\030\004 \001(\0132E.google.monitoring.v3.UptimeChe" - + "ckConfig.HttpCheck.BasicAuthentication\022\024" - + "\n\014mask_headers\030\005 \001(\010\022O\n\007headers\030\006 \003(\0132>." - + "google.monitoring.v3.UptimeCheckConfig.H" - + "ttpCheck.HeadersEntry\022S\n\014content_type\030\t " - + "\001(\0162=.google.monitoring.v3.UptimeCheckCo" - + "nfig.HttpCheck.ContentType\022\024\n\014validate_s" - + "sl\030\007 \001(\010\022\014\n\004body\030\n \001(\014\0329\n\023BasicAuthentic" - + "ation\022\020\n\010username\030\001 \001(\t\022\020\n\010password\030\002 \001(" - + "\t\032.\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" - + "\002 \001(\t:\0028\001\":\n\rRequestMethod\022\026\n\022METHOD_UNS" - + "PECIFIED\020\000\022\007\n\003GET\020\001\022\010\n\004POST\020\002\"4\n\013Content" - + "Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\017\n\013URL_ENCODE" - + "D\020\001\032\030\n\010TcpCheck\022\014\n\004port\030\001 \001(\005\032\230\002\n\016Conten" - + "tMatcher\022\017\n\007content\030\001 \001(\t\022\\\n\007matcher\030\002 \001" - + "(\0162K.google.monitoring.v3.UptimeCheckCon" - + "fig.ContentMatcher.ContentMatcherOption\"" - + "\226\001\n\024ContentMatcherOption\022&\n\"CONTENT_MATC" - + "HER_OPTION_UNSPECIFIED\020\000\022\023\n\017CONTAINS_STR" - + "ING\020\001\022\027\n\023NOT_CONTAINS_STRING\020\002\022\021\n\rMATCHE" - + "S_REGEX\020\003\022\025\n\021NOT_MATCHES_REGEX\020\004:\363\001\352A\357\001\n" - + "+monitoring.googleapis.com/UptimeCheckCo" - + "nfig\022;projects/{project}/uptimeCheckConf" - + "igs/{uptime_check_config}\022Eorganizations" - + "/{organization}/uptimeCheckConfigs/{upti" - + "me_check_config}\0229folders/{folder}/uptim" - + "eCheckConfigs/{uptime_check_config}\022\001*B\n" - + "\n\010resourceB\024\n\022check_request_type\"n\n\rUpti" - + "meCheckIp\0227\n\006region\030\001 \001(\0162\'.google.monit" - + "oring.v3.UptimeCheckRegion\022\020\n\010location\030\002" - + " \001(\t\022\022\n\nip_address\030\003 \001(\t*e\n\021UptimeCheckR" - + "egion\022\026\n\022REGION_UNSPECIFIED\020\000\022\007\n\003USA\020\001\022\n" - + "\n\006EUROPE\020\002\022\021\n\rSOUTH_AMERICA\020\003\022\020\n\014ASIA_PA" - + "CIFIC\020\004*[\n\021GroupResourceType\022\035\n\031RESOURCE" - + "_TYPE_UNSPECIFIED\020\000\022\014\n\010INSTANCE\020\001\022\031\n\025AWS" - + "_ELB_LOAD_BALANCER\020\002B\303\001\n\030com.google.moni" - + "toring.v3B\013UptimeProtoP\001Z>google.golang." - + "org/genproto/googleapis/monitoring/v3;mo" - + "nitoring\252\002\032Google.Cloud.Monitoring.V3\312\002\032" - + "Google\\Cloud\\Monitoring\\V3\352\002\035Google::Clo" - + "ud::Monitoring::V3b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.MonitoredResourceProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - }); - internal_static_google_monitoring_v3_InternalChecker_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_monitoring_v3_InternalChecker_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_InternalChecker_descriptor, - new java.lang.String[] { - "Name", "DisplayName", "Network", "GcpZone", "PeerProjectId", "State", - }); - internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_monitoring_v3_UptimeCheckConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor, - new java.lang.String[] { - "Name", - "DisplayName", - "MonitoredResource", - "ResourceGroup", - "HttpCheck", - "TcpCheck", - "Period", - "Timeout", - "ContentMatchers", - "SelectedRegions", - "IsInternal", - "InternalCheckers", - "Resource", - "CheckRequestType", - }); - internal_static_google_monitoring_v3_UptimeCheckConfig_ResourceGroup_descriptor = - internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor.getNestedTypes().get(0); - internal_static_google_monitoring_v3_UptimeCheckConfig_ResourceGroup_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_UptimeCheckConfig_ResourceGroup_descriptor, - new java.lang.String[] { - "GroupId", "ResourceType", - }); - internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_descriptor = - internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor.getNestedTypes().get(1); - internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_descriptor, - new java.lang.String[] { - "RequestMethod", - "UseSsl", - "Path", - "Port", - "AuthInfo", - "MaskHeaders", - "Headers", - "ContentType", - "ValidateSsl", - "Body", - }); - internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_BasicAuthentication_descriptor = - internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_descriptor - .getNestedTypes() - .get(0); - internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_BasicAuthentication_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_BasicAuthentication_descriptor, - new java.lang.String[] { - "Username", "Password", - }); - internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_HeadersEntry_descriptor = - internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_descriptor - .getNestedTypes() - .get(1); - internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_HeadersEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_HeadersEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_monitoring_v3_UptimeCheckConfig_TcpCheck_descriptor = - internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor.getNestedTypes().get(2); - internal_static_google_monitoring_v3_UptimeCheckConfig_TcpCheck_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_UptimeCheckConfig_TcpCheck_descriptor, - new java.lang.String[] { - "Port", - }); - internal_static_google_monitoring_v3_UptimeCheckConfig_ContentMatcher_descriptor = - internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor.getNestedTypes().get(3); - internal_static_google_monitoring_v3_UptimeCheckConfig_ContentMatcher_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_UptimeCheckConfig_ContentMatcher_descriptor, - new java.lang.String[] { - "Content", "Matcher", - }); - internal_static_google_monitoring_v3_UptimeCheckIp_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_monitoring_v3_UptimeCheckIp_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_UptimeCheckIp_descriptor, - new java.lang.String[] { - "Region", "Location", "IpAddress", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.MonitoredResourceProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeServiceProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeServiceProto.java deleted file mode 100644 index 31841ced..00000000 --- a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeServiceProto.java +++ /dev/null @@ -1,245 +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/monitoring/v3/uptime_service.proto - -package com.google.monitoring.v3; - -public final class UptimeServiceProto { - private UptimeServiceProto() {} - - 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_monitoring_v3_ListUptimeCheckConfigsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListUptimeCheckConfigsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ListUptimeCheckConfigsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListUptimeCheckConfigsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_GetUptimeCheckConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_GetUptimeCheckConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_CreateUptimeCheckConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_CreateUptimeCheckConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_UpdateUptimeCheckConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_UpdateUptimeCheckConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_DeleteUptimeCheckConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_DeleteUptimeCheckConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ListUptimeCheckIpsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListUptimeCheckIpsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ListUptimeCheckIpsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListUptimeCheckIpsResponse_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/monitoring/v3/uptime_service.pr" - + "oto\022\024google.monitoring.v3\032\034google/api/an" - + "notations.proto\032\027google/api/client.proto" - + "\032\037google/api/field_behavior.proto\032\031googl" - + "e/api/resource.proto\032#google/longrunning" - + "/operations.proto\032!google/monitoring/v3/" - + "uptime.proto\032\036google/protobuf/duration.p" - + "roto\032\033google/protobuf/empty.proto\032 googl" - + "e/protobuf/field_mask.proto\"\213\001\n\035ListUpti" - + "meCheckConfigsRequest\022C\n\006parent\030\001 \001(\tB3\340" - + "A\002\372A-\022+monitoring.googleapis.com/UptimeC" - + "heckConfig\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_to" - + "ken\030\004 \001(\t\"\224\001\n\036ListUptimeCheckConfigsResp" - + "onse\022E\n\024uptime_check_configs\030\001 \003(\0132\'.goo" - + "gle.monitoring.v3.UptimeCheckConfig\022\027\n\017n" - + "ext_page_token\030\002 \001(\t\022\022\n\ntotal_size\030\003 \001(\005" - + "\"`\n\033GetUptimeCheckConfigRequest\022A\n\004name\030" - + "\001 \001(\tB3\340A\002\372A-\n+monitoring.googleapis.com" - + "/UptimeCheckConfig\"\260\001\n\036CreateUptimeCheck" - + "ConfigRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\022+m" - + "onitoring.googleapis.com/UptimeCheckConf" - + "ig\022I\n\023uptime_check_config\030\002 \001(\0132\'.google" - + ".monitoring.v3.UptimeCheckConfigB\003\340A\002\"\234\001" - + "\n\036UpdateUptimeCheckConfigRequest\022/\n\013upda" - + "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" - + "k\022I\n\023uptime_check_config\030\003 \001(\0132\'.google." - + "monitoring.v3.UptimeCheckConfigB\003\340A\002\"c\n\036" - + "DeleteUptimeCheckConfigRequest\022A\n\004name\030\001" - + " \001(\tB3\340A\002\372A-\n+monitoring.googleapis.com/" - + "UptimeCheckConfig\"B\n\031ListUptimeCheckIpsR" - + "equest\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030" - + "\003 \001(\t\"t\n\032ListUptimeCheckIpsResponse\022=\n\020u" - + "ptime_check_ips\030\001 \003(\0132#.google.monitorin" - + "g.v3.UptimeCheckIp\022\027\n\017next_page_token\030\002 " - + "\001(\t2\275\n\n\022UptimeCheckService\022\300\001\n\026ListUptim" - + "eCheckConfigs\0223.google.monitoring.v3.Lis" - + "tUptimeCheckConfigsRequest\0324.google.moni" - + "toring.v3.ListUptimeCheckConfigsResponse" - + "\";\202\323\344\223\002,\022*/v3/{parent=projects/*}/uptime" - + "CheckConfigs\332A\006parent\022\255\001\n\024GetUptimeCheck" - + "Config\0221.google.monitoring.v3.GetUptimeC" - + "heckConfigRequest\032\'.google.monitoring.v3" - + ".UptimeCheckConfig\"9\202\323\344\223\002,\022*/v3/{name=pr" - + "ojects/*/uptimeCheckConfigs/*}\332A\004name\022\336\001" - + "\n\027CreateUptimeCheckConfig\0224.google.monit" - + "oring.v3.CreateUptimeCheckConfigRequest\032" - + "\'.google.monitoring.v3.UptimeCheckConfig" - + "\"d\202\323\344\223\002A\"*/v3/{parent=projects/*}/uptime" - + "CheckConfigs:\023uptime_check_config\332A\032pare" - + "nt,uptime_check_config\022\353\001\n\027UpdateUptimeC" - + "heckConfig\0224.google.monitoring.v3.Update" - + "UptimeCheckConfigRequest\032\'.google.monito" - + "ring.v3.UptimeCheckConfig\"q\202\323\344\223\002U2>/v3/{" - + "uptime_check_config.name=projects/*/upti" - + "meCheckConfigs/*}:\023uptime_check_config\332A" - + "\023uptime_check_config\022\242\001\n\027DeleteUptimeChe" - + "ckConfig\0224.google.monitoring.v3.DeleteUp" - + "timeCheckConfigRequest\032\026.google.protobuf" - + ".Empty\"9\202\323\344\223\002,**/v3/{name=projects/*/upt" - + "imeCheckConfigs/*}\332A\004name\022\223\001\n\022ListUptime" - + "CheckIps\022/.google.monitoring.v3.ListUpti" - + "meCheckIpsRequest\0320.google.monitoring.v3" - + ".ListUptimeCheckIpsResponse\"\032\202\323\344\223\002\024\022\022/v3" - + "/uptimeCheckIps\032\251\001\312A\031monitoring.googleap" - + "is.com\322A\211\001https://www.googleapis.com/aut" - + "h/cloud-platform,https://www.googleapis." - + "com/auth/monitoring,https://www.googleap" - + "is.com/auth/monitoring.readB\312\001\n\030com.goog" - + "le.monitoring.v3B\022UptimeServiceProtoP\001Z>" - + "google.golang.org/genproto/googleapis/mo" - + "nitoring/v3;monitoring\252\002\032Google.Cloud.Mo" - + "nitoring.V3\312\002\032Google\\Cloud\\Monitoring\\V3" - + "\352\002\035Google::Cloud::Monitoring::V3b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.monitoring.v3.UptimeProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_monitoring_v3_ListUptimeCheckConfigsRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_monitoring_v3_ListUptimeCheckConfigsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListUptimeCheckConfigsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_monitoring_v3_ListUptimeCheckConfigsResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_monitoring_v3_ListUptimeCheckConfigsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListUptimeCheckConfigsResponse_descriptor, - new java.lang.String[] { - "UptimeCheckConfigs", "NextPageToken", "TotalSize", - }); - internal_static_google_monitoring_v3_GetUptimeCheckConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_monitoring_v3_GetUptimeCheckConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_GetUptimeCheckConfigRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_monitoring_v3_CreateUptimeCheckConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_monitoring_v3_CreateUptimeCheckConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_CreateUptimeCheckConfigRequest_descriptor, - new java.lang.String[] { - "Parent", "UptimeCheckConfig", - }); - internal_static_google_monitoring_v3_UpdateUptimeCheckConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_monitoring_v3_UpdateUptimeCheckConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_UpdateUptimeCheckConfigRequest_descriptor, - new java.lang.String[] { - "UpdateMask", "UptimeCheckConfig", - }); - internal_static_google_monitoring_v3_DeleteUptimeCheckConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_monitoring_v3_DeleteUptimeCheckConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_DeleteUptimeCheckConfigRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_monitoring_v3_ListUptimeCheckIpsRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_monitoring_v3_ListUptimeCheckIpsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListUptimeCheckIpsRequest_descriptor, - new java.lang.String[] { - "PageSize", "PageToken", - }); - internal_static_google_monitoring_v3_ListUptimeCheckIpsResponse_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_monitoring_v3_ListUptimeCheckIpsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListUptimeCheckIpsResponse_descriptor, - new java.lang.String[] { - "UptimeCheckIps", "NextPageToken", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.monitoring.v3.UptimeProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} From ee6fc28c7e75d59a641efcd4c9cfae6e1766abe7 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 16 Nov 2021 17:53:50 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .../v3/AlertPolicyServiceClient.java | 26 +- .../v3/AlertPolicyServiceSettings.java | 7 +- .../monitoring/v3/GroupServiceClient.java | 44 +- .../monitoring/v3/GroupServiceSettings.java | 7 +- .../monitoring/v3/MetricServiceClient.java | 82 +- .../monitoring/v3/MetricServiceSettings.java | 19 +- .../v3/NotificationChannelServiceClient.java | 80 +- .../NotificationChannelServiceSettings.java | 19 +- .../monitoring/v3/QueryServiceClient.java | 16 +- .../monitoring/v3/QueryServiceSettings.java | 7 +- .../v3/ServiceMonitoringServiceClient.java | 58 +- .../v3/ServiceMonitoringServiceSettings.java | 13 +- .../v3/UptimeCheckServiceClient.java | 52 +- .../v3/UptimeCheckServiceSettings.java | 13 +- .../cloud/monitoring/v3/gapic_metadata.json | 0 .../cloud/monitoring/v3/package-info.java | 0 .../v3/stub/AlertPolicyServiceStub.java | 0 .../stub/AlertPolicyServiceStubSettings.java | 9 +- .../monitoring/v3/stub/GroupServiceStub.java | 0 .../v3/stub/GroupServiceStubSettings.java | 6 +- ...GrpcAlertPolicyServiceCallableFactory.java | 0 .../v3/stub/GrpcAlertPolicyServiceStub.java | 1 - .../stub/GrpcGroupServiceCallableFactory.java | 0 .../v3/stub/GrpcGroupServiceStub.java | 1 - .../GrpcMetricServiceCallableFactory.java | 0 .../v3/stub/GrpcMetricServiceStub.java | 1 - ...ficationChannelServiceCallableFactory.java | 0 .../GrpcNotificationChannelServiceStub.java | 1 - .../stub/GrpcQueryServiceCallableFactory.java | 0 .../v3/stub/GrpcQueryServiceStub.java | 1 - ...rviceMonitoringServiceCallableFactory.java | 0 .../GrpcServiceMonitoringServiceStub.java | 1 - ...GrpcUptimeCheckServiceCallableFactory.java | 0 .../v3/stub/GrpcUptimeCheckServiceStub.java | 1 - .../monitoring/v3/stub/MetricServiceStub.java | 0 .../v3/stub/MetricServiceStubSettings.java | 51 +- .../stub/NotificationChannelServiceStub.java | 0 ...otificationChannelServiceStubSettings.java | 57 +- .../monitoring/v3/stub/QueryServiceStub.java | 0 .../v3/stub/QueryServiceStubSettings.java | 6 +- .../v3/stub/ServiceMonitoringServiceStub.java | 0 .../ServiceMonitoringServiceStubSettings.java | 33 +- .../v3/stub/UptimeCheckServiceStub.java | 0 .../stub/UptimeCheckServiceStubSettings.java | 30 +- .../v3/AlertPolicyServiceClientTest.java | 0 .../monitoring/v3/GroupServiceClientTest.java | 0 .../v3/MetricServiceClientTest.java | 0 .../monitoring/v3/MockAlertPolicyService.java | 0 .../v3/MockAlertPolicyServiceImpl.java | 0 .../cloud/monitoring/v3/MockGroupService.java | 0 .../monitoring/v3/MockGroupServiceImpl.java | 0 .../monitoring/v3/MockMetricService.java | 0 .../monitoring/v3/MockMetricServiceImpl.java | 0 .../v3/MockNotificationChannelService.java | 0 .../MockNotificationChannelServiceImpl.java | 0 .../cloud/monitoring/v3/MockQueryService.java | 0 .../monitoring/v3/MockQueryServiceImpl.java | 0 .../v3/MockServiceMonitoringService.java | 0 .../v3/MockServiceMonitoringServiceImpl.java | 0 .../monitoring/v3/MockUptimeCheckService.java | 0 .../v3/MockUptimeCheckServiceImpl.java | 0 .../NotificationChannelServiceClientTest.java | 0 .../monitoring/v3/QueryServiceClientTest.java | 0 .../ServiceMonitoringServiceClientTest.java | 0 .../v3/UptimeCheckServiceClientTest.java | 0 .../monitoring/v3/AlertPolicyServiceGrpc.java | 587 +- .../monitoring/v3/GroupServiceGrpc.java | 645 +- .../monitoring/v3/MetricServiceGrpc.java | 1386 +++ .../v3/NotificationChannelServiceGrpc.java | 1658 ++++ .../monitoring/v3/QueryServiceGrpc.java | 229 +- .../v3/ServiceMonitoringServiceGrpc.java | 1449 ++++ .../monitoring/v3/UptimeCheckServiceGrpc.java | 1032 +++ .../monitoring/v3/MetricServiceGrpc.java | 1064 --- .../v3/NotificationChannelServiceGrpc.java | 1202 --- .../v3/ServiceMonitoringServiceGrpc.java | 1092 --- .../monitoring/v3/UptimeCheckServiceGrpc.java | 792 -- .../com/google/monitoring/v3/AlertProto.java | 275 - .../monitoring/v3/AlertServiceProto.java | 182 - .../com/google/monitoring/v3/CommonProto.java | 120 - ...eateUptimeCheckConfigRequestOrBuilder.java | 60 - .../v3/DeleteAlertPolicyRequestOrBuilder.java | 33 - ...eleteMetricDescriptorRequestOrBuilder.java | 35 - ...ServiceLevelObjectiveRequestOrBuilder.java | 31 - .../v3/DeleteServiceRequestOrBuilder.java | 31 - ...leteUptimeCheckConfigRequestOrBuilder.java | 31 - .../monitoring/v3/DroppedLabelsProto.java | 67 - .../v3/GetAlertPolicyRequestOrBuilder.java | 31 - .../v3/GetGroupRequestOrBuilder.java | 31 - .../GetMetricDescriptorRequestOrBuilder.java | 35 - ...redResourceDescriptorRequestOrBuilder.java | 35 - ...tionChannelDescriptorRequestOrBuilder.java | 31 - ...etNotificationChannelRequestOrBuilder.java | 31 - .../v3/GetServiceRequestOrBuilder.java | 31 - .../GetUptimeCheckConfigRequestOrBuilder.java | 31 - .../com/google/monitoring/v3/GroupProto.java | 66 - .../monitoring/v3/GroupServiceProto.java | 217 - .../com/google/monitoring/v3/MetricProto.java | 206 - .../monitoring/v3/MetricServiceProto.java | 408 - .../monitoring/v3/MutationRecordProto.java | 57 - .../monitoring/v3/NotificationProto.java | 145 - .../v3/NotificationServiceProto.java | 327 - .../monitoring/v3/QueryServiceProto.java | 71 - .../google/monitoring/v3/RangeOrBuilder.java | 29 - ...annelVerificationCodeRequestOrBuilder.java | 29 - .../monitoring/v3/ServiceMonitoringProto.java | 392 - .../v3/ServiceMonitoringServiceProto.java | 296 - .../monitoring/v3/SpanContextProto.java | 53 - .../com/google/monitoring/v3/UptimeProto.java | 218 - .../monitoring/v3/UptimeServiceProto.java | 223 - .../com/google/monitoring/v3/Aggregation.java | 863 +- .../monitoring/v3/AggregationOrBuilder.java | 56 +- .../com/google/monitoring/v3/AlertPolicy.java | 7558 +++++++++++------ .../google/monitoring/v3/AlertPolicyName.java | 0 .../monitoring/v3/AlertPolicyOrBuilder.java | 158 +- .../com/google/monitoring/v3/AlertProto.java | 339 + .../monitoring/v3/AlertServiceProto.java | 202 + .../com/google/monitoring/v3/BasicSli.java | 1360 +-- .../monitoring/v3/BasicSliOrBuilder.java | 88 +- .../com/google/monitoring/v3/CommonProto.java | 137 + .../google/monitoring/v3/ComparisonType.java | 110 +- .../v3/CreateAlertPolicyRequest.java | 490 +- .../v3/CreateAlertPolicyRequestOrBuilder.java | 55 +- .../monitoring/v3/CreateGroupRequest.java | 454 +- .../v3/CreateGroupRequestOrBuilder.java | 46 +- .../v3/CreateMetricDescriptorRequest.java | 492 +- ...reateMetricDescriptorRequestOrBuilder.java | 55 +- .../v3/CreateNotificationChannelRequest.java | 493 +- ...teNotificationChannelRequestOrBuilder.java | 55 +- .../CreateServiceLevelObjectiveRequest.java | 583 +- ...ServiceLevelObjectiveRequestOrBuilder.java | 64 +- .../monitoring/v3/CreateServiceRequest.java | 532 +- .../v3/CreateServiceRequestOrBuilder.java | 61 +- .../monitoring/v3/CreateTimeSeriesError.java | 475 +- .../v3/CreateTimeSeriesErrorOrBuilder.java | 52 +- .../v3/CreateTimeSeriesRequest.java | 576 +- .../v3/CreateTimeSeriesRequestOrBuilder.java | 73 +- .../v3/CreateTimeSeriesSummary.java | 784 +- .../v3/CreateTimeSeriesSummaryOrBuilder.java | 42 +- .../v3/CreateUptimeCheckConfigRequest.java | 491 +- ...eateUptimeCheckConfigRequestOrBuilder.java | 99 + .../v3/DeleteAlertPolicyRequest.java | 339 +- .../v3/DeleteAlertPolicyRequestOrBuilder.java | 58 + .../monitoring/v3/DeleteGroupRequest.java | 366 +- .../v3/DeleteGroupRequestOrBuilder.java | 38 +- .../v3/DeleteMetricDescriptorRequest.java | 342 +- ...eleteMetricDescriptorRequestOrBuilder.java | 60 + .../v3/DeleteNotificationChannelRequest.java | 382 +- ...teNotificationChannelRequestOrBuilder.java | 38 +- .../DeleteServiceLevelObjectiveRequest.java | 345 +- ...ServiceLevelObjectiveRequestOrBuilder.java | 56 + .../monitoring/v3/DeleteServiceRequest.java | 329 +- .../v3/DeleteServiceRequestOrBuilder.java | 56 + .../v3/DeleteUptimeCheckConfigRequest.java | 345 +- ...leteUptimeCheckConfigRequestOrBuilder.java | 56 + .../google/monitoring/v3/DistributionCut.java | 386 +- .../v3/DistributionCutOrBuilder.java | 35 +- .../google/monitoring/v3/DroppedLabels.java | 483 +- .../monitoring/v3/DroppedLabelsOrBuilder.java | 50 +- .../monitoring/v3/DroppedLabelsProto.java | 81 + .../com/google/monitoring/v3/FolderName.java | 0 .../monitoring/v3/GetAlertPolicyRequest.java | 329 +- .../v3/GetAlertPolicyRequestOrBuilder.java | 56 + .../google/monitoring/v3/GetGroupRequest.java | 326 +- .../v3/GetGroupRequestOrBuilder.java | 56 + .../v3/GetMetricDescriptorRequest.java | 339 +- .../GetMetricDescriptorRequestOrBuilder.java | 60 + ...GetMonitoredResourceDescriptorRequest.java | 364 +- ...redResourceDescriptorRequestOrBuilder.java | 60 + ...tNotificationChannelDescriptorRequest.java | 367 +- ...tionChannelDescriptorRequestOrBuilder.java | 56 + .../v3/GetNotificationChannelRequest.java | 342 +- ...etNotificationChannelRequestOrBuilder.java | 56 + ...icationChannelVerificationCodeRequest.java | 478 +- ...annelVerificationCodeRequestOrBuilder.java | 43 +- ...cationChannelVerificationCodeResponse.java | 460 +- ...nnelVerificationCodeResponseOrBuilder.java | 35 +- .../v3/GetServiceLevelObjectiveRequest.java | 409 +- ...ServiceLevelObjectiveRequestOrBuilder.java | 41 +- .../monitoring/v3/GetServiceRequest.java | 329 +- .../v3/GetServiceRequestOrBuilder.java | 56 + .../v3/GetUptimeCheckConfigRequest.java | 339 +- .../GetUptimeCheckConfigRequestOrBuilder.java | 56 + .../java/com/google/monitoring/v3/Group.java | 562 +- .../com/google/monitoring/v3/GroupName.java | 0 .../google/monitoring/v3/GroupOrBuilder.java | 57 +- .../com/google/monitoring/v3/GroupProto.java | 81 + .../monitoring/v3/GroupResourceType.java | 80 +- .../monitoring/v3/GroupServiceProto.java | 245 + .../google/monitoring/v3/InternalChecker.java | 735 +- .../v3/InternalCheckerOrBuilder.java | 70 +- .../com/google/monitoring/v3/LabelValue.java | 463 +- .../monitoring/v3/LabelValueOrBuilder.java | 42 +- .../v3/ListAlertPoliciesRequest.java | 612 +- .../v3/ListAlertPoliciesRequestOrBuilder.java | 65 +- .../v3/ListAlertPoliciesResponse.java | 492 +- .../ListAlertPoliciesResponseOrBuilder.java | 48 +- .../v3/ListGroupMembersRequest.java | 629 +- .../v3/ListGroupMembersRequestOrBuilder.java | 64 +- .../v3/ListGroupMembersResponse.java | 498 +- .../v3/ListGroupMembersResponseOrBuilder.java | 49 +- .../monitoring/v3/ListGroupsRequest.java | 773 +- .../v3/ListGroupsRequestOrBuilder.java | 83 +- .../monitoring/v3/ListGroupsResponse.java | 454 +- .../v3/ListGroupsResponseOrBuilder.java | 46 +- .../v3/ListMetricDescriptorsRequest.java | 536 +- ...ListMetricDescriptorsRequestOrBuilder.java | 56 +- .../v3/ListMetricDescriptorsResponse.java | 461 +- ...istMetricDescriptorsResponseOrBuilder.java | 45 +- ...stMonitoredResourceDescriptorsRequest.java | 561 +- ...edResourceDescriptorsRequestOrBuilder.java | 56 +- ...tMonitoredResourceDescriptorsResponse.java | 476 +- ...dResourceDescriptorsResponseOrBuilder.java | 45 +- ...NotificationChannelDescriptorsRequest.java | 491 +- ...ionChannelDescriptorsRequestOrBuilder.java | 47 +- ...otificationChannelDescriptorsResponse.java | 587 +- ...onChannelDescriptorsResponseOrBuilder.java | 56 +- .../v3/ListNotificationChannelsRequest.java | 618 +- ...tNotificationChannelsRequestOrBuilder.java | 65 +- .../v3/ListNotificationChannelsResponse.java | 486 +- ...NotificationChannelsResponseOrBuilder.java | 48 +- .../v3/ListServiceLevelObjectivesRequest.java | 601 +- ...erviceLevelObjectivesRequestOrBuilder.java | 62 +- .../ListServiceLevelObjectivesResponse.java | 515 +- ...rviceLevelObjectivesResponseOrBuilder.java | 42 +- .../monitoring/v3/ListServicesRequest.java | 523 +- .../v3/ListServicesRequestOrBuilder.java | 56 +- .../monitoring/v3/ListServicesResponse.java | 448 +- .../v3/ListServicesResponseOrBuilder.java | 46 +- .../monitoring/v3/ListTimeSeriesRequest.java | 1100 ++- .../v3/ListTimeSeriesRequestOrBuilder.java | 115 +- .../monitoring/v3/ListTimeSeriesResponse.java | 675 +- .../v3/ListTimeSeriesResponseOrBuilder.java | 73 +- .../v3/ListUptimeCheckConfigsRequest.java | 455 +- ...istUptimeCheckConfigsRequestOrBuilder.java | 47 +- .../v3/ListUptimeCheckConfigsResponse.java | 480 +- ...stUptimeCheckConfigsResponseOrBuilder.java | 48 +- .../v3/ListUptimeCheckIpsRequest.java | 345 +- .../ListUptimeCheckIpsRequestOrBuilder.java | 30 +- .../v3/ListUptimeCheckIpsResponse.java | 455 +- .../ListUptimeCheckIpsResponseOrBuilder.java | 45 +- .../monitoring/v3/MetricDescriptorName.java | 0 .../com/google/monitoring/v3/MetricProto.java | 232 + .../monitoring/v3/MetricServiceProto.java | 449 + .../v3/MonitoredResourceDescriptorName.java | 0 .../google/monitoring/v3/MutationRecord.java | 394 +- .../v3/MutationRecordOrBuilder.java | 35 +- .../monitoring/v3/MutationRecordProto.java | 72 + .../monitoring/v3/NotificationChannel.java | 1535 ++-- .../v3/NotificationChannelDescriptor.java | 976 ++- .../v3/NotificationChannelDescriptorName.java | 0 ...otificationChannelDescriptorOrBuilder.java | 125 +- .../v3/NotificationChannelName.java | 0 .../v3/NotificationChannelOrBuilder.java | 164 +- .../monitoring/v3/NotificationProto.java | 178 + .../v3/NotificationServiceProto.java | 354 + .../monitoring/v3/OrganizationName.java | 0 .../java/com/google/monitoring/v3/Point.java | 406 +- .../google/monitoring/v3/PointOrBuilder.java | 34 +- .../com/google/monitoring/v3/ProjectName.java | 0 .../com/google/monitoring/v3/QueryError.java | 393 +- .../google/monitoring/v3/QueryErrorList.java | 446 +- .../v3/QueryErrorListOrBuilder.java | 46 +- .../monitoring/v3/QueryErrorOrBuilder.java | 35 +- .../monitoring/v3/QueryServiceProto.java | 84 + .../monitoring/v3/QueryTimeSeriesRequest.java | 498 +- .../v3/QueryTimeSeriesRequestOrBuilder.java | 48 +- .../v3/QueryTimeSeriesResponse.java | 704 +- .../v3/QueryTimeSeriesResponseOrBuilder.java | 72 +- .../java/com/google/monitoring/v3/Range.java | 290 +- .../google/monitoring/v3/RangeOrBuilder.java | 51 + .../google/monitoring/v3/RequestBasedSli.java | 476 +- .../v3/RequestBasedSliOrBuilder.java | 34 +- ...icationChannelVerificationCodeRequest.java | 394 +- ...annelVerificationCodeRequestOrBuilder.java | 54 + .../com/google/monitoring/v3/Service.java | 4082 +++++---- .../monitoring/v3/ServiceLevelIndicator.java | 594 +- .../v3/ServiceLevelIndicatorOrBuilder.java | 42 +- .../monitoring/v3/ServiceLevelObjective.java | 1064 ++- .../v3/ServiceLevelObjectiveName.java | 0 .../v3/ServiceLevelObjectiveOrBuilder.java | 96 +- .../monitoring/v3/ServiceMonitoringProto.java | 448 + .../v3/ServiceMonitoringServiceProto.java | 322 + .../com/google/monitoring/v3/ServiceName.java | 0 .../monitoring/v3/ServiceOrBuilder.java | 127 +- .../com/google/monitoring/v3/ServiceTier.java | 83 +- .../com/google/monitoring/v3/SpanContext.java | 294 +- .../monitoring/v3/SpanContextOrBuilder.java | 27 +- .../monitoring/v3/SpanContextProto.java | 66 + .../com/google/monitoring/v3/TextLocator.java | 954 ++- .../monitoring/v3/TextLocatorOrBuilder.java | 60 +- .../google/monitoring/v3/TimeInterval.java | 399 +- .../monitoring/v3/TimeIntervalOrBuilder.java | 34 +- .../com/google/monitoring/v3/TimeSeries.java | 853 +- .../google/monitoring/v3/TimeSeriesData.java | 990 ++- .../v3/TimeSeriesDataOrBuilder.java | 54 +- .../monitoring/v3/TimeSeriesDescriptor.java | 1192 ++- .../v3/TimeSeriesDescriptorOrBuilder.java | 74 +- .../google/monitoring/v3/TimeSeriesName.java | 0 .../monitoring/v3/TimeSeriesOrBuilder.java | 82 +- .../google/monitoring/v3/TimeSeriesRatio.java | 456 +- .../v3/TimeSeriesRatioOrBuilder.java | 45 +- .../com/google/monitoring/v3/TypedValue.java | 633 +- .../monitoring/v3/TypedValueOrBuilder.java | 56 +- .../v3/UpdateAlertPolicyRequest.java | 480 +- .../v3/UpdateAlertPolicyRequestOrBuilder.java | 46 +- .../monitoring/v3/UpdateGroupRequest.java | 350 +- .../v3/UpdateGroupRequestOrBuilder.java | 29 +- .../v3/UpdateNotificationChannelRequest.java | 483 +- ...teNotificationChannelRequestOrBuilder.java | 46 +- .../UpdateServiceLevelObjectiveRequest.java | 496 +- ...ServiceLevelObjectiveRequestOrBuilder.java | 46 +- .../monitoring/v3/UpdateServiceRequest.java | 447 +- .../v3/UpdateServiceRequestOrBuilder.java | 43 +- .../v3/UpdateUptimeCheckConfigRequest.java | 483 +- ...dateUptimeCheckConfigRequestOrBuilder.java | 46 +- .../monitoring/v3/UptimeCheckConfig.java | 4774 +++++++---- .../monitoring/v3/UptimeCheckConfigName.java | 0 .../v3/UptimeCheckConfigOrBuilder.java | 184 +- .../google/monitoring/v3/UptimeCheckIp.java | 429 +- .../monitoring/v3/UptimeCheckIpOrBuilder.java | 42 +- .../monitoring/v3/UptimeCheckRegion.java | 94 +- .../com/google/monitoring/v3/UptimeProto.java | 267 + .../monitoring/v3/UptimeServiceProto.java | 245 + .../v3/VerifyNotificationChannelRequest.java | 424 +- ...fyNotificationChannelRequestOrBuilder.java | 44 +- .../google/monitoring/v3/WindowsBasedSli.java | 1873 ++-- .../v3/WindowsBasedSliOrBuilder.java | 77 +- .../proto/google/monitoring/v3/alert.proto | 0 .../google/monitoring/v3/alert_service.proto | 0 .../proto/google/monitoring/v3/common.proto | 0 .../google/monitoring/v3/dropped_labels.proto | 0 .../proto/google/monitoring/v3/group.proto | 0 .../google/monitoring/v3/group_service.proto | 0 .../proto/google/monitoring/v3/metric.proto | 0 .../google/monitoring/v3/metric_service.proto | 0 .../monitoring/v3/mutation_record.proto | 0 .../google/monitoring/v3/notification.proto | 0 .../monitoring/v3/notification_service.proto | 0 .../google/monitoring/v3/query_service.proto | 0 .../proto/google/monitoring/v3/service.proto | 0 .../monitoring/v3/service_service.proto | 0 .../google/monitoring/v3/span_context.proto | 0 .../proto/google/monitoring/v3/uptime.proto | 0 .../google/monitoring/v3/uptime_service.proto | 0 344 files changed, 55974 insertions(+), 35104 deletions(-) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClient.java (97%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceSettings.java (96%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/GroupServiceClient.java (96%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/GroupServiceSettings.java (96%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/MetricServiceClient.java (96%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/MetricServiceSettings.java (95%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClient.java (97%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceSettings.java (95%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/QueryServiceClient.java (95%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/QueryServiceSettings.java (95%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceClient.java (97%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceSettings.java (96%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClient.java (96%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceSettings.java (95%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/gapic_metadata.json (100%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/package-info.java (100%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/AlertPolicyServiceStub.java (100%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/AlertPolicyServiceStubSettings.java (98%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/GroupServiceStub.java (100%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/GroupServiceStubSettings.java (98%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcAlertPolicyServiceCallableFactory.java (100%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcAlertPolicyServiceStub.java (99%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcGroupServiceCallableFactory.java (100%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcGroupServiceStub.java (99%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcMetricServiceCallableFactory.java (100%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcMetricServiceStub.java (99%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcNotificationChannelServiceCallableFactory.java (100%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcNotificationChannelServiceStub.java (99%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcQueryServiceCallableFactory.java (100%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcQueryServiceStub.java (99%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcServiceMonitoringServiceCallableFactory.java (100%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcServiceMonitoringServiceStub.java (99%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcUptimeCheckServiceCallableFactory.java (100%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcUptimeCheckServiceStub.java (99%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/MetricServiceStub.java (100%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/MetricServiceStubSettings.java (95%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/NotificationChannelServiceStub.java (100%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/NotificationChannelServiceStubSettings.java (94%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/QueryServiceStub.java (100%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/QueryServiceStubSettings.java (97%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/ServiceMonitoringServiceStub.java (100%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/ServiceMonitoringServiceStubSettings.java (96%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/UptimeCheckServiceStub.java (100%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/main/java/com/google/cloud/monitoring/v3/stub/UptimeCheckServiceStubSettings.java (96%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClientTest.java (100%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/GroupServiceClientTest.java (100%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/MetricServiceClientTest.java (100%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/MockAlertPolicyService.java (100%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/MockAlertPolicyServiceImpl.java (100%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/MockGroupService.java (100%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/MockGroupServiceImpl.java (100%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/MockMetricService.java (100%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/MockMetricServiceImpl.java (100%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/MockNotificationChannelService.java (100%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/MockNotificationChannelServiceImpl.java (100%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/MockQueryService.java (100%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/MockQueryServiceImpl.java (100%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/MockServiceMonitoringService.java (100%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/MockServiceMonitoringServiceImpl.java (100%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/MockUptimeCheckService.java (100%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/MockUptimeCheckServiceImpl.java (100%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClientTest.java (100%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/QueryServiceClientTest.java (100%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceClientTest.java (100%) rename {owl-bot-staging/v3/google-cloud-monitoring => google-cloud-monitoring}/src/test/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClientTest.java (100%) rename {owl-bot-staging/v3/grpc-google-cloud-monitoring-v3 => grpc-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/AlertPolicyServiceGrpc.java (50%) rename {owl-bot-staging/v3/grpc-google-cloud-monitoring-v3 => grpc-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/GroupServiceGrpc.java (50%) create mode 100644 grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceGrpc.java create mode 100644 grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelServiceGrpc.java rename {owl-bot-staging/v3/grpc-google-cloud-monitoring-v3 => grpc-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/QueryServiceGrpc.java (52%) create mode 100644 grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringServiceGrpc.java create mode 100644 grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckServiceGrpc.java delete mode 100644 owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceGrpc.java delete mode 100644 owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelServiceGrpc.java delete mode 100644 owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringServiceGrpc.java delete mode 100644 owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckServiceGrpc.java delete mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertProto.java delete mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertServiceProto.java delete mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CommonProto.java delete mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequestOrBuilder.java delete mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequestOrBuilder.java delete mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequestOrBuilder.java delete mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceLevelObjectiveRequestOrBuilder.java delete mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceRequestOrBuilder.java delete mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequestOrBuilder.java delete mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabelsProto.java delete mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequestOrBuilder.java delete mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetGroupRequestOrBuilder.java delete mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequestOrBuilder.java delete mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequestOrBuilder.java delete mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequestOrBuilder.java delete mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequestOrBuilder.java delete mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceRequestOrBuilder.java delete mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequestOrBuilder.java delete mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupProto.java delete mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupServiceProto.java delete mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricProto.java delete mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceProto.java delete mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecordProto.java delete mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationProto.java delete mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationServiceProto.java delete mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryServiceProto.java delete mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RangeOrBuilder.java delete mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequestOrBuilder.java delete mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringProto.java delete mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringServiceProto.java delete mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContextProto.java delete mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeProto.java delete mode 100644 owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeServiceProto.java rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/Aggregation.java (86%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/AggregationOrBuilder.java (92%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/AlertPolicy.java (78%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/AlertPolicyName.java (100%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/AlertPolicyOrBuilder.java (91%) create mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertProto.java create mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertServiceProto.java rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/BasicSli.java (76%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/BasicSliOrBuilder.java (87%) create mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CommonProto.java rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ComparisonType.java (72%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/CreateAlertPolicyRequest.java (68%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/CreateAlertPolicyRequestOrBuilder.java (66%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/CreateGroupRequest.java (70%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/CreateGroupRequestOrBuilder.java (65%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/CreateMetricDescriptorRequest.java (64%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/CreateMetricDescriptorRequestOrBuilder.java (52%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/CreateNotificationChannelRequest.java (65%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/CreateNotificationChannelRequestOrBuilder.java (58%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/CreateServiceLevelObjectiveRequest.java (66%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/CreateServiceLevelObjectiveRequestOrBuilder.java (59%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/CreateServiceRequest.java (69%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/CreateServiceRequestOrBuilder.java (61%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/CreateTimeSeriesError.java (66%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/CreateTimeSeriesErrorOrBuilder.java (58%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/CreateTimeSeriesRequest.java (71%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/CreateTimeSeriesRequestOrBuilder.java (65%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/CreateTimeSeriesSummary.java (75%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/CreateTimeSeriesSummaryOrBuilder.java (71%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequest.java (62%) create mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequestOrBuilder.java rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequest.java (66%) create mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequestOrBuilder.java rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/DeleteGroupRequest.java (68%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/DeleteGroupRequestOrBuilder.java (50%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequest.java (66%) create mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequestOrBuilder.java rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/DeleteNotificationChannelRequest.java (67%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/DeleteNotificationChannelRequestOrBuilder.java (53%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/DeleteServiceLevelObjectiveRequest.java (66%) create mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceLevelObjectiveRequestOrBuilder.java rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/DeleteServiceRequest.java (67%) create mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceRequestOrBuilder.java rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequest.java (64%) create mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequestOrBuilder.java rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/DistributionCut.java (73%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/DistributionCutOrBuilder.java (70%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/DroppedLabels.java (63%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/DroppedLabelsOrBuilder.java (52%) create mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabelsProto.java rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/FolderName.java (100%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequest.java (66%) create mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequestOrBuilder.java rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/GetGroupRequest.java (65%) create mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetGroupRequestOrBuilder.java rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequest.java (66%) create mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequestOrBuilder.java rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequest.java (64%) create mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequestOrBuilder.java rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequest.java (62%) create mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequestOrBuilder.java rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequest.java (65%) create mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequestOrBuilder.java rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeRequest.java (71%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeRequestOrBuilder.java (77%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeResponse.java (68%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeResponseOrBuilder.java (76%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/GetServiceLevelObjectiveRequest.java (70%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/GetServiceLevelObjectiveRequestOrBuilder.java (64%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/GetServiceRequest.java (66%) create mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceRequestOrBuilder.java rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequest.java (65%) create mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequestOrBuilder.java rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/Group.java (76%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/GroupName.java (100%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/GroupOrBuilder.java (74%) create mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupProto.java rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/GroupResourceType.java (70%) create mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupServiceProto.java rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/InternalChecker.java (75%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/InternalCheckerOrBuilder.java (77%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/LabelValue.java (70%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/LabelValueOrBuilder.java (65%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListAlertPoliciesRequest.java (74%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListAlertPoliciesRequestOrBuilder.java (75%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListAlertPoliciesResponse.java (74%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListAlertPoliciesResponseOrBuilder.java (71%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListGroupMembersRequest.java (73%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListGroupMembersRequestOrBuilder.java (76%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListGroupMembersResponse.java (74%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListGroupMembersResponseOrBuilder.java (70%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListGroupsRequest.java (75%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListGroupsRequestOrBuilder.java (81%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListGroupsResponse.java (74%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListGroupsResponseOrBuilder.java (66%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsRequest.java (72%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsRequestOrBuilder.java (70%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsResponse.java (75%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsResponseOrBuilder.java (73%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsRequest.java (70%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsRequestOrBuilder.java (71%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsResponse.java (74%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsResponseOrBuilder.java (74%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsRequest.java (68%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsRequestOrBuilder.java (70%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsResponse.java (69%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsResponseOrBuilder.java (72%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListNotificationChannelsRequest.java (74%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListNotificationChannelsRequestOrBuilder.java (75%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListNotificationChannelsResponse.java (75%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListNotificationChannelsResponseOrBuilder.java (73%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesRequest.java (73%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesRequestOrBuilder.java (73%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesResponse.java (73%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesResponseOrBuilder.java (74%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListServicesRequest.java (76%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListServicesRequestOrBuilder.java (77%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListServicesResponse.java (75%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListServicesResponseOrBuilder.java (68%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListTimeSeriesRequest.java (73%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListTimeSeriesRequestOrBuilder.java (78%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListTimeSeriesResponse.java (78%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListTimeSeriesResponseOrBuilder.java (77%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequest.java (70%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequestOrBuilder.java (63%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsResponse.java (76%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsResponseOrBuilder.java (73%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsRequest.java (72%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsRequestOrBuilder.java (66%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsResponse.java (76%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsResponseOrBuilder.java (75%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/MetricDescriptorName.java (100%) create mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricProto.java create mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceProto.java rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/MonitoredResourceDescriptorName.java (100%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/MutationRecord.java (70%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/MutationRecordOrBuilder.java (62%) create mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecordProto.java rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/NotificationChannel.java (76%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptor.java (76%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptorName.java (100%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptorOrBuilder.java (77%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/NotificationChannelName.java (100%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/NotificationChannelOrBuilder.java (87%) create mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationProto.java create mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationServiceProto.java rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/OrganizationName.java (100%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/Point.java (75%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/PointOrBuilder.java (82%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ProjectName.java (100%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/QueryError.java (70%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/QueryErrorList.java (75%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/QueryErrorListOrBuilder.java (68%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/QueryErrorOrBuilder.java (64%) create mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryServiceProto.java rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/QueryTimeSeriesRequest.java (74%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/QueryTimeSeriesRequestOrBuilder.java (73%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/QueryTimeSeriesResponse.java (77%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/QueryTimeSeriesResponseOrBuilder.java (77%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/Range.java (68%) create mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RangeOrBuilder.java rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/RequestBasedSli.java (73%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/RequestBasedSliOrBuilder.java (78%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequest.java (58%) create mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequestOrBuilder.java rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/Service.java (74%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ServiceLevelIndicator.java (71%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ServiceLevelIndicatorOrBuilder.java (75%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ServiceLevelObjective.java (73%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ServiceLevelObjectiveName.java (100%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ServiceLevelObjectiveOrBuilder.java (84%) create mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringProto.java create mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringServiceProto.java rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ServiceName.java (100%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ServiceOrBuilder.java (85%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/ServiceTier.java (74%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/SpanContext.java (72%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/SpanContextOrBuilder.java (64%) create mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContextProto.java rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/TextLocator.java (75%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/TextLocatorOrBuilder.java (85%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/TimeInterval.java (75%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/TimeIntervalOrBuilder.java (72%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/TimeSeries.java (80%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/TimeSeriesData.java (78%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/TimeSeriesDataOrBuilder.java (80%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/TimeSeriesDescriptor.java (71%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/TimeSeriesDescriptorOrBuilder.java (57%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/TimeSeriesName.java (100%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/TimeSeriesOrBuilder.java (90%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/TimeSeriesRatio.java (76%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/TimeSeriesRatioOrBuilder.java (76%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/TypedValue.java (72%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/TypedValueOrBuilder.java (77%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/UpdateAlertPolicyRequest.java (77%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/UpdateAlertPolicyRequestOrBuilder.java (83%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/UpdateGroupRequest.java (72%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/UpdateGroupRequestOrBuilder.java (69%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/UpdateNotificationChannelRequest.java (66%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/UpdateNotificationChannelRequestOrBuilder.java (64%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/UpdateServiceLevelObjectiveRequest.java (65%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/UpdateServiceLevelObjectiveRequestOrBuilder.java (60%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/UpdateServiceRequest.java (71%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/UpdateServiceRequestOrBuilder.java (68%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/UpdateUptimeCheckConfigRequest.java (72%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/UpdateUptimeCheckConfigRequestOrBuilder.java (77%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/UptimeCheckConfig.java (74%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/UptimeCheckConfigName.java (100%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/UptimeCheckConfigOrBuilder.java (85%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/UptimeCheckIp.java (74%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/UptimeCheckIpOrBuilder.java (74%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/UptimeCheckRegion.java (72%) create mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeProto.java create mode 100644 proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeServiceProto.java rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/VerifyNotificationChannelRequest.java (69%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/VerifyNotificationChannelRequestOrBuilder.java (63%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/WindowsBasedSli.java (72%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/java/com/google/monitoring/v3/WindowsBasedSliOrBuilder.java (78%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/proto/google/monitoring/v3/alert.proto (100%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/proto/google/monitoring/v3/alert_service.proto (100%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/proto/google/monitoring/v3/common.proto (100%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/proto/google/monitoring/v3/dropped_labels.proto (100%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/proto/google/monitoring/v3/group.proto (100%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/proto/google/monitoring/v3/group_service.proto (100%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/proto/google/monitoring/v3/metric.proto (100%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/proto/google/monitoring/v3/metric_service.proto (100%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/proto/google/monitoring/v3/mutation_record.proto (100%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/proto/google/monitoring/v3/notification.proto (100%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/proto/google/monitoring/v3/notification_service.proto (100%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/proto/google/monitoring/v3/query_service.proto (100%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/proto/google/monitoring/v3/service.proto (100%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/proto/google/monitoring/v3/service_service.proto (100%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/proto/google/monitoring/v3/span_context.proto (100%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/proto/google/monitoring/v3/uptime.proto (100%) rename {owl-bot-staging/v3/proto-google-cloud-monitoring-v3 => proto-google-cloud-monitoring-v3}/src/main/proto/google/monitoring/v3/uptime_service.proto (100%) diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClient.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClient.java similarity index 97% rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClient.java rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClient.java index 94587b56..97c84cbe 100644 --- a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClient.java +++ b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClient.java @@ -25,6 +25,7 @@ import com.google.api.gax.paging.AbstractPagedListResponse; import com.google.api.gax.rpc.PageContext; import com.google.api.gax.rpc.UnaryCallable; +import com.google.api.resourcenames.ResourceName; import com.google.cloud.monitoring.v3.stub.AlertPolicyServiceStub; import com.google.cloud.monitoring.v3.stub.AlertPolicyServiceStubSettings; import com.google.common.util.concurrent.MoreExecutors; @@ -32,7 +33,6 @@ import com.google.monitoring.v3.AlertPolicyName; import com.google.monitoring.v3.CreateAlertPolicyRequest; import com.google.monitoring.v3.DeleteAlertPolicyRequest; -import com.google.monitoring.v3.FolderName; import com.google.monitoring.v3.GetAlertPolicyRequest; import com.google.monitoring.v3.ListAlertPoliciesRequest; import com.google.monitoring.v3.ListAlertPoliciesResponse; @@ -74,13 +74,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -176,7 +176,7 @@ public AlertPolicyServiceStub getStub() { * *
{@code
    * try (AlertPolicyServiceClient alertPolicyServiceClient = AlertPolicyServiceClient.create()) {
-   *   FolderName name = FolderName.of("[FOLDER]");
+   *   ResourceName name = ResourceName.of("[FOLDER]");
    *   for (AlertPolicy element : alertPolicyServiceClient.listAlertPolicies(name).iterateAll()) {
    *     // doThingsWith(element);
    *   }
@@ -192,7 +192,7 @@ public AlertPolicyServiceStub getStub() {
    *     instead.
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
-  public final ListAlertPoliciesPagedResponse listAlertPolicies(FolderName name) {
+  public final ListAlertPoliciesPagedResponse listAlertPolicies(ResourceName name) {
     ListAlertPoliciesRequest request =
         ListAlertPoliciesRequest.newBuilder()
             .setName(name == null ? null : name.toString())
@@ -494,7 +494,7 @@ public final UnaryCallable getAlertPolicyCal
    *
    * 
{@code
    * try (AlertPolicyServiceClient alertPolicyServiceClient = AlertPolicyServiceClient.create()) {
-   *   FolderName name = FolderName.of("[FOLDER]");
+   *   ResourceName name = ResourceName.of("[FOLDER]");
    *   AlertPolicy alertPolicy = AlertPolicy.newBuilder().build();
    *   AlertPolicy response = alertPolicyServiceClient.createAlertPolicy(name, alertPolicy);
    * }
@@ -514,7 +514,7 @@ public final UnaryCallable getAlertPolicyCal
    *     `[ALERT_POLICY_ID]` value.
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
-  public final AlertPolicy createAlertPolicy(FolderName name, AlertPolicy alertPolicy) {
+  public final AlertPolicy createAlertPolicy(ResourceName name, AlertPolicy alertPolicy) {
     CreateAlertPolicyRequest request =
         CreateAlertPolicyRequest.newBuilder()
             .setName(name == null ? null : name.toString())
@@ -909,7 +909,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted
 
   public static class ListAlertPoliciesPagedResponse
       extends AbstractPagedListResponse<
-          ListAlertPoliciesRequest, ListAlertPoliciesResponse, AlertPolicy, ListAlertPoliciesPage,
+          ListAlertPoliciesRequest,
+          ListAlertPoliciesResponse,
+          AlertPolicy,
+          ListAlertPoliciesPage,
           ListAlertPoliciesFixedSizeCollection> {
 
     public static ApiFuture createAsync(
@@ -959,7 +962,10 @@ public ApiFuture createPageAsync(
 
   public static class ListAlertPoliciesFixedSizeCollection
       extends AbstractFixedSizeCollection<
-          ListAlertPoliciesRequest, ListAlertPoliciesResponse, AlertPolicy, ListAlertPoliciesPage,
+          ListAlertPoliciesRequest,
+          ListAlertPoliciesResponse,
+          AlertPolicy,
+          ListAlertPoliciesPage,
           ListAlertPoliciesFixedSizeCollection> {
 
     private ListAlertPoliciesFixedSizeCollection(
diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceSettings.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceSettings.java
similarity index 96%
rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceSettings.java
rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceSettings.java
index a5046c1a..6f3ef4df 100644
--- a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceSettings.java
+++ b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceSettings.java
@@ -27,7 +27,6 @@
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.ClientSettings;
 import com.google.api.gax.rpc.PagedCallSettings;
-import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.monitoring.v3.stub.AlertPolicyServiceStubSettings;
@@ -50,9 +49,9 @@
  * 

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceClient.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceClient.java similarity index 96% rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceClient.java rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceClient.java index b59e4021..256f9c92 100644 --- a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceClient.java +++ b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceClient.java @@ -26,12 +26,12 @@ import com.google.api.gax.paging.AbstractPagedListResponse; import com.google.api.gax.rpc.PageContext; import com.google.api.gax.rpc.UnaryCallable; +import com.google.api.resourcenames.ResourceName; import com.google.cloud.monitoring.v3.stub.GroupServiceStub; import com.google.cloud.monitoring.v3.stub.GroupServiceStubSettings; import com.google.common.util.concurrent.MoreExecutors; import com.google.monitoring.v3.CreateGroupRequest; import com.google.monitoring.v3.DeleteGroupRequest; -import com.google.monitoring.v3.FolderName; import com.google.monitoring.v3.GetGroupRequest; import com.google.monitoring.v3.Group; import com.google.monitoring.v3.GroupName; @@ -77,13 +77,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -176,7 +176,7 @@ public GroupServiceStub getStub() { * *
{@code
    * try (GroupServiceClient groupServiceClient = GroupServiceClient.create()) {
-   *   FolderName name = FolderName.of("[FOLDER]");
+   *   ResourceName name = ResourceName.of("[FOLDER]");
    *   for (Group element : groupServiceClient.listGroups(name).iterateAll()) {
    *     // doThingsWith(element);
    *   }
@@ -188,7 +188,7 @@ public GroupServiceStub getStub() {
    *     

projects/[PROJECT_ID_OR_NUMBER] * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - public final ListGroupsPagedResponse listGroups(FolderName name) { + public final ListGroupsPagedResponse listGroups(ResourceName name) { ListGroupsRequest request = ListGroupsRequest.newBuilder().setName(name == null ? null : name.toString()).build(); return listGroups(request); @@ -455,7 +455,7 @@ public final UnaryCallable getGroupCallable() { * *

{@code
    * try (GroupServiceClient groupServiceClient = GroupServiceClient.create()) {
-   *   FolderName name = FolderName.of("[FOLDER]");
+   *   ResourceName name = ResourceName.of("[FOLDER]");
    *   Group group = Group.newBuilder().build();
    *   Group response = groupServiceClient.createGroup(name, group);
    * }
@@ -468,7 +468,7 @@ public final UnaryCallable getGroupCallable() {
    *     the system assigns the name.
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
-  public final Group createGroup(FolderName name, Group group) {
+  public final Group createGroup(ResourceName name, Group group) {
     CreateGroupRequest request =
         CreateGroupRequest.newBuilder()
             .setName(name == null ? null : name.toString())
@@ -951,7 +951,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted
 
   public static class ListGroupsPagedResponse
       extends AbstractPagedListResponse<
-          ListGroupsRequest, ListGroupsResponse, Group, ListGroupsPage,
+          ListGroupsRequest,
+          ListGroupsResponse,
+          Group,
+          ListGroupsPage,
           ListGroupsFixedSizeCollection> {
 
     public static ApiFuture createAsync(
@@ -998,7 +1001,10 @@ public ApiFuture createPageAsync(
 
   public static class ListGroupsFixedSizeCollection
       extends AbstractFixedSizeCollection<
-          ListGroupsRequest, ListGroupsResponse, Group, ListGroupsPage,
+          ListGroupsRequest,
+          ListGroupsResponse,
+          Group,
+          ListGroupsPage,
           ListGroupsFixedSizeCollection> {
 
     private ListGroupsFixedSizeCollection(List pages, int collectionSize) {
@@ -1018,8 +1024,11 @@ protected ListGroupsFixedSizeCollection createCollection(
 
   public static class ListGroupMembersPagedResponse
       extends AbstractPagedListResponse<
-          ListGroupMembersRequest, ListGroupMembersResponse, MonitoredResource,
-          ListGroupMembersPage, ListGroupMembersFixedSizeCollection> {
+          ListGroupMembersRequest,
+          ListGroupMembersResponse,
+          MonitoredResource,
+          ListGroupMembersPage,
+          ListGroupMembersFixedSizeCollection> {
 
     public static ApiFuture createAsync(
         PageContext context,
@@ -1039,7 +1048,9 @@ private ListGroupMembersPagedResponse(ListGroupMembersPage page) {
 
   public static class ListGroupMembersPage
       extends AbstractPage<
-          ListGroupMembersRequest, ListGroupMembersResponse, MonitoredResource,
+          ListGroupMembersRequest,
+          ListGroupMembersResponse,
+          MonitoredResource,
           ListGroupMembersPage> {
 
     private ListGroupMembersPage(
@@ -1069,8 +1080,11 @@ public ApiFuture createPageAsync(
 
   public static class ListGroupMembersFixedSizeCollection
       extends AbstractFixedSizeCollection<
-          ListGroupMembersRequest, ListGroupMembersResponse, MonitoredResource,
-          ListGroupMembersPage, ListGroupMembersFixedSizeCollection> {
+          ListGroupMembersRequest,
+          ListGroupMembersResponse,
+          MonitoredResource,
+          ListGroupMembersPage,
+          ListGroupMembersFixedSizeCollection> {
 
     private ListGroupMembersFixedSizeCollection(
         List pages, int collectionSize) {
diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceSettings.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceSettings.java
similarity index 96%
rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceSettings.java
rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceSettings.java
index daf950db..f6c0541c 100644
--- a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceSettings.java
+++ b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceSettings.java
@@ -28,7 +28,6 @@
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.ClientSettings;
 import com.google.api.gax.rpc.PagedCallSettings;
-import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.monitoring.v3.stub.GroupServiceStubSettings;
@@ -53,9 +52,9 @@
  * 

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceClient.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceClient.java similarity index 96% rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceClient.java rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceClient.java index 380fa93a..35dde089 100644 --- a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceClient.java +++ b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceClient.java @@ -27,13 +27,13 @@ import com.google.api.gax.paging.AbstractPagedListResponse; import com.google.api.gax.rpc.PageContext; import com.google.api.gax.rpc.UnaryCallable; +import com.google.api.resourcenames.ResourceName; import com.google.cloud.monitoring.v3.stub.MetricServiceStub; import com.google.cloud.monitoring.v3.stub.MetricServiceStubSettings; import com.google.common.util.concurrent.MoreExecutors; import com.google.monitoring.v3.CreateMetricDescriptorRequest; import com.google.monitoring.v3.CreateTimeSeriesRequest; import com.google.monitoring.v3.DeleteMetricDescriptorRequest; -import com.google.monitoring.v3.FolderName; import com.google.monitoring.v3.GetMetricDescriptorRequest; import com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest; import com.google.monitoring.v3.ListMetricDescriptorsRequest; @@ -79,13 +79,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -180,7 +180,7 @@ public MetricServiceStub getStub() { * *
{@code
    * try (MetricServiceClient metricServiceClient = MetricServiceClient.create()) {
-   *   FolderName name = FolderName.of("[FOLDER]");
+   *   ResourceName name = ResourceName.of("[FOLDER]");
    *   for (MonitoredResourceDescriptor element :
    *       metricServiceClient.listMonitoredResourceDescriptors(name).iterateAll()) {
    *     // doThingsWith(element);
@@ -194,7 +194,7 @@ public MetricServiceStub getStub() {
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
   public final ListMonitoredResourceDescriptorsPagedResponse listMonitoredResourceDescriptors(
-      FolderName name) {
+      ResourceName name) {
     ListMonitoredResourceDescriptorsRequest request =
         ListMonitoredResourceDescriptorsRequest.newBuilder()
             .setName(name == null ? null : name.toString())
@@ -514,7 +514,7 @@ public final MonitoredResourceDescriptor getMonitoredResourceDescriptor(
    *
    * 
{@code
    * try (MetricServiceClient metricServiceClient = MetricServiceClient.create()) {
-   *   FolderName name = FolderName.of("[FOLDER]");
+   *   ResourceName name = ResourceName.of("[FOLDER]");
    *   for (MetricDescriptor element :
    *       metricServiceClient.listMetricDescriptors(name).iterateAll()) {
    *     // doThingsWith(element);
@@ -527,7 +527,7 @@ public final MonitoredResourceDescriptor getMonitoredResourceDescriptor(
    *     

projects/[PROJECT_ID_OR_NUMBER] * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - public final ListMetricDescriptorsPagedResponse listMetricDescriptors(FolderName name) { + public final ListMetricDescriptorsPagedResponse listMetricDescriptors(ResourceName name) { ListMetricDescriptorsRequest request = ListMetricDescriptorsRequest.newBuilder() .setName(name == null ? null : name.toString()) @@ -833,7 +833,7 @@ public final MetricDescriptor getMetricDescriptor(GetMetricDescriptorRequest req * *

{@code
    * try (MetricServiceClient metricServiceClient = MetricServiceClient.create()) {
-   *   FolderName name = FolderName.of("[FOLDER]");
+   *   ResourceName name = ResourceName.of("[FOLDER]");
    *   MetricDescriptor metricDescriptor = MetricDescriptor.newBuilder().build();
    *   MetricDescriptor response =
    *       metricServiceClient.createMetricDescriptor(name, metricDescriptor);
@@ -847,7 +847,7 @@ public final MetricDescriptor getMetricDescriptor(GetMetricDescriptorRequest req
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
   public final MetricDescriptor createMetricDescriptor(
-      FolderName name, MetricDescriptor metricDescriptor) {
+      ResourceName name, MetricDescriptor metricDescriptor) {
     CreateMetricDescriptorRequest request =
         CreateMetricDescriptorRequest.newBuilder()
             .setName(name == null ? null : name.toString())
@@ -1126,7 +1126,7 @@ public final void deleteMetricDescriptor(DeleteMetricDescriptorRequest request)
    *
    * 
{@code
    * try (MetricServiceClient metricServiceClient = MetricServiceClient.create()) {
-   *   FolderName name = FolderName.of("[FOLDER]");
+   *   ResourceName name = ResourceName.of("[FOLDER]");
    *   String filter = "filter-1274492040";
    *   TimeInterval interval = TimeInterval.newBuilder().build();
    *   ListTimeSeriesRequest.TimeSeriesView view = ListTimeSeriesRequest.TimeSeriesView.forNumber(0);
@@ -1152,7 +1152,7 @@ public final void deleteMetricDescriptor(DeleteMetricDescriptorRequest request)
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
   public final ListTimeSeriesPagedResponse listTimeSeries(
-      FolderName name,
+      ResourceName name,
       String filter,
       TimeInterval interval,
       ListTimeSeriesRequest.TimeSeriesView view) {
@@ -1696,13 +1696,16 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted
 
   public static class ListMonitoredResourceDescriptorsPagedResponse
       extends AbstractPagedListResponse<
-          ListMonitoredResourceDescriptorsRequest, ListMonitoredResourceDescriptorsResponse,
-          MonitoredResourceDescriptor, ListMonitoredResourceDescriptorsPage,
+          ListMonitoredResourceDescriptorsRequest,
+          ListMonitoredResourceDescriptorsResponse,
+          MonitoredResourceDescriptor,
+          ListMonitoredResourceDescriptorsPage,
           ListMonitoredResourceDescriptorsFixedSizeCollection> {
 
     public static ApiFuture createAsync(
         PageContext<
-                ListMonitoredResourceDescriptorsRequest, ListMonitoredResourceDescriptorsResponse,
+                ListMonitoredResourceDescriptorsRequest,
+                ListMonitoredResourceDescriptorsResponse,
                 MonitoredResourceDescriptor>
             context,
         ApiFuture futureResponse) {
@@ -1723,12 +1726,15 @@ private ListMonitoredResourceDescriptorsPagedResponse(
 
   public static class ListMonitoredResourceDescriptorsPage
       extends AbstractPage<
-          ListMonitoredResourceDescriptorsRequest, ListMonitoredResourceDescriptorsResponse,
-          MonitoredResourceDescriptor, ListMonitoredResourceDescriptorsPage> {
+          ListMonitoredResourceDescriptorsRequest,
+          ListMonitoredResourceDescriptorsResponse,
+          MonitoredResourceDescriptor,
+          ListMonitoredResourceDescriptorsPage> {
 
     private ListMonitoredResourceDescriptorsPage(
         PageContext<
-                ListMonitoredResourceDescriptorsRequest, ListMonitoredResourceDescriptorsResponse,
+                ListMonitoredResourceDescriptorsRequest,
+                ListMonitoredResourceDescriptorsResponse,
                 MonitoredResourceDescriptor>
             context,
         ListMonitoredResourceDescriptorsResponse response) {
@@ -1742,7 +1748,8 @@ private static ListMonitoredResourceDescriptorsPage createEmptyPage() {
     @Override
     protected ListMonitoredResourceDescriptorsPage createPage(
         PageContext<
-                ListMonitoredResourceDescriptorsRequest, ListMonitoredResourceDescriptorsResponse,
+                ListMonitoredResourceDescriptorsRequest,
+                ListMonitoredResourceDescriptorsResponse,
                 MonitoredResourceDescriptor>
             context,
         ListMonitoredResourceDescriptorsResponse response) {
@@ -1752,7 +1759,8 @@ protected ListMonitoredResourceDescriptorsPage createPage(
     @Override
     public ApiFuture createPageAsync(
         PageContext<
-                ListMonitoredResourceDescriptorsRequest, ListMonitoredResourceDescriptorsResponse,
+                ListMonitoredResourceDescriptorsRequest,
+                ListMonitoredResourceDescriptorsResponse,
                 MonitoredResourceDescriptor>
             context,
         ApiFuture futureResponse) {
@@ -1762,8 +1770,10 @@ public ApiFuture createPageAsync(
 
   public static class ListMonitoredResourceDescriptorsFixedSizeCollection
       extends AbstractFixedSizeCollection<
-          ListMonitoredResourceDescriptorsRequest, ListMonitoredResourceDescriptorsResponse,
-          MonitoredResourceDescriptor, ListMonitoredResourceDescriptorsPage,
+          ListMonitoredResourceDescriptorsRequest,
+          ListMonitoredResourceDescriptorsResponse,
+          MonitoredResourceDescriptor,
+          ListMonitoredResourceDescriptorsPage,
           ListMonitoredResourceDescriptorsFixedSizeCollection> {
 
     private ListMonitoredResourceDescriptorsFixedSizeCollection(
@@ -1784,8 +1794,11 @@ protected ListMonitoredResourceDescriptorsFixedSizeCollection createCollection(
 
   public static class ListMetricDescriptorsPagedResponse
       extends AbstractPagedListResponse<
-          ListMetricDescriptorsRequest, ListMetricDescriptorsResponse, MetricDescriptor,
-          ListMetricDescriptorsPage, ListMetricDescriptorsFixedSizeCollection> {
+          ListMetricDescriptorsRequest,
+          ListMetricDescriptorsResponse,
+          MetricDescriptor,
+          ListMetricDescriptorsPage,
+          ListMetricDescriptorsFixedSizeCollection> {
 
     public static ApiFuture createAsync(
         PageContext
@@ -1806,7 +1819,9 @@ private ListMetricDescriptorsPagedResponse(ListMetricDescriptorsPage page) {
 
   public static class ListMetricDescriptorsPage
       extends AbstractPage<
-          ListMetricDescriptorsRequest, ListMetricDescriptorsResponse, MetricDescriptor,
+          ListMetricDescriptorsRequest,
+          ListMetricDescriptorsResponse,
+          MetricDescriptor,
           ListMetricDescriptorsPage> {
 
     private ListMetricDescriptorsPage(
@@ -1839,8 +1854,11 @@ public ApiFuture createPageAsync(
 
   public static class ListMetricDescriptorsFixedSizeCollection
       extends AbstractFixedSizeCollection<
-          ListMetricDescriptorsRequest, ListMetricDescriptorsResponse, MetricDescriptor,
-          ListMetricDescriptorsPage, ListMetricDescriptorsFixedSizeCollection> {
+          ListMetricDescriptorsRequest,
+          ListMetricDescriptorsResponse,
+          MetricDescriptor,
+          ListMetricDescriptorsPage,
+          ListMetricDescriptorsFixedSizeCollection> {
 
     private ListMetricDescriptorsFixedSizeCollection(
         List pages, int collectionSize) {
@@ -1860,7 +1878,10 @@ protected ListMetricDescriptorsFixedSizeCollection createCollection(
 
   public static class ListTimeSeriesPagedResponse
       extends AbstractPagedListResponse<
-          ListTimeSeriesRequest, ListTimeSeriesResponse, TimeSeries, ListTimeSeriesPage,
+          ListTimeSeriesRequest,
+          ListTimeSeriesResponse,
+          TimeSeries,
+          ListTimeSeriesPage,
           ListTimeSeriesFixedSizeCollection> {
 
     public static ApiFuture createAsync(
@@ -1910,7 +1931,10 @@ public ApiFuture createPageAsync(
 
   public static class ListTimeSeriesFixedSizeCollection
       extends AbstractFixedSizeCollection<
-          ListTimeSeriesRequest, ListTimeSeriesResponse, TimeSeries, ListTimeSeriesPage,
+          ListTimeSeriesRequest,
+          ListTimeSeriesResponse,
+          TimeSeries,
+          ListTimeSeriesPage,
           ListTimeSeriesFixedSizeCollection> {
 
     private ListTimeSeriesFixedSizeCollection(List pages, int collectionSize) {
diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceSettings.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceSettings.java
similarity index 95%
rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceSettings.java
rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceSettings.java
index 36da86b8..ebc46a96 100644
--- a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceSettings.java
+++ b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceSettings.java
@@ -31,7 +31,6 @@
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.ClientSettings;
 import com.google.api.gax.rpc.PagedCallSettings;
-import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.monitoring.v3.stub.MetricServiceStubSettings;
@@ -58,9 +57,9 @@
  * 

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -87,7 +86,8 @@ public class MetricServiceSettings extends ClientSettings /** Returns the object with the settings used for calls to listMonitoredResourceDescriptors. */ public PagedCallSettings< - ListMonitoredResourceDescriptorsRequest, ListMonitoredResourceDescriptorsResponse, + ListMonitoredResourceDescriptorsRequest, + ListMonitoredResourceDescriptorsResponse, ListMonitoredResourceDescriptorsPagedResponse> listMonitoredResourceDescriptorsSettings() { return ((MetricServiceStubSettings) getStubSettings()) @@ -102,7 +102,8 @@ public class MetricServiceSettings extends ClientSettings /** Returns the object with the settings used for calls to listMetricDescriptors. */ public PagedCallSettings< - ListMetricDescriptorsRequest, ListMetricDescriptorsResponse, + ListMetricDescriptorsRequest, + ListMetricDescriptorsResponse, ListMetricDescriptorsPagedResponse> listMetricDescriptorsSettings() { return ((MetricServiceStubSettings) getStubSettings()).listMetricDescriptorsSettings(); @@ -241,7 +242,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listMonitoredResourceDescriptors. */ public PagedCallSettings.Builder< - ListMonitoredResourceDescriptorsRequest, ListMonitoredResourceDescriptorsResponse, + ListMonitoredResourceDescriptorsRequest, + ListMonitoredResourceDescriptorsResponse, ListMonitoredResourceDescriptorsPagedResponse> listMonitoredResourceDescriptorsSettings() { return getStubSettingsBuilder().listMonitoredResourceDescriptorsSettings(); @@ -256,7 +258,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listMetricDescriptors. */ public PagedCallSettings.Builder< - ListMetricDescriptorsRequest, ListMetricDescriptorsResponse, + ListMetricDescriptorsRequest, + ListMetricDescriptorsResponse, ListMetricDescriptorsPagedResponse> listMetricDescriptorsSettings() { return getStubSettingsBuilder().listMetricDescriptorsSettings(); diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClient.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClient.java similarity index 97% rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClient.java rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClient.java index c75d6e08..b5b7eae5 100644 --- a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClient.java +++ b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClient.java @@ -25,12 +25,12 @@ import com.google.api.gax.paging.AbstractPagedListResponse; import com.google.api.gax.rpc.PageContext; import com.google.api.gax.rpc.UnaryCallable; +import com.google.api.resourcenames.ResourceName; import com.google.cloud.monitoring.v3.stub.NotificationChannelServiceStub; import com.google.cloud.monitoring.v3.stub.NotificationChannelServiceStubSettings; import com.google.common.util.concurrent.MoreExecutors; import com.google.monitoring.v3.CreateNotificationChannelRequest; import com.google.monitoring.v3.DeleteNotificationChannelRequest; -import com.google.monitoring.v3.FolderName; import com.google.monitoring.v3.GetNotificationChannelDescriptorRequest; import com.google.monitoring.v3.GetNotificationChannelRequest; import com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest; @@ -82,13 +82,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -188,7 +188,7 @@ public NotificationChannelServiceStub getStub() { *
{@code
    * try (NotificationChannelServiceClient notificationChannelServiceClient =
    *     NotificationChannelServiceClient.create()) {
-   *   FolderName name = FolderName.of("[FOLDER]");
+   *   ResourceName name = ResourceName.of("[FOLDER]");
    *   for (NotificationChannelDescriptor element :
    *       notificationChannelServiceClient.listNotificationChannelDescriptors(name).iterateAll()) {
    *     // doThingsWith(element);
@@ -207,7 +207,7 @@ public NotificationChannelServiceStub getStub() {
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
   public final ListNotificationChannelDescriptorsPagedResponse listNotificationChannelDescriptors(
-      FolderName name) {
+      ResourceName name) {
     ListNotificationChannelDescriptorsRequest request =
         ListNotificationChannelDescriptorsRequest.newBuilder()
             .setName(name == null ? null : name.toString())
@@ -561,7 +561,7 @@ public final NotificationChannelDescriptor getNotificationChannelDescriptor(
    * 
{@code
    * try (NotificationChannelServiceClient notificationChannelServiceClient =
    *     NotificationChannelServiceClient.create()) {
-   *   FolderName name = FolderName.of("[FOLDER]");
+   *   ResourceName name = ResourceName.of("[FOLDER]");
    *   for (NotificationChannel element :
    *       notificationChannelServiceClient.listNotificationChannels(name).iterateAll()) {
    *     // doThingsWith(element);
@@ -578,7 +578,7 @@ public final NotificationChannelDescriptor getNotificationChannelDescriptor(
    *     operation.
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
-  public final ListNotificationChannelsPagedResponse listNotificationChannels(FolderName name) {
+  public final ListNotificationChannelsPagedResponse listNotificationChannels(ResourceName name) {
     ListNotificationChannelsRequest request =
         ListNotificationChannelsRequest.newBuilder()
             .setName(name == null ? null : name.toString())
@@ -923,7 +923,7 @@ public final NotificationChannel getNotificationChannel(GetNotificationChannelRe
    * 
{@code
    * try (NotificationChannelServiceClient notificationChannelServiceClient =
    *     NotificationChannelServiceClient.create()) {
-   *   FolderName name = FolderName.of("[FOLDER]");
+   *   ResourceName name = ResourceName.of("[FOLDER]");
    *   NotificationChannel notificationChannel = NotificationChannel.newBuilder().build();
    *   NotificationChannel response =
    *       notificationChannelServiceClient.createNotificationChannel(name, notificationChannel);
@@ -941,7 +941,7 @@ public final NotificationChannel getNotificationChannel(GetNotificationChannelRe
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
   public final NotificationChannel createNotificationChannel(
-      FolderName name, NotificationChannel notificationChannel) {
+      ResourceName name, NotificationChannel notificationChannel) {
     CreateNotificationChannelRequest request =
         CreateNotificationChannelRequest.newBuilder()
             .setName(name == null ? null : name.toString())
@@ -1791,14 +1791,17 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted
 
   public static class ListNotificationChannelDescriptorsPagedResponse
       extends AbstractPagedListResponse<
-          ListNotificationChannelDescriptorsRequest, ListNotificationChannelDescriptorsResponse,
-          NotificationChannelDescriptor, ListNotificationChannelDescriptorsPage,
+          ListNotificationChannelDescriptorsRequest,
+          ListNotificationChannelDescriptorsResponse,
+          NotificationChannelDescriptor,
+          ListNotificationChannelDescriptorsPage,
           ListNotificationChannelDescriptorsFixedSizeCollection> {
 
     public static ApiFuture createAsync(
         PageContext<
                 ListNotificationChannelDescriptorsRequest,
-                ListNotificationChannelDescriptorsResponse, NotificationChannelDescriptor>
+                ListNotificationChannelDescriptorsResponse,
+                NotificationChannelDescriptor>
             context,
         ApiFuture futureResponse) {
       ApiFuture futurePage =
@@ -1818,13 +1821,16 @@ private ListNotificationChannelDescriptorsPagedResponse(
 
   public static class ListNotificationChannelDescriptorsPage
       extends AbstractPage<
-          ListNotificationChannelDescriptorsRequest, ListNotificationChannelDescriptorsResponse,
-          NotificationChannelDescriptor, ListNotificationChannelDescriptorsPage> {
+          ListNotificationChannelDescriptorsRequest,
+          ListNotificationChannelDescriptorsResponse,
+          NotificationChannelDescriptor,
+          ListNotificationChannelDescriptorsPage> {
 
     private ListNotificationChannelDescriptorsPage(
         PageContext<
                 ListNotificationChannelDescriptorsRequest,
-                ListNotificationChannelDescriptorsResponse, NotificationChannelDescriptor>
+                ListNotificationChannelDescriptorsResponse,
+                NotificationChannelDescriptor>
             context,
         ListNotificationChannelDescriptorsResponse response) {
       super(context, response);
@@ -1838,7 +1844,8 @@ private static ListNotificationChannelDescriptorsPage createEmptyPage() {
     protected ListNotificationChannelDescriptorsPage createPage(
         PageContext<
                 ListNotificationChannelDescriptorsRequest,
-                ListNotificationChannelDescriptorsResponse, NotificationChannelDescriptor>
+                ListNotificationChannelDescriptorsResponse,
+                NotificationChannelDescriptor>
             context,
         ListNotificationChannelDescriptorsResponse response) {
       return new ListNotificationChannelDescriptorsPage(context, response);
@@ -1848,7 +1855,8 @@ protected ListNotificationChannelDescriptorsPage createPage(
     public ApiFuture createPageAsync(
         PageContext<
                 ListNotificationChannelDescriptorsRequest,
-                ListNotificationChannelDescriptorsResponse, NotificationChannelDescriptor>
+                ListNotificationChannelDescriptorsResponse,
+                NotificationChannelDescriptor>
             context,
         ApiFuture futureResponse) {
       return super.createPageAsync(context, futureResponse);
@@ -1857,8 +1865,10 @@ public ApiFuture createPageAsync(
 
   public static class ListNotificationChannelDescriptorsFixedSizeCollection
       extends AbstractFixedSizeCollection<
-          ListNotificationChannelDescriptorsRequest, ListNotificationChannelDescriptorsResponse,
-          NotificationChannelDescriptor, ListNotificationChannelDescriptorsPage,
+          ListNotificationChannelDescriptorsRequest,
+          ListNotificationChannelDescriptorsResponse,
+          NotificationChannelDescriptor,
+          ListNotificationChannelDescriptorsPage,
           ListNotificationChannelDescriptorsFixedSizeCollection> {
 
     private ListNotificationChannelDescriptorsFixedSizeCollection(
@@ -1879,12 +1889,16 @@ protected ListNotificationChannelDescriptorsFixedSizeCollection createCollection
 
   public static class ListNotificationChannelsPagedResponse
       extends AbstractPagedListResponse<
-          ListNotificationChannelsRequest, ListNotificationChannelsResponse, NotificationChannel,
-          ListNotificationChannelsPage, ListNotificationChannelsFixedSizeCollection> {
+          ListNotificationChannelsRequest,
+          ListNotificationChannelsResponse,
+          NotificationChannel,
+          ListNotificationChannelsPage,
+          ListNotificationChannelsFixedSizeCollection> {
 
     public static ApiFuture createAsync(
         PageContext<
-                ListNotificationChannelsRequest, ListNotificationChannelsResponse,
+                ListNotificationChannelsRequest,
+                ListNotificationChannelsResponse,
                 NotificationChannel>
             context,
         ApiFuture futureResponse) {
@@ -1903,12 +1917,15 @@ private ListNotificationChannelsPagedResponse(ListNotificationChannelsPage page)
 
   public static class ListNotificationChannelsPage
       extends AbstractPage<
-          ListNotificationChannelsRequest, ListNotificationChannelsResponse, NotificationChannel,
+          ListNotificationChannelsRequest,
+          ListNotificationChannelsResponse,
+          NotificationChannel,
           ListNotificationChannelsPage> {
 
     private ListNotificationChannelsPage(
         PageContext<
-                ListNotificationChannelsRequest, ListNotificationChannelsResponse,
+                ListNotificationChannelsRequest,
+                ListNotificationChannelsResponse,
                 NotificationChannel>
             context,
         ListNotificationChannelsResponse response) {
@@ -1922,7 +1939,8 @@ private static ListNotificationChannelsPage createEmptyPage() {
     @Override
     protected ListNotificationChannelsPage createPage(
         PageContext<
-                ListNotificationChannelsRequest, ListNotificationChannelsResponse,
+                ListNotificationChannelsRequest,
+                ListNotificationChannelsResponse,
                 NotificationChannel>
             context,
         ListNotificationChannelsResponse response) {
@@ -1932,7 +1950,8 @@ protected ListNotificationChannelsPage createPage(
     @Override
     public ApiFuture createPageAsync(
         PageContext<
-                ListNotificationChannelsRequest, ListNotificationChannelsResponse,
+                ListNotificationChannelsRequest,
+                ListNotificationChannelsResponse,
                 NotificationChannel>
             context,
         ApiFuture futureResponse) {
@@ -1942,8 +1961,11 @@ public ApiFuture createPageAsync(
 
   public static class ListNotificationChannelsFixedSizeCollection
       extends AbstractFixedSizeCollection<
-          ListNotificationChannelsRequest, ListNotificationChannelsResponse, NotificationChannel,
-          ListNotificationChannelsPage, ListNotificationChannelsFixedSizeCollection> {
+          ListNotificationChannelsRequest,
+          ListNotificationChannelsResponse,
+          NotificationChannel,
+          ListNotificationChannelsPage,
+          ListNotificationChannelsFixedSizeCollection> {
 
     private ListNotificationChannelsFixedSizeCollection(
         List pages, int collectionSize) {
diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceSettings.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceSettings.java
similarity index 95%
rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceSettings.java
rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceSettings.java
index 8970a1cc..9bfcc41a 100644
--- a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceSettings.java
+++ b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceSettings.java
@@ -28,7 +28,6 @@
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.ClientSettings;
 import com.google.api.gax.rpc.PagedCallSettings;
-import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.monitoring.v3.stub.NotificationChannelServiceStubSettings;
@@ -59,9 +58,9 @@
  * 

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -91,7 +90,8 @@ public class NotificationChannelServiceSettings /** Returns the object with the settings used for calls to listNotificationChannelDescriptors. */ public PagedCallSettings< - ListNotificationChannelDescriptorsRequest, ListNotificationChannelDescriptorsResponse, + ListNotificationChannelDescriptorsRequest, + ListNotificationChannelDescriptorsResponse, ListNotificationChannelDescriptorsPagedResponse> listNotificationChannelDescriptorsSettings() { return ((NotificationChannelServiceStubSettings) getStubSettings()) @@ -107,7 +107,8 @@ public class NotificationChannelServiceSettings /** Returns the object with the settings used for calls to listNotificationChannels. */ public PagedCallSettings< - ListNotificationChannelsRequest, ListNotificationChannelsResponse, + ListNotificationChannelsRequest, + ListNotificationChannelsResponse, ListNotificationChannelsPagedResponse> listNotificationChannelsSettings() { return ((NotificationChannelServiceStubSettings) getStubSettings()) @@ -271,7 +272,8 @@ public Builder applyToAllUnaryMethods( * Returns the builder for the settings used for calls to listNotificationChannelDescriptors. */ public PagedCallSettings.Builder< - ListNotificationChannelDescriptorsRequest, ListNotificationChannelDescriptorsResponse, + ListNotificationChannelDescriptorsRequest, + ListNotificationChannelDescriptorsResponse, ListNotificationChannelDescriptorsPagedResponse> listNotificationChannelDescriptorsSettings() { return getStubSettingsBuilder().listNotificationChannelDescriptorsSettings(); @@ -286,7 +288,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listNotificationChannels. */ public PagedCallSettings.Builder< - ListNotificationChannelsRequest, ListNotificationChannelsResponse, + ListNotificationChannelsRequest, + ListNotificationChannelsResponse, ListNotificationChannelsPagedResponse> listNotificationChannelsSettings() { return getStubSettingsBuilder().listNotificationChannelsSettings(); diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/QueryServiceClient.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/QueryServiceClient.java similarity index 95% rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/QueryServiceClient.java rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/QueryServiceClient.java index 1fe7c013..9a092f35 100644 --- a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/QueryServiceClient.java +++ b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/QueryServiceClient.java @@ -67,13 +67,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -283,7 +283,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class QueryTimeSeriesPagedResponse extends AbstractPagedListResponse< - QueryTimeSeriesRequest, QueryTimeSeriesResponse, TimeSeriesData, QueryTimeSeriesPage, + QueryTimeSeriesRequest, + QueryTimeSeriesResponse, + TimeSeriesData, + QueryTimeSeriesPage, QueryTimeSeriesFixedSizeCollection> { public static ApiFuture createAsync( @@ -333,7 +336,10 @@ public ApiFuture createPageAsync( public static class QueryTimeSeriesFixedSizeCollection extends AbstractFixedSizeCollection< - QueryTimeSeriesRequest, QueryTimeSeriesResponse, TimeSeriesData, QueryTimeSeriesPage, + QueryTimeSeriesRequest, + QueryTimeSeriesResponse, + TimeSeriesData, + QueryTimeSeriesPage, QueryTimeSeriesFixedSizeCollection> { private QueryTimeSeriesFixedSizeCollection( diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/QueryServiceSettings.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/QueryServiceSettings.java similarity index 95% rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/QueryServiceSettings.java rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/QueryServiceSettings.java index 63ef49be..37d99a2a 100644 --- a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/QueryServiceSettings.java +++ b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/QueryServiceSettings.java @@ -27,7 +27,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.monitoring.v3.stub.QueryServiceStubSettings; @@ -44,9 +43,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceClient.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceClient.java similarity index 97% rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceClient.java rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceClient.java index e36faec2..c2c83e10 100644 --- a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceClient.java +++ b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceClient.java @@ -25,6 +25,7 @@ import com.google.api.gax.paging.AbstractPagedListResponse; import com.google.api.gax.rpc.PageContext; import com.google.api.gax.rpc.UnaryCallable; +import com.google.api.resourcenames.ResourceName; import com.google.cloud.monitoring.v3.stub.ServiceMonitoringServiceStub; import com.google.cloud.monitoring.v3.stub.ServiceMonitoringServiceStubSettings; import com.google.common.util.concurrent.MoreExecutors; @@ -32,7 +33,6 @@ import com.google.monitoring.v3.CreateServiceRequest; import com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest; import com.google.monitoring.v3.DeleteServiceRequest; -import com.google.monitoring.v3.FolderName; import com.google.monitoring.v3.GetServiceLevelObjectiveRequest; import com.google.monitoring.v3.GetServiceRequest; import com.google.monitoring.v3.ListServiceLevelObjectivesRequest; @@ -65,7 +65,7 @@ *

{@code
  * try (ServiceMonitoringServiceClient serviceMonitoringServiceClient =
  *     ServiceMonitoringServiceClient.create()) {
- *   FolderName parent = FolderName.of("[FOLDER]");
+ *   ResourceName parent = ResourceName.of("[FOLDER]");
  *   Service service = Service.newBuilder().build();
  *   Service response = serviceMonitoringServiceClient.createService(parent, service);
  * }
@@ -79,13 +79,13 @@
  * methods:
  *
  * 
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -184,7 +184,7 @@ public ServiceMonitoringServiceStub getStub() { *
{@code
    * try (ServiceMonitoringServiceClient serviceMonitoringServiceClient =
    *     ServiceMonitoringServiceClient.create()) {
-   *   FolderName parent = FolderName.of("[FOLDER]");
+   *   ResourceName parent = ResourceName.of("[FOLDER]");
    *   Service service = Service.newBuilder().build();
    *   Service response = serviceMonitoringServiceClient.createService(parent, service);
    * }
@@ -197,7 +197,7 @@ public ServiceMonitoringServiceStub getStub() {
    * @param service Required. The `Service` to create.
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
-  public final Service createService(FolderName parent, Service service) {
+  public final Service createService(ResourceName parent, Service service) {
     CreateServiceRequest request =
         CreateServiceRequest.newBuilder()
             .setParent(parent == null ? null : parent.toString())
@@ -452,7 +452,7 @@ public final UnaryCallable getServiceCallable() {
    * 
{@code
    * try (ServiceMonitoringServiceClient serviceMonitoringServiceClient =
    *     ServiceMonitoringServiceClient.create()) {
-   *   FolderName parent = FolderName.of("[FOLDER]");
+   *   ResourceName parent = ResourceName.of("[FOLDER]");
    *   for (Service element : serviceMonitoringServiceClient.listServices(parent).iterateAll()) {
    *     // doThingsWith(element);
    *   }
@@ -465,7 +465,7 @@ public final UnaryCallable getServiceCallable() {
    *     

projects/[PROJECT_ID_OR_NUMBER] workspaces/[HOST_PROJECT_ID_OR_NUMBER] * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - public final ListServicesPagedResponse listServices(FolderName parent) { + public final ListServicesPagedResponse listServices(ResourceName parent) { ListServicesRequest request = ListServicesRequest.newBuilder() .setParent(parent == null ? null : parent.toString()) @@ -1441,7 +1441,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListServicesPagedResponse extends AbstractPagedListResponse< - ListServicesRequest, ListServicesResponse, Service, ListServicesPage, + ListServicesRequest, + ListServicesResponse, + Service, + ListServicesPage, ListServicesFixedSizeCollection> { public static ApiFuture createAsync( @@ -1490,7 +1493,10 @@ public ApiFuture createPageAsync( public static class ListServicesFixedSizeCollection extends AbstractFixedSizeCollection< - ListServicesRequest, ListServicesResponse, Service, ListServicesPage, + ListServicesRequest, + ListServicesResponse, + Service, + ListServicesPage, ListServicesFixedSizeCollection> { private ListServicesFixedSizeCollection(List pages, int collectionSize) { @@ -1510,13 +1516,16 @@ protected ListServicesFixedSizeCollection createCollection( public static class ListServiceLevelObjectivesPagedResponse extends AbstractPagedListResponse< - ListServiceLevelObjectivesRequest, ListServiceLevelObjectivesResponse, - ServiceLevelObjective, ListServiceLevelObjectivesPage, + ListServiceLevelObjectivesRequest, + ListServiceLevelObjectivesResponse, + ServiceLevelObjective, + ListServiceLevelObjectivesPage, ListServiceLevelObjectivesFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - ListServiceLevelObjectivesRequest, ListServiceLevelObjectivesResponse, + ListServiceLevelObjectivesRequest, + ListServiceLevelObjectivesResponse, ServiceLevelObjective> context, ApiFuture futureResponse) { @@ -1535,12 +1544,15 @@ private ListServiceLevelObjectivesPagedResponse(ListServiceLevelObjectivesPage p public static class ListServiceLevelObjectivesPage extends AbstractPage< - ListServiceLevelObjectivesRequest, ListServiceLevelObjectivesResponse, - ServiceLevelObjective, ListServiceLevelObjectivesPage> { + ListServiceLevelObjectivesRequest, + ListServiceLevelObjectivesResponse, + ServiceLevelObjective, + ListServiceLevelObjectivesPage> { private ListServiceLevelObjectivesPage( PageContext< - ListServiceLevelObjectivesRequest, ListServiceLevelObjectivesResponse, + ListServiceLevelObjectivesRequest, + ListServiceLevelObjectivesResponse, ServiceLevelObjective> context, ListServiceLevelObjectivesResponse response) { @@ -1554,7 +1566,8 @@ private static ListServiceLevelObjectivesPage createEmptyPage() { @Override protected ListServiceLevelObjectivesPage createPage( PageContext< - ListServiceLevelObjectivesRequest, ListServiceLevelObjectivesResponse, + ListServiceLevelObjectivesRequest, + ListServiceLevelObjectivesResponse, ServiceLevelObjective> context, ListServiceLevelObjectivesResponse response) { @@ -1564,7 +1577,8 @@ protected ListServiceLevelObjectivesPage createPage( @Override public ApiFuture createPageAsync( PageContext< - ListServiceLevelObjectivesRequest, ListServiceLevelObjectivesResponse, + ListServiceLevelObjectivesRequest, + ListServiceLevelObjectivesResponse, ServiceLevelObjective> context, ApiFuture futureResponse) { @@ -1574,8 +1588,10 @@ public ApiFuture createPageAsync( public static class ListServiceLevelObjectivesFixedSizeCollection extends AbstractFixedSizeCollection< - ListServiceLevelObjectivesRequest, ListServiceLevelObjectivesResponse, - ServiceLevelObjective, ListServiceLevelObjectivesPage, + ListServiceLevelObjectivesRequest, + ListServiceLevelObjectivesResponse, + ServiceLevelObjective, + ListServiceLevelObjectivesPage, ListServiceLevelObjectivesFixedSizeCollection> { private ListServiceLevelObjectivesFixedSizeCollection( diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceSettings.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceSettings.java similarity index 96% rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceSettings.java rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceSettings.java index 5af1eeec..7e624c19 100644 --- a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceSettings.java +++ b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceSettings.java @@ -28,7 +28,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.monitoring.v3.stub.ServiceMonitoringServiceStubSettings; @@ -58,9 +57,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -130,7 +129,8 @@ public UnaryCallSettings deleteServiceSettings() { /** Returns the object with the settings used for calls to listServiceLevelObjectives. */ public PagedCallSettings< - ListServiceLevelObjectivesRequest, ListServiceLevelObjectivesResponse, + ListServiceLevelObjectivesRequest, + ListServiceLevelObjectivesResponse, ListServiceLevelObjectivesPagedResponse> listServiceLevelObjectivesSettings() { return ((ServiceMonitoringServiceStubSettings) getStubSettings()) @@ -290,7 +290,8 @@ public UnaryCallSettings.Builder deleteServiceSetti /** Returns the builder for the settings used for calls to listServiceLevelObjectives. */ public PagedCallSettings.Builder< - ListServiceLevelObjectivesRequest, ListServiceLevelObjectivesResponse, + ListServiceLevelObjectivesRequest, + ListServiceLevelObjectivesResponse, ListServiceLevelObjectivesPagedResponse> listServiceLevelObjectivesSettings() { return getStubSettingsBuilder().listServiceLevelObjectivesSettings(); diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClient.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClient.java similarity index 96% rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClient.java rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClient.java index a281b94e..be176117 100644 --- a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClient.java +++ b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClient.java @@ -25,12 +25,12 @@ import com.google.api.gax.paging.AbstractPagedListResponse; import com.google.api.gax.rpc.PageContext; import com.google.api.gax.rpc.UnaryCallable; +import com.google.api.resourcenames.ResourceName; import com.google.cloud.monitoring.v3.stub.UptimeCheckServiceStub; import com.google.cloud.monitoring.v3.stub.UptimeCheckServiceStubSettings; import com.google.common.util.concurrent.MoreExecutors; import com.google.monitoring.v3.CreateUptimeCheckConfigRequest; import com.google.monitoring.v3.DeleteUptimeCheckConfigRequest; -import com.google.monitoring.v3.FolderName; import com.google.monitoring.v3.GetUptimeCheckConfigRequest; import com.google.monitoring.v3.ListUptimeCheckConfigsRequest; import com.google.monitoring.v3.ListUptimeCheckConfigsResponse; @@ -77,13 +77,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -180,7 +180,7 @@ public UptimeCheckServiceStub getStub() { * *
{@code
    * try (UptimeCheckServiceClient uptimeCheckServiceClient = UptimeCheckServiceClient.create()) {
-   *   FolderName parent = FolderName.of("[FOLDER]");
+   *   ResourceName parent = ResourceName.of("[FOLDER]");
    *   for (UptimeCheckConfig element :
    *       uptimeCheckServiceClient.listUptimeCheckConfigs(parent).iterateAll()) {
    *     // doThingsWith(element);
@@ -193,7 +193,7 @@ public UptimeCheckServiceStub getStub() {
    *     

projects/[PROJECT_ID_OR_NUMBER] * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - public final ListUptimeCheckConfigsPagedResponse listUptimeCheckConfigs(FolderName parent) { + public final ListUptimeCheckConfigsPagedResponse listUptimeCheckConfigs(ResourceName parent) { ListUptimeCheckConfigsRequest request = ListUptimeCheckConfigsRequest.newBuilder() .setParent(parent == null ? null : parent.toString()) @@ -497,7 +497,7 @@ public final UptimeCheckConfig getUptimeCheckConfig(GetUptimeCheckConfigRequest * *

{@code
    * try (UptimeCheckServiceClient uptimeCheckServiceClient = UptimeCheckServiceClient.create()) {
-   *   FolderName parent = FolderName.of("[FOLDER]");
+   *   ResourceName parent = ResourceName.of("[FOLDER]");
    *   UptimeCheckConfig uptimeCheckConfig = UptimeCheckConfig.newBuilder().build();
    *   UptimeCheckConfig response =
    *       uptimeCheckServiceClient.createUptimeCheckConfig(parent, uptimeCheckConfig);
@@ -511,7 +511,7 @@ public final UptimeCheckConfig getUptimeCheckConfig(GetUptimeCheckConfigRequest
    * @throws com.google.api.gax.rpc.ApiException if the remote call fails
    */
   public final UptimeCheckConfig createUptimeCheckConfig(
-      FolderName parent, UptimeCheckConfig uptimeCheckConfig) {
+      ResourceName parent, UptimeCheckConfig uptimeCheckConfig) {
     CreateUptimeCheckConfigRequest request =
         CreateUptimeCheckConfigRequest.newBuilder()
             .setParent(parent == null ? null : parent.toString())
@@ -981,8 +981,11 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted
 
   public static class ListUptimeCheckConfigsPagedResponse
       extends AbstractPagedListResponse<
-          ListUptimeCheckConfigsRequest, ListUptimeCheckConfigsResponse, UptimeCheckConfig,
-          ListUptimeCheckConfigsPage, ListUptimeCheckConfigsFixedSizeCollection> {
+          ListUptimeCheckConfigsRequest,
+          ListUptimeCheckConfigsResponse,
+          UptimeCheckConfig,
+          ListUptimeCheckConfigsPage,
+          ListUptimeCheckConfigsFixedSizeCollection> {
 
     public static ApiFuture createAsync(
         PageContext<
@@ -1004,7 +1007,9 @@ private ListUptimeCheckConfigsPagedResponse(ListUptimeCheckConfigsPage page) {
 
   public static class ListUptimeCheckConfigsPage
       extends AbstractPage<
-          ListUptimeCheckConfigsRequest, ListUptimeCheckConfigsResponse, UptimeCheckConfig,
+          ListUptimeCheckConfigsRequest,
+          ListUptimeCheckConfigsResponse,
+          UptimeCheckConfig,
           ListUptimeCheckConfigsPage> {
 
     private ListUptimeCheckConfigsPage(
@@ -1040,8 +1045,11 @@ public ApiFuture createPageAsync(
 
   public static class ListUptimeCheckConfigsFixedSizeCollection
       extends AbstractFixedSizeCollection<
-          ListUptimeCheckConfigsRequest, ListUptimeCheckConfigsResponse, UptimeCheckConfig,
-          ListUptimeCheckConfigsPage, ListUptimeCheckConfigsFixedSizeCollection> {
+          ListUptimeCheckConfigsRequest,
+          ListUptimeCheckConfigsResponse,
+          UptimeCheckConfig,
+          ListUptimeCheckConfigsPage,
+          ListUptimeCheckConfigsFixedSizeCollection> {
 
     private ListUptimeCheckConfigsFixedSizeCollection(
         List pages, int collectionSize) {
@@ -1061,8 +1069,11 @@ protected ListUptimeCheckConfigsFixedSizeCollection createCollection(
 
   public static class ListUptimeCheckIpsPagedResponse
       extends AbstractPagedListResponse<
-          ListUptimeCheckIpsRequest, ListUptimeCheckIpsResponse, UptimeCheckIp,
-          ListUptimeCheckIpsPage, ListUptimeCheckIpsFixedSizeCollection> {
+          ListUptimeCheckIpsRequest,
+          ListUptimeCheckIpsResponse,
+          UptimeCheckIp,
+          ListUptimeCheckIpsPage,
+          ListUptimeCheckIpsFixedSizeCollection> {
 
     public static ApiFuture createAsync(
         PageContext context,
@@ -1082,7 +1093,9 @@ private ListUptimeCheckIpsPagedResponse(ListUptimeCheckIpsPage page) {
 
   public static class ListUptimeCheckIpsPage
       extends AbstractPage<
-          ListUptimeCheckIpsRequest, ListUptimeCheckIpsResponse, UptimeCheckIp,
+          ListUptimeCheckIpsRequest,
+          ListUptimeCheckIpsResponse,
+          UptimeCheckIp,
           ListUptimeCheckIpsPage> {
 
     private ListUptimeCheckIpsPage(
@@ -1112,8 +1125,11 @@ public ApiFuture createPageAsync(
 
   public static class ListUptimeCheckIpsFixedSizeCollection
       extends AbstractFixedSizeCollection<
-          ListUptimeCheckIpsRequest, ListUptimeCheckIpsResponse, UptimeCheckIp,
-          ListUptimeCheckIpsPage, ListUptimeCheckIpsFixedSizeCollection> {
+          ListUptimeCheckIpsRequest,
+          ListUptimeCheckIpsResponse,
+          UptimeCheckIp,
+          ListUptimeCheckIpsPage,
+          ListUptimeCheckIpsFixedSizeCollection> {
 
     private ListUptimeCheckIpsFixedSizeCollection(
         List pages, int collectionSize) {
diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceSettings.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceSettings.java
similarity index 95%
rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceSettings.java
rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceSettings.java
index f2586ef3..ca308c74 100644
--- a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceSettings.java
+++ b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceSettings.java
@@ -28,7 +28,6 @@
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.ClientSettings;
 import com.google.api.gax.rpc.PagedCallSettings;
-import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.monitoring.v3.stub.UptimeCheckServiceStubSettings;
@@ -53,9 +52,9 @@
  * 

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -84,7 +83,8 @@ public class UptimeCheckServiceSettings extends ClientSettings listUptimeCheckConfigsSettings() { return ((UptimeCheckServiceStubSettings) getStubSettings()).listUptimeCheckConfigsSettings(); @@ -220,7 +220,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listUptimeCheckConfigs. */ public PagedCallSettings.Builder< - ListUptimeCheckConfigsRequest, ListUptimeCheckConfigsResponse, + ListUptimeCheckConfigsRequest, + ListUptimeCheckConfigsResponse, ListUptimeCheckConfigsPagedResponse> listUptimeCheckConfigsSettings() { return getStubSettingsBuilder().listUptimeCheckConfigsSettings(); diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/gapic_metadata.json b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/gapic_metadata.json rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/gapic_metadata.json diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/package-info.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/package-info.java similarity index 100% rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/package-info.java rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/package-info.java diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/AlertPolicyServiceStub.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/AlertPolicyServiceStub.java similarity index 100% rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/AlertPolicyServiceStub.java rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/AlertPolicyServiceStub.java diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/AlertPolicyServiceStubSettings.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/AlertPolicyServiceStubSettings.java similarity index 98% rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/AlertPolicyServiceStubSettings.java rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/AlertPolicyServiceStubSettings.java index 01d6a220..b58140a4 100644 --- a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/AlertPolicyServiceStubSettings.java +++ b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/AlertPolicyServiceStubSettings.java @@ -64,9 +64,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -152,7 +152,8 @@ public Iterable extractResources(ListAlertPoliciesResponse payload) ListAlertPoliciesRequest, ListAlertPoliciesResponse, ListAlertPoliciesPagedResponse> LIST_ALERT_POLICIES_PAGE_STR_FACT = new PagedListResponseFactory< - ListAlertPoliciesRequest, ListAlertPoliciesResponse, + ListAlertPoliciesRequest, + ListAlertPoliciesResponse, ListAlertPoliciesPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GroupServiceStub.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GroupServiceStub.java similarity index 100% rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GroupServiceStub.java rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GroupServiceStub.java diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GroupServiceStubSettings.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GroupServiceStubSettings.java similarity index 98% rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GroupServiceStubSettings.java rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GroupServiceStubSettings.java index b9d6a206..02d84e96 100644 --- a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GroupServiceStubSettings.java +++ b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GroupServiceStubSettings.java @@ -68,9 +68,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcAlertPolicyServiceCallableFactory.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcAlertPolicyServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcAlertPolicyServiceCallableFactory.java rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcAlertPolicyServiceCallableFactory.java diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcAlertPolicyServiceStub.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcAlertPolicyServiceStub.java similarity index 99% rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcAlertPolicyServiceStub.java rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcAlertPolicyServiceStub.java index 4c0b97fa..bda3f514 100644 --- a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcAlertPolicyServiceStub.java +++ b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcAlertPolicyServiceStub.java @@ -37,7 +37,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcGroupServiceCallableFactory.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcGroupServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcGroupServiceCallableFactory.java rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcGroupServiceCallableFactory.java diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcGroupServiceStub.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcGroupServiceStub.java similarity index 99% rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcGroupServiceStub.java rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcGroupServiceStub.java index 4305a3ad..c0d1ae6f 100644 --- a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcGroupServiceStub.java +++ b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcGroupServiceStub.java @@ -40,7 +40,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcMetricServiceCallableFactory.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcMetricServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcMetricServiceCallableFactory.java rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcMetricServiceCallableFactory.java diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcMetricServiceStub.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcMetricServiceStub.java similarity index 99% rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcMetricServiceStub.java rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcMetricServiceStub.java index 64b7319e..df1782e4 100644 --- a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcMetricServiceStub.java +++ b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcMetricServiceStub.java @@ -45,7 +45,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcNotificationChannelServiceCallableFactory.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcNotificationChannelServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcNotificationChannelServiceCallableFactory.java rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcNotificationChannelServiceCallableFactory.java diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcNotificationChannelServiceStub.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcNotificationChannelServiceStub.java similarity index 99% rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcNotificationChannelServiceStub.java rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcNotificationChannelServiceStub.java index 56e7a9ac..c158b846 100644 --- a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcNotificationChannelServiceStub.java +++ b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcNotificationChannelServiceStub.java @@ -46,7 +46,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcQueryServiceCallableFactory.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcQueryServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcQueryServiceCallableFactory.java rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcQueryServiceCallableFactory.java diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcQueryServiceStub.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcQueryServiceStub.java similarity index 99% rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcQueryServiceStub.java rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcQueryServiceStub.java index 43415315..8598bffe 100644 --- a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcQueryServiceStub.java +++ b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcQueryServiceStub.java @@ -31,7 +31,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcServiceMonitoringServiceCallableFactory.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcServiceMonitoringServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcServiceMonitoringServiceCallableFactory.java rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcServiceMonitoringServiceCallableFactory.java diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcServiceMonitoringServiceStub.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcServiceMonitoringServiceStub.java similarity index 99% rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcServiceMonitoringServiceStub.java rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcServiceMonitoringServiceStub.java index 21d6720f..f2eccd9d 100644 --- a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcServiceMonitoringServiceStub.java +++ b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcServiceMonitoringServiceStub.java @@ -45,7 +45,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcUptimeCheckServiceCallableFactory.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcUptimeCheckServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcUptimeCheckServiceCallableFactory.java rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcUptimeCheckServiceCallableFactory.java diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcUptimeCheckServiceStub.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcUptimeCheckServiceStub.java similarity index 99% rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcUptimeCheckServiceStub.java rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcUptimeCheckServiceStub.java index 5472a17b..74270066 100644 --- a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcUptimeCheckServiceStub.java +++ b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcUptimeCheckServiceStub.java @@ -40,7 +40,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/MetricServiceStub.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/MetricServiceStub.java similarity index 100% rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/MetricServiceStub.java rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/MetricServiceStub.java diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/MetricServiceStubSettings.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/MetricServiceStubSettings.java similarity index 95% rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/MetricServiceStubSettings.java rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/MetricServiceStubSettings.java index 9f9e5ec4..96d081f5 100644 --- a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/MetricServiceStubSettings.java +++ b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/MetricServiceStubSettings.java @@ -73,9 +73,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -110,14 +110,16 @@ public class MetricServiceStubSettings extends StubSettings listMonitoredResourceDescriptorsSettings; private final UnaryCallSettings< GetMonitoredResourceDescriptorRequest, MonitoredResourceDescriptor> getMonitoredResourceDescriptorSettings; private final PagedCallSettings< - ListMetricDescriptorsRequest, ListMetricDescriptorsResponse, + ListMetricDescriptorsRequest, + ListMetricDescriptorsResponse, ListMetricDescriptorsPagedResponse> listMetricDescriptorsSettings; private final UnaryCallSettings @@ -133,11 +135,13 @@ public class MetricServiceStubSettings extends StubSettings createServiceTimeSeriesSettings; private static final PagedListDescriptor< - ListMonitoredResourceDescriptorsRequest, ListMonitoredResourceDescriptorsResponse, + ListMonitoredResourceDescriptorsRequest, + ListMonitoredResourceDescriptorsResponse, MonitoredResourceDescriptor> LIST_MONITORED_RESOURCE_DESCRIPTORS_PAGE_STR_DESC = new PagedListDescriptor< - ListMonitoredResourceDescriptorsRequest, ListMonitoredResourceDescriptorsResponse, + ListMonitoredResourceDescriptorsRequest, + ListMonitoredResourceDescriptorsResponse, MonitoredResourceDescriptor>() { @Override public String emptyToken() { @@ -259,11 +263,13 @@ public Iterable extractResources(ListTimeSeriesResponse payload) { }; private static final PagedListResponseFactory< - ListMonitoredResourceDescriptorsRequest, ListMonitoredResourceDescriptorsResponse, + ListMonitoredResourceDescriptorsRequest, + ListMonitoredResourceDescriptorsResponse, ListMonitoredResourceDescriptorsPagedResponse> LIST_MONITORED_RESOURCE_DESCRIPTORS_PAGE_STR_FACT = new PagedListResponseFactory< - ListMonitoredResourceDescriptorsRequest, ListMonitoredResourceDescriptorsResponse, + ListMonitoredResourceDescriptorsRequest, + ListMonitoredResourceDescriptorsResponse, ListMonitoredResourceDescriptorsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -276,7 +282,8 @@ public ApiFuture getFuturePagedRe ApiFuture futureResponse) { PageContext< ListMonitoredResourceDescriptorsRequest, - ListMonitoredResourceDescriptorsResponse, MonitoredResourceDescriptor> + ListMonitoredResourceDescriptorsResponse, + MonitoredResourceDescriptor> pageContext = PageContext.create( callable, @@ -289,11 +296,13 @@ public ApiFuture getFuturePagedRe }; private static final PagedListResponseFactory< - ListMetricDescriptorsRequest, ListMetricDescriptorsResponse, + ListMetricDescriptorsRequest, + ListMetricDescriptorsResponse, ListMetricDescriptorsPagedResponse> LIST_METRIC_DESCRIPTORS_PAGE_STR_FACT = new PagedListResponseFactory< - ListMetricDescriptorsRequest, ListMetricDescriptorsResponse, + ListMetricDescriptorsRequest, + ListMetricDescriptorsResponse, ListMetricDescriptorsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -329,7 +338,8 @@ public ApiFuture getFuturePagedResponse( /** Returns the object with the settings used for calls to listMonitoredResourceDescriptors. */ public PagedCallSettings< - ListMonitoredResourceDescriptorsRequest, ListMonitoredResourceDescriptorsResponse, + ListMonitoredResourceDescriptorsRequest, + ListMonitoredResourceDescriptorsResponse, ListMonitoredResourceDescriptorsPagedResponse> listMonitoredResourceDescriptorsSettings() { return listMonitoredResourceDescriptorsSettings; @@ -343,7 +353,8 @@ public ApiFuture getFuturePagedResponse( /** Returns the object with the settings used for calls to listMetricDescriptors. */ public PagedCallSettings< - ListMetricDescriptorsRequest, ListMetricDescriptorsResponse, + ListMetricDescriptorsRequest, + ListMetricDescriptorsResponse, ListMetricDescriptorsPagedResponse> listMetricDescriptorsSettings() { return listMetricDescriptorsSettings; @@ -476,14 +487,16 @@ protected MetricServiceStubSettings(Builder settingsBuilder) throws IOException public static class Builder extends StubSettings.Builder { private final ImmutableList> unaryMethodSettingsBuilders; private final PagedCallSettings.Builder< - ListMonitoredResourceDescriptorsRequest, ListMonitoredResourceDescriptorsResponse, + ListMonitoredResourceDescriptorsRequest, + ListMonitoredResourceDescriptorsResponse, ListMonitoredResourceDescriptorsPagedResponse> listMonitoredResourceDescriptorsSettings; private final UnaryCallSettings.Builder< GetMonitoredResourceDescriptorRequest, MonitoredResourceDescriptor> getMonitoredResourceDescriptorSettings; private final PagedCallSettings.Builder< - ListMetricDescriptorsRequest, ListMetricDescriptorsResponse, + ListMetricDescriptorsRequest, + ListMetricDescriptorsResponse, ListMetricDescriptorsPagedResponse> listMetricDescriptorsSettings; private final UnaryCallSettings.Builder @@ -697,7 +710,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listMonitoredResourceDescriptors. */ public PagedCallSettings.Builder< - ListMonitoredResourceDescriptorsRequest, ListMonitoredResourceDescriptorsResponse, + ListMonitoredResourceDescriptorsRequest, + ListMonitoredResourceDescriptorsResponse, ListMonitoredResourceDescriptorsPagedResponse> listMonitoredResourceDescriptorsSettings() { return listMonitoredResourceDescriptorsSettings; @@ -712,7 +726,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listMetricDescriptors. */ public PagedCallSettings.Builder< - ListMetricDescriptorsRequest, ListMetricDescriptorsResponse, + ListMetricDescriptorsRequest, + ListMetricDescriptorsResponse, ListMetricDescriptorsPagedResponse> listMetricDescriptorsSettings() { return listMetricDescriptorsSettings; diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/NotificationChannelServiceStub.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/NotificationChannelServiceStub.java similarity index 100% rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/NotificationChannelServiceStub.java rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/NotificationChannelServiceStub.java diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/NotificationChannelServiceStubSettings.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/NotificationChannelServiceStubSettings.java similarity index 94% rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/NotificationChannelServiceStubSettings.java rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/NotificationChannelServiceStubSettings.java index 20b86fc6..acfebbea 100644 --- a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/NotificationChannelServiceStubSettings.java +++ b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/NotificationChannelServiceStubSettings.java @@ -73,9 +73,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -111,14 +111,16 @@ public class NotificationChannelServiceStubSettings .build(); private final PagedCallSettings< - ListNotificationChannelDescriptorsRequest, ListNotificationChannelDescriptorsResponse, + ListNotificationChannelDescriptorsRequest, + ListNotificationChannelDescriptorsResponse, ListNotificationChannelDescriptorsPagedResponse> listNotificationChannelDescriptorsSettings; private final UnaryCallSettings< GetNotificationChannelDescriptorRequest, NotificationChannelDescriptor> getNotificationChannelDescriptorSettings; private final PagedCallSettings< - ListNotificationChannelsRequest, ListNotificationChannelsResponse, + ListNotificationChannelsRequest, + ListNotificationChannelsResponse, ListNotificationChannelsPagedResponse> listNotificationChannelsSettings; private final UnaryCallSettings @@ -139,11 +141,13 @@ public class NotificationChannelServiceStubSettings verifyNotificationChannelSettings; private static final PagedListDescriptor< - ListNotificationChannelDescriptorsRequest, ListNotificationChannelDescriptorsResponse, + ListNotificationChannelDescriptorsRequest, + ListNotificationChannelDescriptorsResponse, NotificationChannelDescriptor> LIST_NOTIFICATION_CHANNEL_DESCRIPTORS_PAGE_STR_DESC = new PagedListDescriptor< - ListNotificationChannelDescriptorsRequest, ListNotificationChannelDescriptorsResponse, + ListNotificationChannelDescriptorsRequest, + ListNotificationChannelDescriptorsResponse, NotificationChannelDescriptor>() { @Override public String emptyToken() { @@ -189,7 +193,8 @@ public Iterable extractResources( ListNotificationChannelsRequest, ListNotificationChannelsResponse, NotificationChannel> LIST_NOTIFICATION_CHANNELS_PAGE_STR_DESC = new PagedListDescriptor< - ListNotificationChannelsRequest, ListNotificationChannelsResponse, + ListNotificationChannelsRequest, + ListNotificationChannelsResponse, NotificationChannel>() { @Override public String emptyToken() { @@ -232,11 +237,13 @@ public Iterable extractResources( }; private static final PagedListResponseFactory< - ListNotificationChannelDescriptorsRequest, ListNotificationChannelDescriptorsResponse, + ListNotificationChannelDescriptorsRequest, + ListNotificationChannelDescriptorsResponse, ListNotificationChannelDescriptorsPagedResponse> LIST_NOTIFICATION_CHANNEL_DESCRIPTORS_PAGE_STR_FACT = new PagedListResponseFactory< - ListNotificationChannelDescriptorsRequest, ListNotificationChannelDescriptorsResponse, + ListNotificationChannelDescriptorsRequest, + ListNotificationChannelDescriptorsResponse, ListNotificationChannelDescriptorsPagedResponse>() { @Override public ApiFuture @@ -250,7 +257,8 @@ public Iterable extractResources( ApiFuture futureResponse) { PageContext< ListNotificationChannelDescriptorsRequest, - ListNotificationChannelDescriptorsResponse, NotificationChannelDescriptor> + ListNotificationChannelDescriptorsResponse, + NotificationChannelDescriptor> pageContext = PageContext.create( callable, @@ -263,11 +271,13 @@ public Iterable extractResources( }; private static final PagedListResponseFactory< - ListNotificationChannelsRequest, ListNotificationChannelsResponse, + ListNotificationChannelsRequest, + ListNotificationChannelsResponse, ListNotificationChannelsPagedResponse> LIST_NOTIFICATION_CHANNELS_PAGE_STR_FACT = new PagedListResponseFactory< - ListNotificationChannelsRequest, ListNotificationChannelsResponse, + ListNotificationChannelsRequest, + ListNotificationChannelsResponse, ListNotificationChannelsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -277,7 +287,8 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListNotificationChannelsRequest, ListNotificationChannelsResponse, + ListNotificationChannelsRequest, + ListNotificationChannelsResponse, NotificationChannel> pageContext = PageContext.create( @@ -288,7 +299,8 @@ public ApiFuture getFuturePagedResponse( /** Returns the object with the settings used for calls to listNotificationChannelDescriptors. */ public PagedCallSettings< - ListNotificationChannelDescriptorsRequest, ListNotificationChannelDescriptorsResponse, + ListNotificationChannelDescriptorsRequest, + ListNotificationChannelDescriptorsResponse, ListNotificationChannelDescriptorsPagedResponse> listNotificationChannelDescriptorsSettings() { return listNotificationChannelDescriptorsSettings; @@ -302,7 +314,8 @@ public ApiFuture getFuturePagedResponse( /** Returns the object with the settings used for calls to listNotificationChannels. */ public PagedCallSettings< - ListNotificationChannelsRequest, ListNotificationChannelsResponse, + ListNotificationChannelsRequest, + ListNotificationChannelsResponse, ListNotificationChannelsPagedResponse> listNotificationChannelsSettings() { return listNotificationChannelsSettings; @@ -453,14 +466,16 @@ public static class Builder extends StubSettings.Builder { private final ImmutableList> unaryMethodSettingsBuilders; private final PagedCallSettings.Builder< - ListNotificationChannelDescriptorsRequest, ListNotificationChannelDescriptorsResponse, + ListNotificationChannelDescriptorsRequest, + ListNotificationChannelDescriptorsResponse, ListNotificationChannelDescriptorsPagedResponse> listNotificationChannelDescriptorsSettings; private final UnaryCallSettings.Builder< GetNotificationChannelDescriptorRequest, NotificationChannelDescriptor> getNotificationChannelDescriptorSettings; private final PagedCallSettings.Builder< - ListNotificationChannelsRequest, ListNotificationChannelsResponse, + ListNotificationChannelsRequest, + ListNotificationChannelsResponse, ListNotificationChannelsPagedResponse> listNotificationChannelsSettings; private final UnaryCallSettings.Builder @@ -675,7 +690,8 @@ public Builder applyToAllUnaryMethods( * Returns the builder for the settings used for calls to listNotificationChannelDescriptors. */ public PagedCallSettings.Builder< - ListNotificationChannelDescriptorsRequest, ListNotificationChannelDescriptorsResponse, + ListNotificationChannelDescriptorsRequest, + ListNotificationChannelDescriptorsResponse, ListNotificationChannelDescriptorsPagedResponse> listNotificationChannelDescriptorsSettings() { return listNotificationChannelDescriptorsSettings; @@ -690,7 +706,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listNotificationChannels. */ public PagedCallSettings.Builder< - ListNotificationChannelsRequest, ListNotificationChannelsResponse, + ListNotificationChannelsRequest, + ListNotificationChannelsResponse, ListNotificationChannelsPagedResponse> listNotificationChannelsSettings() { return listNotificationChannelsSettings; diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/QueryServiceStub.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/QueryServiceStub.java similarity index 100% rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/QueryServiceStub.java rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/QueryServiceStub.java diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/QueryServiceStubSettings.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/QueryServiceStubSettings.java similarity index 97% rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/QueryServiceStubSettings.java rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/QueryServiceStubSettings.java index ac6721ab..9fcd54fb 100644 --- a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/QueryServiceStubSettings.java +++ b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/QueryServiceStubSettings.java @@ -58,9 +58,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/ServiceMonitoringServiceStub.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/ServiceMonitoringServiceStub.java similarity index 100% rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/ServiceMonitoringServiceStub.java rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/ServiceMonitoringServiceStub.java diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/ServiceMonitoringServiceStubSettings.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/ServiceMonitoringServiceStubSettings.java similarity index 96% rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/ServiceMonitoringServiceStubSettings.java rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/ServiceMonitoringServiceStubSettings.java index 3dd19eb2..45790146 100644 --- a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/ServiceMonitoringServiceStubSettings.java +++ b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/ServiceMonitoringServiceStubSettings.java @@ -72,9 +72,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -121,7 +121,8 @@ public class ServiceMonitoringServiceStubSettings private final UnaryCallSettings getServiceLevelObjectiveSettings; private final PagedCallSettings< - ListServiceLevelObjectivesRequest, ListServiceLevelObjectivesResponse, + ListServiceLevelObjectivesRequest, + ListServiceLevelObjectivesResponse, ListServiceLevelObjectivesPagedResponse> listServiceLevelObjectivesSettings; private final UnaryCallSettings @@ -166,11 +167,13 @@ public Iterable extractResources(ListServicesResponse payload) { }; private static final PagedListDescriptor< - ListServiceLevelObjectivesRequest, ListServiceLevelObjectivesResponse, + ListServiceLevelObjectivesRequest, + ListServiceLevelObjectivesResponse, ServiceLevelObjective> LIST_SERVICE_LEVEL_OBJECTIVES_PAGE_STR_DESC = new PagedListDescriptor< - ListServiceLevelObjectivesRequest, ListServiceLevelObjectivesResponse, + ListServiceLevelObjectivesRequest, + ListServiceLevelObjectivesResponse, ServiceLevelObjective>() { @Override public String emptyToken() { @@ -230,11 +233,13 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListServiceLevelObjectivesRequest, ListServiceLevelObjectivesResponse, + ListServiceLevelObjectivesRequest, + ListServiceLevelObjectivesResponse, ListServiceLevelObjectivesPagedResponse> LIST_SERVICE_LEVEL_OBJECTIVES_PAGE_STR_FACT = new PagedListResponseFactory< - ListServiceLevelObjectivesRequest, ListServiceLevelObjectivesResponse, + ListServiceLevelObjectivesRequest, + ListServiceLevelObjectivesResponse, ListServiceLevelObjectivesPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -244,7 +249,8 @@ public ApiFuture getFuturePagedResponse ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListServiceLevelObjectivesRequest, ListServiceLevelObjectivesResponse, + ListServiceLevelObjectivesRequest, + ListServiceLevelObjectivesResponse, ServiceLevelObjective> pageContext = PageContext.create( @@ -294,7 +300,8 @@ public UnaryCallSettings deleteServiceSettings() { /** Returns the object with the settings used for calls to listServiceLevelObjectives. */ public PagedCallSettings< - ListServiceLevelObjectivesRequest, ListServiceLevelObjectivesResponse, + ListServiceLevelObjectivesRequest, + ListServiceLevelObjectivesResponse, ListServiceLevelObjectivesPagedResponse> listServiceLevelObjectivesSettings() { return listServiceLevelObjectivesSettings; @@ -421,7 +428,8 @@ public static class Builder private final UnaryCallSettings.Builder getServiceLevelObjectiveSettings; private final PagedCallSettings.Builder< - ListServiceLevelObjectivesRequest, ListServiceLevelObjectivesResponse, + ListServiceLevelObjectivesRequest, + ListServiceLevelObjectivesResponse, ListServiceLevelObjectivesPagedResponse> listServiceLevelObjectivesSettings; private final UnaryCallSettings.Builder< @@ -658,7 +666,8 @@ public UnaryCallSettings.Builder deleteServiceSetti /** Returns the builder for the settings used for calls to listServiceLevelObjectives. */ public PagedCallSettings.Builder< - ListServiceLevelObjectivesRequest, ListServiceLevelObjectivesResponse, + ListServiceLevelObjectivesRequest, + ListServiceLevelObjectivesResponse, ListServiceLevelObjectivesPagedResponse> listServiceLevelObjectivesSettings() { return listServiceLevelObjectivesSettings; diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/UptimeCheckServiceStub.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/UptimeCheckServiceStub.java similarity index 100% rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/UptimeCheckServiceStub.java rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/UptimeCheckServiceStub.java diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/UptimeCheckServiceStubSettings.java b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/UptimeCheckServiceStubSettings.java similarity index 96% rename from owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/UptimeCheckServiceStubSettings.java rename to google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/UptimeCheckServiceStubSettings.java index 66bf75fa..4c76b6b4 100644 --- a/owl-bot-staging/v3/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/UptimeCheckServiceStubSettings.java +++ b/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/UptimeCheckServiceStubSettings.java @@ -68,9 +68,9 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -105,7 +105,8 @@ public class UptimeCheckServiceStubSettings extends StubSettings listUptimeCheckConfigsSettings; private final UnaryCallSettings @@ -204,11 +205,13 @@ public Iterable extractResources(ListUptimeCheckIpsResponse paylo }; private static final PagedListResponseFactory< - ListUptimeCheckConfigsRequest, ListUptimeCheckConfigsResponse, + ListUptimeCheckConfigsRequest, + ListUptimeCheckConfigsResponse, ListUptimeCheckConfigsPagedResponse> LIST_UPTIME_CHECK_CONFIGS_PAGE_STR_FACT = new PagedListResponseFactory< - ListUptimeCheckConfigsRequest, ListUptimeCheckConfigsResponse, + ListUptimeCheckConfigsRequest, + ListUptimeCheckConfigsResponse, ListUptimeCheckConfigsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -218,7 +221,8 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListUptimeCheckConfigsRequest, ListUptimeCheckConfigsResponse, + ListUptimeCheckConfigsRequest, + ListUptimeCheckConfigsResponse, UptimeCheckConfig> pageContext = PageContext.create( @@ -231,7 +235,8 @@ public ApiFuture getFuturePagedResponse( ListUptimeCheckIpsRequest, ListUptimeCheckIpsResponse, ListUptimeCheckIpsPagedResponse> LIST_UPTIME_CHECK_IPS_PAGE_STR_FACT = new PagedListResponseFactory< - ListUptimeCheckIpsRequest, ListUptimeCheckIpsResponse, + ListUptimeCheckIpsRequest, + ListUptimeCheckIpsResponse, ListUptimeCheckIpsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -249,7 +254,8 @@ public ApiFuture getFuturePagedResponse( /** Returns the object with the settings used for calls to listUptimeCheckConfigs. */ public PagedCallSettings< - ListUptimeCheckConfigsRequest, ListUptimeCheckConfigsResponse, + ListUptimeCheckConfigsRequest, + ListUptimeCheckConfigsResponse, ListUptimeCheckConfigsPagedResponse> listUptimeCheckConfigsSettings() { return listUptimeCheckConfigsSettings; @@ -375,7 +381,8 @@ public static class Builder extends StubSettings.Builder { private final ImmutableList> unaryMethodSettingsBuilders; private final PagedCallSettings.Builder< - ListUptimeCheckConfigsRequest, ListUptimeCheckConfigsResponse, + ListUptimeCheckConfigsRequest, + ListUptimeCheckConfigsResponse, ListUptimeCheckConfigsPagedResponse> listUptimeCheckConfigsSettings; private final UnaryCallSettings.Builder @@ -541,7 +548,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listUptimeCheckConfigs. */ public PagedCallSettings.Builder< - ListUptimeCheckConfigsRequest, ListUptimeCheckConfigsResponse, + ListUptimeCheckConfigsRequest, + ListUptimeCheckConfigsResponse, ListUptimeCheckConfigsPagedResponse> listUptimeCheckConfigsSettings() { return listUptimeCheckConfigsSettings; diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClientTest.java b/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClientTest.java similarity index 100% rename from owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClientTest.java rename to google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClientTest.java diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/GroupServiceClientTest.java b/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/GroupServiceClientTest.java similarity index 100% rename from owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/GroupServiceClientTest.java rename to google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/GroupServiceClientTest.java diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MetricServiceClientTest.java b/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MetricServiceClientTest.java similarity index 100% rename from owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MetricServiceClientTest.java rename to google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MetricServiceClientTest.java diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockAlertPolicyService.java b/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockAlertPolicyService.java similarity index 100% rename from owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockAlertPolicyService.java rename to google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockAlertPolicyService.java diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockAlertPolicyServiceImpl.java b/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockAlertPolicyServiceImpl.java similarity index 100% rename from owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockAlertPolicyServiceImpl.java rename to google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockAlertPolicyServiceImpl.java diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockGroupService.java b/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockGroupService.java similarity index 100% rename from owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockGroupService.java rename to google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockGroupService.java diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockGroupServiceImpl.java b/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockGroupServiceImpl.java similarity index 100% rename from owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockGroupServiceImpl.java rename to google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockGroupServiceImpl.java diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockMetricService.java b/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockMetricService.java similarity index 100% rename from owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockMetricService.java rename to google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockMetricService.java diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockMetricServiceImpl.java b/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockMetricServiceImpl.java similarity index 100% rename from owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockMetricServiceImpl.java rename to google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockMetricServiceImpl.java diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockNotificationChannelService.java b/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockNotificationChannelService.java similarity index 100% rename from owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockNotificationChannelService.java rename to google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockNotificationChannelService.java diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockNotificationChannelServiceImpl.java b/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockNotificationChannelServiceImpl.java similarity index 100% rename from owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockNotificationChannelServiceImpl.java rename to google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockNotificationChannelServiceImpl.java diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockQueryService.java b/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockQueryService.java similarity index 100% rename from owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockQueryService.java rename to google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockQueryService.java diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockQueryServiceImpl.java b/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockQueryServiceImpl.java similarity index 100% rename from owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockQueryServiceImpl.java rename to google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockQueryServiceImpl.java diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockServiceMonitoringService.java b/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockServiceMonitoringService.java similarity index 100% rename from owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockServiceMonitoringService.java rename to google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockServiceMonitoringService.java diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockServiceMonitoringServiceImpl.java b/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockServiceMonitoringServiceImpl.java similarity index 100% rename from owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockServiceMonitoringServiceImpl.java rename to google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockServiceMonitoringServiceImpl.java diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockUptimeCheckService.java b/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockUptimeCheckService.java similarity index 100% rename from owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockUptimeCheckService.java rename to google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockUptimeCheckService.java diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockUptimeCheckServiceImpl.java b/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockUptimeCheckServiceImpl.java similarity index 100% rename from owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockUptimeCheckServiceImpl.java rename to google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/MockUptimeCheckServiceImpl.java diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClientTest.java b/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClientTest.java similarity index 100% rename from owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClientTest.java rename to google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClientTest.java diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/QueryServiceClientTest.java b/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/QueryServiceClientTest.java similarity index 100% rename from owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/QueryServiceClientTest.java rename to google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/QueryServiceClientTest.java diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceClientTest.java b/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceClientTest.java similarity index 100% rename from owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceClientTest.java rename to google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceClientTest.java diff --git a/owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClientTest.java b/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClientTest.java similarity index 100% rename from owl-bot-staging/v3/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClientTest.java rename to google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClientTest.java diff --git a/owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyServiceGrpc.java b/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyServiceGrpc.java similarity index 50% rename from owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyServiceGrpc.java rename to grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyServiceGrpc.java index d3421b60..1545e5ce 100644 --- a/owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyServiceGrpc.java +++ b/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyServiceGrpc.java @@ -1,8 +1,25 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.monitoring.v3; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *

  * The AlertPolicyService API is used to manage (list, create, delete,
  * edit) alert policies in Stackdriver Monitoring. An alerting policy is
@@ -26,206 +43,272 @@ private AlertPolicyServiceGrpc() {}
   public static final String SERVICE_NAME = "google.monitoring.v3.AlertPolicyService";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor getListAlertPoliciesMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.monitoring.v3.ListAlertPoliciesRequest,
+          com.google.monitoring.v3.ListAlertPoliciesResponse>
+      getListAlertPoliciesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListAlertPolicies",
       requestType = com.google.monitoring.v3.ListAlertPoliciesRequest.class,
       responseType = com.google.monitoring.v3.ListAlertPoliciesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListAlertPoliciesMethod() {
-    io.grpc.MethodDescriptor getListAlertPoliciesMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.monitoring.v3.ListAlertPoliciesRequest,
+          com.google.monitoring.v3.ListAlertPoliciesResponse>
+      getListAlertPoliciesMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.monitoring.v3.ListAlertPoliciesRequest,
+            com.google.monitoring.v3.ListAlertPoliciesResponse>
+        getListAlertPoliciesMethod;
     if ((getListAlertPoliciesMethod = AlertPolicyServiceGrpc.getListAlertPoliciesMethod) == null) {
       synchronized (AlertPolicyServiceGrpc.class) {
-        if ((getListAlertPoliciesMethod = AlertPolicyServiceGrpc.getListAlertPoliciesMethod) == null) {
-          AlertPolicyServiceGrpc.getListAlertPoliciesMethod = getListAlertPoliciesMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAlertPolicies"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.monitoring.v3.ListAlertPoliciesRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.monitoring.v3.ListAlertPoliciesResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new AlertPolicyServiceMethodDescriptorSupplier("ListAlertPolicies"))
-              .build();
+        if ((getListAlertPoliciesMethod = AlertPolicyServiceGrpc.getListAlertPoliciesMethod)
+            == null) {
+          AlertPolicyServiceGrpc.getListAlertPoliciesMethod =
+              getListAlertPoliciesMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAlertPolicies"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.monitoring.v3.ListAlertPoliciesRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.monitoring.v3.ListAlertPoliciesResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new AlertPolicyServiceMethodDescriptorSupplier("ListAlertPolicies"))
+                      .build();
         }
       }
     }
     return getListAlertPoliciesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetAlertPolicyMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.monitoring.v3.GetAlertPolicyRequest, com.google.monitoring.v3.AlertPolicy>
+      getGetAlertPolicyMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetAlertPolicy",
       requestType = com.google.monitoring.v3.GetAlertPolicyRequest.class,
       responseType = com.google.monitoring.v3.AlertPolicy.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetAlertPolicyMethod() {
-    io.grpc.MethodDescriptor getGetAlertPolicyMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.monitoring.v3.GetAlertPolicyRequest, com.google.monitoring.v3.AlertPolicy>
+      getGetAlertPolicyMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.monitoring.v3.GetAlertPolicyRequest, com.google.monitoring.v3.AlertPolicy>
+        getGetAlertPolicyMethod;
     if ((getGetAlertPolicyMethod = AlertPolicyServiceGrpc.getGetAlertPolicyMethod) == null) {
       synchronized (AlertPolicyServiceGrpc.class) {
         if ((getGetAlertPolicyMethod = AlertPolicyServiceGrpc.getGetAlertPolicyMethod) == null) {
-          AlertPolicyServiceGrpc.getGetAlertPolicyMethod = getGetAlertPolicyMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAlertPolicy"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.monitoring.v3.GetAlertPolicyRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.monitoring.v3.AlertPolicy.getDefaultInstance()))
-              .setSchemaDescriptor(new AlertPolicyServiceMethodDescriptorSupplier("GetAlertPolicy"))
-              .build();
+          AlertPolicyServiceGrpc.getGetAlertPolicyMethod =
+              getGetAlertPolicyMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAlertPolicy"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.monitoring.v3.GetAlertPolicyRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.monitoring.v3.AlertPolicy.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new AlertPolicyServiceMethodDescriptorSupplier("GetAlertPolicy"))
+                      .build();
         }
       }
     }
     return getGetAlertPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateAlertPolicyMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.monitoring.v3.CreateAlertPolicyRequest, com.google.monitoring.v3.AlertPolicy>
+      getCreateAlertPolicyMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateAlertPolicy",
       requestType = com.google.monitoring.v3.CreateAlertPolicyRequest.class,
       responseType = com.google.monitoring.v3.AlertPolicy.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateAlertPolicyMethod() {
-    io.grpc.MethodDescriptor getCreateAlertPolicyMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.monitoring.v3.CreateAlertPolicyRequest, com.google.monitoring.v3.AlertPolicy>
+      getCreateAlertPolicyMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.monitoring.v3.CreateAlertPolicyRequest, com.google.monitoring.v3.AlertPolicy>
+        getCreateAlertPolicyMethod;
     if ((getCreateAlertPolicyMethod = AlertPolicyServiceGrpc.getCreateAlertPolicyMethod) == null) {
       synchronized (AlertPolicyServiceGrpc.class) {
-        if ((getCreateAlertPolicyMethod = AlertPolicyServiceGrpc.getCreateAlertPolicyMethod) == null) {
-          AlertPolicyServiceGrpc.getCreateAlertPolicyMethod = getCreateAlertPolicyMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAlertPolicy"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.monitoring.v3.CreateAlertPolicyRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.monitoring.v3.AlertPolicy.getDefaultInstance()))
-              .setSchemaDescriptor(new AlertPolicyServiceMethodDescriptorSupplier("CreateAlertPolicy"))
-              .build();
+        if ((getCreateAlertPolicyMethod = AlertPolicyServiceGrpc.getCreateAlertPolicyMethod)
+            == null) {
+          AlertPolicyServiceGrpc.getCreateAlertPolicyMethod =
+              getCreateAlertPolicyMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAlertPolicy"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.monitoring.v3.CreateAlertPolicyRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.monitoring.v3.AlertPolicy.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new AlertPolicyServiceMethodDescriptorSupplier("CreateAlertPolicy"))
+                      .build();
         }
       }
     }
     return getCreateAlertPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteAlertPolicyMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.monitoring.v3.DeleteAlertPolicyRequest, com.google.protobuf.Empty>
+      getDeleteAlertPolicyMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteAlertPolicy",
       requestType = com.google.monitoring.v3.DeleteAlertPolicyRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteAlertPolicyMethod() {
-    io.grpc.MethodDescriptor getDeleteAlertPolicyMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.monitoring.v3.DeleteAlertPolicyRequest, com.google.protobuf.Empty>
+      getDeleteAlertPolicyMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.monitoring.v3.DeleteAlertPolicyRequest, com.google.protobuf.Empty>
+        getDeleteAlertPolicyMethod;
     if ((getDeleteAlertPolicyMethod = AlertPolicyServiceGrpc.getDeleteAlertPolicyMethod) == null) {
       synchronized (AlertPolicyServiceGrpc.class) {
-        if ((getDeleteAlertPolicyMethod = AlertPolicyServiceGrpc.getDeleteAlertPolicyMethod) == null) {
-          AlertPolicyServiceGrpc.getDeleteAlertPolicyMethod = getDeleteAlertPolicyMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAlertPolicy"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.monitoring.v3.DeleteAlertPolicyRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new AlertPolicyServiceMethodDescriptorSupplier("DeleteAlertPolicy"))
-              .build();
+        if ((getDeleteAlertPolicyMethod = AlertPolicyServiceGrpc.getDeleteAlertPolicyMethod)
+            == null) {
+          AlertPolicyServiceGrpc.getDeleteAlertPolicyMethod =
+              getDeleteAlertPolicyMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAlertPolicy"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.monitoring.v3.DeleteAlertPolicyRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new AlertPolicyServiceMethodDescriptorSupplier("DeleteAlertPolicy"))
+                      .build();
         }
       }
     }
     return getDeleteAlertPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUpdateAlertPolicyMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.monitoring.v3.UpdateAlertPolicyRequest, com.google.monitoring.v3.AlertPolicy>
+      getUpdateAlertPolicyMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateAlertPolicy",
       requestType = com.google.monitoring.v3.UpdateAlertPolicyRequest.class,
       responseType = com.google.monitoring.v3.AlertPolicy.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getUpdateAlertPolicyMethod() {
-    io.grpc.MethodDescriptor getUpdateAlertPolicyMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.monitoring.v3.UpdateAlertPolicyRequest, com.google.monitoring.v3.AlertPolicy>
+      getUpdateAlertPolicyMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.monitoring.v3.UpdateAlertPolicyRequest, com.google.monitoring.v3.AlertPolicy>
+        getUpdateAlertPolicyMethod;
     if ((getUpdateAlertPolicyMethod = AlertPolicyServiceGrpc.getUpdateAlertPolicyMethod) == null) {
       synchronized (AlertPolicyServiceGrpc.class) {
-        if ((getUpdateAlertPolicyMethod = AlertPolicyServiceGrpc.getUpdateAlertPolicyMethod) == null) {
-          AlertPolicyServiceGrpc.getUpdateAlertPolicyMethod = getUpdateAlertPolicyMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAlertPolicy"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.monitoring.v3.UpdateAlertPolicyRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.monitoring.v3.AlertPolicy.getDefaultInstance()))
-              .setSchemaDescriptor(new AlertPolicyServiceMethodDescriptorSupplier("UpdateAlertPolicy"))
-              .build();
+        if ((getUpdateAlertPolicyMethod = AlertPolicyServiceGrpc.getUpdateAlertPolicyMethod)
+            == null) {
+          AlertPolicyServiceGrpc.getUpdateAlertPolicyMethod =
+              getUpdateAlertPolicyMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAlertPolicy"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.monitoring.v3.UpdateAlertPolicyRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.monitoring.v3.AlertPolicy.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new AlertPolicyServiceMethodDescriptorSupplier("UpdateAlertPolicy"))
+                      .build();
         }
       }
     }
     return getUpdateAlertPolicyMethod;
   }
 
-  /**
-   * 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 AlertPolicyServiceStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public AlertPolicyServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new AlertPolicyServiceStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public AlertPolicyServiceStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new AlertPolicyServiceStub(channel, callOptions);
+          }
+        };
     return AlertPolicyServiceStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static AlertPolicyServiceBlockingStub newBlockingStub(
-      io.grpc.Channel channel) {
+  public static AlertPolicyServiceBlockingStub newBlockingStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public AlertPolicyServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new AlertPolicyServiceBlockingStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public AlertPolicyServiceBlockingStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new AlertPolicyServiceBlockingStub(channel, callOptions);
+          }
+        };
     return AlertPolicyServiceBlockingStub.newStub(factory, channel);
   }
 
-  /**
-   * Creates a new ListenableFuture-style stub that supports unary calls on the service
-   */
-  public static AlertPolicyServiceFutureStub newFutureStub(
-      io.grpc.Channel channel) {
+  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
+  public static AlertPolicyServiceFutureStub newFutureStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public AlertPolicyServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new AlertPolicyServiceFutureStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public AlertPolicyServiceFutureStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new AlertPolicyServiceFutureStub(channel, callOptions);
+          }
+        };
     return AlertPolicyServiceFutureStub.newStub(factory, channel);
   }
 
   /**
+   *
+   *
    * 
    * The AlertPolicyService API is used to manage (list, create, delete,
    * edit) alert policies in Stackdriver Monitoring. An alerting policy is
@@ -238,49 +321,68 @@ public AlertPolicyServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.Cal
    * [Cloud Console](https://console.cloud.google.com/).
    * 
*/ - public static abstract class AlertPolicyServiceImplBase implements io.grpc.BindableService { + public abstract static class AlertPolicyServiceImplBase implements io.grpc.BindableService { /** + * + * *
      * Lists the existing alerting policies for the workspace.
      * 
*/ - public void listAlertPolicies(com.google.monitoring.v3.ListAlertPoliciesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAlertPoliciesMethod(), responseObserver); + public void listAlertPolicies( + com.google.monitoring.v3.ListAlertPoliciesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListAlertPoliciesMethod(), responseObserver); } /** + * + * *
      * Gets a single alerting policy.
      * 
*/ - public void getAlertPolicy(com.google.monitoring.v3.GetAlertPolicyRequest request, + public void getAlertPolicy( + com.google.monitoring.v3.GetAlertPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAlertPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetAlertPolicyMethod(), responseObserver); } /** + * + * *
      * Creates a new alerting policy.
      * 
*/ - public void createAlertPolicy(com.google.monitoring.v3.CreateAlertPolicyRequest request, + public void createAlertPolicy( + com.google.monitoring.v3.CreateAlertPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateAlertPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateAlertPolicyMethod(), responseObserver); } /** + * + * *
      * Deletes an alerting policy.
      * 
*/ - public void deleteAlertPolicy(com.google.monitoring.v3.DeleteAlertPolicyRequest request, + public void deleteAlertPolicy( + com.google.monitoring.v3.DeleteAlertPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAlertPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteAlertPolicyMethod(), responseObserver); } /** + * + * *
      * Updates an alerting policy. You can either replace the entire policy with
      * a new one or replace only certain fields in the current alerting policy by
@@ -288,53 +390,54 @@ public void deleteAlertPolicy(com.google.monitoring.v3.DeleteAlertPolicyRequest
      * updated alerting policy.
      * 
*/ - public void updateAlertPolicy(com.google.monitoring.v3.UpdateAlertPolicyRequest request, + public void updateAlertPolicy( + com.google.monitoring.v3.UpdateAlertPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAlertPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateAlertPolicyMethod(), 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( - getListAlertPoliciesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.ListAlertPoliciesRequest, - com.google.monitoring.v3.ListAlertPoliciesResponse>( - this, METHODID_LIST_ALERT_POLICIES))) + getListAlertPoliciesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.ListAlertPoliciesRequest, + com.google.monitoring.v3.ListAlertPoliciesResponse>( + this, METHODID_LIST_ALERT_POLICIES))) .addMethod( - getGetAlertPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.GetAlertPolicyRequest, - com.google.monitoring.v3.AlertPolicy>( - this, METHODID_GET_ALERT_POLICY))) + getGetAlertPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.GetAlertPolicyRequest, + com.google.monitoring.v3.AlertPolicy>(this, METHODID_GET_ALERT_POLICY))) .addMethod( - getCreateAlertPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.CreateAlertPolicyRequest, - com.google.monitoring.v3.AlertPolicy>( - this, METHODID_CREATE_ALERT_POLICY))) + getCreateAlertPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.CreateAlertPolicyRequest, + com.google.monitoring.v3.AlertPolicy>(this, METHODID_CREATE_ALERT_POLICY))) .addMethod( - getDeleteAlertPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.DeleteAlertPolicyRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_ALERT_POLICY))) + getDeleteAlertPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.DeleteAlertPolicyRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_ALERT_POLICY))) .addMethod( - getUpdateAlertPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.UpdateAlertPolicyRequest, - com.google.monitoring.v3.AlertPolicy>( - this, METHODID_UPDATE_ALERT_POLICY))) + getUpdateAlertPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.UpdateAlertPolicyRequest, + com.google.monitoring.v3.AlertPolicy>(this, METHODID_UPDATE_ALERT_POLICY))) .build(); } } /** + * + * *
    * The AlertPolicyService API is used to manage (list, create, delete,
    * edit) alert policies in Stackdriver Monitoring. An alerting policy is
@@ -347,9 +450,9 @@ public void updateAlertPolicy(com.google.monitoring.v3.UpdateAlertPolicyRequest
    * [Cloud Console](https://console.cloud.google.com/).
    * 
*/ - public static final class AlertPolicyServiceStub extends io.grpc.stub.AbstractAsyncStub { - private AlertPolicyServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class AlertPolicyServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private AlertPolicyServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -360,50 +463,73 @@ protected AlertPolicyServiceStub build( } /** + * + * *
      * Lists the existing alerting policies for the workspace.
      * 
*/ - public void listAlertPolicies(com.google.monitoring.v3.ListAlertPoliciesRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listAlertPolicies( + com.google.monitoring.v3.ListAlertPoliciesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAlertPoliciesMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getListAlertPoliciesMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Gets a single alerting policy.
      * 
*/ - public void getAlertPolicy(com.google.monitoring.v3.GetAlertPolicyRequest request, + public void getAlertPolicy( + com.google.monitoring.v3.GetAlertPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAlertPolicyMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getGetAlertPolicyMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Creates a new alerting policy.
      * 
*/ - public void createAlertPolicy(com.google.monitoring.v3.CreateAlertPolicyRequest request, + public void createAlertPolicy( + com.google.monitoring.v3.CreateAlertPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateAlertPolicyMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateAlertPolicyMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Deletes an alerting policy.
      * 
*/ - public void deleteAlertPolicy(com.google.monitoring.v3.DeleteAlertPolicyRequest request, + public void deleteAlertPolicy( + com.google.monitoring.v3.DeleteAlertPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteAlertPolicyMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDeleteAlertPolicyMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Updates an alerting policy. You can either replace the entire policy with
      * a new one or replace only certain fields in the current alerting policy by
@@ -411,14 +537,19 @@ public void deleteAlertPolicy(com.google.monitoring.v3.DeleteAlertPolicyRequest
      * updated alerting policy.
      * 
*/ - public void updateAlertPolicy(com.google.monitoring.v3.UpdateAlertPolicyRequest request, + public void updateAlertPolicy( + com.google.monitoring.v3.UpdateAlertPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateAlertPolicyMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUpdateAlertPolicyMethod(), getCallOptions()), + request, + responseObserver); } } /** + * + * *
    * The AlertPolicyService API is used to manage (list, create, delete,
    * edit) alert policies in Stackdriver Monitoring. An alerting policy is
@@ -431,7 +562,8 @@ public void updateAlertPolicy(com.google.monitoring.v3.UpdateAlertPolicyRequest
    * [Cloud Console](https://console.cloud.google.com/).
    * 
*/ - public static final class AlertPolicyServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + public static final class AlertPolicyServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { private AlertPolicyServiceBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -444,46 +576,60 @@ protected AlertPolicyServiceBlockingStub build( } /** + * + * *
      * Lists the existing alerting policies for the workspace.
      * 
*/ - public com.google.monitoring.v3.ListAlertPoliciesResponse listAlertPolicies(com.google.monitoring.v3.ListAlertPoliciesRequest request) { + public com.google.monitoring.v3.ListAlertPoliciesResponse listAlertPolicies( + com.google.monitoring.v3.ListAlertPoliciesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListAlertPoliciesMethod(), getCallOptions(), request); } /** + * + * *
      * Gets a single alerting policy.
      * 
*/ - public com.google.monitoring.v3.AlertPolicy getAlertPolicy(com.google.monitoring.v3.GetAlertPolicyRequest request) { + public com.google.monitoring.v3.AlertPolicy getAlertPolicy( + com.google.monitoring.v3.GetAlertPolicyRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetAlertPolicyMethod(), getCallOptions(), request); } /** + * + * *
      * Creates a new alerting policy.
      * 
*/ - public com.google.monitoring.v3.AlertPolicy createAlertPolicy(com.google.monitoring.v3.CreateAlertPolicyRequest request) { + public com.google.monitoring.v3.AlertPolicy createAlertPolicy( + com.google.monitoring.v3.CreateAlertPolicyRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateAlertPolicyMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes an alerting policy.
      * 
*/ - public com.google.protobuf.Empty deleteAlertPolicy(com.google.monitoring.v3.DeleteAlertPolicyRequest request) { + public com.google.protobuf.Empty deleteAlertPolicy( + com.google.monitoring.v3.DeleteAlertPolicyRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteAlertPolicyMethod(), getCallOptions(), request); } /** + * + * *
      * Updates an alerting policy. You can either replace the entire policy with
      * a new one or replace only certain fields in the current alerting policy by
@@ -491,13 +637,16 @@ public com.google.protobuf.Empty deleteAlertPolicy(com.google.monitoring.v3.Dele
      * updated alerting policy.
      * 
*/ - public com.google.monitoring.v3.AlertPolicy updateAlertPolicy(com.google.monitoring.v3.UpdateAlertPolicyRequest request) { + public com.google.monitoring.v3.AlertPolicy updateAlertPolicy( + com.google.monitoring.v3.UpdateAlertPolicyRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateAlertPolicyMethod(), getCallOptions(), request); } } /** + * + * *
    * The AlertPolicyService API is used to manage (list, create, delete,
    * edit) alert policies in Stackdriver Monitoring. An alerting policy is
@@ -510,9 +659,9 @@ public com.google.monitoring.v3.AlertPolicy updateAlertPolicy(com.google.monitor
    * [Cloud Console](https://console.cloud.google.com/).
    * 
*/ - public static final class AlertPolicyServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private AlertPolicyServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class AlertPolicyServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private AlertPolicyServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -523,50 +672,61 @@ protected AlertPolicyServiceFutureStub build( } /** + * + * *
      * Lists the existing alerting policies for the workspace.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listAlertPolicies( - com.google.monitoring.v3.ListAlertPoliciesRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.monitoring.v3.ListAlertPoliciesResponse> + listAlertPolicies(com.google.monitoring.v3.ListAlertPoliciesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListAlertPoliciesMethod(), getCallOptions()), request); } /** + * + * *
      * Gets a single alerting policy.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getAlertPolicy( - com.google.monitoring.v3.GetAlertPolicyRequest request) { + public com.google.common.util.concurrent.ListenableFuture + getAlertPolicy(com.google.monitoring.v3.GetAlertPolicyRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetAlertPolicyMethod(), getCallOptions()), request); } /** + * + * *
      * Creates a new alerting policy.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture createAlertPolicy( - com.google.monitoring.v3.CreateAlertPolicyRequest request) { + public com.google.common.util.concurrent.ListenableFuture + createAlertPolicy(com.google.monitoring.v3.CreateAlertPolicyRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateAlertPolicyMethod(), getCallOptions()), request); } /** + * + * *
      * Deletes an alerting policy.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture deleteAlertPolicy( - com.google.monitoring.v3.DeleteAlertPolicyRequest request) { + public com.google.common.util.concurrent.ListenableFuture + deleteAlertPolicy(com.google.monitoring.v3.DeleteAlertPolicyRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteAlertPolicyMethod(), getCallOptions()), request); } /** + * + * *
      * Updates an alerting policy. You can either replace the entire policy with
      * a new one or replace only certain fields in the current alerting policy by
@@ -574,8 +734,8 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture updateAlertPolicy(
-        com.google.monitoring.v3.UpdateAlertPolicyRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        updateAlertPolicy(com.google.monitoring.v3.UpdateAlertPolicyRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getUpdateAlertPolicyMethod(), getCallOptions()), request);
     }
@@ -587,11 +747,11 @@ public com.google.common.util.concurrent.ListenableFuture 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 AlertPolicyServiceImplBase serviceImpl;
     private final int methodId;
 
@@ -605,23 +765,29 @@ private static final class MethodHandlers implements
     public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
       switch (methodId) {
         case METHODID_LIST_ALERT_POLICIES:
-          serviceImpl.listAlertPolicies((com.google.monitoring.v3.ListAlertPoliciesRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listAlertPolicies(
+              (com.google.monitoring.v3.ListAlertPoliciesRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_GET_ALERT_POLICY:
-          serviceImpl.getAlertPolicy((com.google.monitoring.v3.GetAlertPolicyRequest) request,
+          serviceImpl.getAlertPolicy(
+              (com.google.monitoring.v3.GetAlertPolicyRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_CREATE_ALERT_POLICY:
-          serviceImpl.createAlertPolicy((com.google.monitoring.v3.CreateAlertPolicyRequest) request,
+          serviceImpl.createAlertPolicy(
+              (com.google.monitoring.v3.CreateAlertPolicyRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_ALERT_POLICY:
-          serviceImpl.deleteAlertPolicy((com.google.monitoring.v3.DeleteAlertPolicyRequest) request,
+          serviceImpl.deleteAlertPolicy(
+              (com.google.monitoring.v3.DeleteAlertPolicyRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_UPDATE_ALERT_POLICY:
-          serviceImpl.updateAlertPolicy((com.google.monitoring.v3.UpdateAlertPolicyRequest) request,
+          serviceImpl.updateAlertPolicy(
+              (com.google.monitoring.v3.UpdateAlertPolicyRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         default:
@@ -640,8 +806,9 @@ public io.grpc.stub.StreamObserver invoke(
     }
   }
 
-  private static abstract class AlertPolicyServiceBaseDescriptorSupplier
-      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+  private abstract static class AlertPolicyServiceBaseDescriptorSupplier
+      implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
+          io.grpc.protobuf.ProtoServiceDescriptorSupplier {
     AlertPolicyServiceBaseDescriptorSupplier() {}
 
     @java.lang.Override
@@ -683,14 +850,16 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
       synchronized (AlertPolicyServiceGrpc.class) {
         result = serviceDescriptor;
         if (result == null) {
-          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
-              .setSchemaDescriptor(new AlertPolicyServiceFileDescriptorSupplier())
-              .addMethod(getListAlertPoliciesMethod())
-              .addMethod(getGetAlertPolicyMethod())
-              .addMethod(getCreateAlertPolicyMethod())
-              .addMethod(getDeleteAlertPolicyMethod())
-              .addMethod(getUpdateAlertPolicyMethod())
-              .build();
+          serviceDescriptor =
+              result =
+                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+                      .setSchemaDescriptor(new AlertPolicyServiceFileDescriptorSupplier())
+                      .addMethod(getListAlertPoliciesMethod())
+                      .addMethod(getGetAlertPolicyMethod())
+                      .addMethod(getCreateAlertPolicyMethod())
+                      .addMethod(getDeleteAlertPolicyMethod())
+                      .addMethod(getUpdateAlertPolicyMethod())
+                      .build();
         }
       }
     }
diff --git a/owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupServiceGrpc.java b/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupServiceGrpc.java
similarity index 50%
rename from owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupServiceGrpc.java
rename to grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupServiceGrpc.java
index 07cdc73e..8629a1c0 100644
--- a/owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupServiceGrpc.java
+++ b/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupServiceGrpc.java
@@ -1,8 +1,25 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT 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.monitoring.v3;
 
 import static io.grpc.MethodDescriptor.generateFullMethodName;
 
 /**
+ *
+ *
  * 
  * The Group API lets you inspect and manage your
  * [groups](#google.monitoring.v3.Group).
@@ -28,237 +45,297 @@ private GroupServiceGrpc() {}
   public static final String SERVICE_NAME = "google.monitoring.v3.GroupService";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor getListGroupsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.monitoring.v3.ListGroupsRequest, com.google.monitoring.v3.ListGroupsResponse>
+      getListGroupsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListGroups",
       requestType = com.google.monitoring.v3.ListGroupsRequest.class,
       responseType = com.google.monitoring.v3.ListGroupsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListGroupsMethod() {
-    io.grpc.MethodDescriptor getListGroupsMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.monitoring.v3.ListGroupsRequest, com.google.monitoring.v3.ListGroupsResponse>
+      getListGroupsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.monitoring.v3.ListGroupsRequest, com.google.monitoring.v3.ListGroupsResponse>
+        getListGroupsMethod;
     if ((getListGroupsMethod = GroupServiceGrpc.getListGroupsMethod) == null) {
       synchronized (GroupServiceGrpc.class) {
         if ((getListGroupsMethod = GroupServiceGrpc.getListGroupsMethod) == null) {
-          GroupServiceGrpc.getListGroupsMethod = getListGroupsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListGroups"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.monitoring.v3.ListGroupsRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.monitoring.v3.ListGroupsResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new GroupServiceMethodDescriptorSupplier("ListGroups"))
-              .build();
+          GroupServiceGrpc.getListGroupsMethod =
+              getListGroupsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListGroups"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.monitoring.v3.ListGroupsRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.monitoring.v3.ListGroupsResponse.getDefaultInstance()))
+                      .setSchemaDescriptor(new GroupServiceMethodDescriptorSupplier("ListGroups"))
+                      .build();
         }
       }
     }
     return getListGroupsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetGroupMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.monitoring.v3.GetGroupRequest, com.google.monitoring.v3.Group>
+      getGetGroupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetGroup",
       requestType = com.google.monitoring.v3.GetGroupRequest.class,
       responseType = com.google.monitoring.v3.Group.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetGroupMethod() {
-    io.grpc.MethodDescriptor getGetGroupMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.monitoring.v3.GetGroupRequest, com.google.monitoring.v3.Group>
+      getGetGroupMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.monitoring.v3.GetGroupRequest, com.google.monitoring.v3.Group>
+        getGetGroupMethod;
     if ((getGetGroupMethod = GroupServiceGrpc.getGetGroupMethod) == null) {
       synchronized (GroupServiceGrpc.class) {
         if ((getGetGroupMethod = GroupServiceGrpc.getGetGroupMethod) == null) {
-          GroupServiceGrpc.getGetGroupMethod = getGetGroupMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetGroup"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.monitoring.v3.GetGroupRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.monitoring.v3.Group.getDefaultInstance()))
-              .setSchemaDescriptor(new GroupServiceMethodDescriptorSupplier("GetGroup"))
-              .build();
+          GroupServiceGrpc.getGetGroupMethod =
+              getGetGroupMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetGroup"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.monitoring.v3.GetGroupRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.monitoring.v3.Group.getDefaultInstance()))
+                      .setSchemaDescriptor(new GroupServiceMethodDescriptorSupplier("GetGroup"))
+                      .build();
         }
       }
     }
     return getGetGroupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateGroupMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.monitoring.v3.CreateGroupRequest, com.google.monitoring.v3.Group>
+      getCreateGroupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateGroup",
       requestType = com.google.monitoring.v3.CreateGroupRequest.class,
       responseType = com.google.monitoring.v3.Group.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateGroupMethod() {
-    io.grpc.MethodDescriptor getCreateGroupMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.monitoring.v3.CreateGroupRequest, com.google.monitoring.v3.Group>
+      getCreateGroupMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.monitoring.v3.CreateGroupRequest, com.google.monitoring.v3.Group>
+        getCreateGroupMethod;
     if ((getCreateGroupMethod = GroupServiceGrpc.getCreateGroupMethod) == null) {
       synchronized (GroupServiceGrpc.class) {
         if ((getCreateGroupMethod = GroupServiceGrpc.getCreateGroupMethod) == null) {
-          GroupServiceGrpc.getCreateGroupMethod = getCreateGroupMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateGroup"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.monitoring.v3.CreateGroupRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.monitoring.v3.Group.getDefaultInstance()))
-              .setSchemaDescriptor(new GroupServiceMethodDescriptorSupplier("CreateGroup"))
-              .build();
+          GroupServiceGrpc.getCreateGroupMethod =
+              getCreateGroupMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateGroup"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.monitoring.v3.CreateGroupRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.monitoring.v3.Group.getDefaultInstance()))
+                      .setSchemaDescriptor(new GroupServiceMethodDescriptorSupplier("CreateGroup"))
+                      .build();
         }
       }
     }
     return getCreateGroupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUpdateGroupMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.monitoring.v3.UpdateGroupRequest, com.google.monitoring.v3.Group>
+      getUpdateGroupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateGroup",
       requestType = com.google.monitoring.v3.UpdateGroupRequest.class,
       responseType = com.google.monitoring.v3.Group.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getUpdateGroupMethod() {
-    io.grpc.MethodDescriptor getUpdateGroupMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.monitoring.v3.UpdateGroupRequest, com.google.monitoring.v3.Group>
+      getUpdateGroupMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.monitoring.v3.UpdateGroupRequest, com.google.monitoring.v3.Group>
+        getUpdateGroupMethod;
     if ((getUpdateGroupMethod = GroupServiceGrpc.getUpdateGroupMethod) == null) {
       synchronized (GroupServiceGrpc.class) {
         if ((getUpdateGroupMethod = GroupServiceGrpc.getUpdateGroupMethod) == null) {
-          GroupServiceGrpc.getUpdateGroupMethod = getUpdateGroupMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateGroup"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.monitoring.v3.UpdateGroupRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.monitoring.v3.Group.getDefaultInstance()))
-              .setSchemaDescriptor(new GroupServiceMethodDescriptorSupplier("UpdateGroup"))
-              .build();
+          GroupServiceGrpc.getUpdateGroupMethod =
+              getUpdateGroupMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateGroup"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.monitoring.v3.UpdateGroupRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.monitoring.v3.Group.getDefaultInstance()))
+                      .setSchemaDescriptor(new GroupServiceMethodDescriptorSupplier("UpdateGroup"))
+                      .build();
         }
       }
     }
     return getUpdateGroupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteGroupMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.monitoring.v3.DeleteGroupRequest, com.google.protobuf.Empty>
+      getDeleteGroupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteGroup",
       requestType = com.google.monitoring.v3.DeleteGroupRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteGroupMethod() {
-    io.grpc.MethodDescriptor getDeleteGroupMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.monitoring.v3.DeleteGroupRequest, com.google.protobuf.Empty>
+      getDeleteGroupMethod() {
+    io.grpc.MethodDescriptor
+        getDeleteGroupMethod;
     if ((getDeleteGroupMethod = GroupServiceGrpc.getDeleteGroupMethod) == null) {
       synchronized (GroupServiceGrpc.class) {
         if ((getDeleteGroupMethod = GroupServiceGrpc.getDeleteGroupMethod) == null) {
-          GroupServiceGrpc.getDeleteGroupMethod = getDeleteGroupMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteGroup"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.monitoring.v3.DeleteGroupRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new GroupServiceMethodDescriptorSupplier("DeleteGroup"))
-              .build();
+          GroupServiceGrpc.getDeleteGroupMethod =
+              getDeleteGroupMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteGroup"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.monitoring.v3.DeleteGroupRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(new GroupServiceMethodDescriptorSupplier("DeleteGroup"))
+                      .build();
         }
       }
     }
     return getDeleteGroupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListGroupMembersMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.monitoring.v3.ListGroupMembersRequest,
+          com.google.monitoring.v3.ListGroupMembersResponse>
+      getListGroupMembersMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListGroupMembers",
       requestType = com.google.monitoring.v3.ListGroupMembersRequest.class,
       responseType = com.google.monitoring.v3.ListGroupMembersResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListGroupMembersMethod() {
-    io.grpc.MethodDescriptor getListGroupMembersMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.monitoring.v3.ListGroupMembersRequest,
+          com.google.monitoring.v3.ListGroupMembersResponse>
+      getListGroupMembersMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.monitoring.v3.ListGroupMembersRequest,
+            com.google.monitoring.v3.ListGroupMembersResponse>
+        getListGroupMembersMethod;
     if ((getListGroupMembersMethod = GroupServiceGrpc.getListGroupMembersMethod) == null) {
       synchronized (GroupServiceGrpc.class) {
         if ((getListGroupMembersMethod = GroupServiceGrpc.getListGroupMembersMethod) == null) {
-          GroupServiceGrpc.getListGroupMembersMethod = getListGroupMembersMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListGroupMembers"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.monitoring.v3.ListGroupMembersRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.monitoring.v3.ListGroupMembersResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new GroupServiceMethodDescriptorSupplier("ListGroupMembers"))
-              .build();
+          GroupServiceGrpc.getListGroupMembersMethod =
+              getListGroupMembersMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListGroupMembers"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.monitoring.v3.ListGroupMembersRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.monitoring.v3.ListGroupMembersResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new GroupServiceMethodDescriptorSupplier("ListGroupMembers"))
+                      .build();
         }
       }
     }
     return getListGroupMembersMethod;
   }
 
-  /**
-   * 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 GroupServiceStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public GroupServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new GroupServiceStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public GroupServiceStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new GroupServiceStub(channel, callOptions);
+          }
+        };
     return GroupServiceStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static GroupServiceBlockingStub newBlockingStub(
-      io.grpc.Channel channel) {
+  public static GroupServiceBlockingStub newBlockingStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public GroupServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new GroupServiceBlockingStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public GroupServiceBlockingStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new GroupServiceBlockingStub(channel, callOptions);
+          }
+        };
     return GroupServiceBlockingStub.newStub(factory, channel);
   }
 
-  /**
-   * Creates a new ListenableFuture-style stub that supports unary calls on the service
-   */
-  public static GroupServiceFutureStub newFutureStub(
-      io.grpc.Channel channel) {
+  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
+  public static GroupServiceFutureStub newFutureStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public GroupServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new GroupServiceFutureStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public GroupServiceFutureStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new GroupServiceFutureStub(channel, callOptions);
+          }
+        };
     return GroupServiceFutureStub.newStub(factory, channel);
   }
 
   /**
+   *
+   *
    * 
    * The Group API lets you inspect and manage your
    * [groups](#google.monitoring.v3.Group).
@@ -273,118 +350,139 @@ public GroupServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptio
    * from the infrastructure.
    * 
*/ - public static abstract class GroupServiceImplBase implements io.grpc.BindableService { + public abstract static class GroupServiceImplBase implements io.grpc.BindableService { /** + * + * *
      * Lists the existing groups.
      * 
*/ - public void listGroups(com.google.monitoring.v3.ListGroupsRequest request, + public void listGroups( + com.google.monitoring.v3.ListGroupsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListGroupsMethod(), responseObserver); } /** + * + * *
      * Gets a single group.
      * 
*/ - public void getGroup(com.google.monitoring.v3.GetGroupRequest request, + public void getGroup( + com.google.monitoring.v3.GetGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetGroupMethod(), responseObserver); } /** + * + * *
      * Creates a new group.
      * 
*/ - public void createGroup(com.google.monitoring.v3.CreateGroupRequest request, + public void createGroup( + com.google.monitoring.v3.CreateGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateGroupMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateGroupMethod(), responseObserver); } /** + * + * *
      * Updates an existing group.
      * You can change any group attributes except `name`.
      * 
*/ - public void updateGroup(com.google.monitoring.v3.UpdateGroupRequest request, + public void updateGroup( + com.google.monitoring.v3.UpdateGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateGroupMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateGroupMethod(), responseObserver); } /** + * + * *
      * Deletes an existing group.
      * 
*/ - public void deleteGroup(com.google.monitoring.v3.DeleteGroupRequest request, + public void deleteGroup( + com.google.monitoring.v3.DeleteGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteGroupMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteGroupMethod(), responseObserver); } /** + * + * *
      * Lists the monitored resources that are members of a group.
      * 
*/ - public void listGroupMembers(com.google.monitoring.v3.ListGroupMembersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListGroupMembersMethod(), responseObserver); + public void listGroupMembers( + com.google.monitoring.v3.ListGroupMembersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListGroupMembersMethod(), 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( - getListGroupsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.ListGroupsRequest, - com.google.monitoring.v3.ListGroupsResponse>( - this, METHODID_LIST_GROUPS))) + getListGroupsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.ListGroupsRequest, + com.google.monitoring.v3.ListGroupsResponse>(this, METHODID_LIST_GROUPS))) .addMethod( - getGetGroupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.GetGroupRequest, - com.google.monitoring.v3.Group>( - this, METHODID_GET_GROUP))) + getGetGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.GetGroupRequest, com.google.monitoring.v3.Group>( + this, METHODID_GET_GROUP))) .addMethod( - getCreateGroupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.CreateGroupRequest, - com.google.monitoring.v3.Group>( - this, METHODID_CREATE_GROUP))) + getCreateGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.CreateGroupRequest, com.google.monitoring.v3.Group>( + this, METHODID_CREATE_GROUP))) .addMethod( - getUpdateGroupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.UpdateGroupRequest, - com.google.monitoring.v3.Group>( - this, METHODID_UPDATE_GROUP))) + getUpdateGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.UpdateGroupRequest, com.google.monitoring.v3.Group>( + this, METHODID_UPDATE_GROUP))) .addMethod( - getDeleteGroupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.DeleteGroupRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_GROUP))) + getDeleteGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.DeleteGroupRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_GROUP))) .addMethod( - getListGroupMembersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.ListGroupMembersRequest, - com.google.monitoring.v3.ListGroupMembersResponse>( - this, METHODID_LIST_GROUP_MEMBERS))) + getListGroupMembersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.ListGroupMembersRequest, + com.google.monitoring.v3.ListGroupMembersResponse>( + this, METHODID_LIST_GROUP_MEMBERS))) .build(); } } /** + * + * *
    * The Group API lets you inspect and manage your
    * [groups](#google.monitoring.v3.Group).
@@ -399,87 +497,115 @@ public void listGroupMembers(com.google.monitoring.v3.ListGroupMembersRequest re
    * from the infrastructure.
    * 
*/ - public static final class GroupServiceStub extends io.grpc.stub.AbstractAsyncStub { - private GroupServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class GroupServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private GroupServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected GroupServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected GroupServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new GroupServiceStub(channel, callOptions); } /** + * + * *
      * Lists the existing groups.
      * 
*/ - public void listGroups(com.google.monitoring.v3.ListGroupsRequest request, + public void listGroups( + com.google.monitoring.v3.ListGroupsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListGroupsMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Gets a single group.
      * 
*/ - public void getGroup(com.google.monitoring.v3.GetGroupRequest request, + public void getGroup( + com.google.monitoring.v3.GetGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetGroupMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Creates a new group.
      * 
*/ - public void createGroup(com.google.monitoring.v3.CreateGroupRequest request, + public void createGroup( + com.google.monitoring.v3.CreateGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateGroupMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateGroupMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Updates an existing group.
      * You can change any group attributes except `name`.
      * 
*/ - public void updateGroup(com.google.monitoring.v3.UpdateGroupRequest request, + public void updateGroup( + com.google.monitoring.v3.UpdateGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateGroupMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUpdateGroupMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Deletes an existing group.
      * 
*/ - public void deleteGroup(com.google.monitoring.v3.DeleteGroupRequest request, + public void deleteGroup( + com.google.monitoring.v3.DeleteGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteGroupMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDeleteGroupMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Lists the monitored resources that are members of a group.
      * 
*/ - public void listGroupMembers(com.google.monitoring.v3.ListGroupMembersRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listGroupMembers( + com.google.monitoring.v3.ListGroupMembersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListGroupMembersMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getListGroupMembersMethod(), getCallOptions()), + request, + responseObserver); } } /** + * + * *
    * The Group API lets you inspect and manage your
    * [groups](#google.monitoring.v3.Group).
@@ -494,9 +620,9 @@ public void listGroupMembers(com.google.monitoring.v3.ListGroupMembersRequest re
    * from the infrastructure.
    * 
*/ - public static final class GroupServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private GroupServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class GroupServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private GroupServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -507,68 +633,88 @@ protected GroupServiceBlockingStub build( } /** + * + * *
      * Lists the existing groups.
      * 
*/ - public com.google.monitoring.v3.ListGroupsResponse listGroups(com.google.monitoring.v3.ListGroupsRequest request) { + public com.google.monitoring.v3.ListGroupsResponse listGroups( + com.google.monitoring.v3.ListGroupsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListGroupsMethod(), getCallOptions(), request); } /** + * + * *
      * Gets a single group.
      * 
*/ - public com.google.monitoring.v3.Group getGroup(com.google.monitoring.v3.GetGroupRequest request) { + public com.google.monitoring.v3.Group getGroup( + com.google.monitoring.v3.GetGroupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetGroupMethod(), getCallOptions(), request); } /** + * + * *
      * Creates a new group.
      * 
*/ - public com.google.monitoring.v3.Group createGroup(com.google.monitoring.v3.CreateGroupRequest request) { + public com.google.monitoring.v3.Group createGroup( + com.google.monitoring.v3.CreateGroupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateGroupMethod(), getCallOptions(), request); } /** + * + * *
      * Updates an existing group.
      * You can change any group attributes except `name`.
      * 
*/ - public com.google.monitoring.v3.Group updateGroup(com.google.monitoring.v3.UpdateGroupRequest request) { + public com.google.monitoring.v3.Group updateGroup( + com.google.monitoring.v3.UpdateGroupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateGroupMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes an existing group.
      * 
*/ - public com.google.protobuf.Empty deleteGroup(com.google.monitoring.v3.DeleteGroupRequest request) { + public com.google.protobuf.Empty deleteGroup( + com.google.monitoring.v3.DeleteGroupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteGroupMethod(), getCallOptions(), request); } /** + * + * *
      * Lists the monitored resources that are members of a group.
      * 
*/ - public com.google.monitoring.v3.ListGroupMembersResponse listGroupMembers(com.google.monitoring.v3.ListGroupMembersRequest request) { + public com.google.monitoring.v3.ListGroupMembersResponse listGroupMembers( + com.google.monitoring.v3.ListGroupMembersRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListGroupMembersMethod(), getCallOptions(), request); } } /** + * + * *
    * The Group API lets you inspect and manage your
    * [groups](#google.monitoring.v3.Group).
@@ -583,9 +729,9 @@ public com.google.monitoring.v3.ListGroupMembersResponse listGroupMembers(com.go
    * from the infrastructure.
    * 
*/ - public static final class GroupServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private GroupServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class GroupServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private GroupServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -596,68 +742,82 @@ protected GroupServiceFutureStub build( } /** + * + * *
      * Lists the existing groups.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listGroups( - com.google.monitoring.v3.ListGroupsRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.monitoring.v3.ListGroupsResponse> + listGroups(com.google.monitoring.v3.ListGroupsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListGroupsMethod(), getCallOptions()), request); } /** + * + * *
      * Gets a single group.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getGroup( - com.google.monitoring.v3.GetGroupRequest request) { + public com.google.common.util.concurrent.ListenableFuture + getGroup(com.google.monitoring.v3.GetGroupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetGroupMethod(), getCallOptions()), request); } /** + * + * *
      * Creates a new group.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture createGroup( - com.google.monitoring.v3.CreateGroupRequest request) { + public com.google.common.util.concurrent.ListenableFuture + createGroup(com.google.monitoring.v3.CreateGroupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateGroupMethod(), getCallOptions()), request); } /** + * + * *
      * Updates an existing group.
      * You can change any group attributes except `name`.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture updateGroup( - com.google.monitoring.v3.UpdateGroupRequest request) { + public com.google.common.util.concurrent.ListenableFuture + updateGroup(com.google.monitoring.v3.UpdateGroupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateGroupMethod(), getCallOptions()), request); } /** + * + * *
      * Deletes an existing group.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture deleteGroup( - com.google.monitoring.v3.DeleteGroupRequest request) { + public com.google.common.util.concurrent.ListenableFuture + deleteGroup(com.google.monitoring.v3.DeleteGroupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteGroupMethod(), getCallOptions()), request); } /** + * + * *
      * Lists the monitored resources that are members of a group.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listGroupMembers( - com.google.monitoring.v3.ListGroupMembersRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.monitoring.v3.ListGroupMembersResponse> + listGroupMembers(com.google.monitoring.v3.ListGroupMembersRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListGroupMembersMethod(), getCallOptions()), request); } @@ -670,11 +830,11 @@ public com.google.common.util.concurrent.ListenableFuture 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 GroupServiceImplBase serviceImpl; private final int methodId; @@ -688,28 +848,36 @@ private static final class MethodHandlers implements public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_LIST_GROUPS: - serviceImpl.listGroups((com.google.monitoring.v3.ListGroupsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.listGroups( + (com.google.monitoring.v3.ListGroupsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_GET_GROUP: - serviceImpl.getGroup((com.google.monitoring.v3.GetGroupRequest) request, + serviceImpl.getGroup( + (com.google.monitoring.v3.GetGroupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_GROUP: - serviceImpl.createGroup((com.google.monitoring.v3.CreateGroupRequest) request, + serviceImpl.createGroup( + (com.google.monitoring.v3.CreateGroupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_GROUP: - serviceImpl.updateGroup((com.google.monitoring.v3.UpdateGroupRequest) request, + serviceImpl.updateGroup( + (com.google.monitoring.v3.UpdateGroupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_GROUP: - serviceImpl.deleteGroup((com.google.monitoring.v3.DeleteGroupRequest) request, + serviceImpl.deleteGroup( + (com.google.monitoring.v3.DeleteGroupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_GROUP_MEMBERS: - serviceImpl.listGroupMembers((com.google.monitoring.v3.ListGroupMembersRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.listGroupMembers( + (com.google.monitoring.v3.ListGroupMembersRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; default: throw new AssertionError(); @@ -727,8 +895,9 @@ public io.grpc.stub.StreamObserver invoke( } } - private static abstract class GroupServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private abstract static class GroupServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { GroupServiceBaseDescriptorSupplier() {} @java.lang.Override @@ -770,15 +939,17 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (GroupServiceGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new GroupServiceFileDescriptorSupplier()) - .addMethod(getListGroupsMethod()) - .addMethod(getGetGroupMethod()) - .addMethod(getCreateGroupMethod()) - .addMethod(getUpdateGroupMethod()) - .addMethod(getDeleteGroupMethod()) - .addMethod(getListGroupMembersMethod()) - .build(); + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new GroupServiceFileDescriptorSupplier()) + .addMethod(getListGroupsMethod()) + .addMethod(getGetGroupMethod()) + .addMethod(getCreateGroupMethod()) + .addMethod(getUpdateGroupMethod()) + .addMethod(getDeleteGroupMethod()) + .addMethod(getListGroupMembersMethod()) + .build(); } } } diff --git a/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceGrpc.java b/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceGrpc.java new file mode 100644 index 00000000..737ec675 --- /dev/null +++ b/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceGrpc.java @@ -0,0 +1,1386 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.monitoring.v3; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * Manages metric descriptors, monitored resource descriptors, and
+ * time series data.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/monitoring/v3/metric_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class MetricServiceGrpc { + + private MetricServiceGrpc() {} + + public static final String SERVICE_NAME = "google.monitoring.v3.MetricService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest, + com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse> + getListMonitoredResourceDescriptorsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListMonitoredResourceDescriptors", + requestType = com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest.class, + responseType = com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest, + com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse> + getListMonitoredResourceDescriptorsMethod() { + io.grpc.MethodDescriptor< + com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest, + com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse> + getListMonitoredResourceDescriptorsMethod; + if ((getListMonitoredResourceDescriptorsMethod = + MetricServiceGrpc.getListMonitoredResourceDescriptorsMethod) + == null) { + synchronized (MetricServiceGrpc.class) { + if ((getListMonitoredResourceDescriptorsMethod = + MetricServiceGrpc.getListMonitoredResourceDescriptorsMethod) + == null) { + MetricServiceGrpc.getListMonitoredResourceDescriptorsMethod = + getListMonitoredResourceDescriptorsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListMonitoredResourceDescriptors")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new MetricServiceMethodDescriptorSupplier( + "ListMonitoredResourceDescriptors")) + .build(); + } + } + } + return getListMonitoredResourceDescriptorsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest, + com.google.api.MonitoredResourceDescriptor> + getGetMonitoredResourceDescriptorMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetMonitoredResourceDescriptor", + requestType = com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest.class, + responseType = com.google.api.MonitoredResourceDescriptor.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest, + com.google.api.MonitoredResourceDescriptor> + getGetMonitoredResourceDescriptorMethod() { + io.grpc.MethodDescriptor< + com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest, + com.google.api.MonitoredResourceDescriptor> + getGetMonitoredResourceDescriptorMethod; + if ((getGetMonitoredResourceDescriptorMethod = + MetricServiceGrpc.getGetMonitoredResourceDescriptorMethod) + == null) { + synchronized (MetricServiceGrpc.class) { + if ((getGetMonitoredResourceDescriptorMethod = + MetricServiceGrpc.getGetMonitoredResourceDescriptorMethod) + == null) { + MetricServiceGrpc.getGetMonitoredResourceDescriptorMethod = + getGetMonitoredResourceDescriptorMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetMonitoredResourceDescriptor")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.api.MonitoredResourceDescriptor.getDefaultInstance())) + .setSchemaDescriptor( + new MetricServiceMethodDescriptorSupplier( + "GetMonitoredResourceDescriptor")) + .build(); + } + } + } + return getGetMonitoredResourceDescriptorMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.monitoring.v3.ListMetricDescriptorsRequest, + com.google.monitoring.v3.ListMetricDescriptorsResponse> + getListMetricDescriptorsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListMetricDescriptors", + requestType = com.google.monitoring.v3.ListMetricDescriptorsRequest.class, + responseType = com.google.monitoring.v3.ListMetricDescriptorsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.monitoring.v3.ListMetricDescriptorsRequest, + com.google.monitoring.v3.ListMetricDescriptorsResponse> + getListMetricDescriptorsMethod() { + io.grpc.MethodDescriptor< + com.google.monitoring.v3.ListMetricDescriptorsRequest, + com.google.monitoring.v3.ListMetricDescriptorsResponse> + getListMetricDescriptorsMethod; + if ((getListMetricDescriptorsMethod = MetricServiceGrpc.getListMetricDescriptorsMethod) + == null) { + synchronized (MetricServiceGrpc.class) { + if ((getListMetricDescriptorsMethod = MetricServiceGrpc.getListMetricDescriptorsMethod) + == null) { + MetricServiceGrpc.getListMetricDescriptorsMethod = + getListMetricDescriptorsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListMetricDescriptors")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.ListMetricDescriptorsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.ListMetricDescriptorsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new MetricServiceMethodDescriptorSupplier("ListMetricDescriptors")) + .build(); + } + } + } + return getListMetricDescriptorsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.monitoring.v3.GetMetricDescriptorRequest, com.google.api.MetricDescriptor> + getGetMetricDescriptorMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetMetricDescriptor", + requestType = com.google.monitoring.v3.GetMetricDescriptorRequest.class, + responseType = com.google.api.MetricDescriptor.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.monitoring.v3.GetMetricDescriptorRequest, com.google.api.MetricDescriptor> + getGetMetricDescriptorMethod() { + io.grpc.MethodDescriptor< + com.google.monitoring.v3.GetMetricDescriptorRequest, com.google.api.MetricDescriptor> + getGetMetricDescriptorMethod; + if ((getGetMetricDescriptorMethod = MetricServiceGrpc.getGetMetricDescriptorMethod) == null) { + synchronized (MetricServiceGrpc.class) { + if ((getGetMetricDescriptorMethod = MetricServiceGrpc.getGetMetricDescriptorMethod) + == null) { + MetricServiceGrpc.getGetMetricDescriptorMethod = + getGetMetricDescriptorMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetMetricDescriptor")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.GetMetricDescriptorRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.api.MetricDescriptor.getDefaultInstance())) + .setSchemaDescriptor( + new MetricServiceMethodDescriptorSupplier("GetMetricDescriptor")) + .build(); + } + } + } + return getGetMetricDescriptorMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.monitoring.v3.CreateMetricDescriptorRequest, com.google.api.MetricDescriptor> + getCreateMetricDescriptorMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateMetricDescriptor", + requestType = com.google.monitoring.v3.CreateMetricDescriptorRequest.class, + responseType = com.google.api.MetricDescriptor.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.monitoring.v3.CreateMetricDescriptorRequest, com.google.api.MetricDescriptor> + getCreateMetricDescriptorMethod() { + io.grpc.MethodDescriptor< + com.google.monitoring.v3.CreateMetricDescriptorRequest, com.google.api.MetricDescriptor> + getCreateMetricDescriptorMethod; + if ((getCreateMetricDescriptorMethod = MetricServiceGrpc.getCreateMetricDescriptorMethod) + == null) { + synchronized (MetricServiceGrpc.class) { + if ((getCreateMetricDescriptorMethod = MetricServiceGrpc.getCreateMetricDescriptorMethod) + == null) { + MetricServiceGrpc.getCreateMetricDescriptorMethod = + getCreateMetricDescriptorMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateMetricDescriptor")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.CreateMetricDescriptorRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.api.MetricDescriptor.getDefaultInstance())) + .setSchemaDescriptor( + new MetricServiceMethodDescriptorSupplier("CreateMetricDescriptor")) + .build(); + } + } + } + return getCreateMetricDescriptorMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.monitoring.v3.DeleteMetricDescriptorRequest, com.google.protobuf.Empty> + getDeleteMetricDescriptorMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteMetricDescriptor", + requestType = com.google.monitoring.v3.DeleteMetricDescriptorRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.monitoring.v3.DeleteMetricDescriptorRequest, com.google.protobuf.Empty> + getDeleteMetricDescriptorMethod() { + io.grpc.MethodDescriptor< + com.google.monitoring.v3.DeleteMetricDescriptorRequest, com.google.protobuf.Empty> + getDeleteMetricDescriptorMethod; + if ((getDeleteMetricDescriptorMethod = MetricServiceGrpc.getDeleteMetricDescriptorMethod) + == null) { + synchronized (MetricServiceGrpc.class) { + if ((getDeleteMetricDescriptorMethod = MetricServiceGrpc.getDeleteMetricDescriptorMethod) + == null) { + MetricServiceGrpc.getDeleteMetricDescriptorMethod = + getDeleteMetricDescriptorMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteMetricDescriptor")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.DeleteMetricDescriptorRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new MetricServiceMethodDescriptorSupplier("DeleteMetricDescriptor")) + .build(); + } + } + } + return getDeleteMetricDescriptorMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.monitoring.v3.ListTimeSeriesRequest, + com.google.monitoring.v3.ListTimeSeriesResponse> + getListTimeSeriesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTimeSeries", + requestType = com.google.monitoring.v3.ListTimeSeriesRequest.class, + responseType = com.google.monitoring.v3.ListTimeSeriesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.monitoring.v3.ListTimeSeriesRequest, + com.google.monitoring.v3.ListTimeSeriesResponse> + getListTimeSeriesMethod() { + io.grpc.MethodDescriptor< + com.google.monitoring.v3.ListTimeSeriesRequest, + com.google.monitoring.v3.ListTimeSeriesResponse> + getListTimeSeriesMethod; + if ((getListTimeSeriesMethod = MetricServiceGrpc.getListTimeSeriesMethod) == null) { + synchronized (MetricServiceGrpc.class) { + if ((getListTimeSeriesMethod = MetricServiceGrpc.getListTimeSeriesMethod) == null) { + MetricServiceGrpc.getListTimeSeriesMethod = + getListTimeSeriesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTimeSeries")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.ListTimeSeriesRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.ListTimeSeriesResponse.getDefaultInstance())) + .setSchemaDescriptor( + new MetricServiceMethodDescriptorSupplier("ListTimeSeries")) + .build(); + } + } + } + return getListTimeSeriesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.monitoring.v3.CreateTimeSeriesRequest, com.google.protobuf.Empty> + getCreateTimeSeriesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTimeSeries", + requestType = com.google.monitoring.v3.CreateTimeSeriesRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.monitoring.v3.CreateTimeSeriesRequest, com.google.protobuf.Empty> + getCreateTimeSeriesMethod() { + io.grpc.MethodDescriptor< + com.google.monitoring.v3.CreateTimeSeriesRequest, com.google.protobuf.Empty> + getCreateTimeSeriesMethod; + if ((getCreateTimeSeriesMethod = MetricServiceGrpc.getCreateTimeSeriesMethod) == null) { + synchronized (MetricServiceGrpc.class) { + if ((getCreateTimeSeriesMethod = MetricServiceGrpc.getCreateTimeSeriesMethod) == null) { + MetricServiceGrpc.getCreateTimeSeriesMethod = + getCreateTimeSeriesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTimeSeries")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.CreateTimeSeriesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new MetricServiceMethodDescriptorSupplier("CreateTimeSeries")) + .build(); + } + } + } + return getCreateTimeSeriesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.monitoring.v3.CreateTimeSeriesRequest, com.google.protobuf.Empty> + getCreateServiceTimeSeriesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateServiceTimeSeries", + requestType = com.google.monitoring.v3.CreateTimeSeriesRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.monitoring.v3.CreateTimeSeriesRequest, com.google.protobuf.Empty> + getCreateServiceTimeSeriesMethod() { + io.grpc.MethodDescriptor< + com.google.monitoring.v3.CreateTimeSeriesRequest, com.google.protobuf.Empty> + getCreateServiceTimeSeriesMethod; + if ((getCreateServiceTimeSeriesMethod = MetricServiceGrpc.getCreateServiceTimeSeriesMethod) + == null) { + synchronized (MetricServiceGrpc.class) { + if ((getCreateServiceTimeSeriesMethod = MetricServiceGrpc.getCreateServiceTimeSeriesMethod) + == null) { + MetricServiceGrpc.getCreateServiceTimeSeriesMethod = + getCreateServiceTimeSeriesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateServiceTimeSeries")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.CreateTimeSeriesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new MetricServiceMethodDescriptorSupplier("CreateServiceTimeSeries")) + .build(); + } + } + } + return getCreateServiceTimeSeriesMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static MetricServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public MetricServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MetricServiceStub(channel, callOptions); + } + }; + return MetricServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static MetricServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public MetricServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MetricServiceBlockingStub(channel, callOptions); + } + }; + return MetricServiceBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static MetricServiceFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public MetricServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MetricServiceFutureStub(channel, callOptions); + } + }; + return MetricServiceFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * Manages metric descriptors, monitored resource descriptors, and
+   * time series data.
+   * 
+ */ + public abstract static class MetricServiceImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Lists monitored resource descriptors that match a filter. This method does not require a Workspace.
+     * 
+ */ + public void listMonitoredResourceDescriptors( + com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest request, + io.grpc.stub.StreamObserver< + com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListMonitoredResourceDescriptorsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a single monitored resource descriptor. This method does not require a Workspace.
+     * 
+ */ + public void getMonitoredResourceDescriptor( + com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetMonitoredResourceDescriptorMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists metric descriptors that match a filter. This method does not require a Workspace.
+     * 
+ */ + public void listMetricDescriptors( + com.google.monitoring.v3.ListMetricDescriptorsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListMetricDescriptorsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a single metric descriptor. This method does not require a Workspace.
+     * 
+ */ + public void getMetricDescriptor( + com.google.monitoring.v3.GetMetricDescriptorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetMetricDescriptorMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new metric descriptor.
+     * The creation is executed asynchronously and callers may check the returned
+     * operation to track its progress.
+     * User-created metric descriptors define
+     * [custom metrics](https://cloud.google.com/monitoring/custom-metrics).
+     * 
+ */ + public void createMetricDescriptor( + com.google.monitoring.v3.CreateMetricDescriptorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateMetricDescriptorMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a metric descriptor. Only user-created
+     * [custom metrics](https://cloud.google.com/monitoring/custom-metrics) can be
+     * deleted.
+     * 
+ */ + public void deleteMetricDescriptor( + com.google.monitoring.v3.DeleteMetricDescriptorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteMetricDescriptorMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists time series that match a filter. This method does not require a Workspace.
+     * 
+ */ + public void listTimeSeries( + com.google.monitoring.v3.ListTimeSeriesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListTimeSeriesMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates or adds data to one or more time series.
+     * The response is empty if all time series in the request were written.
+     * If any time series could not be written, a corresponding failure message is
+     * included in the error response.
+     * 
+ */ + public void createTimeSeries( + com.google.monitoring.v3.CreateTimeSeriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateTimeSeriesMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates or adds data to one or more service time series. A service time
+     * series is a time series for a metric from a Google Cloud service. The
+     * response is empty if all time series in the request were written. If any
+     * time series could not be written, a corresponding failure message is
+     * included in the error response. This endpoint rejects writes to
+     * user-defined metrics.
+     * This method is only for use by Google Cloud services. Use
+     * [projects.timeSeries.create][google.monitoring.v3.MetricService.CreateTimeSeries]
+     * instead.
+     * 
+ */ + public void createServiceTimeSeries( + com.google.monitoring.v3.CreateTimeSeriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateServiceTimeSeriesMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListMonitoredResourceDescriptorsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest, + com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse>( + this, METHODID_LIST_MONITORED_RESOURCE_DESCRIPTORS))) + .addMethod( + getGetMonitoredResourceDescriptorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest, + com.google.api.MonitoredResourceDescriptor>( + this, METHODID_GET_MONITORED_RESOURCE_DESCRIPTOR))) + .addMethod( + getListMetricDescriptorsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.ListMetricDescriptorsRequest, + com.google.monitoring.v3.ListMetricDescriptorsResponse>( + this, METHODID_LIST_METRIC_DESCRIPTORS))) + .addMethod( + getGetMetricDescriptorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.GetMetricDescriptorRequest, + com.google.api.MetricDescriptor>(this, METHODID_GET_METRIC_DESCRIPTOR))) + .addMethod( + getCreateMetricDescriptorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.CreateMetricDescriptorRequest, + com.google.api.MetricDescriptor>(this, METHODID_CREATE_METRIC_DESCRIPTOR))) + .addMethod( + getDeleteMetricDescriptorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.DeleteMetricDescriptorRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_METRIC_DESCRIPTOR))) + .addMethod( + getListTimeSeriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.ListTimeSeriesRequest, + com.google.monitoring.v3.ListTimeSeriesResponse>( + this, METHODID_LIST_TIME_SERIES))) + .addMethod( + getCreateTimeSeriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.CreateTimeSeriesRequest, com.google.protobuf.Empty>( + this, METHODID_CREATE_TIME_SERIES))) + .addMethod( + getCreateServiceTimeSeriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.CreateTimeSeriesRequest, com.google.protobuf.Empty>( + this, METHODID_CREATE_SERVICE_TIME_SERIES))) + .build(); + } + } + + /** + * + * + *
+   * Manages metric descriptors, monitored resource descriptors, and
+   * time series data.
+   * 
+ */ + public static final class MetricServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private MetricServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected MetricServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MetricServiceStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists monitored resource descriptors that match a filter. This method does not require a Workspace.
+     * 
+ */ + public void listMonitoredResourceDescriptors( + com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest request, + io.grpc.stub.StreamObserver< + com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListMonitoredResourceDescriptorsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a single monitored resource descriptor. This method does not require a Workspace.
+     * 
+ */ + public void getMonitoredResourceDescriptor( + com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetMonitoredResourceDescriptorMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists metric descriptors that match a filter. This method does not require a Workspace.
+     * 
+ */ + public void listMetricDescriptors( + com.google.monitoring.v3.ListMetricDescriptorsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListMetricDescriptorsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a single metric descriptor. This method does not require a Workspace.
+     * 
+ */ + public void getMetricDescriptor( + com.google.monitoring.v3.GetMetricDescriptorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetMetricDescriptorMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new metric descriptor.
+     * The creation is executed asynchronously and callers may check the returned
+     * operation to track its progress.
+     * User-created metric descriptors define
+     * [custom metrics](https://cloud.google.com/monitoring/custom-metrics).
+     * 
+ */ + public void createMetricDescriptor( + com.google.monitoring.v3.CreateMetricDescriptorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateMetricDescriptorMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a metric descriptor. Only user-created
+     * [custom metrics](https://cloud.google.com/monitoring/custom-metrics) can be
+     * deleted.
+     * 
+ */ + public void deleteMetricDescriptor( + com.google.monitoring.v3.DeleteMetricDescriptorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteMetricDescriptorMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists time series that match a filter. This method does not require a Workspace.
+     * 
+ */ + public void listTimeSeries( + com.google.monitoring.v3.ListTimeSeriesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTimeSeriesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates or adds data to one or more time series.
+     * The response is empty if all time series in the request were written.
+     * If any time series could not be written, a corresponding failure message is
+     * included in the error response.
+     * 
+ */ + public void createTimeSeries( + com.google.monitoring.v3.CreateTimeSeriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTimeSeriesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates or adds data to one or more service time series. A service time
+     * series is a time series for a metric from a Google Cloud service. The
+     * response is empty if all time series in the request were written. If any
+     * time series could not be written, a corresponding failure message is
+     * included in the error response. This endpoint rejects writes to
+     * user-defined metrics.
+     * This method is only for use by Google Cloud services. Use
+     * [projects.timeSeries.create][google.monitoring.v3.MetricService.CreateTimeSeries]
+     * instead.
+     * 
+ */ + public void createServiceTimeSeries( + com.google.monitoring.v3.CreateTimeSeriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateServiceTimeSeriesMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * Manages metric descriptors, monitored resource descriptors, and
+   * time series data.
+   * 
+ */ + public static final class MetricServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private MetricServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected MetricServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MetricServiceBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists monitored resource descriptors that match a filter. This method does not require a Workspace.
+     * 
+ */ + public com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse + listMonitoredResourceDescriptors( + com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListMonitoredResourceDescriptorsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a single monitored resource descriptor. This method does not require a Workspace.
+     * 
+ */ + public com.google.api.MonitoredResourceDescriptor getMonitoredResourceDescriptor( + com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetMonitoredResourceDescriptorMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists metric descriptors that match a filter. This method does not require a Workspace.
+     * 
+ */ + public com.google.monitoring.v3.ListMetricDescriptorsResponse listMetricDescriptors( + com.google.monitoring.v3.ListMetricDescriptorsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListMetricDescriptorsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a single metric descriptor. This method does not require a Workspace.
+     * 
+ */ + public com.google.api.MetricDescriptor getMetricDescriptor( + com.google.monitoring.v3.GetMetricDescriptorRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetMetricDescriptorMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new metric descriptor.
+     * The creation is executed asynchronously and callers may check the returned
+     * operation to track its progress.
+     * User-created metric descriptors define
+     * [custom metrics](https://cloud.google.com/monitoring/custom-metrics).
+     * 
+ */ + public com.google.api.MetricDescriptor createMetricDescriptor( + com.google.monitoring.v3.CreateMetricDescriptorRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateMetricDescriptorMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a metric descriptor. Only user-created
+     * [custom metrics](https://cloud.google.com/monitoring/custom-metrics) can be
+     * deleted.
+     * 
+ */ + public com.google.protobuf.Empty deleteMetricDescriptor( + com.google.monitoring.v3.DeleteMetricDescriptorRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteMetricDescriptorMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists time series that match a filter. This method does not require a Workspace.
+     * 
+ */ + public com.google.monitoring.v3.ListTimeSeriesResponse listTimeSeries( + com.google.monitoring.v3.ListTimeSeriesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTimeSeriesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates or adds data to one or more time series.
+     * The response is empty if all time series in the request were written.
+     * If any time series could not be written, a corresponding failure message is
+     * included in the error response.
+     * 
+ */ + public com.google.protobuf.Empty createTimeSeries( + com.google.monitoring.v3.CreateTimeSeriesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTimeSeriesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates or adds data to one or more service time series. A service time
+     * series is a time series for a metric from a Google Cloud service. The
+     * response is empty if all time series in the request were written. If any
+     * time series could not be written, a corresponding failure message is
+     * included in the error response. This endpoint rejects writes to
+     * user-defined metrics.
+     * This method is only for use by Google Cloud services. Use
+     * [projects.timeSeries.create][google.monitoring.v3.MetricService.CreateTimeSeries]
+     * instead.
+     * 
+ */ + public com.google.protobuf.Empty createServiceTimeSeries( + com.google.monitoring.v3.CreateTimeSeriesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateServiceTimeSeriesMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * Manages metric descriptors, monitored resource descriptors, and
+   * time series data.
+   * 
+ */ + public static final class MetricServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private MetricServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected MetricServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new MetricServiceFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists monitored resource descriptors that match a filter. This method does not require a Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse> + listMonitoredResourceDescriptors( + com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListMonitoredResourceDescriptorsMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Gets a single monitored resource descriptor. This method does not require a Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.api.MonitoredResourceDescriptor> + getMonitoredResourceDescriptor( + com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetMonitoredResourceDescriptorMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Lists metric descriptors that match a filter. This method does not require a Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.monitoring.v3.ListMetricDescriptorsResponse> + listMetricDescriptors(com.google.monitoring.v3.ListMetricDescriptorsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListMetricDescriptorsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a single metric descriptor. This method does not require a Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getMetricDescriptor(com.google.monitoring.v3.GetMetricDescriptorRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetMetricDescriptorMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new metric descriptor.
+     * The creation is executed asynchronously and callers may check the returned
+     * operation to track its progress.
+     * User-created metric descriptors define
+     * [custom metrics](https://cloud.google.com/monitoring/custom-metrics).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createMetricDescriptor(com.google.monitoring.v3.CreateMetricDescriptorRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateMetricDescriptorMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a metric descriptor. Only user-created
+     * [custom metrics](https://cloud.google.com/monitoring/custom-metrics) can be
+     * deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteMetricDescriptor(com.google.monitoring.v3.DeleteMetricDescriptorRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteMetricDescriptorMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists time series that match a filter. This method does not require a Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.monitoring.v3.ListTimeSeriesResponse> + listTimeSeries(com.google.monitoring.v3.ListTimeSeriesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTimeSeriesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates or adds data to one or more time series.
+     * The response is empty if all time series in the request were written.
+     * If any time series could not be written, a corresponding failure message is
+     * included in the error response.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createTimeSeries(com.google.monitoring.v3.CreateTimeSeriesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTimeSeriesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates or adds data to one or more service time series. A service time
+     * series is a time series for a metric from a Google Cloud service. The
+     * response is empty if all time series in the request were written. If any
+     * time series could not be written, a corresponding failure message is
+     * included in the error response. This endpoint rejects writes to
+     * user-defined metrics.
+     * This method is only for use by Google Cloud services. Use
+     * [projects.timeSeries.create][google.monitoring.v3.MetricService.CreateTimeSeries]
+     * instead.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createServiceTimeSeries(com.google.monitoring.v3.CreateTimeSeriesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateServiceTimeSeriesMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_MONITORED_RESOURCE_DESCRIPTORS = 0; + private static final int METHODID_GET_MONITORED_RESOURCE_DESCRIPTOR = 1; + private static final int METHODID_LIST_METRIC_DESCRIPTORS = 2; + private static final int METHODID_GET_METRIC_DESCRIPTOR = 3; + private static final int METHODID_CREATE_METRIC_DESCRIPTOR = 4; + private static final int METHODID_DELETE_METRIC_DESCRIPTOR = 5; + private static final int METHODID_LIST_TIME_SERIES = 6; + private static final int METHODID_CREATE_TIME_SERIES = 7; + private static final int METHODID_CREATE_SERVICE_TIME_SERIES = 8; + + 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 MetricServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(MetricServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_LIST_MONITORED_RESOURCE_DESCRIPTORS: + serviceImpl.listMonitoredResourceDescriptors( + (com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse>) + responseObserver); + break; + case METHODID_GET_MONITORED_RESOURCE_DESCRIPTOR: + serviceImpl.getMonitoredResourceDescriptor( + (com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_METRIC_DESCRIPTORS: + serviceImpl.listMetricDescriptors( + (com.google.monitoring.v3.ListMetricDescriptorsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_METRIC_DESCRIPTOR: + serviceImpl.getMetricDescriptor( + (com.google.monitoring.v3.GetMetricDescriptorRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_METRIC_DESCRIPTOR: + serviceImpl.createMetricDescriptor( + (com.google.monitoring.v3.CreateMetricDescriptorRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_METRIC_DESCRIPTOR: + serviceImpl.deleteMetricDescriptor( + (com.google.monitoring.v3.DeleteMetricDescriptorRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_TIME_SERIES: + serviceImpl.listTimeSeries( + (com.google.monitoring.v3.ListTimeSeriesRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_TIME_SERIES: + serviceImpl.createTimeSeries( + (com.google.monitoring.v3.CreateTimeSeriesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_SERVICE_TIME_SERIES: + serviceImpl.createServiceTimeSeries( + (com.google.monitoring.v3.CreateTimeSeriesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class MetricServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + MetricServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.monitoring.v3.MetricServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("MetricService"); + } + } + + private static final class MetricServiceFileDescriptorSupplier + extends MetricServiceBaseDescriptorSupplier { + MetricServiceFileDescriptorSupplier() {} + } + + private static final class MetricServiceMethodDescriptorSupplier + extends MetricServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + MetricServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (MetricServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new MetricServiceFileDescriptorSupplier()) + .addMethod(getListMonitoredResourceDescriptorsMethod()) + .addMethod(getGetMonitoredResourceDescriptorMethod()) + .addMethod(getListMetricDescriptorsMethod()) + .addMethod(getGetMetricDescriptorMethod()) + .addMethod(getCreateMetricDescriptorMethod()) + .addMethod(getDeleteMetricDescriptorMethod()) + .addMethod(getListTimeSeriesMethod()) + .addMethod(getCreateTimeSeriesMethod()) + .addMethod(getCreateServiceTimeSeriesMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelServiceGrpc.java b/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelServiceGrpc.java new file mode 100644 index 00000000..0a904986 --- /dev/null +++ b/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelServiceGrpc.java @@ -0,0 +1,1658 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.monitoring.v3; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * The Notification Channel API provides access to configuration that
+ * controls how messages related to incidents are sent.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/monitoring/v3/notification_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class NotificationChannelServiceGrpc { + + private NotificationChannelServiceGrpc() {} + + public static final String SERVICE_NAME = "google.monitoring.v3.NotificationChannelService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest, + com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse> + getListNotificationChannelDescriptorsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListNotificationChannelDescriptors", + requestType = com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest.class, + responseType = com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest, + com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse> + getListNotificationChannelDescriptorsMethod() { + io.grpc.MethodDescriptor< + com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest, + com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse> + getListNotificationChannelDescriptorsMethod; + if ((getListNotificationChannelDescriptorsMethod = + NotificationChannelServiceGrpc.getListNotificationChannelDescriptorsMethod) + == null) { + synchronized (NotificationChannelServiceGrpc.class) { + if ((getListNotificationChannelDescriptorsMethod = + NotificationChannelServiceGrpc.getListNotificationChannelDescriptorsMethod) + == null) { + NotificationChannelServiceGrpc.getListNotificationChannelDescriptorsMethod = + getListNotificationChannelDescriptorsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName( + SERVICE_NAME, "ListNotificationChannelDescriptors")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new NotificationChannelServiceMethodDescriptorSupplier( + "ListNotificationChannelDescriptors")) + .build(); + } + } + } + return getListNotificationChannelDescriptorsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.monitoring.v3.GetNotificationChannelDescriptorRequest, + com.google.monitoring.v3.NotificationChannelDescriptor> + getGetNotificationChannelDescriptorMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetNotificationChannelDescriptor", + requestType = com.google.monitoring.v3.GetNotificationChannelDescriptorRequest.class, + responseType = com.google.monitoring.v3.NotificationChannelDescriptor.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.monitoring.v3.GetNotificationChannelDescriptorRequest, + com.google.monitoring.v3.NotificationChannelDescriptor> + getGetNotificationChannelDescriptorMethod() { + io.grpc.MethodDescriptor< + com.google.monitoring.v3.GetNotificationChannelDescriptorRequest, + com.google.monitoring.v3.NotificationChannelDescriptor> + getGetNotificationChannelDescriptorMethod; + if ((getGetNotificationChannelDescriptorMethod = + NotificationChannelServiceGrpc.getGetNotificationChannelDescriptorMethod) + == null) { + synchronized (NotificationChannelServiceGrpc.class) { + if ((getGetNotificationChannelDescriptorMethod = + NotificationChannelServiceGrpc.getGetNotificationChannelDescriptorMethod) + == null) { + NotificationChannelServiceGrpc.getGetNotificationChannelDescriptorMethod = + getGetNotificationChannelDescriptorMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetNotificationChannelDescriptor")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.GetNotificationChannelDescriptorRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.NotificationChannelDescriptor + .getDefaultInstance())) + .setSchemaDescriptor( + new NotificationChannelServiceMethodDescriptorSupplier( + "GetNotificationChannelDescriptor")) + .build(); + } + } + } + return getGetNotificationChannelDescriptorMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.monitoring.v3.ListNotificationChannelsRequest, + com.google.monitoring.v3.ListNotificationChannelsResponse> + getListNotificationChannelsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListNotificationChannels", + requestType = com.google.monitoring.v3.ListNotificationChannelsRequest.class, + responseType = com.google.monitoring.v3.ListNotificationChannelsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.monitoring.v3.ListNotificationChannelsRequest, + com.google.monitoring.v3.ListNotificationChannelsResponse> + getListNotificationChannelsMethod() { + io.grpc.MethodDescriptor< + com.google.monitoring.v3.ListNotificationChannelsRequest, + com.google.monitoring.v3.ListNotificationChannelsResponse> + getListNotificationChannelsMethod; + if ((getListNotificationChannelsMethod = + NotificationChannelServiceGrpc.getListNotificationChannelsMethod) + == null) { + synchronized (NotificationChannelServiceGrpc.class) { + if ((getListNotificationChannelsMethod = + NotificationChannelServiceGrpc.getListNotificationChannelsMethod) + == null) { + NotificationChannelServiceGrpc.getListNotificationChannelsMethod = + getListNotificationChannelsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListNotificationChannels")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.ListNotificationChannelsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.ListNotificationChannelsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new NotificationChannelServiceMethodDescriptorSupplier( + "ListNotificationChannels")) + .build(); + } + } + } + return getListNotificationChannelsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.monitoring.v3.GetNotificationChannelRequest, + com.google.monitoring.v3.NotificationChannel> + getGetNotificationChannelMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetNotificationChannel", + requestType = com.google.monitoring.v3.GetNotificationChannelRequest.class, + responseType = com.google.monitoring.v3.NotificationChannel.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.monitoring.v3.GetNotificationChannelRequest, + com.google.monitoring.v3.NotificationChannel> + getGetNotificationChannelMethod() { + io.grpc.MethodDescriptor< + com.google.monitoring.v3.GetNotificationChannelRequest, + com.google.monitoring.v3.NotificationChannel> + getGetNotificationChannelMethod; + if ((getGetNotificationChannelMethod = + NotificationChannelServiceGrpc.getGetNotificationChannelMethod) + == null) { + synchronized (NotificationChannelServiceGrpc.class) { + if ((getGetNotificationChannelMethod = + NotificationChannelServiceGrpc.getGetNotificationChannelMethod) + == null) { + NotificationChannelServiceGrpc.getGetNotificationChannelMethod = + getGetNotificationChannelMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetNotificationChannel")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.GetNotificationChannelRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.NotificationChannel.getDefaultInstance())) + .setSchemaDescriptor( + new NotificationChannelServiceMethodDescriptorSupplier( + "GetNotificationChannel")) + .build(); + } + } + } + return getGetNotificationChannelMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.monitoring.v3.CreateNotificationChannelRequest, + com.google.monitoring.v3.NotificationChannel> + getCreateNotificationChannelMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateNotificationChannel", + requestType = com.google.monitoring.v3.CreateNotificationChannelRequest.class, + responseType = com.google.monitoring.v3.NotificationChannel.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.monitoring.v3.CreateNotificationChannelRequest, + com.google.monitoring.v3.NotificationChannel> + getCreateNotificationChannelMethod() { + io.grpc.MethodDescriptor< + com.google.monitoring.v3.CreateNotificationChannelRequest, + com.google.monitoring.v3.NotificationChannel> + getCreateNotificationChannelMethod; + if ((getCreateNotificationChannelMethod = + NotificationChannelServiceGrpc.getCreateNotificationChannelMethod) + == null) { + synchronized (NotificationChannelServiceGrpc.class) { + if ((getCreateNotificationChannelMethod = + NotificationChannelServiceGrpc.getCreateNotificationChannelMethod) + == null) { + NotificationChannelServiceGrpc.getCreateNotificationChannelMethod = + getCreateNotificationChannelMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateNotificationChannel")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.CreateNotificationChannelRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.NotificationChannel.getDefaultInstance())) + .setSchemaDescriptor( + new NotificationChannelServiceMethodDescriptorSupplier( + "CreateNotificationChannel")) + .build(); + } + } + } + return getCreateNotificationChannelMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.monitoring.v3.UpdateNotificationChannelRequest, + com.google.monitoring.v3.NotificationChannel> + getUpdateNotificationChannelMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateNotificationChannel", + requestType = com.google.monitoring.v3.UpdateNotificationChannelRequest.class, + responseType = com.google.monitoring.v3.NotificationChannel.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.monitoring.v3.UpdateNotificationChannelRequest, + com.google.monitoring.v3.NotificationChannel> + getUpdateNotificationChannelMethod() { + io.grpc.MethodDescriptor< + com.google.monitoring.v3.UpdateNotificationChannelRequest, + com.google.monitoring.v3.NotificationChannel> + getUpdateNotificationChannelMethod; + if ((getUpdateNotificationChannelMethod = + NotificationChannelServiceGrpc.getUpdateNotificationChannelMethod) + == null) { + synchronized (NotificationChannelServiceGrpc.class) { + if ((getUpdateNotificationChannelMethod = + NotificationChannelServiceGrpc.getUpdateNotificationChannelMethod) + == null) { + NotificationChannelServiceGrpc.getUpdateNotificationChannelMethod = + getUpdateNotificationChannelMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateNotificationChannel")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.UpdateNotificationChannelRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.NotificationChannel.getDefaultInstance())) + .setSchemaDescriptor( + new NotificationChannelServiceMethodDescriptorSupplier( + "UpdateNotificationChannel")) + .build(); + } + } + } + return getUpdateNotificationChannelMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.monitoring.v3.DeleteNotificationChannelRequest, com.google.protobuf.Empty> + getDeleteNotificationChannelMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteNotificationChannel", + requestType = com.google.monitoring.v3.DeleteNotificationChannelRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.monitoring.v3.DeleteNotificationChannelRequest, com.google.protobuf.Empty> + getDeleteNotificationChannelMethod() { + io.grpc.MethodDescriptor< + com.google.monitoring.v3.DeleteNotificationChannelRequest, com.google.protobuf.Empty> + getDeleteNotificationChannelMethod; + if ((getDeleteNotificationChannelMethod = + NotificationChannelServiceGrpc.getDeleteNotificationChannelMethod) + == null) { + synchronized (NotificationChannelServiceGrpc.class) { + if ((getDeleteNotificationChannelMethod = + NotificationChannelServiceGrpc.getDeleteNotificationChannelMethod) + == null) { + NotificationChannelServiceGrpc.getDeleteNotificationChannelMethod = + getDeleteNotificationChannelMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteNotificationChannel")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.DeleteNotificationChannelRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new NotificationChannelServiceMethodDescriptorSupplier( + "DeleteNotificationChannel")) + .build(); + } + } + } + return getDeleteNotificationChannelMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest, + com.google.protobuf.Empty> + getSendNotificationChannelVerificationCodeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SendNotificationChannelVerificationCode", + requestType = com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest, + com.google.protobuf.Empty> + getSendNotificationChannelVerificationCodeMethod() { + io.grpc.MethodDescriptor< + com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest, + com.google.protobuf.Empty> + getSendNotificationChannelVerificationCodeMethod; + if ((getSendNotificationChannelVerificationCodeMethod = + NotificationChannelServiceGrpc.getSendNotificationChannelVerificationCodeMethod) + == null) { + synchronized (NotificationChannelServiceGrpc.class) { + if ((getSendNotificationChannelVerificationCodeMethod = + NotificationChannelServiceGrpc.getSendNotificationChannelVerificationCodeMethod) + == null) { + NotificationChannelServiceGrpc.getSendNotificationChannelVerificationCodeMethod = + getSendNotificationChannelVerificationCodeMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName( + SERVICE_NAME, "SendNotificationChannelVerificationCode")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3 + .SendNotificationChannelVerificationCodeRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new NotificationChannelServiceMethodDescriptorSupplier( + "SendNotificationChannelVerificationCode")) + .build(); + } + } + } + return getSendNotificationChannelVerificationCodeMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest, + com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse> + getGetNotificationChannelVerificationCodeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetNotificationChannelVerificationCode", + requestType = com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest.class, + responseType = com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest, + com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse> + getGetNotificationChannelVerificationCodeMethod() { + io.grpc.MethodDescriptor< + com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest, + com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse> + getGetNotificationChannelVerificationCodeMethod; + if ((getGetNotificationChannelVerificationCodeMethod = + NotificationChannelServiceGrpc.getGetNotificationChannelVerificationCodeMethod) + == null) { + synchronized (NotificationChannelServiceGrpc.class) { + if ((getGetNotificationChannelVerificationCodeMethod = + NotificationChannelServiceGrpc.getGetNotificationChannelVerificationCodeMethod) + == null) { + NotificationChannelServiceGrpc.getGetNotificationChannelVerificationCodeMethod = + getGetNotificationChannelVerificationCodeMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName( + SERVICE_NAME, "GetNotificationChannelVerificationCode")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3 + .GetNotificationChannelVerificationCodeResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new NotificationChannelServiceMethodDescriptorSupplier( + "GetNotificationChannelVerificationCode")) + .build(); + } + } + } + return getGetNotificationChannelVerificationCodeMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.monitoring.v3.VerifyNotificationChannelRequest, + com.google.monitoring.v3.NotificationChannel> + getVerifyNotificationChannelMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "VerifyNotificationChannel", + requestType = com.google.monitoring.v3.VerifyNotificationChannelRequest.class, + responseType = com.google.monitoring.v3.NotificationChannel.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.monitoring.v3.VerifyNotificationChannelRequest, + com.google.monitoring.v3.NotificationChannel> + getVerifyNotificationChannelMethod() { + io.grpc.MethodDescriptor< + com.google.monitoring.v3.VerifyNotificationChannelRequest, + com.google.monitoring.v3.NotificationChannel> + getVerifyNotificationChannelMethod; + if ((getVerifyNotificationChannelMethod = + NotificationChannelServiceGrpc.getVerifyNotificationChannelMethod) + == null) { + synchronized (NotificationChannelServiceGrpc.class) { + if ((getVerifyNotificationChannelMethod = + NotificationChannelServiceGrpc.getVerifyNotificationChannelMethod) + == null) { + NotificationChannelServiceGrpc.getVerifyNotificationChannelMethod = + getVerifyNotificationChannelMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "VerifyNotificationChannel")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.VerifyNotificationChannelRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.NotificationChannel.getDefaultInstance())) + .setSchemaDescriptor( + new NotificationChannelServiceMethodDescriptorSupplier( + "VerifyNotificationChannel")) + .build(); + } + } + } + return getVerifyNotificationChannelMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static NotificationChannelServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public NotificationChannelServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new NotificationChannelServiceStub(channel, callOptions); + } + }; + return NotificationChannelServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static NotificationChannelServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public NotificationChannelServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new NotificationChannelServiceBlockingStub(channel, callOptions); + } + }; + return NotificationChannelServiceBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static NotificationChannelServiceFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public NotificationChannelServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new NotificationChannelServiceFutureStub(channel, callOptions); + } + }; + return NotificationChannelServiceFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * The Notification Channel API provides access to configuration that
+   * controls how messages related to incidents are sent.
+   * 
+ */ + public abstract static class NotificationChannelServiceImplBase + implements io.grpc.BindableService { + + /** + * + * + *
+     * Lists the descriptors for supported channel types. The use of descriptors
+     * makes it possible for new channel types to be dynamically added.
+     * 
+ */ + public void listNotificationChannelDescriptors( + com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest request, + io.grpc.stub.StreamObserver< + com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListNotificationChannelDescriptorsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a single channel descriptor. The descriptor indicates which fields
+     * are expected / permitted for a notification channel of the given type.
+     * 
+ */ + public void getNotificationChannelDescriptor( + com.google.monitoring.v3.GetNotificationChannelDescriptorRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetNotificationChannelDescriptorMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists the notification channels that have been created for the project.
+     * 
+ */ + public void listNotificationChannels( + com.google.monitoring.v3.ListNotificationChannelsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListNotificationChannelsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a single notification channel. The channel includes the relevant
+     * configuration details with which the channel was created. However, the
+     * response may truncate or omit passwords, API keys, or other private key
+     * matter and thus the response may not be 100% identical to the information
+     * that was supplied in the call to the create method.
+     * 
+ */ + public void getNotificationChannel( + com.google.monitoring.v3.GetNotificationChannelRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetNotificationChannelMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new notification channel, representing a single notification
+     * endpoint such as an email address, SMS number, or PagerDuty service.
+     * 
+ */ + public void createNotificationChannel( + com.google.monitoring.v3.CreateNotificationChannelRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateNotificationChannelMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a notification channel. Fields not specified in the field mask
+     * remain unchanged.
+     * 
+ */ + public void updateNotificationChannel( + com.google.monitoring.v3.UpdateNotificationChannelRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateNotificationChannelMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a notification channel.
+     * 
+ */ + public void deleteNotificationChannel( + com.google.monitoring.v3.DeleteNotificationChannelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteNotificationChannelMethod(), responseObserver); + } + + /** + * + * + *
+     * Causes a verification code to be delivered to the channel. The code
+     * can then be supplied in `VerifyNotificationChannel` to verify the channel.
+     * 
+ */ + public void sendNotificationChannelVerificationCode( + com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSendNotificationChannelVerificationCodeMethod(), responseObserver); + } + + /** + * + * + *
+     * Requests a verification code for an already verified channel that can then
+     * be used in a call to VerifyNotificationChannel() on a different channel
+     * with an equivalent identity in the same or in a different project. This
+     * makes it possible to copy a channel between projects without requiring
+     * manual reverification of the channel. If the channel is not in the
+     * verified state, this method will fail (in other words, this may only be
+     * used if the SendNotificationChannelVerificationCode and
+     * VerifyNotificationChannel paths have already been used to put the given
+     * channel into the verified state).
+     * There is no guarantee that the verification codes returned by this method
+     * will be of a similar structure or form as the ones that are delivered
+     * to the channel via SendNotificationChannelVerificationCode; while
+     * VerifyNotificationChannel() will recognize both the codes delivered via
+     * SendNotificationChannelVerificationCode() and returned from
+     * GetNotificationChannelVerificationCode(), it is typically the case that
+     * the verification codes delivered via
+     * SendNotificationChannelVerificationCode() will be shorter and also
+     * have a shorter expiration (e.g. codes such as "G-123456") whereas
+     * GetVerificationCode() will typically return a much longer, websafe base
+     * 64 encoded string that has a longer expiration time.
+     * 
+ */ + public void getNotificationChannelVerificationCode( + com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest request, + io.grpc.stub.StreamObserver< + com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetNotificationChannelVerificationCodeMethod(), responseObserver); + } + + /** + * + * + *
+     * Verifies a `NotificationChannel` by proving receipt of the code
+     * delivered to the channel as a result of calling
+     * `SendNotificationChannelVerificationCode`.
+     * 
+ */ + public void verifyNotificationChannel( + com.google.monitoring.v3.VerifyNotificationChannelRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getVerifyNotificationChannelMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListNotificationChannelDescriptorsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest, + com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse>( + this, METHODID_LIST_NOTIFICATION_CHANNEL_DESCRIPTORS))) + .addMethod( + getGetNotificationChannelDescriptorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.GetNotificationChannelDescriptorRequest, + com.google.monitoring.v3.NotificationChannelDescriptor>( + this, METHODID_GET_NOTIFICATION_CHANNEL_DESCRIPTOR))) + .addMethod( + getListNotificationChannelsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.ListNotificationChannelsRequest, + com.google.monitoring.v3.ListNotificationChannelsResponse>( + this, METHODID_LIST_NOTIFICATION_CHANNELS))) + .addMethod( + getGetNotificationChannelMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.GetNotificationChannelRequest, + com.google.monitoring.v3.NotificationChannel>( + this, METHODID_GET_NOTIFICATION_CHANNEL))) + .addMethod( + getCreateNotificationChannelMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.CreateNotificationChannelRequest, + com.google.monitoring.v3.NotificationChannel>( + this, METHODID_CREATE_NOTIFICATION_CHANNEL))) + .addMethod( + getUpdateNotificationChannelMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.UpdateNotificationChannelRequest, + com.google.monitoring.v3.NotificationChannel>( + this, METHODID_UPDATE_NOTIFICATION_CHANNEL))) + .addMethod( + getDeleteNotificationChannelMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.DeleteNotificationChannelRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_NOTIFICATION_CHANNEL))) + .addMethod( + getSendNotificationChannelVerificationCodeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest, + com.google.protobuf.Empty>( + this, METHODID_SEND_NOTIFICATION_CHANNEL_VERIFICATION_CODE))) + .addMethod( + getGetNotificationChannelVerificationCodeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest, + com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse>( + this, METHODID_GET_NOTIFICATION_CHANNEL_VERIFICATION_CODE))) + .addMethod( + getVerifyNotificationChannelMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.VerifyNotificationChannelRequest, + com.google.monitoring.v3.NotificationChannel>( + this, METHODID_VERIFY_NOTIFICATION_CHANNEL))) + .build(); + } + } + + /** + * + * + *
+   * The Notification Channel API provides access to configuration that
+   * controls how messages related to incidents are sent.
+   * 
+ */ + public static final class NotificationChannelServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private NotificationChannelServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected NotificationChannelServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new NotificationChannelServiceStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists the descriptors for supported channel types. The use of descriptors
+     * makes it possible for new channel types to be dynamically added.
+     * 
+ */ + public void listNotificationChannelDescriptors( + com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest request, + io.grpc.stub.StreamObserver< + com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListNotificationChannelDescriptorsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a single channel descriptor. The descriptor indicates which fields
+     * are expected / permitted for a notification channel of the given type.
+     * 
+ */ + public void getNotificationChannelDescriptor( + com.google.monitoring.v3.GetNotificationChannelDescriptorRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetNotificationChannelDescriptorMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists the notification channels that have been created for the project.
+     * 
+ */ + public void listNotificationChannels( + com.google.monitoring.v3.ListNotificationChannelsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListNotificationChannelsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a single notification channel. The channel includes the relevant
+     * configuration details with which the channel was created. However, the
+     * response may truncate or omit passwords, API keys, or other private key
+     * matter and thus the response may not be 100% identical to the information
+     * that was supplied in the call to the create method.
+     * 
+ */ + public void getNotificationChannel( + com.google.monitoring.v3.GetNotificationChannelRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetNotificationChannelMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new notification channel, representing a single notification
+     * endpoint such as an email address, SMS number, or PagerDuty service.
+     * 
+ */ + public void createNotificationChannel( + com.google.monitoring.v3.CreateNotificationChannelRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateNotificationChannelMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a notification channel. Fields not specified in the field mask
+     * remain unchanged.
+     * 
+ */ + public void updateNotificationChannel( + com.google.monitoring.v3.UpdateNotificationChannelRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateNotificationChannelMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a notification channel.
+     * 
+ */ + public void deleteNotificationChannel( + com.google.monitoring.v3.DeleteNotificationChannelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteNotificationChannelMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Causes a verification code to be delivered to the channel. The code
+     * can then be supplied in `VerifyNotificationChannel` to verify the channel.
+     * 
+ */ + public void sendNotificationChannelVerificationCode( + com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel() + .newCall(getSendNotificationChannelVerificationCodeMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Requests a verification code for an already verified channel that can then
+     * be used in a call to VerifyNotificationChannel() on a different channel
+     * with an equivalent identity in the same or in a different project. This
+     * makes it possible to copy a channel between projects without requiring
+     * manual reverification of the channel. If the channel is not in the
+     * verified state, this method will fail (in other words, this may only be
+     * used if the SendNotificationChannelVerificationCode and
+     * VerifyNotificationChannel paths have already been used to put the given
+     * channel into the verified state).
+     * There is no guarantee that the verification codes returned by this method
+     * will be of a similar structure or form as the ones that are delivered
+     * to the channel via SendNotificationChannelVerificationCode; while
+     * VerifyNotificationChannel() will recognize both the codes delivered via
+     * SendNotificationChannelVerificationCode() and returned from
+     * GetNotificationChannelVerificationCode(), it is typically the case that
+     * the verification codes delivered via
+     * SendNotificationChannelVerificationCode() will be shorter and also
+     * have a shorter expiration (e.g. codes such as "G-123456") whereas
+     * GetVerificationCode() will typically return a much longer, websafe base
+     * 64 encoded string that has a longer expiration time.
+     * 
+ */ + public void getNotificationChannelVerificationCode( + com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest request, + io.grpc.stub.StreamObserver< + com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetNotificationChannelVerificationCodeMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Verifies a `NotificationChannel` by proving receipt of the code
+     * delivered to the channel as a result of calling
+     * `SendNotificationChannelVerificationCode`.
+     * 
+ */ + public void verifyNotificationChannel( + com.google.monitoring.v3.VerifyNotificationChannelRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getVerifyNotificationChannelMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * The Notification Channel API provides access to configuration that
+   * controls how messages related to incidents are sent.
+   * 
+ */ + public static final class NotificationChannelServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private NotificationChannelServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected NotificationChannelServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new NotificationChannelServiceBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists the descriptors for supported channel types. The use of descriptors
+     * makes it possible for new channel types to be dynamically added.
+     * 
+ */ + public com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse + listNotificationChannelDescriptors( + com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListNotificationChannelDescriptorsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a single channel descriptor. The descriptor indicates which fields
+     * are expected / permitted for a notification channel of the given type.
+     * 
+ */ + public com.google.monitoring.v3.NotificationChannelDescriptor getNotificationChannelDescriptor( + com.google.monitoring.v3.GetNotificationChannelDescriptorRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetNotificationChannelDescriptorMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists the notification channels that have been created for the project.
+     * 
+ */ + public com.google.monitoring.v3.ListNotificationChannelsResponse listNotificationChannels( + com.google.monitoring.v3.ListNotificationChannelsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListNotificationChannelsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a single notification channel. The channel includes the relevant
+     * configuration details with which the channel was created. However, the
+     * response may truncate or omit passwords, API keys, or other private key
+     * matter and thus the response may not be 100% identical to the information
+     * that was supplied in the call to the create method.
+     * 
+ */ + public com.google.monitoring.v3.NotificationChannel getNotificationChannel( + com.google.monitoring.v3.GetNotificationChannelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetNotificationChannelMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new notification channel, representing a single notification
+     * endpoint such as an email address, SMS number, or PagerDuty service.
+     * 
+ */ + public com.google.monitoring.v3.NotificationChannel createNotificationChannel( + com.google.monitoring.v3.CreateNotificationChannelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateNotificationChannelMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a notification channel. Fields not specified in the field mask
+     * remain unchanged.
+     * 
+ */ + public com.google.monitoring.v3.NotificationChannel updateNotificationChannel( + com.google.monitoring.v3.UpdateNotificationChannelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateNotificationChannelMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a notification channel.
+     * 
+ */ + public com.google.protobuf.Empty deleteNotificationChannel( + com.google.monitoring.v3.DeleteNotificationChannelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteNotificationChannelMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Causes a verification code to be delivered to the channel. The code
+     * can then be supplied in `VerifyNotificationChannel` to verify the channel.
+     * 
+ */ + public com.google.protobuf.Empty sendNotificationChannelVerificationCode( + com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), + getSendNotificationChannelVerificationCodeMethod(), + getCallOptions(), + request); + } + + /** + * + * + *
+     * Requests a verification code for an already verified channel that can then
+     * be used in a call to VerifyNotificationChannel() on a different channel
+     * with an equivalent identity in the same or in a different project. This
+     * makes it possible to copy a channel between projects without requiring
+     * manual reverification of the channel. If the channel is not in the
+     * verified state, this method will fail (in other words, this may only be
+     * used if the SendNotificationChannelVerificationCode and
+     * VerifyNotificationChannel paths have already been used to put the given
+     * channel into the verified state).
+     * There is no guarantee that the verification codes returned by this method
+     * will be of a similar structure or form as the ones that are delivered
+     * to the channel via SendNotificationChannelVerificationCode; while
+     * VerifyNotificationChannel() will recognize both the codes delivered via
+     * SendNotificationChannelVerificationCode() and returned from
+     * GetNotificationChannelVerificationCode(), it is typically the case that
+     * the verification codes delivered via
+     * SendNotificationChannelVerificationCode() will be shorter and also
+     * have a shorter expiration (e.g. codes such as "G-123456") whereas
+     * GetVerificationCode() will typically return a much longer, websafe base
+     * 64 encoded string that has a longer expiration time.
+     * 
+ */ + public com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse + getNotificationChannelVerificationCode( + com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), + getGetNotificationChannelVerificationCodeMethod(), + getCallOptions(), + request); + } + + /** + * + * + *
+     * Verifies a `NotificationChannel` by proving receipt of the code
+     * delivered to the channel as a result of calling
+     * `SendNotificationChannelVerificationCode`.
+     * 
+ */ + public com.google.monitoring.v3.NotificationChannel verifyNotificationChannel( + com.google.monitoring.v3.VerifyNotificationChannelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getVerifyNotificationChannelMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * The Notification Channel API provides access to configuration that
+   * controls how messages related to incidents are sent.
+   * 
+ */ + public static final class NotificationChannelServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private NotificationChannelServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected NotificationChannelServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new NotificationChannelServiceFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists the descriptors for supported channel types. The use of descriptors
+     * makes it possible for new channel types to be dynamically added.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse> + listNotificationChannelDescriptors( + com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListNotificationChannelDescriptorsMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Gets a single channel descriptor. The descriptor indicates which fields
+     * are expected / permitted for a notification channel of the given type.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.monitoring.v3.NotificationChannelDescriptor> + getNotificationChannelDescriptor( + com.google.monitoring.v3.GetNotificationChannelDescriptorRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetNotificationChannelDescriptorMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Lists the notification channels that have been created for the project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.monitoring.v3.ListNotificationChannelsResponse> + listNotificationChannels(com.google.monitoring.v3.ListNotificationChannelsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListNotificationChannelsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a single notification channel. The channel includes the relevant
+     * configuration details with which the channel was created. However, the
+     * response may truncate or omit passwords, API keys, or other private key
+     * matter and thus the response may not be 100% identical to the information
+     * that was supplied in the call to the create method.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.monitoring.v3.NotificationChannel> + getNotificationChannel(com.google.monitoring.v3.GetNotificationChannelRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetNotificationChannelMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new notification channel, representing a single notification
+     * endpoint such as an email address, SMS number, or PagerDuty service.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.monitoring.v3.NotificationChannel> + createNotificationChannel( + com.google.monitoring.v3.CreateNotificationChannelRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateNotificationChannelMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a notification channel. Fields not specified in the field mask
+     * remain unchanged.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.monitoring.v3.NotificationChannel> + updateNotificationChannel( + com.google.monitoring.v3.UpdateNotificationChannelRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateNotificationChannelMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a notification channel.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteNotificationChannel( + com.google.monitoring.v3.DeleteNotificationChannelRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteNotificationChannelMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Causes a verification code to be delivered to the channel. The code
+     * can then be supplied in `VerifyNotificationChannel` to verify the channel.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + sendNotificationChannelVerificationCode( + com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel() + .newCall(getSendNotificationChannelVerificationCodeMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Requests a verification code for an already verified channel that can then
+     * be used in a call to VerifyNotificationChannel() on a different channel
+     * with an equivalent identity in the same or in a different project. This
+     * makes it possible to copy a channel between projects without requiring
+     * manual reverification of the channel. If the channel is not in the
+     * verified state, this method will fail (in other words, this may only be
+     * used if the SendNotificationChannelVerificationCode and
+     * VerifyNotificationChannel paths have already been used to put the given
+     * channel into the verified state).
+     * There is no guarantee that the verification codes returned by this method
+     * will be of a similar structure or form as the ones that are delivered
+     * to the channel via SendNotificationChannelVerificationCode; while
+     * VerifyNotificationChannel() will recognize both the codes delivered via
+     * SendNotificationChannelVerificationCode() and returned from
+     * GetNotificationChannelVerificationCode(), it is typically the case that
+     * the verification codes delivered via
+     * SendNotificationChannelVerificationCode() will be shorter and also
+     * have a shorter expiration (e.g. codes such as "G-123456") whereas
+     * GetVerificationCode() will typically return a much longer, websafe base
+     * 64 encoded string that has a longer expiration time.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse> + getNotificationChannelVerificationCode( + com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetNotificationChannelVerificationCodeMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Verifies a `NotificationChannel` by proving receipt of the code
+     * delivered to the channel as a result of calling
+     * `SendNotificationChannelVerificationCode`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.monitoring.v3.NotificationChannel> + verifyNotificationChannel( + com.google.monitoring.v3.VerifyNotificationChannelRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getVerifyNotificationChannelMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_NOTIFICATION_CHANNEL_DESCRIPTORS = 0; + private static final int METHODID_GET_NOTIFICATION_CHANNEL_DESCRIPTOR = 1; + private static final int METHODID_LIST_NOTIFICATION_CHANNELS = 2; + private static final int METHODID_GET_NOTIFICATION_CHANNEL = 3; + private static final int METHODID_CREATE_NOTIFICATION_CHANNEL = 4; + private static final int METHODID_UPDATE_NOTIFICATION_CHANNEL = 5; + private static final int METHODID_DELETE_NOTIFICATION_CHANNEL = 6; + private static final int METHODID_SEND_NOTIFICATION_CHANNEL_VERIFICATION_CODE = 7; + private static final int METHODID_GET_NOTIFICATION_CHANNEL_VERIFICATION_CODE = 8; + private static final int METHODID_VERIFY_NOTIFICATION_CHANNEL = 9; + + 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 NotificationChannelServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(NotificationChannelServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_LIST_NOTIFICATION_CHANNEL_DESCRIPTORS: + serviceImpl.listNotificationChannelDescriptors( + (com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse>) + responseObserver); + break; + case METHODID_GET_NOTIFICATION_CHANNEL_DESCRIPTOR: + serviceImpl.getNotificationChannelDescriptor( + (com.google.monitoring.v3.GetNotificationChannelDescriptorRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_NOTIFICATION_CHANNELS: + serviceImpl.listNotificationChannels( + (com.google.monitoring.v3.ListNotificationChannelsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.monitoring.v3.ListNotificationChannelsResponse>) + responseObserver); + break; + case METHODID_GET_NOTIFICATION_CHANNEL: + serviceImpl.getNotificationChannel( + (com.google.monitoring.v3.GetNotificationChannelRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_NOTIFICATION_CHANNEL: + serviceImpl.createNotificationChannel( + (com.google.monitoring.v3.CreateNotificationChannelRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_NOTIFICATION_CHANNEL: + serviceImpl.updateNotificationChannel( + (com.google.monitoring.v3.UpdateNotificationChannelRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_NOTIFICATION_CHANNEL: + serviceImpl.deleteNotificationChannel( + (com.google.monitoring.v3.DeleteNotificationChannelRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SEND_NOTIFICATION_CHANNEL_VERIFICATION_CODE: + serviceImpl.sendNotificationChannelVerificationCode( + (com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_NOTIFICATION_CHANNEL_VERIFICATION_CODE: + serviceImpl.getNotificationChannelVerificationCode( + (com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest) request, + (io.grpc.stub.StreamObserver< + com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse>) + responseObserver); + break; + case METHODID_VERIFY_NOTIFICATION_CHANNEL: + serviceImpl.verifyNotificationChannel( + (com.google.monitoring.v3.VerifyNotificationChannelRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class NotificationChannelServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + NotificationChannelServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("NotificationChannelService"); + } + } + + private static final class NotificationChannelServiceFileDescriptorSupplier + extends NotificationChannelServiceBaseDescriptorSupplier { + NotificationChannelServiceFileDescriptorSupplier() {} + } + + private static final class NotificationChannelServiceMethodDescriptorSupplier + extends NotificationChannelServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + NotificationChannelServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (NotificationChannelServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new NotificationChannelServiceFileDescriptorSupplier()) + .addMethod(getListNotificationChannelDescriptorsMethod()) + .addMethod(getGetNotificationChannelDescriptorMethod()) + .addMethod(getListNotificationChannelsMethod()) + .addMethod(getGetNotificationChannelMethod()) + .addMethod(getCreateNotificationChannelMethod()) + .addMethod(getUpdateNotificationChannelMethod()) + .addMethod(getDeleteNotificationChannelMethod()) + .addMethod(getSendNotificationChannelVerificationCodeMethod()) + .addMethod(getGetNotificationChannelVerificationCodeMethod()) + .addMethod(getVerifyNotificationChannelMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryServiceGrpc.java b/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryServiceGrpc.java similarity index 52% rename from owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryServiceGrpc.java rename to grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryServiceGrpc.java index 8607db61..4b6e6d4c 100644 --- a/owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryServiceGrpc.java +++ b/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryServiceGrpc.java @@ -1,8 +1,25 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.monitoring.v3; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *
  * The QueryService API is used to manage time series data in Stackdriver
  * Monitoring. Time series data is a collection of data points that describes
@@ -20,154 +37,183 @@ private QueryServiceGrpc() {}
   public static final String SERVICE_NAME = "google.monitoring.v3.QueryService";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor getQueryTimeSeriesMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.monitoring.v3.QueryTimeSeriesRequest,
+          com.google.monitoring.v3.QueryTimeSeriesResponse>
+      getQueryTimeSeriesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "QueryTimeSeries",
       requestType = com.google.monitoring.v3.QueryTimeSeriesRequest.class,
       responseType = com.google.monitoring.v3.QueryTimeSeriesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getQueryTimeSeriesMethod() {
-    io.grpc.MethodDescriptor getQueryTimeSeriesMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.monitoring.v3.QueryTimeSeriesRequest,
+          com.google.monitoring.v3.QueryTimeSeriesResponse>
+      getQueryTimeSeriesMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.monitoring.v3.QueryTimeSeriesRequest,
+            com.google.monitoring.v3.QueryTimeSeriesResponse>
+        getQueryTimeSeriesMethod;
     if ((getQueryTimeSeriesMethod = QueryServiceGrpc.getQueryTimeSeriesMethod) == null) {
       synchronized (QueryServiceGrpc.class) {
         if ((getQueryTimeSeriesMethod = QueryServiceGrpc.getQueryTimeSeriesMethod) == null) {
-          QueryServiceGrpc.getQueryTimeSeriesMethod = getQueryTimeSeriesMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "QueryTimeSeries"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.monitoring.v3.QueryTimeSeriesRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.monitoring.v3.QueryTimeSeriesResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new QueryServiceMethodDescriptorSupplier("QueryTimeSeries"))
-              .build();
+          QueryServiceGrpc.getQueryTimeSeriesMethod =
+              getQueryTimeSeriesMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "QueryTimeSeries"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.monitoring.v3.QueryTimeSeriesRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.monitoring.v3.QueryTimeSeriesResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new QueryServiceMethodDescriptorSupplier("QueryTimeSeries"))
+                      .build();
         }
       }
     }
     return getQueryTimeSeriesMethod;
   }
 
-  /**
-   * 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 QueryServiceStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public QueryServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new QueryServiceStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public QueryServiceStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new QueryServiceStub(channel, callOptions);
+          }
+        };
     return QueryServiceStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static QueryServiceBlockingStub newBlockingStub(
-      io.grpc.Channel channel) {
+  public static QueryServiceBlockingStub newBlockingStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public QueryServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new QueryServiceBlockingStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public QueryServiceBlockingStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new QueryServiceBlockingStub(channel, callOptions);
+          }
+        };
     return QueryServiceBlockingStub.newStub(factory, channel);
   }
 
-  /**
-   * Creates a new ListenableFuture-style stub that supports unary calls on the service
-   */
-  public static QueryServiceFutureStub newFutureStub(
-      io.grpc.Channel channel) {
+  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
+  public static QueryServiceFutureStub newFutureStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public QueryServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new QueryServiceFutureStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public QueryServiceFutureStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new QueryServiceFutureStub(channel, callOptions);
+          }
+        };
     return QueryServiceFutureStub.newStub(factory, channel);
   }
 
   /**
+   *
+   *
    * 
    * The QueryService API is used to manage time series data in Stackdriver
    * Monitoring. Time series data is a collection of data points that describes
    * the time-varying values of a metric.
    * 
*/ - public static abstract class QueryServiceImplBase implements io.grpc.BindableService { + public abstract static class QueryServiceImplBase implements io.grpc.BindableService { /** + * + * *
      * Queries time series using Monitoring Query Language. This method does not require a Workspace.
      * 
*/ - public void queryTimeSeries(com.google.monitoring.v3.QueryTimeSeriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getQueryTimeSeriesMethod(), responseObserver); + public void queryTimeSeries( + com.google.monitoring.v3.QueryTimeSeriesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getQueryTimeSeriesMethod(), 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( - getQueryTimeSeriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.QueryTimeSeriesRequest, - com.google.monitoring.v3.QueryTimeSeriesResponse>( - this, METHODID_QUERY_TIME_SERIES))) + getQueryTimeSeriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.QueryTimeSeriesRequest, + com.google.monitoring.v3.QueryTimeSeriesResponse>( + this, METHODID_QUERY_TIME_SERIES))) .build(); } } /** + * + * *
    * The QueryService API is used to manage time series data in Stackdriver
    * Monitoring. Time series data is a collection of data points that describes
    * the time-varying values of a metric.
    * 
*/ - public static final class QueryServiceStub extends io.grpc.stub.AbstractAsyncStub { - private QueryServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class QueryServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private QueryServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected QueryServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected QueryServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new QueryServiceStub(channel, callOptions); } /** + * + * *
      * Queries time series using Monitoring Query Language. This method does not require a Workspace.
      * 
*/ - public void queryTimeSeries(com.google.monitoring.v3.QueryTimeSeriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void queryTimeSeries( + com.google.monitoring.v3.QueryTimeSeriesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getQueryTimeSeriesMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getQueryTimeSeriesMethod(), getCallOptions()), + request, + responseObserver); } } /** + * + * *
    * The QueryService API is used to manage time series data in Stackdriver
    * Monitoring. Time series data is a collection of data points that describes
    * the time-varying values of a metric.
    * 
*/ - public static final class QueryServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private QueryServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class QueryServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private QueryServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -178,26 +224,31 @@ protected QueryServiceBlockingStub build( } /** + * + * *
      * Queries time series using Monitoring Query Language. This method does not require a Workspace.
      * 
*/ - public com.google.monitoring.v3.QueryTimeSeriesResponse queryTimeSeries(com.google.monitoring.v3.QueryTimeSeriesRequest request) { + public com.google.monitoring.v3.QueryTimeSeriesResponse queryTimeSeries( + com.google.monitoring.v3.QueryTimeSeriesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getQueryTimeSeriesMethod(), getCallOptions(), request); } } /** + * + * *
    * The QueryService API is used to manage time series data in Stackdriver
    * Monitoring. Time series data is a collection of data points that describes
    * the time-varying values of a metric.
    * 
*/ - public static final class QueryServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private QueryServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class QueryServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private QueryServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -208,12 +259,15 @@ protected QueryServiceFutureStub build( } /** + * + * *
      * Queries time series using Monitoring Query Language. This method does not require a Workspace.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture queryTimeSeries( - com.google.monitoring.v3.QueryTimeSeriesRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.monitoring.v3.QueryTimeSeriesResponse> + queryTimeSeries(com.google.monitoring.v3.QueryTimeSeriesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getQueryTimeSeriesMethod(), getCallOptions()), request); } @@ -221,11 +275,11 @@ public com.google.common.util.concurrent.ListenableFuture 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 QueryServiceImplBase serviceImpl; private final int methodId; @@ -239,8 +293,10 @@ private static final class MethodHandlers implements public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_QUERY_TIME_SERIES: - serviceImpl.queryTimeSeries((com.google.monitoring.v3.QueryTimeSeriesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.queryTimeSeries( + (com.google.monitoring.v3.QueryTimeSeriesRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; default: throw new AssertionError(); @@ -258,8 +314,9 @@ public io.grpc.stub.StreamObserver invoke( } } - private static abstract class QueryServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private abstract static class QueryServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { QueryServiceBaseDescriptorSupplier() {} @java.lang.Override @@ -301,10 +358,12 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (QueryServiceGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new QueryServiceFileDescriptorSupplier()) - .addMethod(getQueryTimeSeriesMethod()) - .build(); + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new QueryServiceFileDescriptorSupplier()) + .addMethod(getQueryTimeSeriesMethod()) + .build(); } } } diff --git a/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringServiceGrpc.java b/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringServiceGrpc.java new file mode 100644 index 00000000..7d42c9f9 --- /dev/null +++ b/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringServiceGrpc.java @@ -0,0 +1,1449 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.monitoring.v3; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * The Cloud Monitoring Service-Oriented Monitoring API has endpoints for
+ * managing and querying aspects of a workspace's services. These include the
+ * `Service`'s monitored resources, its Service-Level Objectives, and a taxonomy
+ * of categorized Health Metrics.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/monitoring/v3/service_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class ServiceMonitoringServiceGrpc { + + private ServiceMonitoringServiceGrpc() {} + + public static final String SERVICE_NAME = "google.monitoring.v3.ServiceMonitoringService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.monitoring.v3.CreateServiceRequest, com.google.monitoring.v3.Service> + getCreateServiceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateService", + requestType = com.google.monitoring.v3.CreateServiceRequest.class, + responseType = com.google.monitoring.v3.Service.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.monitoring.v3.CreateServiceRequest, com.google.monitoring.v3.Service> + getCreateServiceMethod() { + io.grpc.MethodDescriptor< + com.google.monitoring.v3.CreateServiceRequest, com.google.monitoring.v3.Service> + getCreateServiceMethod; + if ((getCreateServiceMethod = ServiceMonitoringServiceGrpc.getCreateServiceMethod) == null) { + synchronized (ServiceMonitoringServiceGrpc.class) { + if ((getCreateServiceMethod = ServiceMonitoringServiceGrpc.getCreateServiceMethod) + == null) { + ServiceMonitoringServiceGrpc.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.monitoring.v3.CreateServiceRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.Service.getDefaultInstance())) + .setSchemaDescriptor( + new ServiceMonitoringServiceMethodDescriptorSupplier("CreateService")) + .build(); + } + } + } + return getCreateServiceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.monitoring.v3.GetServiceRequest, com.google.monitoring.v3.Service> + getGetServiceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetService", + requestType = com.google.monitoring.v3.GetServiceRequest.class, + responseType = com.google.monitoring.v3.Service.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.monitoring.v3.GetServiceRequest, com.google.monitoring.v3.Service> + getGetServiceMethod() { + io.grpc.MethodDescriptor< + com.google.monitoring.v3.GetServiceRequest, com.google.monitoring.v3.Service> + getGetServiceMethod; + if ((getGetServiceMethod = ServiceMonitoringServiceGrpc.getGetServiceMethod) == null) { + synchronized (ServiceMonitoringServiceGrpc.class) { + if ((getGetServiceMethod = ServiceMonitoringServiceGrpc.getGetServiceMethod) == null) { + ServiceMonitoringServiceGrpc.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.monitoring.v3.GetServiceRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.Service.getDefaultInstance())) + .setSchemaDescriptor( + new ServiceMonitoringServiceMethodDescriptorSupplier("GetService")) + .build(); + } + } + } + return getGetServiceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.monitoring.v3.ListServicesRequest, + com.google.monitoring.v3.ListServicesResponse> + getListServicesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListServices", + requestType = com.google.monitoring.v3.ListServicesRequest.class, + responseType = com.google.monitoring.v3.ListServicesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.monitoring.v3.ListServicesRequest, + com.google.monitoring.v3.ListServicesResponse> + getListServicesMethod() { + io.grpc.MethodDescriptor< + com.google.monitoring.v3.ListServicesRequest, + com.google.monitoring.v3.ListServicesResponse> + getListServicesMethod; + if ((getListServicesMethod = ServiceMonitoringServiceGrpc.getListServicesMethod) == null) { + synchronized (ServiceMonitoringServiceGrpc.class) { + if ((getListServicesMethod = ServiceMonitoringServiceGrpc.getListServicesMethod) == null) { + ServiceMonitoringServiceGrpc.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.monitoring.v3.ListServicesRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.ListServicesResponse.getDefaultInstance())) + .setSchemaDescriptor( + new ServiceMonitoringServiceMethodDescriptorSupplier("ListServices")) + .build(); + } + } + } + return getListServicesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.monitoring.v3.UpdateServiceRequest, com.google.monitoring.v3.Service> + getUpdateServiceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateService", + requestType = com.google.monitoring.v3.UpdateServiceRequest.class, + responseType = com.google.monitoring.v3.Service.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.monitoring.v3.UpdateServiceRequest, com.google.monitoring.v3.Service> + getUpdateServiceMethod() { + io.grpc.MethodDescriptor< + com.google.monitoring.v3.UpdateServiceRequest, com.google.monitoring.v3.Service> + getUpdateServiceMethod; + if ((getUpdateServiceMethod = ServiceMonitoringServiceGrpc.getUpdateServiceMethod) == null) { + synchronized (ServiceMonitoringServiceGrpc.class) { + if ((getUpdateServiceMethod = ServiceMonitoringServiceGrpc.getUpdateServiceMethod) + == null) { + ServiceMonitoringServiceGrpc.getUpdateServiceMethod = + getUpdateServiceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateService")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.UpdateServiceRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.Service.getDefaultInstance())) + .setSchemaDescriptor( + new ServiceMonitoringServiceMethodDescriptorSupplier("UpdateService")) + .build(); + } + } + } + return getUpdateServiceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.monitoring.v3.DeleteServiceRequest, com.google.protobuf.Empty> + getDeleteServiceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteService", + requestType = com.google.monitoring.v3.DeleteServiceRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.monitoring.v3.DeleteServiceRequest, com.google.protobuf.Empty> + getDeleteServiceMethod() { + io.grpc.MethodDescriptor< + com.google.monitoring.v3.DeleteServiceRequest, com.google.protobuf.Empty> + getDeleteServiceMethod; + if ((getDeleteServiceMethod = ServiceMonitoringServiceGrpc.getDeleteServiceMethod) == null) { + synchronized (ServiceMonitoringServiceGrpc.class) { + if ((getDeleteServiceMethod = ServiceMonitoringServiceGrpc.getDeleteServiceMethod) + == null) { + ServiceMonitoringServiceGrpc.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.monitoring.v3.DeleteServiceRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new ServiceMonitoringServiceMethodDescriptorSupplier("DeleteService")) + .build(); + } + } + } + return getDeleteServiceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.monitoring.v3.CreateServiceLevelObjectiveRequest, + com.google.monitoring.v3.ServiceLevelObjective> + getCreateServiceLevelObjectiveMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateServiceLevelObjective", + requestType = com.google.monitoring.v3.CreateServiceLevelObjectiveRequest.class, + responseType = com.google.monitoring.v3.ServiceLevelObjective.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.monitoring.v3.CreateServiceLevelObjectiveRequest, + com.google.monitoring.v3.ServiceLevelObjective> + getCreateServiceLevelObjectiveMethod() { + io.grpc.MethodDescriptor< + com.google.monitoring.v3.CreateServiceLevelObjectiveRequest, + com.google.monitoring.v3.ServiceLevelObjective> + getCreateServiceLevelObjectiveMethod; + if ((getCreateServiceLevelObjectiveMethod = + ServiceMonitoringServiceGrpc.getCreateServiceLevelObjectiveMethod) + == null) { + synchronized (ServiceMonitoringServiceGrpc.class) { + if ((getCreateServiceLevelObjectiveMethod = + ServiceMonitoringServiceGrpc.getCreateServiceLevelObjectiveMethod) + == null) { + ServiceMonitoringServiceGrpc.getCreateServiceLevelObjectiveMethod = + getCreateServiceLevelObjectiveMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateServiceLevelObjective")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.CreateServiceLevelObjectiveRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance())) + .setSchemaDescriptor( + new ServiceMonitoringServiceMethodDescriptorSupplier( + "CreateServiceLevelObjective")) + .build(); + } + } + } + return getCreateServiceLevelObjectiveMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.monitoring.v3.GetServiceLevelObjectiveRequest, + com.google.monitoring.v3.ServiceLevelObjective> + getGetServiceLevelObjectiveMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetServiceLevelObjective", + requestType = com.google.monitoring.v3.GetServiceLevelObjectiveRequest.class, + responseType = com.google.monitoring.v3.ServiceLevelObjective.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.monitoring.v3.GetServiceLevelObjectiveRequest, + com.google.monitoring.v3.ServiceLevelObjective> + getGetServiceLevelObjectiveMethod() { + io.grpc.MethodDescriptor< + com.google.monitoring.v3.GetServiceLevelObjectiveRequest, + com.google.monitoring.v3.ServiceLevelObjective> + getGetServiceLevelObjectiveMethod; + if ((getGetServiceLevelObjectiveMethod = + ServiceMonitoringServiceGrpc.getGetServiceLevelObjectiveMethod) + == null) { + synchronized (ServiceMonitoringServiceGrpc.class) { + if ((getGetServiceLevelObjectiveMethod = + ServiceMonitoringServiceGrpc.getGetServiceLevelObjectiveMethod) + == null) { + ServiceMonitoringServiceGrpc.getGetServiceLevelObjectiveMethod = + getGetServiceLevelObjectiveMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetServiceLevelObjective")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.GetServiceLevelObjectiveRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance())) + .setSchemaDescriptor( + new ServiceMonitoringServiceMethodDescriptorSupplier( + "GetServiceLevelObjective")) + .build(); + } + } + } + return getGetServiceLevelObjectiveMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.monitoring.v3.ListServiceLevelObjectivesRequest, + com.google.monitoring.v3.ListServiceLevelObjectivesResponse> + getListServiceLevelObjectivesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListServiceLevelObjectives", + requestType = com.google.monitoring.v3.ListServiceLevelObjectivesRequest.class, + responseType = com.google.monitoring.v3.ListServiceLevelObjectivesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.monitoring.v3.ListServiceLevelObjectivesRequest, + com.google.monitoring.v3.ListServiceLevelObjectivesResponse> + getListServiceLevelObjectivesMethod() { + io.grpc.MethodDescriptor< + com.google.monitoring.v3.ListServiceLevelObjectivesRequest, + com.google.monitoring.v3.ListServiceLevelObjectivesResponse> + getListServiceLevelObjectivesMethod; + if ((getListServiceLevelObjectivesMethod = + ServiceMonitoringServiceGrpc.getListServiceLevelObjectivesMethod) + == null) { + synchronized (ServiceMonitoringServiceGrpc.class) { + if ((getListServiceLevelObjectivesMethod = + ServiceMonitoringServiceGrpc.getListServiceLevelObjectivesMethod) + == null) { + ServiceMonitoringServiceGrpc.getListServiceLevelObjectivesMethod = + getListServiceLevelObjectivesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListServiceLevelObjectives")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.ListServiceLevelObjectivesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.ListServiceLevelObjectivesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ServiceMonitoringServiceMethodDescriptorSupplier( + "ListServiceLevelObjectives")) + .build(); + } + } + } + return getListServiceLevelObjectivesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest, + com.google.monitoring.v3.ServiceLevelObjective> + getUpdateServiceLevelObjectiveMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateServiceLevelObjective", + requestType = com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest.class, + responseType = com.google.monitoring.v3.ServiceLevelObjective.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest, + com.google.monitoring.v3.ServiceLevelObjective> + getUpdateServiceLevelObjectiveMethod() { + io.grpc.MethodDescriptor< + com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest, + com.google.monitoring.v3.ServiceLevelObjective> + getUpdateServiceLevelObjectiveMethod; + if ((getUpdateServiceLevelObjectiveMethod = + ServiceMonitoringServiceGrpc.getUpdateServiceLevelObjectiveMethod) + == null) { + synchronized (ServiceMonitoringServiceGrpc.class) { + if ((getUpdateServiceLevelObjectiveMethod = + ServiceMonitoringServiceGrpc.getUpdateServiceLevelObjectiveMethod) + == null) { + ServiceMonitoringServiceGrpc.getUpdateServiceLevelObjectiveMethod = + getUpdateServiceLevelObjectiveMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateServiceLevelObjective")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance())) + .setSchemaDescriptor( + new ServiceMonitoringServiceMethodDescriptorSupplier( + "UpdateServiceLevelObjective")) + .build(); + } + } + } + return getUpdateServiceLevelObjectiveMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest, com.google.protobuf.Empty> + getDeleteServiceLevelObjectiveMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteServiceLevelObjective", + requestType = com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest, com.google.protobuf.Empty> + getDeleteServiceLevelObjectiveMethod() { + io.grpc.MethodDescriptor< + com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest, com.google.protobuf.Empty> + getDeleteServiceLevelObjectiveMethod; + if ((getDeleteServiceLevelObjectiveMethod = + ServiceMonitoringServiceGrpc.getDeleteServiceLevelObjectiveMethod) + == null) { + synchronized (ServiceMonitoringServiceGrpc.class) { + if ((getDeleteServiceLevelObjectiveMethod = + ServiceMonitoringServiceGrpc.getDeleteServiceLevelObjectiveMethod) + == null) { + ServiceMonitoringServiceGrpc.getDeleteServiceLevelObjectiveMethod = + getDeleteServiceLevelObjectiveMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteServiceLevelObjective")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new ServiceMonitoringServiceMethodDescriptorSupplier( + "DeleteServiceLevelObjective")) + .build(); + } + } + } + return getDeleteServiceLevelObjectiveMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static ServiceMonitoringServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ServiceMonitoringServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ServiceMonitoringServiceStub(channel, callOptions); + } + }; + return ServiceMonitoringServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static ServiceMonitoringServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ServiceMonitoringServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ServiceMonitoringServiceBlockingStub(channel, callOptions); + } + }; + return ServiceMonitoringServiceBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static ServiceMonitoringServiceFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ServiceMonitoringServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ServiceMonitoringServiceFutureStub(channel, callOptions); + } + }; + return ServiceMonitoringServiceFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * The Cloud Monitoring Service-Oriented Monitoring API has endpoints for
+   * managing and querying aspects of a workspace's services. These include the
+   * `Service`'s monitored resources, its Service-Level Objectives, and a taxonomy
+   * of categorized Health Metrics.
+   * 
+ */ + public abstract static class ServiceMonitoringServiceImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Create a `Service`.
+     * 
+ */ + public void createService( + com.google.monitoring.v3.CreateServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateServiceMethod(), responseObserver); + } + + /** + * + * + *
+     * Get the named `Service`.
+     * 
+ */ + public void getService( + com.google.monitoring.v3.GetServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetServiceMethod(), responseObserver); + } + + /** + * + * + *
+     * List `Service`s for this workspace.
+     * 
+ */ + public void listServices( + com.google.monitoring.v3.ListServicesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListServicesMethod(), responseObserver); + } + + /** + * + * + *
+     * Update this `Service`.
+     * 
+ */ + public void updateService( + com.google.monitoring.v3.UpdateServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateServiceMethod(), responseObserver); + } + + /** + * + * + *
+     * Soft delete this `Service`.
+     * 
+ */ + public void deleteService( + com.google.monitoring.v3.DeleteServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteServiceMethod(), responseObserver); + } + + /** + * + * + *
+     * Create a `ServiceLevelObjective` for the given `Service`.
+     * 
+ */ + public void createServiceLevelObjective( + com.google.monitoring.v3.CreateServiceLevelObjectiveRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateServiceLevelObjectiveMethod(), responseObserver); + } + + /** + * + * + *
+     * Get a `ServiceLevelObjective` by name.
+     * 
+ */ + public void getServiceLevelObjective( + com.google.monitoring.v3.GetServiceLevelObjectiveRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetServiceLevelObjectiveMethod(), responseObserver); + } + + /** + * + * + *
+     * List the `ServiceLevelObjective`s for the given `Service`.
+     * 
+ */ + public void listServiceLevelObjectives( + com.google.monitoring.v3.ListServiceLevelObjectivesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListServiceLevelObjectivesMethod(), responseObserver); + } + + /** + * + * + *
+     * Update the given `ServiceLevelObjective`.
+     * 
+ */ + public void updateServiceLevelObjective( + com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateServiceLevelObjectiveMethod(), responseObserver); + } + + /** + * + * + *
+     * Delete the given `ServiceLevelObjective`.
+     * 
+ */ + public void deleteServiceLevelObjective( + com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteServiceLevelObjectiveMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateServiceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.CreateServiceRequest, + com.google.monitoring.v3.Service>(this, METHODID_CREATE_SERVICE))) + .addMethod( + getGetServiceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.GetServiceRequest, com.google.monitoring.v3.Service>( + this, METHODID_GET_SERVICE))) + .addMethod( + getListServicesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.ListServicesRequest, + com.google.monitoring.v3.ListServicesResponse>(this, METHODID_LIST_SERVICES))) + .addMethod( + getUpdateServiceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.UpdateServiceRequest, + com.google.monitoring.v3.Service>(this, METHODID_UPDATE_SERVICE))) + .addMethod( + getDeleteServiceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.DeleteServiceRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_SERVICE))) + .addMethod( + getCreateServiceLevelObjectiveMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.CreateServiceLevelObjectiveRequest, + com.google.monitoring.v3.ServiceLevelObjective>( + this, METHODID_CREATE_SERVICE_LEVEL_OBJECTIVE))) + .addMethod( + getGetServiceLevelObjectiveMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.GetServiceLevelObjectiveRequest, + com.google.monitoring.v3.ServiceLevelObjective>( + this, METHODID_GET_SERVICE_LEVEL_OBJECTIVE))) + .addMethod( + getListServiceLevelObjectivesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.ListServiceLevelObjectivesRequest, + com.google.monitoring.v3.ListServiceLevelObjectivesResponse>( + this, METHODID_LIST_SERVICE_LEVEL_OBJECTIVES))) + .addMethod( + getUpdateServiceLevelObjectiveMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest, + com.google.monitoring.v3.ServiceLevelObjective>( + this, METHODID_UPDATE_SERVICE_LEVEL_OBJECTIVE))) + .addMethod( + getDeleteServiceLevelObjectiveMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_SERVICE_LEVEL_OBJECTIVE))) + .build(); + } + } + + /** + * + * + *
+   * The Cloud Monitoring Service-Oriented Monitoring API has endpoints for
+   * managing and querying aspects of a workspace's services. These include the
+   * `Service`'s monitored resources, its Service-Level Objectives, and a taxonomy
+   * of categorized Health Metrics.
+   * 
+ */ + public static final class ServiceMonitoringServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private ServiceMonitoringServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ServiceMonitoringServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ServiceMonitoringServiceStub(channel, callOptions); + } + + /** + * + * + *
+     * Create a `Service`.
+     * 
+ */ + public void createService( + com.google.monitoring.v3.CreateServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateServiceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Get the named `Service`.
+     * 
+ */ + public void getService( + com.google.monitoring.v3.GetServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetServiceMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * List `Service`s for this workspace.
+     * 
+ */ + public void listServices( + com.google.monitoring.v3.ListServicesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListServicesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Update this `Service`.
+     * 
+ */ + public void updateService( + com.google.monitoring.v3.UpdateServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateServiceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Soft delete this `Service`.
+     * 
+ */ + public void deleteService( + com.google.monitoring.v3.DeleteServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteServiceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Create a `ServiceLevelObjective` for the given `Service`.
+     * 
+ */ + public void createServiceLevelObjective( + com.google.monitoring.v3.CreateServiceLevelObjectiveRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateServiceLevelObjectiveMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Get a `ServiceLevelObjective` by name.
+     * 
+ */ + public void getServiceLevelObjective( + com.google.monitoring.v3.GetServiceLevelObjectiveRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetServiceLevelObjectiveMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * List the `ServiceLevelObjective`s for the given `Service`.
+     * 
+ */ + public void listServiceLevelObjectives( + com.google.monitoring.v3.ListServiceLevelObjectivesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListServiceLevelObjectivesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Update the given `ServiceLevelObjective`.
+     * 
+ */ + public void updateServiceLevelObjective( + com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateServiceLevelObjectiveMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Delete the given `ServiceLevelObjective`.
+     * 
+ */ + public void deleteServiceLevelObjective( + com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteServiceLevelObjectiveMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * The Cloud Monitoring Service-Oriented Monitoring API has endpoints for
+   * managing and querying aspects of a workspace's services. These include the
+   * `Service`'s monitored resources, its Service-Level Objectives, and a taxonomy
+   * of categorized Health Metrics.
+   * 
+ */ + public static final class ServiceMonitoringServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private ServiceMonitoringServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ServiceMonitoringServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ServiceMonitoringServiceBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Create a `Service`.
+     * 
+ */ + public com.google.monitoring.v3.Service createService( + com.google.monitoring.v3.CreateServiceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateServiceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Get the named `Service`.
+     * 
+ */ + public com.google.monitoring.v3.Service getService( + com.google.monitoring.v3.GetServiceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetServiceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * List `Service`s for this workspace.
+     * 
+ */ + public com.google.monitoring.v3.ListServicesResponse listServices( + com.google.monitoring.v3.ListServicesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListServicesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Update this `Service`.
+     * 
+ */ + public com.google.monitoring.v3.Service updateService( + com.google.monitoring.v3.UpdateServiceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateServiceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Soft delete this `Service`.
+     * 
+ */ + public com.google.protobuf.Empty deleteService( + com.google.monitoring.v3.DeleteServiceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteServiceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Create a `ServiceLevelObjective` for the given `Service`.
+     * 
+ */ + public com.google.monitoring.v3.ServiceLevelObjective createServiceLevelObjective( + com.google.monitoring.v3.CreateServiceLevelObjectiveRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateServiceLevelObjectiveMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Get a `ServiceLevelObjective` by name.
+     * 
+ */ + public com.google.monitoring.v3.ServiceLevelObjective getServiceLevelObjective( + com.google.monitoring.v3.GetServiceLevelObjectiveRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetServiceLevelObjectiveMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * List the `ServiceLevelObjective`s for the given `Service`.
+     * 
+ */ + public com.google.monitoring.v3.ListServiceLevelObjectivesResponse listServiceLevelObjectives( + com.google.monitoring.v3.ListServiceLevelObjectivesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListServiceLevelObjectivesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Update the given `ServiceLevelObjective`.
+     * 
+ */ + public com.google.monitoring.v3.ServiceLevelObjective updateServiceLevelObjective( + com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateServiceLevelObjectiveMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Delete the given `ServiceLevelObjective`.
+     * 
+ */ + public com.google.protobuf.Empty deleteServiceLevelObjective( + com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteServiceLevelObjectiveMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * The Cloud Monitoring Service-Oriented Monitoring API has endpoints for
+   * managing and querying aspects of a workspace's services. These include the
+   * `Service`'s monitored resources, its Service-Level Objectives, and a taxonomy
+   * of categorized Health Metrics.
+   * 
+ */ + public static final class ServiceMonitoringServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private ServiceMonitoringServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ServiceMonitoringServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ServiceMonitoringServiceFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Create a `Service`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createService(com.google.monitoring.v3.CreateServiceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateServiceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Get the named `Service`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getService(com.google.monitoring.v3.GetServiceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetServiceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * List `Service`s for this workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.monitoring.v3.ListServicesResponse> + listServices(com.google.monitoring.v3.ListServicesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListServicesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Update this `Service`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateService(com.google.monitoring.v3.UpdateServiceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateServiceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Soft delete this `Service`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteService(com.google.monitoring.v3.DeleteServiceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteServiceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Create a `ServiceLevelObjective` for the given `Service`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.monitoring.v3.ServiceLevelObjective> + createServiceLevelObjective( + com.google.monitoring.v3.CreateServiceLevelObjectiveRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateServiceLevelObjectiveMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Get a `ServiceLevelObjective` by name.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.monitoring.v3.ServiceLevelObjective> + getServiceLevelObjective(com.google.monitoring.v3.GetServiceLevelObjectiveRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetServiceLevelObjectiveMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * List the `ServiceLevelObjective`s for the given `Service`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.monitoring.v3.ListServiceLevelObjectivesResponse> + listServiceLevelObjectives( + com.google.monitoring.v3.ListServiceLevelObjectivesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListServiceLevelObjectivesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Update the given `ServiceLevelObjective`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.monitoring.v3.ServiceLevelObjective> + updateServiceLevelObjective( + com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateServiceLevelObjectiveMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Delete the given `ServiceLevelObjective`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteServiceLevelObjective( + com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteServiceLevelObjectiveMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_SERVICE = 0; + private static final int METHODID_GET_SERVICE = 1; + private static final int METHODID_LIST_SERVICES = 2; + private static final int METHODID_UPDATE_SERVICE = 3; + private static final int METHODID_DELETE_SERVICE = 4; + private static final int METHODID_CREATE_SERVICE_LEVEL_OBJECTIVE = 5; + private static final int METHODID_GET_SERVICE_LEVEL_OBJECTIVE = 6; + private static final int METHODID_LIST_SERVICE_LEVEL_OBJECTIVES = 7; + private static final int METHODID_UPDATE_SERVICE_LEVEL_OBJECTIVE = 8; + private static final int METHODID_DELETE_SERVICE_LEVEL_OBJECTIVE = 9; + + 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 ServiceMonitoringServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ServiceMonitoringServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_SERVICE: + serviceImpl.createService( + (com.google.monitoring.v3.CreateServiceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_SERVICE: + serviceImpl.getService( + (com.google.monitoring.v3.GetServiceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_SERVICES: + serviceImpl.listServices( + (com.google.monitoring.v3.ListServicesRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_SERVICE: + serviceImpl.updateService( + (com.google.monitoring.v3.UpdateServiceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_SERVICE: + serviceImpl.deleteService( + (com.google.monitoring.v3.DeleteServiceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_SERVICE_LEVEL_OBJECTIVE: + serviceImpl.createServiceLevelObjective( + (com.google.monitoring.v3.CreateServiceLevelObjectiveRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_SERVICE_LEVEL_OBJECTIVE: + serviceImpl.getServiceLevelObjective( + (com.google.monitoring.v3.GetServiceLevelObjectiveRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_SERVICE_LEVEL_OBJECTIVES: + serviceImpl.listServiceLevelObjectives( + (com.google.monitoring.v3.ListServiceLevelObjectivesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.monitoring.v3.ListServiceLevelObjectivesResponse>) + responseObserver); + break; + case METHODID_UPDATE_SERVICE_LEVEL_OBJECTIVE: + serviceImpl.updateServiceLevelObjective( + (com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_SERVICE_LEVEL_OBJECTIVE: + serviceImpl.deleteServiceLevelObjective( + (com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class ServiceMonitoringServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + ServiceMonitoringServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("ServiceMonitoringService"); + } + } + + private static final class ServiceMonitoringServiceFileDescriptorSupplier + extends ServiceMonitoringServiceBaseDescriptorSupplier { + ServiceMonitoringServiceFileDescriptorSupplier() {} + } + + private static final class ServiceMonitoringServiceMethodDescriptorSupplier + extends ServiceMonitoringServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + ServiceMonitoringServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (ServiceMonitoringServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ServiceMonitoringServiceFileDescriptorSupplier()) + .addMethod(getCreateServiceMethod()) + .addMethod(getGetServiceMethod()) + .addMethod(getListServicesMethod()) + .addMethod(getUpdateServiceMethod()) + .addMethod(getDeleteServiceMethod()) + .addMethod(getCreateServiceLevelObjectiveMethod()) + .addMethod(getGetServiceLevelObjectiveMethod()) + .addMethod(getListServiceLevelObjectivesMethod()) + .addMethod(getUpdateServiceLevelObjectiveMethod()) + .addMethod(getDeleteServiceLevelObjectiveMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckServiceGrpc.java b/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckServiceGrpc.java new file mode 100644 index 00000000..27fc69b5 --- /dev/null +++ b/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckServiceGrpc.java @@ -0,0 +1,1032 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.monitoring.v3; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * The UptimeCheckService API is used to manage (list, create, delete, edit)
+ * Uptime check configurations in the Stackdriver Monitoring product. An Uptime
+ * check is a piece of configuration that determines which resources and
+ * services to monitor for availability. These configurations can also be
+ * configured interactively by navigating to the [Cloud Console]
+ * (http://console.cloud.google.com), selecting the appropriate project,
+ * clicking on "Monitoring" on the left-hand side to navigate to Stackdriver,
+ * and then clicking on "Uptime".
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/monitoring/v3/uptime_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class UptimeCheckServiceGrpc { + + private UptimeCheckServiceGrpc() {} + + public static final String SERVICE_NAME = "google.monitoring.v3.UptimeCheckService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.monitoring.v3.ListUptimeCheckConfigsRequest, + com.google.monitoring.v3.ListUptimeCheckConfigsResponse> + getListUptimeCheckConfigsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListUptimeCheckConfigs", + requestType = com.google.monitoring.v3.ListUptimeCheckConfigsRequest.class, + responseType = com.google.monitoring.v3.ListUptimeCheckConfigsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.monitoring.v3.ListUptimeCheckConfigsRequest, + com.google.monitoring.v3.ListUptimeCheckConfigsResponse> + getListUptimeCheckConfigsMethod() { + io.grpc.MethodDescriptor< + com.google.monitoring.v3.ListUptimeCheckConfigsRequest, + com.google.monitoring.v3.ListUptimeCheckConfigsResponse> + getListUptimeCheckConfigsMethod; + if ((getListUptimeCheckConfigsMethod = UptimeCheckServiceGrpc.getListUptimeCheckConfigsMethod) + == null) { + synchronized (UptimeCheckServiceGrpc.class) { + if ((getListUptimeCheckConfigsMethod = + UptimeCheckServiceGrpc.getListUptimeCheckConfigsMethod) + == null) { + UptimeCheckServiceGrpc.getListUptimeCheckConfigsMethod = + getListUptimeCheckConfigsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListUptimeCheckConfigs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.ListUptimeCheckConfigsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.ListUptimeCheckConfigsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new UptimeCheckServiceMethodDescriptorSupplier("ListUptimeCheckConfigs")) + .build(); + } + } + } + return getListUptimeCheckConfigsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.monitoring.v3.GetUptimeCheckConfigRequest, + com.google.monitoring.v3.UptimeCheckConfig> + getGetUptimeCheckConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetUptimeCheckConfig", + requestType = com.google.monitoring.v3.GetUptimeCheckConfigRequest.class, + responseType = com.google.monitoring.v3.UptimeCheckConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.monitoring.v3.GetUptimeCheckConfigRequest, + com.google.monitoring.v3.UptimeCheckConfig> + getGetUptimeCheckConfigMethod() { + io.grpc.MethodDescriptor< + com.google.monitoring.v3.GetUptimeCheckConfigRequest, + com.google.monitoring.v3.UptimeCheckConfig> + getGetUptimeCheckConfigMethod; + if ((getGetUptimeCheckConfigMethod = UptimeCheckServiceGrpc.getGetUptimeCheckConfigMethod) + == null) { + synchronized (UptimeCheckServiceGrpc.class) { + if ((getGetUptimeCheckConfigMethod = UptimeCheckServiceGrpc.getGetUptimeCheckConfigMethod) + == null) { + UptimeCheckServiceGrpc.getGetUptimeCheckConfigMethod = + getGetUptimeCheckConfigMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetUptimeCheckConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.GetUptimeCheckConfigRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance())) + .setSchemaDescriptor( + new UptimeCheckServiceMethodDescriptorSupplier("GetUptimeCheckConfig")) + .build(); + } + } + } + return getGetUptimeCheckConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.monitoring.v3.CreateUptimeCheckConfigRequest, + com.google.monitoring.v3.UptimeCheckConfig> + getCreateUptimeCheckConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateUptimeCheckConfig", + requestType = com.google.monitoring.v3.CreateUptimeCheckConfigRequest.class, + responseType = com.google.monitoring.v3.UptimeCheckConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.monitoring.v3.CreateUptimeCheckConfigRequest, + com.google.monitoring.v3.UptimeCheckConfig> + getCreateUptimeCheckConfigMethod() { + io.grpc.MethodDescriptor< + com.google.monitoring.v3.CreateUptimeCheckConfigRequest, + com.google.monitoring.v3.UptimeCheckConfig> + getCreateUptimeCheckConfigMethod; + if ((getCreateUptimeCheckConfigMethod = UptimeCheckServiceGrpc.getCreateUptimeCheckConfigMethod) + == null) { + synchronized (UptimeCheckServiceGrpc.class) { + if ((getCreateUptimeCheckConfigMethod = + UptimeCheckServiceGrpc.getCreateUptimeCheckConfigMethod) + == null) { + UptimeCheckServiceGrpc.getCreateUptimeCheckConfigMethod = + getCreateUptimeCheckConfigMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateUptimeCheckConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.CreateUptimeCheckConfigRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance())) + .setSchemaDescriptor( + new UptimeCheckServiceMethodDescriptorSupplier("CreateUptimeCheckConfig")) + .build(); + } + } + } + return getCreateUptimeCheckConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.monitoring.v3.UpdateUptimeCheckConfigRequest, + com.google.monitoring.v3.UptimeCheckConfig> + getUpdateUptimeCheckConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateUptimeCheckConfig", + requestType = com.google.monitoring.v3.UpdateUptimeCheckConfigRequest.class, + responseType = com.google.monitoring.v3.UptimeCheckConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.monitoring.v3.UpdateUptimeCheckConfigRequest, + com.google.monitoring.v3.UptimeCheckConfig> + getUpdateUptimeCheckConfigMethod() { + io.grpc.MethodDescriptor< + com.google.monitoring.v3.UpdateUptimeCheckConfigRequest, + com.google.monitoring.v3.UptimeCheckConfig> + getUpdateUptimeCheckConfigMethod; + if ((getUpdateUptimeCheckConfigMethod = UptimeCheckServiceGrpc.getUpdateUptimeCheckConfigMethod) + == null) { + synchronized (UptimeCheckServiceGrpc.class) { + if ((getUpdateUptimeCheckConfigMethod = + UptimeCheckServiceGrpc.getUpdateUptimeCheckConfigMethod) + == null) { + UptimeCheckServiceGrpc.getUpdateUptimeCheckConfigMethod = + getUpdateUptimeCheckConfigMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateUptimeCheckConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.UpdateUptimeCheckConfigRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance())) + .setSchemaDescriptor( + new UptimeCheckServiceMethodDescriptorSupplier("UpdateUptimeCheckConfig")) + .build(); + } + } + } + return getUpdateUptimeCheckConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.monitoring.v3.DeleteUptimeCheckConfigRequest, com.google.protobuf.Empty> + getDeleteUptimeCheckConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteUptimeCheckConfig", + requestType = com.google.monitoring.v3.DeleteUptimeCheckConfigRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.monitoring.v3.DeleteUptimeCheckConfigRequest, com.google.protobuf.Empty> + getDeleteUptimeCheckConfigMethod() { + io.grpc.MethodDescriptor< + com.google.monitoring.v3.DeleteUptimeCheckConfigRequest, com.google.protobuf.Empty> + getDeleteUptimeCheckConfigMethod; + if ((getDeleteUptimeCheckConfigMethod = UptimeCheckServiceGrpc.getDeleteUptimeCheckConfigMethod) + == null) { + synchronized (UptimeCheckServiceGrpc.class) { + if ((getDeleteUptimeCheckConfigMethod = + UptimeCheckServiceGrpc.getDeleteUptimeCheckConfigMethod) + == null) { + UptimeCheckServiceGrpc.getDeleteUptimeCheckConfigMethod = + getDeleteUptimeCheckConfigMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteUptimeCheckConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.DeleteUptimeCheckConfigRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new UptimeCheckServiceMethodDescriptorSupplier("DeleteUptimeCheckConfig")) + .build(); + } + } + } + return getDeleteUptimeCheckConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.monitoring.v3.ListUptimeCheckIpsRequest, + com.google.monitoring.v3.ListUptimeCheckIpsResponse> + getListUptimeCheckIpsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListUptimeCheckIps", + requestType = com.google.monitoring.v3.ListUptimeCheckIpsRequest.class, + responseType = com.google.monitoring.v3.ListUptimeCheckIpsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.monitoring.v3.ListUptimeCheckIpsRequest, + com.google.monitoring.v3.ListUptimeCheckIpsResponse> + getListUptimeCheckIpsMethod() { + io.grpc.MethodDescriptor< + com.google.monitoring.v3.ListUptimeCheckIpsRequest, + com.google.monitoring.v3.ListUptimeCheckIpsResponse> + getListUptimeCheckIpsMethod; + if ((getListUptimeCheckIpsMethod = UptimeCheckServiceGrpc.getListUptimeCheckIpsMethod) + == null) { + synchronized (UptimeCheckServiceGrpc.class) { + if ((getListUptimeCheckIpsMethod = UptimeCheckServiceGrpc.getListUptimeCheckIpsMethod) + == null) { + UptimeCheckServiceGrpc.getListUptimeCheckIpsMethod = + getListUptimeCheckIpsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListUptimeCheckIps")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.ListUptimeCheckIpsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.monitoring.v3.ListUptimeCheckIpsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new UptimeCheckServiceMethodDescriptorSupplier("ListUptimeCheckIps")) + .build(); + } + } + } + return getListUptimeCheckIpsMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static UptimeCheckServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public UptimeCheckServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new UptimeCheckServiceStub(channel, callOptions); + } + }; + return UptimeCheckServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static UptimeCheckServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public UptimeCheckServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new UptimeCheckServiceBlockingStub(channel, callOptions); + } + }; + return UptimeCheckServiceBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static UptimeCheckServiceFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public UptimeCheckServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new UptimeCheckServiceFutureStub(channel, callOptions); + } + }; + return UptimeCheckServiceFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * The UptimeCheckService API is used to manage (list, create, delete, edit)
+   * Uptime check configurations in the Stackdriver Monitoring product. An Uptime
+   * check is a piece of configuration that determines which resources and
+   * services to monitor for availability. These configurations can also be
+   * configured interactively by navigating to the [Cloud Console]
+   * (http://console.cloud.google.com), selecting the appropriate project,
+   * clicking on "Monitoring" on the left-hand side to navigate to Stackdriver,
+   * and then clicking on "Uptime".
+   * 
+ */ + public abstract static class UptimeCheckServiceImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Lists the existing valid Uptime check configurations for the project
+     * (leaving out any invalid configurations).
+     * 
+ */ + public void listUptimeCheckConfigs( + com.google.monitoring.v3.ListUptimeCheckConfigsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListUptimeCheckConfigsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a single Uptime check configuration.
+     * 
+ */ + public void getUptimeCheckConfig( + com.google.monitoring.v3.GetUptimeCheckConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetUptimeCheckConfigMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new Uptime check configuration.
+     * 
+ */ + public void createUptimeCheckConfig( + com.google.monitoring.v3.CreateUptimeCheckConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateUptimeCheckConfigMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates an Uptime check configuration. You can either replace the entire
+     * configuration with a new one or replace only certain fields in the current
+     * configuration by specifying the fields to be updated via `updateMask`.
+     * Returns the updated configuration.
+     * 
+ */ + public void updateUptimeCheckConfig( + com.google.monitoring.v3.UpdateUptimeCheckConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateUptimeCheckConfigMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes an Uptime check configuration. Note that this method will fail
+     * if the Uptime check configuration is referenced by an alert policy or
+     * other dependent configs that would be rendered invalid by the deletion.
+     * 
+ */ + public void deleteUptimeCheckConfig( + com.google.monitoring.v3.DeleteUptimeCheckConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteUptimeCheckConfigMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns the list of IP addresses that checkers run from
+     * 
+ */ + public void listUptimeCheckIps( + com.google.monitoring.v3.ListUptimeCheckIpsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListUptimeCheckIpsMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListUptimeCheckConfigsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.ListUptimeCheckConfigsRequest, + com.google.monitoring.v3.ListUptimeCheckConfigsResponse>( + this, METHODID_LIST_UPTIME_CHECK_CONFIGS))) + .addMethod( + getGetUptimeCheckConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.GetUptimeCheckConfigRequest, + com.google.monitoring.v3.UptimeCheckConfig>( + this, METHODID_GET_UPTIME_CHECK_CONFIG))) + .addMethod( + getCreateUptimeCheckConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.CreateUptimeCheckConfigRequest, + com.google.monitoring.v3.UptimeCheckConfig>( + this, METHODID_CREATE_UPTIME_CHECK_CONFIG))) + .addMethod( + getUpdateUptimeCheckConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.UpdateUptimeCheckConfigRequest, + com.google.monitoring.v3.UptimeCheckConfig>( + this, METHODID_UPDATE_UPTIME_CHECK_CONFIG))) + .addMethod( + getDeleteUptimeCheckConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.DeleteUptimeCheckConfigRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_UPTIME_CHECK_CONFIG))) + .addMethod( + getListUptimeCheckIpsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.monitoring.v3.ListUptimeCheckIpsRequest, + com.google.monitoring.v3.ListUptimeCheckIpsResponse>( + this, METHODID_LIST_UPTIME_CHECK_IPS))) + .build(); + } + } + + /** + * + * + *
+   * The UptimeCheckService API is used to manage (list, create, delete, edit)
+   * Uptime check configurations in the Stackdriver Monitoring product. An Uptime
+   * check is a piece of configuration that determines which resources and
+   * services to monitor for availability. These configurations can also be
+   * configured interactively by navigating to the [Cloud Console]
+   * (http://console.cloud.google.com), selecting the appropriate project,
+   * clicking on "Monitoring" on the left-hand side to navigate to Stackdriver,
+   * and then clicking on "Uptime".
+   * 
+ */ + public static final class UptimeCheckServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private UptimeCheckServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected UptimeCheckServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new UptimeCheckServiceStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists the existing valid Uptime check configurations for the project
+     * (leaving out any invalid configurations).
+     * 
+ */ + public void listUptimeCheckConfigs( + com.google.monitoring.v3.ListUptimeCheckConfigsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListUptimeCheckConfigsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a single Uptime check configuration.
+     * 
+ */ + public void getUptimeCheckConfig( + com.google.monitoring.v3.GetUptimeCheckConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetUptimeCheckConfigMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new Uptime check configuration.
+     * 
+ */ + public void createUptimeCheckConfig( + com.google.monitoring.v3.CreateUptimeCheckConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateUptimeCheckConfigMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates an Uptime check configuration. You can either replace the entire
+     * configuration with a new one or replace only certain fields in the current
+     * configuration by specifying the fields to be updated via `updateMask`.
+     * Returns the updated configuration.
+     * 
+ */ + public void updateUptimeCheckConfig( + com.google.monitoring.v3.UpdateUptimeCheckConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateUptimeCheckConfigMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes an Uptime check configuration. Note that this method will fail
+     * if the Uptime check configuration is referenced by an alert policy or
+     * other dependent configs that would be rendered invalid by the deletion.
+     * 
+ */ + public void deleteUptimeCheckConfig( + com.google.monitoring.v3.DeleteUptimeCheckConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteUptimeCheckConfigMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns the list of IP addresses that checkers run from
+     * 
+ */ + public void listUptimeCheckIps( + com.google.monitoring.v3.ListUptimeCheckIpsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListUptimeCheckIpsMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * The UptimeCheckService API is used to manage (list, create, delete, edit)
+   * Uptime check configurations in the Stackdriver Monitoring product. An Uptime
+   * check is a piece of configuration that determines which resources and
+   * services to monitor for availability. These configurations can also be
+   * configured interactively by navigating to the [Cloud Console]
+   * (http://console.cloud.google.com), selecting the appropriate project,
+   * clicking on "Monitoring" on the left-hand side to navigate to Stackdriver,
+   * and then clicking on "Uptime".
+   * 
+ */ + public static final class UptimeCheckServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private UptimeCheckServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected UptimeCheckServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new UptimeCheckServiceBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists the existing valid Uptime check configurations for the project
+     * (leaving out any invalid configurations).
+     * 
+ */ + public com.google.monitoring.v3.ListUptimeCheckConfigsResponse listUptimeCheckConfigs( + com.google.monitoring.v3.ListUptimeCheckConfigsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListUptimeCheckConfigsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a single Uptime check configuration.
+     * 
+ */ + public com.google.monitoring.v3.UptimeCheckConfig getUptimeCheckConfig( + com.google.monitoring.v3.GetUptimeCheckConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetUptimeCheckConfigMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new Uptime check configuration.
+     * 
+ */ + public com.google.monitoring.v3.UptimeCheckConfig createUptimeCheckConfig( + com.google.monitoring.v3.CreateUptimeCheckConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateUptimeCheckConfigMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates an Uptime check configuration. You can either replace the entire
+     * configuration with a new one or replace only certain fields in the current
+     * configuration by specifying the fields to be updated via `updateMask`.
+     * Returns the updated configuration.
+     * 
+ */ + public com.google.monitoring.v3.UptimeCheckConfig updateUptimeCheckConfig( + com.google.monitoring.v3.UpdateUptimeCheckConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateUptimeCheckConfigMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes an Uptime check configuration. Note that this method will fail
+     * if the Uptime check configuration is referenced by an alert policy or
+     * other dependent configs that would be rendered invalid by the deletion.
+     * 
+ */ + public com.google.protobuf.Empty deleteUptimeCheckConfig( + com.google.monitoring.v3.DeleteUptimeCheckConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteUptimeCheckConfigMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns the list of IP addresses that checkers run from
+     * 
+ */ + public com.google.monitoring.v3.ListUptimeCheckIpsResponse listUptimeCheckIps( + com.google.monitoring.v3.ListUptimeCheckIpsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListUptimeCheckIpsMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * The UptimeCheckService API is used to manage (list, create, delete, edit)
+   * Uptime check configurations in the Stackdriver Monitoring product. An Uptime
+   * check is a piece of configuration that determines which resources and
+   * services to monitor for availability. These configurations can also be
+   * configured interactively by navigating to the [Cloud Console]
+   * (http://console.cloud.google.com), selecting the appropriate project,
+   * clicking on "Monitoring" on the left-hand side to navigate to Stackdriver,
+   * and then clicking on "Uptime".
+   * 
+ */ + public static final class UptimeCheckServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private UptimeCheckServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected UptimeCheckServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new UptimeCheckServiceFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists the existing valid Uptime check configurations for the project
+     * (leaving out any invalid configurations).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.monitoring.v3.ListUptimeCheckConfigsResponse> + listUptimeCheckConfigs(com.google.monitoring.v3.ListUptimeCheckConfigsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListUptimeCheckConfigsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a single Uptime check configuration.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.monitoring.v3.UptimeCheckConfig> + getUptimeCheckConfig(com.google.monitoring.v3.GetUptimeCheckConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetUptimeCheckConfigMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new Uptime check configuration.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.monitoring.v3.UptimeCheckConfig> + createUptimeCheckConfig(com.google.monitoring.v3.CreateUptimeCheckConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateUptimeCheckConfigMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates an Uptime check configuration. You can either replace the entire
+     * configuration with a new one or replace only certain fields in the current
+     * configuration by specifying the fields to be updated via `updateMask`.
+     * Returns the updated configuration.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.monitoring.v3.UptimeCheckConfig> + updateUptimeCheckConfig(com.google.monitoring.v3.UpdateUptimeCheckConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateUptimeCheckConfigMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes an Uptime check configuration. Note that this method will fail
+     * if the Uptime check configuration is referenced by an alert policy or
+     * other dependent configs that would be rendered invalid by the deletion.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteUptimeCheckConfig(com.google.monitoring.v3.DeleteUptimeCheckConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteUptimeCheckConfigMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns the list of IP addresses that checkers run from
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.monitoring.v3.ListUptimeCheckIpsResponse> + listUptimeCheckIps(com.google.monitoring.v3.ListUptimeCheckIpsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListUptimeCheckIpsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_UPTIME_CHECK_CONFIGS = 0; + private static final int METHODID_GET_UPTIME_CHECK_CONFIG = 1; + private static final int METHODID_CREATE_UPTIME_CHECK_CONFIG = 2; + private static final int METHODID_UPDATE_UPTIME_CHECK_CONFIG = 3; + private static final int METHODID_DELETE_UPTIME_CHECK_CONFIG = 4; + private static final int METHODID_LIST_UPTIME_CHECK_IPS = 5; + + 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 UptimeCheckServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(UptimeCheckServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_LIST_UPTIME_CHECK_CONFIGS: + serviceImpl.listUptimeCheckConfigs( + (com.google.monitoring.v3.ListUptimeCheckConfigsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_UPTIME_CHECK_CONFIG: + serviceImpl.getUptimeCheckConfig( + (com.google.monitoring.v3.GetUptimeCheckConfigRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_UPTIME_CHECK_CONFIG: + serviceImpl.createUptimeCheckConfig( + (com.google.monitoring.v3.CreateUptimeCheckConfigRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_UPTIME_CHECK_CONFIG: + serviceImpl.updateUptimeCheckConfig( + (com.google.monitoring.v3.UpdateUptimeCheckConfigRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_UPTIME_CHECK_CONFIG: + serviceImpl.deleteUptimeCheckConfig( + (com.google.monitoring.v3.DeleteUptimeCheckConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_UPTIME_CHECK_IPS: + serviceImpl.listUptimeCheckIps( + (com.google.monitoring.v3.ListUptimeCheckIpsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class UptimeCheckServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + UptimeCheckServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.monitoring.v3.UptimeServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("UptimeCheckService"); + } + } + + private static final class UptimeCheckServiceFileDescriptorSupplier + extends UptimeCheckServiceBaseDescriptorSupplier { + UptimeCheckServiceFileDescriptorSupplier() {} + } + + private static final class UptimeCheckServiceMethodDescriptorSupplier + extends UptimeCheckServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + UptimeCheckServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (UptimeCheckServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new UptimeCheckServiceFileDescriptorSupplier()) + .addMethod(getListUptimeCheckConfigsMethod()) + .addMethod(getGetUptimeCheckConfigMethod()) + .addMethod(getCreateUptimeCheckConfigMethod()) + .addMethod(getUpdateUptimeCheckConfigMethod()) + .addMethod(getDeleteUptimeCheckConfigMethod()) + .addMethod(getListUptimeCheckIpsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceGrpc.java b/owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceGrpc.java deleted file mode 100644 index df082f26..00000000 --- a/owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceGrpc.java +++ /dev/null @@ -1,1064 +0,0 @@ -package com.google.monitoring.v3; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * Manages metric descriptors, monitored resource descriptors, and
- * time series data.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/monitoring/v3/metric_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class MetricServiceGrpc { - - private MetricServiceGrpc() {} - - public static final String SERVICE_NAME = "google.monitoring.v3.MetricService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getListMonitoredResourceDescriptorsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListMonitoredResourceDescriptors", - requestType = com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest.class, - responseType = com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListMonitoredResourceDescriptorsMethod() { - io.grpc.MethodDescriptor getListMonitoredResourceDescriptorsMethod; - if ((getListMonitoredResourceDescriptorsMethod = MetricServiceGrpc.getListMonitoredResourceDescriptorsMethod) == null) { - synchronized (MetricServiceGrpc.class) { - if ((getListMonitoredResourceDescriptorsMethod = MetricServiceGrpc.getListMonitoredResourceDescriptorsMethod) == null) { - MetricServiceGrpc.getListMonitoredResourceDescriptorsMethod = getListMonitoredResourceDescriptorsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListMonitoredResourceDescriptors")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse.getDefaultInstance())) - .setSchemaDescriptor(new MetricServiceMethodDescriptorSupplier("ListMonitoredResourceDescriptors")) - .build(); - } - } - } - return getListMonitoredResourceDescriptorsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetMonitoredResourceDescriptorMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetMonitoredResourceDescriptor", - requestType = com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest.class, - responseType = com.google.api.MonitoredResourceDescriptor.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetMonitoredResourceDescriptorMethod() { - io.grpc.MethodDescriptor getGetMonitoredResourceDescriptorMethod; - if ((getGetMonitoredResourceDescriptorMethod = MetricServiceGrpc.getGetMonitoredResourceDescriptorMethod) == null) { - synchronized (MetricServiceGrpc.class) { - if ((getGetMonitoredResourceDescriptorMethod = MetricServiceGrpc.getGetMonitoredResourceDescriptorMethod) == null) { - MetricServiceGrpc.getGetMonitoredResourceDescriptorMethod = getGetMonitoredResourceDescriptorMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetMonitoredResourceDescriptor")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.api.MonitoredResourceDescriptor.getDefaultInstance())) - .setSchemaDescriptor(new MetricServiceMethodDescriptorSupplier("GetMonitoredResourceDescriptor")) - .build(); - } - } - } - return getGetMonitoredResourceDescriptorMethod; - } - - private static volatile io.grpc.MethodDescriptor getListMetricDescriptorsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListMetricDescriptors", - requestType = com.google.monitoring.v3.ListMetricDescriptorsRequest.class, - responseType = com.google.monitoring.v3.ListMetricDescriptorsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListMetricDescriptorsMethod() { - io.grpc.MethodDescriptor getListMetricDescriptorsMethod; - if ((getListMetricDescriptorsMethod = MetricServiceGrpc.getListMetricDescriptorsMethod) == null) { - synchronized (MetricServiceGrpc.class) { - if ((getListMetricDescriptorsMethod = MetricServiceGrpc.getListMetricDescriptorsMethod) == null) { - MetricServiceGrpc.getListMetricDescriptorsMethod = getListMetricDescriptorsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListMetricDescriptors")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.ListMetricDescriptorsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.ListMetricDescriptorsResponse.getDefaultInstance())) - .setSchemaDescriptor(new MetricServiceMethodDescriptorSupplier("ListMetricDescriptors")) - .build(); - } - } - } - return getListMetricDescriptorsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetMetricDescriptorMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetMetricDescriptor", - requestType = com.google.monitoring.v3.GetMetricDescriptorRequest.class, - responseType = com.google.api.MetricDescriptor.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetMetricDescriptorMethod() { - io.grpc.MethodDescriptor getGetMetricDescriptorMethod; - if ((getGetMetricDescriptorMethod = MetricServiceGrpc.getGetMetricDescriptorMethod) == null) { - synchronized (MetricServiceGrpc.class) { - if ((getGetMetricDescriptorMethod = MetricServiceGrpc.getGetMetricDescriptorMethod) == null) { - MetricServiceGrpc.getGetMetricDescriptorMethod = getGetMetricDescriptorMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetMetricDescriptor")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.GetMetricDescriptorRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.api.MetricDescriptor.getDefaultInstance())) - .setSchemaDescriptor(new MetricServiceMethodDescriptorSupplier("GetMetricDescriptor")) - .build(); - } - } - } - return getGetMetricDescriptorMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateMetricDescriptorMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateMetricDescriptor", - requestType = com.google.monitoring.v3.CreateMetricDescriptorRequest.class, - responseType = com.google.api.MetricDescriptor.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateMetricDescriptorMethod() { - io.grpc.MethodDescriptor getCreateMetricDescriptorMethod; - if ((getCreateMetricDescriptorMethod = MetricServiceGrpc.getCreateMetricDescriptorMethod) == null) { - synchronized (MetricServiceGrpc.class) { - if ((getCreateMetricDescriptorMethod = MetricServiceGrpc.getCreateMetricDescriptorMethod) == null) { - MetricServiceGrpc.getCreateMetricDescriptorMethod = getCreateMetricDescriptorMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateMetricDescriptor")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.CreateMetricDescriptorRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.api.MetricDescriptor.getDefaultInstance())) - .setSchemaDescriptor(new MetricServiceMethodDescriptorSupplier("CreateMetricDescriptor")) - .build(); - } - } - } - return getCreateMetricDescriptorMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteMetricDescriptorMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteMetricDescriptor", - requestType = com.google.monitoring.v3.DeleteMetricDescriptorRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteMetricDescriptorMethod() { - io.grpc.MethodDescriptor getDeleteMetricDescriptorMethod; - if ((getDeleteMetricDescriptorMethod = MetricServiceGrpc.getDeleteMetricDescriptorMethod) == null) { - synchronized (MetricServiceGrpc.class) { - if ((getDeleteMetricDescriptorMethod = MetricServiceGrpc.getDeleteMetricDescriptorMethod) == null) { - MetricServiceGrpc.getDeleteMetricDescriptorMethod = getDeleteMetricDescriptorMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteMetricDescriptor")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.DeleteMetricDescriptorRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new MetricServiceMethodDescriptorSupplier("DeleteMetricDescriptor")) - .build(); - } - } - } - return getDeleteMetricDescriptorMethod; - } - - private static volatile io.grpc.MethodDescriptor getListTimeSeriesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTimeSeries", - requestType = com.google.monitoring.v3.ListTimeSeriesRequest.class, - responseType = com.google.monitoring.v3.ListTimeSeriesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListTimeSeriesMethod() { - io.grpc.MethodDescriptor getListTimeSeriesMethod; - if ((getListTimeSeriesMethod = MetricServiceGrpc.getListTimeSeriesMethod) == null) { - synchronized (MetricServiceGrpc.class) { - if ((getListTimeSeriesMethod = MetricServiceGrpc.getListTimeSeriesMethod) == null) { - MetricServiceGrpc.getListTimeSeriesMethod = getListTimeSeriesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTimeSeries")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.ListTimeSeriesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.ListTimeSeriesResponse.getDefaultInstance())) - .setSchemaDescriptor(new MetricServiceMethodDescriptorSupplier("ListTimeSeries")) - .build(); - } - } - } - return getListTimeSeriesMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateTimeSeriesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTimeSeries", - requestType = com.google.monitoring.v3.CreateTimeSeriesRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateTimeSeriesMethod() { - io.grpc.MethodDescriptor getCreateTimeSeriesMethod; - if ((getCreateTimeSeriesMethod = MetricServiceGrpc.getCreateTimeSeriesMethod) == null) { - synchronized (MetricServiceGrpc.class) { - if ((getCreateTimeSeriesMethod = MetricServiceGrpc.getCreateTimeSeriesMethod) == null) { - MetricServiceGrpc.getCreateTimeSeriesMethod = getCreateTimeSeriesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTimeSeries")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.CreateTimeSeriesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new MetricServiceMethodDescriptorSupplier("CreateTimeSeries")) - .build(); - } - } - } - return getCreateTimeSeriesMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateServiceTimeSeriesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateServiceTimeSeries", - requestType = com.google.monitoring.v3.CreateTimeSeriesRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateServiceTimeSeriesMethod() { - io.grpc.MethodDescriptor getCreateServiceTimeSeriesMethod; - if ((getCreateServiceTimeSeriesMethod = MetricServiceGrpc.getCreateServiceTimeSeriesMethod) == null) { - synchronized (MetricServiceGrpc.class) { - if ((getCreateServiceTimeSeriesMethod = MetricServiceGrpc.getCreateServiceTimeSeriesMethod) == null) { - MetricServiceGrpc.getCreateServiceTimeSeriesMethod = getCreateServiceTimeSeriesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateServiceTimeSeries")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.CreateTimeSeriesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new MetricServiceMethodDescriptorSupplier("CreateServiceTimeSeries")) - .build(); - } - } - } - return getCreateServiceTimeSeriesMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static MetricServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public MetricServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MetricServiceStub(channel, callOptions); - } - }; - return MetricServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static MetricServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public MetricServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MetricServiceBlockingStub(channel, callOptions); - } - }; - return MetricServiceBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static MetricServiceFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public MetricServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MetricServiceFutureStub(channel, callOptions); - } - }; - return MetricServiceFutureStub.newStub(factory, channel); - } - - /** - *
-   * Manages metric descriptors, monitored resource descriptors, and
-   * time series data.
-   * 
- */ - public static abstract class MetricServiceImplBase implements io.grpc.BindableService { - - /** - *
-     * Lists monitored resource descriptors that match a filter. This method does not require a Workspace.
-     * 
- */ - public void listMonitoredResourceDescriptors(com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListMonitoredResourceDescriptorsMethod(), responseObserver); - } - - /** - *
-     * Gets a single monitored resource descriptor. This method does not require a Workspace.
-     * 
- */ - public void getMonitoredResourceDescriptor(com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMonitoredResourceDescriptorMethod(), responseObserver); - } - - /** - *
-     * Lists metric descriptors that match a filter. This method does not require a Workspace.
-     * 
- */ - public void listMetricDescriptors(com.google.monitoring.v3.ListMetricDescriptorsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListMetricDescriptorsMethod(), responseObserver); - } - - /** - *
-     * Gets a single metric descriptor. This method does not require a Workspace.
-     * 
- */ - public void getMetricDescriptor(com.google.monitoring.v3.GetMetricDescriptorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMetricDescriptorMethod(), responseObserver); - } - - /** - *
-     * Creates a new metric descriptor.
-     * The creation is executed asynchronously and callers may check the returned
-     * operation to track its progress.
-     * User-created metric descriptors define
-     * [custom metrics](https://cloud.google.com/monitoring/custom-metrics).
-     * 
- */ - public void createMetricDescriptor(com.google.monitoring.v3.CreateMetricDescriptorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateMetricDescriptorMethod(), responseObserver); - } - - /** - *
-     * Deletes a metric descriptor. Only user-created
-     * [custom metrics](https://cloud.google.com/monitoring/custom-metrics) can be
-     * deleted.
-     * 
- */ - public void deleteMetricDescriptor(com.google.monitoring.v3.DeleteMetricDescriptorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteMetricDescriptorMethod(), responseObserver); - } - - /** - *
-     * Lists time series that match a filter. This method does not require a Workspace.
-     * 
- */ - public void listTimeSeries(com.google.monitoring.v3.ListTimeSeriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTimeSeriesMethod(), responseObserver); - } - - /** - *
-     * Creates or adds data to one or more time series.
-     * The response is empty if all time series in the request were written.
-     * If any time series could not be written, a corresponding failure message is
-     * included in the error response.
-     * 
- */ - public void createTimeSeries(com.google.monitoring.v3.CreateTimeSeriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTimeSeriesMethod(), responseObserver); - } - - /** - *
-     * Creates or adds data to one or more service time series. A service time
-     * series is a time series for a metric from a Google Cloud service. The
-     * response is empty if all time series in the request were written. If any
-     * time series could not be written, a corresponding failure message is
-     * included in the error response. This endpoint rejects writes to
-     * user-defined metrics.
-     * This method is only for use by Google Cloud services. Use
-     * [projects.timeSeries.create][google.monitoring.v3.MetricService.CreateTimeSeries]
-     * instead.
-     * 
- */ - public void createServiceTimeSeries(com.google.monitoring.v3.CreateTimeSeriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateServiceTimeSeriesMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListMonitoredResourceDescriptorsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest, - com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse>( - this, METHODID_LIST_MONITORED_RESOURCE_DESCRIPTORS))) - .addMethod( - getGetMonitoredResourceDescriptorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest, - com.google.api.MonitoredResourceDescriptor>( - this, METHODID_GET_MONITORED_RESOURCE_DESCRIPTOR))) - .addMethod( - getListMetricDescriptorsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.ListMetricDescriptorsRequest, - com.google.monitoring.v3.ListMetricDescriptorsResponse>( - this, METHODID_LIST_METRIC_DESCRIPTORS))) - .addMethod( - getGetMetricDescriptorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.GetMetricDescriptorRequest, - com.google.api.MetricDescriptor>( - this, METHODID_GET_METRIC_DESCRIPTOR))) - .addMethod( - getCreateMetricDescriptorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.CreateMetricDescriptorRequest, - com.google.api.MetricDescriptor>( - this, METHODID_CREATE_METRIC_DESCRIPTOR))) - .addMethod( - getDeleteMetricDescriptorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.DeleteMetricDescriptorRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_METRIC_DESCRIPTOR))) - .addMethod( - getListTimeSeriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.ListTimeSeriesRequest, - com.google.monitoring.v3.ListTimeSeriesResponse>( - this, METHODID_LIST_TIME_SERIES))) - .addMethod( - getCreateTimeSeriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.CreateTimeSeriesRequest, - com.google.protobuf.Empty>( - this, METHODID_CREATE_TIME_SERIES))) - .addMethod( - getCreateServiceTimeSeriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.CreateTimeSeriesRequest, - com.google.protobuf.Empty>( - this, METHODID_CREATE_SERVICE_TIME_SERIES))) - .build(); - } - } - - /** - *
-   * Manages metric descriptors, monitored resource descriptors, and
-   * time series data.
-   * 
- */ - public static final class MetricServiceStub extends io.grpc.stub.AbstractAsyncStub { - private MetricServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected MetricServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MetricServiceStub(channel, callOptions); - } - - /** - *
-     * Lists monitored resource descriptors that match a filter. This method does not require a Workspace.
-     * 
- */ - public void listMonitoredResourceDescriptors(com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListMonitoredResourceDescriptorsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a single monitored resource descriptor. This method does not require a Workspace.
-     * 
- */ - public void getMonitoredResourceDescriptor(com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetMonitoredResourceDescriptorMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists metric descriptors that match a filter. This method does not require a Workspace.
-     * 
- */ - public void listMetricDescriptors(com.google.monitoring.v3.ListMetricDescriptorsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListMetricDescriptorsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a single metric descriptor. This method does not require a Workspace.
-     * 
- */ - public void getMetricDescriptor(com.google.monitoring.v3.GetMetricDescriptorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetMetricDescriptorMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new metric descriptor.
-     * The creation is executed asynchronously and callers may check the returned
-     * operation to track its progress.
-     * User-created metric descriptors define
-     * [custom metrics](https://cloud.google.com/monitoring/custom-metrics).
-     * 
- */ - public void createMetricDescriptor(com.google.monitoring.v3.CreateMetricDescriptorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateMetricDescriptorMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a metric descriptor. Only user-created
-     * [custom metrics](https://cloud.google.com/monitoring/custom-metrics) can be
-     * deleted.
-     * 
- */ - public void deleteMetricDescriptor(com.google.monitoring.v3.DeleteMetricDescriptorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteMetricDescriptorMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists time series that match a filter. This method does not require a Workspace.
-     * 
- */ - public void listTimeSeries(com.google.monitoring.v3.ListTimeSeriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTimeSeriesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates or adds data to one or more time series.
-     * The response is empty if all time series in the request were written.
-     * If any time series could not be written, a corresponding failure message is
-     * included in the error response.
-     * 
- */ - public void createTimeSeries(com.google.monitoring.v3.CreateTimeSeriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTimeSeriesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates or adds data to one or more service time series. A service time
-     * series is a time series for a metric from a Google Cloud service. The
-     * response is empty if all time series in the request were written. If any
-     * time series could not be written, a corresponding failure message is
-     * included in the error response. This endpoint rejects writes to
-     * user-defined metrics.
-     * This method is only for use by Google Cloud services. Use
-     * [projects.timeSeries.create][google.monitoring.v3.MetricService.CreateTimeSeries]
-     * instead.
-     * 
- */ - public void createServiceTimeSeries(com.google.monitoring.v3.CreateTimeSeriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateServiceTimeSeriesMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * Manages metric descriptors, monitored resource descriptors, and
-   * time series data.
-   * 
- */ - public static final class MetricServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private MetricServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected MetricServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MetricServiceBlockingStub(channel, callOptions); - } - - /** - *
-     * Lists monitored resource descriptors that match a filter. This method does not require a Workspace.
-     * 
- */ - public com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse listMonitoredResourceDescriptors(com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListMonitoredResourceDescriptorsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a single monitored resource descriptor. This method does not require a Workspace.
-     * 
- */ - public com.google.api.MonitoredResourceDescriptor getMonitoredResourceDescriptor(com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetMonitoredResourceDescriptorMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists metric descriptors that match a filter. This method does not require a Workspace.
-     * 
- */ - public com.google.monitoring.v3.ListMetricDescriptorsResponse listMetricDescriptors(com.google.monitoring.v3.ListMetricDescriptorsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListMetricDescriptorsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a single metric descriptor. This method does not require a Workspace.
-     * 
- */ - public com.google.api.MetricDescriptor getMetricDescriptor(com.google.monitoring.v3.GetMetricDescriptorRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetMetricDescriptorMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new metric descriptor.
-     * The creation is executed asynchronously and callers may check the returned
-     * operation to track its progress.
-     * User-created metric descriptors define
-     * [custom metrics](https://cloud.google.com/monitoring/custom-metrics).
-     * 
- */ - public com.google.api.MetricDescriptor createMetricDescriptor(com.google.monitoring.v3.CreateMetricDescriptorRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateMetricDescriptorMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a metric descriptor. Only user-created
-     * [custom metrics](https://cloud.google.com/monitoring/custom-metrics) can be
-     * deleted.
-     * 
- */ - public com.google.protobuf.Empty deleteMetricDescriptor(com.google.monitoring.v3.DeleteMetricDescriptorRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteMetricDescriptorMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists time series that match a filter. This method does not require a Workspace.
-     * 
- */ - public com.google.monitoring.v3.ListTimeSeriesResponse listTimeSeries(com.google.monitoring.v3.ListTimeSeriesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTimeSeriesMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates or adds data to one or more time series.
-     * The response is empty if all time series in the request were written.
-     * If any time series could not be written, a corresponding failure message is
-     * included in the error response.
-     * 
- */ - public com.google.protobuf.Empty createTimeSeries(com.google.monitoring.v3.CreateTimeSeriesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTimeSeriesMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates or adds data to one or more service time series. A service time
-     * series is a time series for a metric from a Google Cloud service. The
-     * response is empty if all time series in the request were written. If any
-     * time series could not be written, a corresponding failure message is
-     * included in the error response. This endpoint rejects writes to
-     * user-defined metrics.
-     * This method is only for use by Google Cloud services. Use
-     * [projects.timeSeries.create][google.monitoring.v3.MetricService.CreateTimeSeries]
-     * instead.
-     * 
- */ - public com.google.protobuf.Empty createServiceTimeSeries(com.google.monitoring.v3.CreateTimeSeriesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateServiceTimeSeriesMethod(), getCallOptions(), request); - } - } - - /** - *
-   * Manages metric descriptors, monitored resource descriptors, and
-   * time series data.
-   * 
- */ - public static final class MetricServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private MetricServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected MetricServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new MetricServiceFutureStub(channel, callOptions); - } - - /** - *
-     * Lists monitored resource descriptors that match a filter. This method does not require a Workspace.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listMonitoredResourceDescriptors( - com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListMonitoredResourceDescriptorsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a single monitored resource descriptor. This method does not require a Workspace.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getMonitoredResourceDescriptor( - com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetMonitoredResourceDescriptorMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists metric descriptors that match a filter. This method does not require a Workspace.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listMetricDescriptors( - com.google.monitoring.v3.ListMetricDescriptorsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListMetricDescriptorsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a single metric descriptor. This method does not require a Workspace.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getMetricDescriptor( - com.google.monitoring.v3.GetMetricDescriptorRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetMetricDescriptorMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new metric descriptor.
-     * The creation is executed asynchronously and callers may check the returned
-     * operation to track its progress.
-     * User-created metric descriptors define
-     * [custom metrics](https://cloud.google.com/monitoring/custom-metrics).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createMetricDescriptor( - com.google.monitoring.v3.CreateMetricDescriptorRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateMetricDescriptorMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a metric descriptor. Only user-created
-     * [custom metrics](https://cloud.google.com/monitoring/custom-metrics) can be
-     * deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteMetricDescriptor( - com.google.monitoring.v3.DeleteMetricDescriptorRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteMetricDescriptorMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists time series that match a filter. This method does not require a Workspace.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listTimeSeries( - com.google.monitoring.v3.ListTimeSeriesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTimeSeriesMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates or adds data to one or more time series.
-     * The response is empty if all time series in the request were written.
-     * If any time series could not be written, a corresponding failure message is
-     * included in the error response.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createTimeSeries( - com.google.monitoring.v3.CreateTimeSeriesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTimeSeriesMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates or adds data to one or more service time series. A service time
-     * series is a time series for a metric from a Google Cloud service. The
-     * response is empty if all time series in the request were written. If any
-     * time series could not be written, a corresponding failure message is
-     * included in the error response. This endpoint rejects writes to
-     * user-defined metrics.
-     * This method is only for use by Google Cloud services. Use
-     * [projects.timeSeries.create][google.monitoring.v3.MetricService.CreateTimeSeries]
-     * instead.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createServiceTimeSeries( - com.google.monitoring.v3.CreateTimeSeriesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateServiceTimeSeriesMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_MONITORED_RESOURCE_DESCRIPTORS = 0; - private static final int METHODID_GET_MONITORED_RESOURCE_DESCRIPTOR = 1; - private static final int METHODID_LIST_METRIC_DESCRIPTORS = 2; - private static final int METHODID_GET_METRIC_DESCRIPTOR = 3; - private static final int METHODID_CREATE_METRIC_DESCRIPTOR = 4; - private static final int METHODID_DELETE_METRIC_DESCRIPTOR = 5; - private static final int METHODID_LIST_TIME_SERIES = 6; - private static final int METHODID_CREATE_TIME_SERIES = 7; - private static final int METHODID_CREATE_SERVICE_TIME_SERIES = 8; - - 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 MetricServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(MetricServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_LIST_MONITORED_RESOURCE_DESCRIPTORS: - serviceImpl.listMonitoredResourceDescriptors((com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_MONITORED_RESOURCE_DESCRIPTOR: - serviceImpl.getMonitoredResourceDescriptor((com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_METRIC_DESCRIPTORS: - serviceImpl.listMetricDescriptors((com.google.monitoring.v3.ListMetricDescriptorsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_METRIC_DESCRIPTOR: - serviceImpl.getMetricDescriptor((com.google.monitoring.v3.GetMetricDescriptorRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_METRIC_DESCRIPTOR: - serviceImpl.createMetricDescriptor((com.google.monitoring.v3.CreateMetricDescriptorRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_METRIC_DESCRIPTOR: - serviceImpl.deleteMetricDescriptor((com.google.monitoring.v3.DeleteMetricDescriptorRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_TIME_SERIES: - serviceImpl.listTimeSeries((com.google.monitoring.v3.ListTimeSeriesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_TIME_SERIES: - serviceImpl.createTimeSeries((com.google.monitoring.v3.CreateTimeSeriesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_SERVICE_TIME_SERIES: - serviceImpl.createServiceTimeSeries((com.google.monitoring.v3.CreateTimeSeriesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class MetricServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - MetricServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.monitoring.v3.MetricServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("MetricService"); - } - } - - private static final class MetricServiceFileDescriptorSupplier - extends MetricServiceBaseDescriptorSupplier { - MetricServiceFileDescriptorSupplier() {} - } - - private static final class MetricServiceMethodDescriptorSupplier - extends MetricServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - MetricServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (MetricServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new MetricServiceFileDescriptorSupplier()) - .addMethod(getListMonitoredResourceDescriptorsMethod()) - .addMethod(getGetMonitoredResourceDescriptorMethod()) - .addMethod(getListMetricDescriptorsMethod()) - .addMethod(getGetMetricDescriptorMethod()) - .addMethod(getCreateMetricDescriptorMethod()) - .addMethod(getDeleteMetricDescriptorMethod()) - .addMethod(getListTimeSeriesMethod()) - .addMethod(getCreateTimeSeriesMethod()) - .addMethod(getCreateServiceTimeSeriesMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelServiceGrpc.java b/owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelServiceGrpc.java deleted file mode 100644 index 6ab23c7c..00000000 --- a/owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelServiceGrpc.java +++ /dev/null @@ -1,1202 +0,0 @@ -package com.google.monitoring.v3; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * The Notification Channel API provides access to configuration that
- * controls how messages related to incidents are sent.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/monitoring/v3/notification_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class NotificationChannelServiceGrpc { - - private NotificationChannelServiceGrpc() {} - - public static final String SERVICE_NAME = "google.monitoring.v3.NotificationChannelService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getListNotificationChannelDescriptorsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListNotificationChannelDescriptors", - requestType = com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest.class, - responseType = com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListNotificationChannelDescriptorsMethod() { - io.grpc.MethodDescriptor getListNotificationChannelDescriptorsMethod; - if ((getListNotificationChannelDescriptorsMethod = NotificationChannelServiceGrpc.getListNotificationChannelDescriptorsMethod) == null) { - synchronized (NotificationChannelServiceGrpc.class) { - if ((getListNotificationChannelDescriptorsMethod = NotificationChannelServiceGrpc.getListNotificationChannelDescriptorsMethod) == null) { - NotificationChannelServiceGrpc.getListNotificationChannelDescriptorsMethod = getListNotificationChannelDescriptorsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListNotificationChannelDescriptors")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse.getDefaultInstance())) - .setSchemaDescriptor(new NotificationChannelServiceMethodDescriptorSupplier("ListNotificationChannelDescriptors")) - .build(); - } - } - } - return getListNotificationChannelDescriptorsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetNotificationChannelDescriptorMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetNotificationChannelDescriptor", - requestType = com.google.monitoring.v3.GetNotificationChannelDescriptorRequest.class, - responseType = com.google.monitoring.v3.NotificationChannelDescriptor.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetNotificationChannelDescriptorMethod() { - io.grpc.MethodDescriptor getGetNotificationChannelDescriptorMethod; - if ((getGetNotificationChannelDescriptorMethod = NotificationChannelServiceGrpc.getGetNotificationChannelDescriptorMethod) == null) { - synchronized (NotificationChannelServiceGrpc.class) { - if ((getGetNotificationChannelDescriptorMethod = NotificationChannelServiceGrpc.getGetNotificationChannelDescriptorMethod) == null) { - NotificationChannelServiceGrpc.getGetNotificationChannelDescriptorMethod = getGetNotificationChannelDescriptorMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetNotificationChannelDescriptor")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.GetNotificationChannelDescriptorRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.NotificationChannelDescriptor.getDefaultInstance())) - .setSchemaDescriptor(new NotificationChannelServiceMethodDescriptorSupplier("GetNotificationChannelDescriptor")) - .build(); - } - } - } - return getGetNotificationChannelDescriptorMethod; - } - - private static volatile io.grpc.MethodDescriptor getListNotificationChannelsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListNotificationChannels", - requestType = com.google.monitoring.v3.ListNotificationChannelsRequest.class, - responseType = com.google.monitoring.v3.ListNotificationChannelsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListNotificationChannelsMethod() { - io.grpc.MethodDescriptor getListNotificationChannelsMethod; - if ((getListNotificationChannelsMethod = NotificationChannelServiceGrpc.getListNotificationChannelsMethod) == null) { - synchronized (NotificationChannelServiceGrpc.class) { - if ((getListNotificationChannelsMethod = NotificationChannelServiceGrpc.getListNotificationChannelsMethod) == null) { - NotificationChannelServiceGrpc.getListNotificationChannelsMethod = getListNotificationChannelsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListNotificationChannels")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.ListNotificationChannelsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.ListNotificationChannelsResponse.getDefaultInstance())) - .setSchemaDescriptor(new NotificationChannelServiceMethodDescriptorSupplier("ListNotificationChannels")) - .build(); - } - } - } - return getListNotificationChannelsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetNotificationChannelMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetNotificationChannel", - requestType = com.google.monitoring.v3.GetNotificationChannelRequest.class, - responseType = com.google.monitoring.v3.NotificationChannel.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetNotificationChannelMethod() { - io.grpc.MethodDescriptor getGetNotificationChannelMethod; - if ((getGetNotificationChannelMethod = NotificationChannelServiceGrpc.getGetNotificationChannelMethod) == null) { - synchronized (NotificationChannelServiceGrpc.class) { - if ((getGetNotificationChannelMethod = NotificationChannelServiceGrpc.getGetNotificationChannelMethod) == null) { - NotificationChannelServiceGrpc.getGetNotificationChannelMethod = getGetNotificationChannelMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetNotificationChannel")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.GetNotificationChannelRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.NotificationChannel.getDefaultInstance())) - .setSchemaDescriptor(new NotificationChannelServiceMethodDescriptorSupplier("GetNotificationChannel")) - .build(); - } - } - } - return getGetNotificationChannelMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateNotificationChannelMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateNotificationChannel", - requestType = com.google.monitoring.v3.CreateNotificationChannelRequest.class, - responseType = com.google.monitoring.v3.NotificationChannel.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateNotificationChannelMethod() { - io.grpc.MethodDescriptor getCreateNotificationChannelMethod; - if ((getCreateNotificationChannelMethod = NotificationChannelServiceGrpc.getCreateNotificationChannelMethod) == null) { - synchronized (NotificationChannelServiceGrpc.class) { - if ((getCreateNotificationChannelMethod = NotificationChannelServiceGrpc.getCreateNotificationChannelMethod) == null) { - NotificationChannelServiceGrpc.getCreateNotificationChannelMethod = getCreateNotificationChannelMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateNotificationChannel")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.CreateNotificationChannelRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.NotificationChannel.getDefaultInstance())) - .setSchemaDescriptor(new NotificationChannelServiceMethodDescriptorSupplier("CreateNotificationChannel")) - .build(); - } - } - } - return getCreateNotificationChannelMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateNotificationChannelMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateNotificationChannel", - requestType = com.google.monitoring.v3.UpdateNotificationChannelRequest.class, - responseType = com.google.monitoring.v3.NotificationChannel.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateNotificationChannelMethod() { - io.grpc.MethodDescriptor getUpdateNotificationChannelMethod; - if ((getUpdateNotificationChannelMethod = NotificationChannelServiceGrpc.getUpdateNotificationChannelMethod) == null) { - synchronized (NotificationChannelServiceGrpc.class) { - if ((getUpdateNotificationChannelMethod = NotificationChannelServiceGrpc.getUpdateNotificationChannelMethod) == null) { - NotificationChannelServiceGrpc.getUpdateNotificationChannelMethod = getUpdateNotificationChannelMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateNotificationChannel")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.UpdateNotificationChannelRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.NotificationChannel.getDefaultInstance())) - .setSchemaDescriptor(new NotificationChannelServiceMethodDescriptorSupplier("UpdateNotificationChannel")) - .build(); - } - } - } - return getUpdateNotificationChannelMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteNotificationChannelMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteNotificationChannel", - requestType = com.google.monitoring.v3.DeleteNotificationChannelRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteNotificationChannelMethod() { - io.grpc.MethodDescriptor getDeleteNotificationChannelMethod; - if ((getDeleteNotificationChannelMethod = NotificationChannelServiceGrpc.getDeleteNotificationChannelMethod) == null) { - synchronized (NotificationChannelServiceGrpc.class) { - if ((getDeleteNotificationChannelMethod = NotificationChannelServiceGrpc.getDeleteNotificationChannelMethod) == null) { - NotificationChannelServiceGrpc.getDeleteNotificationChannelMethod = getDeleteNotificationChannelMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteNotificationChannel")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.DeleteNotificationChannelRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new NotificationChannelServiceMethodDescriptorSupplier("DeleteNotificationChannel")) - .build(); - } - } - } - return getDeleteNotificationChannelMethod; - } - - private static volatile io.grpc.MethodDescriptor getSendNotificationChannelVerificationCodeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SendNotificationChannelVerificationCode", - requestType = com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSendNotificationChannelVerificationCodeMethod() { - io.grpc.MethodDescriptor getSendNotificationChannelVerificationCodeMethod; - if ((getSendNotificationChannelVerificationCodeMethod = NotificationChannelServiceGrpc.getSendNotificationChannelVerificationCodeMethod) == null) { - synchronized (NotificationChannelServiceGrpc.class) { - if ((getSendNotificationChannelVerificationCodeMethod = NotificationChannelServiceGrpc.getSendNotificationChannelVerificationCodeMethod) == null) { - NotificationChannelServiceGrpc.getSendNotificationChannelVerificationCodeMethod = getSendNotificationChannelVerificationCodeMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SendNotificationChannelVerificationCode")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new NotificationChannelServiceMethodDescriptorSupplier("SendNotificationChannelVerificationCode")) - .build(); - } - } - } - return getSendNotificationChannelVerificationCodeMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetNotificationChannelVerificationCodeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetNotificationChannelVerificationCode", - requestType = com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest.class, - responseType = com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetNotificationChannelVerificationCodeMethod() { - io.grpc.MethodDescriptor getGetNotificationChannelVerificationCodeMethod; - if ((getGetNotificationChannelVerificationCodeMethod = NotificationChannelServiceGrpc.getGetNotificationChannelVerificationCodeMethod) == null) { - synchronized (NotificationChannelServiceGrpc.class) { - if ((getGetNotificationChannelVerificationCodeMethod = NotificationChannelServiceGrpc.getGetNotificationChannelVerificationCodeMethod) == null) { - NotificationChannelServiceGrpc.getGetNotificationChannelVerificationCodeMethod = getGetNotificationChannelVerificationCodeMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetNotificationChannelVerificationCode")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse.getDefaultInstance())) - .setSchemaDescriptor(new NotificationChannelServiceMethodDescriptorSupplier("GetNotificationChannelVerificationCode")) - .build(); - } - } - } - return getGetNotificationChannelVerificationCodeMethod; - } - - private static volatile io.grpc.MethodDescriptor getVerifyNotificationChannelMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "VerifyNotificationChannel", - requestType = com.google.monitoring.v3.VerifyNotificationChannelRequest.class, - responseType = com.google.monitoring.v3.NotificationChannel.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getVerifyNotificationChannelMethod() { - io.grpc.MethodDescriptor getVerifyNotificationChannelMethod; - if ((getVerifyNotificationChannelMethod = NotificationChannelServiceGrpc.getVerifyNotificationChannelMethod) == null) { - synchronized (NotificationChannelServiceGrpc.class) { - if ((getVerifyNotificationChannelMethod = NotificationChannelServiceGrpc.getVerifyNotificationChannelMethod) == null) { - NotificationChannelServiceGrpc.getVerifyNotificationChannelMethod = getVerifyNotificationChannelMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "VerifyNotificationChannel")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.VerifyNotificationChannelRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.NotificationChannel.getDefaultInstance())) - .setSchemaDescriptor(new NotificationChannelServiceMethodDescriptorSupplier("VerifyNotificationChannel")) - .build(); - } - } - } - return getVerifyNotificationChannelMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static NotificationChannelServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public NotificationChannelServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new NotificationChannelServiceStub(channel, callOptions); - } - }; - return NotificationChannelServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static NotificationChannelServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public NotificationChannelServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new NotificationChannelServiceBlockingStub(channel, callOptions); - } - }; - return NotificationChannelServiceBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static NotificationChannelServiceFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public NotificationChannelServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new NotificationChannelServiceFutureStub(channel, callOptions); - } - }; - return NotificationChannelServiceFutureStub.newStub(factory, channel); - } - - /** - *
-   * The Notification Channel API provides access to configuration that
-   * controls how messages related to incidents are sent.
-   * 
- */ - public static abstract class NotificationChannelServiceImplBase implements io.grpc.BindableService { - - /** - *
-     * Lists the descriptors for supported channel types. The use of descriptors
-     * makes it possible for new channel types to be dynamically added.
-     * 
- */ - public void listNotificationChannelDescriptors(com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListNotificationChannelDescriptorsMethod(), responseObserver); - } - - /** - *
-     * Gets a single channel descriptor. The descriptor indicates which fields
-     * are expected / permitted for a notification channel of the given type.
-     * 
- */ - public void getNotificationChannelDescriptor(com.google.monitoring.v3.GetNotificationChannelDescriptorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetNotificationChannelDescriptorMethod(), responseObserver); - } - - /** - *
-     * Lists the notification channels that have been created for the project.
-     * 
- */ - public void listNotificationChannels(com.google.monitoring.v3.ListNotificationChannelsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListNotificationChannelsMethod(), responseObserver); - } - - /** - *
-     * Gets a single notification channel. The channel includes the relevant
-     * configuration details with which the channel was created. However, the
-     * response may truncate or omit passwords, API keys, or other private key
-     * matter and thus the response may not be 100% identical to the information
-     * that was supplied in the call to the create method.
-     * 
- */ - public void getNotificationChannel(com.google.monitoring.v3.GetNotificationChannelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetNotificationChannelMethod(), responseObserver); - } - - /** - *
-     * Creates a new notification channel, representing a single notification
-     * endpoint such as an email address, SMS number, or PagerDuty service.
-     * 
- */ - public void createNotificationChannel(com.google.monitoring.v3.CreateNotificationChannelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateNotificationChannelMethod(), responseObserver); - } - - /** - *
-     * Updates a notification channel. Fields not specified in the field mask
-     * remain unchanged.
-     * 
- */ - public void updateNotificationChannel(com.google.monitoring.v3.UpdateNotificationChannelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateNotificationChannelMethod(), responseObserver); - } - - /** - *
-     * Deletes a notification channel.
-     * 
- */ - public void deleteNotificationChannel(com.google.monitoring.v3.DeleteNotificationChannelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteNotificationChannelMethod(), responseObserver); - } - - /** - *
-     * Causes a verification code to be delivered to the channel. The code
-     * can then be supplied in `VerifyNotificationChannel` to verify the channel.
-     * 
- */ - public void sendNotificationChannelVerificationCode(com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSendNotificationChannelVerificationCodeMethod(), responseObserver); - } - - /** - *
-     * Requests a verification code for an already verified channel that can then
-     * be used in a call to VerifyNotificationChannel() on a different channel
-     * with an equivalent identity in the same or in a different project. This
-     * makes it possible to copy a channel between projects without requiring
-     * manual reverification of the channel. If the channel is not in the
-     * verified state, this method will fail (in other words, this may only be
-     * used if the SendNotificationChannelVerificationCode and
-     * VerifyNotificationChannel paths have already been used to put the given
-     * channel into the verified state).
-     * There is no guarantee that the verification codes returned by this method
-     * will be of a similar structure or form as the ones that are delivered
-     * to the channel via SendNotificationChannelVerificationCode; while
-     * VerifyNotificationChannel() will recognize both the codes delivered via
-     * SendNotificationChannelVerificationCode() and returned from
-     * GetNotificationChannelVerificationCode(), it is typically the case that
-     * the verification codes delivered via
-     * SendNotificationChannelVerificationCode() will be shorter and also
-     * have a shorter expiration (e.g. codes such as "G-123456") whereas
-     * GetVerificationCode() will typically return a much longer, websafe base
-     * 64 encoded string that has a longer expiration time.
-     * 
- */ - public void getNotificationChannelVerificationCode(com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetNotificationChannelVerificationCodeMethod(), responseObserver); - } - - /** - *
-     * Verifies a `NotificationChannel` by proving receipt of the code
-     * delivered to the channel as a result of calling
-     * `SendNotificationChannelVerificationCode`.
-     * 
- */ - public void verifyNotificationChannel(com.google.monitoring.v3.VerifyNotificationChannelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getVerifyNotificationChannelMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListNotificationChannelDescriptorsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest, - com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse>( - this, METHODID_LIST_NOTIFICATION_CHANNEL_DESCRIPTORS))) - .addMethod( - getGetNotificationChannelDescriptorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.GetNotificationChannelDescriptorRequest, - com.google.monitoring.v3.NotificationChannelDescriptor>( - this, METHODID_GET_NOTIFICATION_CHANNEL_DESCRIPTOR))) - .addMethod( - getListNotificationChannelsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.ListNotificationChannelsRequest, - com.google.monitoring.v3.ListNotificationChannelsResponse>( - this, METHODID_LIST_NOTIFICATION_CHANNELS))) - .addMethod( - getGetNotificationChannelMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.GetNotificationChannelRequest, - com.google.monitoring.v3.NotificationChannel>( - this, METHODID_GET_NOTIFICATION_CHANNEL))) - .addMethod( - getCreateNotificationChannelMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.CreateNotificationChannelRequest, - com.google.monitoring.v3.NotificationChannel>( - this, METHODID_CREATE_NOTIFICATION_CHANNEL))) - .addMethod( - getUpdateNotificationChannelMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.UpdateNotificationChannelRequest, - com.google.monitoring.v3.NotificationChannel>( - this, METHODID_UPDATE_NOTIFICATION_CHANNEL))) - .addMethod( - getDeleteNotificationChannelMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.DeleteNotificationChannelRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_NOTIFICATION_CHANNEL))) - .addMethod( - getSendNotificationChannelVerificationCodeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest, - com.google.protobuf.Empty>( - this, METHODID_SEND_NOTIFICATION_CHANNEL_VERIFICATION_CODE))) - .addMethod( - getGetNotificationChannelVerificationCodeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest, - com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse>( - this, METHODID_GET_NOTIFICATION_CHANNEL_VERIFICATION_CODE))) - .addMethod( - getVerifyNotificationChannelMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.VerifyNotificationChannelRequest, - com.google.monitoring.v3.NotificationChannel>( - this, METHODID_VERIFY_NOTIFICATION_CHANNEL))) - .build(); - } - } - - /** - *
-   * The Notification Channel API provides access to configuration that
-   * controls how messages related to incidents are sent.
-   * 
- */ - public static final class NotificationChannelServiceStub extends io.grpc.stub.AbstractAsyncStub { - private NotificationChannelServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected NotificationChannelServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new NotificationChannelServiceStub(channel, callOptions); - } - - /** - *
-     * Lists the descriptors for supported channel types. The use of descriptors
-     * makes it possible for new channel types to be dynamically added.
-     * 
- */ - public void listNotificationChannelDescriptors(com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListNotificationChannelDescriptorsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a single channel descriptor. The descriptor indicates which fields
-     * are expected / permitted for a notification channel of the given type.
-     * 
- */ - public void getNotificationChannelDescriptor(com.google.monitoring.v3.GetNotificationChannelDescriptorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetNotificationChannelDescriptorMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists the notification channels that have been created for the project.
-     * 
- */ - public void listNotificationChannels(com.google.monitoring.v3.ListNotificationChannelsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListNotificationChannelsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a single notification channel. The channel includes the relevant
-     * configuration details with which the channel was created. However, the
-     * response may truncate or omit passwords, API keys, or other private key
-     * matter and thus the response may not be 100% identical to the information
-     * that was supplied in the call to the create method.
-     * 
- */ - public void getNotificationChannel(com.google.monitoring.v3.GetNotificationChannelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetNotificationChannelMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new notification channel, representing a single notification
-     * endpoint such as an email address, SMS number, or PagerDuty service.
-     * 
- */ - public void createNotificationChannel(com.google.monitoring.v3.CreateNotificationChannelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateNotificationChannelMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a notification channel. Fields not specified in the field mask
-     * remain unchanged.
-     * 
- */ - public void updateNotificationChannel(com.google.monitoring.v3.UpdateNotificationChannelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateNotificationChannelMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a notification channel.
-     * 
- */ - public void deleteNotificationChannel(com.google.monitoring.v3.DeleteNotificationChannelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteNotificationChannelMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Causes a verification code to be delivered to the channel. The code
-     * can then be supplied in `VerifyNotificationChannel` to verify the channel.
-     * 
- */ - public void sendNotificationChannelVerificationCode(com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSendNotificationChannelVerificationCodeMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Requests a verification code for an already verified channel that can then
-     * be used in a call to VerifyNotificationChannel() on a different channel
-     * with an equivalent identity in the same or in a different project. This
-     * makes it possible to copy a channel between projects without requiring
-     * manual reverification of the channel. If the channel is not in the
-     * verified state, this method will fail (in other words, this may only be
-     * used if the SendNotificationChannelVerificationCode and
-     * VerifyNotificationChannel paths have already been used to put the given
-     * channel into the verified state).
-     * There is no guarantee that the verification codes returned by this method
-     * will be of a similar structure or form as the ones that are delivered
-     * to the channel via SendNotificationChannelVerificationCode; while
-     * VerifyNotificationChannel() will recognize both the codes delivered via
-     * SendNotificationChannelVerificationCode() and returned from
-     * GetNotificationChannelVerificationCode(), it is typically the case that
-     * the verification codes delivered via
-     * SendNotificationChannelVerificationCode() will be shorter and also
-     * have a shorter expiration (e.g. codes such as "G-123456") whereas
-     * GetVerificationCode() will typically return a much longer, websafe base
-     * 64 encoded string that has a longer expiration time.
-     * 
- */ - public void getNotificationChannelVerificationCode(com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetNotificationChannelVerificationCodeMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Verifies a `NotificationChannel` by proving receipt of the code
-     * delivered to the channel as a result of calling
-     * `SendNotificationChannelVerificationCode`.
-     * 
- */ - public void verifyNotificationChannel(com.google.monitoring.v3.VerifyNotificationChannelRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getVerifyNotificationChannelMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * The Notification Channel API provides access to configuration that
-   * controls how messages related to incidents are sent.
-   * 
- */ - public static final class NotificationChannelServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private NotificationChannelServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected NotificationChannelServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new NotificationChannelServiceBlockingStub(channel, callOptions); - } - - /** - *
-     * Lists the descriptors for supported channel types. The use of descriptors
-     * makes it possible for new channel types to be dynamically added.
-     * 
- */ - public com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse listNotificationChannelDescriptors(com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListNotificationChannelDescriptorsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a single channel descriptor. The descriptor indicates which fields
-     * are expected / permitted for a notification channel of the given type.
-     * 
- */ - public com.google.monitoring.v3.NotificationChannelDescriptor getNotificationChannelDescriptor(com.google.monitoring.v3.GetNotificationChannelDescriptorRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetNotificationChannelDescriptorMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists the notification channels that have been created for the project.
-     * 
- */ - public com.google.monitoring.v3.ListNotificationChannelsResponse listNotificationChannels(com.google.monitoring.v3.ListNotificationChannelsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListNotificationChannelsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a single notification channel. The channel includes the relevant
-     * configuration details with which the channel was created. However, the
-     * response may truncate or omit passwords, API keys, or other private key
-     * matter and thus the response may not be 100% identical to the information
-     * that was supplied in the call to the create method.
-     * 
- */ - public com.google.monitoring.v3.NotificationChannel getNotificationChannel(com.google.monitoring.v3.GetNotificationChannelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetNotificationChannelMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new notification channel, representing a single notification
-     * endpoint such as an email address, SMS number, or PagerDuty service.
-     * 
- */ - public com.google.monitoring.v3.NotificationChannel createNotificationChannel(com.google.monitoring.v3.CreateNotificationChannelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateNotificationChannelMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a notification channel. Fields not specified in the field mask
-     * remain unchanged.
-     * 
- */ - public com.google.monitoring.v3.NotificationChannel updateNotificationChannel(com.google.monitoring.v3.UpdateNotificationChannelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateNotificationChannelMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a notification channel.
-     * 
- */ - public com.google.protobuf.Empty deleteNotificationChannel(com.google.monitoring.v3.DeleteNotificationChannelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteNotificationChannelMethod(), getCallOptions(), request); - } - - /** - *
-     * Causes a verification code to be delivered to the channel. The code
-     * can then be supplied in `VerifyNotificationChannel` to verify the channel.
-     * 
- */ - public com.google.protobuf.Empty sendNotificationChannelVerificationCode(com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSendNotificationChannelVerificationCodeMethod(), getCallOptions(), request); - } - - /** - *
-     * Requests a verification code for an already verified channel that can then
-     * be used in a call to VerifyNotificationChannel() on a different channel
-     * with an equivalent identity in the same or in a different project. This
-     * makes it possible to copy a channel between projects without requiring
-     * manual reverification of the channel. If the channel is not in the
-     * verified state, this method will fail (in other words, this may only be
-     * used if the SendNotificationChannelVerificationCode and
-     * VerifyNotificationChannel paths have already been used to put the given
-     * channel into the verified state).
-     * There is no guarantee that the verification codes returned by this method
-     * will be of a similar structure or form as the ones that are delivered
-     * to the channel via SendNotificationChannelVerificationCode; while
-     * VerifyNotificationChannel() will recognize both the codes delivered via
-     * SendNotificationChannelVerificationCode() and returned from
-     * GetNotificationChannelVerificationCode(), it is typically the case that
-     * the verification codes delivered via
-     * SendNotificationChannelVerificationCode() will be shorter and also
-     * have a shorter expiration (e.g. codes such as "G-123456") whereas
-     * GetVerificationCode() will typically return a much longer, websafe base
-     * 64 encoded string that has a longer expiration time.
-     * 
- */ - public com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse getNotificationChannelVerificationCode(com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetNotificationChannelVerificationCodeMethod(), getCallOptions(), request); - } - - /** - *
-     * Verifies a `NotificationChannel` by proving receipt of the code
-     * delivered to the channel as a result of calling
-     * `SendNotificationChannelVerificationCode`.
-     * 
- */ - public com.google.monitoring.v3.NotificationChannel verifyNotificationChannel(com.google.monitoring.v3.VerifyNotificationChannelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getVerifyNotificationChannelMethod(), getCallOptions(), request); - } - } - - /** - *
-   * The Notification Channel API provides access to configuration that
-   * controls how messages related to incidents are sent.
-   * 
- */ - public static final class NotificationChannelServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private NotificationChannelServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected NotificationChannelServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new NotificationChannelServiceFutureStub(channel, callOptions); - } - - /** - *
-     * Lists the descriptors for supported channel types. The use of descriptors
-     * makes it possible for new channel types to be dynamically added.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listNotificationChannelDescriptors( - com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListNotificationChannelDescriptorsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a single channel descriptor. The descriptor indicates which fields
-     * are expected / permitted for a notification channel of the given type.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getNotificationChannelDescriptor( - com.google.monitoring.v3.GetNotificationChannelDescriptorRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetNotificationChannelDescriptorMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists the notification channels that have been created for the project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listNotificationChannels( - com.google.monitoring.v3.ListNotificationChannelsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListNotificationChannelsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a single notification channel. The channel includes the relevant
-     * configuration details with which the channel was created. However, the
-     * response may truncate or omit passwords, API keys, or other private key
-     * matter and thus the response may not be 100% identical to the information
-     * that was supplied in the call to the create method.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getNotificationChannel( - com.google.monitoring.v3.GetNotificationChannelRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetNotificationChannelMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new notification channel, representing a single notification
-     * endpoint such as an email address, SMS number, or PagerDuty service.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createNotificationChannel( - com.google.monitoring.v3.CreateNotificationChannelRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateNotificationChannelMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a notification channel. Fields not specified in the field mask
-     * remain unchanged.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateNotificationChannel( - com.google.monitoring.v3.UpdateNotificationChannelRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateNotificationChannelMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a notification channel.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteNotificationChannel( - com.google.monitoring.v3.DeleteNotificationChannelRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteNotificationChannelMethod(), getCallOptions()), request); - } - - /** - *
-     * Causes a verification code to be delivered to the channel. The code
-     * can then be supplied in `VerifyNotificationChannel` to verify the channel.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture sendNotificationChannelVerificationCode( - com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSendNotificationChannelVerificationCodeMethod(), getCallOptions()), request); - } - - /** - *
-     * Requests a verification code for an already verified channel that can then
-     * be used in a call to VerifyNotificationChannel() on a different channel
-     * with an equivalent identity in the same or in a different project. This
-     * makes it possible to copy a channel between projects without requiring
-     * manual reverification of the channel. If the channel is not in the
-     * verified state, this method will fail (in other words, this may only be
-     * used if the SendNotificationChannelVerificationCode and
-     * VerifyNotificationChannel paths have already been used to put the given
-     * channel into the verified state).
-     * There is no guarantee that the verification codes returned by this method
-     * will be of a similar structure or form as the ones that are delivered
-     * to the channel via SendNotificationChannelVerificationCode; while
-     * VerifyNotificationChannel() will recognize both the codes delivered via
-     * SendNotificationChannelVerificationCode() and returned from
-     * GetNotificationChannelVerificationCode(), it is typically the case that
-     * the verification codes delivered via
-     * SendNotificationChannelVerificationCode() will be shorter and also
-     * have a shorter expiration (e.g. codes such as "G-123456") whereas
-     * GetVerificationCode() will typically return a much longer, websafe base
-     * 64 encoded string that has a longer expiration time.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getNotificationChannelVerificationCode( - com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetNotificationChannelVerificationCodeMethod(), getCallOptions()), request); - } - - /** - *
-     * Verifies a `NotificationChannel` by proving receipt of the code
-     * delivered to the channel as a result of calling
-     * `SendNotificationChannelVerificationCode`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture verifyNotificationChannel( - com.google.monitoring.v3.VerifyNotificationChannelRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getVerifyNotificationChannelMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_NOTIFICATION_CHANNEL_DESCRIPTORS = 0; - private static final int METHODID_GET_NOTIFICATION_CHANNEL_DESCRIPTOR = 1; - private static final int METHODID_LIST_NOTIFICATION_CHANNELS = 2; - private static final int METHODID_GET_NOTIFICATION_CHANNEL = 3; - private static final int METHODID_CREATE_NOTIFICATION_CHANNEL = 4; - private static final int METHODID_UPDATE_NOTIFICATION_CHANNEL = 5; - private static final int METHODID_DELETE_NOTIFICATION_CHANNEL = 6; - private static final int METHODID_SEND_NOTIFICATION_CHANNEL_VERIFICATION_CODE = 7; - private static final int METHODID_GET_NOTIFICATION_CHANNEL_VERIFICATION_CODE = 8; - private static final int METHODID_VERIFY_NOTIFICATION_CHANNEL = 9; - - 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 NotificationChannelServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(NotificationChannelServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_LIST_NOTIFICATION_CHANNEL_DESCRIPTORS: - serviceImpl.listNotificationChannelDescriptors((com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_NOTIFICATION_CHANNEL_DESCRIPTOR: - serviceImpl.getNotificationChannelDescriptor((com.google.monitoring.v3.GetNotificationChannelDescriptorRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_NOTIFICATION_CHANNELS: - serviceImpl.listNotificationChannels((com.google.monitoring.v3.ListNotificationChannelsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_NOTIFICATION_CHANNEL: - serviceImpl.getNotificationChannel((com.google.monitoring.v3.GetNotificationChannelRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_NOTIFICATION_CHANNEL: - serviceImpl.createNotificationChannel((com.google.monitoring.v3.CreateNotificationChannelRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_NOTIFICATION_CHANNEL: - serviceImpl.updateNotificationChannel((com.google.monitoring.v3.UpdateNotificationChannelRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_NOTIFICATION_CHANNEL: - serviceImpl.deleteNotificationChannel((com.google.monitoring.v3.DeleteNotificationChannelRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SEND_NOTIFICATION_CHANNEL_VERIFICATION_CODE: - serviceImpl.sendNotificationChannelVerificationCode((com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_NOTIFICATION_CHANNEL_VERIFICATION_CODE: - serviceImpl.getNotificationChannelVerificationCode((com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_VERIFY_NOTIFICATION_CHANNEL: - serviceImpl.verifyNotificationChannel((com.google.monitoring.v3.VerifyNotificationChannelRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class NotificationChannelServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - NotificationChannelServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("NotificationChannelService"); - } - } - - private static final class NotificationChannelServiceFileDescriptorSupplier - extends NotificationChannelServiceBaseDescriptorSupplier { - NotificationChannelServiceFileDescriptorSupplier() {} - } - - private static final class NotificationChannelServiceMethodDescriptorSupplier - extends NotificationChannelServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - NotificationChannelServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (NotificationChannelServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new NotificationChannelServiceFileDescriptorSupplier()) - .addMethod(getListNotificationChannelDescriptorsMethod()) - .addMethod(getGetNotificationChannelDescriptorMethod()) - .addMethod(getListNotificationChannelsMethod()) - .addMethod(getGetNotificationChannelMethod()) - .addMethod(getCreateNotificationChannelMethod()) - .addMethod(getUpdateNotificationChannelMethod()) - .addMethod(getDeleteNotificationChannelMethod()) - .addMethod(getSendNotificationChannelVerificationCodeMethod()) - .addMethod(getGetNotificationChannelVerificationCodeMethod()) - .addMethod(getVerifyNotificationChannelMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringServiceGrpc.java b/owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringServiceGrpc.java deleted file mode 100644 index 0cf7a532..00000000 --- a/owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringServiceGrpc.java +++ /dev/null @@ -1,1092 +0,0 @@ -package com.google.monitoring.v3; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * The Cloud Monitoring Service-Oriented Monitoring API has endpoints for
- * managing and querying aspects of a workspace's services. These include the
- * `Service`'s monitored resources, its Service-Level Objectives, and a taxonomy
- * of categorized Health Metrics.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/monitoring/v3/service_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ServiceMonitoringServiceGrpc { - - private ServiceMonitoringServiceGrpc() {} - - public static final String SERVICE_NAME = "google.monitoring.v3.ServiceMonitoringService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCreateServiceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateService", - requestType = com.google.monitoring.v3.CreateServiceRequest.class, - responseType = com.google.monitoring.v3.Service.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateServiceMethod() { - io.grpc.MethodDescriptor getCreateServiceMethod; - if ((getCreateServiceMethod = ServiceMonitoringServiceGrpc.getCreateServiceMethod) == null) { - synchronized (ServiceMonitoringServiceGrpc.class) { - if ((getCreateServiceMethod = ServiceMonitoringServiceGrpc.getCreateServiceMethod) == null) { - ServiceMonitoringServiceGrpc.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.monitoring.v3.CreateServiceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.Service.getDefaultInstance())) - .setSchemaDescriptor(new ServiceMonitoringServiceMethodDescriptorSupplier("CreateService")) - .build(); - } - } - } - return getCreateServiceMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetServiceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetService", - requestType = com.google.monitoring.v3.GetServiceRequest.class, - responseType = com.google.monitoring.v3.Service.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetServiceMethod() { - io.grpc.MethodDescriptor getGetServiceMethod; - if ((getGetServiceMethod = ServiceMonitoringServiceGrpc.getGetServiceMethod) == null) { - synchronized (ServiceMonitoringServiceGrpc.class) { - if ((getGetServiceMethod = ServiceMonitoringServiceGrpc.getGetServiceMethod) == null) { - ServiceMonitoringServiceGrpc.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.monitoring.v3.GetServiceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.Service.getDefaultInstance())) - .setSchemaDescriptor(new ServiceMonitoringServiceMethodDescriptorSupplier("GetService")) - .build(); - } - } - } - return getGetServiceMethod; - } - - private static volatile io.grpc.MethodDescriptor getListServicesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListServices", - requestType = com.google.monitoring.v3.ListServicesRequest.class, - responseType = com.google.monitoring.v3.ListServicesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListServicesMethod() { - io.grpc.MethodDescriptor getListServicesMethod; - if ((getListServicesMethod = ServiceMonitoringServiceGrpc.getListServicesMethod) == null) { - synchronized (ServiceMonitoringServiceGrpc.class) { - if ((getListServicesMethod = ServiceMonitoringServiceGrpc.getListServicesMethod) == null) { - ServiceMonitoringServiceGrpc.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.monitoring.v3.ListServicesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.ListServicesResponse.getDefaultInstance())) - .setSchemaDescriptor(new ServiceMonitoringServiceMethodDescriptorSupplier("ListServices")) - .build(); - } - } - } - return getListServicesMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateServiceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateService", - requestType = com.google.monitoring.v3.UpdateServiceRequest.class, - responseType = com.google.monitoring.v3.Service.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateServiceMethod() { - io.grpc.MethodDescriptor getUpdateServiceMethod; - if ((getUpdateServiceMethod = ServiceMonitoringServiceGrpc.getUpdateServiceMethod) == null) { - synchronized (ServiceMonitoringServiceGrpc.class) { - if ((getUpdateServiceMethod = ServiceMonitoringServiceGrpc.getUpdateServiceMethod) == null) { - ServiceMonitoringServiceGrpc.getUpdateServiceMethod = getUpdateServiceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateService")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.UpdateServiceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.Service.getDefaultInstance())) - .setSchemaDescriptor(new ServiceMonitoringServiceMethodDescriptorSupplier("UpdateService")) - .build(); - } - } - } - return getUpdateServiceMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteServiceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteService", - requestType = com.google.monitoring.v3.DeleteServiceRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteServiceMethod() { - io.grpc.MethodDescriptor getDeleteServiceMethod; - if ((getDeleteServiceMethod = ServiceMonitoringServiceGrpc.getDeleteServiceMethod) == null) { - synchronized (ServiceMonitoringServiceGrpc.class) { - if ((getDeleteServiceMethod = ServiceMonitoringServiceGrpc.getDeleteServiceMethod) == null) { - ServiceMonitoringServiceGrpc.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.monitoring.v3.DeleteServiceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new ServiceMonitoringServiceMethodDescriptorSupplier("DeleteService")) - .build(); - } - } - } - return getDeleteServiceMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateServiceLevelObjectiveMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateServiceLevelObjective", - requestType = com.google.monitoring.v3.CreateServiceLevelObjectiveRequest.class, - responseType = com.google.monitoring.v3.ServiceLevelObjective.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateServiceLevelObjectiveMethod() { - io.grpc.MethodDescriptor getCreateServiceLevelObjectiveMethod; - if ((getCreateServiceLevelObjectiveMethod = ServiceMonitoringServiceGrpc.getCreateServiceLevelObjectiveMethod) == null) { - synchronized (ServiceMonitoringServiceGrpc.class) { - if ((getCreateServiceLevelObjectiveMethod = ServiceMonitoringServiceGrpc.getCreateServiceLevelObjectiveMethod) == null) { - ServiceMonitoringServiceGrpc.getCreateServiceLevelObjectiveMethod = getCreateServiceLevelObjectiveMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateServiceLevelObjective")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.CreateServiceLevelObjectiveRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance())) - .setSchemaDescriptor(new ServiceMonitoringServiceMethodDescriptorSupplier("CreateServiceLevelObjective")) - .build(); - } - } - } - return getCreateServiceLevelObjectiveMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetServiceLevelObjectiveMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetServiceLevelObjective", - requestType = com.google.monitoring.v3.GetServiceLevelObjectiveRequest.class, - responseType = com.google.monitoring.v3.ServiceLevelObjective.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetServiceLevelObjectiveMethod() { - io.grpc.MethodDescriptor getGetServiceLevelObjectiveMethod; - if ((getGetServiceLevelObjectiveMethod = ServiceMonitoringServiceGrpc.getGetServiceLevelObjectiveMethod) == null) { - synchronized (ServiceMonitoringServiceGrpc.class) { - if ((getGetServiceLevelObjectiveMethod = ServiceMonitoringServiceGrpc.getGetServiceLevelObjectiveMethod) == null) { - ServiceMonitoringServiceGrpc.getGetServiceLevelObjectiveMethod = getGetServiceLevelObjectiveMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetServiceLevelObjective")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.GetServiceLevelObjectiveRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance())) - .setSchemaDescriptor(new ServiceMonitoringServiceMethodDescriptorSupplier("GetServiceLevelObjective")) - .build(); - } - } - } - return getGetServiceLevelObjectiveMethod; - } - - private static volatile io.grpc.MethodDescriptor getListServiceLevelObjectivesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListServiceLevelObjectives", - requestType = com.google.monitoring.v3.ListServiceLevelObjectivesRequest.class, - responseType = com.google.monitoring.v3.ListServiceLevelObjectivesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListServiceLevelObjectivesMethod() { - io.grpc.MethodDescriptor getListServiceLevelObjectivesMethod; - if ((getListServiceLevelObjectivesMethod = ServiceMonitoringServiceGrpc.getListServiceLevelObjectivesMethod) == null) { - synchronized (ServiceMonitoringServiceGrpc.class) { - if ((getListServiceLevelObjectivesMethod = ServiceMonitoringServiceGrpc.getListServiceLevelObjectivesMethod) == null) { - ServiceMonitoringServiceGrpc.getListServiceLevelObjectivesMethod = getListServiceLevelObjectivesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListServiceLevelObjectives")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.ListServiceLevelObjectivesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.ListServiceLevelObjectivesResponse.getDefaultInstance())) - .setSchemaDescriptor(new ServiceMonitoringServiceMethodDescriptorSupplier("ListServiceLevelObjectives")) - .build(); - } - } - } - return getListServiceLevelObjectivesMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateServiceLevelObjectiveMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateServiceLevelObjective", - requestType = com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest.class, - responseType = com.google.monitoring.v3.ServiceLevelObjective.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateServiceLevelObjectiveMethod() { - io.grpc.MethodDescriptor getUpdateServiceLevelObjectiveMethod; - if ((getUpdateServiceLevelObjectiveMethod = ServiceMonitoringServiceGrpc.getUpdateServiceLevelObjectiveMethod) == null) { - synchronized (ServiceMonitoringServiceGrpc.class) { - if ((getUpdateServiceLevelObjectiveMethod = ServiceMonitoringServiceGrpc.getUpdateServiceLevelObjectiveMethod) == null) { - ServiceMonitoringServiceGrpc.getUpdateServiceLevelObjectiveMethod = getUpdateServiceLevelObjectiveMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateServiceLevelObjective")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance())) - .setSchemaDescriptor(new ServiceMonitoringServiceMethodDescriptorSupplier("UpdateServiceLevelObjective")) - .build(); - } - } - } - return getUpdateServiceLevelObjectiveMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteServiceLevelObjectiveMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteServiceLevelObjective", - requestType = com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteServiceLevelObjectiveMethod() { - io.grpc.MethodDescriptor getDeleteServiceLevelObjectiveMethod; - if ((getDeleteServiceLevelObjectiveMethod = ServiceMonitoringServiceGrpc.getDeleteServiceLevelObjectiveMethod) == null) { - synchronized (ServiceMonitoringServiceGrpc.class) { - if ((getDeleteServiceLevelObjectiveMethod = ServiceMonitoringServiceGrpc.getDeleteServiceLevelObjectiveMethod) == null) { - ServiceMonitoringServiceGrpc.getDeleteServiceLevelObjectiveMethod = getDeleteServiceLevelObjectiveMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteServiceLevelObjective")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new ServiceMonitoringServiceMethodDescriptorSupplier("DeleteServiceLevelObjective")) - .build(); - } - } - } - return getDeleteServiceLevelObjectiveMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static ServiceMonitoringServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ServiceMonitoringServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ServiceMonitoringServiceStub(channel, callOptions); - } - }; - return ServiceMonitoringServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static ServiceMonitoringServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ServiceMonitoringServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ServiceMonitoringServiceBlockingStub(channel, callOptions); - } - }; - return ServiceMonitoringServiceBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static ServiceMonitoringServiceFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ServiceMonitoringServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ServiceMonitoringServiceFutureStub(channel, callOptions); - } - }; - return ServiceMonitoringServiceFutureStub.newStub(factory, channel); - } - - /** - *
-   * The Cloud Monitoring Service-Oriented Monitoring API has endpoints for
-   * managing and querying aspects of a workspace's services. These include the
-   * `Service`'s monitored resources, its Service-Level Objectives, and a taxonomy
-   * of categorized Health Metrics.
-   * 
- */ - public static abstract class ServiceMonitoringServiceImplBase implements io.grpc.BindableService { - - /** - *
-     * Create a `Service`.
-     * 
- */ - public void createService(com.google.monitoring.v3.CreateServiceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateServiceMethod(), responseObserver); - } - - /** - *
-     * Get the named `Service`.
-     * 
- */ - public void getService(com.google.monitoring.v3.GetServiceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetServiceMethod(), responseObserver); - } - - /** - *
-     * List `Service`s for this workspace.
-     * 
- */ - public void listServices(com.google.monitoring.v3.ListServicesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListServicesMethod(), responseObserver); - } - - /** - *
-     * Update this `Service`.
-     * 
- */ - public void updateService(com.google.monitoring.v3.UpdateServiceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateServiceMethod(), responseObserver); - } - - /** - *
-     * Soft delete this `Service`.
-     * 
- */ - public void deleteService(com.google.monitoring.v3.DeleteServiceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteServiceMethod(), responseObserver); - } - - /** - *
-     * Create a `ServiceLevelObjective` for the given `Service`.
-     * 
- */ - public void createServiceLevelObjective(com.google.monitoring.v3.CreateServiceLevelObjectiveRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateServiceLevelObjectiveMethod(), responseObserver); - } - - /** - *
-     * Get a `ServiceLevelObjective` by name.
-     * 
- */ - public void getServiceLevelObjective(com.google.monitoring.v3.GetServiceLevelObjectiveRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetServiceLevelObjectiveMethod(), responseObserver); - } - - /** - *
-     * List the `ServiceLevelObjective`s for the given `Service`.
-     * 
- */ - public void listServiceLevelObjectives(com.google.monitoring.v3.ListServiceLevelObjectivesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListServiceLevelObjectivesMethod(), responseObserver); - } - - /** - *
-     * Update the given `ServiceLevelObjective`.
-     * 
- */ - public void updateServiceLevelObjective(com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateServiceLevelObjectiveMethod(), responseObserver); - } - - /** - *
-     * Delete the given `ServiceLevelObjective`.
-     * 
- */ - public void deleteServiceLevelObjective(com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteServiceLevelObjectiveMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateServiceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.CreateServiceRequest, - com.google.monitoring.v3.Service>( - this, METHODID_CREATE_SERVICE))) - .addMethod( - getGetServiceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.GetServiceRequest, - com.google.monitoring.v3.Service>( - this, METHODID_GET_SERVICE))) - .addMethod( - getListServicesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.ListServicesRequest, - com.google.monitoring.v3.ListServicesResponse>( - this, METHODID_LIST_SERVICES))) - .addMethod( - getUpdateServiceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.UpdateServiceRequest, - com.google.monitoring.v3.Service>( - this, METHODID_UPDATE_SERVICE))) - .addMethod( - getDeleteServiceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.DeleteServiceRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_SERVICE))) - .addMethod( - getCreateServiceLevelObjectiveMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.CreateServiceLevelObjectiveRequest, - com.google.monitoring.v3.ServiceLevelObjective>( - this, METHODID_CREATE_SERVICE_LEVEL_OBJECTIVE))) - .addMethod( - getGetServiceLevelObjectiveMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.GetServiceLevelObjectiveRequest, - com.google.monitoring.v3.ServiceLevelObjective>( - this, METHODID_GET_SERVICE_LEVEL_OBJECTIVE))) - .addMethod( - getListServiceLevelObjectivesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.ListServiceLevelObjectivesRequest, - com.google.monitoring.v3.ListServiceLevelObjectivesResponse>( - this, METHODID_LIST_SERVICE_LEVEL_OBJECTIVES))) - .addMethod( - getUpdateServiceLevelObjectiveMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest, - com.google.monitoring.v3.ServiceLevelObjective>( - this, METHODID_UPDATE_SERVICE_LEVEL_OBJECTIVE))) - .addMethod( - getDeleteServiceLevelObjectiveMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_SERVICE_LEVEL_OBJECTIVE))) - .build(); - } - } - - /** - *
-   * The Cloud Monitoring Service-Oriented Monitoring API has endpoints for
-   * managing and querying aspects of a workspace's services. These include the
-   * `Service`'s monitored resources, its Service-Level Objectives, and a taxonomy
-   * of categorized Health Metrics.
-   * 
- */ - public static final class ServiceMonitoringServiceStub extends io.grpc.stub.AbstractAsyncStub { - private ServiceMonitoringServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ServiceMonitoringServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ServiceMonitoringServiceStub(channel, callOptions); - } - - /** - *
-     * Create a `Service`.
-     * 
- */ - public void createService(com.google.monitoring.v3.CreateServiceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateServiceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Get the named `Service`.
-     * 
- */ - public void getService(com.google.monitoring.v3.GetServiceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetServiceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * List `Service`s for this workspace.
-     * 
- */ - public void listServices(com.google.monitoring.v3.ListServicesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListServicesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Update this `Service`.
-     * 
- */ - public void updateService(com.google.monitoring.v3.UpdateServiceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateServiceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Soft delete this `Service`.
-     * 
- */ - public void deleteService(com.google.monitoring.v3.DeleteServiceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteServiceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Create a `ServiceLevelObjective` for the given `Service`.
-     * 
- */ - public void createServiceLevelObjective(com.google.monitoring.v3.CreateServiceLevelObjectiveRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateServiceLevelObjectiveMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Get a `ServiceLevelObjective` by name.
-     * 
- */ - public void getServiceLevelObjective(com.google.monitoring.v3.GetServiceLevelObjectiveRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetServiceLevelObjectiveMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * List the `ServiceLevelObjective`s for the given `Service`.
-     * 
- */ - public void listServiceLevelObjectives(com.google.monitoring.v3.ListServiceLevelObjectivesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListServiceLevelObjectivesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Update the given `ServiceLevelObjective`.
-     * 
- */ - public void updateServiceLevelObjective(com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateServiceLevelObjectiveMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Delete the given `ServiceLevelObjective`.
-     * 
- */ - public void deleteServiceLevelObjective(com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteServiceLevelObjectiveMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * The Cloud Monitoring Service-Oriented Monitoring API has endpoints for
-   * managing and querying aspects of a workspace's services. These include the
-   * `Service`'s monitored resources, its Service-Level Objectives, and a taxonomy
-   * of categorized Health Metrics.
-   * 
- */ - public static final class ServiceMonitoringServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private ServiceMonitoringServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ServiceMonitoringServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ServiceMonitoringServiceBlockingStub(channel, callOptions); - } - - /** - *
-     * Create a `Service`.
-     * 
- */ - public com.google.monitoring.v3.Service createService(com.google.monitoring.v3.CreateServiceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateServiceMethod(), getCallOptions(), request); - } - - /** - *
-     * Get the named `Service`.
-     * 
- */ - public com.google.monitoring.v3.Service getService(com.google.monitoring.v3.GetServiceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetServiceMethod(), getCallOptions(), request); - } - - /** - *
-     * List `Service`s for this workspace.
-     * 
- */ - public com.google.monitoring.v3.ListServicesResponse listServices(com.google.monitoring.v3.ListServicesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListServicesMethod(), getCallOptions(), request); - } - - /** - *
-     * Update this `Service`.
-     * 
- */ - public com.google.monitoring.v3.Service updateService(com.google.monitoring.v3.UpdateServiceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateServiceMethod(), getCallOptions(), request); - } - - /** - *
-     * Soft delete this `Service`.
-     * 
- */ - public com.google.protobuf.Empty deleteService(com.google.monitoring.v3.DeleteServiceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteServiceMethod(), getCallOptions(), request); - } - - /** - *
-     * Create a `ServiceLevelObjective` for the given `Service`.
-     * 
- */ - public com.google.monitoring.v3.ServiceLevelObjective createServiceLevelObjective(com.google.monitoring.v3.CreateServiceLevelObjectiveRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateServiceLevelObjectiveMethod(), getCallOptions(), request); - } - - /** - *
-     * Get a `ServiceLevelObjective` by name.
-     * 
- */ - public com.google.monitoring.v3.ServiceLevelObjective getServiceLevelObjective(com.google.monitoring.v3.GetServiceLevelObjectiveRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetServiceLevelObjectiveMethod(), getCallOptions(), request); - } - - /** - *
-     * List the `ServiceLevelObjective`s for the given `Service`.
-     * 
- */ - public com.google.monitoring.v3.ListServiceLevelObjectivesResponse listServiceLevelObjectives(com.google.monitoring.v3.ListServiceLevelObjectivesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListServiceLevelObjectivesMethod(), getCallOptions(), request); - } - - /** - *
-     * Update the given `ServiceLevelObjective`.
-     * 
- */ - public com.google.monitoring.v3.ServiceLevelObjective updateServiceLevelObjective(com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateServiceLevelObjectiveMethod(), getCallOptions(), request); - } - - /** - *
-     * Delete the given `ServiceLevelObjective`.
-     * 
- */ - public com.google.protobuf.Empty deleteServiceLevelObjective(com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteServiceLevelObjectiveMethod(), getCallOptions(), request); - } - } - - /** - *
-   * The Cloud Monitoring Service-Oriented Monitoring API has endpoints for
-   * managing and querying aspects of a workspace's services. These include the
-   * `Service`'s monitored resources, its Service-Level Objectives, and a taxonomy
-   * of categorized Health Metrics.
-   * 
- */ - public static final class ServiceMonitoringServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private ServiceMonitoringServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ServiceMonitoringServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ServiceMonitoringServiceFutureStub(channel, callOptions); - } - - /** - *
-     * Create a `Service`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createService( - com.google.monitoring.v3.CreateServiceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateServiceMethod(), getCallOptions()), request); - } - - /** - *
-     * Get the named `Service`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getService( - com.google.monitoring.v3.GetServiceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetServiceMethod(), getCallOptions()), request); - } - - /** - *
-     * List `Service`s for this workspace.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listServices( - com.google.monitoring.v3.ListServicesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListServicesMethod(), getCallOptions()), request); - } - - /** - *
-     * Update this `Service`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateService( - com.google.monitoring.v3.UpdateServiceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateServiceMethod(), getCallOptions()), request); - } - - /** - *
-     * Soft delete this `Service`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteService( - com.google.monitoring.v3.DeleteServiceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteServiceMethod(), getCallOptions()), request); - } - - /** - *
-     * Create a `ServiceLevelObjective` for the given `Service`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createServiceLevelObjective( - com.google.monitoring.v3.CreateServiceLevelObjectiveRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateServiceLevelObjectiveMethod(), getCallOptions()), request); - } - - /** - *
-     * Get a `ServiceLevelObjective` by name.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getServiceLevelObjective( - com.google.monitoring.v3.GetServiceLevelObjectiveRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetServiceLevelObjectiveMethod(), getCallOptions()), request); - } - - /** - *
-     * List the `ServiceLevelObjective`s for the given `Service`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listServiceLevelObjectives( - com.google.monitoring.v3.ListServiceLevelObjectivesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListServiceLevelObjectivesMethod(), getCallOptions()), request); - } - - /** - *
-     * Update the given `ServiceLevelObjective`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateServiceLevelObjective( - com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateServiceLevelObjectiveMethod(), getCallOptions()), request); - } - - /** - *
-     * Delete the given `ServiceLevelObjective`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteServiceLevelObjective( - com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteServiceLevelObjectiveMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_SERVICE = 0; - private static final int METHODID_GET_SERVICE = 1; - private static final int METHODID_LIST_SERVICES = 2; - private static final int METHODID_UPDATE_SERVICE = 3; - private static final int METHODID_DELETE_SERVICE = 4; - private static final int METHODID_CREATE_SERVICE_LEVEL_OBJECTIVE = 5; - private static final int METHODID_GET_SERVICE_LEVEL_OBJECTIVE = 6; - private static final int METHODID_LIST_SERVICE_LEVEL_OBJECTIVES = 7; - private static final int METHODID_UPDATE_SERVICE_LEVEL_OBJECTIVE = 8; - private static final int METHODID_DELETE_SERVICE_LEVEL_OBJECTIVE = 9; - - 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 ServiceMonitoringServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ServiceMonitoringServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_SERVICE: - serviceImpl.createService((com.google.monitoring.v3.CreateServiceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_SERVICE: - serviceImpl.getService((com.google.monitoring.v3.GetServiceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_SERVICES: - serviceImpl.listServices((com.google.monitoring.v3.ListServicesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_SERVICE: - serviceImpl.updateService((com.google.monitoring.v3.UpdateServiceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_SERVICE: - serviceImpl.deleteService((com.google.monitoring.v3.DeleteServiceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_SERVICE_LEVEL_OBJECTIVE: - serviceImpl.createServiceLevelObjective((com.google.monitoring.v3.CreateServiceLevelObjectiveRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_SERVICE_LEVEL_OBJECTIVE: - serviceImpl.getServiceLevelObjective((com.google.monitoring.v3.GetServiceLevelObjectiveRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_SERVICE_LEVEL_OBJECTIVES: - serviceImpl.listServiceLevelObjectives((com.google.monitoring.v3.ListServiceLevelObjectivesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_SERVICE_LEVEL_OBJECTIVE: - serviceImpl.updateServiceLevelObjective((com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_SERVICE_LEVEL_OBJECTIVE: - serviceImpl.deleteServiceLevelObjective((com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class ServiceMonitoringServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - ServiceMonitoringServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("ServiceMonitoringService"); - } - } - - private static final class ServiceMonitoringServiceFileDescriptorSupplier - extends ServiceMonitoringServiceBaseDescriptorSupplier { - ServiceMonitoringServiceFileDescriptorSupplier() {} - } - - private static final class ServiceMonitoringServiceMethodDescriptorSupplier - extends ServiceMonitoringServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - ServiceMonitoringServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (ServiceMonitoringServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ServiceMonitoringServiceFileDescriptorSupplier()) - .addMethod(getCreateServiceMethod()) - .addMethod(getGetServiceMethod()) - .addMethod(getListServicesMethod()) - .addMethod(getUpdateServiceMethod()) - .addMethod(getDeleteServiceMethod()) - .addMethod(getCreateServiceLevelObjectiveMethod()) - .addMethod(getGetServiceLevelObjectiveMethod()) - .addMethod(getListServiceLevelObjectivesMethod()) - .addMethod(getUpdateServiceLevelObjectiveMethod()) - .addMethod(getDeleteServiceLevelObjectiveMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckServiceGrpc.java b/owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckServiceGrpc.java deleted file mode 100644 index c0af3f59..00000000 --- a/owl-bot-staging/v3/grpc-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckServiceGrpc.java +++ /dev/null @@ -1,792 +0,0 @@ -package com.google.monitoring.v3; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * The UptimeCheckService API is used to manage (list, create, delete, edit)
- * Uptime check configurations in the Stackdriver Monitoring product. An Uptime
- * check is a piece of configuration that determines which resources and
- * services to monitor for availability. These configurations can also be
- * configured interactively by navigating to the [Cloud Console]
- * (http://console.cloud.google.com), selecting the appropriate project,
- * clicking on "Monitoring" on the left-hand side to navigate to Stackdriver,
- * and then clicking on "Uptime".
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/monitoring/v3/uptime_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class UptimeCheckServiceGrpc { - - private UptimeCheckServiceGrpc() {} - - public static final String SERVICE_NAME = "google.monitoring.v3.UptimeCheckService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getListUptimeCheckConfigsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListUptimeCheckConfigs", - requestType = com.google.monitoring.v3.ListUptimeCheckConfigsRequest.class, - responseType = com.google.monitoring.v3.ListUptimeCheckConfigsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListUptimeCheckConfigsMethod() { - io.grpc.MethodDescriptor getListUptimeCheckConfigsMethod; - if ((getListUptimeCheckConfigsMethod = UptimeCheckServiceGrpc.getListUptimeCheckConfigsMethod) == null) { - synchronized (UptimeCheckServiceGrpc.class) { - if ((getListUptimeCheckConfigsMethod = UptimeCheckServiceGrpc.getListUptimeCheckConfigsMethod) == null) { - UptimeCheckServiceGrpc.getListUptimeCheckConfigsMethod = getListUptimeCheckConfigsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListUptimeCheckConfigs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.ListUptimeCheckConfigsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.ListUptimeCheckConfigsResponse.getDefaultInstance())) - .setSchemaDescriptor(new UptimeCheckServiceMethodDescriptorSupplier("ListUptimeCheckConfigs")) - .build(); - } - } - } - return getListUptimeCheckConfigsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetUptimeCheckConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetUptimeCheckConfig", - requestType = com.google.monitoring.v3.GetUptimeCheckConfigRequest.class, - responseType = com.google.monitoring.v3.UptimeCheckConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetUptimeCheckConfigMethod() { - io.grpc.MethodDescriptor getGetUptimeCheckConfigMethod; - if ((getGetUptimeCheckConfigMethod = UptimeCheckServiceGrpc.getGetUptimeCheckConfigMethod) == null) { - synchronized (UptimeCheckServiceGrpc.class) { - if ((getGetUptimeCheckConfigMethod = UptimeCheckServiceGrpc.getGetUptimeCheckConfigMethod) == null) { - UptimeCheckServiceGrpc.getGetUptimeCheckConfigMethod = getGetUptimeCheckConfigMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetUptimeCheckConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.GetUptimeCheckConfigRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance())) - .setSchemaDescriptor(new UptimeCheckServiceMethodDescriptorSupplier("GetUptimeCheckConfig")) - .build(); - } - } - } - return getGetUptimeCheckConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateUptimeCheckConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateUptimeCheckConfig", - requestType = com.google.monitoring.v3.CreateUptimeCheckConfigRequest.class, - responseType = com.google.monitoring.v3.UptimeCheckConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateUptimeCheckConfigMethod() { - io.grpc.MethodDescriptor getCreateUptimeCheckConfigMethod; - if ((getCreateUptimeCheckConfigMethod = UptimeCheckServiceGrpc.getCreateUptimeCheckConfigMethod) == null) { - synchronized (UptimeCheckServiceGrpc.class) { - if ((getCreateUptimeCheckConfigMethod = UptimeCheckServiceGrpc.getCreateUptimeCheckConfigMethod) == null) { - UptimeCheckServiceGrpc.getCreateUptimeCheckConfigMethod = getCreateUptimeCheckConfigMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateUptimeCheckConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.CreateUptimeCheckConfigRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance())) - .setSchemaDescriptor(new UptimeCheckServiceMethodDescriptorSupplier("CreateUptimeCheckConfig")) - .build(); - } - } - } - return getCreateUptimeCheckConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateUptimeCheckConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateUptimeCheckConfig", - requestType = com.google.monitoring.v3.UpdateUptimeCheckConfigRequest.class, - responseType = com.google.monitoring.v3.UptimeCheckConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateUptimeCheckConfigMethod() { - io.grpc.MethodDescriptor getUpdateUptimeCheckConfigMethod; - if ((getUpdateUptimeCheckConfigMethod = UptimeCheckServiceGrpc.getUpdateUptimeCheckConfigMethod) == null) { - synchronized (UptimeCheckServiceGrpc.class) { - if ((getUpdateUptimeCheckConfigMethod = UptimeCheckServiceGrpc.getUpdateUptimeCheckConfigMethod) == null) { - UptimeCheckServiceGrpc.getUpdateUptimeCheckConfigMethod = getUpdateUptimeCheckConfigMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateUptimeCheckConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.UpdateUptimeCheckConfigRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance())) - .setSchemaDescriptor(new UptimeCheckServiceMethodDescriptorSupplier("UpdateUptimeCheckConfig")) - .build(); - } - } - } - return getUpdateUptimeCheckConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteUptimeCheckConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteUptimeCheckConfig", - requestType = com.google.monitoring.v3.DeleteUptimeCheckConfigRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteUptimeCheckConfigMethod() { - io.grpc.MethodDescriptor getDeleteUptimeCheckConfigMethod; - if ((getDeleteUptimeCheckConfigMethod = UptimeCheckServiceGrpc.getDeleteUptimeCheckConfigMethod) == null) { - synchronized (UptimeCheckServiceGrpc.class) { - if ((getDeleteUptimeCheckConfigMethod = UptimeCheckServiceGrpc.getDeleteUptimeCheckConfigMethod) == null) { - UptimeCheckServiceGrpc.getDeleteUptimeCheckConfigMethod = getDeleteUptimeCheckConfigMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteUptimeCheckConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.DeleteUptimeCheckConfigRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new UptimeCheckServiceMethodDescriptorSupplier("DeleteUptimeCheckConfig")) - .build(); - } - } - } - return getDeleteUptimeCheckConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor getListUptimeCheckIpsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListUptimeCheckIps", - requestType = com.google.monitoring.v3.ListUptimeCheckIpsRequest.class, - responseType = com.google.monitoring.v3.ListUptimeCheckIpsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListUptimeCheckIpsMethod() { - io.grpc.MethodDescriptor getListUptimeCheckIpsMethod; - if ((getListUptimeCheckIpsMethod = UptimeCheckServiceGrpc.getListUptimeCheckIpsMethod) == null) { - synchronized (UptimeCheckServiceGrpc.class) { - if ((getListUptimeCheckIpsMethod = UptimeCheckServiceGrpc.getListUptimeCheckIpsMethod) == null) { - UptimeCheckServiceGrpc.getListUptimeCheckIpsMethod = getListUptimeCheckIpsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListUptimeCheckIps")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.ListUptimeCheckIpsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.monitoring.v3.ListUptimeCheckIpsResponse.getDefaultInstance())) - .setSchemaDescriptor(new UptimeCheckServiceMethodDescriptorSupplier("ListUptimeCheckIps")) - .build(); - } - } - } - return getListUptimeCheckIpsMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static UptimeCheckServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public UptimeCheckServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new UptimeCheckServiceStub(channel, callOptions); - } - }; - return UptimeCheckServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static UptimeCheckServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public UptimeCheckServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new UptimeCheckServiceBlockingStub(channel, callOptions); - } - }; - return UptimeCheckServiceBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static UptimeCheckServiceFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public UptimeCheckServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new UptimeCheckServiceFutureStub(channel, callOptions); - } - }; - return UptimeCheckServiceFutureStub.newStub(factory, channel); - } - - /** - *
-   * The UptimeCheckService API is used to manage (list, create, delete, edit)
-   * Uptime check configurations in the Stackdriver Monitoring product. An Uptime
-   * check is a piece of configuration that determines which resources and
-   * services to monitor for availability. These configurations can also be
-   * configured interactively by navigating to the [Cloud Console]
-   * (http://console.cloud.google.com), selecting the appropriate project,
-   * clicking on "Monitoring" on the left-hand side to navigate to Stackdriver,
-   * and then clicking on "Uptime".
-   * 
- */ - public static abstract class UptimeCheckServiceImplBase implements io.grpc.BindableService { - - /** - *
-     * Lists the existing valid Uptime check configurations for the project
-     * (leaving out any invalid configurations).
-     * 
- */ - public void listUptimeCheckConfigs(com.google.monitoring.v3.ListUptimeCheckConfigsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListUptimeCheckConfigsMethod(), responseObserver); - } - - /** - *
-     * Gets a single Uptime check configuration.
-     * 
- */ - public void getUptimeCheckConfig(com.google.monitoring.v3.GetUptimeCheckConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetUptimeCheckConfigMethod(), responseObserver); - } - - /** - *
-     * Creates a new Uptime check configuration.
-     * 
- */ - public void createUptimeCheckConfig(com.google.monitoring.v3.CreateUptimeCheckConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateUptimeCheckConfigMethod(), responseObserver); - } - - /** - *
-     * Updates an Uptime check configuration. You can either replace the entire
-     * configuration with a new one or replace only certain fields in the current
-     * configuration by specifying the fields to be updated via `updateMask`.
-     * Returns the updated configuration.
-     * 
- */ - public void updateUptimeCheckConfig(com.google.monitoring.v3.UpdateUptimeCheckConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateUptimeCheckConfigMethod(), responseObserver); - } - - /** - *
-     * Deletes an Uptime check configuration. Note that this method will fail
-     * if the Uptime check configuration is referenced by an alert policy or
-     * other dependent configs that would be rendered invalid by the deletion.
-     * 
- */ - public void deleteUptimeCheckConfig(com.google.monitoring.v3.DeleteUptimeCheckConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteUptimeCheckConfigMethod(), responseObserver); - } - - /** - *
-     * Returns the list of IP addresses that checkers run from
-     * 
- */ - public void listUptimeCheckIps(com.google.monitoring.v3.ListUptimeCheckIpsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListUptimeCheckIpsMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListUptimeCheckConfigsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.ListUptimeCheckConfigsRequest, - com.google.monitoring.v3.ListUptimeCheckConfigsResponse>( - this, METHODID_LIST_UPTIME_CHECK_CONFIGS))) - .addMethod( - getGetUptimeCheckConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.GetUptimeCheckConfigRequest, - com.google.monitoring.v3.UptimeCheckConfig>( - this, METHODID_GET_UPTIME_CHECK_CONFIG))) - .addMethod( - getCreateUptimeCheckConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.CreateUptimeCheckConfigRequest, - com.google.monitoring.v3.UptimeCheckConfig>( - this, METHODID_CREATE_UPTIME_CHECK_CONFIG))) - .addMethod( - getUpdateUptimeCheckConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.UpdateUptimeCheckConfigRequest, - com.google.monitoring.v3.UptimeCheckConfig>( - this, METHODID_UPDATE_UPTIME_CHECK_CONFIG))) - .addMethod( - getDeleteUptimeCheckConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.DeleteUptimeCheckConfigRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_UPTIME_CHECK_CONFIG))) - .addMethod( - getListUptimeCheckIpsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.monitoring.v3.ListUptimeCheckIpsRequest, - com.google.monitoring.v3.ListUptimeCheckIpsResponse>( - this, METHODID_LIST_UPTIME_CHECK_IPS))) - .build(); - } - } - - /** - *
-   * The UptimeCheckService API is used to manage (list, create, delete, edit)
-   * Uptime check configurations in the Stackdriver Monitoring product. An Uptime
-   * check is a piece of configuration that determines which resources and
-   * services to monitor for availability. These configurations can also be
-   * configured interactively by navigating to the [Cloud Console]
-   * (http://console.cloud.google.com), selecting the appropriate project,
-   * clicking on "Monitoring" on the left-hand side to navigate to Stackdriver,
-   * and then clicking on "Uptime".
-   * 
- */ - public static final class UptimeCheckServiceStub extends io.grpc.stub.AbstractAsyncStub { - private UptimeCheckServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected UptimeCheckServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new UptimeCheckServiceStub(channel, callOptions); - } - - /** - *
-     * Lists the existing valid Uptime check configurations for the project
-     * (leaving out any invalid configurations).
-     * 
- */ - public void listUptimeCheckConfigs(com.google.monitoring.v3.ListUptimeCheckConfigsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListUptimeCheckConfigsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a single Uptime check configuration.
-     * 
- */ - public void getUptimeCheckConfig(com.google.monitoring.v3.GetUptimeCheckConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetUptimeCheckConfigMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new Uptime check configuration.
-     * 
- */ - public void createUptimeCheckConfig(com.google.monitoring.v3.CreateUptimeCheckConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateUptimeCheckConfigMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates an Uptime check configuration. You can either replace the entire
-     * configuration with a new one or replace only certain fields in the current
-     * configuration by specifying the fields to be updated via `updateMask`.
-     * Returns the updated configuration.
-     * 
- */ - public void updateUptimeCheckConfig(com.google.monitoring.v3.UpdateUptimeCheckConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateUptimeCheckConfigMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes an Uptime check configuration. Note that this method will fail
-     * if the Uptime check configuration is referenced by an alert policy or
-     * other dependent configs that would be rendered invalid by the deletion.
-     * 
- */ - public void deleteUptimeCheckConfig(com.google.monitoring.v3.DeleteUptimeCheckConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteUptimeCheckConfigMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns the list of IP addresses that checkers run from
-     * 
- */ - public void listUptimeCheckIps(com.google.monitoring.v3.ListUptimeCheckIpsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListUptimeCheckIpsMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * The UptimeCheckService API is used to manage (list, create, delete, edit)
-   * Uptime check configurations in the Stackdriver Monitoring product. An Uptime
-   * check is a piece of configuration that determines which resources and
-   * services to monitor for availability. These configurations can also be
-   * configured interactively by navigating to the [Cloud Console]
-   * (http://console.cloud.google.com), selecting the appropriate project,
-   * clicking on "Monitoring" on the left-hand side to navigate to Stackdriver,
-   * and then clicking on "Uptime".
-   * 
- */ - public static final class UptimeCheckServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private UptimeCheckServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected UptimeCheckServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new UptimeCheckServiceBlockingStub(channel, callOptions); - } - - /** - *
-     * Lists the existing valid Uptime check configurations for the project
-     * (leaving out any invalid configurations).
-     * 
- */ - public com.google.monitoring.v3.ListUptimeCheckConfigsResponse listUptimeCheckConfigs(com.google.monitoring.v3.ListUptimeCheckConfigsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListUptimeCheckConfigsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a single Uptime check configuration.
-     * 
- */ - public com.google.monitoring.v3.UptimeCheckConfig getUptimeCheckConfig(com.google.monitoring.v3.GetUptimeCheckConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetUptimeCheckConfigMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new Uptime check configuration.
-     * 
- */ - public com.google.monitoring.v3.UptimeCheckConfig createUptimeCheckConfig(com.google.monitoring.v3.CreateUptimeCheckConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateUptimeCheckConfigMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates an Uptime check configuration. You can either replace the entire
-     * configuration with a new one or replace only certain fields in the current
-     * configuration by specifying the fields to be updated via `updateMask`.
-     * Returns the updated configuration.
-     * 
- */ - public com.google.monitoring.v3.UptimeCheckConfig updateUptimeCheckConfig(com.google.monitoring.v3.UpdateUptimeCheckConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateUptimeCheckConfigMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes an Uptime check configuration. Note that this method will fail
-     * if the Uptime check configuration is referenced by an alert policy or
-     * other dependent configs that would be rendered invalid by the deletion.
-     * 
- */ - public com.google.protobuf.Empty deleteUptimeCheckConfig(com.google.monitoring.v3.DeleteUptimeCheckConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteUptimeCheckConfigMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns the list of IP addresses that checkers run from
-     * 
- */ - public com.google.monitoring.v3.ListUptimeCheckIpsResponse listUptimeCheckIps(com.google.monitoring.v3.ListUptimeCheckIpsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListUptimeCheckIpsMethod(), getCallOptions(), request); - } - } - - /** - *
-   * The UptimeCheckService API is used to manage (list, create, delete, edit)
-   * Uptime check configurations in the Stackdriver Monitoring product. An Uptime
-   * check is a piece of configuration that determines which resources and
-   * services to monitor for availability. These configurations can also be
-   * configured interactively by navigating to the [Cloud Console]
-   * (http://console.cloud.google.com), selecting the appropriate project,
-   * clicking on "Monitoring" on the left-hand side to navigate to Stackdriver,
-   * and then clicking on "Uptime".
-   * 
- */ - public static final class UptimeCheckServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private UptimeCheckServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected UptimeCheckServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new UptimeCheckServiceFutureStub(channel, callOptions); - } - - /** - *
-     * Lists the existing valid Uptime check configurations for the project
-     * (leaving out any invalid configurations).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listUptimeCheckConfigs( - com.google.monitoring.v3.ListUptimeCheckConfigsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListUptimeCheckConfigsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a single Uptime check configuration.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getUptimeCheckConfig( - com.google.monitoring.v3.GetUptimeCheckConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetUptimeCheckConfigMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new Uptime check configuration.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createUptimeCheckConfig( - com.google.monitoring.v3.CreateUptimeCheckConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateUptimeCheckConfigMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates an Uptime check configuration. You can either replace the entire
-     * configuration with a new one or replace only certain fields in the current
-     * configuration by specifying the fields to be updated via `updateMask`.
-     * Returns the updated configuration.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateUptimeCheckConfig( - com.google.monitoring.v3.UpdateUptimeCheckConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateUptimeCheckConfigMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes an Uptime check configuration. Note that this method will fail
-     * if the Uptime check configuration is referenced by an alert policy or
-     * other dependent configs that would be rendered invalid by the deletion.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteUptimeCheckConfig( - com.google.monitoring.v3.DeleteUptimeCheckConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteUptimeCheckConfigMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns the list of IP addresses that checkers run from
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listUptimeCheckIps( - com.google.monitoring.v3.ListUptimeCheckIpsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListUptimeCheckIpsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_UPTIME_CHECK_CONFIGS = 0; - private static final int METHODID_GET_UPTIME_CHECK_CONFIG = 1; - private static final int METHODID_CREATE_UPTIME_CHECK_CONFIG = 2; - private static final int METHODID_UPDATE_UPTIME_CHECK_CONFIG = 3; - private static final int METHODID_DELETE_UPTIME_CHECK_CONFIG = 4; - private static final int METHODID_LIST_UPTIME_CHECK_IPS = 5; - - 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 UptimeCheckServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(UptimeCheckServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_LIST_UPTIME_CHECK_CONFIGS: - serviceImpl.listUptimeCheckConfigs((com.google.monitoring.v3.ListUptimeCheckConfigsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_UPTIME_CHECK_CONFIG: - serviceImpl.getUptimeCheckConfig((com.google.monitoring.v3.GetUptimeCheckConfigRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_UPTIME_CHECK_CONFIG: - serviceImpl.createUptimeCheckConfig((com.google.monitoring.v3.CreateUptimeCheckConfigRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_UPTIME_CHECK_CONFIG: - serviceImpl.updateUptimeCheckConfig((com.google.monitoring.v3.UpdateUptimeCheckConfigRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_UPTIME_CHECK_CONFIG: - serviceImpl.deleteUptimeCheckConfig((com.google.monitoring.v3.DeleteUptimeCheckConfigRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_UPTIME_CHECK_IPS: - serviceImpl.listUptimeCheckIps((com.google.monitoring.v3.ListUptimeCheckIpsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class UptimeCheckServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - UptimeCheckServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.monitoring.v3.UptimeServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("UptimeCheckService"); - } - } - - private static final class UptimeCheckServiceFileDescriptorSupplier - extends UptimeCheckServiceBaseDescriptorSupplier { - UptimeCheckServiceFileDescriptorSupplier() {} - } - - private static final class UptimeCheckServiceMethodDescriptorSupplier - extends UptimeCheckServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - UptimeCheckServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (UptimeCheckServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new UptimeCheckServiceFileDescriptorSupplier()) - .addMethod(getListUptimeCheckConfigsMethod()) - .addMethod(getGetUptimeCheckConfigMethod()) - .addMethod(getCreateUptimeCheckConfigMethod()) - .addMethod(getUpdateUptimeCheckConfigMethod()) - .addMethod(getDeleteUptimeCheckConfigMethod()) - .addMethod(getListUptimeCheckIpsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertProto.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertProto.java deleted file mode 100644 index 8aa944ba..00000000 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertProto.java +++ /dev/null @@ -1,275 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/monitoring/v3/alert.proto - -package com.google.monitoring.v3; - -public final class AlertProto { - private AlertProto() {} - 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_monitoring_v3_AlertPolicy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_AlertPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_AlertPolicy_Documentation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_AlertPolicy_Documentation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_AlertPolicy_Condition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_AlertPolicy_Condition_Trigger_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_AlertPolicy_Condition_Trigger_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricThreshold_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricThreshold_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricAbsence_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricAbsence_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_LabelExtractorsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_LabelExtractorsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_AlertPolicy_Condition_MonitoringQueryLanguageCondition_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_AlertPolicy_Condition_MonitoringQueryLanguageCondition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_NotificationRateLimit_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_NotificationRateLimit_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_AlertPolicy_UserLabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_AlertPolicy_UserLabelsEntry_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/monitoring/v3/alert.proto\022\024goog" + - "le.monitoring.v3\032\037google/api/field_behav" + - "ior.proto\032\031google/api/resource.proto\032!go" + - "ogle/monitoring/v3/common.proto\032*google/" + - "monitoring/v3/mutation_record.proto\032\036goo" + - "gle/protobuf/duration.proto\032\036google/prot" + - "obuf/wrappers.proto\032\027google/rpc/status.p" + - "roto\"\343\027\n\013AlertPolicy\022\014\n\004name\030\001 \001(\t\022\024\n\014di" + - "splay_name\030\002 \001(\t\022F\n\rdocumentation\030\r \001(\0132" + - "/.google.monitoring.v3.AlertPolicy.Docum" + - "entation\022F\n\013user_labels\030\020 \003(\01321.google.m" + - "onitoring.v3.AlertPolicy.UserLabelsEntry" + - "\022?\n\nconditions\030\014 \003(\0132+.google.monitoring" + - ".v3.AlertPolicy.Condition\022I\n\010combiner\030\006 " + - "\001(\01627.google.monitoring.v3.AlertPolicy.C" + - "onditionCombinerType\022+\n\007enabled\030\021 \001(\0132\032." + - "google.protobuf.BoolValue\022$\n\010validity\030\022 " + - "\001(\0132\022.google.rpc.Status\022\035\n\025notification_" + - "channels\030\016 \003(\t\022=\n\017creation_record\030\n \001(\0132" + - "$.google.monitoring.v3.MutationRecord\022=\n" + - "\017mutation_record\030\013 \001(\0132$.google.monitori" + - "ng.v3.MutationRecord\022G\n\016alert_strategy\030\025" + - " \001(\0132/.google.monitoring.v3.AlertPolicy." + - "AlertStrategy\0323\n\rDocumentation\022\017\n\007conten" + - "t\030\001 \001(\t\022\021\n\tmime_type\030\002 \001(\t\032\326\r\n\tCondition" + - "\022\014\n\004name\030\014 \001(\t\022\024\n\014display_name\030\006 \001(\t\022Z\n\023" + - "condition_threshold\030\001 \001(\0132;.google.monit" + - "oring.v3.AlertPolicy.Condition.MetricThr" + - "esholdH\000\022U\n\020condition_absent\030\002 \001(\01329.goo" + - "gle.monitoring.v3.AlertPolicy.Condition." + - "MetricAbsenceH\000\022U\n\025condition_matched_log" + - "\030\024 \001(\01324.google.monitoring.v3.AlertPolic" + - "y.Condition.LogMatchH\000\022{\n#condition_moni" + - "toring_query_language\030\023 \001(\0132L.google.mon" + - "itoring.v3.AlertPolicy.Condition.Monitor" + - "ingQueryLanguageConditionH\000\0325\n\007Trigger\022\017" + - "\n\005count\030\001 \001(\005H\000\022\021\n\007percent\030\002 \001(\001H\000B\006\n\004ty" + - "pe\032\206\003\n\017MetricThreshold\022\023\n\006filter\030\002 \001(\tB\003" + - "\340A\002\0227\n\014aggregations\030\010 \003(\0132!.google.monit" + - "oring.v3.Aggregation\022\032\n\022denominator_filt" + - "er\030\t \001(\t\022C\n\030denominator_aggregations\030\n \003" + - "(\0132!.google.monitoring.v3.Aggregation\0228\n" + - "\ncomparison\030\004 \001(\0162$.google.monitoring.v3" + - ".ComparisonType\022\027\n\017threshold_value\030\005 \001(\001" + - "\022+\n\010duration\030\006 \001(\0132\031.google.protobuf.Dur" + - "ation\022D\n\007trigger\030\007 \001(\01323.google.monitori" + - "ng.v3.AlertPolicy.Condition.Trigger\032\320\001\n\r" + - "MetricAbsence\022\023\n\006filter\030\001 \001(\tB\003\340A\002\0227\n\014ag" + - "gregations\030\005 \003(\0132!.google.monitoring.v3." + - "Aggregation\022+\n\010duration\030\002 \001(\0132\031.google.p" + - "rotobuf.Duration\022D\n\007trigger\030\003 \001(\01323.goog" + - "le.monitoring.v3.AlertPolicy.Condition.T" + - "rigger\032\274\001\n\010LogMatch\022\023\n\006filter\030\001 \001(\tB\003\340A\002" + - "\022c\n\020label_extractors\030\002 \003(\0132I.google.moni" + - "toring.v3.AlertPolicy.Condition.LogMatch" + - ".LabelExtractorsEntry\0326\n\024LabelExtractors" + - "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032\244\001" + - "\n MonitoringQueryLanguageCondition\022\r\n\005qu" + - "ery\030\001 \001(\t\022+\n\010duration\030\002 \001(\0132\031.google.pro" + - "tobuf.Duration\022D\n\007trigger\030\003 \001(\01323.google" + - ".monitoring.v3.AlertPolicy.Condition.Tri" + - "gger:\227\002\352A\223\002\n.monitoring.googleapis.com/A" + - "lertPolicyCondition\022Fprojects/{project}/" + - "alertPolicies/{alert_policy}/conditions/" + - "{condition}\022Porganizations/{organization" + - "}/alertPolicies/{alert_policy}/condition" + - "s/{condition}\022Dfolders/{folder}/alertPol" + - "icies/{alert_policy}/conditions/{conditi" + - "on}\022\001*B\013\n\tcondition\032\352\001\n\rAlertStrategy\022f\n" + - "\027notification_rate_limit\030\001 \001(\0132E.google." + - "monitoring.v3.AlertPolicy.AlertStrategy." + - "NotificationRateLimit\022-\n\nauto_close\030\003 \001(" + - "\0132\031.google.protobuf.Duration\032B\n\025Notifica" + - "tionRateLimit\022)\n\006period\030\001 \001(\0132\031.google.p" + - "rotobuf.Duration\0321\n\017UserLabelsEntry\022\013\n\003k" + - "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"a\n\025Condition" + - "CombinerType\022\027\n\023COMBINE_UNSPECIFIED\020\000\022\007\n" + - "\003AND\020\001\022\006\n\002OR\020\002\022\036\n\032AND_WITH_MATCHING_RESO" + - "URCE\020\003:\311\001\352A\305\001\n%monitoring.googleapis.com" + - "/AlertPolicy\022/projects/{project}/alertPo" + - "licies/{alert_policy}\0229organizations/{or" + - "ganization}/alertPolicies/{alert_policy}" + - "\022-folders/{folder}/alertPolicies/{alert_" + - "policy}\022\001*B\302\001\n\030com.google.monitoring.v3B" + - "\nAlertProtoP\001Z>google.golang.org/genprot" + - "o/googleapis/monitoring/v3;monitoring\252\002\032" + - "Google.Cloud.Monitoring.V3\312\002\032Google\\Clou" + - "d\\Monitoring\\V3\352\002\035Google::Cloud::Monitor" + - "ing::V3b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.monitoring.v3.CommonProto.getDescriptor(), - com.google.monitoring.v3.MutationRecordProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.WrappersProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_monitoring_v3_AlertPolicy_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_monitoring_v3_AlertPolicy_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_AlertPolicy_descriptor, - new java.lang.String[] { "Name", "DisplayName", "Documentation", "UserLabels", "Conditions", "Combiner", "Enabled", "Validity", "NotificationChannels", "CreationRecord", "MutationRecord", "AlertStrategy", }); - internal_static_google_monitoring_v3_AlertPolicy_Documentation_descriptor = - internal_static_google_monitoring_v3_AlertPolicy_descriptor.getNestedTypes().get(0); - internal_static_google_monitoring_v3_AlertPolicy_Documentation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_AlertPolicy_Documentation_descriptor, - new java.lang.String[] { "Content", "MimeType", }); - internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor = - internal_static_google_monitoring_v3_AlertPolicy_descriptor.getNestedTypes().get(1); - internal_static_google_monitoring_v3_AlertPolicy_Condition_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor, - new java.lang.String[] { "Name", "DisplayName", "ConditionThreshold", "ConditionAbsent", "ConditionMatchedLog", "ConditionMonitoringQueryLanguage", "Condition", }); - internal_static_google_monitoring_v3_AlertPolicy_Condition_Trigger_descriptor = - internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor.getNestedTypes().get(0); - internal_static_google_monitoring_v3_AlertPolicy_Condition_Trigger_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_AlertPolicy_Condition_Trigger_descriptor, - new java.lang.String[] { "Count", "Percent", "Type", }); - internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricThreshold_descriptor = - internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor.getNestedTypes().get(1); - internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricThreshold_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricThreshold_descriptor, - new java.lang.String[] { "Filter", "Aggregations", "DenominatorFilter", "DenominatorAggregations", "Comparison", "ThresholdValue", "Duration", "Trigger", }); - internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricAbsence_descriptor = - internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor.getNestedTypes().get(2); - internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricAbsence_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricAbsence_descriptor, - new java.lang.String[] { "Filter", "Aggregations", "Duration", "Trigger", }); - internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_descriptor = - internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor.getNestedTypes().get(3); - internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_descriptor, - new java.lang.String[] { "Filter", "LabelExtractors", }); - internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_LabelExtractorsEntry_descriptor = - internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_descriptor.getNestedTypes().get(0); - internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_LabelExtractorsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_LabelExtractorsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_monitoring_v3_AlertPolicy_Condition_MonitoringQueryLanguageCondition_descriptor = - internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor.getNestedTypes().get(4); - internal_static_google_monitoring_v3_AlertPolicy_Condition_MonitoringQueryLanguageCondition_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_AlertPolicy_Condition_MonitoringQueryLanguageCondition_descriptor, - new java.lang.String[] { "Query", "Duration", "Trigger", }); - internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_descriptor = - internal_static_google_monitoring_v3_AlertPolicy_descriptor.getNestedTypes().get(2); - internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_descriptor, - new java.lang.String[] { "NotificationRateLimit", "AutoClose", }); - internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_NotificationRateLimit_descriptor = - internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_descriptor.getNestedTypes().get(0); - internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_NotificationRateLimit_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_NotificationRateLimit_descriptor, - new java.lang.String[] { "Period", }); - internal_static_google_monitoring_v3_AlertPolicy_UserLabelsEntry_descriptor = - internal_static_google_monitoring_v3_AlertPolicy_descriptor.getNestedTypes().get(3); - internal_static_google_monitoring_v3_AlertPolicy_UserLabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_AlertPolicy_UserLabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.monitoring.v3.CommonProto.getDescriptor(); - com.google.monitoring.v3.MutationRecordProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.WrappersProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertServiceProto.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertServiceProto.java deleted file mode 100644 index 7dc24be9..00000000 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertServiceProto.java +++ /dev/null @@ -1,182 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/monitoring/v3/alert_service.proto - -package com.google.monitoring.v3; - -public final class AlertServiceProto { - private AlertServiceProto() {} - 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_monitoring_v3_CreateAlertPolicyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_CreateAlertPolicyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_GetAlertPolicyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_GetAlertPolicyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ListAlertPoliciesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListAlertPoliciesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ListAlertPoliciesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListAlertPoliciesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_UpdateAlertPolicyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_UpdateAlertPolicyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_DeleteAlertPolicyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_DeleteAlertPolicyRequest_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/monitoring/v3/alert_service.pro" + - "to\022\024google.monitoring.v3\032\034google/api/ann" + - "otations.proto\032\027google/api/client.proto\032" + - "\037google/api/field_behavior.proto\032\031google" + - "/api/resource.proto\032 google/monitoring/v" + - "3/alert.proto\032\033google/protobuf/empty.pro" + - "to\032 google/protobuf/field_mask.proto\"\225\001\n" + - "\030CreateAlertPolicyRequest\022;\n\004name\030\003 \001(\tB" + - "-\340A\002\372A\'\022%monitoring.googleapis.com/Alert" + - "Policy\022<\n\014alert_policy\030\002 \001(\0132!.google.mo" + - "nitoring.v3.AlertPolicyB\003\340A\002\"T\n\025GetAlert" + - "PolicyRequest\022;\n\004name\030\003 \001(\tB-\340A\002\372A\'\n%mon" + - "itoring.googleapis.com/AlertPolicy\"\240\001\n\030L" + - "istAlertPoliciesRequest\022;\n\004name\030\004 \001(\tB-\340" + - "A\002\372A\'\022%monitoring.googleapis.com/AlertPo" + - "licy\022\016\n\006filter\030\005 \001(\t\022\020\n\010order_by\030\006 \001(\t\022\021" + - "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\203\001" + - "\n\031ListAlertPoliciesResponse\0229\n\016alert_pol" + - "icies\030\003 \003(\0132!.google.monitoring.v3.Alert" + - "Policy\022\027\n\017next_page_token\030\002 \001(\t\022\022\n\ntotal" + - "_size\030\004 \001(\005\"\211\001\n\030UpdateAlertPolicyRequest" + - "\022/\n\013update_mask\030\002 \001(\0132\032.google.protobuf." + - "FieldMask\022<\n\014alert_policy\030\003 \001(\0132!.google" + - ".monitoring.v3.AlertPolicyB\003\340A\002\"W\n\030Delet" + - "eAlertPolicyRequest\022;\n\004name\030\003 \001(\tB-\340A\002\372A" + - "\'\n%monitoring.googleapis.com/AlertPolicy" + - "2\236\010\n\022AlertPolicyService\022\250\001\n\021ListAlertPol" + - "icies\022..google.monitoring.v3.ListAlertPo" + - "liciesRequest\032/.google.monitoring.v3.Lis" + - "tAlertPoliciesResponse\"2\202\323\344\223\002%\022#/v3/{nam" + - "e=projects/*}/alertPolicies\332A\004name\022\226\001\n\016G" + - "etAlertPolicy\022+.google.monitoring.v3.Get" + - "AlertPolicyRequest\032!.google.monitoring.v" + - "3.AlertPolicy\"4\202\323\344\223\002\'\022%/v3/{name=project" + - "s/*/alertPolicies/*}\332A\004name\022\265\001\n\021CreateAl" + - "ertPolicy\022..google.monitoring.v3.CreateA" + - "lertPolicyRequest\032!.google.monitoring.v3" + - ".AlertPolicy\"M\202\323\344\223\0023\"#/v3/{name=projects" + - "/*}/alertPolicies:\014alert_policy\332A\021name,a" + - "lert_policy\022\221\001\n\021DeleteAlertPolicy\022..goog" + - "le.monitoring.v3.DeleteAlertPolicyReques" + - "t\032\026.google.protobuf.Empty\"4\202\323\344\223\002\'*%/v3/{" + - "name=projects/*/alertPolicies/*}\332A\004name\022" + - "\313\001\n\021UpdateAlertPolicy\022..google.monitorin" + - "g.v3.UpdateAlertPolicyRequest\032!.google.m" + - "onitoring.v3.AlertPolicy\"c\202\323\344\223\002B22/v3/{a" + - "lert_policy.name=projects/*/alertPolicie" + - "s/*}:\014alert_policy\332A\030update_mask,alert_p" + - "olicy\032\251\001\312A\031monitoring.googleapis.com\322A\211\001" + - "https://www.googleapis.com/auth/cloud-pl" + - "atform,https://www.googleapis.com/auth/m" + - "onitoring,https://www.googleapis.com/aut" + - "h/monitoring.readB\311\001\n\030com.google.monitor" + - "ing.v3B\021AlertServiceProtoP\001Z>google.gola" + - "ng.org/genproto/googleapis/monitoring/v3" + - ";monitoring\252\002\032Google.Cloud.Monitoring.V3" + - "\312\002\032Google\\Cloud\\Monitoring\\V3\352\002\035Google::" + - "Cloud::Monitoring::V3b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.monitoring.v3.AlertProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_monitoring_v3_CreateAlertPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_monitoring_v3_CreateAlertPolicyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_CreateAlertPolicyRequest_descriptor, - new java.lang.String[] { "Name", "AlertPolicy", }); - internal_static_google_monitoring_v3_GetAlertPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_monitoring_v3_GetAlertPolicyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_GetAlertPolicyRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_monitoring_v3_ListAlertPoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_monitoring_v3_ListAlertPoliciesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListAlertPoliciesRequest_descriptor, - new java.lang.String[] { "Name", "Filter", "OrderBy", "PageSize", "PageToken", }); - internal_static_google_monitoring_v3_ListAlertPoliciesResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_monitoring_v3_ListAlertPoliciesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListAlertPoliciesResponse_descriptor, - new java.lang.String[] { "AlertPolicies", "NextPageToken", "TotalSize", }); - internal_static_google_monitoring_v3_UpdateAlertPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_monitoring_v3_UpdateAlertPolicyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_UpdateAlertPolicyRequest_descriptor, - new java.lang.String[] { "UpdateMask", "AlertPolicy", }); - internal_static_google_monitoring_v3_DeleteAlertPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_monitoring_v3_DeleteAlertPolicyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_DeleteAlertPolicyRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.monitoring.v3.AlertProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CommonProto.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CommonProto.java deleted file mode 100644 index 90cbb73e..00000000 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CommonProto.java +++ /dev/null @@ -1,120 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/monitoring/v3/common.proto - -package com.google.monitoring.v3; - -public final class CommonProto { - private CommonProto() {} - 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_monitoring_v3_TypedValue_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_TypedValue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_TimeInterval_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_TimeInterval_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_Aggregation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_Aggregation_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/monitoring/v3/common.proto\022\024goo" + - "gle.monitoring.v3\032\035google/api/distributi" + - "on.proto\032\036google/protobuf/duration.proto" + - "\032\037google/protobuf/timestamp.proto\"\252\001\n\nTy" + - "pedValue\022\024\n\nbool_value\030\001 \001(\010H\000\022\025\n\013int64_" + - "value\030\002 \001(\003H\000\022\026\n\014double_value\030\003 \001(\001H\000\022\026\n" + - "\014string_value\030\004 \001(\tH\000\0226\n\022distribution_va" + - "lue\030\005 \001(\0132\030.google.api.DistributionH\000B\007\n" + - "\005value\"l\n\014TimeInterval\022,\n\010end_time\030\002 \001(\013" + - "2\032.google.protobuf.Timestamp\022.\n\nstart_ti" + - "me\030\001 \001(\0132\032.google.protobuf.Timestamp\"\255\007\n" + - "\013Aggregation\0223\n\020alignment_period\030\001 \001(\0132\031" + - ".google.protobuf.Duration\022E\n\022per_series_" + - "aligner\030\002 \001(\0162).google.monitoring.v3.Agg" + - "regation.Aligner\022G\n\024cross_series_reducer" + - "\030\004 \001(\0162).google.monitoring.v3.Aggregatio" + - "n.Reducer\022\027\n\017group_by_fields\030\005 \003(\t\"\213\003\n\007A" + - "ligner\022\016\n\nALIGN_NONE\020\000\022\017\n\013ALIGN_DELTA\020\001\022" + - "\016\n\nALIGN_RATE\020\002\022\025\n\021ALIGN_INTERPOLATE\020\003\022\024" + - "\n\020ALIGN_NEXT_OLDER\020\004\022\r\n\tALIGN_MIN\020\n\022\r\n\tA" + - "LIGN_MAX\020\013\022\016\n\nALIGN_MEAN\020\014\022\017\n\013ALIGN_COUN" + - "T\020\r\022\r\n\tALIGN_SUM\020\016\022\020\n\014ALIGN_STDDEV\020\017\022\024\n\020" + - "ALIGN_COUNT_TRUE\020\020\022\025\n\021ALIGN_COUNT_FALSE\020" + - "\030\022\027\n\023ALIGN_FRACTION_TRUE\020\021\022\027\n\023ALIGN_PERC" + - "ENTILE_99\020\022\022\027\n\023ALIGN_PERCENTILE_95\020\023\022\027\n\023" + - "ALIGN_PERCENTILE_50\020\024\022\027\n\023ALIGN_PERCENTIL" + - "E_05\020\025\022\030\n\024ALIGN_PERCENT_CHANGE\020\027\"\261\002\n\007Red" + - "ucer\022\017\n\013REDUCE_NONE\020\000\022\017\n\013REDUCE_MEAN\020\001\022\016" + - "\n\nREDUCE_MIN\020\002\022\016\n\nREDUCE_MAX\020\003\022\016\n\nREDUCE" + - "_SUM\020\004\022\021\n\rREDUCE_STDDEV\020\005\022\020\n\014REDUCE_COUN" + - "T\020\006\022\025\n\021REDUCE_COUNT_TRUE\020\007\022\026\n\022REDUCE_COU" + - "NT_FALSE\020\017\022\030\n\024REDUCE_FRACTION_TRUE\020\010\022\030\n\024" + - "REDUCE_PERCENTILE_99\020\t\022\030\n\024REDUCE_PERCENT" + - "ILE_95\020\n\022\030\n\024REDUCE_PERCENTILE_50\020\013\022\030\n\024RE" + - "DUCE_PERCENTILE_05\020\014*\236\001\n\016ComparisonType\022" + - "\032\n\026COMPARISON_UNSPECIFIED\020\000\022\021\n\rCOMPARISO" + - "N_GT\020\001\022\021\n\rCOMPARISON_GE\020\002\022\021\n\rCOMPARISON_" + - "LT\020\003\022\021\n\rCOMPARISON_LE\020\004\022\021\n\rCOMPARISON_EQ" + - "\020\005\022\021\n\rCOMPARISON_NE\020\006*a\n\013ServiceTier\022\034\n\030" + - "SERVICE_TIER_UNSPECIFIED\020\000\022\026\n\022SERVICE_TI" + - "ER_BASIC\020\001\022\030\n\024SERVICE_TIER_PREMIUM\020\002\032\002\030\001" + - "B\303\001\n\030com.google.monitoring.v3B\013CommonPro" + - "toP\001Z>google.golang.org/genproto/googlea" + - "pis/monitoring/v3;monitoring\252\002\032Google.Cl" + - "oud.Monitoring.V3\312\002\032Google\\Cloud\\Monitor" + - "ing\\V3\352\002\035Google::Cloud::Monitoring::V3b\006" + - "proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.DistributionProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_monitoring_v3_TypedValue_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_monitoring_v3_TypedValue_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_TypedValue_descriptor, - new java.lang.String[] { "BoolValue", "Int64Value", "DoubleValue", "StringValue", "DistributionValue", "Value", }); - internal_static_google_monitoring_v3_TimeInterval_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_monitoring_v3_TimeInterval_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_TimeInterval_descriptor, - new java.lang.String[] { "EndTime", "StartTime", }); - internal_static_google_monitoring_v3_Aggregation_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_monitoring_v3_Aggregation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_Aggregation_descriptor, - new java.lang.String[] { "AlignmentPeriod", "PerSeriesAligner", "CrossSeriesReducer", "GroupByFields", }); - com.google.api.DistributionProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequestOrBuilder.java deleted file mode 100644 index c0c7f4b1..00000000 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequestOrBuilder.java +++ /dev/null @@ -1,60 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/monitoring/v3/uptime_service.proto - -package com.google.monitoring.v3; - -public interface CreateUptimeCheckConfigRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.monitoring.v3.CreateUptimeCheckConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
-   * which to create the Uptime check. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The parent. - */ - java.lang.String getParent(); - /** - *
-   * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
-   * which to create the Uptime check. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for parent. - */ - com.google.protobuf.ByteString - getParentBytes(); - - /** - *
-   * Required. The new Uptime check configuration.
-   * 
- * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the uptimeCheckConfig field is set. - */ - boolean hasUptimeCheckConfig(); - /** - *
-   * Required. The new Uptime check configuration.
-   * 
- * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The uptimeCheckConfig. - */ - com.google.monitoring.v3.UptimeCheckConfig getUptimeCheckConfig(); - /** - *
-   * Required. The new Uptime check configuration.
-   * 
- * - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigOrBuilder(); -} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequestOrBuilder.java deleted file mode 100644 index 7d37089e..00000000 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/monitoring/v3/alert_service.proto - -package com.google.monitoring.v3; - -public interface DeleteAlertPolicyRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.monitoring.v3.DeleteAlertPolicyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The alerting policy to delete. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
-   * For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy].
-   * 
- * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The alerting policy to delete. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
-   * For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy].
-   * 
- * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequestOrBuilder.java deleted file mode 100644 index c22394a5..00000000 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequestOrBuilder.java +++ /dev/null @@ -1,35 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/monitoring/v3/metric_service.proto - -package com.google.monitoring.v3; - -public interface DeleteMetricDescriptorRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.monitoring.v3.DeleteMetricDescriptorRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The metric descriptor on which to execute the request. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
-   * An example of `[METRIC_ID]` is:
-   * `"custom.googleapis.com/my_test_metric"`.
-   * 
- * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The metric descriptor on which to execute the request. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
-   * An example of `[METRIC_ID]` is:
-   * `"custom.googleapis.com/my_test_metric"`.
-   * 
- * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceLevelObjectiveRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceLevelObjectiveRequestOrBuilder.java deleted file mode 100644 index 37e3e294..00000000 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceLevelObjectiveRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/monitoring/v3/service_service.proto - -package com.google.monitoring.v3; - -public interface DeleteServiceLevelObjectiveRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.monitoring.v3.DeleteServiceLevelObjectiveRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Resource name of the `ServiceLevelObjective` to delete. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Resource name of the `ServiceLevelObjective` to delete. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceRequestOrBuilder.java deleted file mode 100644 index 5d66d4cd..00000000 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/monitoring/v3/service_service.proto - -package com.google.monitoring.v3; - -public interface DeleteServiceRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.monitoring.v3.DeleteServiceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Resource name of the `Service` to delete. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Resource name of the `Service` to delete. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequestOrBuilder.java deleted file mode 100644 index 45545d1c..00000000 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/monitoring/v3/uptime_service.proto - -package com.google.monitoring.v3; - -public interface DeleteUptimeCheckConfigRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.monitoring.v3.DeleteUptimeCheckConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The Uptime check configuration to delete. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The Uptime check configuration to delete. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabelsProto.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabelsProto.java deleted file mode 100644 index 9095dabc..00000000 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabelsProto.java +++ /dev/null @@ -1,67 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/monitoring/v3/dropped_labels.proto - -package com.google.monitoring.v3; - -public final class DroppedLabelsProto { - private DroppedLabelsProto() {} - 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_monitoring_v3_DroppedLabels_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_DroppedLabels_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_DroppedLabels_LabelEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_DroppedLabels_LabelEntry_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/monitoring/v3/dropped_labels.pr" + - "oto\022\024google.monitoring.v3\"|\n\rDroppedLabe" + - "ls\022=\n\005label\030\001 \003(\0132..google.monitoring.v3" + - ".DroppedLabels.LabelEntry\032,\n\nLabelEntry\022" + - "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\312\001\n\030com." + - "google.monitoring.v3B\022DroppedLabelsProto" + - "P\001Z>google.golang.org/genproto/googleapi" + - "s/monitoring/v3;monitoring\252\002\032Google.Clou" + - "d.Monitoring.V3\312\002\032Google\\Cloud\\Monitorin" + - "g\\V3\352\002\035Google::Cloud::Monitoring::V3b\006pr" + - "oto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - internal_static_google_monitoring_v3_DroppedLabels_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_monitoring_v3_DroppedLabels_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_DroppedLabels_descriptor, - new java.lang.String[] { "Label", }); - internal_static_google_monitoring_v3_DroppedLabels_LabelEntry_descriptor = - internal_static_google_monitoring_v3_DroppedLabels_descriptor.getNestedTypes().get(0); - internal_static_google_monitoring_v3_DroppedLabels_LabelEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_DroppedLabels_LabelEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequestOrBuilder.java deleted file mode 100644 index 86dabddb..00000000 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/monitoring/v3/alert_service.proto - -package com.google.monitoring.v3; - -public interface GetAlertPolicyRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.monitoring.v3.GetAlertPolicyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The alerting policy to retrieve. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
-   * 
- * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The alerting policy to retrieve. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
-   * 
- * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetGroupRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetGroupRequestOrBuilder.java deleted file mode 100644 index 4f2c952a..00000000 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetGroupRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/monitoring/v3/group_service.proto - -package com.google.monitoring.v3; - -public interface GetGroupRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.monitoring.v3.GetGroupRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The group to retrieve. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
-   * 
- * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The group to retrieve. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
-   * 
- * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequestOrBuilder.java deleted file mode 100644 index dfe792dd..00000000 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequestOrBuilder.java +++ /dev/null @@ -1,35 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/monitoring/v3/metric_service.proto - -package com.google.monitoring.v3; - -public interface GetMetricDescriptorRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.monitoring.v3.GetMetricDescriptorRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The metric descriptor on which to execute the request. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
-   * An example value of `[METRIC_ID]` is
-   * `"compute.googleapis.com/instance/disk/read_bytes_count"`.
-   * 
- * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The metric descriptor on which to execute the request. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
-   * An example value of `[METRIC_ID]` is
-   * `"compute.googleapis.com/instance/disk/read_bytes_count"`.
-   * 
- * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequestOrBuilder.java deleted file mode 100644 index e1665730..00000000 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequestOrBuilder.java +++ /dev/null @@ -1,35 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/monitoring/v3/metric_service.proto - -package com.google.monitoring.v3; - -public interface GetMonitoredResourceDescriptorRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.monitoring.v3.GetMonitoredResourceDescriptorRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The monitored resource descriptor to get.  The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/monitoredResourceDescriptors/[RESOURCE_TYPE]
-   * The `[RESOURCE_TYPE]` is a predefined type, such as
-   * `cloudsql_database`.
-   * 
- * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The monitored resource descriptor to get.  The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/monitoredResourceDescriptors/[RESOURCE_TYPE]
-   * The `[RESOURCE_TYPE]` is a predefined type, such as
-   * `cloudsql_database`.
-   * 
- * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequestOrBuilder.java deleted file mode 100644 index 613f8914..00000000 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/monitoring/v3/notification_service.proto - -package com.google.monitoring.v3; - -public interface GetNotificationChannelDescriptorRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.monitoring.v3.GetNotificationChannelDescriptorRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The channel type for which to execute the request. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[CHANNEL_TYPE]
-   * 
- * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The channel type for which to execute the request. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[CHANNEL_TYPE]
-   * 
- * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequestOrBuilder.java deleted file mode 100644 index 84e67ede..00000000 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/monitoring/v3/notification_service.proto - -package com.google.monitoring.v3; - -public interface GetNotificationChannelRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.monitoring.v3.GetNotificationChannelRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The channel for which to execute the request. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
-   * 
- * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The channel for which to execute the request. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
-   * 
- * - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceRequestOrBuilder.java deleted file mode 100644 index 3a518960..00000000 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/monitoring/v3/service_service.proto - -package com.google.monitoring.v3; - -public interface GetServiceRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.monitoring.v3.GetServiceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Resource name of the `Service`. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Resource name of the `Service`. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequestOrBuilder.java deleted file mode 100644 index b8a3fc9d..00000000 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/monitoring/v3/uptime_service.proto - -package com.google.monitoring.v3; - -public interface GetUptimeCheckConfigRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.monitoring.v3.GetUptimeCheckConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The Uptime check configuration to retrieve. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The Uptime check configuration to retrieve. The format is:
-   *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupProto.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupProto.java deleted file mode 100644 index 30736f0f..00000000 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupProto.java +++ /dev/null @@ -1,66 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/monitoring/v3/group.proto - -package com.google.monitoring.v3; - -public final class GroupProto { - private GroupProto() {} - 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_monitoring_v3_Group_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_Group_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/monitoring/v3/group.proto\022\024goog" + - "le.monitoring.v3\032\031google/api/resource.pr" + - "oto\"\200\002\n\005Group\022\014\n\004name\030\001 \001(\t\022\024\n\014display_n" + - "ame\030\002 \001(\t\022\023\n\013parent_name\030\003 \001(\t\022\016\n\006filter" + - "\030\005 \001(\t\022\022\n\nis_cluster\030\006 \001(\010:\231\001\352A\225\001\n\037monit" + - "oring.googleapis.com/Group\022!projects/{pr" + - "oject}/groups/{group}\022+organizations/{or" + - "ganization}/groups/{group}\022\037folders/{fol" + - "der}/groups/{group}\022\001*B\302\001\n\030com.google.mo" + - "nitoring.v3B\nGroupProtoP\001Z>google.golang" + - ".org/genproto/googleapis/monitoring/v3;m" + - "onitoring\252\002\032Google.Cloud.Monitoring.V3\312\002" + - "\032Google\\Cloud\\Monitoring\\V3\352\002\035Google::Cl" + - "oud::Monitoring::V3b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - }); - internal_static_google_monitoring_v3_Group_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_monitoring_v3_Group_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_Group_descriptor, - new java.lang.String[] { "Name", "DisplayName", "ParentName", "Filter", "IsCluster", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupServiceProto.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupServiceProto.java deleted file mode 100644 index d5825eeb..00000000 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupServiceProto.java +++ /dev/null @@ -1,217 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/monitoring/v3/group_service.proto - -package com.google.monitoring.v3; - -public final class GroupServiceProto { - private GroupServiceProto() {} - 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_monitoring_v3_ListGroupsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListGroupsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ListGroupsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListGroupsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_GetGroupRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_GetGroupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_CreateGroupRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_CreateGroupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_UpdateGroupRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_UpdateGroupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_DeleteGroupRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_DeleteGroupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ListGroupMembersRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListGroupMembersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ListGroupMembersResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListGroupMembersResponse_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/monitoring/v3/group_service.pro" + - "to\022\024google.monitoring.v3\032\034google/api/ann" + - "otations.proto\032\027google/api/client.proto\032" + - "\037google/api/field_behavior.proto\032#google" + - "/api/monitored_resource.proto\032\031google/ap" + - "i/resource.proto\032!google/monitoring/v3/c" + - "ommon.proto\032 google/monitoring/v3/group." + - "proto\032\033google/protobuf/empty.proto\"\310\002\n\021L" + - "istGroupsRequest\0225\n\004name\030\007 \001(\tB\'\340A\002\372A!\022\037" + - "monitoring.googleapis.com/Group\022A\n\021child" + - "ren_of_group\030\002 \001(\tB$\372A!\n\037monitoring.goog" + - "leapis.com/GroupH\000\022B\n\022ancestors_of_group" + - "\030\003 \001(\tB$\372A!\n\037monitoring.googleapis.com/G" + - "roupH\000\022D\n\024descendants_of_group\030\004 \001(\tB$\372A" + - "!\n\037monitoring.googleapis.com/GroupH\000\022\021\n\t" + - "page_size\030\005 \001(\005\022\022\n\npage_token\030\006 \001(\tB\010\n\006f" + - "ilter\"Y\n\022ListGroupsResponse\022*\n\005group\030\001 \003" + - "(\0132\033.google.monitoring.v3.Group\022\027\n\017next_" + - "page_token\030\002 \001(\t\"H\n\017GetGroupRequest\0225\n\004n" + - "ame\030\003 \001(\tB\'\340A\002\372A!\n\037monitoring.googleapis" + - ".com/Group\"\223\001\n\022CreateGroupRequest\0225\n\004nam" + - "e\030\004 \001(\tB\'\340A\002\372A!\022\037monitoring.googleapis.c" + - "om/Group\022/\n\005group\030\002 \001(\0132\033.google.monitor" + - "ing.v3.GroupB\003\340A\002\022\025\n\rvalidate_only\030\003 \001(\010" + - "\"\\\n\022UpdateGroupRequest\022/\n\005group\030\002 \001(\0132\033." + - "google.monitoring.v3.GroupB\003\340A\002\022\025\n\rvalid" + - "ate_only\030\003 \001(\010\"^\n\022DeleteGroupRequest\0225\n\004" + - "name\030\003 \001(\tB\'\340A\002\372A!\n\037monitoring.googleapi" + - "s.com/Group\022\021\n\trecursive\030\004 \001(\010\"\275\001\n\027ListG" + - "roupMembersRequest\0225\n\004name\030\007 \001(\tB\'\340A\002\372A!" + - "\n\037monitoring.googleapis.com/Group\022\021\n\tpag" + - "e_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\022\016\n\006filt" + - "er\030\005 \001(\t\0224\n\010interval\030\006 \001(\0132\".google.moni" + - "toring.v3.TimeInterval\"w\n\030ListGroupMembe" + - "rsResponse\022.\n\007members\030\001 \003(\0132\035.google.api" + - ".MonitoredResource\022\027\n\017next_page_token\030\002 " + - "\001(\t\022\022\n\ntotal_size\030\003 \001(\0052\230\010\n\014GroupService" + - "\022\214\001\n\nListGroups\022\'.google.monitoring.v3.L" + - "istGroupsRequest\032(.google.monitoring.v3." + - "ListGroupsResponse\"+\202\323\344\223\002\036\022\034/v3/{name=pr" + - "ojects/*}/groups\332A\004name\022}\n\010GetGroup\022%.go" + - "ogle.monitoring.v3.GetGroupRequest\032\033.goo" + - "gle.monitoring.v3.Group\"-\202\323\344\223\002 \022\036/v3/{na" + - "me=projects/*/groups/*}\332A\004name\022\216\001\n\013Creat" + - "eGroup\022(.google.monitoring.v3.CreateGrou" + - "pRequest\032\033.google.monitoring.v3.Group\"8\202" + - "\323\344\223\002%\"\034/v3/{name=projects/*}/groups:\005gro" + - "up\332A\nname,group\022\221\001\n\013UpdateGroup\022(.google" + - ".monitoring.v3.UpdateGroupRequest\032\033.goog" + - "le.monitoring.v3.Group\";\202\323\344\223\002-\032$/v3/{gro" + - "up.name=projects/*/groups/*}:\005group\332A\005gr" + - "oup\022~\n\013DeleteGroup\022(.google.monitoring.v" + - "3.DeleteGroupRequest\032\026.google.protobuf.E" + - "mpty\"-\202\323\344\223\002 *\036/v3/{name=projects/*/group" + - "s/*}\332A\004name\022\250\001\n\020ListGroupMembers\022-.googl" + - "e.monitoring.v3.ListGroupMembersRequest\032" + - "..google.monitoring.v3.ListGroupMembersR" + - "esponse\"5\202\323\344\223\002(\022&/v3/{name=projects/*/gr" + - "oups/*}/members\332A\004name\032\251\001\312A\031monitoring.g" + - "oogleapis.com\322A\211\001https://www.googleapis." + - "com/auth/cloud-platform,https://www.goog" + - "leapis.com/auth/monitoring,https://www.g" + - "oogleapis.com/auth/monitoring.readB\311\001\n\030c" + - "om.google.monitoring.v3B\021GroupServicePro" + - "toP\001Z>google.golang.org/genproto/googlea" + - "pis/monitoring/v3;monitoring\252\002\032Google.Cl" + - "oud.Monitoring.V3\312\002\032Google\\Cloud\\Monitor" + - "ing\\V3\352\002\035Google::Cloud::Monitoring::V3b\006" + - "proto3" - }; - 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.MonitoredResourceProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.monitoring.v3.CommonProto.getDescriptor(), - com.google.monitoring.v3.GroupProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - }); - internal_static_google_monitoring_v3_ListGroupsRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_monitoring_v3_ListGroupsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListGroupsRequest_descriptor, - new java.lang.String[] { "Name", "ChildrenOfGroup", "AncestorsOfGroup", "DescendantsOfGroup", "PageSize", "PageToken", "Filter", }); - internal_static_google_monitoring_v3_ListGroupsResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_monitoring_v3_ListGroupsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListGroupsResponse_descriptor, - new java.lang.String[] { "Group", "NextPageToken", }); - internal_static_google_monitoring_v3_GetGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_monitoring_v3_GetGroupRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_GetGroupRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_monitoring_v3_CreateGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_monitoring_v3_CreateGroupRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_CreateGroupRequest_descriptor, - new java.lang.String[] { "Name", "Group", "ValidateOnly", }); - internal_static_google_monitoring_v3_UpdateGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_monitoring_v3_UpdateGroupRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_UpdateGroupRequest_descriptor, - new java.lang.String[] { "Group", "ValidateOnly", }); - internal_static_google_monitoring_v3_DeleteGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_monitoring_v3_DeleteGroupRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_DeleteGroupRequest_descriptor, - new java.lang.String[] { "Name", "Recursive", }); - internal_static_google_monitoring_v3_ListGroupMembersRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_monitoring_v3_ListGroupMembersRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListGroupMembersRequest_descriptor, - new java.lang.String[] { "Name", "PageSize", "PageToken", "Filter", "Interval", }); - internal_static_google_monitoring_v3_ListGroupMembersResponse_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_monitoring_v3_ListGroupMembersResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListGroupMembersResponse_descriptor, - new java.lang.String[] { "Members", "NextPageToken", "TotalSize", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.MonitoredResourceProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.monitoring.v3.CommonProto.getDescriptor(); - com.google.monitoring.v3.GroupProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricProto.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricProto.java deleted file mode 100644 index ac59478c..00000000 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricProto.java +++ /dev/null @@ -1,206 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/monitoring/v3/metric.proto - -package com.google.monitoring.v3; - -public final class MetricProto { - private MetricProto() {} - 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_monitoring_v3_Point_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_Point_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_TimeSeries_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_TimeSeries_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_TimeSeriesDescriptor_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_TimeSeriesDescriptor_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_TimeSeriesDescriptor_ValueDescriptor_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_TimeSeriesDescriptor_ValueDescriptor_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_TimeSeriesData_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_TimeSeriesData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_TimeSeriesData_PointData_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_TimeSeriesData_PointData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_LabelValue_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_LabelValue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_QueryError_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_QueryError_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_TextLocator_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_TextLocator_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_TextLocator_Position_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_TextLocator_Position_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/monitoring/v3/metric.proto\022\024goo" + - "gle.monitoring.v3\032\035google/api/distributi" + - "on.proto\032\026google/api/label.proto\032\027google" + - "/api/metric.proto\032#google/api/monitored_" + - "resource.proto\032!google/monitoring/v3/com" + - "mon.proto\032\036google/protobuf/duration.prot" + - "o\"n\n\005Point\0224\n\010interval\030\001 \001(\0132\".google.mo" + - "nitoring.v3.TimeInterval\022/\n\005value\030\002 \001(\0132" + - " .google.monitoring.v3.TypedValue\"\317\002\n\nTi" + - "meSeries\022\"\n\006metric\030\001 \001(\0132\022.google.api.Me" + - "tric\022/\n\010resource\030\002 \001(\0132\035.google.api.Moni" + - "toredResource\0227\n\010metadata\030\007 \001(\0132%.google" + - ".api.MonitoredResourceMetadata\022<\n\013metric" + - "_kind\030\003 \001(\0162\'.google.api.MetricDescripto" + - "r.MetricKind\022:\n\nvalue_type\030\004 \001(\0162&.googl" + - "e.api.MetricDescriptor.ValueType\022+\n\006poin" + - "ts\030\005 \003(\0132\033.google.monitoring.v3.Point\022\014\n" + - "\004unit\030\010 \001(\t\"\316\002\n\024TimeSeriesDescriptor\0226\n\021" + - "label_descriptors\030\001 \003(\0132\033.google.api.Lab" + - "elDescriptor\022U\n\021point_descriptors\030\005 \003(\0132" + - ":.google.monitoring.v3.TimeSeriesDescrip" + - "tor.ValueDescriptor\032\246\001\n\017ValueDescriptor\022" + - "\013\n\003key\030\001 \001(\t\022:\n\nvalue_type\030\002 \001(\0162&.googl" + - "e.api.MetricDescriptor.ValueType\022<\n\013metr" + - "ic_kind\030\003 \001(\0162\'.google.api.MetricDescrip" + - "tor.MetricKind\022\014\n\004unit\030\004 \001(\t\"\206\002\n\016TimeSer" + - "iesData\0226\n\014label_values\030\001 \003(\0132 .google.m" + - "onitoring.v3.LabelValue\022B\n\npoint_data\030\002 " + - "\003(\0132..google.monitoring.v3.TimeSeriesDat" + - "a.PointData\032x\n\tPointData\0220\n\006values\030\001 \003(\013" + - "2 .google.monitoring.v3.TypedValue\0229\n\rti" + - "me_interval\030\002 \001(\0132\".google.monitoring.v3" + - ".TimeInterval\"Z\n\nLabelValue\022\024\n\nbool_valu" + - "e\030\001 \001(\010H\000\022\025\n\013int64_value\030\002 \001(\003H\000\022\026\n\014stri" + - "ng_value\030\003 \001(\tH\000B\007\n\005value\"Q\n\nQueryError\022" + - "2\n\007locator\030\001 \001(\0132!.google.monitoring.v3." + - "TextLocator\022\017\n\007message\030\002 \001(\t\"\240\002\n\013TextLoc" + - "ator\022\016\n\006source\030\001 \001(\t\022B\n\016start_position\030\002" + - " \001(\0132*.google.monitoring.v3.TextLocator." + - "Position\022@\n\014end_position\030\003 \001(\0132*.google." + - "monitoring.v3.TextLocator.Position\0229\n\016ne" + - "sted_locator\030\004 \001(\0132!.google.monitoring.v" + - "3.TextLocator\022\026\n\016nesting_reason\030\005 \001(\t\032(\n" + - "\010Position\022\014\n\004line\030\001 \001(\005\022\016\n\006column\030\002 \001(\005B" + - "\303\001\n\030com.google.monitoring.v3B\013MetricProt" + - "oP\001Z>google.golang.org/genproto/googleap" + - "is/monitoring/v3;monitoring\252\002\032Google.Clo" + - "ud.Monitoring.V3\312\002\032Google\\Cloud\\Monitori" + - "ng\\V3\352\002\035Google::Cloud::Monitoring::V3b\006p" + - "roto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.DistributionProto.getDescriptor(), - com.google.api.LabelProto.getDescriptor(), - com.google.api.MetricProto.getDescriptor(), - com.google.api.MonitoredResourceProto.getDescriptor(), - com.google.monitoring.v3.CommonProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - }); - internal_static_google_monitoring_v3_Point_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_monitoring_v3_Point_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_Point_descriptor, - new java.lang.String[] { "Interval", "Value", }); - internal_static_google_monitoring_v3_TimeSeries_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_monitoring_v3_TimeSeries_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_TimeSeries_descriptor, - new java.lang.String[] { "Metric", "Resource", "Metadata", "MetricKind", "ValueType", "Points", "Unit", }); - internal_static_google_monitoring_v3_TimeSeriesDescriptor_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_monitoring_v3_TimeSeriesDescriptor_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_TimeSeriesDescriptor_descriptor, - new java.lang.String[] { "LabelDescriptors", "PointDescriptors", }); - internal_static_google_monitoring_v3_TimeSeriesDescriptor_ValueDescriptor_descriptor = - internal_static_google_monitoring_v3_TimeSeriesDescriptor_descriptor.getNestedTypes().get(0); - internal_static_google_monitoring_v3_TimeSeriesDescriptor_ValueDescriptor_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_TimeSeriesDescriptor_ValueDescriptor_descriptor, - new java.lang.String[] { "Key", "ValueType", "MetricKind", "Unit", }); - internal_static_google_monitoring_v3_TimeSeriesData_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_monitoring_v3_TimeSeriesData_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_TimeSeriesData_descriptor, - new java.lang.String[] { "LabelValues", "PointData", }); - internal_static_google_monitoring_v3_TimeSeriesData_PointData_descriptor = - internal_static_google_monitoring_v3_TimeSeriesData_descriptor.getNestedTypes().get(0); - internal_static_google_monitoring_v3_TimeSeriesData_PointData_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_TimeSeriesData_PointData_descriptor, - new java.lang.String[] { "Values", "TimeInterval", }); - internal_static_google_monitoring_v3_LabelValue_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_monitoring_v3_LabelValue_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_LabelValue_descriptor, - new java.lang.String[] { "BoolValue", "Int64Value", "StringValue", "Value", }); - internal_static_google_monitoring_v3_QueryError_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_monitoring_v3_QueryError_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_QueryError_descriptor, - new java.lang.String[] { "Locator", "Message", }); - internal_static_google_monitoring_v3_TextLocator_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_monitoring_v3_TextLocator_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_TextLocator_descriptor, - new java.lang.String[] { "Source", "StartPosition", "EndPosition", "NestedLocator", "NestingReason", }); - internal_static_google_monitoring_v3_TextLocator_Position_descriptor = - internal_static_google_monitoring_v3_TextLocator_descriptor.getNestedTypes().get(0); - internal_static_google_monitoring_v3_TextLocator_Position_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_TextLocator_Position_descriptor, - new java.lang.String[] { "Line", "Column", }); - com.google.api.DistributionProto.getDescriptor(); - com.google.api.LabelProto.getDescriptor(); - com.google.api.MetricProto.getDescriptor(); - com.google.api.MonitoredResourceProto.getDescriptor(); - com.google.monitoring.v3.CommonProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceProto.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceProto.java deleted file mode 100644 index 4b5b20c9..00000000 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceProto.java +++ /dev/null @@ -1,408 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/monitoring/v3/metric_service.proto - -package com.google.monitoring.v3; - -public final class MetricServiceProto { - private MetricServiceProto() {} - 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_monitoring_v3_ListMonitoredResourceDescriptorsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_GetMonitoredResourceDescriptorRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_GetMonitoredResourceDescriptorRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ListMetricDescriptorsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListMetricDescriptorsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ListMetricDescriptorsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListMetricDescriptorsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_GetMetricDescriptorRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_GetMetricDescriptorRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_CreateMetricDescriptorRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_CreateMetricDescriptorRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_DeleteMetricDescriptorRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_DeleteMetricDescriptorRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ListTimeSeriesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListTimeSeriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ListTimeSeriesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListTimeSeriesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_CreateTimeSeriesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_CreateTimeSeriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_CreateTimeSeriesError_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_CreateTimeSeriesError_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_CreateTimeSeriesSummary_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_CreateTimeSeriesSummary_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_CreateTimeSeriesSummary_Error_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_CreateTimeSeriesSummary_Error_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_QueryTimeSeriesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_QueryTimeSeriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_QueryTimeSeriesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_QueryTimeSeriesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_QueryErrorList_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_QueryErrorList_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/monitoring/v3/metric_service.pr" + - "oto\022\024google.monitoring.v3\032\034google/api/an" + - "notations.proto\032\027google/api/client.proto" + - "\032\037google/api/field_behavior.proto\032\027googl" + - "e/api/metric.proto\032#google/api/monitored" + - "_resource.proto\032\031google/api/resource.pro" + - "to\032 google/monitoring/v3/alert.proto\032!go" + - "ogle/monitoring/v3/common.proto\032!google/" + - "monitoring/v3/metric.proto\032\036google/proto" + - "buf/duration.proto\032\033google/protobuf/empt" + - "y.proto\032\027google/rpc/status.proto\"\255\001\n\'Lis" + - "tMonitoredResourceDescriptorsRequest\022K\n\004" + - "name\030\005 \001(\tB=\340A\002\372A7\0225monitoring.googleapi" + - "s.com/MonitoredResourceDescriptor\022\016\n\006fil" + - "ter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_tok" + - "en\030\004 \001(\t\"\212\001\n(ListMonitoredResourceDescri" + - "ptorsResponse\022E\n\024resource_descriptors\030\001 " + - "\003(\0132\'.google.api.MonitoredResourceDescri" + - "ptor\022\027\n\017next_page_token\030\002 \001(\t\"t\n%GetMoni" + - "toredResourceDescriptorRequest\022K\n\004name\030\003" + - " \001(\tB=\340A\002\372A7\n5monitoring.googleapis.com/" + - "MonitoredResourceDescriptor\"\227\001\n\034ListMetr" + - "icDescriptorsRequest\022@\n\004name\030\005 \001(\tB2\340A\002\372" + - "A,\022*monitoring.googleapis.com/MetricDesc" + - "riptor\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(" + - "\005\022\022\n\npage_token\030\004 \001(\t\"r\n\035ListMetricDescr" + - "iptorsResponse\0228\n\022metric_descriptors\030\001 \003" + - "(\0132\034.google.api.MetricDescriptor\022\027\n\017next" + - "_page_token\030\002 \001(\t\"^\n\032GetMetricDescriptor" + - "Request\022@\n\004name\030\003 \001(\tB2\340A\002\372A,\n*monitorin" + - "g.googleapis.com/MetricDescriptor\"\237\001\n\035Cr" + - "eateMetricDescriptorRequest\022@\n\004name\030\003 \001(" + - "\tB2\340A\002\372A,\022*monitoring.googleapis.com/Met" + - "ricDescriptor\022<\n\021metric_descriptor\030\002 \001(\013" + - "2\034.google.api.MetricDescriptorB\003\340A\002\"a\n\035D" + - "eleteMetricDescriptorRequest\022@\n\004name\030\003 \001" + - "(\tB2\340A\002\372A,\n*monitoring.googleapis.com/Me" + - "tricDescriptor\"\316\003\n\025ListTimeSeriesRequest" + - "\022:\n\004name\030\n \001(\tB,\340A\002\372A&\022$monitoring.googl" + - "eapis.com/TimeSeries\022\023\n\006filter\030\002 \001(\tB\003\340A" + - "\002\0229\n\010interval\030\004 \001(\0132\".google.monitoring." + - "v3.TimeIntervalB\003\340A\002\0226\n\013aggregation\030\005 \001(" + - "\0132!.google.monitoring.v3.Aggregation\022@\n\025" + - "secondary_aggregation\030\013 \001(\0132!.google.mon" + - "itoring.v3.Aggregation\022\020\n\010order_by\030\006 \001(\t" + - "\022M\n\004view\030\007 \001(\0162:.google.monitoring.v3.Li" + - "stTimeSeriesRequest.TimeSeriesViewB\003\340A\002\022" + - "\021\n\tpage_size\030\010 \001(\005\022\022\n\npage_token\030\t \001(\t\"\'" + - "\n\016TimeSeriesView\022\010\n\004FULL\020\000\022\013\n\007HEADERS\020\001\"" + - "\244\001\n\026ListTimeSeriesResponse\0225\n\013time_serie" + - "s\030\001 \003(\0132 .google.monitoring.v3.TimeSerie" + - "s\022\027\n\017next_page_token\030\002 \001(\t\022,\n\020execution_" + - "errors\030\003 \003(\0132\022.google.rpc.Status\022\014\n\004unit" + - "\030\005 \001(\t\"\230\001\n\027CreateTimeSeriesRequest\022A\n\004na" + - "me\030\003 \001(\tB3\340A\002\372A-\n+cloudresourcemanager.g" + - "oogleapis.com/Project\022:\n\013time_series\030\002 \003" + - "(\0132 .google.monitoring.v3.TimeSeriesB\003\340A" + - "\002\"z\n\025CreateTimeSeriesError\0229\n\013time_serie" + - "s\030\001 \001(\0132 .google.monitoring.v3.TimeSerie" + - "sB\002\030\001\022&\n\006status\030\002 \001(\0132\022.google.rpc.Statu" + - "sB\002\030\001\"\330\001\n\027CreateTimeSeriesSummary\022\031\n\021tot" + - "al_point_count\030\001 \001(\005\022\033\n\023success_point_co" + - "unt\030\002 \001(\005\022C\n\006errors\030\003 \003(\01323.google.monit" + - "oring.v3.CreateTimeSeriesSummary.Error\032@" + - "\n\005Error\022\"\n\006status\030\001 \001(\0132\022.google.rpc.Sta" + - "tus\022\023\n\013point_count\030\002 \001(\005\"f\n\026QueryTimeSer" + - "iesRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\022\n\005query\030\007" + - " \001(\tB\003\340A\002\022\021\n\tpage_size\030\t \001(\005\022\022\n\npage_tok" + - "en\030\n \001(\t\"\352\001\n\027QueryTimeSeriesResponse\022J\n\026" + - "time_series_descriptor\030\010 \001(\0132*.google.mo" + - "nitoring.v3.TimeSeriesDescriptor\022>\n\020time" + - "_series_data\030\t \003(\0132$.google.monitoring.v" + - "3.TimeSeriesData\022\027\n\017next_page_token\030\n \001(" + - "\t\022*\n\016partial_errors\030\013 \003(\0132\022.google.rpc.S" + - "tatus\"Y\n\016QueryErrorList\0220\n\006errors\030\001 \003(\0132" + - " .google.monitoring.v3.QueryError\022\025\n\rerr" + - "or_summary\030\002 \001(\t2\274\017\n\rMetricService\022\344\001\n L" + - "istMonitoredResourceDescriptors\022=.google" + - ".monitoring.v3.ListMonitoredResourceDesc" + - "riptorsRequest\032>.google.monitoring.v3.Li" + - "stMonitoredResourceDescriptorsResponse\"A" + - "\202\323\344\223\0024\0222/v3/{name=projects/*}/monitoredR" + - "esourceDescriptors\332A\004name\022\314\001\n\036GetMonitor" + - "edResourceDescriptor\022;.google.monitoring" + - ".v3.GetMonitoredResourceDescriptorReques" + - "t\032\'.google.api.MonitoredResourceDescript" + - "or\"D\202\323\344\223\0027\0225/v3/{name=projects/*/monitor" + - "edResourceDescriptors/**}\332A\004name\022\270\001\n\025Lis" + - "tMetricDescriptors\0222.google.monitoring.v" + - "3.ListMetricDescriptorsRequest\0323.google." + - "monitoring.v3.ListMetricDescriptorsRespo" + - "nse\"6\202\323\344\223\002)\022\'/v3/{name=projects/*}/metri" + - "cDescriptors\332A\004name\022\240\001\n\023GetMetricDescrip" + - "tor\0220.google.monitoring.v3.GetMetricDesc" + - "riptorRequest\032\034.google.api.MetricDescrip" + - "tor\"9\202\323\344\223\002,\022*/v3/{name=projects/*/metric" + - "Descriptors/**}\332A\004name\022\310\001\n\026CreateMetricD" + - "escriptor\0223.google.monitoring.v3.CreateM" + - "etricDescriptorRequest\032\034.google.api.Metr" + - "icDescriptor\"[\202\323\344\223\002<\"\'/v3/{name=projects" + - "/*}/metricDescriptors:\021metric_descriptor" + - "\332A\026name,metric_descriptor\022\240\001\n\026DeleteMetr" + - "icDescriptor\0223.google.monitoring.v3.Dele" + - "teMetricDescriptorRequest\032\026.google.proto" + - "buf.Empty\"9\202\323\344\223\002,**/v3/{name=projects/*/" + - "metricDescriptors/**}\332A\004name\022\376\001\n\016ListTim" + - "eSeries\022+.google.monitoring.v3.ListTimeS" + - "eriesRequest\032,.google.monitoring.v3.List" + - "TimeSeriesResponse\"\220\001\202\323\344\223\002n\022 /v3/{name=p" + - "rojects/*}/timeSeriesZ\'\022%/v3/{name=organ" + - "izations/*}/timeSeriesZ!\022\037/v3/{name=fold" + - "ers/*}/timeSeries\332A\031name,filter,interval" + - ",view\022\231\001\n\020CreateTimeSeries\022-.google.moni" + - "toring.v3.CreateTimeSeriesRequest\032\026.goog" + - "le.protobuf.Empty\">\202\323\344\223\002%\" /v3/{name=pro" + - "jects/*}/timeSeries:\001*\332A\020name,time_serie" + - "s\022\256\001\n\027CreateServiceTimeSeries\022-.google.m" + - "onitoring.v3.CreateTimeSeriesRequest\032\026.g" + - "oogle.protobuf.Empty\"L\202\323\344\223\0023\"./v3/{name=" + - "projects/*}/timeSeries:createService:\001*\332" + - "A\020name,time_series\032\332\001\312A\031monitoring.googl" + - "eapis.com\322A\272\001https://www.googleapis.com/" + - "auth/cloud-platform,https://www.googleap" + - "is.com/auth/monitoring,https://www.googl" + - "eapis.com/auth/monitoring.read,https://w" + - "ww.googleapis.com/auth/monitoring.writeB" + - "\206\010\n\030com.google.monitoring.v3B\022MetricServ" + - "iceProtoP\001Z>google.golang.org/genproto/g" + - "oogleapis/monitoring/v3;monitoring\252\002\032Goo" + - "gle.Cloud.Monitoring.V3\312\002\032Google\\Cloud\\M" + - "onitoring\\V3\352\002\035Google::Cloud::Monitoring" + - "::V3\352A\360\001\n*monitoring.googleapis.com/Metr" + - "icDescriptor\022;projects/{project}/metricD" + - "escriptors/{metric_descriptor=**}\022Eorgan" + - "izations/{organization}/metricDescriptor" + - "s/{metric_descriptor=**}\0229folders/{folde" + - "r}/metricDescriptors/{metric_descriptor=" + - "**}\022\001* \001\352A\267\002\n5monitoring.googleapis.com/" + - "MonitoredResourceDescriptor\022Oprojects/{p" + - "roject}/monitoredResourceDescriptors/{mo" + - "nitored_resource_descriptor}\022Yorganizati" + - "ons/{organization}/monitoredResourceDesc" + - "riptors/{monitored_resource_descriptor}\022" + - "Mfolders/{folder}/monitoredResourceDescr" + - "iptors/{monitored_resource_descriptor}\022\001" + - "* \001\352AQ\n#monitoring.googleapis.com/Worksp" + - "ace\022\022projects/{project}\022\026workspaces/{wor" + - "kspace}\352A\265\001\n$monitoring.googleapis.com/T" + - "imeSeries\022+projects/{project}/timeSeries" + - "/{time_series}\0225organizations/{organizat" + - "ion}/timeSeries/{time_series}\022)folders/{" + - "folder}/timeSeries/{time_series}b\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.MetricProto.getDescriptor(), - com.google.api.MonitoredResourceProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.monitoring.v3.AlertProto.getDescriptor(), - com.google.monitoring.v3.CommonProto.getDescriptor(), - com.google.monitoring.v3.MetricProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsRequest_descriptor, - new java.lang.String[] { "Name", "Filter", "PageSize", "PageToken", }); - internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsResponse_descriptor, - new java.lang.String[] { "ResourceDescriptors", "NextPageToken", }); - internal_static_google_monitoring_v3_GetMonitoredResourceDescriptorRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_monitoring_v3_GetMonitoredResourceDescriptorRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_GetMonitoredResourceDescriptorRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_monitoring_v3_ListMetricDescriptorsRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_monitoring_v3_ListMetricDescriptorsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListMetricDescriptorsRequest_descriptor, - new java.lang.String[] { "Name", "Filter", "PageSize", "PageToken", }); - internal_static_google_monitoring_v3_ListMetricDescriptorsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_monitoring_v3_ListMetricDescriptorsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListMetricDescriptorsResponse_descriptor, - new java.lang.String[] { "MetricDescriptors", "NextPageToken", }); - internal_static_google_monitoring_v3_GetMetricDescriptorRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_monitoring_v3_GetMetricDescriptorRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_GetMetricDescriptorRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_monitoring_v3_CreateMetricDescriptorRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_monitoring_v3_CreateMetricDescriptorRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_CreateMetricDescriptorRequest_descriptor, - new java.lang.String[] { "Name", "MetricDescriptor", }); - internal_static_google_monitoring_v3_DeleteMetricDescriptorRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_monitoring_v3_DeleteMetricDescriptorRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_DeleteMetricDescriptorRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_monitoring_v3_ListTimeSeriesRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_monitoring_v3_ListTimeSeriesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListTimeSeriesRequest_descriptor, - new java.lang.String[] { "Name", "Filter", "Interval", "Aggregation", "SecondaryAggregation", "OrderBy", "View", "PageSize", "PageToken", }); - internal_static_google_monitoring_v3_ListTimeSeriesResponse_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_monitoring_v3_ListTimeSeriesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListTimeSeriesResponse_descriptor, - new java.lang.String[] { "TimeSeries", "NextPageToken", "ExecutionErrors", "Unit", }); - internal_static_google_monitoring_v3_CreateTimeSeriesRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_monitoring_v3_CreateTimeSeriesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_CreateTimeSeriesRequest_descriptor, - new java.lang.String[] { "Name", "TimeSeries", }); - internal_static_google_monitoring_v3_CreateTimeSeriesError_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_monitoring_v3_CreateTimeSeriesError_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_CreateTimeSeriesError_descriptor, - new java.lang.String[] { "TimeSeries", "Status", }); - internal_static_google_monitoring_v3_CreateTimeSeriesSummary_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_monitoring_v3_CreateTimeSeriesSummary_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_CreateTimeSeriesSummary_descriptor, - new java.lang.String[] { "TotalPointCount", "SuccessPointCount", "Errors", }); - internal_static_google_monitoring_v3_CreateTimeSeriesSummary_Error_descriptor = - internal_static_google_monitoring_v3_CreateTimeSeriesSummary_descriptor.getNestedTypes().get(0); - internal_static_google_monitoring_v3_CreateTimeSeriesSummary_Error_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_CreateTimeSeriesSummary_Error_descriptor, - new java.lang.String[] { "Status", "PointCount", }); - internal_static_google_monitoring_v3_QueryTimeSeriesRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_monitoring_v3_QueryTimeSeriesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_QueryTimeSeriesRequest_descriptor, - new java.lang.String[] { "Name", "Query", "PageSize", "PageToken", }); - internal_static_google_monitoring_v3_QueryTimeSeriesResponse_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_monitoring_v3_QueryTimeSeriesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_QueryTimeSeriesResponse_descriptor, - new java.lang.String[] { "TimeSeriesDescriptor", "TimeSeriesData", "NextPageToken", "PartialErrors", }); - internal_static_google_monitoring_v3_QueryErrorList_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_monitoring_v3_QueryErrorList_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_QueryErrorList_descriptor, - new java.lang.String[] { "Errors", "ErrorSummary", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.MetricProto.getDescriptor(); - com.google.api.MonitoredResourceProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.monitoring.v3.AlertProto.getDescriptor(); - com.google.monitoring.v3.CommonProto.getDescriptor(); - com.google.monitoring.v3.MetricProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecordProto.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecordProto.java deleted file mode 100644 index 0ffbf096..00000000 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecordProto.java +++ /dev/null @@ -1,57 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/monitoring/v3/mutation_record.proto - -package com.google.monitoring.v3; - -public final class MutationRecordProto { - private MutationRecordProto() {} - 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_monitoring_v3_MutationRecord_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_MutationRecord_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/monitoring/v3/mutation_record.p" + - "roto\022\024google.monitoring.v3\032\037google/proto" + - "buf/timestamp.proto\"U\n\016MutationRecord\022/\n" + - "\013mutate_time\030\001 \001(\0132\032.google.protobuf.Tim" + - "estamp\022\022\n\nmutated_by\030\002 \001(\tB\313\001\n\030com.googl" + - "e.monitoring.v3B\023MutationRecordProtoP\001Z>" + - "google.golang.org/genproto/googleapis/mo" + - "nitoring/v3;monitoring\252\002\032Google.Cloud.Mo" + - "nitoring.V3\312\002\032Google\\Cloud\\Monitoring\\V3" + - "\352\002\035Google::Cloud::Monitoring::V3b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_monitoring_v3_MutationRecord_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_monitoring_v3_MutationRecord_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_MutationRecord_descriptor, - new java.lang.String[] { "MutateTime", "MutatedBy", }); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationProto.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationProto.java deleted file mode 100644 index 53d20e0f..00000000 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationProto.java +++ /dev/null @@ -1,145 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/monitoring/v3/notification.proto - -package com.google.monitoring.v3; - -public final class NotificationProto { - private NotificationProto() {} - 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_monitoring_v3_NotificationChannelDescriptor_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_NotificationChannelDescriptor_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_NotificationChannel_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_NotificationChannel_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_NotificationChannel_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_NotificationChannel_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_NotificationChannel_UserLabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_NotificationChannel_UserLabelsEntry_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/monitoring/v3/notification.prot" + - "o\022\024google.monitoring.v3\032\026google/api/labe" + - "l.proto\032\035google/api/launch_stage.proto\032\031" + - "google/api/resource.proto\032!google/monito" + - "ring/v3/common.proto\032*google/monitoring/" + - "v3/mutation_record.proto\032\036google/protobu" + - "f/wrappers.proto\"\245\004\n\035NotificationChannel" + - "Descriptor\022\014\n\004name\030\006 \001(\t\022\014\n\004type\030\001 \001(\t\022\024" + - "\n\014display_name\030\002 \001(\t\022\023\n\013description\030\003 \001(" + - "\t\022+\n\006labels\030\004 \003(\0132\033.google.api.LabelDesc" + - "riptor\022>\n\017supported_tiers\030\005 \003(\0162!.google" + - ".monitoring.v3.ServiceTierB\002\030\001\022-\n\014launch" + - "_stage\030\007 \001(\0162\027.google.api.LaunchStage:\240\002" + - "\352A\234\002\n7monitoring.googleapis.com/Notifica" + - "tionChannelDescriptor\022Fprojects/{project" + - "}/notificationChannelDescriptors/{channe" + - "l_descriptor}\022Porganizations/{organizati" + - "on}/notificationChannelDescriptors/{chan" + - "nel_descriptor}\022Dfolders/{folder}/notifi" + - "cationChannelDescriptors/{channel_descri" + - "ptor}\022\001*\"\266\007\n\023NotificationChannel\022\014\n\004type" + - "\030\001 \001(\t\022\014\n\004name\030\006 \001(\t\022\024\n\014display_name\030\003 \001" + - "(\t\022\023\n\013description\030\004 \001(\t\022E\n\006labels\030\005 \003(\0132" + - "5.google.monitoring.v3.NotificationChann" + - "el.LabelsEntry\022N\n\013user_labels\030\010 \003(\01329.go" + - "ogle.monitoring.v3.NotificationChannel.U" + - "serLabelsEntry\022Y\n\023verification_status\030\t " + - "\001(\0162<.google.monitoring.v3.NotificationC" + - "hannel.VerificationStatus\022+\n\007enabled\030\013 \001" + - "(\0132\032.google.protobuf.BoolValue\022=\n\017creati" + - "on_record\030\014 \001(\0132$.google.monitoring.v3.M" + - "utationRecord\022>\n\020mutation_records\030\r \003(\0132" + - "$.google.monitoring.v3.MutationRecord\032-\n" + - "\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t" + - ":\0028\001\0321\n\017UserLabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" + - "value\030\002 \001(\t:\0028\001\"W\n\022VerificationStatus\022#\n" + - "\037VERIFICATION_STATUS_UNSPECIFIED\020\000\022\016\n\nUN" + - "VERIFIED\020\001\022\014\n\010VERIFIED\020\002:\376\001\352A\372\001\n-monitor" + - "ing.googleapis.com/NotificationChannel\022>" + - "projects/{project}/notificationChannels/" + - "{notification_channel}\022Horganizations/{o" + - "rganization}/notificationChannels/{notif" + - "ication_channel}\022google.golang.org/genproto/" + - "googleapis/monitoring/v3;monitoring\252\002\032Go" + - "ogle.Cloud.Monitoring.V3\312\002\032Google\\Cloud\\" + - "Monitoring\\V3\352\002\035Google::Cloud::Monitorin" + - "g::V3b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.LabelProto.getDescriptor(), - com.google.api.LaunchStageProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.monitoring.v3.CommonProto.getDescriptor(), - com.google.monitoring.v3.MutationRecordProto.getDescriptor(), - com.google.protobuf.WrappersProto.getDescriptor(), - }); - internal_static_google_monitoring_v3_NotificationChannelDescriptor_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_monitoring_v3_NotificationChannelDescriptor_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_NotificationChannelDescriptor_descriptor, - new java.lang.String[] { "Name", "Type", "DisplayName", "Description", "Labels", "SupportedTiers", "LaunchStage", }); - internal_static_google_monitoring_v3_NotificationChannel_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_monitoring_v3_NotificationChannel_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_NotificationChannel_descriptor, - new java.lang.String[] { "Type", "Name", "DisplayName", "Description", "Labels", "UserLabels", "VerificationStatus", "Enabled", "CreationRecord", "MutationRecords", }); - internal_static_google_monitoring_v3_NotificationChannel_LabelsEntry_descriptor = - internal_static_google_monitoring_v3_NotificationChannel_descriptor.getNestedTypes().get(0); - internal_static_google_monitoring_v3_NotificationChannel_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_NotificationChannel_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_monitoring_v3_NotificationChannel_UserLabelsEntry_descriptor = - internal_static_google_monitoring_v3_NotificationChannel_descriptor.getNestedTypes().get(1); - internal_static_google_monitoring_v3_NotificationChannel_UserLabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_NotificationChannel_UserLabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.LabelProto.getDescriptor(); - com.google.api.LaunchStageProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.monitoring.v3.CommonProto.getDescriptor(); - com.google.monitoring.v3.MutationRecordProto.getDescriptor(); - com.google.protobuf.WrappersProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationServiceProto.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationServiceProto.java deleted file mode 100644 index 8880c074..00000000 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationServiceProto.java +++ /dev/null @@ -1,327 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/monitoring/v3/notification_service.proto - -package com.google.monitoring.v3; - -public final class NotificationServiceProto { - private NotificationServiceProto() {} - 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_monitoring_v3_ListNotificationChannelDescriptorsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_GetNotificationChannelDescriptorRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_GetNotificationChannelDescriptorRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_CreateNotificationChannelRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_CreateNotificationChannelRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ListNotificationChannelsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListNotificationChannelsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ListNotificationChannelsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListNotificationChannelsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_GetNotificationChannelRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_GetNotificationChannelRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_UpdateNotificationChannelRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_UpdateNotificationChannelRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_DeleteNotificationChannelRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_DeleteNotificationChannelRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_SendNotificationChannelVerificationCodeRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_SendNotificationChannelVerificationCodeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_VerifyNotificationChannelRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_VerifyNotificationChannelRequest_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/monitoring/v3/notification_serv" + - "ice.proto\022\024google.monitoring.v3\032\034google/" + - "api/annotations.proto\032\027google/api/client" + - ".proto\032\037google/api/field_behavior.proto\032" + - "\031google/api/resource.proto\032\'google/monit" + - "oring/v3/notification.proto\032\033google/prot" + - "obuf/empty.proto\032 google/protobuf/field_" + - "mask.proto\032\034google/protobuf/struct.proto" + - "\032\037google/protobuf/timestamp.proto\"\241\001\n)Li" + - "stNotificationChannelDescriptorsRequest\022" + - "M\n\004name\030\004 \001(\tB?\340A\002\372A9\0227monitoring.google" + - "apis.com/NotificationChannelDescriptor\022\021" + - "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\227\001" + - "\n*ListNotificationChannelDescriptorsResp" + - "onse\022P\n\023channel_descriptors\030\001 \003(\01323.goog" + - "le.monitoring.v3.NotificationChannelDesc" + - "riptor\022\027\n\017next_page_token\030\002 \001(\t\"x\n\'GetNo" + - "tificationChannelDescriptorRequest\022M\n\004na" + - "me\030\003 \001(\tB?\340A\002\372A9\n7monitoring.googleapis." + - "com/NotificationChannelDescriptor\"\265\001\n Cr" + - "eateNotificationChannelRequest\022C\n\004name\030\003" + - " \001(\tB5\340A\002\372A/\022-monitoring.googleapis.com/" + - "NotificationChannel\022L\n\024notification_chan" + - "nel\030\002 \001(\0132).google.monitoring.v3.Notific" + - "ationChannelB\003\340A\002\"\257\001\n\037ListNotificationCh" + - "annelsRequest\022C\n\004name\030\005 \001(\tB5\340A\002\372A/\022-mon" + - "itoring.googleapis.com/NotificationChann" + - "el\022\016\n\006filter\030\006 \001(\t\022\020\n\010order_by\030\007 \001(\t\022\021\n\t" + - "page_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"\231\001\n " + - "ListNotificationChannelsResponse\022H\n\025noti" + - "fication_channels\030\003 \003(\0132).google.monitor" + - "ing.v3.NotificationChannel\022\027\n\017next_page_" + - "token\030\002 \001(\t\022\022\n\ntotal_size\030\004 \001(\005\"d\n\035GetNo" + - "tificationChannelRequest\022C\n\004name\030\003 \001(\tB5" + - "\340A\002\372A/\n-monitoring.googleapis.com/Notifi" + - "cationChannel\"\241\001\n UpdateNotificationChan" + - "nelRequest\022/\n\013update_mask\030\002 \001(\0132\032.google" + - ".protobuf.FieldMask\022L\n\024notification_chan" + - "nel\030\003 \001(\0132).google.monitoring.v3.Notific" + - "ationChannelB\003\340A\002\"v\n DeleteNotificationC" + - "hannelRequest\022C\n\004name\030\003 \001(\tB5\340A\002\372A/\n-mon" + - "itoring.googleapis.com/NotificationChann" + - "el\022\r\n\005force\030\005 \001(\010\"u\n.SendNotificationCha" + - "nnelVerificationCodeRequest\022C\n\004name\030\001 \001(" + - "\tB5\340A\002\372A/\n-monitoring.googleapis.com/Not" + - "ificationChannel\"\245\001\n-GetNotificationChan" + - "nelVerificationCodeRequest\022C\n\004name\030\001 \001(\t" + - "B5\340A\002\372A/\n-monitoring.googleapis.com/Noti" + - "ficationChannel\022/\n\013expire_time\030\002 \001(\0132\032.g" + - "oogle.protobuf.Timestamp\"o\n.GetNotificat" + - "ionChannelVerificationCodeResponse\022\014\n\004co" + - "de\030\001 \001(\t\022/\n\013expire_time\030\002 \001(\0132\032.google.p" + - "rotobuf.Timestamp\"z\n VerifyNotificationC" + - "hannelRequest\022C\n\004name\030\001 \001(\tB5\340A\002\372A/\n-mon" + - "itoring.googleapis.com/NotificationChann" + - "el\022\021\n\004code\030\002 \001(\tB\003\340A\0022\352\022\n\032NotificationCh" + - "annelService\022\354\001\n\"ListNotificationChannel" + - "Descriptors\022?.google.monitoring.v3.ListN" + - "otificationChannelDescriptorsRequest\032@.g" + - "oogle.monitoring.v3.ListNotificationChan" + - "nelDescriptorsResponse\"C\202\323\344\223\0026\0224/v3/{nam" + - "e=projects/*}/notificationChannelDescrip" + - "tors\332A\004name\022\335\001\n GetNotificationChannelDe" + - "scriptor\022=.google.monitoring.v3.GetNotif" + - "icationChannelDescriptorRequest\0323.google" + - ".monitoring.v3.NotificationChannelDescri" + - "ptor\"E\202\323\344\223\0028\0226/v3/{name=projects/*/notif" + - "icationChannelDescriptors/*}\332A\004name\022\304\001\n\030" + - "ListNotificationChannels\0225.google.monito" + - "ring.v3.ListNotificationChannelsRequest\032" + - "6.google.monitoring.v3.ListNotificationC" + - "hannelsResponse\"9\202\323\344\223\002,\022*/v3/{name=proje" + - "cts/*}/notificationChannels\332A\004name\022\265\001\n\026G" + - "etNotificationChannel\0223.google.monitorin" + - "g.v3.GetNotificationChannelRequest\032).goo" + - "gle.monitoring.v3.NotificationChannel\";\202" + - "\323\344\223\002.\022,/v3/{name=projects/*/notification" + - "Channels/*}\332A\004name\022\344\001\n\031CreateNotificatio" + - "nChannel\0226.google.monitoring.v3.CreateNo" + - "tificationChannelRequest\032).google.monito" + - "ring.v3.NotificationChannel\"d\202\323\344\223\002B\"*/v3" + - "/{name=projects/*}/notificationChannels:" + - "\024notification_channel\332A\031name,notificatio" + - "n_channel\022\203\002\n\031UpdateNotificationChannel\022" + - "6.google.monitoring.v3.UpdateNotificatio" + - "nChannelRequest\032).google.monitoring.v3.N" + - "otificationChannel\"\202\001\202\323\344\223\002Y2A/v3/{notifi" + - "cation_channel.name=projects/*/notificat" + - "ionChannels/*}:\024notification_channel\332A u" + - "pdate_mask,notification_channel\022\256\001\n\031Dele" + - "teNotificationChannel\0226.google.monitorin" + - "g.v3.DeleteNotificationChannelRequest\032\026." + - "google.protobuf.Empty\"A\202\323\344\223\002.*,/v3/{name" + - "=projects/*/notificationChannels/*}\332A\nna" + - "me,force\022\334\001\n\'SendNotificationChannelVeri" + - "ficationCode\022D.google.monitoring.v3.Send" + - "NotificationChannelVerificationCodeReque" + - "st\032\026.google.protobuf.Empty\"S\202\323\344\223\002F\"A/v3/" + - "{name=projects/*/notificationChannels/*}" + - ":sendVerificationCode:\001*\332A\004name\022\207\002\n&GetN" + - "otificationChannelVerificationCode\022C.goo" + - "gle.monitoring.v3.GetNotificationChannel" + - "VerificationCodeRequest\032D.google.monitor" + - "ing.v3.GetNotificationChannelVerificatio" + - "nCodeResponse\"R\202\323\344\223\002E\"@/v3/{name=project" + - "s/*/notificationChannels/*}:getVerificat" + - "ionCode:\001*\332A\004name\022\312\001\n\031VerifyNotification" + - "Channel\0226.google.monitoring.v3.VerifyNot" + - "ificationChannelRequest\032).google.monitor" + - "ing.v3.NotificationChannel\"J\202\323\344\223\0028\"3/v3/" + - "{name=projects/*/notificationChannels/*}" + - ":verify:\001*\332A\tname,code\032\251\001\312A\031monitoring.g" + - "oogleapis.com\322A\211\001https://www.googleapis." + - "com/auth/cloud-platform,https://www.goog" + - "leapis.com/auth/monitoring,https://www.g" + - "oogleapis.com/auth/monitoring.readB\320\001\n\030c" + - "om.google.monitoring.v3B\030NotificationSer" + - "viceProtoP\001Z>google.golang.org/genproto/" + - "googleapis/monitoring/v3;monitoring\252\002\032Go" + - "ogle.Cloud.Monitoring.V3\312\002\032Google\\Cloud\\" + - "Monitoring\\V3\352\002\035Google::Cloud::Monitorin" + - "g::V3b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.monitoring.v3.NotificationProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsRequest_descriptor, - new java.lang.String[] { "Name", "PageSize", "PageToken", }); - internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsResponse_descriptor, - new java.lang.String[] { "ChannelDescriptors", "NextPageToken", }); - internal_static_google_monitoring_v3_GetNotificationChannelDescriptorRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_monitoring_v3_GetNotificationChannelDescriptorRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_GetNotificationChannelDescriptorRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_monitoring_v3_CreateNotificationChannelRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_monitoring_v3_CreateNotificationChannelRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_CreateNotificationChannelRequest_descriptor, - new java.lang.String[] { "Name", "NotificationChannel", }); - internal_static_google_monitoring_v3_ListNotificationChannelsRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_monitoring_v3_ListNotificationChannelsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListNotificationChannelsRequest_descriptor, - new java.lang.String[] { "Name", "Filter", "OrderBy", "PageSize", "PageToken", }); - internal_static_google_monitoring_v3_ListNotificationChannelsResponse_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_monitoring_v3_ListNotificationChannelsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListNotificationChannelsResponse_descriptor, - new java.lang.String[] { "NotificationChannels", "NextPageToken", "TotalSize", }); - internal_static_google_monitoring_v3_GetNotificationChannelRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_monitoring_v3_GetNotificationChannelRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_GetNotificationChannelRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_monitoring_v3_UpdateNotificationChannelRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_monitoring_v3_UpdateNotificationChannelRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_UpdateNotificationChannelRequest_descriptor, - new java.lang.String[] { "UpdateMask", "NotificationChannel", }); - internal_static_google_monitoring_v3_DeleteNotificationChannelRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_monitoring_v3_DeleteNotificationChannelRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_DeleteNotificationChannelRequest_descriptor, - new java.lang.String[] { "Name", "Force", }); - internal_static_google_monitoring_v3_SendNotificationChannelVerificationCodeRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_monitoring_v3_SendNotificationChannelVerificationCodeRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_SendNotificationChannelVerificationCodeRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeRequest_descriptor, - new java.lang.String[] { "Name", "ExpireTime", }); - internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeResponse_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeResponse_descriptor, - new java.lang.String[] { "Code", "ExpireTime", }); - internal_static_google_monitoring_v3_VerifyNotificationChannelRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_monitoring_v3_VerifyNotificationChannelRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_VerifyNotificationChannelRequest_descriptor, - new java.lang.String[] { "Name", "Code", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.monitoring.v3.NotificationProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryServiceProto.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryServiceProto.java deleted file mode 100644 index a1c67e4d..00000000 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryServiceProto.java +++ /dev/null @@ -1,71 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/monitoring/v3/query_service.proto - -package com.google.monitoring.v3; - -public final class QueryServiceProto { - private QueryServiceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n(google/monitoring/v3/query_service.pro" + - "to\022\024google.monitoring.v3\032\034google/api/ann" + - "otations.proto\032\026google/api/label.proto\032!" + - "google/monitoring/v3/metric.proto\032)googl" + - "e/monitoring/v3/metric_service.proto\032\027go" + - "ogle/api/client.proto2\336\002\n\014QueryService\022\241" + - "\001\n\017QueryTimeSeries\022,.google.monitoring.v" + - "3.QueryTimeSeriesRequest\032-.google.monito" + - "ring.v3.QueryTimeSeriesResponse\"1\202\323\344\223\002+\"" + - "&/v3/{name=projects/*}/timeSeries:query:" + - "\001*\032\251\001\312A\031monitoring.googleapis.com\322A\211\001htt" + - "ps://www.googleapis.com/auth/cloud-platf" + - "orm,https://www.googleapis.com/auth/moni" + - "toring,https://www.googleapis.com/auth/m" + - "onitoring.readB\311\001\n\030com.google.monitoring" + - ".v3B\021QueryServiceProtoP\001Z>google.golang." + - "org/genproto/googleapis/monitoring/v3;mo" + - "nitoring\252\002\032Google.Cloud.Monitoring.V3\312\002\032" + - "Google\\Cloud\\Monitoring\\V3\352\002\035Google::Clo" + - "ud::Monitoring::V3b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.LabelProto.getDescriptor(), - com.google.monitoring.v3.MetricProto.getDescriptor(), - com.google.monitoring.v3.MetricServiceProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.oauthScopes); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.LabelProto.getDescriptor(); - com.google.monitoring.v3.MetricProto.getDescriptor(); - com.google.monitoring.v3.MetricServiceProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RangeOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RangeOrBuilder.java deleted file mode 100644 index 1b87a39b..00000000 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RangeOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/monitoring/v3/service.proto - -package com.google.monitoring.v3; - -public interface RangeOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.monitoring.v3.Range) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Range minimum.
-   * 
- * - * double min = 1; - * @return The min. - */ - double getMin(); - - /** - *
-   * Range maximum.
-   * 
- * - * double max = 2; - * @return The max. - */ - double getMax(); -} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequestOrBuilder.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequestOrBuilder.java deleted file mode 100644 index fa54c1e5..00000000 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/monitoring/v3/notification_service.proto - -package com.google.monitoring.v3; - -public interface SendNotificationChannelVerificationCodeRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.monitoring.v3.SendNotificationChannelVerificationCodeRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The notification channel to which to send a verification code.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The notification channel to which to send a verification code.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringProto.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringProto.java deleted file mode 100644 index b72762e4..00000000 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringProto.java +++ /dev/null @@ -1,392 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/monitoring/v3/service.proto - -package com.google.monitoring.v3; - -public final class ServiceMonitoringProto { - private ServiceMonitoringProto() {} - 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_monitoring_v3_Service_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_Service_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_Service_Custom_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_Service_Custom_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_Service_AppEngine_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_Service_AppEngine_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_Service_CloudEndpoints_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_Service_CloudEndpoints_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_Service_ClusterIstio_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_Service_ClusterIstio_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_Service_MeshIstio_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_Service_MeshIstio_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_Service_IstioCanonicalService_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_Service_IstioCanonicalService_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_Service_Telemetry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_Service_Telemetry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_Service_UserLabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_Service_UserLabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ServiceLevelObjective_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ServiceLevelObjective_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ServiceLevelObjective_UserLabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ServiceLevelObjective_UserLabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ServiceLevelIndicator_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ServiceLevelIndicator_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_BasicSli_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_BasicSli_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_BasicSli_AvailabilityCriteria_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_BasicSli_AvailabilityCriteria_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_BasicSli_LatencyCriteria_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_BasicSli_LatencyCriteria_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_Range_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_Range_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_RequestBasedSli_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_RequestBasedSli_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_TimeSeriesRatio_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_TimeSeriesRatio_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_DistributionCut_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_DistributionCut_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_WindowsBasedSli_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_WindowsBasedSli_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_WindowsBasedSli_PerformanceThreshold_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_WindowsBasedSli_PerformanceThreshold_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_WindowsBasedSli_MetricRange_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_WindowsBasedSli_MetricRange_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/monitoring/v3/service.proto\022\024go" + - "ogle.monitoring.v3\032\037google/api/field_beh" + - "avior.proto\032\031google/api/resource.proto\032\036" + - "google/protobuf/duration.proto\032\037google/p" + - "rotobuf/timestamp.proto\032!google/type/cal" + - "endar_period.proto\"\311\t\n\007Service\022\014\n\004name\030\001" + - " \001(\t\022\024\n\014display_name\030\002 \001(\t\0226\n\006custom\030\006 \001" + - "(\0132$.google.monitoring.v3.Service.Custom" + - "H\000\022=\n\napp_engine\030\007 \001(\0132\'.google.monitori" + - "ng.v3.Service.AppEngineH\000\022G\n\017cloud_endpo" + - "ints\030\010 \001(\0132,.google.monitoring.v3.Servic" + - "e.CloudEndpointsH\000\022C\n\rcluster_istio\030\t \001(" + - "\0132*.google.monitoring.v3.Service.Cluster" + - "IstioH\000\022=\n\nmesh_istio\030\n \001(\0132\'.google.mon" + - "itoring.v3.Service.MeshIstioH\000\022V\n\027istio_" + - "canonical_service\030\013 \001(\01323.google.monitor" + - "ing.v3.Service.IstioCanonicalServiceH\000\022:" + - "\n\ttelemetry\030\r \001(\0132\'.google.monitoring.v3" + - ".Service.Telemetry\022B\n\013user_labels\030\016 \003(\0132" + - "-.google.monitoring.v3.Service.UserLabel" + - "sEntry\032\010\n\006Custom\032\036\n\tAppEngine\022\021\n\tmodule_" + - "id\030\001 \001(\t\032!\n\016CloudEndpoints\022\017\n\007service\030\001 " + - "\001(\t\032g\n\014ClusterIstio\022\020\n\010location\030\001 \001(\t\022\024\n" + - "\014cluster_name\030\002 \001(\t\022\031\n\021service_namespace" + - "\030\003 \001(\t\022\024\n\014service_name\030\004 \001(\t\032N\n\tMeshIsti" + - "o\022\020\n\010mesh_uid\030\001 \001(\t\022\031\n\021service_namespace" + - "\030\003 \001(\t\022\024\n\014service_name\030\004 \001(\t\032i\n\025IstioCan" + - "onicalService\022\020\n\010mesh_uid\030\001 \001(\t\022#\n\033canon" + - "ical_service_namespace\030\003 \001(\t\022\031\n\021canonica" + - "l_service\030\004 \001(\t\032\"\n\tTelemetry\022\025\n\rresource" + - "_name\030\001 \001(\t\0321\n\017UserLabelsEntry\022\013\n\003key\030\001 " + - "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\247\001\352A\243\001\n!monitorin" + - "g.googleapis.com/Service\022%projects/{proj" + - "ect}/services/{service}\022/organizations/{" + - "organization}/services/{service}\022#folder" + - "s/{folder}/services/{service}\022\001*B\014\n\niden" + - "tifier\"\226\006\n\025ServiceLevelObjective\022\014\n\004name" + - "\030\001 \001(\t\022\024\n\014display_name\030\013 \001(\t\022L\n\027service_" + - "level_indicator\030\003 \001(\0132+.google.monitorin" + - "g.v3.ServiceLevelIndicator\022\014\n\004goal\030\004 \001(\001" + - "\0223\n\016rolling_period\030\005 \001(\0132\031.google.protob" + - "uf.DurationH\000\0226\n\017calendar_period\030\006 \001(\0162\033" + - ".google.type.CalendarPeriodH\000\022P\n\013user_la" + - "bels\030\014 \003(\0132;.google.monitoring.v3.Servic" + - "eLevelObjective.UserLabelsEntry\0321\n\017UserL" + - "abelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" + - "8\001\"4\n\004View\022\024\n\020VIEW_UNSPECIFIED\020\000\022\010\n\004FULL" + - "\020\002\022\014\n\010EXPLICIT\020\001:\312\002\352A\306\002\n/monitoring.goog" + - "leapis.com/ServiceLevelObjective\022Vprojec" + - "ts/{project}/services/{service}/serviceL" + - "evelObjectives/{service_level_objective}" + - "\022`organizations/{organization}/services/" + - "{service}/serviceLevelObjectives/{servic" + - "e_level_objective}\022Tfolders/{folder}/ser" + - "vices/{service}/serviceLevelObjectives/{" + - "service_level_objective}\022\001* \001B\010\n\006period\"" + - "\324\001\n\025ServiceLevelIndicator\0223\n\tbasic_sli\030\004" + - " \001(\0132\036.google.monitoring.v3.BasicSliH\000\022>" + - "\n\rrequest_based\030\001 \001(\0132%.google.monitorin" + - "g.v3.RequestBasedSliH\000\022>\n\rwindows_based\030" + - "\002 \001(\0132%.google.monitoring.v3.WindowsBase" + - "dSliH\000B\006\n\004type\"\266\002\n\010BasicSli\022\016\n\006method\030\007 " + - "\003(\t\022\020\n\010location\030\010 \003(\t\022\017\n\007version\030\t \003(\t\022K" + - "\n\014availability\030\002 \001(\01323.google.monitoring" + - ".v3.BasicSli.AvailabilityCriteriaH\000\022A\n\007l" + - "atency\030\003 \001(\0132..google.monitoring.v3.Basi" + - "cSli.LatencyCriteriaH\000\032\026\n\024AvailabilityCr" + - "iteria\032?\n\017LatencyCriteria\022,\n\tthreshold\030\003" + - " \001(\0132\031.google.protobuf.DurationB\016\n\014sli_c" + - "riteria\"!\n\005Range\022\013\n\003min\030\001 \001(\001\022\013\n\003max\030\002 \001" + - "(\001\"\241\001\n\017RequestBasedSli\022A\n\020good_total_rat" + - "io\030\001 \001(\0132%.google.monitoring.v3.TimeSeri" + - "esRatioH\000\022A\n\020distribution_cut\030\003 \001(\0132%.go" + - "ogle.monitoring.v3.DistributionCutH\000B\010\n\006" + - "method\"h\n\017TimeSeriesRatio\022\033\n\023good_servic" + - "e_filter\030\004 \001(\t\022\032\n\022bad_service_filter\030\005 \001" + - "(\t\022\034\n\024total_service_filter\030\006 \001(\t\"Z\n\017Dist" + - "ributionCut\022\033\n\023distribution_filter\030\004 \001(\t" + - "\022*\n\005range\030\005 \001(\0132\033.google.monitoring.v3.R" + - "ange\"\203\005\n\017WindowsBasedSli\022 \n\026good_bad_met" + - "ric_filter\030\005 \001(\tH\000\022`\n\032good_total_ratio_t" + - "hreshold\030\002 \001(\0132:.google.monitoring.v3.Wi" + - "ndowsBasedSli.PerformanceThresholdH\000\022Q\n\024" + - "metric_mean_in_range\030\006 \001(\01321.google.moni" + - "toring.v3.WindowsBasedSli.MetricRangeH\000\022" + - "P\n\023metric_sum_in_range\030\007 \001(\01321.google.mo" + - "nitoring.v3.WindowsBasedSli.MetricRangeH" + - "\000\0220\n\rwindow_period\030\004 \001(\0132\031.google.protob" + - "uf.Duration\032\260\001\n\024PerformanceThreshold\022<\n\013" + - "performance\030\001 \001(\0132%.google.monitoring.v3" + - ".RequestBasedSliH\000\022?\n\025basic_sli_performa" + - "nce\030\003 \001(\0132\036.google.monitoring.v3.BasicSl" + - "iH\000\022\021\n\tthreshold\030\002 \001(\001B\006\n\004type\032N\n\013Metric" + - "Range\022\023\n\013time_series\030\001 \001(\t\022*\n\005range\030\004 \001(" + - "\0132\033.google.monitoring.v3.RangeB\022\n\020window" + - "_criterionB\316\001\n\030com.google.monitoring.v3B" + - "\026ServiceMonitoringProtoP\001Z>google.golang" + - ".org/genproto/googleapis/monitoring/v3;m" + - "onitoring\252\002\032Google.Cloud.Monitoring.V3\312\002" + - "\032Google\\Cloud\\Monitoring\\V3\352\002\035Google::Cl" + - "oud::Monitoring::V3b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.type.CalendarPeriodProto.getDescriptor(), - }); - internal_static_google_monitoring_v3_Service_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_monitoring_v3_Service_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_Service_descriptor, - new java.lang.String[] { "Name", "DisplayName", "Custom", "AppEngine", "CloudEndpoints", "ClusterIstio", "MeshIstio", "IstioCanonicalService", "Telemetry", "UserLabels", "Identifier", }); - internal_static_google_monitoring_v3_Service_Custom_descriptor = - internal_static_google_monitoring_v3_Service_descriptor.getNestedTypes().get(0); - internal_static_google_monitoring_v3_Service_Custom_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_Service_Custom_descriptor, - new java.lang.String[] { }); - internal_static_google_monitoring_v3_Service_AppEngine_descriptor = - internal_static_google_monitoring_v3_Service_descriptor.getNestedTypes().get(1); - internal_static_google_monitoring_v3_Service_AppEngine_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_Service_AppEngine_descriptor, - new java.lang.String[] { "ModuleId", }); - internal_static_google_monitoring_v3_Service_CloudEndpoints_descriptor = - internal_static_google_monitoring_v3_Service_descriptor.getNestedTypes().get(2); - internal_static_google_monitoring_v3_Service_CloudEndpoints_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_Service_CloudEndpoints_descriptor, - new java.lang.String[] { "Service", }); - internal_static_google_monitoring_v3_Service_ClusterIstio_descriptor = - internal_static_google_monitoring_v3_Service_descriptor.getNestedTypes().get(3); - internal_static_google_monitoring_v3_Service_ClusterIstio_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_Service_ClusterIstio_descriptor, - new java.lang.String[] { "Location", "ClusterName", "ServiceNamespace", "ServiceName", }); - internal_static_google_monitoring_v3_Service_MeshIstio_descriptor = - internal_static_google_monitoring_v3_Service_descriptor.getNestedTypes().get(4); - internal_static_google_monitoring_v3_Service_MeshIstio_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_Service_MeshIstio_descriptor, - new java.lang.String[] { "MeshUid", "ServiceNamespace", "ServiceName", }); - internal_static_google_monitoring_v3_Service_IstioCanonicalService_descriptor = - internal_static_google_monitoring_v3_Service_descriptor.getNestedTypes().get(5); - internal_static_google_monitoring_v3_Service_IstioCanonicalService_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_Service_IstioCanonicalService_descriptor, - new java.lang.String[] { "MeshUid", "CanonicalServiceNamespace", "CanonicalService", }); - internal_static_google_monitoring_v3_Service_Telemetry_descriptor = - internal_static_google_monitoring_v3_Service_descriptor.getNestedTypes().get(6); - internal_static_google_monitoring_v3_Service_Telemetry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_Service_Telemetry_descriptor, - new java.lang.String[] { "ResourceName", }); - internal_static_google_monitoring_v3_Service_UserLabelsEntry_descriptor = - internal_static_google_monitoring_v3_Service_descriptor.getNestedTypes().get(7); - internal_static_google_monitoring_v3_Service_UserLabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_Service_UserLabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_monitoring_v3_ServiceLevelObjective_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_monitoring_v3_ServiceLevelObjective_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ServiceLevelObjective_descriptor, - new java.lang.String[] { "Name", "DisplayName", "ServiceLevelIndicator", "Goal", "RollingPeriod", "CalendarPeriod", "UserLabels", "Period", }); - internal_static_google_monitoring_v3_ServiceLevelObjective_UserLabelsEntry_descriptor = - internal_static_google_monitoring_v3_ServiceLevelObjective_descriptor.getNestedTypes().get(0); - internal_static_google_monitoring_v3_ServiceLevelObjective_UserLabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ServiceLevelObjective_UserLabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_monitoring_v3_ServiceLevelIndicator_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_monitoring_v3_ServiceLevelIndicator_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ServiceLevelIndicator_descriptor, - new java.lang.String[] { "BasicSli", "RequestBased", "WindowsBased", "Type", }); - internal_static_google_monitoring_v3_BasicSli_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_monitoring_v3_BasicSli_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_BasicSli_descriptor, - new java.lang.String[] { "Method", "Location", "Version", "Availability", "Latency", "SliCriteria", }); - internal_static_google_monitoring_v3_BasicSli_AvailabilityCriteria_descriptor = - internal_static_google_monitoring_v3_BasicSli_descriptor.getNestedTypes().get(0); - internal_static_google_monitoring_v3_BasicSli_AvailabilityCriteria_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_BasicSli_AvailabilityCriteria_descriptor, - new java.lang.String[] { }); - internal_static_google_monitoring_v3_BasicSli_LatencyCriteria_descriptor = - internal_static_google_monitoring_v3_BasicSli_descriptor.getNestedTypes().get(1); - internal_static_google_monitoring_v3_BasicSli_LatencyCriteria_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_BasicSli_LatencyCriteria_descriptor, - new java.lang.String[] { "Threshold", }); - internal_static_google_monitoring_v3_Range_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_monitoring_v3_Range_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_Range_descriptor, - new java.lang.String[] { "Min", "Max", }); - internal_static_google_monitoring_v3_RequestBasedSli_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_monitoring_v3_RequestBasedSli_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_RequestBasedSli_descriptor, - new java.lang.String[] { "GoodTotalRatio", "DistributionCut", "Method", }); - internal_static_google_monitoring_v3_TimeSeriesRatio_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_monitoring_v3_TimeSeriesRatio_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_TimeSeriesRatio_descriptor, - new java.lang.String[] { "GoodServiceFilter", "BadServiceFilter", "TotalServiceFilter", }); - internal_static_google_monitoring_v3_DistributionCut_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_monitoring_v3_DistributionCut_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_DistributionCut_descriptor, - new java.lang.String[] { "DistributionFilter", "Range", }); - internal_static_google_monitoring_v3_WindowsBasedSli_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_monitoring_v3_WindowsBasedSli_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_WindowsBasedSli_descriptor, - new java.lang.String[] { "GoodBadMetricFilter", "GoodTotalRatioThreshold", "MetricMeanInRange", "MetricSumInRange", "WindowPeriod", "WindowCriterion", }); - internal_static_google_monitoring_v3_WindowsBasedSli_PerformanceThreshold_descriptor = - internal_static_google_monitoring_v3_WindowsBasedSli_descriptor.getNestedTypes().get(0); - internal_static_google_monitoring_v3_WindowsBasedSli_PerformanceThreshold_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_WindowsBasedSli_PerformanceThreshold_descriptor, - new java.lang.String[] { "Performance", "BasicSliPerformance", "Threshold", "Type", }); - internal_static_google_monitoring_v3_WindowsBasedSli_MetricRange_descriptor = - internal_static_google_monitoring_v3_WindowsBasedSli_descriptor.getNestedTypes().get(1); - internal_static_google_monitoring_v3_WindowsBasedSli_MetricRange_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_WindowsBasedSli_MetricRange_descriptor, - new java.lang.String[] { "TimeSeries", "Range", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.type.CalendarPeriodProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringServiceProto.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringServiceProto.java deleted file mode 100644 index 306856ca..00000000 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringServiceProto.java +++ /dev/null @@ -1,296 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/monitoring/v3/service_service.proto - -package com.google.monitoring.v3; - -public final class ServiceMonitoringServiceProto { - private ServiceMonitoringServiceProto() {} - 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_monitoring_v3_CreateServiceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_CreateServiceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_GetServiceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_GetServiceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ListServicesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListServicesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ListServicesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListServicesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_UpdateServiceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_UpdateServiceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_DeleteServiceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_DeleteServiceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_CreateServiceLevelObjectiveRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_CreateServiceLevelObjectiveRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_GetServiceLevelObjectiveRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_GetServiceLevelObjectiveRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ListServiceLevelObjectivesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListServiceLevelObjectivesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ListServiceLevelObjectivesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListServiceLevelObjectivesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_UpdateServiceLevelObjectiveRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_UpdateServiceLevelObjectiveRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_DeleteServiceLevelObjectiveRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_DeleteServiceLevelObjectiveRequest_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/monitoring/v3/service_service.p" + - "roto\022\024google.monitoring.v3\032\034google/api/a" + - "nnotations.proto\032\027google/api/client.prot" + - "o\032\037google/api/field_behavior.proto\032\031goog" + - "le/api/resource.proto\032\"google/monitoring" + - "/v3/service.proto\032\033google/protobuf/empty" + - ".proto\032 google/protobuf/field_mask.proto" + - "\"\232\001\n\024CreateServiceRequest\0229\n\006parent\030\001 \001(" + - "\tB)\340A\002\372A#\022!monitoring.googleapis.com/Ser" + - "vice\022\022\n\nservice_id\030\003 \001(\t\0223\n\007service\030\002 \001(" + - "\0132\035.google.monitoring.v3.ServiceB\003\340A\002\"L\n" + - "\021GetServiceRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#" + - "\n!monitoring.googleapis.com/Service\"\207\001\n\023" + - "ListServicesRequest\0229\n\006parent\030\001 \001(\tB)\340A\002" + - "\372A#\022!monitoring.googleapis.com/Service\022\016" + - "\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npag" + - "e_token\030\004 \001(\t\"`\n\024ListServicesResponse\022/\n" + - "\010services\030\001 \003(\0132\035.google.monitoring.v3.S" + - "ervice\022\027\n\017next_page_token\030\002 \001(\t\"|\n\024Updat" + - "eServiceRequest\0223\n\007service\030\001 \001(\0132\035.googl" + - "e.monitoring.v3.ServiceB\003\340A\002\022/\n\013update_m" + - "ask\030\002 \001(\0132\032.google.protobuf.FieldMask\"O\n" + - "\024DeleteServiceRequest\0227\n\004name\030\001 \001(\tB)\340A\002" + - "\372A#\n!monitoring.googleapis.com/Service\"\326" + - "\001\n\"CreateServiceLevelObjectiveRequest\0229\n" + - "\006parent\030\001 \001(\tB)\340A\002\372A#\n!monitoring.google" + - "apis.com/Service\022\"\n\032service_level_object" + - "ive_id\030\003 \001(\t\022Q\n\027service_level_objective\030" + - "\002 \001(\0132+.google.monitoring.v3.ServiceLeve" + - "lObjectiveB\003\340A\002\"\250\001\n\037GetServiceLevelObjec" + - "tiveRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/monit" + - "oring.googleapis.com/ServiceLevelObjecti" + - "ve\022>\n\004view\030\002 \001(\01620.google.monitoring.v3." + - "ServiceLevelObjective.View\"\325\001\n!ListServi" + - "ceLevelObjectivesRequest\0229\n\006parent\030\001 \001(\t" + - "B)\340A\002\372A#\n!monitoring.googleapis.com/Serv" + - "ice\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022" + - "\n\npage_token\030\004 \001(\t\022>\n\004view\030\005 \001(\01620.googl" + - "e.monitoring.v3.ServiceLevelObjective.Vi" + - "ew\"\214\001\n\"ListServiceLevelObjectivesRespons" + - "e\022M\n\030service_level_objectives\030\001 \003(\0132+.go" + - "ogle.monitoring.v3.ServiceLevelObjective" + - "\022\027\n\017next_page_token\030\002 \001(\t\"\250\001\n\"UpdateServ" + - "iceLevelObjectiveRequest\022Q\n\027service_leve" + - "l_objective\030\001 \001(\0132+.google.monitoring.v3" + - ".ServiceLevelObjectiveB\003\340A\002\022/\n\013update_ma" + - "sk\030\002 \001(\0132\032.google.protobuf.FieldMask\"k\n\"" + - "DeleteServiceLevelObjectiveRequest\022E\n\004na" + - "me\030\001 \001(\tB7\340A\002\372A1\n/monitoring.googleapis." + - "com/ServiceLevelObjective2\352\017\n\030ServiceMon" + - "itoringService\022\227\001\n\rCreateService\022*.googl" + - "e.monitoring.v3.CreateServiceRequest\032\035.g" + - "oogle.monitoring.v3.Service\";\202\323\344\223\002$\"\031/v3" + - "/{parent=*/*}/services:\007service\332A\016parent" + - ",service\022~\n\nGetService\022\'.google.monitori" + - "ng.v3.GetServiceRequest\032\035.google.monitor" + - "ing.v3.Service\"(\202\323\344\223\002\033\022\031/v3/{name=*/*/se" + - "rvices/*}\332A\004name\022\221\001\n\014ListServices\022).goog" + - "le.monitoring.v3.ListServicesRequest\032*.g" + - "oogle.monitoring.v3.ListServicesResponse" + - "\"*\202\323\344\223\002\033\022\031/v3/{parent=*/*}/services\332A\006pa" + - "rent\022\230\001\n\rUpdateService\022*.google.monitori" + - "ng.v3.UpdateServiceRequest\032\035.google.moni" + - "toring.v3.Service\"<\202\323\344\223\002,2!/v3/{service." + - "name=*/*/services/*}:\007service\332A\007service\022" + - "}\n\rDeleteService\022*.google.monitoring.v3." + - "DeleteServiceRequest\032\026.google.protobuf.E" + - "mpty\"(\202\323\344\223\002\033*\031/v3/{name=*/*/services/*}\332" + - "A\004name\022\372\001\n\033CreateServiceLevelObjective\0228" + - ".google.monitoring.v3.CreateServiceLevel" + - "ObjectiveRequest\032+.google.monitoring.v3." + - "ServiceLevelObjective\"t\202\323\344\223\002M\"2/v3/{pare" + - "nt=*/*/services/*}/serviceLevelObjective" + - "s:\027service_level_objective\332A\036parent,serv" + - "ice_level_objective\022\301\001\n\030GetServiceLevelO" + - "bjective\0225.google.monitoring.v3.GetServi" + - "ceLevelObjectiveRequest\032+.google.monitor" + - "ing.v3.ServiceLevelObjective\"A\202\323\344\223\0024\0222/v" + - "3/{name=*/*/services/*/serviceLevelObjec" + - "tives/*}\332A\004name\022\324\001\n\032ListServiceLevelObje" + - "ctives\0227.google.monitoring.v3.ListServic" + - "eLevelObjectivesRequest\0328.google.monitor" + - "ing.v3.ListServiceLevelObjectivesRespons" + - "e\"C\202\323\344\223\0024\0222/v3/{parent=*/*/services/*}/s" + - "erviceLevelObjectives\332A\006parent\022\214\002\n\033Updat" + - "eServiceLevelObjective\0228.google.monitori" + - "ng.v3.UpdateServiceLevelObjectiveRequest" + - "\032+.google.monitoring.v3.ServiceLevelObje" + - "ctive\"\205\001\202\323\344\223\002e2J/v3/{service_level_objec" + - "tive.name=*/*/services/*/serviceLevelObj" + - "ectives/*}:\027service_level_objective\332A\027se" + - "rvice_level_objective\022\262\001\n\033DeleteServiceL" + - "evelObjective\0228.google.monitoring.v3.Del" + - "eteServiceLevelObjectiveRequest\032\026.google" + - ".protobuf.Empty\"A\202\323\344\223\0024*2/v3/{name=*/*/s" + - "ervices/*/serviceLevelObjectives/*}\332A\004na" + - "me\032\251\001\312A\031monitoring.googleapis.com\322A\211\001htt" + - "ps://www.googleapis.com/auth/cloud-platf" + - "orm,https://www.googleapis.com/auth/moni" + - "toring,https://www.googleapis.com/auth/m" + - "onitoring.readB\325\001\n\030com.google.monitoring" + - ".v3B\035ServiceMonitoringServiceProtoP\001Z>go" + - "ogle.golang.org/genproto/googleapis/moni" + - "toring/v3;monitoring\252\002\032Google.Cloud.Moni" + - "toring.V3\312\002\032Google\\Cloud\\Monitoring\\V3\352\002" + - "\035Google::Cloud::Monitoring::V3b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.monitoring.v3.ServiceMonitoringProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_monitoring_v3_CreateServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_monitoring_v3_CreateServiceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_CreateServiceRequest_descriptor, - new java.lang.String[] { "Parent", "ServiceId", "Service", }); - internal_static_google_monitoring_v3_GetServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_monitoring_v3_GetServiceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_GetServiceRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_monitoring_v3_ListServicesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_monitoring_v3_ListServicesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListServicesRequest_descriptor, - new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", }); - internal_static_google_monitoring_v3_ListServicesResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_monitoring_v3_ListServicesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListServicesResponse_descriptor, - new java.lang.String[] { "Services", "NextPageToken", }); - internal_static_google_monitoring_v3_UpdateServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_monitoring_v3_UpdateServiceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_UpdateServiceRequest_descriptor, - new java.lang.String[] { "Service", "UpdateMask", }); - internal_static_google_monitoring_v3_DeleteServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_monitoring_v3_DeleteServiceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_DeleteServiceRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_monitoring_v3_CreateServiceLevelObjectiveRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_monitoring_v3_CreateServiceLevelObjectiveRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_CreateServiceLevelObjectiveRequest_descriptor, - new java.lang.String[] { "Parent", "ServiceLevelObjectiveId", "ServiceLevelObjective", }); - internal_static_google_monitoring_v3_GetServiceLevelObjectiveRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_monitoring_v3_GetServiceLevelObjectiveRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_GetServiceLevelObjectiveRequest_descriptor, - new java.lang.String[] { "Name", "View", }); - internal_static_google_monitoring_v3_ListServiceLevelObjectivesRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_monitoring_v3_ListServiceLevelObjectivesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListServiceLevelObjectivesRequest_descriptor, - new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", "View", }); - internal_static_google_monitoring_v3_ListServiceLevelObjectivesResponse_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_monitoring_v3_ListServiceLevelObjectivesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListServiceLevelObjectivesResponse_descriptor, - new java.lang.String[] { "ServiceLevelObjectives", "NextPageToken", }); - internal_static_google_monitoring_v3_UpdateServiceLevelObjectiveRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_monitoring_v3_UpdateServiceLevelObjectiveRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_UpdateServiceLevelObjectiveRequest_descriptor, - new java.lang.String[] { "ServiceLevelObjective", "UpdateMask", }); - internal_static_google_monitoring_v3_DeleteServiceLevelObjectiveRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_monitoring_v3_DeleteServiceLevelObjectiveRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_DeleteServiceLevelObjectiveRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.monitoring.v3.ServiceMonitoringProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContextProto.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContextProto.java deleted file mode 100644 index c132c785..00000000 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContextProto.java +++ /dev/null @@ -1,53 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/monitoring/v3/span_context.proto - -package com.google.monitoring.v3; - -public final class SpanContextProto { - private SpanContextProto() {} - 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_monitoring_v3_SpanContext_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_SpanContext_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/monitoring/v3/span_context.prot" + - "o\022\024google.monitoring.v3\" \n\013SpanContext\022\021" + - "\n\tspan_name\030\001 \001(\tB\310\001\n\030com.google.monitor" + - "ing.v3B\020SpanContextProtoP\001Z>google.golan" + - "g.org/genproto/googleapis/monitoring/v3;" + - "monitoring\252\002\032Google.Cloud.Monitoring.V3\312" + - "\002\032Google\\Cloud\\Monitoring\\V3\352\002\035Google::C" + - "loud::Monitoring::V3b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - internal_static_google_monitoring_v3_SpanContext_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_monitoring_v3_SpanContext_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_SpanContext_descriptor, - new java.lang.String[] { "SpanName", }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeProto.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeProto.java deleted file mode 100644 index 7baec70b..00000000 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeProto.java +++ /dev/null @@ -1,218 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/monitoring/v3/uptime.proto - -package com.google.monitoring.v3; - -public final class UptimeProto { - private UptimeProto() {} - 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_monitoring_v3_InternalChecker_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_InternalChecker_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_UptimeCheckConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_UptimeCheckConfig_ResourceGroup_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_UptimeCheckConfig_ResourceGroup_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_BasicAuthentication_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_BasicAuthentication_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_HeadersEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_HeadersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_UptimeCheckConfig_TcpCheck_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_UptimeCheckConfig_TcpCheck_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_UptimeCheckConfig_ContentMatcher_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_UptimeCheckConfig_ContentMatcher_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_UptimeCheckIp_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_UptimeCheckIp_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/monitoring/v3/uptime.proto\022\024goo" + - "gle.monitoring.v3\032#google/api/monitored_" + - "resource.proto\032\031google/api/resource.prot" + - "o\032\036google/protobuf/duration.proto\"\346\001\n\017In" + - "ternalChecker\022\014\n\004name\030\001 \001(\t\022\024\n\014display_n" + - "ame\030\002 \001(\t\022\017\n\007network\030\003 \001(\t\022\020\n\010gcp_zone\030\004" + - " \001(\t\022\027\n\017peer_project_id\030\006 \001(\t\022:\n\005state\030\007" + - " \001(\0162+.google.monitoring.v3.InternalChec" + - "ker.State\"3\n\005State\022\017\n\013UNSPECIFIED\020\000\022\014\n\010C" + - "REATING\020\001\022\013\n\007RUNNING\020\002:\002\030\001\"\373\017\n\021UptimeChe" + - "ckConfig\022\014\n\004name\030\001 \001(\t\022\024\n\014display_name\030\002" + - " \001(\t\022;\n\022monitored_resource\030\003 \001(\0132\035.googl" + - "e.api.MonitoredResourceH\000\022O\n\016resource_gr" + - "oup\030\004 \001(\01325.google.monitoring.v3.UptimeC" + - "heckConfig.ResourceGroupH\000\022G\n\nhttp_check" + - "\030\005 \001(\01321.google.monitoring.v3.UptimeChec" + - "kConfig.HttpCheckH\001\022E\n\ttcp_check\030\006 \001(\01320" + - ".google.monitoring.v3.UptimeCheckConfig." + - "TcpCheckH\001\022)\n\006period\030\007 \001(\0132\031.google.prot" + - "obuf.Duration\022*\n\007timeout\030\010 \001(\0132\031.google." + - "protobuf.Duration\022P\n\020content_matchers\030\t " + - "\003(\01326.google.monitoring.v3.UptimeCheckCo" + - "nfig.ContentMatcher\022A\n\020selected_regions\030" + - "\n \003(\0162\'.google.monitoring.v3.UptimeCheck" + - "Region\022\027\n\013is_internal\030\017 \001(\010B\002\030\001\022D\n\021inter" + - "nal_checkers\030\016 \003(\0132%.google.monitoring.v" + - "3.InternalCheckerB\002\030\001\032a\n\rResourceGroup\022\020" + - "\n\010group_id\030\001 \001(\t\022>\n\rresource_type\030\002 \001(\0162" + - "\'.google.monitoring.v3.GroupResourceType" + - "\032\250\005\n\tHttpCheck\022W\n\016request_method\030\010 \001(\0162?" + - ".google.monitoring.v3.UptimeCheckConfig." + - "HttpCheck.RequestMethod\022\017\n\007use_ssl\030\001 \001(\010" + - "\022\014\n\004path\030\002 \001(\t\022\014\n\004port\030\003 \001(\005\022X\n\tauth_inf" + - "o\030\004 \001(\0132E.google.monitoring.v3.UptimeChe" + - "ckConfig.HttpCheck.BasicAuthentication\022\024" + - "\n\014mask_headers\030\005 \001(\010\022O\n\007headers\030\006 \003(\0132>." + - "google.monitoring.v3.UptimeCheckConfig.H" + - "ttpCheck.HeadersEntry\022S\n\014content_type\030\t " + - "\001(\0162=.google.monitoring.v3.UptimeCheckCo" + - "nfig.HttpCheck.ContentType\022\024\n\014validate_s" + - "sl\030\007 \001(\010\022\014\n\004body\030\n \001(\014\0329\n\023BasicAuthentic" + - "ation\022\020\n\010username\030\001 \001(\t\022\020\n\010password\030\002 \001(" + - "\t\032.\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" + - "\002 \001(\t:\0028\001\":\n\rRequestMethod\022\026\n\022METHOD_UNS" + - "PECIFIED\020\000\022\007\n\003GET\020\001\022\010\n\004POST\020\002\"4\n\013Content" + - "Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\017\n\013URL_ENCODE" + - "D\020\001\032\030\n\010TcpCheck\022\014\n\004port\030\001 \001(\005\032\230\002\n\016Conten" + - "tMatcher\022\017\n\007content\030\001 \001(\t\022\\\n\007matcher\030\002 \001" + - "(\0162K.google.monitoring.v3.UptimeCheckCon" + - "fig.ContentMatcher.ContentMatcherOption\"" + - "\226\001\n\024ContentMatcherOption\022&\n\"CONTENT_MATC" + - "HER_OPTION_UNSPECIFIED\020\000\022\023\n\017CONTAINS_STR" + - "ING\020\001\022\027\n\023NOT_CONTAINS_STRING\020\002\022\021\n\rMATCHE" + - "S_REGEX\020\003\022\025\n\021NOT_MATCHES_REGEX\020\004:\363\001\352A\357\001\n" + - "+monitoring.googleapis.com/UptimeCheckCo" + - "nfig\022;projects/{project}/uptimeCheckConf" + - "igs/{uptime_check_config}\022Eorganizations" + - "/{organization}/uptimeCheckConfigs/{upti" + - "me_check_config}\0229folders/{folder}/uptim" + - "eCheckConfigs/{uptime_check_config}\022\001*B\n" + - "\n\010resourceB\024\n\022check_request_type\"n\n\rUpti" + - "meCheckIp\0227\n\006region\030\001 \001(\0162\'.google.monit" + - "oring.v3.UptimeCheckRegion\022\020\n\010location\030\002" + - " \001(\t\022\022\n\nip_address\030\003 \001(\t*e\n\021UptimeCheckR" + - "egion\022\026\n\022REGION_UNSPECIFIED\020\000\022\007\n\003USA\020\001\022\n" + - "\n\006EUROPE\020\002\022\021\n\rSOUTH_AMERICA\020\003\022\020\n\014ASIA_PA" + - "CIFIC\020\004*[\n\021GroupResourceType\022\035\n\031RESOURCE" + - "_TYPE_UNSPECIFIED\020\000\022\014\n\010INSTANCE\020\001\022\031\n\025AWS" + - "_ELB_LOAD_BALANCER\020\002B\303\001\n\030com.google.moni" + - "toring.v3B\013UptimeProtoP\001Z>google.golang." + - "org/genproto/googleapis/monitoring/v3;mo" + - "nitoring\252\002\032Google.Cloud.Monitoring.V3\312\002\032" + - "Google\\Cloud\\Monitoring\\V3\352\002\035Google::Clo" + - "ud::Monitoring::V3b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.MonitoredResourceProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - }); - internal_static_google_monitoring_v3_InternalChecker_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_monitoring_v3_InternalChecker_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_InternalChecker_descriptor, - new java.lang.String[] { "Name", "DisplayName", "Network", "GcpZone", "PeerProjectId", "State", }); - internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_monitoring_v3_UptimeCheckConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor, - new java.lang.String[] { "Name", "DisplayName", "MonitoredResource", "ResourceGroup", "HttpCheck", "TcpCheck", "Period", "Timeout", "ContentMatchers", "SelectedRegions", "IsInternal", "InternalCheckers", "Resource", "CheckRequestType", }); - internal_static_google_monitoring_v3_UptimeCheckConfig_ResourceGroup_descriptor = - internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor.getNestedTypes().get(0); - internal_static_google_monitoring_v3_UptimeCheckConfig_ResourceGroup_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_UptimeCheckConfig_ResourceGroup_descriptor, - new java.lang.String[] { "GroupId", "ResourceType", }); - internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_descriptor = - internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor.getNestedTypes().get(1); - internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_descriptor, - new java.lang.String[] { "RequestMethod", "UseSsl", "Path", "Port", "AuthInfo", "MaskHeaders", "Headers", "ContentType", "ValidateSsl", "Body", }); - internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_BasicAuthentication_descriptor = - internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_descriptor.getNestedTypes().get(0); - internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_BasicAuthentication_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_BasicAuthentication_descriptor, - new java.lang.String[] { "Username", "Password", }); - internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_HeadersEntry_descriptor = - internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_descriptor.getNestedTypes().get(1); - internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_HeadersEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_HeadersEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_monitoring_v3_UptimeCheckConfig_TcpCheck_descriptor = - internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor.getNestedTypes().get(2); - internal_static_google_monitoring_v3_UptimeCheckConfig_TcpCheck_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_UptimeCheckConfig_TcpCheck_descriptor, - new java.lang.String[] { "Port", }); - internal_static_google_monitoring_v3_UptimeCheckConfig_ContentMatcher_descriptor = - internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor.getNestedTypes().get(3); - internal_static_google_monitoring_v3_UptimeCheckConfig_ContentMatcher_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_UptimeCheckConfig_ContentMatcher_descriptor, - new java.lang.String[] { "Content", "Matcher", }); - internal_static_google_monitoring_v3_UptimeCheckIp_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_monitoring_v3_UptimeCheckIp_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_UptimeCheckIp_descriptor, - new java.lang.String[] { "Region", "Location", "IpAddress", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.MonitoredResourceProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeServiceProto.java b/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeServiceProto.java deleted file mode 100644 index 607fcae2..00000000 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeServiceProto.java +++ /dev/null @@ -1,223 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/monitoring/v3/uptime_service.proto - -package com.google.monitoring.v3; - -public final class UptimeServiceProto { - private UptimeServiceProto() {} - 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_monitoring_v3_ListUptimeCheckConfigsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListUptimeCheckConfigsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ListUptimeCheckConfigsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListUptimeCheckConfigsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_GetUptimeCheckConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_GetUptimeCheckConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_CreateUptimeCheckConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_CreateUptimeCheckConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_UpdateUptimeCheckConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_UpdateUptimeCheckConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_DeleteUptimeCheckConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_DeleteUptimeCheckConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ListUptimeCheckIpsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListUptimeCheckIpsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_monitoring_v3_ListUptimeCheckIpsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_monitoring_v3_ListUptimeCheckIpsResponse_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/monitoring/v3/uptime_service.pr" + - "oto\022\024google.monitoring.v3\032\034google/api/an" + - "notations.proto\032\027google/api/client.proto" + - "\032\037google/api/field_behavior.proto\032\031googl" + - "e/api/resource.proto\032#google/longrunning" + - "/operations.proto\032!google/monitoring/v3/" + - "uptime.proto\032\036google/protobuf/duration.p" + - "roto\032\033google/protobuf/empty.proto\032 googl" + - "e/protobuf/field_mask.proto\"\213\001\n\035ListUpti" + - "meCheckConfigsRequest\022C\n\006parent\030\001 \001(\tB3\340" + - "A\002\372A-\022+monitoring.googleapis.com/UptimeC" + - "heckConfig\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_to" + - "ken\030\004 \001(\t\"\224\001\n\036ListUptimeCheckConfigsResp" + - "onse\022E\n\024uptime_check_configs\030\001 \003(\0132\'.goo" + - "gle.monitoring.v3.UptimeCheckConfig\022\027\n\017n" + - "ext_page_token\030\002 \001(\t\022\022\n\ntotal_size\030\003 \001(\005" + - "\"`\n\033GetUptimeCheckConfigRequest\022A\n\004name\030" + - "\001 \001(\tB3\340A\002\372A-\n+monitoring.googleapis.com" + - "/UptimeCheckConfig\"\260\001\n\036CreateUptimeCheck" + - "ConfigRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\022+m" + - "onitoring.googleapis.com/UptimeCheckConf" + - "ig\022I\n\023uptime_check_config\030\002 \001(\0132\'.google" + - ".monitoring.v3.UptimeCheckConfigB\003\340A\002\"\234\001" + - "\n\036UpdateUptimeCheckConfigRequest\022/\n\013upda" + - "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" + - "k\022I\n\023uptime_check_config\030\003 \001(\0132\'.google." + - "monitoring.v3.UptimeCheckConfigB\003\340A\002\"c\n\036" + - "DeleteUptimeCheckConfigRequest\022A\n\004name\030\001" + - " \001(\tB3\340A\002\372A-\n+monitoring.googleapis.com/" + - "UptimeCheckConfig\"B\n\031ListUptimeCheckIpsR" + - "equest\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030" + - "\003 \001(\t\"t\n\032ListUptimeCheckIpsResponse\022=\n\020u" + - "ptime_check_ips\030\001 \003(\0132#.google.monitorin" + - "g.v3.UptimeCheckIp\022\027\n\017next_page_token\030\002 " + - "\001(\t2\275\n\n\022UptimeCheckService\022\300\001\n\026ListUptim" + - "eCheckConfigs\0223.google.monitoring.v3.Lis" + - "tUptimeCheckConfigsRequest\0324.google.moni" + - "toring.v3.ListUptimeCheckConfigsResponse" + - "\";\202\323\344\223\002,\022*/v3/{parent=projects/*}/uptime" + - "CheckConfigs\332A\006parent\022\255\001\n\024GetUptimeCheck" + - "Config\0221.google.monitoring.v3.GetUptimeC" + - "heckConfigRequest\032\'.google.monitoring.v3" + - ".UptimeCheckConfig\"9\202\323\344\223\002,\022*/v3/{name=pr" + - "ojects/*/uptimeCheckConfigs/*}\332A\004name\022\336\001" + - "\n\027CreateUptimeCheckConfig\0224.google.monit" + - "oring.v3.CreateUptimeCheckConfigRequest\032" + - "\'.google.monitoring.v3.UptimeCheckConfig" + - "\"d\202\323\344\223\002A\"*/v3/{parent=projects/*}/uptime" + - "CheckConfigs:\023uptime_check_config\332A\032pare" + - "nt,uptime_check_config\022\353\001\n\027UpdateUptimeC" + - "heckConfig\0224.google.monitoring.v3.Update" + - "UptimeCheckConfigRequest\032\'.google.monito" + - "ring.v3.UptimeCheckConfig\"q\202\323\344\223\002U2>/v3/{" + - "uptime_check_config.name=projects/*/upti" + - "meCheckConfigs/*}:\023uptime_check_config\332A" + - "\023uptime_check_config\022\242\001\n\027DeleteUptimeChe" + - "ckConfig\0224.google.monitoring.v3.DeleteUp" + - "timeCheckConfigRequest\032\026.google.protobuf" + - ".Empty\"9\202\323\344\223\002,**/v3/{name=projects/*/upt" + - "imeCheckConfigs/*}\332A\004name\022\223\001\n\022ListUptime" + - "CheckIps\022/.google.monitoring.v3.ListUpti" + - "meCheckIpsRequest\0320.google.monitoring.v3" + - ".ListUptimeCheckIpsResponse\"\032\202\323\344\223\002\024\022\022/v3" + - "/uptimeCheckIps\032\251\001\312A\031monitoring.googleap" + - "is.com\322A\211\001https://www.googleapis.com/aut" + - "h/cloud-platform,https://www.googleapis." + - "com/auth/monitoring,https://www.googleap" + - "is.com/auth/monitoring.readB\312\001\n\030com.goog" + - "le.monitoring.v3B\022UptimeServiceProtoP\001Z>" + - "google.golang.org/genproto/googleapis/mo" + - "nitoring/v3;monitoring\252\002\032Google.Cloud.Mo" + - "nitoring.V3\312\002\032Google\\Cloud\\Monitoring\\V3" + - "\352\002\035Google::Cloud::Monitoring::V3b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.monitoring.v3.UptimeProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_monitoring_v3_ListUptimeCheckConfigsRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_monitoring_v3_ListUptimeCheckConfigsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListUptimeCheckConfigsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_monitoring_v3_ListUptimeCheckConfigsResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_monitoring_v3_ListUptimeCheckConfigsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListUptimeCheckConfigsResponse_descriptor, - new java.lang.String[] { "UptimeCheckConfigs", "NextPageToken", "TotalSize", }); - internal_static_google_monitoring_v3_GetUptimeCheckConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_monitoring_v3_GetUptimeCheckConfigRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_GetUptimeCheckConfigRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_monitoring_v3_CreateUptimeCheckConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_monitoring_v3_CreateUptimeCheckConfigRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_CreateUptimeCheckConfigRequest_descriptor, - new java.lang.String[] { "Parent", "UptimeCheckConfig", }); - internal_static_google_monitoring_v3_UpdateUptimeCheckConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_monitoring_v3_UpdateUptimeCheckConfigRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_UpdateUptimeCheckConfigRequest_descriptor, - new java.lang.String[] { "UpdateMask", "UptimeCheckConfig", }); - internal_static_google_monitoring_v3_DeleteUptimeCheckConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_monitoring_v3_DeleteUptimeCheckConfigRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_DeleteUptimeCheckConfigRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_monitoring_v3_ListUptimeCheckIpsRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_monitoring_v3_ListUptimeCheckIpsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListUptimeCheckIpsRequest_descriptor, - new java.lang.String[] { "PageSize", "PageToken", }); - internal_static_google_monitoring_v3_ListUptimeCheckIpsResponse_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_monitoring_v3_ListUptimeCheckIpsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_monitoring_v3_ListUptimeCheckIpsResponse_descriptor, - new java.lang.String[] { "UptimeCheckIps", "NextPageToken", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.monitoring.v3.UptimeProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Aggregation.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Aggregation.java similarity index 86% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Aggregation.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Aggregation.java index 1c676caa..35997e5c 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Aggregation.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Aggregation.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/common.proto package com.google.monitoring.v3; /** + * + * *
  * Describes how to combine multiple time series to provide a different view of
  * the data.  Aggregation of time series is done in two steps. First, each time
@@ -32,15 +49,16 @@
  *
  * Protobuf type {@code google.monitoring.v3.Aggregation}
  */
-public final class Aggregation extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Aggregation extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.Aggregation)
     AggregationOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Aggregation.newBuilder() to construct.
   private Aggregation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Aggregation() {
     perSeriesAligner_ = 0;
     crossSeriesReducer_ = 0;
@@ -49,16 +67,15 @@ private Aggregation() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Aggregation();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Aggregation(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -78,54 +95,58 @@ private Aggregation(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (alignmentPeriod_ != null) {
-              subBuilder = alignmentPeriod_.toBuilder();
-            }
-            alignmentPeriod_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(alignmentPeriod_);
-              alignmentPeriod_ = subBuilder.buildPartial();
+          case 10:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (alignmentPeriod_ != null) {
+                subBuilder = alignmentPeriod_.toBuilder();
+              }
+              alignmentPeriod_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(alignmentPeriod_);
+                alignmentPeriod_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 16:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 16: {
-            int rawValue = input.readEnum();
-
-            perSeriesAligner_ = rawValue;
-            break;
-          }
-          case 32: {
-            int rawValue = input.readEnum();
+              perSeriesAligner_ = rawValue;
+              break;
+            }
+          case 32:
+            {
+              int rawValue = input.readEnum();
 
-            crossSeriesReducer_ = rawValue;
-            break;
-          }
-          case 42: {
-            java.lang.String s = input.readStringRequireUtf8();
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              groupByFields_ = new com.google.protobuf.LazyStringArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              crossSeriesReducer_ = rawValue;
+              break;
             }
-            groupByFields_.add(s);
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 42:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                groupByFields_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              groupByFields_.add(s);
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         groupByFields_ = groupByFields_.getUnmodifiableView();
@@ -134,20 +155,25 @@ private Aggregation(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.monitoring.v3.CommonProto.internal_static_google_monitoring_v3_Aggregation_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.monitoring.v3.CommonProto
+        .internal_static_google_monitoring_v3_Aggregation_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.monitoring.v3.CommonProto.internal_static_google_monitoring_v3_Aggregation_fieldAccessorTable
+    return com.google.monitoring.v3.CommonProto
+        .internal_static_google_monitoring_v3_Aggregation_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.Aggregation.class, com.google.monitoring.v3.Aggregation.Builder.class);
+            com.google.monitoring.v3.Aggregation.class,
+            com.google.monitoring.v3.Aggregation.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * The `Aligner` specifies the operation that will be applied to the data
    * points in each alignment period in a time series. Except for
@@ -164,9 +190,10 @@ private Aggregation(
    *
    * Protobuf enum {@code google.monitoring.v3.Aggregation.Aligner}
    */
-  public enum Aligner
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Aligner implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * No alignment. Raw data is returned. Not valid if cross-series reduction
      * is requested. The `value_type` of the result is the same as the
@@ -177,6 +204,8 @@ public enum Aligner
      */
     ALIGN_NONE(0),
     /**
+     *
+     *
      * 
      * Align and convert to
      * [DELTA][google.api.MetricDescriptor.MetricKind.DELTA].
@@ -193,6 +222,8 @@ public enum Aligner
      */
     ALIGN_DELTA(1),
     /**
+     *
+     *
      * 
      * Align and convert to a rate. The result is computed as
      * `rate = (y1 - y0)/(t1 - t0)`, or "delta over time".
@@ -211,6 +242,8 @@ public enum Aligner
      */
     ALIGN_RATE(2),
     /**
+     *
+     *
      * 
      * Align by interpolating between adjacent points around the alignment
      * period boundary. This aligner is valid for `GAUGE` metrics with
@@ -222,6 +255,8 @@ public enum Aligner
      */
     ALIGN_INTERPOLATE(3),
     /**
+     *
+     *
      * 
      * Align by moving the most recent data point before the end of the
      * alignment period to the boundary at the end of the alignment
@@ -233,6 +268,8 @@ public enum Aligner
      */
     ALIGN_NEXT_OLDER(4),
     /**
+     *
+     *
      * 
      * Align the time series by returning the minimum value in each alignment
      * period. This aligner is valid for `GAUGE` and `DELTA` metrics with
@@ -244,6 +281,8 @@ public enum Aligner
      */
     ALIGN_MIN(10),
     /**
+     *
+     *
      * 
      * Align the time series by returning the maximum value in each alignment
      * period. This aligner is valid for `GAUGE` and `DELTA` metrics with
@@ -255,6 +294,8 @@ public enum Aligner
      */
     ALIGN_MAX(11),
     /**
+     *
+     *
      * 
      * Align the time series by returning the mean value in each alignment
      * period. This aligner is valid for `GAUGE` and `DELTA` metrics with
@@ -265,6 +306,8 @@ public enum Aligner
      */
     ALIGN_MEAN(12),
     /**
+     *
+     *
      * 
      * Align the time series by returning the number of values in each alignment
      * period. This aligner is valid for `GAUGE` and `DELTA` metrics with
@@ -276,6 +319,8 @@ public enum Aligner
      */
     ALIGN_COUNT(13),
     /**
+     *
+     *
      * 
      * Align the time series by returning the sum of the values in each
      * alignment period. This aligner is valid for `GAUGE` and `DELTA`
@@ -287,6 +332,8 @@ public enum Aligner
      */
     ALIGN_SUM(14),
     /**
+     *
+     *
      * 
      * Align the time series by returning the standard deviation of the values
      * in each alignment period. This aligner is valid for `GAUGE` and
@@ -298,6 +345,8 @@ public enum Aligner
      */
     ALIGN_STDDEV(15),
     /**
+     *
+     *
      * 
      * Align the time series by returning the number of `True` values in
      * each alignment period. This aligner is valid for `GAUGE` metrics with
@@ -308,6 +357,8 @@ public enum Aligner
      */
     ALIGN_COUNT_TRUE(16),
     /**
+     *
+     *
      * 
      * Align the time series by returning the number of `False` values in
      * each alignment period. This aligner is valid for `GAUGE` metrics with
@@ -318,6 +369,8 @@ public enum Aligner
      */
     ALIGN_COUNT_FALSE(24),
     /**
+     *
+     *
      * 
      * Align the time series by returning the ratio of the number of `True`
      * values to the total number of values in each alignment period. This
@@ -329,6 +382,8 @@ public enum Aligner
      */
     ALIGN_FRACTION_TRUE(17),
     /**
+     *
+     *
      * 
      * Align the time series by using [percentile
      * aggregation](https://en.wikipedia.org/wiki/Percentile). The resulting
@@ -342,6 +397,8 @@ public enum Aligner
      */
     ALIGN_PERCENTILE_99(18),
     /**
+     *
+     *
      * 
      * Align the time series by using [percentile
      * aggregation](https://en.wikipedia.org/wiki/Percentile). The resulting
@@ -355,6 +412,8 @@ public enum Aligner
      */
     ALIGN_PERCENTILE_95(19),
     /**
+     *
+     *
      * 
      * Align the time series by using [percentile
      * aggregation](https://en.wikipedia.org/wiki/Percentile). The resulting
@@ -368,6 +427,8 @@ public enum Aligner
      */
     ALIGN_PERCENTILE_50(20),
     /**
+     *
+     *
      * 
      * Align the time series by using [percentile
      * aggregation](https://en.wikipedia.org/wiki/Percentile). The resulting
@@ -381,6 +442,8 @@ public enum Aligner
      */
     ALIGN_PERCENTILE_05(21),
     /**
+     *
+     *
      * 
      * Align and convert to a percentage change. This aligner is valid for
      * `GAUGE` and `DELTA` metrics with numeric values. This alignment returns
@@ -405,6 +468,8 @@ public enum Aligner
     ;
 
     /**
+     *
+     *
      * 
      * No alignment. Raw data is returned. Not valid if cross-series reduction
      * is requested. The `value_type` of the result is the same as the
@@ -415,6 +480,8 @@ public enum Aligner
      */
     public static final int ALIGN_NONE_VALUE = 0;
     /**
+     *
+     *
      * 
      * Align and convert to
      * [DELTA][google.api.MetricDescriptor.MetricKind.DELTA].
@@ -431,6 +498,8 @@ public enum Aligner
      */
     public static final int ALIGN_DELTA_VALUE = 1;
     /**
+     *
+     *
      * 
      * Align and convert to a rate. The result is computed as
      * `rate = (y1 - y0)/(t1 - t0)`, or "delta over time".
@@ -449,6 +518,8 @@ public enum Aligner
      */
     public static final int ALIGN_RATE_VALUE = 2;
     /**
+     *
+     *
      * 
      * Align by interpolating between adjacent points around the alignment
      * period boundary. This aligner is valid for `GAUGE` metrics with
@@ -460,6 +531,8 @@ public enum Aligner
      */
     public static final int ALIGN_INTERPOLATE_VALUE = 3;
     /**
+     *
+     *
      * 
      * Align by moving the most recent data point before the end of the
      * alignment period to the boundary at the end of the alignment
@@ -471,6 +544,8 @@ public enum Aligner
      */
     public static final int ALIGN_NEXT_OLDER_VALUE = 4;
     /**
+     *
+     *
      * 
      * Align the time series by returning the minimum value in each alignment
      * period. This aligner is valid for `GAUGE` and `DELTA` metrics with
@@ -482,6 +557,8 @@ public enum Aligner
      */
     public static final int ALIGN_MIN_VALUE = 10;
     /**
+     *
+     *
      * 
      * Align the time series by returning the maximum value in each alignment
      * period. This aligner is valid for `GAUGE` and `DELTA` metrics with
@@ -493,6 +570,8 @@ public enum Aligner
      */
     public static final int ALIGN_MAX_VALUE = 11;
     /**
+     *
+     *
      * 
      * Align the time series by returning the mean value in each alignment
      * period. This aligner is valid for `GAUGE` and `DELTA` metrics with
@@ -503,6 +582,8 @@ public enum Aligner
      */
     public static final int ALIGN_MEAN_VALUE = 12;
     /**
+     *
+     *
      * 
      * Align the time series by returning the number of values in each alignment
      * period. This aligner is valid for `GAUGE` and `DELTA` metrics with
@@ -514,6 +595,8 @@ public enum Aligner
      */
     public static final int ALIGN_COUNT_VALUE = 13;
     /**
+     *
+     *
      * 
      * Align the time series by returning the sum of the values in each
      * alignment period. This aligner is valid for `GAUGE` and `DELTA`
@@ -525,6 +608,8 @@ public enum Aligner
      */
     public static final int ALIGN_SUM_VALUE = 14;
     /**
+     *
+     *
      * 
      * Align the time series by returning the standard deviation of the values
      * in each alignment period. This aligner is valid for `GAUGE` and
@@ -536,6 +621,8 @@ public enum Aligner
      */
     public static final int ALIGN_STDDEV_VALUE = 15;
     /**
+     *
+     *
      * 
      * Align the time series by returning the number of `True` values in
      * each alignment period. This aligner is valid for `GAUGE` metrics with
@@ -546,6 +633,8 @@ public enum Aligner
      */
     public static final int ALIGN_COUNT_TRUE_VALUE = 16;
     /**
+     *
+     *
      * 
      * Align the time series by returning the number of `False` values in
      * each alignment period. This aligner is valid for `GAUGE` metrics with
@@ -556,6 +645,8 @@ public enum Aligner
      */
     public static final int ALIGN_COUNT_FALSE_VALUE = 24;
     /**
+     *
+     *
      * 
      * Align the time series by returning the ratio of the number of `True`
      * values to the total number of values in each alignment period. This
@@ -567,6 +658,8 @@ public enum Aligner
      */
     public static final int ALIGN_FRACTION_TRUE_VALUE = 17;
     /**
+     *
+     *
      * 
      * Align the time series by using [percentile
      * aggregation](https://en.wikipedia.org/wiki/Percentile). The resulting
@@ -580,6 +673,8 @@ public enum Aligner
      */
     public static final int ALIGN_PERCENTILE_99_VALUE = 18;
     /**
+     *
+     *
      * 
      * Align the time series by using [percentile
      * aggregation](https://en.wikipedia.org/wiki/Percentile). The resulting
@@ -593,6 +688,8 @@ public enum Aligner
      */
     public static final int ALIGN_PERCENTILE_95_VALUE = 19;
     /**
+     *
+     *
      * 
      * Align the time series by using [percentile
      * aggregation](https://en.wikipedia.org/wiki/Percentile). The resulting
@@ -606,6 +703,8 @@ public enum Aligner
      */
     public static final int ALIGN_PERCENTILE_50_VALUE = 20;
     /**
+     *
+     *
      * 
      * Align the time series by using [percentile
      * aggregation](https://en.wikipedia.org/wiki/Percentile). The resulting
@@ -619,6 +718,8 @@ public enum Aligner
      */
     public static final int ALIGN_PERCENTILE_05_VALUE = 21;
     /**
+     *
+     *
      * 
      * Align and convert to a percentage change. This aligner is valid for
      * `GAUGE` and `DELTA` metrics with numeric values. This alignment returns
@@ -640,7 +741,6 @@ public enum Aligner
      */
     public static final int ALIGN_PERCENT_CHANGE_VALUE = 23;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -665,65 +765,81 @@ public static Aligner valueOf(int value) {
      */
     public static Aligner forNumber(int value) {
       switch (value) {
-        case 0: return ALIGN_NONE;
-        case 1: return ALIGN_DELTA;
-        case 2: return ALIGN_RATE;
-        case 3: return ALIGN_INTERPOLATE;
-        case 4: return ALIGN_NEXT_OLDER;
-        case 10: return ALIGN_MIN;
-        case 11: return ALIGN_MAX;
-        case 12: return ALIGN_MEAN;
-        case 13: return ALIGN_COUNT;
-        case 14: return ALIGN_SUM;
-        case 15: return ALIGN_STDDEV;
-        case 16: return ALIGN_COUNT_TRUE;
-        case 24: return ALIGN_COUNT_FALSE;
-        case 17: return ALIGN_FRACTION_TRUE;
-        case 18: return ALIGN_PERCENTILE_99;
-        case 19: return ALIGN_PERCENTILE_95;
-        case 20: return ALIGN_PERCENTILE_50;
-        case 21: return ALIGN_PERCENTILE_05;
-        case 23: return ALIGN_PERCENT_CHANGE;
-        default: return null;
+        case 0:
+          return ALIGN_NONE;
+        case 1:
+          return ALIGN_DELTA;
+        case 2:
+          return ALIGN_RATE;
+        case 3:
+          return ALIGN_INTERPOLATE;
+        case 4:
+          return ALIGN_NEXT_OLDER;
+        case 10:
+          return ALIGN_MIN;
+        case 11:
+          return ALIGN_MAX;
+        case 12:
+          return ALIGN_MEAN;
+        case 13:
+          return ALIGN_COUNT;
+        case 14:
+          return ALIGN_SUM;
+        case 15:
+          return ALIGN_STDDEV;
+        case 16:
+          return ALIGN_COUNT_TRUE;
+        case 24:
+          return ALIGN_COUNT_FALSE;
+        case 17:
+          return ALIGN_FRACTION_TRUE;
+        case 18:
+          return ALIGN_PERCENTILE_99;
+        case 19:
+          return ALIGN_PERCENTILE_95;
+        case 20:
+          return ALIGN_PERCENTILE_50;
+        case 21:
+          return ALIGN_PERCENTILE_05;
+        case 23:
+          return ALIGN_PERCENT_CHANGE;
+        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<
-        Aligner> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Aligner findValueByNumber(int number) {
-              return Aligner.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public Aligner findValueByNumber(int number) {
+            return Aligner.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.monitoring.v3.Aggregation.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Aligner[] VALUES = values();
 
-    public static Aligner valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Aligner 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;
@@ -741,6 +857,8 @@ private Aligner(int value) {
   }
 
   /**
+   *
+   *
    * 
    * A Reducer operation describes how to aggregate data points from multiple
    * time series into a single time series, where the value of each data point
@@ -750,9 +868,10 @@ private Aligner(int value) {
    *
    * Protobuf enum {@code google.monitoring.v3.Aggregation.Reducer}
    */
-  public enum Reducer
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Reducer implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * No cross-time series reduction. The output of the `Aligner` is
      * returned.
@@ -762,6 +881,8 @@ public enum Reducer
      */
     REDUCE_NONE(0),
     /**
+     *
+     *
      * 
      * Reduce by computing the mean value across time series for each
      * alignment period. This reducer is valid for
@@ -775,6 +896,8 @@ public enum Reducer
      */
     REDUCE_MEAN(1),
     /**
+     *
+     *
      * 
      * Reduce by computing the minimum value across time series for each
      * alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics
@@ -786,6 +909,8 @@ public enum Reducer
      */
     REDUCE_MIN(2),
     /**
+     *
+     *
      * 
      * Reduce by computing the maximum value across time series for each
      * alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics
@@ -797,6 +922,8 @@ public enum Reducer
      */
     REDUCE_MAX(3),
     /**
+     *
+     *
      * 
      * Reduce by computing the sum across time series for each
      * alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics
@@ -808,6 +935,8 @@ public enum Reducer
      */
     REDUCE_SUM(4),
     /**
+     *
+     *
      * 
      * Reduce by computing the standard deviation across time series
      * for each alignment period. This reducer is valid for `DELTA` and
@@ -819,6 +948,8 @@ public enum Reducer
      */
     REDUCE_STDDEV(5),
     /**
+     *
+     *
      * 
      * Reduce by computing the number of data points across time series
      * for each alignment period. This reducer is valid for `DELTA` and
@@ -830,6 +961,8 @@ public enum Reducer
      */
     REDUCE_COUNT(6),
     /**
+     *
+     *
      * 
      * Reduce by computing the number of `True`-valued data points across time
      * series for each alignment period. This reducer is valid for `DELTA` and
@@ -841,6 +974,8 @@ public enum Reducer
      */
     REDUCE_COUNT_TRUE(7),
     /**
+     *
+     *
      * 
      * Reduce by computing the number of `False`-valued data points across time
      * series for each alignment period. This reducer is valid for `DELTA` and
@@ -852,6 +987,8 @@ public enum Reducer
      */
     REDUCE_COUNT_FALSE(15),
     /**
+     *
+     *
      * 
      * Reduce by computing the ratio of the number of `True`-valued data points
      * to the total number of data points for each alignment period. This
@@ -864,6 +1001,8 @@ public enum Reducer
      */
     REDUCE_FRACTION_TRUE(8),
     /**
+     *
+     *
      * 
      * Reduce by computing the [99th
      * percentile](https://en.wikipedia.org/wiki/Percentile) of data points
@@ -876,6 +1015,8 @@ public enum Reducer
      */
     REDUCE_PERCENTILE_99(9),
     /**
+     *
+     *
      * 
      * Reduce by computing the [95th
      * percentile](https://en.wikipedia.org/wiki/Percentile) of data points
@@ -888,6 +1029,8 @@ public enum Reducer
      */
     REDUCE_PERCENTILE_95(10),
     /**
+     *
+     *
      * 
      * Reduce by computing the [50th
      * percentile](https://en.wikipedia.org/wiki/Percentile) of data points
@@ -900,6 +1043,8 @@ public enum Reducer
      */
     REDUCE_PERCENTILE_50(11),
     /**
+     *
+     *
      * 
      * Reduce by computing the [5th
      * percentile](https://en.wikipedia.org/wiki/Percentile) of data points
@@ -915,6 +1060,8 @@ public enum Reducer
     ;
 
     /**
+     *
+     *
      * 
      * No cross-time series reduction. The output of the `Aligner` is
      * returned.
@@ -924,6 +1071,8 @@ public enum Reducer
      */
     public static final int REDUCE_NONE_VALUE = 0;
     /**
+     *
+     *
      * 
      * Reduce by computing the mean value across time series for each
      * alignment period. This reducer is valid for
@@ -937,6 +1086,8 @@ public enum Reducer
      */
     public static final int REDUCE_MEAN_VALUE = 1;
     /**
+     *
+     *
      * 
      * Reduce by computing the minimum value across time series for each
      * alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics
@@ -948,6 +1099,8 @@ public enum Reducer
      */
     public static final int REDUCE_MIN_VALUE = 2;
     /**
+     *
+     *
      * 
      * Reduce by computing the maximum value across time series for each
      * alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics
@@ -959,6 +1112,8 @@ public enum Reducer
      */
     public static final int REDUCE_MAX_VALUE = 3;
     /**
+     *
+     *
      * 
      * Reduce by computing the sum across time series for each
      * alignment period. This reducer is valid for `DELTA` and `GAUGE` metrics
@@ -970,6 +1125,8 @@ public enum Reducer
      */
     public static final int REDUCE_SUM_VALUE = 4;
     /**
+     *
+     *
      * 
      * Reduce by computing the standard deviation across time series
      * for each alignment period. This reducer is valid for `DELTA` and
@@ -981,6 +1138,8 @@ public enum Reducer
      */
     public static final int REDUCE_STDDEV_VALUE = 5;
     /**
+     *
+     *
      * 
      * Reduce by computing the number of data points across time series
      * for each alignment period. This reducer is valid for `DELTA` and
@@ -992,6 +1151,8 @@ public enum Reducer
      */
     public static final int REDUCE_COUNT_VALUE = 6;
     /**
+     *
+     *
      * 
      * Reduce by computing the number of `True`-valued data points across time
      * series for each alignment period. This reducer is valid for `DELTA` and
@@ -1003,6 +1164,8 @@ public enum Reducer
      */
     public static final int REDUCE_COUNT_TRUE_VALUE = 7;
     /**
+     *
+     *
      * 
      * Reduce by computing the number of `False`-valued data points across time
      * series for each alignment period. This reducer is valid for `DELTA` and
@@ -1014,6 +1177,8 @@ public enum Reducer
      */
     public static final int REDUCE_COUNT_FALSE_VALUE = 15;
     /**
+     *
+     *
      * 
      * Reduce by computing the ratio of the number of `True`-valued data points
      * to the total number of data points for each alignment period. This
@@ -1026,6 +1191,8 @@ public enum Reducer
      */
     public static final int REDUCE_FRACTION_TRUE_VALUE = 8;
     /**
+     *
+     *
      * 
      * Reduce by computing the [99th
      * percentile](https://en.wikipedia.org/wiki/Percentile) of data points
@@ -1038,6 +1205,8 @@ public enum Reducer
      */
     public static final int REDUCE_PERCENTILE_99_VALUE = 9;
     /**
+     *
+     *
      * 
      * Reduce by computing the [95th
      * percentile](https://en.wikipedia.org/wiki/Percentile) of data points
@@ -1050,6 +1219,8 @@ public enum Reducer
      */
     public static final int REDUCE_PERCENTILE_95_VALUE = 10;
     /**
+     *
+     *
      * 
      * Reduce by computing the [50th
      * percentile](https://en.wikipedia.org/wiki/Percentile) of data points
@@ -1062,6 +1233,8 @@ public enum Reducer
      */
     public static final int REDUCE_PERCENTILE_50_VALUE = 11;
     /**
+     *
+     *
      * 
      * Reduce by computing the [5th
      * percentile](https://en.wikipedia.org/wiki/Percentile) of data points
@@ -1074,7 +1247,6 @@ public enum Reducer
      */
     public static final int REDUCE_PERCENTILE_05_VALUE = 12;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -1099,60 +1271,71 @@ public static Reducer valueOf(int value) {
      */
     public static Reducer forNumber(int value) {
       switch (value) {
-        case 0: return REDUCE_NONE;
-        case 1: return REDUCE_MEAN;
-        case 2: return REDUCE_MIN;
-        case 3: return REDUCE_MAX;
-        case 4: return REDUCE_SUM;
-        case 5: return REDUCE_STDDEV;
-        case 6: return REDUCE_COUNT;
-        case 7: return REDUCE_COUNT_TRUE;
-        case 15: return REDUCE_COUNT_FALSE;
-        case 8: return REDUCE_FRACTION_TRUE;
-        case 9: return REDUCE_PERCENTILE_99;
-        case 10: return REDUCE_PERCENTILE_95;
-        case 11: return REDUCE_PERCENTILE_50;
-        case 12: return REDUCE_PERCENTILE_05;
-        default: return null;
+        case 0:
+          return REDUCE_NONE;
+        case 1:
+          return REDUCE_MEAN;
+        case 2:
+          return REDUCE_MIN;
+        case 3:
+          return REDUCE_MAX;
+        case 4:
+          return REDUCE_SUM;
+        case 5:
+          return REDUCE_STDDEV;
+        case 6:
+          return REDUCE_COUNT;
+        case 7:
+          return REDUCE_COUNT_TRUE;
+        case 15:
+          return REDUCE_COUNT_FALSE;
+        case 8:
+          return REDUCE_FRACTION_TRUE;
+        case 9:
+          return REDUCE_PERCENTILE_99;
+        case 10:
+          return REDUCE_PERCENTILE_95;
+        case 11:
+          return REDUCE_PERCENTILE_50;
+        case 12:
+          return REDUCE_PERCENTILE_05;
+        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<
-        Reducer> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Reducer findValueByNumber(int number) {
-              return Reducer.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public Reducer findValueByNumber(int number) {
+            return Reducer.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.monitoring.v3.Aggregation.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final Reducer[] VALUES = values();
 
-    public static Reducer valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Reducer 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;
@@ -1172,6 +1355,8 @@ private Reducer(int value) {
   public static final int ALIGNMENT_PERIOD_FIELD_NUMBER = 1;
   private com.google.protobuf.Duration alignmentPeriod_;
   /**
+   *
+   *
    * 
    * The `alignment_period` specifies a time interval, in seconds, that is used
    * to divide the data in all the
@@ -1187,6 +1372,7 @@ private Reducer(int value) {
    * 
* * .google.protobuf.Duration alignment_period = 1; + * * @return Whether the alignmentPeriod field is set. */ @java.lang.Override @@ -1194,6 +1380,8 @@ public boolean hasAlignmentPeriod() { return alignmentPeriod_ != null; } /** + * + * *
    * The `alignment_period` specifies a time interval, in seconds, that is used
    * to divide the data in all the
@@ -1209,13 +1397,18 @@ public boolean hasAlignmentPeriod() {
    * 
* * .google.protobuf.Duration alignment_period = 1; + * * @return The alignmentPeriod. */ @java.lang.Override public com.google.protobuf.Duration getAlignmentPeriod() { - return alignmentPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : alignmentPeriod_; + return alignmentPeriod_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : alignmentPeriod_; } /** + * + * *
    * The `alignment_period` specifies a time interval, in seconds, that is used
    * to divide the data in all the
@@ -1240,6 +1433,8 @@ public com.google.protobuf.DurationOrBuilder getAlignmentPeriodOrBuilder() {
   public static final int PER_SERIES_ALIGNER_FIELD_NUMBER = 2;
   private int perSeriesAligner_;
   /**
+   *
+   *
    * 
    * An `Aligner` describes how to bring the data points in a single
    * time series into temporal alignment. Except for `ALIGN_NONE`, all
@@ -1258,12 +1453,16 @@ public com.google.protobuf.DurationOrBuilder getAlignmentPeriodOrBuilder() {
    * 
* * .google.monitoring.v3.Aggregation.Aligner per_series_aligner = 2; + * * @return The enum numeric value on the wire for perSeriesAligner. */ - @java.lang.Override public int getPerSeriesAlignerValue() { + @java.lang.Override + public int getPerSeriesAlignerValue() { return perSeriesAligner_; } /** + * + * *
    * An `Aligner` describes how to bring the data points in a single
    * time series into temporal alignment. Except for `ALIGN_NONE`, all
@@ -1282,17 +1481,22 @@ public com.google.protobuf.DurationOrBuilder getAlignmentPeriodOrBuilder() {
    * 
* * .google.monitoring.v3.Aggregation.Aligner per_series_aligner = 2; + * * @return The perSeriesAligner. */ - @java.lang.Override public com.google.monitoring.v3.Aggregation.Aligner getPerSeriesAligner() { + @java.lang.Override + public com.google.monitoring.v3.Aggregation.Aligner getPerSeriesAligner() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.Aggregation.Aligner result = com.google.monitoring.v3.Aggregation.Aligner.valueOf(perSeriesAligner_); + com.google.monitoring.v3.Aggregation.Aligner result = + com.google.monitoring.v3.Aggregation.Aligner.valueOf(perSeriesAligner_); return result == null ? com.google.monitoring.v3.Aggregation.Aligner.UNRECOGNIZED : result; } public static final int CROSS_SERIES_REDUCER_FIELD_NUMBER = 4; private int crossSeriesReducer_; /** + * + * *
    * The reduction operation to be used to combine time series into a single
    * time series, where the value of each data point in the resulting series is
@@ -1309,12 +1513,16 @@ public com.google.protobuf.DurationOrBuilder getAlignmentPeriodOrBuilder() {
    * 
* * .google.monitoring.v3.Aggregation.Reducer cross_series_reducer = 4; + * * @return The enum numeric value on the wire for crossSeriesReducer. */ - @java.lang.Override public int getCrossSeriesReducerValue() { + @java.lang.Override + public int getCrossSeriesReducerValue() { return crossSeriesReducer_; } /** + * + * *
    * The reduction operation to be used to combine time series into a single
    * time series, where the value of each data point in the resulting series is
@@ -1331,17 +1539,22 @@ public com.google.protobuf.DurationOrBuilder getAlignmentPeriodOrBuilder() {
    * 
* * .google.monitoring.v3.Aggregation.Reducer cross_series_reducer = 4; + * * @return The crossSeriesReducer. */ - @java.lang.Override public com.google.monitoring.v3.Aggregation.Reducer getCrossSeriesReducer() { + @java.lang.Override + public com.google.monitoring.v3.Aggregation.Reducer getCrossSeriesReducer() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.Aggregation.Reducer result = com.google.monitoring.v3.Aggregation.Reducer.valueOf(crossSeriesReducer_); + com.google.monitoring.v3.Aggregation.Reducer result = + com.google.monitoring.v3.Aggregation.Reducer.valueOf(crossSeriesReducer_); return result == null ? com.google.monitoring.v3.Aggregation.Reducer.UNRECOGNIZED : result; } public static final int GROUP_BY_FIELDS_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList groupByFields_; /** + * + * *
    * The set of fields to preserve when `cross_series_reducer` is
    * specified. The `group_by_fields` determine how the time series are
@@ -1360,13 +1573,15 @@ public com.google.protobuf.DurationOrBuilder getAlignmentPeriodOrBuilder() {
    * 
* * repeated string group_by_fields = 5; + * * @return A list containing the groupByFields. */ - public com.google.protobuf.ProtocolStringList - getGroupByFieldsList() { + public com.google.protobuf.ProtocolStringList getGroupByFieldsList() { return groupByFields_; } /** + * + * *
    * The set of fields to preserve when `cross_series_reducer` is
    * specified. The `group_by_fields` determine how the time series are
@@ -1385,12 +1600,15 @@ public com.google.protobuf.DurationOrBuilder getAlignmentPeriodOrBuilder() {
    * 
* * repeated string group_by_fields = 5; + * * @return The count of groupByFields. */ public int getGroupByFieldsCount() { return groupByFields_.size(); } /** + * + * *
    * The set of fields to preserve when `cross_series_reducer` is
    * specified. The `group_by_fields` determine how the time series are
@@ -1409,6 +1627,7 @@ public int getGroupByFieldsCount() {
    * 
* * repeated string group_by_fields = 5; + * * @param index The index of the element to return. * @return The groupByFields at the given index. */ @@ -1416,6 +1635,8 @@ public java.lang.String getGroupByFields(int index) { return groupByFields_.get(index); } /** + * + * *
    * The set of fields to preserve when `cross_series_reducer` is
    * specified. The `group_by_fields` determine how the time series are
@@ -1434,15 +1655,16 @@ public java.lang.String getGroupByFields(int index) {
    * 
* * repeated string group_by_fields = 5; + * * @param index The index of the value to return. * @return The bytes of the groupByFields at the given index. */ - public com.google.protobuf.ByteString - getGroupByFieldsBytes(int index) { + public com.google.protobuf.ByteString getGroupByFieldsBytes(int index) { return groupByFields_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1454,15 +1676,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 (alignmentPeriod_ != null) { output.writeMessage(1, getAlignmentPeriod()); } if (perSeriesAligner_ != com.google.monitoring.v3.Aggregation.Aligner.ALIGN_NONE.getNumber()) { output.writeEnum(2, perSeriesAligner_); } - if (crossSeriesReducer_ != com.google.monitoring.v3.Aggregation.Reducer.REDUCE_NONE.getNumber()) { + if (crossSeriesReducer_ + != com.google.monitoring.v3.Aggregation.Reducer.REDUCE_NONE.getNumber()) { output.writeEnum(4, crossSeriesReducer_); } for (int i = 0; i < groupByFields_.size(); i++) { @@ -1478,16 +1700,14 @@ public int getSerializedSize() { size = 0; if (alignmentPeriod_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getAlignmentPeriod()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAlignmentPeriod()); } if (perSeriesAligner_ != com.google.monitoring.v3.Aggregation.Aligner.ALIGN_NONE.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, perSeriesAligner_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, perSeriesAligner_); } - if (crossSeriesReducer_ != com.google.monitoring.v3.Aggregation.Reducer.REDUCE_NONE.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, crossSeriesReducer_); + if (crossSeriesReducer_ + != com.google.monitoring.v3.Aggregation.Reducer.REDUCE_NONE.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, crossSeriesReducer_); } { int dataSize = 0; @@ -1505,7 +1725,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.Aggregation)) { return super.equals(obj); @@ -1514,13 +1734,11 @@ public boolean equals(final java.lang.Object obj) { if (hasAlignmentPeriod() != other.hasAlignmentPeriod()) return false; if (hasAlignmentPeriod()) { - if (!getAlignmentPeriod() - .equals(other.getAlignmentPeriod())) return false; + if (!getAlignmentPeriod().equals(other.getAlignmentPeriod())) return false; } if (perSeriesAligner_ != other.perSeriesAligner_) return false; if (crossSeriesReducer_ != other.crossSeriesReducer_) return false; - if (!getGroupByFieldsList() - .equals(other.getGroupByFieldsList())) return false; + if (!getGroupByFieldsList().equals(other.getGroupByFieldsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1549,97 +1767,103 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.Aggregation parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.Aggregation parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.Aggregation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.Aggregation parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.monitoring.v3.Aggregation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.Aggregation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.Aggregation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.Aggregation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.Aggregation 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.monitoring.v3.Aggregation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.Aggregation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.Aggregation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.Aggregation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.Aggregation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.Aggregation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Describes how to combine multiple time series to provide a different view of
    * the data.  Aggregation of time series is done in two steps. First, each time
@@ -1668,21 +1892,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.monitoring.v3.Aggregation}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.Aggregation)
       com.google.monitoring.v3.AggregationOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.monitoring.v3.CommonProto.internal_static_google_monitoring_v3_Aggregation_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.monitoring.v3.CommonProto
+          .internal_static_google_monitoring_v3_Aggregation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.CommonProto.internal_static_google_monitoring_v3_Aggregation_fieldAccessorTable
+      return com.google.monitoring.v3.CommonProto
+          .internal_static_google_monitoring_v3_Aggregation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.Aggregation.class, com.google.monitoring.v3.Aggregation.Builder.class);
+              com.google.monitoring.v3.Aggregation.class,
+              com.google.monitoring.v3.Aggregation.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.Aggregation.newBuilder()
@@ -1690,16 +1916,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1719,9 +1944,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.monitoring.v3.CommonProto.internal_static_google_monitoring_v3_Aggregation_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.monitoring.v3.CommonProto
+          .internal_static_google_monitoring_v3_Aggregation_descriptor;
     }
 
     @java.lang.Override
@@ -1762,38 +1987,39 @@ public com.google.monitoring.v3.Aggregation 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.monitoring.v3.Aggregation) {
-        return mergeFrom((com.google.monitoring.v3.Aggregation)other);
+        return mergeFrom((com.google.monitoring.v3.Aggregation) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1849,12 +2075,18 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private com.google.protobuf.Duration alignmentPeriod_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> alignmentPeriodBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        alignmentPeriodBuilder_;
     /**
+     *
+     *
      * 
      * The `alignment_period` specifies a time interval, in seconds, that is used
      * to divide the data in all the
@@ -1870,12 +2102,15 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.Duration alignment_period = 1; + * * @return Whether the alignmentPeriod field is set. */ public boolean hasAlignmentPeriod() { return alignmentPeriodBuilder_ != null || alignmentPeriod_ != null; } /** + * + * *
      * The `alignment_period` specifies a time interval, in seconds, that is used
      * to divide the data in all the
@@ -1891,16 +2126,21 @@ public boolean hasAlignmentPeriod() {
      * 
* * .google.protobuf.Duration alignment_period = 1; + * * @return The alignmentPeriod. */ public com.google.protobuf.Duration getAlignmentPeriod() { if (alignmentPeriodBuilder_ == null) { - return alignmentPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : alignmentPeriod_; + return alignmentPeriod_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : alignmentPeriod_; } else { return alignmentPeriodBuilder_.getMessage(); } } /** + * + * *
      * The `alignment_period` specifies a time interval, in seconds, that is used
      * to divide the data in all the
@@ -1931,6 +2171,8 @@ public Builder setAlignmentPeriod(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The `alignment_period` specifies a time interval, in seconds, that is used
      * to divide the data in all the
@@ -1947,8 +2189,7 @@ public Builder setAlignmentPeriod(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration alignment_period = 1;
      */
-    public Builder setAlignmentPeriod(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setAlignmentPeriod(com.google.protobuf.Duration.Builder builderForValue) {
       if (alignmentPeriodBuilder_ == null) {
         alignmentPeriod_ = builderForValue.build();
         onChanged();
@@ -1959,6 +2200,8 @@ public Builder setAlignmentPeriod(
       return this;
     }
     /**
+     *
+     *
      * 
      * The `alignment_period` specifies a time interval, in seconds, that is used
      * to divide the data in all the
@@ -1979,7 +2222,9 @@ public Builder mergeAlignmentPeriod(com.google.protobuf.Duration value) {
       if (alignmentPeriodBuilder_ == null) {
         if (alignmentPeriod_ != null) {
           alignmentPeriod_ =
-            com.google.protobuf.Duration.newBuilder(alignmentPeriod_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(alignmentPeriod_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           alignmentPeriod_ = value;
         }
@@ -1991,6 +2236,8 @@ public Builder mergeAlignmentPeriod(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The `alignment_period` specifies a time interval, in seconds, that is used
      * to divide the data in all the
@@ -2019,6 +2266,8 @@ public Builder clearAlignmentPeriod() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The `alignment_period` specifies a time interval, in seconds, that is used
      * to divide the data in all the
@@ -2036,11 +2285,13 @@ public Builder clearAlignmentPeriod() {
      * .google.protobuf.Duration alignment_period = 1;
      */
     public com.google.protobuf.Duration.Builder getAlignmentPeriodBuilder() {
-      
+
       onChanged();
       return getAlignmentPeriodFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The `alignment_period` specifies a time interval, in seconds, that is used
      * to divide the data in all the
@@ -2061,11 +2312,14 @@ public com.google.protobuf.DurationOrBuilder getAlignmentPeriodOrBuilder() {
       if (alignmentPeriodBuilder_ != null) {
         return alignmentPeriodBuilder_.getMessageOrBuilder();
       } else {
-        return alignmentPeriod_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : alignmentPeriod_;
+        return alignmentPeriod_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : alignmentPeriod_;
       }
     }
     /**
+     *
+     *
      * 
      * The `alignment_period` specifies a time interval, in seconds, that is used
      * to divide the data in all the
@@ -2083,14 +2337,17 @@ public com.google.protobuf.DurationOrBuilder getAlignmentPeriodOrBuilder() {
      * .google.protobuf.Duration alignment_period = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getAlignmentPeriodFieldBuilder() {
       if (alignmentPeriodBuilder_ == null) {
-        alignmentPeriodBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getAlignmentPeriod(),
-                getParentForChildren(),
-                isClean());
+        alignmentPeriodBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getAlignmentPeriod(), getParentForChildren(), isClean());
         alignmentPeriod_ = null;
       }
       return alignmentPeriodBuilder_;
@@ -2098,6 +2355,8 @@ public com.google.protobuf.DurationOrBuilder getAlignmentPeriodOrBuilder() {
 
     private int perSeriesAligner_ = 0;
     /**
+     *
+     *
      * 
      * An `Aligner` describes how to bring the data points in a single
      * time series into temporal alignment. Except for `ALIGN_NONE`, all
@@ -2116,12 +2375,16 @@ public com.google.protobuf.DurationOrBuilder getAlignmentPeriodOrBuilder() {
      * 
* * .google.monitoring.v3.Aggregation.Aligner per_series_aligner = 2; + * * @return The enum numeric value on the wire for perSeriesAligner. */ - @java.lang.Override public int getPerSeriesAlignerValue() { + @java.lang.Override + public int getPerSeriesAlignerValue() { return perSeriesAligner_; } /** + * + * *
      * An `Aligner` describes how to bring the data points in a single
      * time series into temporal alignment. Except for `ALIGN_NONE`, all
@@ -2140,16 +2403,19 @@ public com.google.protobuf.DurationOrBuilder getAlignmentPeriodOrBuilder() {
      * 
* * .google.monitoring.v3.Aggregation.Aligner per_series_aligner = 2; + * * @param value The enum numeric value on the wire for perSeriesAligner to set. * @return This builder for chaining. */ public Builder setPerSeriesAlignerValue(int value) { - + perSeriesAligner_ = value; onChanged(); return this; } /** + * + * *
      * An `Aligner` describes how to bring the data points in a single
      * time series into temporal alignment. Except for `ALIGN_NONE`, all
@@ -2168,15 +2434,19 @@ public Builder setPerSeriesAlignerValue(int value) {
      * 
* * .google.monitoring.v3.Aggregation.Aligner per_series_aligner = 2; + * * @return The perSeriesAligner. */ @java.lang.Override public com.google.monitoring.v3.Aggregation.Aligner getPerSeriesAligner() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.Aggregation.Aligner result = com.google.monitoring.v3.Aggregation.Aligner.valueOf(perSeriesAligner_); + com.google.monitoring.v3.Aggregation.Aligner result = + com.google.monitoring.v3.Aggregation.Aligner.valueOf(perSeriesAligner_); return result == null ? com.google.monitoring.v3.Aggregation.Aligner.UNRECOGNIZED : result; } /** + * + * *
      * An `Aligner` describes how to bring the data points in a single
      * time series into temporal alignment. Except for `ALIGN_NONE`, all
@@ -2195,6 +2465,7 @@ public com.google.monitoring.v3.Aggregation.Aligner getPerSeriesAligner() {
      * 
* * .google.monitoring.v3.Aggregation.Aligner per_series_aligner = 2; + * * @param value The perSeriesAligner to set. * @return This builder for chaining. */ @@ -2202,12 +2473,14 @@ public Builder setPerSeriesAligner(com.google.monitoring.v3.Aggregation.Aligner if (value == null) { throw new NullPointerException(); } - + perSeriesAligner_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * An `Aligner` describes how to bring the data points in a single
      * time series into temporal alignment. Except for `ALIGN_NONE`, all
@@ -2226,10 +2499,11 @@ public Builder setPerSeriesAligner(com.google.monitoring.v3.Aggregation.Aligner
      * 
* * .google.monitoring.v3.Aggregation.Aligner per_series_aligner = 2; + * * @return This builder for chaining. */ public Builder clearPerSeriesAligner() { - + perSeriesAligner_ = 0; onChanged(); return this; @@ -2237,6 +2511,8 @@ public Builder clearPerSeriesAligner() { private int crossSeriesReducer_ = 0; /** + * + * *
      * The reduction operation to be used to combine time series into a single
      * time series, where the value of each data point in the resulting series is
@@ -2253,12 +2529,16 @@ public Builder clearPerSeriesAligner() {
      * 
* * .google.monitoring.v3.Aggregation.Reducer cross_series_reducer = 4; + * * @return The enum numeric value on the wire for crossSeriesReducer. */ - @java.lang.Override public int getCrossSeriesReducerValue() { + @java.lang.Override + public int getCrossSeriesReducerValue() { return crossSeriesReducer_; } /** + * + * *
      * The reduction operation to be used to combine time series into a single
      * time series, where the value of each data point in the resulting series is
@@ -2275,16 +2555,19 @@ public Builder clearPerSeriesAligner() {
      * 
* * .google.monitoring.v3.Aggregation.Reducer cross_series_reducer = 4; + * * @param value The enum numeric value on the wire for crossSeriesReducer to set. * @return This builder for chaining. */ public Builder setCrossSeriesReducerValue(int value) { - + crossSeriesReducer_ = value; onChanged(); return this; } /** + * + * *
      * The reduction operation to be used to combine time series into a single
      * time series, where the value of each data point in the resulting series is
@@ -2301,15 +2584,19 @@ public Builder setCrossSeriesReducerValue(int value) {
      * 
* * .google.monitoring.v3.Aggregation.Reducer cross_series_reducer = 4; + * * @return The crossSeriesReducer. */ @java.lang.Override public com.google.monitoring.v3.Aggregation.Reducer getCrossSeriesReducer() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.Aggregation.Reducer result = com.google.monitoring.v3.Aggregation.Reducer.valueOf(crossSeriesReducer_); + com.google.monitoring.v3.Aggregation.Reducer result = + com.google.monitoring.v3.Aggregation.Reducer.valueOf(crossSeriesReducer_); return result == null ? com.google.monitoring.v3.Aggregation.Reducer.UNRECOGNIZED : result; } /** + * + * *
      * The reduction operation to be used to combine time series into a single
      * time series, where the value of each data point in the resulting series is
@@ -2326,6 +2613,7 @@ public com.google.monitoring.v3.Aggregation.Reducer getCrossSeriesReducer() {
      * 
* * .google.monitoring.v3.Aggregation.Reducer cross_series_reducer = 4; + * * @param value The crossSeriesReducer to set. * @return This builder for chaining. */ @@ -2333,12 +2621,14 @@ public Builder setCrossSeriesReducer(com.google.monitoring.v3.Aggregation.Reduce if (value == null) { throw new NullPointerException(); } - + crossSeriesReducer_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The reduction operation to be used to combine time series into a single
      * time series, where the value of each data point in the resulting series is
@@ -2355,23 +2645,28 @@ public Builder setCrossSeriesReducer(com.google.monitoring.v3.Aggregation.Reduce
      * 
* * .google.monitoring.v3.Aggregation.Reducer cross_series_reducer = 4; + * * @return This builder for chaining. */ public Builder clearCrossSeriesReducer() { - + crossSeriesReducer_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList groupByFields_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList groupByFields_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureGroupByFieldsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { groupByFields_ = new com.google.protobuf.LazyStringArrayList(groupByFields_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * The set of fields to preserve when `cross_series_reducer` is
      * specified. The `group_by_fields` determine how the time series are
@@ -2390,13 +2685,15 @@ private void ensureGroupByFieldsIsMutable() {
      * 
* * repeated string group_by_fields = 5; + * * @return A list containing the groupByFields. */ - public com.google.protobuf.ProtocolStringList - getGroupByFieldsList() { + public com.google.protobuf.ProtocolStringList getGroupByFieldsList() { return groupByFields_.getUnmodifiableView(); } /** + * + * *
      * The set of fields to preserve when `cross_series_reducer` is
      * specified. The `group_by_fields` determine how the time series are
@@ -2415,12 +2712,15 @@ private void ensureGroupByFieldsIsMutable() {
      * 
* * repeated string group_by_fields = 5; + * * @return The count of groupByFields. */ public int getGroupByFieldsCount() { return groupByFields_.size(); } /** + * + * *
      * The set of fields to preserve when `cross_series_reducer` is
      * specified. The `group_by_fields` determine how the time series are
@@ -2439,6 +2739,7 @@ public int getGroupByFieldsCount() {
      * 
* * repeated string group_by_fields = 5; + * * @param index The index of the element to return. * @return The groupByFields at the given index. */ @@ -2446,6 +2747,8 @@ public java.lang.String getGroupByFields(int index) { return groupByFields_.get(index); } /** + * + * *
      * The set of fields to preserve when `cross_series_reducer` is
      * specified. The `group_by_fields` determine how the time series are
@@ -2464,14 +2767,16 @@ public java.lang.String getGroupByFields(int index) {
      * 
* * repeated string group_by_fields = 5; + * * @param index The index of the value to return. * @return The bytes of the groupByFields at the given index. */ - public com.google.protobuf.ByteString - getGroupByFieldsBytes(int index) { + public com.google.protobuf.ByteString getGroupByFieldsBytes(int index) { return groupByFields_.getByteString(index); } /** + * + * *
      * The set of fields to preserve when `cross_series_reducer` is
      * specified. The `group_by_fields` determine how the time series are
@@ -2490,21 +2795,23 @@ public java.lang.String getGroupByFields(int index) {
      * 
* * repeated string group_by_fields = 5; + * * @param index The index to set the value at. * @param value The groupByFields to set. * @return This builder for chaining. */ - public Builder setGroupByFields( - int index, java.lang.String value) { + public Builder setGroupByFields(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGroupByFieldsIsMutable(); + throw new NullPointerException(); + } + ensureGroupByFieldsIsMutable(); groupByFields_.set(index, value); onChanged(); return this; } /** + * + * *
      * The set of fields to preserve when `cross_series_reducer` is
      * specified. The `group_by_fields` determine how the time series are
@@ -2523,20 +2830,22 @@ public Builder setGroupByFields(
      * 
* * repeated string group_by_fields = 5; + * * @param value The groupByFields to add. * @return This builder for chaining. */ - public Builder addGroupByFields( - java.lang.String value) { + public Builder addGroupByFields(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGroupByFieldsIsMutable(); + throw new NullPointerException(); + } + ensureGroupByFieldsIsMutable(); groupByFields_.add(value); onChanged(); return this; } /** + * + * *
      * The set of fields to preserve when `cross_series_reducer` is
      * specified. The `group_by_fields` determine how the time series are
@@ -2555,18 +2864,19 @@ public Builder addGroupByFields(
      * 
* * repeated string group_by_fields = 5; + * * @param values The groupByFields to add. * @return This builder for chaining. */ - public Builder addAllGroupByFields( - java.lang.Iterable values) { + public Builder addAllGroupByFields(java.lang.Iterable values) { ensureGroupByFieldsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, groupByFields_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, groupByFields_); onChanged(); return this; } /** + * + * *
      * The set of fields to preserve when `cross_series_reducer` is
      * specified. The `group_by_fields` determine how the time series are
@@ -2585,6 +2895,7 @@ public Builder addAllGroupByFields(
      * 
* * repeated string group_by_fields = 5; + * * @return This builder for chaining. */ public Builder clearGroupByFields() { @@ -2594,6 +2905,8 @@ public Builder clearGroupByFields() { return this; } /** + * + * *
      * The set of fields to preserve when `cross_series_reducer` is
      * specified. The `group_by_fields` determine how the time series are
@@ -2612,23 +2925,23 @@ public Builder clearGroupByFields() {
      * 
* * repeated string group_by_fields = 5; + * * @param value The bytes of the groupByFields to add. * @return This builder for chaining. */ - public Builder addGroupByFieldsBytes( - com.google.protobuf.ByteString value) { + public Builder addGroupByFieldsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureGroupByFieldsIsMutable(); groupByFields_.add(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); } @@ -2638,12 +2951,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.Aggregation) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.Aggregation) private static final com.google.monitoring.v3.Aggregation DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.Aggregation(); } @@ -2652,16 +2965,16 @@ public static com.google.monitoring.v3.Aggregation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Aggregation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Aggregation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Aggregation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Aggregation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2676,6 +2989,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.Aggregation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AggregationOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AggregationOrBuilder.java similarity index 92% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AggregationOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AggregationOrBuilder.java index 474d7450..bc43c732 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AggregationOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AggregationOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/common.proto package com.google.monitoring.v3; -public interface AggregationOrBuilder extends +public interface AggregationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.Aggregation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The `alignment_period` specifies a time interval, in seconds, that is used
    * to divide the data in all the
@@ -23,10 +41,13 @@ public interface AggregationOrBuilder extends
    * 
* * .google.protobuf.Duration alignment_period = 1; + * * @return Whether the alignmentPeriod field is set. */ boolean hasAlignmentPeriod(); /** + * + * *
    * The `alignment_period` specifies a time interval, in seconds, that is used
    * to divide the data in all the
@@ -42,10 +63,13 @@ public interface AggregationOrBuilder extends
    * 
* * .google.protobuf.Duration alignment_period = 1; + * * @return The alignmentPeriod. */ com.google.protobuf.Duration getAlignmentPeriod(); /** + * + * *
    * The `alignment_period` specifies a time interval, in seconds, that is used
    * to divide the data in all the
@@ -65,6 +89,8 @@ public interface AggregationOrBuilder extends
   com.google.protobuf.DurationOrBuilder getAlignmentPeriodOrBuilder();
 
   /**
+   *
+   *
    * 
    * An `Aligner` describes how to bring the data points in a single
    * time series into temporal alignment. Except for `ALIGN_NONE`, all
@@ -83,10 +109,13 @@ public interface AggregationOrBuilder extends
    * 
* * .google.monitoring.v3.Aggregation.Aligner per_series_aligner = 2; + * * @return The enum numeric value on the wire for perSeriesAligner. */ int getPerSeriesAlignerValue(); /** + * + * *
    * An `Aligner` describes how to bring the data points in a single
    * time series into temporal alignment. Except for `ALIGN_NONE`, all
@@ -105,11 +134,14 @@ public interface AggregationOrBuilder extends
    * 
* * .google.monitoring.v3.Aggregation.Aligner per_series_aligner = 2; + * * @return The perSeriesAligner. */ com.google.monitoring.v3.Aggregation.Aligner getPerSeriesAligner(); /** + * + * *
    * The reduction operation to be used to combine time series into a single
    * time series, where the value of each data point in the resulting series is
@@ -126,10 +158,13 @@ public interface AggregationOrBuilder extends
    * 
* * .google.monitoring.v3.Aggregation.Reducer cross_series_reducer = 4; + * * @return The enum numeric value on the wire for crossSeriesReducer. */ int getCrossSeriesReducerValue(); /** + * + * *
    * The reduction operation to be used to combine time series into a single
    * time series, where the value of each data point in the resulting series is
@@ -146,11 +181,14 @@ public interface AggregationOrBuilder extends
    * 
* * .google.monitoring.v3.Aggregation.Reducer cross_series_reducer = 4; + * * @return The crossSeriesReducer. */ com.google.monitoring.v3.Aggregation.Reducer getCrossSeriesReducer(); /** + * + * *
    * The set of fields to preserve when `cross_series_reducer` is
    * specified. The `group_by_fields` determine how the time series are
@@ -169,11 +207,13 @@ public interface AggregationOrBuilder extends
    * 
* * repeated string group_by_fields = 5; + * * @return A list containing the groupByFields. */ - java.util.List - getGroupByFieldsList(); + java.util.List getGroupByFieldsList(); /** + * + * *
    * The set of fields to preserve when `cross_series_reducer` is
    * specified. The `group_by_fields` determine how the time series are
@@ -192,10 +232,13 @@ public interface AggregationOrBuilder extends
    * 
* * repeated string group_by_fields = 5; + * * @return The count of groupByFields. */ int getGroupByFieldsCount(); /** + * + * *
    * The set of fields to preserve when `cross_series_reducer` is
    * specified. The `group_by_fields` determine how the time series are
@@ -214,11 +257,14 @@ public interface AggregationOrBuilder extends
    * 
* * repeated string group_by_fields = 5; + * * @param index The index of the element to return. * @return The groupByFields at the given index. */ java.lang.String getGroupByFields(int index); /** + * + * *
    * The set of fields to preserve when `cross_series_reducer` is
    * specified. The `group_by_fields` determine how the time series are
@@ -237,9 +283,9 @@ public interface AggregationOrBuilder extends
    * 
* * repeated string group_by_fields = 5; + * * @param index The index of the value to return. * @return The bytes of the groupByFields at the given index. */ - com.google.protobuf.ByteString - getGroupByFieldsBytes(int index); + com.google.protobuf.ByteString getGroupByFieldsBytes(int index); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicy.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicy.java similarity index 78% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicy.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicy.java index 1e826bc2..cf0e0180 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicy.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicy.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/alert.proto package com.google.monitoring.v3; /** + * + * *
  * A description of the conditions under which some aspect of your system is
  * considered to be "unhealthy" and the ways to notify people or services about
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.monitoring.v3.AlertPolicy}
  */
-public final class AlertPolicy extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AlertPolicy extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.AlertPolicy)
     AlertPolicyOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AlertPolicy.newBuilder() to construct.
   private AlertPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AlertPolicy() {
     name_ = "";
     displayName_ = "";
@@ -32,16 +50,15 @@ private AlertPolicy() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AlertPolicy();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AlertPolicy(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -61,147 +78,172 @@ private AlertPolicy(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            displayName_ = s;
-            break;
-          }
-          case 48: {
-            int rawValue = input.readEnum();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            combiner_ = rawValue;
-            break;
-          }
-          case 82: {
-            com.google.monitoring.v3.MutationRecord.Builder subBuilder = null;
-            if (creationRecord_ != null) {
-              subBuilder = creationRecord_.toBuilder();
-            }
-            creationRecord_ = input.readMessage(com.google.monitoring.v3.MutationRecord.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(creationRecord_);
-              creationRecord_ = subBuilder.buildPartial();
+              name_ = s;
+              break;
             }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 90: {
-            com.google.monitoring.v3.MutationRecord.Builder subBuilder = null;
-            if (mutationRecord_ != null) {
-              subBuilder = mutationRecord_.toBuilder();
+              displayName_ = s;
+              break;
             }
-            mutationRecord_ = input.readMessage(com.google.monitoring.v3.MutationRecord.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(mutationRecord_);
-              mutationRecord_ = subBuilder.buildPartial();
+          case 48:
+            {
+              int rawValue = input.readEnum();
+
+              combiner_ = rawValue;
+              break;
             }
+          case 82:
+            {
+              com.google.monitoring.v3.MutationRecord.Builder subBuilder = null;
+              if (creationRecord_ != null) {
+                subBuilder = creationRecord_.toBuilder();
+              }
+              creationRecord_ =
+                  input.readMessage(
+                      com.google.monitoring.v3.MutationRecord.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(creationRecord_);
+                creationRecord_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 98: {
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              conditions_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000002;
+              break;
             }
-            conditions_.add(
-                input.readMessage(com.google.monitoring.v3.AlertPolicy.Condition.parser(), extensionRegistry));
-            break;
-          }
-          case 106: {
-            com.google.monitoring.v3.AlertPolicy.Documentation.Builder subBuilder = null;
-            if (documentation_ != null) {
-              subBuilder = documentation_.toBuilder();
+          case 90:
+            {
+              com.google.monitoring.v3.MutationRecord.Builder subBuilder = null;
+              if (mutationRecord_ != null) {
+                subBuilder = mutationRecord_.toBuilder();
+              }
+              mutationRecord_ =
+                  input.readMessage(
+                      com.google.monitoring.v3.MutationRecord.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(mutationRecord_);
+                mutationRecord_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            documentation_ = input.readMessage(com.google.monitoring.v3.AlertPolicy.Documentation.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(documentation_);
-              documentation_ = subBuilder.buildPartial();
+          case 98:
+            {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                conditions_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000002;
+              }
+              conditions_.add(
+                  input.readMessage(
+                      com.google.monitoring.v3.AlertPolicy.Condition.parser(), extensionRegistry));
+              break;
             }
+          case 106:
+            {
+              com.google.monitoring.v3.AlertPolicy.Documentation.Builder subBuilder = null;
+              if (documentation_ != null) {
+                subBuilder = documentation_.toBuilder();
+              }
+              documentation_ =
+                  input.readMessage(
+                      com.google.monitoring.v3.AlertPolicy.Documentation.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(documentation_);
+                documentation_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 114: {
-            java.lang.String s = input.readStringRequireUtf8();
-            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-              notificationChannels_ = new com.google.protobuf.LazyStringArrayList();
-              mutable_bitField0_ |= 0x00000004;
-            }
-            notificationChannels_.add(s);
-            break;
-          }
-          case 130: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              userLabels_ = com.google.protobuf.MapField.newMapField(
-                  UserLabelsDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+              break;
             }
-            com.google.protobuf.MapEntry
-            userLabels__ = input.readMessage(
-                UserLabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            userLabels_.getMutableMap().put(
-                userLabels__.getKey(), userLabels__.getValue());
-            break;
-          }
-          case 138: {
-            com.google.protobuf.BoolValue.Builder subBuilder = null;
-            if (enabled_ != null) {
-              subBuilder = enabled_.toBuilder();
+          case 114:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                notificationChannels_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000004;
+              }
+              notificationChannels_.add(s);
+              break;
             }
-            enabled_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(enabled_);
-              enabled_ = subBuilder.buildPartial();
+          case 130:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                userLabels_ =
+                    com.google.protobuf.MapField.newMapField(
+                        UserLabelsDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
+              }
+              com.google.protobuf.MapEntry userLabels__ =
+                  input.readMessage(
+                      UserLabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                      extensionRegistry);
+              userLabels_.getMutableMap().put(userLabels__.getKey(), userLabels__.getValue());
+              break;
             }
+          case 138:
+            {
+              com.google.protobuf.BoolValue.Builder subBuilder = null;
+              if (enabled_ != null) {
+                subBuilder = enabled_.toBuilder();
+              }
+              enabled_ =
+                  input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(enabled_);
+                enabled_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 146: {
-            com.google.rpc.Status.Builder subBuilder = null;
-            if (validity_ != null) {
-              subBuilder = validity_.toBuilder();
-            }
-            validity_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(validity_);
-              validity_ = subBuilder.buildPartial();
+              break;
             }
+          case 146:
+            {
+              com.google.rpc.Status.Builder subBuilder = null;
+              if (validity_ != null) {
+                subBuilder = validity_.toBuilder();
+              }
+              validity_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(validity_);
+                validity_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 170: {
-            com.google.monitoring.v3.AlertPolicy.AlertStrategy.Builder subBuilder = null;
-            if (alertStrategy_ != null) {
-              subBuilder = alertStrategy_.toBuilder();
-            }
-            alertStrategy_ = input.readMessage(com.google.monitoring.v3.AlertPolicy.AlertStrategy.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(alertStrategy_);
-              alertStrategy_ = subBuilder.buildPartial();
+              break;
             }
+          case 170:
+            {
+              com.google.monitoring.v3.AlertPolicy.AlertStrategy.Builder subBuilder = null;
+              if (alertStrategy_ != null) {
+                subBuilder = alertStrategy_.toBuilder();
+              }
+              alertStrategy_ =
+                  input.readMessage(
+                      com.google.monitoring.v3.AlertPolicy.AlertStrategy.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(alertStrategy_);
+                alertStrategy_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000002) != 0)) {
         conditions_ = java.util.Collections.unmodifiableList(conditions_);
@@ -213,41 +255,46 @@ private AlertPolicy(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.monitoring.v3.AlertProto
+        .internal_static_google_monitoring_v3_AlertPolicy_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 16:
         return internalGetUserLabels();
       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.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_fieldAccessorTable
+    return com.google.monitoring.v3.AlertProto
+        .internal_static_google_monitoring_v3_AlertPolicy_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.AlertPolicy.class, com.google.monitoring.v3.AlertPolicy.Builder.class);
+            com.google.monitoring.v3.AlertPolicy.class,
+            com.google.monitoring.v3.AlertPolicy.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Operators for combining conditions.
    * 
* * Protobuf enum {@code google.monitoring.v3.AlertPolicy.ConditionCombinerType} */ - public enum ConditionCombinerType - implements com.google.protobuf.ProtocolMessageEnum { + public enum ConditionCombinerType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * An unspecified combiner.
      * 
@@ -256,6 +303,8 @@ public enum ConditionCombinerType */ COMBINE_UNSPECIFIED(0), /** + * + * *
      * Combine conditions using the logical `AND` operator. An
      * incident is created only if all the conditions are met
@@ -267,6 +316,8 @@ public enum ConditionCombinerType
      */
     AND(1),
     /**
+     *
+     *
      * 
      * Combine conditions using the logical `OR` operator. An incident
      * is created if any of the listed conditions is met.
@@ -276,6 +327,8 @@ public enum ConditionCombinerType
      */
     OR(2),
     /**
+     *
+     *
      * 
      * Combine conditions using logical `AND` operator, but unlike the regular
      * `AND` option, an incident is created only if all conditions are met
@@ -289,6 +342,8 @@ public enum ConditionCombinerType
     ;
 
     /**
+     *
+     *
      * 
      * An unspecified combiner.
      * 
@@ -297,6 +352,8 @@ public enum ConditionCombinerType */ public static final int COMBINE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Combine conditions using the logical `AND` operator. An
      * incident is created only if all the conditions are met
@@ -308,6 +365,8 @@ public enum ConditionCombinerType
      */
     public static final int AND_VALUE = 1;
     /**
+     *
+     *
      * 
      * Combine conditions using the logical `OR` operator. An incident
      * is created if any of the listed conditions is met.
@@ -317,6 +376,8 @@ public enum ConditionCombinerType
      */
     public static final int OR_VALUE = 2;
     /**
+     *
+     *
      * 
      * Combine conditions using logical `AND` operator, but unlike the regular
      * `AND` option, an incident is created only if all conditions are met
@@ -327,7 +388,6 @@ public enum ConditionCombinerType
      */
     public static final int AND_WITH_MATCHING_RESOURCE_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -352,11 +412,16 @@ public static ConditionCombinerType valueOf(int value) {
      */
     public static ConditionCombinerType forNumber(int value) {
       switch (value) {
-        case 0: return COMBINE_UNSPECIFIED;
-        case 1: return AND;
-        case 2: return OR;
-        case 3: return AND_WITH_MATCHING_RESOURCE;
-        default: return null;
+        case 0:
+          return COMBINE_UNSPECIFIED;
+        case 1:
+          return AND;
+        case 2:
+          return OR;
+        case 3:
+          return AND_WITH_MATCHING_RESOURCE;
+        default:
+          return null;
       }
     }
 
@@ -364,28 +429,28 @@ public static ConditionCombinerType forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        ConditionCombinerType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public ConditionCombinerType findValueByNumber(int number) {
-              return ConditionCombinerType.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap
+        internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public ConditionCombinerType findValueByNumber(int number) {
+                return ConditionCombinerType.forNumber(number);
+              }
+            };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.monitoring.v3.AlertPolicy.getDescriptor().getEnumTypes().get(0);
     }
 
@@ -394,8 +459,7 @@ public ConditionCombinerType findValueByNumber(int number) {
     public static ConditionCombinerType 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;
@@ -412,11 +476,14 @@ private ConditionCombinerType(int value) {
     // @@protoc_insertion_point(enum_scope:google.monitoring.v3.AlertPolicy.ConditionCombinerType)
   }
 
-  public interface DocumentationOrBuilder extends
+  public interface DocumentationOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.monitoring.v3.AlertPolicy.Documentation)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The text of the documentation, interpreted according to `mime_type`.
      * The content may not exceed 8,192 Unicode characters and may not exceed
@@ -425,10 +492,13 @@ public interface DocumentationOrBuilder extends
      * 
* * string content = 1; + * * @return The content. */ java.lang.String getContent(); /** + * + * *
      * The text of the documentation, interpreted according to `mime_type`.
      * The content may not exceed 8,192 Unicode characters and may not exceed
@@ -437,12 +507,14 @@ public interface DocumentationOrBuilder extends
      * 
* * string content = 1; + * * @return The bytes for content. */ - com.google.protobuf.ByteString - getContentBytes(); + com.google.protobuf.ByteString getContentBytes(); /** + * + * *
      * The format of the `content` field. Presently, only the value
      * `"text/markdown"` is supported. See
@@ -450,10 +522,13 @@ public interface DocumentationOrBuilder extends
      * 
* * string mime_type = 2; + * * @return The mimeType. */ java.lang.String getMimeType(); /** + * + * *
      * The format of the `content` field. Presently, only the value
      * `"text/markdown"` is supported. See
@@ -461,12 +536,14 @@ public interface DocumentationOrBuilder extends
      * 
* * string mime_type = 2; + * * @return The bytes for mimeType. */ - com.google.protobuf.ByteString - getMimeTypeBytes(); + com.google.protobuf.ByteString getMimeTypeBytes(); } /** + * + * *
    * A content string and a MIME type that describes the content string's
    * format.
@@ -474,15 +551,16 @@ public interface DocumentationOrBuilder extends
    *
    * Protobuf type {@code google.monitoring.v3.AlertPolicy.Documentation}
    */
-  public static final class Documentation extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class Documentation extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.monitoring.v3.AlertPolicy.Documentation)
       DocumentationOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use Documentation.newBuilder() to construct.
     private Documentation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private Documentation() {
       content_ = "";
       mimeType_ = "";
@@ -490,16 +568,15 @@ private Documentation() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new Documentation();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private Documentation(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -518,53 +595,59 @@ private Documentation(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              content_ = s;
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
+                content_ = s;
+                break;
+              }
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              mimeType_ = s;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                mimeType_ = s;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Documentation_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.monitoring.v3.AlertProto
+          .internal_static_google_monitoring_v3_AlertPolicy_Documentation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Documentation_fieldAccessorTable
+      return com.google.monitoring.v3.AlertProto
+          .internal_static_google_monitoring_v3_AlertPolicy_Documentation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.AlertPolicy.Documentation.class, com.google.monitoring.v3.AlertPolicy.Documentation.Builder.class);
+              com.google.monitoring.v3.AlertPolicy.Documentation.class,
+              com.google.monitoring.v3.AlertPolicy.Documentation.Builder.class);
     }
 
     public static final int CONTENT_FIELD_NUMBER = 1;
     private volatile java.lang.Object content_;
     /**
+     *
+     *
      * 
      * The text of the documentation, interpreted according to `mime_type`.
      * The content may not exceed 8,192 Unicode characters and may not exceed
@@ -573,6 +656,7 @@ private Documentation(
      * 
* * string content = 1; + * * @return The content. */ @java.lang.Override @@ -581,14 +665,15 @@ public java.lang.String getContent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); content_ = s; return s; } } /** + * + * *
      * The text of the documentation, interpreted according to `mime_type`.
      * The content may not exceed 8,192 Unicode characters and may not exceed
@@ -597,16 +682,15 @@ public java.lang.String getContent() {
      * 
* * string content = 1; + * * @return The bytes for content. */ @java.lang.Override - public com.google.protobuf.ByteString - getContentBytes() { + public com.google.protobuf.ByteString getContentBytes() { java.lang.Object ref = content_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); content_ = b; return b; } else { @@ -617,6 +701,8 @@ public java.lang.String getContent() { public static final int MIME_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object mimeType_; /** + * + * *
      * The format of the `content` field. Presently, only the value
      * `"text/markdown"` is supported. See
@@ -624,6 +710,7 @@ public java.lang.String getContent() {
      * 
* * string mime_type = 2; + * * @return The mimeType. */ @java.lang.Override @@ -632,14 +719,15 @@ public java.lang.String getMimeType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mimeType_ = s; return s; } } /** + * + * *
      * The format of the `content` field. Presently, only the value
      * `"text/markdown"` is supported. See
@@ -647,16 +735,15 @@ public java.lang.String getMimeType() {
      * 
* * string mime_type = 2; + * * @return The bytes for mimeType. */ @java.lang.Override - public com.google.protobuf.ByteString - getMimeTypeBytes() { + public com.google.protobuf.ByteString getMimeTypeBytes() { java.lang.Object ref = mimeType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); mimeType_ = b; return b; } else { @@ -665,6 +752,7 @@ public java.lang.String getMimeType() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -676,8 +764,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(content_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, content_); } @@ -707,17 +794,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.AlertPolicy.Documentation)) { return super.equals(obj); } - com.google.monitoring.v3.AlertPolicy.Documentation other = (com.google.monitoring.v3.AlertPolicy.Documentation) obj; + com.google.monitoring.v3.AlertPolicy.Documentation other = + (com.google.monitoring.v3.AlertPolicy.Documentation) obj; - if (!getContent() - .equals(other.getContent())) return false; - if (!getMimeType() - .equals(other.getMimeType())) return false; + if (!getContent().equals(other.getContent())) return false; + if (!getMimeType().equals(other.getMimeType())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -739,87 +825,93 @@ public int hashCode() { } public static com.google.monitoring.v3.AlertPolicy.Documentation parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.AlertPolicy.Documentation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.AlertPolicy.Documentation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.AlertPolicy.Documentation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.AlertPolicy.Documentation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.AlertPolicy.Documentation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.AlertPolicy.Documentation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.AlertPolicy.Documentation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.AlertPolicy.Documentation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.AlertPolicy.Documentation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.AlertPolicy.Documentation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.AlertPolicy.Documentation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.AlertPolicy.Documentation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.AlertPolicy.Documentation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.AlertPolicy.Documentation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -829,6 +921,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A content string and a MIME type that describes the content string's
      * format.
@@ -836,21 +930,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.monitoring.v3.AlertPolicy.Documentation}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.monitoring.v3.AlertPolicy.Documentation)
         com.google.monitoring.v3.AlertPolicy.DocumentationOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Documentation_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.monitoring.v3.AlertProto
+            .internal_static_google_monitoring_v3_AlertPolicy_Documentation_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Documentation_fieldAccessorTable
+        return com.google.monitoring.v3.AlertProto
+            .internal_static_google_monitoring_v3_AlertPolicy_Documentation_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.monitoring.v3.AlertPolicy.Documentation.class, com.google.monitoring.v3.AlertPolicy.Documentation.Builder.class);
+                com.google.monitoring.v3.AlertPolicy.Documentation.class,
+                com.google.monitoring.v3.AlertPolicy.Documentation.Builder.class);
       }
 
       // Construct using com.google.monitoring.v3.AlertPolicy.Documentation.newBuilder()
@@ -858,16 +955,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -879,9 +975,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Documentation_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.monitoring.v3.AlertProto
+            .internal_static_google_monitoring_v3_AlertPolicy_Documentation_descriptor;
       }
 
       @java.lang.Override
@@ -900,7 +996,8 @@ public com.google.monitoring.v3.AlertPolicy.Documentation build() {
 
       @java.lang.Override
       public com.google.monitoring.v3.AlertPolicy.Documentation buildPartial() {
-        com.google.monitoring.v3.AlertPolicy.Documentation result = new com.google.monitoring.v3.AlertPolicy.Documentation(this);
+        com.google.monitoring.v3.AlertPolicy.Documentation result =
+            new com.google.monitoring.v3.AlertPolicy.Documentation(this);
         result.content_ = content_;
         result.mimeType_ = mimeType_;
         onBuilt();
@@ -911,38 +1008,41 @@ public com.google.monitoring.v3.AlertPolicy.Documentation 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.monitoring.v3.AlertPolicy.Documentation) {
-          return mergeFrom((com.google.monitoring.v3.AlertPolicy.Documentation)other);
+          return mergeFrom((com.google.monitoring.v3.AlertPolicy.Documentation) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -950,7 +1050,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.monitoring.v3.AlertPolicy.Documentation other) {
-        if (other == com.google.monitoring.v3.AlertPolicy.Documentation.getDefaultInstance()) return this;
+        if (other == com.google.monitoring.v3.AlertPolicy.Documentation.getDefaultInstance())
+          return this;
         if (!other.getContent().isEmpty()) {
           content_ = other.content_;
           onChanged();
@@ -978,7 +1079,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.monitoring.v3.AlertPolicy.Documentation) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.monitoring.v3.AlertPolicy.Documentation) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -990,6 +1092,8 @@ public Builder mergeFrom(
 
       private java.lang.Object content_ = "";
       /**
+       *
+       *
        * 
        * The text of the documentation, interpreted according to `mime_type`.
        * The content may not exceed 8,192 Unicode characters and may not exceed
@@ -998,13 +1102,13 @@ public Builder mergeFrom(
        * 
* * string content = 1; + * * @return The content. */ public java.lang.String getContent() { java.lang.Object ref = content_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); content_ = s; return s; @@ -1013,6 +1117,8 @@ public java.lang.String getContent() { } } /** + * + * *
        * The text of the documentation, interpreted according to `mime_type`.
        * The content may not exceed 8,192 Unicode characters and may not exceed
@@ -1021,15 +1127,14 @@ public java.lang.String getContent() {
        * 
* * string content = 1; + * * @return The bytes for content. */ - public com.google.protobuf.ByteString - getContentBytes() { + public com.google.protobuf.ByteString getContentBytes() { java.lang.Object ref = content_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); content_ = b; return b; } else { @@ -1037,6 +1142,8 @@ public java.lang.String getContent() { } } /** + * + * *
        * The text of the documentation, interpreted according to `mime_type`.
        * The content may not exceed 8,192 Unicode characters and may not exceed
@@ -1045,20 +1152,22 @@ public java.lang.String getContent() {
        * 
* * string content = 1; + * * @param value The content to set. * @return This builder for chaining. */ - public Builder setContent( - java.lang.String value) { + public Builder setContent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + content_ = value; onChanged(); return this; } /** + * + * *
        * The text of the documentation, interpreted according to `mime_type`.
        * The content may not exceed 8,192 Unicode characters and may not exceed
@@ -1067,15 +1176,18 @@ public Builder setContent(
        * 
* * string content = 1; + * * @return This builder for chaining. */ public Builder clearContent() { - + content_ = getDefaultInstance().getContent(); onChanged(); return this; } /** + * + * *
        * The text of the documentation, interpreted according to `mime_type`.
        * The content may not exceed 8,192 Unicode characters and may not exceed
@@ -1084,16 +1196,16 @@ public Builder clearContent() {
        * 
* * string content = 1; + * * @param value The bytes for content to set. * @return This builder for chaining. */ - public Builder setContentBytes( - com.google.protobuf.ByteString value) { + public Builder setContentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + content_ = value; onChanged(); return this; @@ -1101,6 +1213,8 @@ public Builder setContentBytes( private java.lang.Object mimeType_ = ""; /** + * + * *
        * The format of the `content` field. Presently, only the value
        * `"text/markdown"` is supported. See
@@ -1108,13 +1222,13 @@ public Builder setContentBytes(
        * 
* * string mime_type = 2; + * * @return The mimeType. */ public java.lang.String getMimeType() { java.lang.Object ref = mimeType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mimeType_ = s; return s; @@ -1123,6 +1237,8 @@ public java.lang.String getMimeType() { } } /** + * + * *
        * The format of the `content` field. Presently, only the value
        * `"text/markdown"` is supported. See
@@ -1130,15 +1246,14 @@ public java.lang.String getMimeType() {
        * 
* * string mime_type = 2; + * * @return The bytes for mimeType. */ - public com.google.protobuf.ByteString - getMimeTypeBytes() { + public com.google.protobuf.ByteString getMimeTypeBytes() { java.lang.Object ref = mimeType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); mimeType_ = b; return b; } else { @@ -1146,6 +1261,8 @@ public java.lang.String getMimeType() { } } /** + * + * *
        * The format of the `content` field. Presently, only the value
        * `"text/markdown"` is supported. See
@@ -1153,20 +1270,22 @@ public java.lang.String getMimeType() {
        * 
* * string mime_type = 2; + * * @param value The mimeType to set. * @return This builder for chaining. */ - public Builder setMimeType( - java.lang.String value) { + public Builder setMimeType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + mimeType_ = value; onChanged(); return this; } /** + * + * *
        * The format of the `content` field. Presently, only the value
        * `"text/markdown"` is supported. See
@@ -1174,15 +1293,18 @@ public Builder setMimeType(
        * 
* * string mime_type = 2; + * * @return This builder for chaining. */ public Builder clearMimeType() { - + mimeType_ = getDefaultInstance().getMimeType(); onChanged(); return this; } /** + * + * *
        * The format of the `content` field. Presently, only the value
        * `"text/markdown"` is supported. See
@@ -1190,20 +1312,21 @@ public Builder clearMimeType() {
        * 
* * string mime_type = 2; + * * @param value The bytes for mimeType to set. * @return This builder for chaining. */ - public Builder setMimeTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setMimeTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + mimeType_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1216,12 +1339,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.AlertPolicy.Documentation) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.AlertPolicy.Documentation) private static final com.google.monitoring.v3.AlertPolicy.Documentation DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.AlertPolicy.Documentation(); } @@ -1230,16 +1353,16 @@ public static com.google.monitoring.v3.AlertPolicy.Documentation getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Documentation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Documentation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Documentation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Documentation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1254,14 +1377,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.AlertPolicy.Documentation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ConditionOrBuilder extends + public interface ConditionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.AlertPolicy.Condition) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required if the condition exists. The unique resource name for this
      * condition. Its format is:
@@ -1286,10 +1411,13 @@ public interface ConditionOrBuilder extends
      * 
* * string name = 12; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Required if the condition exists. The unique resource name for this
      * condition. Its format is:
@@ -1314,12 +1442,14 @@ public interface ConditionOrBuilder extends
      * 
* * string name = 12; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
      * A short name or phrase used to identify the condition in dashboards,
      * notifications, and incidents. To avoid confusion, don't use the same
@@ -1327,10 +1457,13 @@ public interface ConditionOrBuilder extends
      * 
* * string display_name = 6; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
      * A short name or phrase used to identify the condition in dashboards,
      * notifications, and incidents. To avoid confusion, don't use the same
@@ -1338,59 +1471,79 @@ public interface ConditionOrBuilder extends
      * 
* * string display_name = 6; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
      * A condition that compares a time series against a threshold.
      * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; + * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; + * + * * @return Whether the conditionThreshold field is set. */ boolean hasConditionThreshold(); /** + * + * *
      * A condition that compares a time series against a threshold.
      * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; + * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; + * + * * @return The conditionThreshold. */ com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold getConditionThreshold(); /** + * + * *
      * A condition that compares a time series against a threshold.
      * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; + * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; + * */ - com.google.monitoring.v3.AlertPolicy.Condition.MetricThresholdOrBuilder getConditionThresholdOrBuilder(); + com.google.monitoring.v3.AlertPolicy.Condition.MetricThresholdOrBuilder + getConditionThresholdOrBuilder(); /** + * + * *
      * A condition that checks that a time series continues to
      * receive new data points.
      * 
* * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; + * * @return Whether the conditionAbsent field is set. */ boolean hasConditionAbsent(); /** + * + * *
      * A condition that checks that a time series continues to
      * receive new data points.
      * 
* * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; + * * @return The conditionAbsent. */ com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence getConditionAbsent(); /** + * + * *
      * A condition that checks that a time series continues to
      * receive new data points.
@@ -1398,29 +1551,38 @@ public interface ConditionOrBuilder extends
      *
      * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2;
      */
-    com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsenceOrBuilder getConditionAbsentOrBuilder();
+    com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsenceOrBuilder
+        getConditionAbsentOrBuilder();
 
     /**
+     *
+     *
      * 
      * A condition that checks for log messages matching given constraints. If
      * set, no other conditions can be present.
      * 
* * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; + * * @return Whether the conditionMatchedLog field is set. */ boolean hasConditionMatchedLog(); /** + * + * *
      * A condition that checks for log messages matching given constraints. If
      * set, no other conditions can be present.
      * 
* * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; + * * @return The conditionMatchedLog. */ com.google.monitoring.v3.AlertPolicy.Condition.LogMatch getConditionMatchedLog(); /** + * + * *
      * A condition that checks for log messages matching given constraints. If
      * set, no other conditions can be present.
@@ -1428,41 +1590,60 @@ public interface ConditionOrBuilder extends
      *
      * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20;
      */
-    com.google.monitoring.v3.AlertPolicy.Condition.LogMatchOrBuilder getConditionMatchedLogOrBuilder();
+    com.google.monitoring.v3.AlertPolicy.Condition.LogMatchOrBuilder
+        getConditionMatchedLogOrBuilder();
 
     /**
+     *
+     *
      * 
      * A condition that uses the Monitoring Query Language to define
      * alerts.
      * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; + * + * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; + * + * * @return Whether the conditionMonitoringQueryLanguage field is set. */ boolean hasConditionMonitoringQueryLanguage(); /** + * + * *
      * A condition that uses the Monitoring Query Language to define
      * alerts.
      * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; + * + * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; + * + * * @return The conditionMonitoringQueryLanguage. */ - com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition getConditionMonitoringQueryLanguage(); + com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition + getConditionMonitoringQueryLanguage(); /** + * + * *
      * A condition that uses the Monitoring Query Language to define
      * alerts.
      * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; + * + * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; + * */ - com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageConditionOrBuilder getConditionMonitoringQueryLanguageOrBuilder(); + com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageConditionOrBuilder + getConditionMonitoringQueryLanguageOrBuilder(); public com.google.monitoring.v3.AlertPolicy.Condition.ConditionCase getConditionCase(); } /** + * + * *
    * A condition is a true/false test that determines when an alerting policy
    * should open an incident. If a condition evaluates to true, it signifies
@@ -1471,15 +1652,16 @@ public interface ConditionOrBuilder extends
    *
    * Protobuf type {@code google.monitoring.v3.AlertPolicy.Condition}
    */
-  public static final class Condition extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class Condition extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.monitoring.v3.AlertPolicy.Condition)
       ConditionOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use Condition.newBuilder() to construct.
     private Condition(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private Condition() {
       name_ = "";
       displayName_ = "";
@@ -1487,16 +1669,15 @@ private Condition() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new Condition();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private Condition(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1515,148 +1696,198 @@ private Condition(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.Builder subBuilder = null;
-              if (conditionCase_ == 1) {
-                subBuilder = ((com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) condition_).toBuilder();
-              }
-              condition_ =
-                  input.readMessage(com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) condition_);
-                condition_ = subBuilder.buildPartial();
-              }
-              conditionCase_ = 1;
-              break;
-            }
-            case 18: {
-              com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.Builder subBuilder = null;
-              if (conditionCase_ == 2) {
-                subBuilder = ((com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence) condition_).toBuilder();
+            case 10:
+              {
+                com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.Builder subBuilder =
+                    null;
+                if (conditionCase_ == 1) {
+                  subBuilder =
+                      ((com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) condition_)
+                          .toBuilder();
+                }
+                condition_ =
+                    input.readMessage(
+                        com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(
+                      (com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) condition_);
+                  condition_ = subBuilder.buildPartial();
+                }
+                conditionCase_ = 1;
+                break;
               }
-              condition_ =
-                  input.readMessage(com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence) condition_);
-                condition_ = subBuilder.buildPartial();
+            case 18:
+              {
+                com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.Builder subBuilder =
+                    null;
+                if (conditionCase_ == 2) {
+                  subBuilder =
+                      ((com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence) condition_)
+                          .toBuilder();
+                }
+                condition_ =
+                    input.readMessage(
+                        com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(
+                      (com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence) condition_);
+                  condition_ = subBuilder.buildPartial();
+                }
+                conditionCase_ = 2;
+                break;
               }
-              conditionCase_ = 2;
-              break;
-            }
-            case 50: {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              displayName_ = s;
-              break;
-            }
-            case 98: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 50:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-            case 154: {
-              com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.Builder subBuilder = null;
-              if (conditionCase_ == 19) {
-                subBuilder = ((com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) condition_).toBuilder();
+                displayName_ = s;
+                break;
               }
-              condition_ =
-                  input.readMessage(com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) condition_);
-                condition_ = subBuilder.buildPartial();
+            case 98:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+
+                name_ = s;
+                break;
               }
-              conditionCase_ = 19;
-              break;
-            }
-            case 162: {
-              com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.Builder subBuilder = null;
-              if (conditionCase_ == 20) {
-                subBuilder = ((com.google.monitoring.v3.AlertPolicy.Condition.LogMatch) condition_).toBuilder();
+            case 154:
+              {
+                com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition
+                        .Builder
+                    subBuilder = null;
+                if (conditionCase_ == 19) {
+                  subBuilder =
+                      ((com.google.monitoring.v3.AlertPolicy.Condition
+                                  .MonitoringQueryLanguageCondition)
+                              condition_)
+                          .toBuilder();
+                }
+                condition_ =
+                    input.readMessage(
+                        com.google.monitoring.v3.AlertPolicy.Condition
+                            .MonitoringQueryLanguageCondition.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(
+                      (com.google.monitoring.v3.AlertPolicy.Condition
+                              .MonitoringQueryLanguageCondition)
+                          condition_);
+                  condition_ = subBuilder.buildPartial();
+                }
+                conditionCase_ = 19;
+                break;
               }
-              condition_ =
-                  input.readMessage(com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.monitoring.v3.AlertPolicy.Condition.LogMatch) condition_);
-                condition_ = subBuilder.buildPartial();
+            case 162:
+              {
+                com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.Builder subBuilder = null;
+                if (conditionCase_ == 20) {
+                  subBuilder =
+                      ((com.google.monitoring.v3.AlertPolicy.Condition.LogMatch) condition_)
+                          .toBuilder();
+                }
+                condition_ =
+                    input.readMessage(
+                        com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(
+                      (com.google.monitoring.v3.AlertPolicy.Condition.LogMatch) condition_);
+                  condition_ = subBuilder.buildPartial();
+                }
+                conditionCase_ = 20;
+                break;
               }
-              conditionCase_ = 20;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.monitoring.v3.AlertProto
+          .internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_fieldAccessorTable
+      return com.google.monitoring.v3.AlertProto
+          .internal_static_google_monitoring_v3_AlertPolicy_Condition_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.AlertPolicy.Condition.class, com.google.monitoring.v3.AlertPolicy.Condition.Builder.class);
+              com.google.monitoring.v3.AlertPolicy.Condition.class,
+              com.google.monitoring.v3.AlertPolicy.Condition.Builder.class);
     }
 
-    public interface TriggerOrBuilder extends
+    public interface TriggerOrBuilder
+        extends
         // @@protoc_insertion_point(interface_extends:google.monitoring.v3.AlertPolicy.Condition.Trigger)
         com.google.protobuf.MessageOrBuilder {
 
       /**
+       *
+       *
        * 
        * The absolute number of time series that must fail
        * the predicate for the condition to be triggered.
        * 
* * int32 count = 1; + * * @return Whether the count field is set. */ boolean hasCount(); /** + * + * *
        * The absolute number of time series that must fail
        * the predicate for the condition to be triggered.
        * 
* * int32 count = 1; + * * @return The count. */ int getCount(); /** + * + * *
        * The percentage of time series that must fail the
        * predicate for the condition to be triggered.
        * 
* * double percent = 2; + * * @return Whether the percent field is set. */ boolean hasPercent(); /** + * + * *
        * The percentage of time series that must fail the
        * predicate for the condition to be triggered.
        * 
* * double percent = 2; + * * @return The percent. */ double getPercent(); @@ -1664,6 +1895,8 @@ public interface TriggerOrBuilder extends public com.google.monitoring.v3.AlertPolicy.Condition.Trigger.TypeCase getTypeCase(); } /** + * + * *
      * Specifies how many time series must fail a predicate to trigger a
      * condition. If not specified, then a `{count: 1}` trigger is used.
@@ -1671,30 +1904,29 @@ public interface TriggerOrBuilder extends
      *
      * Protobuf type {@code google.monitoring.v3.AlertPolicy.Condition.Trigger}
      */
-    public static final class Trigger extends
-        com.google.protobuf.GeneratedMessageV3 implements
+    public static final class Trigger extends com.google.protobuf.GeneratedMessageV3
+        implements
         // @@protoc_insertion_point(message_implements:google.monitoring.v3.AlertPolicy.Condition.Trigger)
         TriggerOrBuilder {
-    private static final long serialVersionUID = 0L;
+      private static final long serialVersionUID = 0L;
       // Use Trigger.newBuilder() to construct.
       private Trigger(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-      private Trigger() {
-      }
+
+      private Trigger() {}
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(
-          UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
         return new Trigger();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet
-      getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
         return this.unknownFields;
       }
+
       private Trigger(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1713,57 +1945,65 @@ private Trigger(
               case 0:
                 done = true;
                 break;
-              case 8: {
-                typeCase_ = 1;
-                type_ = input.readInt32();
-                break;
-              }
-              case 17: {
-                typeCase_ = 2;
-                type_ = input.readDouble();
-                break;
-              }
-              default: {
-                if (!parseUnknownField(
-                    input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
+              case 8:
+                {
+                  typeCase_ = 1;
+                  type_ = input.readInt32();
+                  break;
+                }
+              case 17:
+                {
+                  typeCase_ = 2;
+                  type_ = input.readDouble();
+                  break;
+                }
+              default:
+                {
+                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                    done = true;
+                  }
+                  break;
                 }
-                break;
-              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
           throw e.setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(
-              e).setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_Trigger_descriptor;
+
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.monitoring.v3.AlertProto
+            .internal_static_google_monitoring_v3_AlertPolicy_Condition_Trigger_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_Trigger_fieldAccessorTable
+        return com.google.monitoring.v3.AlertProto
+            .internal_static_google_monitoring_v3_AlertPolicy_Condition_Trigger_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.monitoring.v3.AlertPolicy.Condition.Trigger.class, com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder.class);
+                com.google.monitoring.v3.AlertPolicy.Condition.Trigger.class,
+                com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder.class);
       }
 
       private int typeCase_ = 0;
       private java.lang.Object type_;
+
       public enum TypeCase
-          implements com.google.protobuf.Internal.EnumLite,
+          implements
+              com.google.protobuf.Internal.EnumLite,
               com.google.protobuf.AbstractMessage.InternalOneOfEnum {
         COUNT(1),
         PERCENT(2),
         TYPE_NOT_SET(0);
         private final int value;
+
         private TypeCase(int value) {
           this.value = value;
         }
@@ -1779,31 +2019,37 @@ public static TypeCase valueOf(int value) {
 
         public static TypeCase forNumber(int value) {
           switch (value) {
-            case 1: return COUNT;
-            case 2: return PERCENT;
-            case 0: return TYPE_NOT_SET;
-            default: return null;
+            case 1:
+              return COUNT;
+            case 2:
+              return PERCENT;
+            case 0:
+              return TYPE_NOT_SET;
+            default:
+              return null;
           }
         }
+
         public int getNumber() {
           return this.value;
         }
       };
 
-      public TypeCase
-      getTypeCase() {
-        return TypeCase.forNumber(
-            typeCase_);
+      public TypeCase getTypeCase() {
+        return TypeCase.forNumber(typeCase_);
       }
 
       public static final int COUNT_FIELD_NUMBER = 1;
       /**
+       *
+       *
        * 
        * The absolute number of time series that must fail
        * the predicate for the condition to be triggered.
        * 
* * int32 count = 1; + * * @return Whether the count field is set. */ @java.lang.Override @@ -1811,12 +2057,15 @@ public boolean hasCount() { return typeCase_ == 1; } /** + * + * *
        * The absolute number of time series that must fail
        * the predicate for the condition to be triggered.
        * 
* * int32 count = 1; + * * @return The count. */ @java.lang.Override @@ -1829,12 +2078,15 @@ public int getCount() { public static final int PERCENT_FIELD_NUMBER = 2; /** + * + * *
        * The percentage of time series that must fail the
        * predicate for the condition to be triggered.
        * 
* * double percent = 2; + * * @return Whether the percent field is set. */ @java.lang.Override @@ -1842,12 +2094,15 @@ public boolean hasPercent() { return typeCase_ == 2; } /** + * + * *
        * The percentage of time series that must fail the
        * predicate for the condition to be triggered.
        * 
* * double percent = 2; + * * @return The percent. */ @java.lang.Override @@ -1859,6 +2114,7 @@ public double getPercent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1870,15 +2126,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 (typeCase_ == 1) { - output.writeInt32( - 1, (int)((java.lang.Integer) type_)); + output.writeInt32(1, (int) ((java.lang.Integer) type_)); } if (typeCase_ == 2) { - output.writeDouble( - 2, (double)((java.lang.Double) type_)); + output.writeDouble(2, (double) ((java.lang.Double) type_)); } unknownFields.writeTo(output); } @@ -1890,14 +2143,14 @@ public int getSerializedSize() { size = 0; if (typeCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size( - 1, (int)((java.lang.Integer) type_)); + size += + com.google.protobuf.CodedOutputStream.computeInt32Size( + 1, (int) ((java.lang.Integer) type_)); } if (typeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize( - 2, (double)((java.lang.Double) type_)); + size += + com.google.protobuf.CodedOutputStream.computeDoubleSize( + 2, (double) ((java.lang.Double) type_)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1907,23 +2160,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.monitoring.v3.AlertPolicy.Condition.Trigger)) { return super.equals(obj); } - com.google.monitoring.v3.AlertPolicy.Condition.Trigger other = (com.google.monitoring.v3.AlertPolicy.Condition.Trigger) obj; + com.google.monitoring.v3.AlertPolicy.Condition.Trigger other = + (com.google.monitoring.v3.AlertPolicy.Condition.Trigger) obj; if (!getTypeCase().equals(other.getTypeCase())) return false; switch (typeCase_) { case 1: - if (getCount() - != other.getCount()) return false; + if (getCount() != other.getCount()) return false; break; case 2: if (java.lang.Double.doubleToLongBits(getPercent()) - != java.lang.Double.doubleToLongBits( - other.getPercent())) return false; + != java.lang.Double.doubleToLongBits(other.getPercent())) return false; break; case 0: default: @@ -1946,8 +2198,10 @@ public int hashCode() { break; case 2: hash = (37 * hash) + PERCENT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getPercent())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getPercent())); break; case 0: default: @@ -1958,87 +2212,94 @@ public int hashCode() { } public static com.google.monitoring.v3.AlertPolicy.Condition.Trigger parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.AlertPolicy.Condition.Trigger parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.AlertPolicy.Condition.Trigger parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.AlertPolicy.Condition.Trigger parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.AlertPolicy.Condition.Trigger parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.AlertPolicy.Condition.Trigger parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.AlertPolicy.Condition.Trigger parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.AlertPolicy.Condition.Trigger parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.AlertPolicy.Condition.Trigger parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.AlertPolicy.Condition.Trigger parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.AlertPolicy.Condition.Trigger parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.AlertPolicy.Condition.Trigger parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.AlertPolicy.Condition.Trigger parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.AlertPolicy.Condition.Trigger parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.AlertPolicy.Condition.Trigger prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.AlertPolicy.Condition.Trigger prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2048,6 +2309,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Specifies how many time series must fail a predicate to trigger a
        * condition. If not specified, then a `{count: 1}` trigger is used.
@@ -2055,21 +2318,24 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.monitoring.v3.AlertPolicy.Condition.Trigger}
        */
-      public static final class Builder extends
-          com.google.protobuf.GeneratedMessageV3.Builder implements
+      public static final class Builder
+          extends com.google.protobuf.GeneratedMessageV3.Builder
+          implements
           // @@protoc_insertion_point(builder_implements:google.monitoring.v3.AlertPolicy.Condition.Trigger)
           com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor
-            getDescriptor() {
-          return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_Trigger_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+          return com.google.monitoring.v3.AlertProto
+              .internal_static_google_monitoring_v3_AlertPolicy_Condition_Trigger_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_Trigger_fieldAccessorTable
+          return com.google.monitoring.v3.AlertProto
+              .internal_static_google_monitoring_v3_AlertPolicy_Condition_Trigger_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.monitoring.v3.AlertPolicy.Condition.Trigger.class, com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder.class);
+                  com.google.monitoring.v3.AlertPolicy.Condition.Trigger.class,
+                  com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder.class);
         }
 
         // Construct using com.google.monitoring.v3.AlertPolicy.Condition.Trigger.newBuilder()
@@ -2077,16 +2343,15 @@ private Builder() {
           maybeForceBuilderInitialization();
         }
 
-        private Builder(
-            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
+
         private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3
-                  .alwaysUseFieldBuilders) {
-          }
+          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
         }
+
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -2096,9 +2361,9 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor
-            getDescriptorForType() {
-          return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_Trigger_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+          return com.google.monitoring.v3.AlertProto
+              .internal_static_google_monitoring_v3_AlertPolicy_Condition_Trigger_descriptor;
         }
 
         @java.lang.Override
@@ -2117,7 +2382,8 @@ public com.google.monitoring.v3.AlertPolicy.Condition.Trigger build() {
 
         @java.lang.Override
         public com.google.monitoring.v3.AlertPolicy.Condition.Trigger buildPartial() {
-          com.google.monitoring.v3.AlertPolicy.Condition.Trigger result = new com.google.monitoring.v3.AlertPolicy.Condition.Trigger(this);
+          com.google.monitoring.v3.AlertPolicy.Condition.Trigger result =
+              new com.google.monitoring.v3.AlertPolicy.Condition.Trigger(this);
           if (typeCase_ == 1) {
             result.type_ = type_;
           }
@@ -2133,38 +2399,41 @@ public com.google.monitoring.v3.AlertPolicy.Condition.Trigger 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.monitoring.v3.AlertPolicy.Condition.Trigger) {
-            return mergeFrom((com.google.monitoring.v3.AlertPolicy.Condition.Trigger)other);
+            return mergeFrom((com.google.monitoring.v3.AlertPolicy.Condition.Trigger) other);
           } else {
             super.mergeFrom(other);
             return this;
@@ -2172,19 +2441,23 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
         }
 
         public Builder mergeFrom(com.google.monitoring.v3.AlertPolicy.Condition.Trigger other) {
-          if (other == com.google.monitoring.v3.AlertPolicy.Condition.Trigger.getDefaultInstance()) return this;
+          if (other == com.google.monitoring.v3.AlertPolicy.Condition.Trigger.getDefaultInstance())
+            return this;
           switch (other.getTypeCase()) {
-            case COUNT: {
-              setCount(other.getCount());
-              break;
-            }
-            case PERCENT: {
-              setPercent(other.getPercent());
-              break;
-            }
-            case TYPE_NOT_SET: {
-              break;
-            }
+            case COUNT:
+              {
+                setCount(other.getCount());
+                break;
+              }
+            case PERCENT:
+              {
+                setPercent(other.getPercent());
+                break;
+              }
+            case TYPE_NOT_SET:
+              {
+                break;
+              }
           }
           this.mergeUnknownFields(other.unknownFields);
           onChanged();
@@ -2205,7 +2478,8 @@ public Builder mergeFrom(
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            parsedMessage = (com.google.monitoring.v3.AlertPolicy.Condition.Trigger) e.getUnfinishedMessage();
+            parsedMessage =
+                (com.google.monitoring.v3.AlertPolicy.Condition.Trigger) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
@@ -2214,12 +2488,12 @@ public Builder mergeFrom(
           }
           return this;
         }
+
         private int typeCase_ = 0;
         private java.lang.Object type_;
-        public TypeCase
-            getTypeCase() {
-          return TypeCase.forNumber(
-              typeCase_);
+
+        public TypeCase getTypeCase() {
+          return TypeCase.forNumber(typeCase_);
         }
 
         public Builder clearType() {
@@ -2229,26 +2503,31 @@ public Builder clearType() {
           return this;
         }
 
-
         /**
+         *
+         *
          * 
          * The absolute number of time series that must fail
          * the predicate for the condition to be triggered.
          * 
* * int32 count = 1; + * * @return Whether the count field is set. */ public boolean hasCount() { return typeCase_ == 1; } /** + * + * *
          * The absolute number of time series that must fail
          * the predicate for the condition to be triggered.
          * 
* * int32 count = 1; + * * @return The count. */ public int getCount() { @@ -2258,12 +2537,15 @@ public int getCount() { return 0; } /** + * + * *
          * The absolute number of time series that must fail
          * the predicate for the condition to be triggered.
          * 
* * int32 count = 1; + * * @param value The count to set. * @return This builder for chaining. */ @@ -2274,12 +2556,15 @@ public Builder setCount(int value) { return this; } /** + * + * *
          * The absolute number of time series that must fail
          * the predicate for the condition to be triggered.
          * 
* * int32 count = 1; + * * @return This builder for chaining. */ public Builder clearCount() { @@ -2292,24 +2577,30 @@ public Builder clearCount() { } /** + * + * *
          * The percentage of time series that must fail the
          * predicate for the condition to be triggered.
          * 
* * double percent = 2; + * * @return Whether the percent field is set. */ public boolean hasPercent() { return typeCase_ == 2; } /** + * + * *
          * The percentage of time series that must fail the
          * predicate for the condition to be triggered.
          * 
* * double percent = 2; + * * @return The percent. */ public double getPercent() { @@ -2319,12 +2610,15 @@ public double getPercent() { return 0D; } /** + * + * *
          * The percentage of time series that must fail the
          * predicate for the condition to be triggered.
          * 
* * double percent = 2; + * * @param value The percent to set. * @return This builder for chaining. */ @@ -2335,12 +2629,15 @@ public Builder setPercent(double value) { return this; } /** + * + * *
          * The percentage of time series that must fail the
          * predicate for the condition to be triggered.
          * 
* * double percent = 2; + * * @return This builder for chaining. */ public Builder clearPercent() { @@ -2351,6 +2648,7 @@ public Builder clearPercent() { } return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2363,12 +2661,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.AlertPolicy.Condition.Trigger) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.AlertPolicy.Condition.Trigger) private static final com.google.monitoring.v3.AlertPolicy.Condition.Trigger DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.AlertPolicy.Condition.Trigger(); } @@ -2377,16 +2675,16 @@ public static com.google.monitoring.v3.AlertPolicy.Condition.Trigger getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Trigger parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Trigger(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Trigger parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Trigger(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2401,14 +2699,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.AlertPolicy.Condition.Trigger getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface MetricThresholdOrBuilder extends + public interface MetricThresholdOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Required. A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
        * identifies which time series should be compared with the threshold.
@@ -2422,10 +2722,13 @@ public interface MetricThresholdOrBuilder extends
        * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
        * Required. A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
        * identifies which time series should be compared with the threshold.
@@ -2439,12 +2742,14 @@ public interface MetricThresholdOrBuilder extends
        * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
        * Specifies the alignment of data points in individual time series as
        * well as how to combine the retrieved time series together (such as
@@ -2460,9 +2765,10 @@ public interface MetricThresholdOrBuilder extends
        *
        * repeated .google.monitoring.v3.Aggregation aggregations = 8;
        */
-      java.util.List 
-          getAggregationsList();
+      java.util.List getAggregationsList();
       /**
+       *
+       *
        * 
        * Specifies the alignment of data points in individual time series as
        * well as how to combine the retrieved time series together (such as
@@ -2480,6 +2786,8 @@ public interface MetricThresholdOrBuilder extends
        */
       com.google.monitoring.v3.Aggregation getAggregations(int index);
       /**
+       *
+       *
        * 
        * Specifies the alignment of data points in individual time series as
        * well as how to combine the retrieved time series together (such as
@@ -2497,6 +2805,8 @@ public interface MetricThresholdOrBuilder extends
        */
       int getAggregationsCount();
       /**
+       *
+       *
        * 
        * Specifies the alignment of data points in individual time series as
        * well as how to combine the retrieved time series together (such as
@@ -2512,9 +2822,11 @@ public interface MetricThresholdOrBuilder extends
        *
        * repeated .google.monitoring.v3.Aggregation aggregations = 8;
        */
-      java.util.List 
+      java.util.List
           getAggregationsOrBuilderList();
       /**
+       *
+       *
        * 
        * Specifies the alignment of data points in individual time series as
        * well as how to combine the retrieved time series together (such as
@@ -2530,10 +2842,11 @@ public interface MetricThresholdOrBuilder extends
        *
        * repeated .google.monitoring.v3.Aggregation aggregations = 8;
        */
-      com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(
-          int index);
+      com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(int index);
 
       /**
+       *
+       *
        * 
        * A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
        * identifies a time series that should be used as the denominator of a
@@ -2546,10 +2859,13 @@ com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(
        * 
* * string denominator_filter = 9; + * * @return The denominatorFilter. */ java.lang.String getDenominatorFilter(); /** + * + * *
        * A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
        * identifies a time series that should be used as the denominator of a
@@ -2562,12 +2878,14 @@ com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(
        * 
* * string denominator_filter = 9; + * * @return The bytes for denominatorFilter. */ - com.google.protobuf.ByteString - getDenominatorFilterBytes(); + com.google.protobuf.ByteString getDenominatorFilterBytes(); /** + * + * *
        * Specifies the alignment of data points in individual time series
        * selected by `denominatorFilter` as
@@ -2582,9 +2900,10 @@ com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(
        *
        * repeated .google.monitoring.v3.Aggregation denominator_aggregations = 10;
        */
-      java.util.List 
-          getDenominatorAggregationsList();
+      java.util.List getDenominatorAggregationsList();
       /**
+       *
+       *
        * 
        * Specifies the alignment of data points in individual time series
        * selected by `denominatorFilter` as
@@ -2601,6 +2920,8 @@ com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(
        */
       com.google.monitoring.v3.Aggregation getDenominatorAggregations(int index);
       /**
+       *
+       *
        * 
        * Specifies the alignment of data points in individual time series
        * selected by `denominatorFilter` as
@@ -2617,6 +2938,8 @@ com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(
        */
       int getDenominatorAggregationsCount();
       /**
+       *
+       *
        * 
        * Specifies the alignment of data points in individual time series
        * selected by `denominatorFilter` as
@@ -2631,9 +2954,11 @@ com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(
        *
        * repeated .google.monitoring.v3.Aggregation denominator_aggregations = 10;
        */
-      java.util.List 
+      java.util.List
           getDenominatorAggregationsOrBuilderList();
       /**
+       *
+       *
        * 
        * Specifies the alignment of data points in individual time series
        * selected by `denominatorFilter` as
@@ -2648,10 +2973,11 @@ com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(
        *
        * repeated .google.monitoring.v3.Aggregation denominator_aggregations = 10;
        */
-      com.google.monitoring.v3.AggregationOrBuilder getDenominatorAggregationsOrBuilder(
-          int index);
+      com.google.monitoring.v3.AggregationOrBuilder getDenominatorAggregationsOrBuilder(int index);
 
       /**
+       *
+       *
        * 
        * The comparison to apply between the time series (indicated by `filter`
        * and `aggregation`) and the threshold (indicated by `threshold_value`).
@@ -2661,10 +2987,13 @@ com.google.monitoring.v3.AggregationOrBuilder getDenominatorAggregationsOrBuilde
        * 
* * .google.monitoring.v3.ComparisonType comparison = 4; + * * @return The enum numeric value on the wire for comparison. */ int getComparisonValue(); /** + * + * *
        * The comparison to apply between the time series (indicated by `filter`
        * and `aggregation`) and the threshold (indicated by `threshold_value`).
@@ -2674,21 +3003,27 @@ com.google.monitoring.v3.AggregationOrBuilder getDenominatorAggregationsOrBuilde
        * 
* * .google.monitoring.v3.ComparisonType comparison = 4; + * * @return The comparison. */ com.google.monitoring.v3.ComparisonType getComparison(); /** + * + * *
        * A value against which to compare the time series.
        * 
* * double threshold_value = 5; + * * @return The thresholdValue. */ double getThresholdValue(); /** + * + * *
        * The amount of time that a time series must violate the
        * threshold to be considered failing. Currently, only values
@@ -2703,10 +3038,13 @@ com.google.monitoring.v3.AggregationOrBuilder getDenominatorAggregationsOrBuilde
        * 
* * .google.protobuf.Duration duration = 6; + * * @return Whether the duration field is set. */ boolean hasDuration(); /** + * + * *
        * The amount of time that a time series must violate the
        * threshold to be considered failing. Currently, only values
@@ -2721,10 +3059,13 @@ com.google.monitoring.v3.AggregationOrBuilder getDenominatorAggregationsOrBuilde
        * 
* * .google.protobuf.Duration duration = 6; + * * @return The duration. */ com.google.protobuf.Duration getDuration(); /** + * + * *
        * The amount of time that a time series must violate the
        * threshold to be considered failing. Currently, only values
@@ -2743,6 +3084,8 @@ com.google.monitoring.v3.AggregationOrBuilder getDenominatorAggregationsOrBuilde
       com.google.protobuf.DurationOrBuilder getDurationOrBuilder();
 
       /**
+       *
+       *
        * 
        * The number/percent of time series for which the comparison must hold
        * in order for the condition to trigger. If unspecified, then the
@@ -2753,10 +3096,13 @@ com.google.monitoring.v3.AggregationOrBuilder getDenominatorAggregationsOrBuilde
        * 
* * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 7; + * * @return Whether the trigger field is set. */ boolean hasTrigger(); /** + * + * *
        * The number/percent of time series for which the comparison must hold
        * in order for the condition to trigger. If unspecified, then the
@@ -2767,10 +3113,13 @@ com.google.monitoring.v3.AggregationOrBuilder getDenominatorAggregationsOrBuilde
        * 
* * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 7; + * * @return The trigger. */ com.google.monitoring.v3.AlertPolicy.Condition.Trigger getTrigger(); /** + * + * *
        * The number/percent of time series for which the comparison must hold
        * in order for the condition to trigger. If unspecified, then the
@@ -2785,6 +3134,8 @@ com.google.monitoring.v3.AggregationOrBuilder getDenominatorAggregationsOrBuilde
       com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder getTriggerOrBuilder();
     }
     /**
+     *
+     *
      * 
      * A condition type that compares a collection of time series
      * against a threshold.
@@ -2792,15 +3143,16 @@ com.google.monitoring.v3.AggregationOrBuilder getDenominatorAggregationsOrBuilde
      *
      * Protobuf type {@code google.monitoring.v3.AlertPolicy.Condition.MetricThreshold}
      */
-    public static final class MetricThreshold extends
-        com.google.protobuf.GeneratedMessageV3 implements
+    public static final class MetricThreshold extends com.google.protobuf.GeneratedMessageV3
+        implements
         // @@protoc_insertion_point(message_implements:google.monitoring.v3.AlertPolicy.Condition.MetricThreshold)
         MetricThresholdOrBuilder {
-    private static final long serialVersionUID = 0L;
+      private static final long serialVersionUID = 0L;
       // Use MetricThreshold.newBuilder() to construct.
       private MetricThreshold(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
+
       private MetricThreshold() {
         filter_ = "";
         aggregations_ = java.util.Collections.emptyList();
@@ -2811,16 +3163,15 @@ private MetricThreshold() {
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(
-          UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
         return new MetricThreshold();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet
-      getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
         return this.unknownFields;
       }
+
       private MetricThreshold(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -2840,114 +3191,134 @@ private MetricThreshold(
               case 0:
                 done = true;
                 break;
-              case 18: {
-                java.lang.String s = input.readStringRequireUtf8();
-
-                filter_ = s;
-                break;
-              }
-              case 32: {
-                int rawValue = input.readEnum();
+              case 18:
+                {
+                  java.lang.String s = input.readStringRequireUtf8();
 
-                comparison_ = rawValue;
-                break;
-              }
-              case 41: {
+                  filter_ = s;
+                  break;
+                }
+              case 32:
+                {
+                  int rawValue = input.readEnum();
 
-                thresholdValue_ = input.readDouble();
-                break;
-              }
-              case 50: {
-                com.google.protobuf.Duration.Builder subBuilder = null;
-                if (duration_ != null) {
-                  subBuilder = duration_.toBuilder();
+                  comparison_ = rawValue;
+                  break;
                 }
-                duration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(duration_);
-                  duration_ = subBuilder.buildPartial();
+              case 41:
+                {
+                  thresholdValue_ = input.readDouble();
+                  break;
                 }
-
-                break;
-              }
-              case 58: {
-                com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder subBuilder = null;
-                if (trigger_ != null) {
-                  subBuilder = trigger_.toBuilder();
+              case 50:
+                {
+                  com.google.protobuf.Duration.Builder subBuilder = null;
+                  if (duration_ != null) {
+                    subBuilder = duration_.toBuilder();
+                  }
+                  duration_ =
+                      input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+                  if (subBuilder != null) {
+                    subBuilder.mergeFrom(duration_);
+                    duration_ = subBuilder.buildPartial();
+                  }
+
+                  break;
                 }
-                trigger_ = input.readMessage(com.google.monitoring.v3.AlertPolicy.Condition.Trigger.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(trigger_);
-                  trigger_ = subBuilder.buildPartial();
+              case 58:
+                {
+                  com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder subBuilder = null;
+                  if (trigger_ != null) {
+                    subBuilder = trigger_.toBuilder();
+                  }
+                  trigger_ =
+                      input.readMessage(
+                          com.google.monitoring.v3.AlertPolicy.Condition.Trigger.parser(),
+                          extensionRegistry);
+                  if (subBuilder != null) {
+                    subBuilder.mergeFrom(trigger_);
+                    trigger_ = subBuilder.buildPartial();
+                  }
+
+                  break;
                 }
-
-                break;
-              }
-              case 66: {
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  aggregations_ = new java.util.ArrayList();
-                  mutable_bitField0_ |= 0x00000001;
+              case 66:
+                {
+                  if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                    aggregations_ = new java.util.ArrayList();
+                    mutable_bitField0_ |= 0x00000001;
+                  }
+                  aggregations_.add(
+                      input.readMessage(
+                          com.google.monitoring.v3.Aggregation.parser(), extensionRegistry));
+                  break;
                 }
-                aggregations_.add(
-                    input.readMessage(com.google.monitoring.v3.Aggregation.parser(), extensionRegistry));
-                break;
-              }
-              case 74: {
-                java.lang.String s = input.readStringRequireUtf8();
+              case 74:
+                {
+                  java.lang.String s = input.readStringRequireUtf8();
 
-                denominatorFilter_ = s;
-                break;
-              }
-              case 82: {
-                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                  denominatorAggregations_ = new java.util.ArrayList();
-                  mutable_bitField0_ |= 0x00000002;
+                  denominatorFilter_ = s;
+                  break;
                 }
-                denominatorAggregations_.add(
-                    input.readMessage(com.google.monitoring.v3.Aggregation.parser(), extensionRegistry));
-                break;
-              }
-              default: {
-                if (!parseUnknownField(
-                    input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
+              case 82:
+                {
+                  if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                    denominatorAggregations_ =
+                        new java.util.ArrayList();
+                    mutable_bitField0_ |= 0x00000002;
+                  }
+                  denominatorAggregations_.add(
+                      input.readMessage(
+                          com.google.monitoring.v3.Aggregation.parser(), extensionRegistry));
+                  break;
+                }
+              default:
+                {
+                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                    done = true;
+                  }
+                  break;
                 }
-                break;
-              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
           throw e.setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(
-              e).setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(this);
         } finally {
           if (((mutable_bitField0_ & 0x00000001) != 0)) {
             aggregations_ = java.util.Collections.unmodifiableList(aggregations_);
           }
           if (((mutable_bitField0_ & 0x00000002) != 0)) {
-            denominatorAggregations_ = java.util.Collections.unmodifiableList(denominatorAggregations_);
+            denominatorAggregations_ =
+                java.util.Collections.unmodifiableList(denominatorAggregations_);
           }
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricThreshold_descriptor;
+
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.monitoring.v3.AlertProto
+            .internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricThreshold_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricThreshold_fieldAccessorTable
+        return com.google.monitoring.v3.AlertProto
+            .internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricThreshold_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.class, com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.Builder.class);
+                com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.class,
+                com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.Builder.class);
       }
 
       public static final int FILTER_FIELD_NUMBER = 2;
       private volatile java.lang.Object filter_;
       /**
+       *
+       *
        * 
        * Required. A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
        * identifies which time series should be compared with the threshold.
@@ -2961,6 +3332,7 @@ private MetricThreshold(
        * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ @java.lang.Override @@ -2969,14 +3341,15 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
        * Required. A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
        * identifies which time series should be compared with the threshold.
@@ -2990,16 +3363,15 @@ public java.lang.String getFilter() {
        * 
* * string filter = 2 [(.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 { @@ -3010,6 +3382,8 @@ public java.lang.String getFilter() { public static final int AGGREGATIONS_FIELD_NUMBER = 8; private java.util.List aggregations_; /** + * + * *
        * Specifies the alignment of data points in individual time series as
        * well as how to combine the retrieved time series together (such as
@@ -3030,6 +3404,8 @@ public java.util.List getAggregationsList(
         return aggregations_;
       }
       /**
+       *
+       *
        * 
        * Specifies the alignment of data points in individual time series as
        * well as how to combine the retrieved time series together (such as
@@ -3046,11 +3422,13 @@ public java.util.List getAggregationsList(
        * repeated .google.monitoring.v3.Aggregation aggregations = 8;
        */
       @java.lang.Override
-      public java.util.List 
+      public java.util.List
           getAggregationsOrBuilderList() {
         return aggregations_;
       }
       /**
+       *
+       *
        * 
        * Specifies the alignment of data points in individual time series as
        * well as how to combine the retrieved time series together (such as
@@ -3071,6 +3449,8 @@ public int getAggregationsCount() {
         return aggregations_.size();
       }
       /**
+       *
+       *
        * 
        * Specifies the alignment of data points in individual time series as
        * well as how to combine the retrieved time series together (such as
@@ -3091,6 +3471,8 @@ public com.google.monitoring.v3.Aggregation getAggregations(int index) {
         return aggregations_.get(index);
       }
       /**
+       *
+       *
        * 
        * Specifies the alignment of data points in individual time series as
        * well as how to combine the retrieved time series together (such as
@@ -3107,14 +3489,15 @@ public com.google.monitoring.v3.Aggregation getAggregations(int index) {
        * repeated .google.monitoring.v3.Aggregation aggregations = 8;
        */
       @java.lang.Override
-      public com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(
-          int index) {
+      public com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(int index) {
         return aggregations_.get(index);
       }
 
       public static final int DENOMINATOR_FILTER_FIELD_NUMBER = 9;
       private volatile java.lang.Object denominatorFilter_;
       /**
+       *
+       *
        * 
        * A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
        * identifies a time series that should be used as the denominator of a
@@ -3127,6 +3510,7 @@ public com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(
        * 
* * string denominator_filter = 9; + * * @return The denominatorFilter. */ @java.lang.Override @@ -3135,14 +3519,15 @@ public java.lang.String getDenominatorFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); denominatorFilter_ = s; return s; } } /** + * + * *
        * A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
        * identifies a time series that should be used as the denominator of a
@@ -3155,16 +3540,15 @@ public java.lang.String getDenominatorFilter() {
        * 
* * string denominator_filter = 9; + * * @return The bytes for denominatorFilter. */ @java.lang.Override - public com.google.protobuf.ByteString - getDenominatorFilterBytes() { + public com.google.protobuf.ByteString getDenominatorFilterBytes() { java.lang.Object ref = denominatorFilter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); denominatorFilter_ = b; return b; } else { @@ -3175,6 +3559,8 @@ public java.lang.String getDenominatorFilter() { public static final int DENOMINATOR_AGGREGATIONS_FIELD_NUMBER = 10; private java.util.List denominatorAggregations_; /** + * + * *
        * Specifies the alignment of data points in individual time series
        * selected by `denominatorFilter` as
@@ -3194,6 +3580,8 @@ public java.util.List getDenominatorAggreg
         return denominatorAggregations_;
       }
       /**
+       *
+       *
        * 
        * Specifies the alignment of data points in individual time series
        * selected by `denominatorFilter` as
@@ -3209,11 +3597,13 @@ public java.util.List getDenominatorAggreg
        * repeated .google.monitoring.v3.Aggregation denominator_aggregations = 10;
        */
       @java.lang.Override
-      public java.util.List 
+      public java.util.List
           getDenominatorAggregationsOrBuilderList() {
         return denominatorAggregations_;
       }
       /**
+       *
+       *
        * 
        * Specifies the alignment of data points in individual time series
        * selected by `denominatorFilter` as
@@ -3233,6 +3623,8 @@ public int getDenominatorAggregationsCount() {
         return denominatorAggregations_.size();
       }
       /**
+       *
+       *
        * 
        * Specifies the alignment of data points in individual time series
        * selected by `denominatorFilter` as
@@ -3252,6 +3644,8 @@ public com.google.monitoring.v3.Aggregation getDenominatorAggregations(int index
         return denominatorAggregations_.get(index);
       }
       /**
+       *
+       *
        * 
        * Specifies the alignment of data points in individual time series
        * selected by `denominatorFilter` as
@@ -3275,6 +3669,8 @@ public com.google.monitoring.v3.AggregationOrBuilder getDenominatorAggregationsO
       public static final int COMPARISON_FIELD_NUMBER = 4;
       private int comparison_;
       /**
+       *
+       *
        * 
        * The comparison to apply between the time series (indicated by `filter`
        * and `aggregation`) and the threshold (indicated by `threshold_value`).
@@ -3284,12 +3680,16 @@ public com.google.monitoring.v3.AggregationOrBuilder getDenominatorAggregationsO
        * 
* * .google.monitoring.v3.ComparisonType comparison = 4; + * * @return The enum numeric value on the wire for comparison. */ - @java.lang.Override public int getComparisonValue() { + @java.lang.Override + public int getComparisonValue() { return comparison_; } /** + * + * *
        * The comparison to apply between the time series (indicated by `filter`
        * and `aggregation`) and the threshold (indicated by `threshold_value`).
@@ -3299,22 +3699,28 @@ public com.google.monitoring.v3.AggregationOrBuilder getDenominatorAggregationsO
        * 
* * .google.monitoring.v3.ComparisonType comparison = 4; + * * @return The comparison. */ - @java.lang.Override public com.google.monitoring.v3.ComparisonType getComparison() { + @java.lang.Override + public com.google.monitoring.v3.ComparisonType getComparison() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.ComparisonType result = com.google.monitoring.v3.ComparisonType.valueOf(comparison_); + com.google.monitoring.v3.ComparisonType result = + com.google.monitoring.v3.ComparisonType.valueOf(comparison_); return result == null ? com.google.monitoring.v3.ComparisonType.UNRECOGNIZED : result; } public static final int THRESHOLD_VALUE_FIELD_NUMBER = 5; private double thresholdValue_; /** + * + * *
        * A value against which to compare the time series.
        * 
* * double threshold_value = 5; + * * @return The thresholdValue. */ @java.lang.Override @@ -3325,6 +3731,8 @@ public double getThresholdValue() { public static final int DURATION_FIELD_NUMBER = 6; private com.google.protobuf.Duration duration_; /** + * + * *
        * The amount of time that a time series must violate the
        * threshold to be considered failing. Currently, only values
@@ -3339,6 +3747,7 @@ public double getThresholdValue() {
        * 
* * .google.protobuf.Duration duration = 6; + * * @return Whether the duration field is set. */ @java.lang.Override @@ -3346,6 +3755,8 @@ public boolean hasDuration() { return duration_ != null; } /** + * + * *
        * The amount of time that a time series must violate the
        * threshold to be considered failing. Currently, only values
@@ -3360,6 +3771,7 @@ public boolean hasDuration() {
        * 
* * .google.protobuf.Duration duration = 6; + * * @return The duration. */ @java.lang.Override @@ -3367,6 +3779,8 @@ public com.google.protobuf.Duration getDuration() { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } /** + * + * *
        * The amount of time that a time series must violate the
        * threshold to be considered failing. Currently, only values
@@ -3390,6 +3804,8 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
       public static final int TRIGGER_FIELD_NUMBER = 7;
       private com.google.monitoring.v3.AlertPolicy.Condition.Trigger trigger_;
       /**
+       *
+       *
        * 
        * The number/percent of time series for which the comparison must hold
        * in order for the condition to trigger. If unspecified, then the
@@ -3400,6 +3816,7 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
        * 
* * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 7; + * * @return Whether the trigger field is set. */ @java.lang.Override @@ -3407,6 +3824,8 @@ public boolean hasTrigger() { return trigger_ != null; } /** + * + * *
        * The number/percent of time series for which the comparison must hold
        * in order for the condition to trigger. If unspecified, then the
@@ -3417,13 +3836,18 @@ public boolean hasTrigger() {
        * 
* * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 7; + * * @return The trigger. */ @java.lang.Override public com.google.monitoring.v3.AlertPolicy.Condition.Trigger getTrigger() { - return trigger_ == null ? com.google.monitoring.v3.AlertPolicy.Condition.Trigger.getDefaultInstance() : trigger_; + return trigger_ == null + ? com.google.monitoring.v3.AlertPolicy.Condition.Trigger.getDefaultInstance() + : trigger_; } /** + * + * *
        * The number/percent of time series for which the comparison must hold
        * in order for the condition to trigger. If unspecified, then the
@@ -3441,6 +3865,7 @@ public com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder getTrigge
       }
 
       private byte memoizedIsInitialized = -1;
+
       @java.lang.Override
       public final boolean isInitialized() {
         byte isInitialized = memoizedIsInitialized;
@@ -3452,12 +3877,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(filter_)) {
           com.google.protobuf.GeneratedMessageV3.writeString(output, 2, filter_);
         }
-        if (comparison_ != com.google.monitoring.v3.ComparisonType.COMPARISON_UNSPECIFIED.getNumber()) {
+        if (comparison_
+            != com.google.monitoring.v3.ComparisonType.COMPARISON_UNSPECIFIED.getNumber()) {
           output.writeEnum(4, comparison_);
         }
         if (thresholdValue_ != 0D) {
@@ -3490,32 +3915,29 @@ public int getSerializedSize() {
         if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) {
           size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_);
         }
-        if (comparison_ != com.google.monitoring.v3.ComparisonType.COMPARISON_UNSPECIFIED.getNumber()) {
-          size += com.google.protobuf.CodedOutputStream
-            .computeEnumSize(4, comparison_);
+        if (comparison_
+            != com.google.monitoring.v3.ComparisonType.COMPARISON_UNSPECIFIED.getNumber()) {
+          size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, comparison_);
         }
         if (thresholdValue_ != 0D) {
-          size += com.google.protobuf.CodedOutputStream
-            .computeDoubleSize(5, thresholdValue_);
+          size += com.google.protobuf.CodedOutputStream.computeDoubleSize(5, thresholdValue_);
         }
         if (duration_ != null) {
-          size += com.google.protobuf.CodedOutputStream
-            .computeMessageSize(6, getDuration());
+          size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getDuration());
         }
         if (trigger_ != null) {
-          size += com.google.protobuf.CodedOutputStream
-            .computeMessageSize(7, getTrigger());
+          size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getTrigger());
         }
         for (int i = 0; i < aggregations_.size(); i++) {
-          size += com.google.protobuf.CodedOutputStream
-            .computeMessageSize(8, aggregations_.get(i));
+          size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, aggregations_.get(i));
         }
         if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(denominatorFilter_)) {
           size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, denominatorFilter_);
         }
         for (int i = 0; i < denominatorAggregations_.size(); i++) {
-          size += com.google.protobuf.CodedOutputStream
-            .computeMessageSize(10, denominatorAggregations_.get(i));
+          size +=
+              com.google.protobuf.CodedOutputStream.computeMessageSize(
+                  10, denominatorAggregations_.get(i));
         }
         size += unknownFields.getSerializedSize();
         memoizedSize = size;
@@ -3525,34 +3947,29 @@ public int getSerializedSize() {
       @java.lang.Override
       public boolean equals(final java.lang.Object obj) {
         if (obj == this) {
-         return true;
+          return true;
         }
         if (!(obj instanceof com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold)) {
           return super.equals(obj);
         }
-        com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold other = (com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) obj;
+        com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold other =
+            (com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) obj;
 
-        if (!getFilter()
-            .equals(other.getFilter())) return false;
-        if (!getAggregationsList()
-            .equals(other.getAggregationsList())) return false;
-        if (!getDenominatorFilter()
-            .equals(other.getDenominatorFilter())) return false;
-        if (!getDenominatorAggregationsList()
-            .equals(other.getDenominatorAggregationsList())) return false;
+        if (!getFilter().equals(other.getFilter())) return false;
+        if (!getAggregationsList().equals(other.getAggregationsList())) return false;
+        if (!getDenominatorFilter().equals(other.getDenominatorFilter())) return false;
+        if (!getDenominatorAggregationsList().equals(other.getDenominatorAggregationsList()))
+          return false;
         if (comparison_ != other.comparison_) return false;
         if (java.lang.Double.doubleToLongBits(getThresholdValue())
-            != java.lang.Double.doubleToLongBits(
-                other.getThresholdValue())) return false;
+            != java.lang.Double.doubleToLongBits(other.getThresholdValue())) return false;
         if (hasDuration() != other.hasDuration()) return false;
         if (hasDuration()) {
-          if (!getDuration()
-              .equals(other.getDuration())) return false;
+          if (!getDuration().equals(other.getDuration())) return false;
         }
         if (hasTrigger() != other.hasTrigger()) return false;
         if (hasTrigger()) {
-          if (!getTrigger()
-              .equals(other.getTrigger())) return false;
+          if (!getTrigger().equals(other.getTrigger())) return false;
         }
         if (!unknownFields.equals(other.unknownFields)) return false;
         return true;
@@ -3580,8 +3997,10 @@ public int hashCode() {
         hash = (37 * hash) + COMPARISON_FIELD_NUMBER;
         hash = (53 * hash) + comparison_;
         hash = (37 * hash) + THRESHOLD_VALUE_FIELD_NUMBER;
-        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
-            java.lang.Double.doubleToLongBits(getThresholdValue()));
+        hash =
+            (53 * hash)
+                + com.google.protobuf.Internal.hashLong(
+                    java.lang.Double.doubleToLongBits(getThresholdValue()));
         if (hasDuration()) {
           hash = (37 * hash) + DURATION_FIELD_NUMBER;
           hash = (53 * hash) + getDuration().hashCode();
@@ -3596,87 +4015,96 @@ public int hashCode() {
       }
 
       public static com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold parseFrom(
-          java.nio.ByteBuffer data)
-          throws com.google.protobuf.InvalidProtocolBufferException {
+          java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
+
       public static com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold parseFrom(
-          java.nio.ByteBuffer data,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
+
       public static com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold parseFrom(
           com.google.protobuf.ByteString data)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
+
       public static com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold parseFrom(
           com.google.protobuf.ByteString data,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold parseFrom(byte[] data)
-          throws com.google.protobuf.InvalidProtocolBufferException {
+
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold parseFrom(
+          byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
+
       public static com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold parseFrom(
-          byte[] data,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold parseFrom(java.io.InputStream input)
-          throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseWithIOException(PARSER, input);
+
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold parseFrom(
+          java.io.InputStream input) throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
       }
+
       public static com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold parseFrom(
-          java.io.InputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseWithIOException(PARSER, input, extensionRegistry);
+        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+            PARSER, input, extensionRegistry);
       }
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold parseDelimitedFrom(java.io.InputStream input)
-          throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseDelimitedWithIOException(PARSER, input);
+
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold
+          parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
       }
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold parseDelimitedFrom(
-          java.io.InputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold
+          parseDelimitedFrom(
+              java.io.InputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+            PARSER, input, extensionRegistry);
       }
+
       public static com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold parseFrom(
-          com.google.protobuf.CodedInputStream input)
-          throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseWithIOException(PARSER, input);
+          com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
       }
+
       public static com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold parseFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseWithIOException(PARSER, input, extensionRegistry);
+        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+            PARSER, input, extensionRegistry);
       }
 
       @java.lang.Override
-      public Builder newBuilderForType() { return newBuilder(); }
+      public Builder newBuilderForType() {
+        return newBuilder();
+      }
+
       public static Builder newBuilder() {
         return DEFAULT_INSTANCE.toBuilder();
       }
-      public static Builder newBuilder(com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold prototype) {
+
+      public static Builder newBuilder(
+          com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold prototype) {
         return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
       }
+
       @java.lang.Override
       public Builder toBuilder() {
-        return this == DEFAULT_INSTANCE
-            ? new Builder() : new Builder().mergeFrom(this);
+        return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
       }
 
       @java.lang.Override
@@ -3686,6 +4114,8 @@ protected Builder newBuilderForType(
         return builder;
       }
       /**
+       *
+       *
        * 
        * A condition type that compares a collection of time series
        * against a threshold.
@@ -3693,40 +4123,44 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.monitoring.v3.AlertPolicy.Condition.MetricThreshold}
        */
-      public static final class Builder extends
-          com.google.protobuf.GeneratedMessageV3.Builder implements
+      public static final class Builder
+          extends com.google.protobuf.GeneratedMessageV3.Builder
+          implements
           // @@protoc_insertion_point(builder_implements:google.monitoring.v3.AlertPolicy.Condition.MetricThreshold)
           com.google.monitoring.v3.AlertPolicy.Condition.MetricThresholdOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor
-            getDescriptor() {
-          return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricThreshold_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+          return com.google.monitoring.v3.AlertProto
+              .internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricThreshold_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricThreshold_fieldAccessorTable
+          return com.google.monitoring.v3.AlertProto
+              .internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricThreshold_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.class, com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.Builder.class);
+                  com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.class,
+                  com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.Builder.class);
         }
 
-        // Construct using com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.newBuilder()
+        // Construct using
+        // com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
 
-        private Builder(
-            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
+
         private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3
-                  .alwaysUseFieldBuilders) {
+          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
             getAggregationsFieldBuilder();
             getDenominatorAggregationsFieldBuilder();
           }
         }
+
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -3766,14 +4200,16 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor
-            getDescriptorForType() {
-          return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricThreshold_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+          return com.google.monitoring.v3.AlertProto
+              .internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricThreshold_descriptor;
         }
 
         @java.lang.Override
-        public com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold getDefaultInstanceForType() {
-          return com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.getDefaultInstance();
+        public com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold
+            getDefaultInstanceForType() {
+          return com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold
+              .getDefaultInstance();
         }
 
         @java.lang.Override
@@ -3787,7 +4223,8 @@ public com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold build() {
 
         @java.lang.Override
         public com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold buildPartial() {
-          com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold result = new com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold(this);
+          com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold result =
+              new com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold(this);
           int from_bitField0_ = bitField0_;
           result.filter_ = filter_;
           if (aggregationsBuilder_ == null) {
@@ -3802,7 +4239,8 @@ public com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold buildParti
           result.denominatorFilter_ = denominatorFilter_;
           if (denominatorAggregationsBuilder_ == null) {
             if (((bitField0_ & 0x00000002) != 0)) {
-              denominatorAggregations_ = java.util.Collections.unmodifiableList(denominatorAggregations_);
+              denominatorAggregations_ =
+                  java.util.Collections.unmodifiableList(denominatorAggregations_);
               bitField0_ = (bitField0_ & ~0x00000002);
             }
             result.denominatorAggregations_ = denominatorAggregations_;
@@ -3829,46 +4267,53 @@ public com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold buildParti
         public Builder clone() {
           return super.clone();
         }
+
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field,
-            java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
           return super.setField(field, value);
         }
+
         @java.lang.Override
-        public Builder clearField(
-            com.google.protobuf.Descriptors.FieldDescriptor field) {
+        public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
+
         @java.lang.Override
-        public Builder clearOneof(
-            com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+        public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
           return super.clearOneof(oneof);
         }
+
         @java.lang.Override
         public Builder setRepeatedField(
             com.google.protobuf.Descriptors.FieldDescriptor field,
-            int index, java.lang.Object value) {
+            int index,
+            java.lang.Object value) {
           return super.setRepeatedField(field, index, value);
         }
+
         @java.lang.Override
         public Builder addRepeatedField(
-            com.google.protobuf.Descriptors.FieldDescriptor field,
-            java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
           return super.addRepeatedField(field, value);
         }
+
         @java.lang.Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
           if (other instanceof com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) {
-            return mergeFrom((com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold)other);
+            return mergeFrom(
+                (com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold other) {
-          if (other == com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.getDefaultInstance()) return this;
+        public Builder mergeFrom(
+            com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold other) {
+          if (other
+              == com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold
+                  .getDefaultInstance()) return this;
           if (!other.getFilter().isEmpty()) {
             filter_ = other.filter_;
             onChanged();
@@ -3891,9 +4336,10 @@ public Builder mergeFrom(com.google.monitoring.v3.AlertPolicy.Condition.MetricTh
                 aggregationsBuilder_ = null;
                 aggregations_ = other.aggregations_;
                 bitField0_ = (bitField0_ & ~0x00000001);
-                aggregationsBuilder_ = 
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                     getAggregationsFieldBuilder() : null;
+                aggregationsBuilder_ =
+                    com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                        ? getAggregationsFieldBuilder()
+                        : null;
               } else {
                 aggregationsBuilder_.addAllMessages(other.aggregations_);
               }
@@ -3921,9 +4367,10 @@ public Builder mergeFrom(com.google.monitoring.v3.AlertPolicy.Condition.MetricTh
                 denominatorAggregationsBuilder_ = null;
                 denominatorAggregations_ = other.denominatorAggregations_;
                 bitField0_ = (bitField0_ & ~0x00000002);
-                denominatorAggregationsBuilder_ = 
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                     getDenominatorAggregationsFieldBuilder() : null;
+                denominatorAggregationsBuilder_ =
+                    com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                        ? getDenominatorAggregationsFieldBuilder()
+                        : null;
               } else {
                 denominatorAggregationsBuilder_.addAllMessages(other.denominatorAggregations_);
               }
@@ -3960,7 +4407,9 @@ public Builder mergeFrom(
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            parsedMessage = (com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) e.getUnfinishedMessage();
+            parsedMessage =
+                (com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold)
+                    e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
@@ -3969,10 +4418,13 @@ public Builder mergeFrom(
           }
           return this;
         }
+
         private int bitField0_;
 
         private java.lang.Object filter_ = "";
         /**
+         *
+         *
          * 
          * Required. A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
          * identifies which time series should be compared with the threshold.
@@ -3986,13 +4438,13 @@ public Builder mergeFrom(
          * 
* * string filter = 2 [(.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; @@ -4001,6 +4453,8 @@ public java.lang.String getFilter() { } } /** + * + * *
          * Required. A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
          * identifies which time series should be compared with the threshold.
@@ -4014,15 +4468,14 @@ public java.lang.String getFilter() {
          * 
* * string filter = 2 [(.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 { @@ -4030,6 +4483,8 @@ public java.lang.String getFilter() { } } /** + * + * *
          * Required. A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
          * identifies which time series should be compared with the threshold.
@@ -4043,20 +4498,22 @@ public java.lang.String getFilter() {
          * 
* * string filter = 2 [(.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. A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
          * identifies which time series should be compared with the threshold.
@@ -4070,15 +4527,18 @@ public Builder setFilter(
          * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
          * Required. A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
          * identifies which time series should be compared with the threshold.
@@ -4092,34 +4552,41 @@ public Builder clearFilter() {
          * 
* * string filter = 2 [(.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; } private java.util.List aggregations_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAggregationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - aggregations_ = new java.util.ArrayList(aggregations_); + aggregations_ = + new java.util.ArrayList(aggregations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.Aggregation, com.google.monitoring.v3.Aggregation.Builder, com.google.monitoring.v3.AggregationOrBuilder> aggregationsBuilder_; + com.google.monitoring.v3.Aggregation, + com.google.monitoring.v3.Aggregation.Builder, + com.google.monitoring.v3.AggregationOrBuilder> + aggregationsBuilder_; /** + * + * *
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -4143,6 +4610,8 @@ public java.util.List getAggregationsList(
           }
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -4166,6 +4635,8 @@ public int getAggregationsCount() {
           }
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -4189,6 +4660,8 @@ public com.google.monitoring.v3.Aggregation getAggregations(int index) {
           }
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -4204,8 +4677,7 @@ public com.google.monitoring.v3.Aggregation getAggregations(int index) {
          *
          * repeated .google.monitoring.v3.Aggregation aggregations = 8;
          */
-        public Builder setAggregations(
-            int index, com.google.monitoring.v3.Aggregation value) {
+        public Builder setAggregations(int index, com.google.monitoring.v3.Aggregation value) {
           if (aggregationsBuilder_ == null) {
             if (value == null) {
               throw new NullPointerException();
@@ -4219,6 +4691,8 @@ public Builder setAggregations(
           return this;
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -4246,6 +4720,8 @@ public Builder setAggregations(
           return this;
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -4275,6 +4751,8 @@ public Builder addAggregations(com.google.monitoring.v3.Aggregation value) {
           return this;
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -4290,8 +4768,7 @@ public Builder addAggregations(com.google.monitoring.v3.Aggregation value) {
          *
          * repeated .google.monitoring.v3.Aggregation aggregations = 8;
          */
-        public Builder addAggregations(
-            int index, com.google.monitoring.v3.Aggregation value) {
+        public Builder addAggregations(int index, com.google.monitoring.v3.Aggregation value) {
           if (aggregationsBuilder_ == null) {
             if (value == null) {
               throw new NullPointerException();
@@ -4305,6 +4782,8 @@ public Builder addAggregations(
           return this;
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -4332,6 +4811,8 @@ public Builder addAggregations(
           return this;
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -4359,6 +4840,8 @@ public Builder addAggregations(
           return this;
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -4378,8 +4861,7 @@ public Builder addAllAggregations(
             java.lang.Iterable values) {
           if (aggregationsBuilder_ == null) {
             ensureAggregationsIsMutable();
-            com.google.protobuf.AbstractMessageLite.Builder.addAll(
-                values, aggregations_);
+            com.google.protobuf.AbstractMessageLite.Builder.addAll(values, aggregations_);
             onChanged();
           } else {
             aggregationsBuilder_.addAllMessages(values);
@@ -4387,6 +4869,8 @@ public Builder addAllAggregations(
           return this;
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -4413,6 +4897,8 @@ public Builder clearAggregations() {
           return this;
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -4439,6 +4925,8 @@ public Builder removeAggregations(int index) {
           return this;
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -4454,11 +4942,12 @@ public Builder removeAggregations(int index) {
          *
          * repeated .google.monitoring.v3.Aggregation aggregations = 8;
          */
-        public com.google.monitoring.v3.Aggregation.Builder getAggregationsBuilder(
-            int index) {
+        public com.google.monitoring.v3.Aggregation.Builder getAggregationsBuilder(int index) {
           return getAggregationsFieldBuilder().getBuilder(index);
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -4474,14 +4963,16 @@ public com.google.monitoring.v3.Aggregation.Builder getAggregationsBuilder(
          *
          * repeated .google.monitoring.v3.Aggregation aggregations = 8;
          */
-        public com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(
-            int index) {
+        public com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(int index) {
           if (aggregationsBuilder_ == null) {
-            return aggregations_.get(index);  } else {
+            return aggregations_.get(index);
+          } else {
             return aggregationsBuilder_.getMessageOrBuilder(index);
           }
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -4497,8 +4988,8 @@ public com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(
          *
          * repeated .google.monitoring.v3.Aggregation aggregations = 8;
          */
-        public java.util.List 
-             getAggregationsOrBuilderList() {
+        public java.util.List
+            getAggregationsOrBuilderList() {
           if (aggregationsBuilder_ != null) {
             return aggregationsBuilder_.getMessageOrBuilderList();
           } else {
@@ -4506,6 +4997,8 @@ public com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(
           }
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -4522,10 +5015,12 @@ public com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(
          * repeated .google.monitoring.v3.Aggregation aggregations = 8;
          */
         public com.google.monitoring.v3.Aggregation.Builder addAggregationsBuilder() {
-          return getAggregationsFieldBuilder().addBuilder(
-              com.google.monitoring.v3.Aggregation.getDefaultInstance());
+          return getAggregationsFieldBuilder()
+              .addBuilder(com.google.monitoring.v3.Aggregation.getDefaultInstance());
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -4541,12 +5036,13 @@ public com.google.monitoring.v3.Aggregation.Builder addAggregationsBuilder() {
          *
          * repeated .google.monitoring.v3.Aggregation aggregations = 8;
          */
-        public com.google.monitoring.v3.Aggregation.Builder addAggregationsBuilder(
-            int index) {
-          return getAggregationsFieldBuilder().addBuilder(
-              index, com.google.monitoring.v3.Aggregation.getDefaultInstance());
+        public com.google.monitoring.v3.Aggregation.Builder addAggregationsBuilder(int index) {
+          return getAggregationsFieldBuilder()
+              .addBuilder(index, com.google.monitoring.v3.Aggregation.getDefaultInstance());
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -4562,16 +5058,22 @@ public com.google.monitoring.v3.Aggregation.Builder addAggregationsBuilder(
          *
          * repeated .google.monitoring.v3.Aggregation aggregations = 8;
          */
-        public java.util.List 
-             getAggregationsBuilderList() {
+        public java.util.List
+            getAggregationsBuilderList() {
           return getAggregationsFieldBuilder().getBuilderList();
         }
+
         private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.monitoring.v3.Aggregation, com.google.monitoring.v3.Aggregation.Builder, com.google.monitoring.v3.AggregationOrBuilder> 
+                com.google.monitoring.v3.Aggregation,
+                com.google.monitoring.v3.Aggregation.Builder,
+                com.google.monitoring.v3.AggregationOrBuilder>
             getAggregationsFieldBuilder() {
           if (aggregationsBuilder_ == null) {
-            aggregationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.monitoring.v3.Aggregation, com.google.monitoring.v3.Aggregation.Builder, com.google.monitoring.v3.AggregationOrBuilder>(
+            aggregationsBuilder_ =
+                new com.google.protobuf.RepeatedFieldBuilderV3<
+                    com.google.monitoring.v3.Aggregation,
+                    com.google.monitoring.v3.Aggregation.Builder,
+                    com.google.monitoring.v3.AggregationOrBuilder>(
                     aggregations_,
                     ((bitField0_ & 0x00000001) != 0),
                     getParentForChildren(),
@@ -4583,6 +5085,8 @@ public com.google.monitoring.v3.Aggregation.Builder addAggregationsBuilder(
 
         private java.lang.Object denominatorFilter_ = "";
         /**
+         *
+         *
          * 
          * A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
          * identifies a time series that should be used as the denominator of a
@@ -4595,13 +5099,13 @@ public com.google.monitoring.v3.Aggregation.Builder addAggregationsBuilder(
          * 
* * string denominator_filter = 9; + * * @return The denominatorFilter. */ public java.lang.String getDenominatorFilter() { java.lang.Object ref = denominatorFilter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); denominatorFilter_ = s; return s; @@ -4610,6 +5114,8 @@ public java.lang.String getDenominatorFilter() { } } /** + * + * *
          * A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
          * identifies a time series that should be used as the denominator of a
@@ -4622,15 +5128,14 @@ public java.lang.String getDenominatorFilter() {
          * 
* * string denominator_filter = 9; + * * @return The bytes for denominatorFilter. */ - public com.google.protobuf.ByteString - getDenominatorFilterBytes() { + public com.google.protobuf.ByteString getDenominatorFilterBytes() { java.lang.Object ref = denominatorFilter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); denominatorFilter_ = b; return b; } else { @@ -4638,6 +5143,8 @@ public java.lang.String getDenominatorFilter() { } } /** + * + * *
          * A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
          * identifies a time series that should be used as the denominator of a
@@ -4650,20 +5157,22 @@ public java.lang.String getDenominatorFilter() {
          * 
* * string denominator_filter = 9; + * * @param value The denominatorFilter to set. * @return This builder for chaining. */ - public Builder setDenominatorFilter( - java.lang.String value) { + public Builder setDenominatorFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + denominatorFilter_ = value; onChanged(); return this; } /** + * + * *
          * A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
          * identifies a time series that should be used as the denominator of a
@@ -4676,15 +5185,18 @@ public Builder setDenominatorFilter(
          * 
* * string denominator_filter = 9; + * * @return This builder for chaining. */ public Builder clearDenominatorFilter() { - + denominatorFilter_ = getDefaultInstance().getDenominatorFilter(); onChanged(); return this; } /** + * + * *
          * A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
          * identifies a time series that should be used as the denominator of a
@@ -4697,34 +5209,42 @@ public Builder clearDenominatorFilter() {
          * 
* * string denominator_filter = 9; + * * @param value The bytes for denominatorFilter to set. * @return This builder for chaining. */ - public Builder setDenominatorFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setDenominatorFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + denominatorFilter_ = value; onChanged(); return this; } private java.util.List denominatorAggregations_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDenominatorAggregationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - denominatorAggregations_ = new java.util.ArrayList(denominatorAggregations_); + denominatorAggregations_ = + new java.util.ArrayList( + denominatorAggregations_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.Aggregation, com.google.monitoring.v3.Aggregation.Builder, com.google.monitoring.v3.AggregationOrBuilder> denominatorAggregationsBuilder_; + com.google.monitoring.v3.Aggregation, + com.google.monitoring.v3.Aggregation.Builder, + com.google.monitoring.v3.AggregationOrBuilder> + denominatorAggregationsBuilder_; /** + * + * *
          * Specifies the alignment of data points in individual time series
          * selected by `denominatorFilter` as
@@ -4739,7 +5259,8 @@ private void ensureDenominatorAggregationsIsMutable() {
          *
          * repeated .google.monitoring.v3.Aggregation denominator_aggregations = 10;
          */
-        public java.util.List getDenominatorAggregationsList() {
+        public java.util.List
+            getDenominatorAggregationsList() {
           if (denominatorAggregationsBuilder_ == null) {
             return java.util.Collections.unmodifiableList(denominatorAggregations_);
           } else {
@@ -4747,6 +5268,8 @@ public java.util.List getDenominatorAggreg
           }
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series
          * selected by `denominatorFilter` as
@@ -4769,6 +5292,8 @@ public int getDenominatorAggregationsCount() {
           }
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series
          * selected by `denominatorFilter` as
@@ -4791,6 +5316,8 @@ public com.google.monitoring.v3.Aggregation getDenominatorAggregations(int index
           }
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series
          * selected by `denominatorFilter` as
@@ -4820,6 +5347,8 @@ public Builder setDenominatorAggregations(
           return this;
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series
          * selected by `denominatorFilter` as
@@ -4846,6 +5375,8 @@ public Builder setDenominatorAggregations(
           return this;
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series
          * selected by `denominatorFilter` as
@@ -4874,6 +5405,8 @@ public Builder addDenominatorAggregations(com.google.monitoring.v3.Aggregation v
           return this;
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series
          * selected by `denominatorFilter` as
@@ -4903,6 +5436,8 @@ public Builder addDenominatorAggregations(
           return this;
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series
          * selected by `denominatorFilter` as
@@ -4929,6 +5464,8 @@ public Builder addDenominatorAggregations(
           return this;
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series
          * selected by `denominatorFilter` as
@@ -4955,6 +5492,8 @@ public Builder addDenominatorAggregations(
           return this;
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series
          * selected by `denominatorFilter` as
@@ -4982,6 +5521,8 @@ public Builder addAllDenominatorAggregations(
           return this;
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series
          * selected by `denominatorFilter` as
@@ -5007,6 +5548,8 @@ public Builder clearDenominatorAggregations() {
           return this;
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series
          * selected by `denominatorFilter` as
@@ -5032,6 +5575,8 @@ public Builder removeDenominatorAggregations(int index) {
           return this;
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series
          * selected by `denominatorFilter` as
@@ -5051,6 +5596,8 @@ public com.google.monitoring.v3.Aggregation.Builder getDenominatorAggregationsBu
           return getDenominatorAggregationsFieldBuilder().getBuilder(index);
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series
          * selected by `denominatorFilter` as
@@ -5068,11 +5615,14 @@ public com.google.monitoring.v3.Aggregation.Builder getDenominatorAggregationsBu
         public com.google.monitoring.v3.AggregationOrBuilder getDenominatorAggregationsOrBuilder(
             int index) {
           if (denominatorAggregationsBuilder_ == null) {
-            return denominatorAggregations_.get(index);  } else {
+            return denominatorAggregations_.get(index);
+          } else {
             return denominatorAggregationsBuilder_.getMessageOrBuilder(index);
           }
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series
          * selected by `denominatorFilter` as
@@ -5087,8 +5637,8 @@ public com.google.monitoring.v3.AggregationOrBuilder getDenominatorAggregationsO
          *
          * repeated .google.monitoring.v3.Aggregation denominator_aggregations = 10;
          */
-        public java.util.List 
-             getDenominatorAggregationsOrBuilderList() {
+        public java.util.List
+            getDenominatorAggregationsOrBuilderList() {
           if (denominatorAggregationsBuilder_ != null) {
             return denominatorAggregationsBuilder_.getMessageOrBuilderList();
           } else {
@@ -5096,6 +5646,8 @@ public com.google.monitoring.v3.AggregationOrBuilder getDenominatorAggregationsO
           }
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series
          * selected by `denominatorFilter` as
@@ -5111,10 +5663,12 @@ public com.google.monitoring.v3.AggregationOrBuilder getDenominatorAggregationsO
          * repeated .google.monitoring.v3.Aggregation denominator_aggregations = 10;
          */
         public com.google.monitoring.v3.Aggregation.Builder addDenominatorAggregationsBuilder() {
-          return getDenominatorAggregationsFieldBuilder().addBuilder(
-              com.google.monitoring.v3.Aggregation.getDefaultInstance());
+          return getDenominatorAggregationsFieldBuilder()
+              .addBuilder(com.google.monitoring.v3.Aggregation.getDefaultInstance());
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series
          * selected by `denominatorFilter` as
@@ -5131,10 +5685,12 @@ public com.google.monitoring.v3.Aggregation.Builder addDenominatorAggregationsBu
          */
         public com.google.monitoring.v3.Aggregation.Builder addDenominatorAggregationsBuilder(
             int index) {
-          return getDenominatorAggregationsFieldBuilder().addBuilder(
-              index, com.google.monitoring.v3.Aggregation.getDefaultInstance());
+          return getDenominatorAggregationsFieldBuilder()
+              .addBuilder(index, com.google.monitoring.v3.Aggregation.getDefaultInstance());
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series
          * selected by `denominatorFilter` as
@@ -5149,16 +5705,22 @@ public com.google.monitoring.v3.Aggregation.Builder addDenominatorAggregationsBu
          *
          * repeated .google.monitoring.v3.Aggregation denominator_aggregations = 10;
          */
-        public java.util.List 
-             getDenominatorAggregationsBuilderList() {
+        public java.util.List
+            getDenominatorAggregationsBuilderList() {
           return getDenominatorAggregationsFieldBuilder().getBuilderList();
         }
+
         private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.monitoring.v3.Aggregation, com.google.monitoring.v3.Aggregation.Builder, com.google.monitoring.v3.AggregationOrBuilder> 
+                com.google.monitoring.v3.Aggregation,
+                com.google.monitoring.v3.Aggregation.Builder,
+                com.google.monitoring.v3.AggregationOrBuilder>
             getDenominatorAggregationsFieldBuilder() {
           if (denominatorAggregationsBuilder_ == null) {
-            denominatorAggregationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.monitoring.v3.Aggregation, com.google.monitoring.v3.Aggregation.Builder, com.google.monitoring.v3.AggregationOrBuilder>(
+            denominatorAggregationsBuilder_ =
+                new com.google.protobuf.RepeatedFieldBuilderV3<
+                    com.google.monitoring.v3.Aggregation,
+                    com.google.monitoring.v3.Aggregation.Builder,
+                    com.google.monitoring.v3.AggregationOrBuilder>(
                     denominatorAggregations_,
                     ((bitField0_ & 0x00000002) != 0),
                     getParentForChildren(),
@@ -5170,6 +5732,8 @@ public com.google.monitoring.v3.Aggregation.Builder addDenominatorAggregationsBu
 
         private int comparison_ = 0;
         /**
+         *
+         *
          * 
          * The comparison to apply between the time series (indicated by `filter`
          * and `aggregation`) and the threshold (indicated by `threshold_value`).
@@ -5179,12 +5743,16 @@ public com.google.monitoring.v3.Aggregation.Builder addDenominatorAggregationsBu
          * 
* * .google.monitoring.v3.ComparisonType comparison = 4; + * * @return The enum numeric value on the wire for comparison. */ - @java.lang.Override public int getComparisonValue() { + @java.lang.Override + public int getComparisonValue() { return comparison_; } /** + * + * *
          * The comparison to apply between the time series (indicated by `filter`
          * and `aggregation`) and the threshold (indicated by `threshold_value`).
@@ -5194,16 +5762,19 @@ public com.google.monitoring.v3.Aggregation.Builder addDenominatorAggregationsBu
          * 
* * .google.monitoring.v3.ComparisonType comparison = 4; + * * @param value The enum numeric value on the wire for comparison to set. * @return This builder for chaining. */ public Builder setComparisonValue(int value) { - + comparison_ = value; onChanged(); return this; } /** + * + * *
          * The comparison to apply between the time series (indicated by `filter`
          * and `aggregation`) and the threshold (indicated by `threshold_value`).
@@ -5213,15 +5784,19 @@ public Builder setComparisonValue(int value) {
          * 
* * .google.monitoring.v3.ComparisonType comparison = 4; + * * @return The comparison. */ @java.lang.Override public com.google.monitoring.v3.ComparisonType getComparison() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.ComparisonType result = com.google.monitoring.v3.ComparisonType.valueOf(comparison_); + com.google.monitoring.v3.ComparisonType result = + com.google.monitoring.v3.ComparisonType.valueOf(comparison_); return result == null ? com.google.monitoring.v3.ComparisonType.UNRECOGNIZED : result; } /** + * + * *
          * The comparison to apply between the time series (indicated by `filter`
          * and `aggregation`) and the threshold (indicated by `threshold_value`).
@@ -5231,6 +5806,7 @@ public com.google.monitoring.v3.ComparisonType getComparison() {
          * 
* * .google.monitoring.v3.ComparisonType comparison = 4; + * * @param value The comparison to set. * @return This builder for chaining. */ @@ -5238,12 +5814,14 @@ public Builder setComparison(com.google.monitoring.v3.ComparisonType value) { if (value == null) { throw new NullPointerException(); } - + comparison_ = value.getNumber(); onChanged(); return this; } /** + * + * *
          * The comparison to apply between the time series (indicated by `filter`
          * and `aggregation`) and the threshold (indicated by `threshold_value`).
@@ -5253,22 +5831,26 @@ public Builder setComparison(com.google.monitoring.v3.ComparisonType value) {
          * 
* * .google.monitoring.v3.ComparisonType comparison = 4; + * * @return This builder for chaining. */ public Builder clearComparison() { - + comparison_ = 0; onChanged(); return this; } - private double thresholdValue_ ; + private double thresholdValue_; /** + * + * *
          * A value against which to compare the time series.
          * 
* * double threshold_value = 5; + * * @return The thresholdValue. */ @java.lang.Override @@ -5276,30 +5858,36 @@ public double getThresholdValue() { return thresholdValue_; } /** + * + * *
          * A value against which to compare the time series.
          * 
* * double threshold_value = 5; + * * @param value The thresholdValue to set. * @return This builder for chaining. */ public Builder setThresholdValue(double value) { - + thresholdValue_ = value; onChanged(); return this; } /** + * + * *
          * A value against which to compare the time series.
          * 
* * double threshold_value = 5; + * * @return This builder for chaining. */ public Builder clearThresholdValue() { - + thresholdValue_ = 0D; onChanged(); return this; @@ -5307,8 +5895,13 @@ public Builder clearThresholdValue() { private com.google.protobuf.Duration duration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + durationBuilder_; /** + * + * *
          * The amount of time that a time series must violate the
          * threshold to be considered failing. Currently, only values
@@ -5323,12 +5916,15 @@ public Builder clearThresholdValue() {
          * 
* * .google.protobuf.Duration duration = 6; + * * @return Whether the duration field is set. */ public boolean hasDuration() { return durationBuilder_ != null || duration_ != null; } /** + * + * *
          * The amount of time that a time series must violate the
          * threshold to be considered failing. Currently, only values
@@ -5343,16 +5939,21 @@ public boolean hasDuration() {
          * 
* * .google.protobuf.Duration duration = 6; + * * @return The duration. */ public com.google.protobuf.Duration getDuration() { if (durationBuilder_ == null) { - return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; + return duration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : duration_; } else { return durationBuilder_.getMessage(); } } /** + * + * *
          * The amount of time that a time series must violate the
          * threshold to be considered failing. Currently, only values
@@ -5382,6 +5983,8 @@ public Builder setDuration(com.google.protobuf.Duration value) {
           return this;
         }
         /**
+         *
+         *
          * 
          * The amount of time that a time series must violate the
          * threshold to be considered failing. Currently, only values
@@ -5397,8 +6000,7 @@ public Builder setDuration(com.google.protobuf.Duration value) {
          *
          * .google.protobuf.Duration duration = 6;
          */
-        public Builder setDuration(
-            com.google.protobuf.Duration.Builder builderForValue) {
+        public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) {
           if (durationBuilder_ == null) {
             duration_ = builderForValue.build();
             onChanged();
@@ -5409,6 +6011,8 @@ public Builder setDuration(
           return this;
         }
         /**
+         *
+         *
          * 
          * The amount of time that a time series must violate the
          * threshold to be considered failing. Currently, only values
@@ -5428,7 +6032,9 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
           if (durationBuilder_ == null) {
             if (duration_ != null) {
               duration_ =
-                com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
+                  com.google.protobuf.Duration.newBuilder(duration_)
+                      .mergeFrom(value)
+                      .buildPartial();
             } else {
               duration_ = value;
             }
@@ -5440,6 +6046,8 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
           return this;
         }
         /**
+         *
+         *
          * 
          * The amount of time that a time series must violate the
          * threshold to be considered failing. Currently, only values
@@ -5467,6 +6075,8 @@ public Builder clearDuration() {
           return this;
         }
         /**
+         *
+         *
          * 
          * The amount of time that a time series must violate the
          * threshold to be considered failing. Currently, only values
@@ -5483,11 +6093,13 @@ public Builder clearDuration() {
          * .google.protobuf.Duration duration = 6;
          */
         public com.google.protobuf.Duration.Builder getDurationBuilder() {
-          
+
           onChanged();
           return getDurationFieldBuilder().getBuilder();
         }
         /**
+         *
+         *
          * 
          * The amount of time that a time series must violate the
          * threshold to be considered failing. Currently, only values
@@ -5507,11 +6119,14 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
           if (durationBuilder_ != null) {
             return durationBuilder_.getMessageOrBuilder();
           } else {
-            return duration_ == null ?
-                com.google.protobuf.Duration.getDefaultInstance() : duration_;
+            return duration_ == null
+                ? com.google.protobuf.Duration.getDefaultInstance()
+                : duration_;
           }
         }
         /**
+         *
+         *
          * 
          * The amount of time that a time series must violate the
          * threshold to be considered failing. Currently, only values
@@ -5528,14 +6143,17 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
          * .google.protobuf.Duration duration = 6;
          */
         private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>
             getDurationFieldBuilder() {
           if (durationBuilder_ == null) {
-            durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                    getDuration(),
-                    getParentForChildren(),
-                    isClean());
+            durationBuilder_ =
+                new com.google.protobuf.SingleFieldBuilderV3<
+                    com.google.protobuf.Duration,
+                    com.google.protobuf.Duration.Builder,
+                    com.google.protobuf.DurationOrBuilder>(
+                    getDuration(), getParentForChildren(), isClean());
             duration_ = null;
           }
           return durationBuilder_;
@@ -5543,8 +6161,13 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
 
         private com.google.monitoring.v3.AlertPolicy.Condition.Trigger trigger_;
         private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.AlertPolicy.Condition.Trigger, com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder, com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder> triggerBuilder_;
+                com.google.monitoring.v3.AlertPolicy.Condition.Trigger,
+                com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder,
+                com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder>
+            triggerBuilder_;
         /**
+         *
+         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -5555,12 +6178,15 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
          * 
* * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 7; + * * @return Whether the trigger field is set. */ public boolean hasTrigger() { return triggerBuilder_ != null || trigger_ != null; } /** + * + * *
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -5571,16 +6197,21 @@ public boolean hasTrigger() {
          * 
* * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 7; + * * @return The trigger. */ public com.google.monitoring.v3.AlertPolicy.Condition.Trigger getTrigger() { if (triggerBuilder_ == null) { - return trigger_ == null ? com.google.monitoring.v3.AlertPolicy.Condition.Trigger.getDefaultInstance() : trigger_; + return trigger_ == null + ? com.google.monitoring.v3.AlertPolicy.Condition.Trigger.getDefaultInstance() + : trigger_; } else { return triggerBuilder_.getMessage(); } } /** + * + * *
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -5606,6 +6237,8 @@ public Builder setTrigger(com.google.monitoring.v3.AlertPolicy.Condition.Trigger
           return this;
         }
         /**
+         *
+         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -5629,6 +6262,8 @@ public Builder setTrigger(
           return this;
         }
         /**
+         *
+         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -5644,7 +6279,9 @@ public Builder mergeTrigger(com.google.monitoring.v3.AlertPolicy.Condition.Trigg
           if (triggerBuilder_ == null) {
             if (trigger_ != null) {
               trigger_ =
-                com.google.monitoring.v3.AlertPolicy.Condition.Trigger.newBuilder(trigger_).mergeFrom(value).buildPartial();
+                  com.google.monitoring.v3.AlertPolicy.Condition.Trigger.newBuilder(trigger_)
+                      .mergeFrom(value)
+                      .buildPartial();
             } else {
               trigger_ = value;
             }
@@ -5656,6 +6293,8 @@ public Builder mergeTrigger(com.google.monitoring.v3.AlertPolicy.Condition.Trigg
           return this;
         }
         /**
+         *
+         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -5679,6 +6318,8 @@ public Builder clearTrigger() {
           return this;
         }
         /**
+         *
+         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -5691,11 +6332,13 @@ public Builder clearTrigger() {
          * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 7;
          */
         public com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder getTriggerBuilder() {
-          
+
           onChanged();
           return getTriggerFieldBuilder().getBuilder();
         }
         /**
+         *
+         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -5707,15 +6350,19 @@ public com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder getTrigger
          *
          * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 7;
          */
-        public com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder getTriggerOrBuilder() {
+        public com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder
+            getTriggerOrBuilder() {
           if (triggerBuilder_ != null) {
             return triggerBuilder_.getMessageOrBuilder();
           } else {
-            return trigger_ == null ?
-                com.google.monitoring.v3.AlertPolicy.Condition.Trigger.getDefaultInstance() : trigger_;
+            return trigger_ == null
+                ? com.google.monitoring.v3.AlertPolicy.Condition.Trigger.getDefaultInstance()
+                : trigger_;
           }
         }
         /**
+         *
+         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -5728,18 +6375,22 @@ public com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder getTrigge
          * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 7;
          */
         private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.AlertPolicy.Condition.Trigger, com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder, com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder> 
+                com.google.monitoring.v3.AlertPolicy.Condition.Trigger,
+                com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder,
+                com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder>
             getTriggerFieldBuilder() {
           if (triggerBuilder_ == null) {
-            triggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.monitoring.v3.AlertPolicy.Condition.Trigger, com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder, com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder>(
-                    getTrigger(),
-                    getParentForChildren(),
-                    isClean());
+            triggerBuilder_ =
+                new com.google.protobuf.SingleFieldBuilderV3<
+                    com.google.monitoring.v3.AlertPolicy.Condition.Trigger,
+                    com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder,
+                    com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder>(
+                    getTrigger(), getParentForChildren(), isClean());
             trigger_ = null;
           }
           return triggerBuilder_;
         }
+
         @java.lang.Override
         public final Builder setUnknownFields(
             final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -5752,30 +6403,32 @@ public final Builder mergeUnknownFields(
           return super.mergeUnknownFields(unknownFields);
         }
 
-
         // @@protoc_insertion_point(builder_scope:google.monitoring.v3.AlertPolicy.Condition.MetricThreshold)
       }
 
       // @@protoc_insertion_point(class_scope:google.monitoring.v3.AlertPolicy.Condition.MetricThreshold)
-      private static final com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold DEFAULT_INSTANCE;
+      private static final com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold
+          DEFAULT_INSTANCE;
+
       static {
         DEFAULT_INSTANCE = new com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold();
       }
 
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold getDefaultInstance() {
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold
+          getDefaultInstance() {
         return DEFAULT_INSTANCE;
       }
 
-      private static final com.google.protobuf.Parser
-          PARSER = new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public MetricThreshold parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new MetricThreshold(input, extensionRegistry);
-        }
-      };
+      private static final com.google.protobuf.Parser PARSER =
+          new com.google.protobuf.AbstractParser() {
+            @java.lang.Override
+            public MetricThreshold parsePartialFrom(
+                com.google.protobuf.CodedInputStream input,
+                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+                throws com.google.protobuf.InvalidProtocolBufferException {
+              return new MetricThreshold(input, extensionRegistry);
+            }
+          };
 
       public static com.google.protobuf.Parser parser() {
         return PARSER;
@@ -5787,17 +6440,20 @@ public com.google.protobuf.Parser getParserForType() {
       }
 
       @java.lang.Override
-      public com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold getDefaultInstanceForType() {
+      public com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold
+          getDefaultInstanceForType() {
         return DEFAULT_INSTANCE;
       }
-
     }
 
-    public interface MetricAbsenceOrBuilder extends
+    public interface MetricAbsenceOrBuilder
+        extends
         // @@protoc_insertion_point(interface_extends:google.monitoring.v3.AlertPolicy.Condition.MetricAbsence)
         com.google.protobuf.MessageOrBuilder {
 
       /**
+       *
+       *
        * 
        * Required. A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
        * identifies which time series should be compared with the threshold.
@@ -5811,10 +6467,13 @@ public interface MetricAbsenceOrBuilder extends
        * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
        * Required. A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
        * identifies which time series should be compared with the threshold.
@@ -5828,12 +6487,14 @@ public interface MetricAbsenceOrBuilder extends
        * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
        * Specifies the alignment of data points in individual time series as
        * well as how to combine the retrieved time series together (such as
@@ -5849,9 +6510,10 @@ public interface MetricAbsenceOrBuilder extends
        *
        * repeated .google.monitoring.v3.Aggregation aggregations = 5;
        */
-      java.util.List 
-          getAggregationsList();
+      java.util.List getAggregationsList();
       /**
+       *
+       *
        * 
        * Specifies the alignment of data points in individual time series as
        * well as how to combine the retrieved time series together (such as
@@ -5869,6 +6531,8 @@ public interface MetricAbsenceOrBuilder extends
        */
       com.google.monitoring.v3.Aggregation getAggregations(int index);
       /**
+       *
+       *
        * 
        * Specifies the alignment of data points in individual time series as
        * well as how to combine the retrieved time series together (such as
@@ -5886,6 +6550,8 @@ public interface MetricAbsenceOrBuilder extends
        */
       int getAggregationsCount();
       /**
+       *
+       *
        * 
        * Specifies the alignment of data points in individual time series as
        * well as how to combine the retrieved time series together (such as
@@ -5901,9 +6567,11 @@ public interface MetricAbsenceOrBuilder extends
        *
        * repeated .google.monitoring.v3.Aggregation aggregations = 5;
        */
-      java.util.List 
+      java.util.List
           getAggregationsOrBuilderList();
       /**
+       *
+       *
        * 
        * Specifies the alignment of data points in individual time series as
        * well as how to combine the retrieved time series together (such as
@@ -5919,10 +6587,11 @@ public interface MetricAbsenceOrBuilder extends
        *
        * repeated .google.monitoring.v3.Aggregation aggregations = 5;
        */
-      com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(
-          int index);
+      com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(int index);
 
       /**
+       *
+       *
        * 
        * The amount of time that a time series must fail to report new
        * data to be considered failing. The minimum value of this field
@@ -5934,10 +6603,13 @@ com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(
        * 
* * .google.protobuf.Duration duration = 2; + * * @return Whether the duration field is set. */ boolean hasDuration(); /** + * + * *
        * The amount of time that a time series must fail to report new
        * data to be considered failing. The minimum value of this field
@@ -5949,10 +6621,13 @@ com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(
        * 
* * .google.protobuf.Duration duration = 2; + * * @return The duration. */ com.google.protobuf.Duration getDuration(); /** + * + * *
        * The amount of time that a time series must fail to report new
        * data to be considered failing. The minimum value of this field
@@ -5968,6 +6643,8 @@ com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(
       com.google.protobuf.DurationOrBuilder getDurationOrBuilder();
 
       /**
+       *
+       *
        * 
        * The number/percent of time series for which the comparison must hold
        * in order for the condition to trigger. If unspecified, then the
@@ -5976,10 +6653,13 @@ com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(
        * 
* * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3; + * * @return Whether the trigger field is set. */ boolean hasTrigger(); /** + * + * *
        * The number/percent of time series for which the comparison must hold
        * in order for the condition to trigger. If unspecified, then the
@@ -5988,10 +6668,13 @@ com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(
        * 
* * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3; + * * @return The trigger. */ com.google.monitoring.v3.AlertPolicy.Condition.Trigger getTrigger(); /** + * + * *
        * The number/percent of time series for which the comparison must hold
        * in order for the condition to trigger. If unspecified, then the
@@ -6004,6 +6687,8 @@ com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(
       com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder getTriggerOrBuilder();
     }
     /**
+     *
+     *
      * 
      * A condition type that checks that monitored resources
      * are reporting data. The configuration defines a metric and
@@ -6014,15 +6699,16 @@ com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(
      *
      * Protobuf type {@code google.monitoring.v3.AlertPolicy.Condition.MetricAbsence}
      */
-    public static final class MetricAbsence extends
-        com.google.protobuf.GeneratedMessageV3 implements
+    public static final class MetricAbsence extends com.google.protobuf.GeneratedMessageV3
+        implements
         // @@protoc_insertion_point(message_implements:google.monitoring.v3.AlertPolicy.Condition.MetricAbsence)
         MetricAbsenceOrBuilder {
-    private static final long serialVersionUID = 0L;
+      private static final long serialVersionUID = 0L;
       // Use MetricAbsence.newBuilder() to construct.
       private MetricAbsence(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
+
       private MetricAbsence() {
         filter_ = "";
         aggregations_ = java.util.Collections.emptyList();
@@ -6030,16 +6716,15 @@ private MetricAbsence() {
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(
-          UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
         return new MetricAbsence();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet
-      getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
         return this.unknownFields;
       }
+
       private MetricAbsence(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -6059,61 +6744,70 @@ private MetricAbsence(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                java.lang.String s = input.readStringRequireUtf8();
+              case 10:
+                {
+                  java.lang.String s = input.readStringRequireUtf8();
 
-                filter_ = s;
-                break;
-              }
-              case 18: {
-                com.google.protobuf.Duration.Builder subBuilder = null;
-                if (duration_ != null) {
-                  subBuilder = duration_.toBuilder();
+                  filter_ = s;
+                  break;
                 }
-                duration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(duration_);
-                  duration_ = subBuilder.buildPartial();
-                }
-
-                break;
-              }
-              case 26: {
-                com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder subBuilder = null;
-                if (trigger_ != null) {
-                  subBuilder = trigger_.toBuilder();
+              case 18:
+                {
+                  com.google.protobuf.Duration.Builder subBuilder = null;
+                  if (duration_ != null) {
+                    subBuilder = duration_.toBuilder();
+                  }
+                  duration_ =
+                      input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+                  if (subBuilder != null) {
+                    subBuilder.mergeFrom(duration_);
+                    duration_ = subBuilder.buildPartial();
+                  }
+
+                  break;
                 }
-                trigger_ = input.readMessage(com.google.monitoring.v3.AlertPolicy.Condition.Trigger.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(trigger_);
-                  trigger_ = subBuilder.buildPartial();
+              case 26:
+                {
+                  com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder subBuilder = null;
+                  if (trigger_ != null) {
+                    subBuilder = trigger_.toBuilder();
+                  }
+                  trigger_ =
+                      input.readMessage(
+                          com.google.monitoring.v3.AlertPolicy.Condition.Trigger.parser(),
+                          extensionRegistry);
+                  if (subBuilder != null) {
+                    subBuilder.mergeFrom(trigger_);
+                    trigger_ = subBuilder.buildPartial();
+                  }
+
+                  break;
                 }
-
-                break;
-              }
-              case 42: {
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  aggregations_ = new java.util.ArrayList();
-                  mutable_bitField0_ |= 0x00000001;
+              case 42:
+                {
+                  if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                    aggregations_ = new java.util.ArrayList();
+                    mutable_bitField0_ |= 0x00000001;
+                  }
+                  aggregations_.add(
+                      input.readMessage(
+                          com.google.monitoring.v3.Aggregation.parser(), extensionRegistry));
+                  break;
                 }
-                aggregations_.add(
-                    input.readMessage(com.google.monitoring.v3.Aggregation.parser(), extensionRegistry));
-                break;
-              }
-              default: {
-                if (!parseUnknownField(
-                    input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
+              default:
+                {
+                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                    done = true;
+                  }
+                  break;
                 }
-                break;
-              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
           throw e.setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(
-              e).setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(this);
         } finally {
           if (((mutable_bitField0_ & 0x00000001) != 0)) {
             aggregations_ = java.util.Collections.unmodifiableList(aggregations_);
@@ -6122,22 +6816,27 @@ private MetricAbsence(
           makeExtensionsImmutable();
         }
       }
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricAbsence_descriptor;
+
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.monitoring.v3.AlertProto
+            .internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricAbsence_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricAbsence_fieldAccessorTable
+        return com.google.monitoring.v3.AlertProto
+            .internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricAbsence_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.class, com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.Builder.class);
+                com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.class,
+                com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.Builder.class);
       }
 
       public static final int FILTER_FIELD_NUMBER = 1;
       private volatile java.lang.Object filter_;
       /**
+       *
+       *
        * 
        * Required. A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
        * identifies which time series should be compared with the threshold.
@@ -6151,6 +6850,7 @@ private MetricAbsence(
        * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ @java.lang.Override @@ -6159,14 +6859,15 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
        * Required. A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
        * identifies which time series should be compared with the threshold.
@@ -6180,16 +6881,15 @@ public java.lang.String getFilter() {
        * 
* * string filter = 1 [(.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 { @@ -6200,6 +6900,8 @@ public java.lang.String getFilter() { public static final int AGGREGATIONS_FIELD_NUMBER = 5; private java.util.List aggregations_; /** + * + * *
        * Specifies the alignment of data points in individual time series as
        * well as how to combine the retrieved time series together (such as
@@ -6220,6 +6922,8 @@ public java.util.List getAggregationsList(
         return aggregations_;
       }
       /**
+       *
+       *
        * 
        * Specifies the alignment of data points in individual time series as
        * well as how to combine the retrieved time series together (such as
@@ -6236,11 +6940,13 @@ public java.util.List getAggregationsList(
        * repeated .google.monitoring.v3.Aggregation aggregations = 5;
        */
       @java.lang.Override
-      public java.util.List 
+      public java.util.List
           getAggregationsOrBuilderList() {
         return aggregations_;
       }
       /**
+       *
+       *
        * 
        * Specifies the alignment of data points in individual time series as
        * well as how to combine the retrieved time series together (such as
@@ -6261,6 +6967,8 @@ public int getAggregationsCount() {
         return aggregations_.size();
       }
       /**
+       *
+       *
        * 
        * Specifies the alignment of data points in individual time series as
        * well as how to combine the retrieved time series together (such as
@@ -6281,6 +6989,8 @@ public com.google.monitoring.v3.Aggregation getAggregations(int index) {
         return aggregations_.get(index);
       }
       /**
+       *
+       *
        * 
        * Specifies the alignment of data points in individual time series as
        * well as how to combine the retrieved time series together (such as
@@ -6297,14 +7007,15 @@ public com.google.monitoring.v3.Aggregation getAggregations(int index) {
        * repeated .google.monitoring.v3.Aggregation aggregations = 5;
        */
       @java.lang.Override
-      public com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(
-          int index) {
+      public com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(int index) {
         return aggregations_.get(index);
       }
 
       public static final int DURATION_FIELD_NUMBER = 2;
       private com.google.protobuf.Duration duration_;
       /**
+       *
+       *
        * 
        * The amount of time that a time series must fail to report new
        * data to be considered failing. The minimum value of this field
@@ -6316,6 +7027,7 @@ public com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(
        * 
* * .google.protobuf.Duration duration = 2; + * * @return Whether the duration field is set. */ @java.lang.Override @@ -6323,6 +7035,8 @@ public boolean hasDuration() { return duration_ != null; } /** + * + * *
        * The amount of time that a time series must fail to report new
        * data to be considered failing. The minimum value of this field
@@ -6334,6 +7048,7 @@ public boolean hasDuration() {
        * 
* * .google.protobuf.Duration duration = 2; + * * @return The duration. */ @java.lang.Override @@ -6341,6 +7056,8 @@ public com.google.protobuf.Duration getDuration() { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } /** + * + * *
        * The amount of time that a time series must fail to report new
        * data to be considered failing. The minimum value of this field
@@ -6361,6 +7078,8 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
       public static final int TRIGGER_FIELD_NUMBER = 3;
       private com.google.monitoring.v3.AlertPolicy.Condition.Trigger trigger_;
       /**
+       *
+       *
        * 
        * The number/percent of time series for which the comparison must hold
        * in order for the condition to trigger. If unspecified, then the
@@ -6369,6 +7088,7 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
        * 
* * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3; + * * @return Whether the trigger field is set. */ @java.lang.Override @@ -6376,6 +7096,8 @@ public boolean hasTrigger() { return trigger_ != null; } /** + * + * *
        * The number/percent of time series for which the comparison must hold
        * in order for the condition to trigger. If unspecified, then the
@@ -6384,13 +7106,18 @@ public boolean hasTrigger() {
        * 
* * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3; + * * @return The trigger. */ @java.lang.Override public com.google.monitoring.v3.AlertPolicy.Condition.Trigger getTrigger() { - return trigger_ == null ? com.google.monitoring.v3.AlertPolicy.Condition.Trigger.getDefaultInstance() : trigger_; + return trigger_ == null + ? com.google.monitoring.v3.AlertPolicy.Condition.Trigger.getDefaultInstance() + : trigger_; } /** + * + * *
        * The number/percent of time series for which the comparison must hold
        * in order for the condition to trigger. If unspecified, then the
@@ -6406,6 +7133,7 @@ public com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder getTrigge
       }
 
       private byte memoizedIsInitialized = -1;
+
       @java.lang.Override
       public final boolean isInitialized() {
         byte isInitialized = memoizedIsInitialized;
@@ -6417,8 +7145,7 @@ public final boolean isInitialized() {
       }
 
       @java.lang.Override
-      public void writeTo(com.google.protobuf.CodedOutputStream output)
-                          throws java.io.IOException {
+      public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
         if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) {
           com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filter_);
         }
@@ -6444,16 +7171,13 @@ public int getSerializedSize() {
           size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, filter_);
         }
         if (duration_ != null) {
-          size += com.google.protobuf.CodedOutputStream
-            .computeMessageSize(2, getDuration());
+          size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDuration());
         }
         if (trigger_ != null) {
-          size += com.google.protobuf.CodedOutputStream
-            .computeMessageSize(3, getTrigger());
+          size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTrigger());
         }
         for (int i = 0; i < aggregations_.size(); i++) {
-          size += com.google.protobuf.CodedOutputStream
-            .computeMessageSize(5, aggregations_.get(i));
+          size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, aggregations_.get(i));
         }
         size += unknownFields.getSerializedSize();
         memoizedSize = size;
@@ -6463,26 +7187,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.monitoring.v3.AlertPolicy.Condition.MetricAbsence)) {
           return super.equals(obj);
         }
-        com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence other = (com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence) obj;
+        com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence other =
+            (com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence) obj;
 
-        if (!getFilter()
-            .equals(other.getFilter())) return false;
-        if (!getAggregationsList()
-            .equals(other.getAggregationsList())) return false;
+        if (!getFilter().equals(other.getFilter())) return false;
+        if (!getAggregationsList().equals(other.getAggregationsList())) return false;
         if (hasDuration() != other.hasDuration()) return false;
         if (hasDuration()) {
-          if (!getDuration()
-              .equals(other.getDuration())) return false;
+          if (!getDuration().equals(other.getDuration())) return false;
         }
         if (hasTrigger() != other.hasTrigger()) return false;
         if (hasTrigger()) {
-          if (!getTrigger()
-              .equals(other.getTrigger())) return false;
+          if (!getTrigger().equals(other.getTrigger())) return false;
         }
         if (!unknownFields.equals(other.unknownFields)) return false;
         return true;
@@ -6515,87 +7236,94 @@ public int hashCode() {
       }
 
       public static com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence parseFrom(
-          java.nio.ByteBuffer data)
-          throws com.google.protobuf.InvalidProtocolBufferException {
+          java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
+
       public static com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence parseFrom(
-          java.nio.ByteBuffer data,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
+
       public static com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence parseFrom(
           com.google.protobuf.ByteString data)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
+
       public static com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence parseFrom(
           com.google.protobuf.ByteString data,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence parseFrom(byte[] data)
-          throws com.google.protobuf.InvalidProtocolBufferException {
+
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence parseFrom(
+          byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
+
       public static com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence parseFrom(
-          byte[] data,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence parseFrom(java.io.InputStream input)
-          throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseWithIOException(PARSER, input);
+
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence parseFrom(
+          java.io.InputStream input) throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
       }
+
       public static com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence parseFrom(
-          java.io.InputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseWithIOException(PARSER, input, extensionRegistry);
+        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+            PARSER, input, extensionRegistry);
       }
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence parseDelimitedFrom(java.io.InputStream input)
-          throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseDelimitedWithIOException(PARSER, input);
+
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence parseDelimitedFrom(
+          java.io.InputStream input) throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
       }
+
       public static com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence parseDelimitedFrom(
-          java.io.InputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+        return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+            PARSER, input, extensionRegistry);
       }
+
       public static com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence parseFrom(
-          com.google.protobuf.CodedInputStream input)
-          throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseWithIOException(PARSER, input);
+          com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
       }
+
       public static com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence parseFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseWithIOException(PARSER, input, extensionRegistry);
+        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+            PARSER, input, extensionRegistry);
       }
 
       @java.lang.Override
-      public Builder newBuilderForType() { return newBuilder(); }
+      public Builder newBuilderForType() {
+        return newBuilder();
+      }
+
       public static Builder newBuilder() {
         return DEFAULT_INSTANCE.toBuilder();
       }
-      public static Builder newBuilder(com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence prototype) {
+
+      public static Builder newBuilder(
+          com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence prototype) {
         return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
       }
+
       @java.lang.Override
       public Builder toBuilder() {
-        return this == DEFAULT_INSTANCE
-            ? new Builder() : new Builder().mergeFrom(this);
+        return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
       }
 
       @java.lang.Override
@@ -6605,6 +7333,8 @@ protected Builder newBuilderForType(
         return builder;
       }
       /**
+       *
+       *
        * 
        * A condition type that checks that monitored resources
        * are reporting data. The configuration defines a metric and
@@ -6615,21 +7345,24 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.monitoring.v3.AlertPolicy.Condition.MetricAbsence}
        */
-      public static final class Builder extends
-          com.google.protobuf.GeneratedMessageV3.Builder implements
+      public static final class Builder
+          extends com.google.protobuf.GeneratedMessageV3.Builder
+          implements
           // @@protoc_insertion_point(builder_implements:google.monitoring.v3.AlertPolicy.Condition.MetricAbsence)
           com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsenceOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor
-            getDescriptor() {
-          return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricAbsence_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+          return com.google.monitoring.v3.AlertProto
+              .internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricAbsence_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricAbsence_fieldAccessorTable
+          return com.google.monitoring.v3.AlertProto
+              .internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricAbsence_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.class, com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.Builder.class);
+                  com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.class,
+                  com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.Builder.class);
         }
 
         // Construct using com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.newBuilder()
@@ -6637,17 +7370,17 @@ private Builder() {
           maybeForceBuilderInitialization();
         }
 
-        private Builder(
-            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
+
         private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3
-                  .alwaysUseFieldBuilders) {
+          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
             getAggregationsFieldBuilder();
           }
         }
+
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -6675,13 +7408,14 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor
-            getDescriptorForType() {
-          return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricAbsence_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+          return com.google.monitoring.v3.AlertProto
+              .internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricAbsence_descriptor;
         }
 
         @java.lang.Override
-        public com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence getDefaultInstanceForType() {
+        public com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence
+            getDefaultInstanceForType() {
           return com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.getDefaultInstance();
         }
 
@@ -6696,7 +7430,8 @@ public com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence build() {
 
         @java.lang.Override
         public com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence buildPartial() {
-          com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence result = new com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence(this);
+          com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence result =
+              new com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence(this);
           int from_bitField0_ = bitField0_;
           result.filter_ = filter_;
           if (aggregationsBuilder_ == null) {
@@ -6726,46 +7461,52 @@ public com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence 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.monitoring.v3.AlertPolicy.Condition.MetricAbsence) {
-            return mergeFrom((com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence)other);
+            return mergeFrom((com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence) other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence other) {
-          if (other == com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.getDefaultInstance()) return this;
+        public Builder mergeFrom(
+            com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence other) {
+          if (other
+              == com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.getDefaultInstance())
+            return this;
           if (!other.getFilter().isEmpty()) {
             filter_ = other.filter_;
             onChanged();
@@ -6788,9 +7529,10 @@ public Builder mergeFrom(com.google.monitoring.v3.AlertPolicy.Condition.MetricAb
                 aggregationsBuilder_ = null;
                 aggregations_ = other.aggregations_;
                 bitField0_ = (bitField0_ & ~0x00000001);
-                aggregationsBuilder_ = 
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                     getAggregationsFieldBuilder() : null;
+                aggregationsBuilder_ =
+                    com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                        ? getAggregationsFieldBuilder()
+                        : null;
               } else {
                 aggregationsBuilder_.addAllMessages(other.aggregations_);
               }
@@ -6821,7 +7563,9 @@ public Builder mergeFrom(
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            parsedMessage = (com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence) e.getUnfinishedMessage();
+            parsedMessage =
+                (com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence)
+                    e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
@@ -6830,10 +7574,13 @@ public Builder mergeFrom(
           }
           return this;
         }
+
         private int bitField0_;
 
         private java.lang.Object filter_ = "";
         /**
+         *
+         *
          * 
          * Required. A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
          * identifies which time series should be compared with the threshold.
@@ -6847,13 +7594,13 @@ public Builder mergeFrom(
          * 
* * string filter = 1 [(.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; @@ -6862,6 +7609,8 @@ public java.lang.String getFilter() { } } /** + * + * *
          * Required. A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
          * identifies which time series should be compared with the threshold.
@@ -6875,15 +7624,14 @@ public java.lang.String getFilter() {
          * 
* * string filter = 1 [(.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 { @@ -6891,6 +7639,8 @@ public java.lang.String getFilter() { } } /** + * + * *
          * Required. A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
          * identifies which time series should be compared with the threshold.
@@ -6904,20 +7654,22 @@ public java.lang.String getFilter() {
          * 
* * string filter = 1 [(.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. A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
          * identifies which time series should be compared with the threshold.
@@ -6931,15 +7683,18 @@ public Builder setFilter(
          * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
          * Required. A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
          * identifies which time series should be compared with the threshold.
@@ -6953,34 +7708,41 @@ public Builder clearFilter() {
          * 
* * string filter = 1 [(.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; } private java.util.List aggregations_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAggregationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - aggregations_ = new java.util.ArrayList(aggregations_); + aggregations_ = + new java.util.ArrayList(aggregations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.Aggregation, com.google.monitoring.v3.Aggregation.Builder, com.google.monitoring.v3.AggregationOrBuilder> aggregationsBuilder_; + com.google.monitoring.v3.Aggregation, + com.google.monitoring.v3.Aggregation.Builder, + com.google.monitoring.v3.AggregationOrBuilder> + aggregationsBuilder_; /** + * + * *
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -7004,6 +7766,8 @@ public java.util.List getAggregationsList(
           }
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -7027,6 +7791,8 @@ public int getAggregationsCount() {
           }
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -7050,6 +7816,8 @@ public com.google.monitoring.v3.Aggregation getAggregations(int index) {
           }
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -7065,8 +7833,7 @@ public com.google.monitoring.v3.Aggregation getAggregations(int index) {
          *
          * repeated .google.monitoring.v3.Aggregation aggregations = 5;
          */
-        public Builder setAggregations(
-            int index, com.google.monitoring.v3.Aggregation value) {
+        public Builder setAggregations(int index, com.google.monitoring.v3.Aggregation value) {
           if (aggregationsBuilder_ == null) {
             if (value == null) {
               throw new NullPointerException();
@@ -7080,6 +7847,8 @@ public Builder setAggregations(
           return this;
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -7107,6 +7876,8 @@ public Builder setAggregations(
           return this;
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -7136,6 +7907,8 @@ public Builder addAggregations(com.google.monitoring.v3.Aggregation value) {
           return this;
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -7151,8 +7924,7 @@ public Builder addAggregations(com.google.monitoring.v3.Aggregation value) {
          *
          * repeated .google.monitoring.v3.Aggregation aggregations = 5;
          */
-        public Builder addAggregations(
-            int index, com.google.monitoring.v3.Aggregation value) {
+        public Builder addAggregations(int index, com.google.monitoring.v3.Aggregation value) {
           if (aggregationsBuilder_ == null) {
             if (value == null) {
               throw new NullPointerException();
@@ -7166,6 +7938,8 @@ public Builder addAggregations(
           return this;
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -7193,6 +7967,8 @@ public Builder addAggregations(
           return this;
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -7220,6 +7996,8 @@ public Builder addAggregations(
           return this;
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -7239,8 +8017,7 @@ public Builder addAllAggregations(
             java.lang.Iterable values) {
           if (aggregationsBuilder_ == null) {
             ensureAggregationsIsMutable();
-            com.google.protobuf.AbstractMessageLite.Builder.addAll(
-                values, aggregations_);
+            com.google.protobuf.AbstractMessageLite.Builder.addAll(values, aggregations_);
             onChanged();
           } else {
             aggregationsBuilder_.addAllMessages(values);
@@ -7248,6 +8025,8 @@ public Builder addAllAggregations(
           return this;
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -7274,6 +8053,8 @@ public Builder clearAggregations() {
           return this;
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -7300,6 +8081,8 @@ public Builder removeAggregations(int index) {
           return this;
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -7315,11 +8098,12 @@ public Builder removeAggregations(int index) {
          *
          * repeated .google.monitoring.v3.Aggregation aggregations = 5;
          */
-        public com.google.monitoring.v3.Aggregation.Builder getAggregationsBuilder(
-            int index) {
+        public com.google.monitoring.v3.Aggregation.Builder getAggregationsBuilder(int index) {
           return getAggregationsFieldBuilder().getBuilder(index);
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -7335,14 +8119,16 @@ public com.google.monitoring.v3.Aggregation.Builder getAggregationsBuilder(
          *
          * repeated .google.monitoring.v3.Aggregation aggregations = 5;
          */
-        public com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(
-            int index) {
+        public com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(int index) {
           if (aggregationsBuilder_ == null) {
-            return aggregations_.get(index);  } else {
+            return aggregations_.get(index);
+          } else {
             return aggregationsBuilder_.getMessageOrBuilder(index);
           }
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -7358,8 +8144,8 @@ public com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(
          *
          * repeated .google.monitoring.v3.Aggregation aggregations = 5;
          */
-        public java.util.List 
-             getAggregationsOrBuilderList() {
+        public java.util.List
+            getAggregationsOrBuilderList() {
           if (aggregationsBuilder_ != null) {
             return aggregationsBuilder_.getMessageOrBuilderList();
           } else {
@@ -7367,6 +8153,8 @@ public com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(
           }
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -7383,10 +8171,12 @@ public com.google.monitoring.v3.AggregationOrBuilder getAggregationsOrBuilder(
          * repeated .google.monitoring.v3.Aggregation aggregations = 5;
          */
         public com.google.monitoring.v3.Aggregation.Builder addAggregationsBuilder() {
-          return getAggregationsFieldBuilder().addBuilder(
-              com.google.monitoring.v3.Aggregation.getDefaultInstance());
+          return getAggregationsFieldBuilder()
+              .addBuilder(com.google.monitoring.v3.Aggregation.getDefaultInstance());
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -7402,12 +8192,13 @@ public com.google.monitoring.v3.Aggregation.Builder addAggregationsBuilder() {
          *
          * repeated .google.monitoring.v3.Aggregation aggregations = 5;
          */
-        public com.google.monitoring.v3.Aggregation.Builder addAggregationsBuilder(
-            int index) {
-          return getAggregationsFieldBuilder().addBuilder(
-              index, com.google.monitoring.v3.Aggregation.getDefaultInstance());
+        public com.google.monitoring.v3.Aggregation.Builder addAggregationsBuilder(int index) {
+          return getAggregationsFieldBuilder()
+              .addBuilder(index, com.google.monitoring.v3.Aggregation.getDefaultInstance());
         }
         /**
+         *
+         *
          * 
          * Specifies the alignment of data points in individual time series as
          * well as how to combine the retrieved time series together (such as
@@ -7423,16 +8214,22 @@ public com.google.monitoring.v3.Aggregation.Builder addAggregationsBuilder(
          *
          * repeated .google.monitoring.v3.Aggregation aggregations = 5;
          */
-        public java.util.List 
-             getAggregationsBuilderList() {
+        public java.util.List
+            getAggregationsBuilderList() {
           return getAggregationsFieldBuilder().getBuilderList();
         }
+
         private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.monitoring.v3.Aggregation, com.google.monitoring.v3.Aggregation.Builder, com.google.monitoring.v3.AggregationOrBuilder> 
+                com.google.monitoring.v3.Aggregation,
+                com.google.monitoring.v3.Aggregation.Builder,
+                com.google.monitoring.v3.AggregationOrBuilder>
             getAggregationsFieldBuilder() {
           if (aggregationsBuilder_ == null) {
-            aggregationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.monitoring.v3.Aggregation, com.google.monitoring.v3.Aggregation.Builder, com.google.monitoring.v3.AggregationOrBuilder>(
+            aggregationsBuilder_ =
+                new com.google.protobuf.RepeatedFieldBuilderV3<
+                    com.google.monitoring.v3.Aggregation,
+                    com.google.monitoring.v3.Aggregation.Builder,
+                    com.google.monitoring.v3.AggregationOrBuilder>(
                     aggregations_,
                     ((bitField0_ & 0x00000001) != 0),
                     getParentForChildren(),
@@ -7444,8 +8241,13 @@ public com.google.monitoring.v3.Aggregation.Builder addAggregationsBuilder(
 
         private com.google.protobuf.Duration duration_;
         private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_;
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>
+            durationBuilder_;
         /**
+         *
+         *
          * 
          * The amount of time that a time series must fail to report new
          * data to be considered failing. The minimum value of this field
@@ -7457,12 +8259,15 @@ public com.google.monitoring.v3.Aggregation.Builder addAggregationsBuilder(
          * 
* * .google.protobuf.Duration duration = 2; + * * @return Whether the duration field is set. */ public boolean hasDuration() { return durationBuilder_ != null || duration_ != null; } /** + * + * *
          * The amount of time that a time series must fail to report new
          * data to be considered failing. The minimum value of this field
@@ -7474,16 +8279,21 @@ public boolean hasDuration() {
          * 
* * .google.protobuf.Duration duration = 2; + * * @return The duration. */ public com.google.protobuf.Duration getDuration() { if (durationBuilder_ == null) { - return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; + return duration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : duration_; } else { return durationBuilder_.getMessage(); } } /** + * + * *
          * The amount of time that a time series must fail to report new
          * data to be considered failing. The minimum value of this field
@@ -7510,6 +8320,8 @@ public Builder setDuration(com.google.protobuf.Duration value) {
           return this;
         }
         /**
+         *
+         *
          * 
          * The amount of time that a time series must fail to report new
          * data to be considered failing. The minimum value of this field
@@ -7522,8 +8334,7 @@ public Builder setDuration(com.google.protobuf.Duration value) {
          *
          * .google.protobuf.Duration duration = 2;
          */
-        public Builder setDuration(
-            com.google.protobuf.Duration.Builder builderForValue) {
+        public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) {
           if (durationBuilder_ == null) {
             duration_ = builderForValue.build();
             onChanged();
@@ -7534,6 +8345,8 @@ public Builder setDuration(
           return this;
         }
         /**
+         *
+         *
          * 
          * The amount of time that a time series must fail to report new
          * data to be considered failing. The minimum value of this field
@@ -7550,7 +8363,9 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
           if (durationBuilder_ == null) {
             if (duration_ != null) {
               duration_ =
-                com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
+                  com.google.protobuf.Duration.newBuilder(duration_)
+                      .mergeFrom(value)
+                      .buildPartial();
             } else {
               duration_ = value;
             }
@@ -7562,6 +8377,8 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
           return this;
         }
         /**
+         *
+         *
          * 
          * The amount of time that a time series must fail to report new
          * data to be considered failing. The minimum value of this field
@@ -7586,6 +8403,8 @@ public Builder clearDuration() {
           return this;
         }
         /**
+         *
+         *
          * 
          * The amount of time that a time series must fail to report new
          * data to be considered failing. The minimum value of this field
@@ -7599,11 +8418,13 @@ public Builder clearDuration() {
          * .google.protobuf.Duration duration = 2;
          */
         public com.google.protobuf.Duration.Builder getDurationBuilder() {
-          
+
           onChanged();
           return getDurationFieldBuilder().getBuilder();
         }
         /**
+         *
+         *
          * 
          * The amount of time that a time series must fail to report new
          * data to be considered failing. The minimum value of this field
@@ -7620,11 +8441,14 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
           if (durationBuilder_ != null) {
             return durationBuilder_.getMessageOrBuilder();
           } else {
-            return duration_ == null ?
-                com.google.protobuf.Duration.getDefaultInstance() : duration_;
+            return duration_ == null
+                ? com.google.protobuf.Duration.getDefaultInstance()
+                : duration_;
           }
         }
         /**
+         *
+         *
          * 
          * The amount of time that a time series must fail to report new
          * data to be considered failing. The minimum value of this field
@@ -7638,14 +8462,17 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
          * .google.protobuf.Duration duration = 2;
          */
         private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>
             getDurationFieldBuilder() {
           if (durationBuilder_ == null) {
-            durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                    getDuration(),
-                    getParentForChildren(),
-                    isClean());
+            durationBuilder_ =
+                new com.google.protobuf.SingleFieldBuilderV3<
+                    com.google.protobuf.Duration,
+                    com.google.protobuf.Duration.Builder,
+                    com.google.protobuf.DurationOrBuilder>(
+                    getDuration(), getParentForChildren(), isClean());
             duration_ = null;
           }
           return durationBuilder_;
@@ -7653,8 +8480,13 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
 
         private com.google.monitoring.v3.AlertPolicy.Condition.Trigger trigger_;
         private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.AlertPolicy.Condition.Trigger, com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder, com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder> triggerBuilder_;
+                com.google.monitoring.v3.AlertPolicy.Condition.Trigger,
+                com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder,
+                com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder>
+            triggerBuilder_;
         /**
+         *
+         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -7663,12 +8495,15 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
          * 
* * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3; + * * @return Whether the trigger field is set. */ public boolean hasTrigger() { return triggerBuilder_ != null || trigger_ != null; } /** + * + * *
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -7677,16 +8512,21 @@ public boolean hasTrigger() {
          * 
* * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3; + * * @return The trigger. */ public com.google.monitoring.v3.AlertPolicy.Condition.Trigger getTrigger() { if (triggerBuilder_ == null) { - return trigger_ == null ? com.google.monitoring.v3.AlertPolicy.Condition.Trigger.getDefaultInstance() : trigger_; + return trigger_ == null + ? com.google.monitoring.v3.AlertPolicy.Condition.Trigger.getDefaultInstance() + : trigger_; } else { return triggerBuilder_.getMessage(); } } /** + * + * *
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -7710,6 +8550,8 @@ public Builder setTrigger(com.google.monitoring.v3.AlertPolicy.Condition.Trigger
           return this;
         }
         /**
+         *
+         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -7731,6 +8573,8 @@ public Builder setTrigger(
           return this;
         }
         /**
+         *
+         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -7744,7 +8588,9 @@ public Builder mergeTrigger(com.google.monitoring.v3.AlertPolicy.Condition.Trigg
           if (triggerBuilder_ == null) {
             if (trigger_ != null) {
               trigger_ =
-                com.google.monitoring.v3.AlertPolicy.Condition.Trigger.newBuilder(trigger_).mergeFrom(value).buildPartial();
+                  com.google.monitoring.v3.AlertPolicy.Condition.Trigger.newBuilder(trigger_)
+                      .mergeFrom(value)
+                      .buildPartial();
             } else {
               trigger_ = value;
             }
@@ -7756,6 +8602,8 @@ public Builder mergeTrigger(com.google.monitoring.v3.AlertPolicy.Condition.Trigg
           return this;
         }
         /**
+         *
+         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -7777,6 +8625,8 @@ public Builder clearTrigger() {
           return this;
         }
         /**
+         *
+         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -7787,11 +8637,13 @@ public Builder clearTrigger() {
          * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3;
          */
         public com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder getTriggerBuilder() {
-          
+
           onChanged();
           return getTriggerFieldBuilder().getBuilder();
         }
         /**
+         *
+         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -7801,15 +8653,19 @@ public com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder getTrigger
          *
          * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3;
          */
-        public com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder getTriggerOrBuilder() {
+        public com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder
+            getTriggerOrBuilder() {
           if (triggerBuilder_ != null) {
             return triggerBuilder_.getMessageOrBuilder();
           } else {
-            return trigger_ == null ?
-                com.google.monitoring.v3.AlertPolicy.Condition.Trigger.getDefaultInstance() : trigger_;
+            return trigger_ == null
+                ? com.google.monitoring.v3.AlertPolicy.Condition.Trigger.getDefaultInstance()
+                : trigger_;
           }
         }
         /**
+         *
+         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -7820,18 +8676,22 @@ public com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder getTrigge
          * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3;
          */
         private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.AlertPolicy.Condition.Trigger, com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder, com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder> 
+                com.google.monitoring.v3.AlertPolicy.Condition.Trigger,
+                com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder,
+                com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder>
             getTriggerFieldBuilder() {
           if (triggerBuilder_ == null) {
-            triggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.monitoring.v3.AlertPolicy.Condition.Trigger, com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder, com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder>(
-                    getTrigger(),
-                    getParentForChildren(),
-                    isClean());
+            triggerBuilder_ =
+                new com.google.protobuf.SingleFieldBuilderV3<
+                    com.google.monitoring.v3.AlertPolicy.Condition.Trigger,
+                    com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder,
+                    com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder>(
+                    getTrigger(), getParentForChildren(), isClean());
             trigger_ = null;
           }
           return triggerBuilder_;
         }
+
         @java.lang.Override
         public final Builder setUnknownFields(
             final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -7844,30 +8704,32 @@ public final Builder mergeUnknownFields(
           return super.mergeUnknownFields(unknownFields);
         }
 
-
         // @@protoc_insertion_point(builder_scope:google.monitoring.v3.AlertPolicy.Condition.MetricAbsence)
       }
 
       // @@protoc_insertion_point(class_scope:google.monitoring.v3.AlertPolicy.Condition.MetricAbsence)
-      private static final com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence DEFAULT_INSTANCE;
+      private static final com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence
+          DEFAULT_INSTANCE;
+
       static {
         DEFAULT_INSTANCE = new com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence();
       }
 
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence getDefaultInstance() {
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence
+          getDefaultInstance() {
         return DEFAULT_INSTANCE;
       }
 
-      private static final com.google.protobuf.Parser
-          PARSER = new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public MetricAbsence parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new MetricAbsence(input, extensionRegistry);
-        }
-      };
+      private static final com.google.protobuf.Parser PARSER =
+          new com.google.protobuf.AbstractParser() {
+            @java.lang.Override
+            public MetricAbsence parsePartialFrom(
+                com.google.protobuf.CodedInputStream input,
+                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+                throws com.google.protobuf.InvalidProtocolBufferException {
+              return new MetricAbsence(input, extensionRegistry);
+            }
+          };
 
       public static com.google.protobuf.Parser parser() {
         return PARSER;
@@ -7879,17 +8741,20 @@ public com.google.protobuf.Parser getParserForType() {
       }
 
       @java.lang.Override
-      public com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence getDefaultInstanceForType() {
+      public com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence
+          getDefaultInstanceForType() {
         return DEFAULT_INSTANCE;
       }
-
     }
 
-    public interface LogMatchOrBuilder extends
+    public interface LogMatchOrBuilder
+        extends
         // @@protoc_insertion_point(interface_extends:google.monitoring.v3.AlertPolicy.Condition.LogMatch)
         com.google.protobuf.MessageOrBuilder {
 
       /**
+       *
+       *
        * 
        * Required. A logs-based filter. See [Advanced Logs
        * Queries](https://cloud.google.com/logging/docs/view/advanced-queries)
@@ -7897,10 +8762,13 @@ public interface LogMatchOrBuilder extends
        * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
        * Required. A logs-based filter. See [Advanced Logs
        * Queries](https://cloud.google.com/logging/docs/view/advanced-queries)
@@ -7908,12 +8776,14 @@ public interface LogMatchOrBuilder extends
        * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
        * Optional. A map from a label key to an extractor expression, which is
        * used to extract the value for this label key. Each entry in this map is
@@ -7931,6 +8801,8 @@ public interface LogMatchOrBuilder extends
        */
       int getLabelExtractorsCount();
       /**
+       *
+       *
        * 
        * Optional. A map from a label key to an extractor expression, which is
        * used to extract the value for this label key. Each entry in this map is
@@ -7946,15 +8818,13 @@ public interface LogMatchOrBuilder extends
        *
        * map<string, string> label_extractors = 2;
        */
-      boolean containsLabelExtractors(
-          java.lang.String key);
-      /**
-       * Use {@link #getLabelExtractorsMap()} instead.
-       */
+      boolean containsLabelExtractors(java.lang.String key);
+      /** Use {@link #getLabelExtractorsMap()} instead. */
       @java.lang.Deprecated
-      java.util.Map
-      getLabelExtractors();
+      java.util.Map getLabelExtractors();
       /**
+       *
+       *
        * 
        * Optional. A map from a label key to an extractor expression, which is
        * used to extract the value for this label key. Each entry in this map is
@@ -7970,9 +8840,10 @@ boolean containsLabelExtractors(
        *
        * map<string, string> label_extractors = 2;
        */
-      java.util.Map
-      getLabelExtractorsMap();
+      java.util.Map getLabelExtractorsMap();
       /**
+       *
+       *
        * 
        * Optional. A map from a label key to an extractor expression, which is
        * used to extract the value for this label key. Each entry in this map is
@@ -7988,11 +8859,11 @@ boolean containsLabelExtractors(
        *
        * map<string, string> label_extractors = 2;
        */
-
       java.lang.String getLabelExtractorsOrDefault(
-          java.lang.String key,
-          java.lang.String defaultValue);
+          java.lang.String key, java.lang.String defaultValue);
       /**
+       *
+       *
        * 
        * Optional. A map from a label key to an extractor expression, which is
        * used to extract the value for this label key. Each entry in this map is
@@ -8008,11 +8879,11 @@ java.lang.String getLabelExtractorsOrDefault(
        *
        * map<string, string> label_extractors = 2;
        */
-
-      java.lang.String getLabelExtractorsOrThrow(
-          java.lang.String key);
+      java.lang.String getLabelExtractorsOrThrow(java.lang.String key);
     }
     /**
+     *
+     *
      * 
      * A condition type that checks whether a log message in the [scoping
      * project](https://cloud.google.com/monitoring/api/v3#project_name)
@@ -8022,31 +8893,31 @@ java.lang.String getLabelExtractorsOrThrow(
      *
      * Protobuf type {@code google.monitoring.v3.AlertPolicy.Condition.LogMatch}
      */
-    public static final class LogMatch extends
-        com.google.protobuf.GeneratedMessageV3 implements
+    public static final class LogMatch extends com.google.protobuf.GeneratedMessageV3
+        implements
         // @@protoc_insertion_point(message_implements:google.monitoring.v3.AlertPolicy.Condition.LogMatch)
         LogMatchOrBuilder {
-    private static final long serialVersionUID = 0L;
+      private static final long serialVersionUID = 0L;
       // Use LogMatch.newBuilder() to construct.
       private LogMatch(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
+
       private LogMatch() {
         filter_ = "";
       }
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(
-          UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
         return new LogMatch();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet
-      getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
         return this.unknownFields;
       }
+
       private LogMatch(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -8066,72 +8937,82 @@ private LogMatch(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                java.lang.String s = input.readStringRequireUtf8();
+              case 10:
+                {
+                  java.lang.String s = input.readStringRequireUtf8();
 
-                filter_ = s;
-                break;
-              }
-              case 18: {
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  labelExtractors_ = com.google.protobuf.MapField.newMapField(
-                      LabelExtractorsDefaultEntryHolder.defaultEntry);
-                  mutable_bitField0_ |= 0x00000001;
+                  filter_ = s;
+                  break;
                 }
-                com.google.protobuf.MapEntry
-                labelExtractors__ = input.readMessage(
-                    LabelExtractorsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-                labelExtractors_.getMutableMap().put(
-                    labelExtractors__.getKey(), labelExtractors__.getValue());
-                break;
-              }
-              default: {
-                if (!parseUnknownField(
-                    input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
+              case 18:
+                {
+                  if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                    labelExtractors_ =
+                        com.google.protobuf.MapField.newMapField(
+                            LabelExtractorsDefaultEntryHolder.defaultEntry);
+                    mutable_bitField0_ |= 0x00000001;
+                  }
+                  com.google.protobuf.MapEntry
+                      labelExtractors__ =
+                          input.readMessage(
+                              LabelExtractorsDefaultEntryHolder.defaultEntry.getParserForType(),
+                              extensionRegistry);
+                  labelExtractors_
+                      .getMutableMap()
+                      .put(labelExtractors__.getKey(), labelExtractors__.getValue());
+                  break;
+                }
+              default:
+                {
+                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                    done = true;
+                  }
+                  break;
                 }
-                break;
-              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
           throw e.setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(
-              e).setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_descriptor;
+
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.monitoring.v3.AlertProto
+            .internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_descriptor;
       }
 
       @SuppressWarnings({"rawtypes"})
       @java.lang.Override
-      protected com.google.protobuf.MapField internalGetMapField(
-          int number) {
+      protected com.google.protobuf.MapField internalGetMapField(int number) {
         switch (number) {
           case 2:
             return internalGetLabelExtractors();
           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.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_fieldAccessorTable
+        return com.google.monitoring.v3.AlertProto
+            .internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.class, com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.Builder.class);
+                com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.class,
+                com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.Builder.class);
       }
 
       public static final int FILTER_FIELD_NUMBER = 1;
       private volatile java.lang.Object filter_;
       /**
+       *
+       *
        * 
        * Required. A logs-based filter. See [Advanced Logs
        * Queries](https://cloud.google.com/logging/docs/view/advanced-queries)
@@ -8139,6 +9020,7 @@ protected com.google.protobuf.MapField internalGetMapField(
        * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ @java.lang.Override @@ -8147,14 +9029,15 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
        * Required. A logs-based filter. See [Advanced Logs
        * Queries](https://cloud.google.com/logging/docs/view/advanced-queries)
@@ -8162,16 +9045,15 @@ public java.lang.String getFilter() {
        * 
* * string filter = 1 [(.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 { @@ -8180,21 +9062,22 @@ public java.lang.String getFilter() { } public static final int LABEL_EXTRACTORS_FIELD_NUMBER = 2; + private static final class LabelExtractorsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_LabelExtractorsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labelExtractors_; + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.monitoring.v3.AlertProto + .internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_LabelExtractorsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + private com.google.protobuf.MapField labelExtractors_; + private com.google.protobuf.MapField - internalGetLabelExtractors() { + internalGetLabelExtractors() { if (labelExtractors_ == null) { return com.google.protobuf.MapField.emptyMapField( LabelExtractorsDefaultEntryHolder.defaultEntry); @@ -8206,6 +9089,8 @@ public int getLabelExtractorsCount() { return internalGetLabelExtractors().getMap().size(); } /** + * + * *
        * Optional. A map from a label key to an extractor expression, which is
        * used to extract the value for this label key. Each entry in this map is
@@ -8221,22 +9106,22 @@ public int getLabelExtractorsCount() {
        *
        * map<string, string> label_extractors = 2;
        */
-
       @java.lang.Override
-      public boolean containsLabelExtractors(
-          java.lang.String key) {
-        if (key == null) { throw new java.lang.NullPointerException(); }
+      public boolean containsLabelExtractors(java.lang.String key) {
+        if (key == null) {
+          throw new java.lang.NullPointerException();
+        }
         return internalGetLabelExtractors().getMap().containsKey(key);
       }
-      /**
-       * Use {@link #getLabelExtractorsMap()} instead.
-       */
+      /** Use {@link #getLabelExtractorsMap()} instead. */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getLabelExtractors() {
         return getLabelExtractorsMap();
       }
       /**
+       *
+       *
        * 
        * Optional. A map from a label key to an extractor expression, which is
        * used to extract the value for this label key. Each entry in this map is
@@ -8253,11 +9138,12 @@ public java.util.Map getLabelExtractors() {
        * map<string, string> label_extractors = 2;
        */
       @java.lang.Override
-
       public java.util.Map getLabelExtractorsMap() {
         return internalGetLabelExtractors().getMap();
       }
       /**
+       *
+       *
        * 
        * Optional. A map from a label key to an extractor expression, which is
        * used to extract the value for this label key. Each entry in this map is
@@ -8274,16 +9160,18 @@ public java.util.Map getLabelExtractorsMap()
        * map<string, string> label_extractors = 2;
        */
       @java.lang.Override
-
       public java.lang.String getLabelExtractorsOrDefault(
-          java.lang.String key,
-          java.lang.String defaultValue) {
-        if (key == null) { throw new java.lang.NullPointerException(); }
+          java.lang.String key, java.lang.String defaultValue) {
+        if (key == null) {
+          throw new java.lang.NullPointerException();
+        }
         java.util.Map map =
             internalGetLabelExtractors().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
+       *
+       *
        * 
        * Optional. A map from a label key to an extractor expression, which is
        * used to extract the value for this label key. Each entry in this map is
@@ -8300,10 +9188,10 @@ public java.lang.String getLabelExtractorsOrDefault(
        * map<string, string> label_extractors = 2;
        */
       @java.lang.Override
-
-      public java.lang.String getLabelExtractorsOrThrow(
-          java.lang.String key) {
-        if (key == null) { throw new java.lang.NullPointerException(); }
+      public java.lang.String getLabelExtractorsOrThrow(java.lang.String key) {
+        if (key == null) {
+          throw new java.lang.NullPointerException();
+        }
         java.util.Map map =
             internalGetLabelExtractors().getMap();
         if (!map.containsKey(key)) {
@@ -8313,6 +9201,7 @@ public java.lang.String getLabelExtractorsOrThrow(
       }
 
       private byte memoizedIsInitialized = -1;
+
       @java.lang.Override
       public final boolean isInitialized() {
         byte isInitialized = memoizedIsInitialized;
@@ -8324,13 +9213,11 @@ public final boolean isInitialized() {
       }
 
       @java.lang.Override
-      public void writeTo(com.google.protobuf.CodedOutputStream output)
-                          throws java.io.IOException {
+      public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
         if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) {
           com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filter_);
         }
-        com.google.protobuf.GeneratedMessageV3
-          .serializeStringMapTo(
+        com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
             output,
             internalGetLabelExtractors(),
             LabelExtractorsDefaultEntryHolder.defaultEntry,
@@ -8347,15 +9234,15 @@ public int getSerializedSize() {
         if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) {
           size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, filter_);
         }
-        for (java.util.Map.Entry entry
-             : internalGetLabelExtractors().getMap().entrySet()) {
-          com.google.protobuf.MapEntry
-          labelExtractors__ = LabelExtractorsDefaultEntryHolder.defaultEntry.newBuilderForType()
-              .setKey(entry.getKey())
-              .setValue(entry.getValue())
-              .build();
-          size += com.google.protobuf.CodedOutputStream
-              .computeMessageSize(2, labelExtractors__);
+        for (java.util.Map.Entry entry :
+            internalGetLabelExtractors().getMap().entrySet()) {
+          com.google.protobuf.MapEntry labelExtractors__ =
+              LabelExtractorsDefaultEntryHolder.defaultEntry
+                  .newBuilderForType()
+                  .setKey(entry.getKey())
+                  .setValue(entry.getValue())
+                  .build();
+          size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, labelExtractors__);
         }
         size += unknownFields.getSerializedSize();
         memoizedSize = size;
@@ -8365,17 +9252,16 @@ public int getSerializedSize() {
       @java.lang.Override
       public boolean equals(final java.lang.Object obj) {
         if (obj == this) {
-         return true;
+          return true;
         }
         if (!(obj instanceof com.google.monitoring.v3.AlertPolicy.Condition.LogMatch)) {
           return super.equals(obj);
         }
-        com.google.monitoring.v3.AlertPolicy.Condition.LogMatch other = (com.google.monitoring.v3.AlertPolicy.Condition.LogMatch) obj;
+        com.google.monitoring.v3.AlertPolicy.Condition.LogMatch other =
+            (com.google.monitoring.v3.AlertPolicy.Condition.LogMatch) obj;
 
-        if (!getFilter()
-            .equals(other.getFilter())) return false;
-        if (!internalGetLabelExtractors().equals(
-            other.internalGetLabelExtractors())) return false;
+        if (!getFilter().equals(other.getFilter())) return false;
+        if (!internalGetLabelExtractors().equals(other.internalGetLabelExtractors())) return false;
         if (!unknownFields.equals(other.unknownFields)) return false;
         return true;
       }
@@ -8399,87 +9285,94 @@ public int hashCode() {
       }
 
       public static com.google.monitoring.v3.AlertPolicy.Condition.LogMatch parseFrom(
-          java.nio.ByteBuffer data)
-          throws com.google.protobuf.InvalidProtocolBufferException {
+          java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
+
       public static com.google.monitoring.v3.AlertPolicy.Condition.LogMatch parseFrom(
-          java.nio.ByteBuffer data,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
+
       public static com.google.monitoring.v3.AlertPolicy.Condition.LogMatch parseFrom(
           com.google.protobuf.ByteString data)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
+
       public static com.google.monitoring.v3.AlertPolicy.Condition.LogMatch parseFrom(
           com.google.protobuf.ByteString data,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
+
       public static com.google.monitoring.v3.AlertPolicy.Condition.LogMatch parseFrom(byte[] data)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
+
       public static com.google.monitoring.v3.AlertPolicy.Condition.LogMatch parseFrom(
-          byte[] data,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-      public static com.google.monitoring.v3.AlertPolicy.Condition.LogMatch parseFrom(java.io.InputStream input)
-          throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseWithIOException(PARSER, input);
+
+      public static com.google.monitoring.v3.AlertPolicy.Condition.LogMatch parseFrom(
+          java.io.InputStream input) throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
       }
+
       public static com.google.monitoring.v3.AlertPolicy.Condition.LogMatch parseFrom(
-          java.io.InputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseWithIOException(PARSER, input, extensionRegistry);
+        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+            PARSER, input, extensionRegistry);
       }
-      public static com.google.monitoring.v3.AlertPolicy.Condition.LogMatch parseDelimitedFrom(java.io.InputStream input)
-          throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseDelimitedWithIOException(PARSER, input);
+
+      public static com.google.monitoring.v3.AlertPolicy.Condition.LogMatch parseDelimitedFrom(
+          java.io.InputStream input) throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
       }
+
       public static com.google.monitoring.v3.AlertPolicy.Condition.LogMatch parseDelimitedFrom(
-          java.io.InputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+        return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+            PARSER, input, extensionRegistry);
       }
+
       public static com.google.monitoring.v3.AlertPolicy.Condition.LogMatch parseFrom(
-          com.google.protobuf.CodedInputStream input)
-          throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseWithIOException(PARSER, input);
+          com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
       }
+
       public static com.google.monitoring.v3.AlertPolicy.Condition.LogMatch parseFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseWithIOException(PARSER, input, extensionRegistry);
+        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+            PARSER, input, extensionRegistry);
       }
 
       @java.lang.Override
-      public Builder newBuilderForType() { return newBuilder(); }
+      public Builder newBuilderForType() {
+        return newBuilder();
+      }
+
       public static Builder newBuilder() {
         return DEFAULT_INSTANCE.toBuilder();
       }
-      public static Builder newBuilder(com.google.monitoring.v3.AlertPolicy.Condition.LogMatch prototype) {
+
+      public static Builder newBuilder(
+          com.google.monitoring.v3.AlertPolicy.Condition.LogMatch prototype) {
         return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
       }
+
       @java.lang.Override
       public Builder toBuilder() {
-        return this == DEFAULT_INSTANCE
-            ? new Builder() : new Builder().mergeFrom(this);
+        return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
       }
 
       @java.lang.Override
@@ -8489,6 +9382,8 @@ protected Builder newBuilderForType(
         return builder;
       }
       /**
+       *
+       *
        * 
        * A condition type that checks whether a log message in the [scoping
        * project](https://cloud.google.com/monitoring/api/v3#project_name)
@@ -8498,43 +9393,44 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.monitoring.v3.AlertPolicy.Condition.LogMatch}
        */
-      public static final class Builder extends
-          com.google.protobuf.GeneratedMessageV3.Builder implements
+      public static final class Builder
+          extends com.google.protobuf.GeneratedMessageV3.Builder
+          implements
           // @@protoc_insertion_point(builder_implements:google.monitoring.v3.AlertPolicy.Condition.LogMatch)
           com.google.monitoring.v3.AlertPolicy.Condition.LogMatchOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor
-            getDescriptor() {
-          return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+          return com.google.monitoring.v3.AlertProto
+              .internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_descriptor;
         }
 
         @SuppressWarnings({"rawtypes"})
-        protected com.google.protobuf.MapField internalGetMapField(
-            int number) {
+        protected com.google.protobuf.MapField internalGetMapField(int number) {
           switch (number) {
             case 2:
               return internalGetLabelExtractors();
             default:
-              throw new RuntimeException(
-                  "Invalid map field number: " + number);
+              throw new RuntimeException("Invalid map field number: " + number);
           }
         }
+
         @SuppressWarnings({"rawtypes"})
-        protected com.google.protobuf.MapField internalGetMutableMapField(
-            int number) {
+        protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
           switch (number) {
             case 2:
               return internalGetMutableLabelExtractors();
             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.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_fieldAccessorTable
+          return com.google.monitoring.v3.AlertProto
+              .internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.class, com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.Builder.class);
+                  com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.class,
+                  com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.Builder.class);
         }
 
         // Construct using com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.newBuilder()
@@ -8542,16 +9438,15 @@ private Builder() {
           maybeForceBuilderInitialization();
         }
 
-        private Builder(
-            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
+
         private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3
-                  .alwaysUseFieldBuilders) {
-          }
+          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
         }
+
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -8562,9 +9457,9 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor
-            getDescriptorForType() {
-          return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+          return com.google.monitoring.v3.AlertProto
+              .internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_descriptor;
         }
 
         @java.lang.Override
@@ -8583,7 +9478,8 @@ public com.google.monitoring.v3.AlertPolicy.Condition.LogMatch build() {
 
         @java.lang.Override
         public com.google.monitoring.v3.AlertPolicy.Condition.LogMatch buildPartial() {
-          com.google.monitoring.v3.AlertPolicy.Condition.LogMatch result = new com.google.monitoring.v3.AlertPolicy.Condition.LogMatch(this);
+          com.google.monitoring.v3.AlertPolicy.Condition.LogMatch result =
+              new com.google.monitoring.v3.AlertPolicy.Condition.LogMatch(this);
           int from_bitField0_ = bitField0_;
           result.filter_ = filter_;
           result.labelExtractors_ = internalGetLabelExtractors();
@@ -8596,38 +9492,41 @@ public com.google.monitoring.v3.AlertPolicy.Condition.LogMatch 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.monitoring.v3.AlertPolicy.Condition.LogMatch) {
-            return mergeFrom((com.google.monitoring.v3.AlertPolicy.Condition.LogMatch)other);
+            return mergeFrom((com.google.monitoring.v3.AlertPolicy.Condition.LogMatch) other);
           } else {
             super.mergeFrom(other);
             return this;
@@ -8635,13 +9534,13 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
         }
 
         public Builder mergeFrom(com.google.monitoring.v3.AlertPolicy.Condition.LogMatch other) {
-          if (other == com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.getDefaultInstance()) return this;
+          if (other == com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.getDefaultInstance())
+            return this;
           if (!other.getFilter().isEmpty()) {
             filter_ = other.filter_;
             onChanged();
           }
-          internalGetMutableLabelExtractors().mergeFrom(
-              other.internalGetLabelExtractors());
+          internalGetMutableLabelExtractors().mergeFrom(other.internalGetLabelExtractors());
           this.mergeUnknownFields(other.unknownFields);
           onChanged();
           return this;
@@ -8661,7 +9560,8 @@ public Builder mergeFrom(
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            parsedMessage = (com.google.monitoring.v3.AlertPolicy.Condition.LogMatch) e.getUnfinishedMessage();
+            parsedMessage =
+                (com.google.monitoring.v3.AlertPolicy.Condition.LogMatch) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
@@ -8670,10 +9570,13 @@ public Builder mergeFrom(
           }
           return this;
         }
+
         private int bitField0_;
 
         private java.lang.Object filter_ = "";
         /**
+         *
+         *
          * 
          * Required. A logs-based filter. See [Advanced Logs
          * Queries](https://cloud.google.com/logging/docs/view/advanced-queries)
@@ -8681,13 +9584,13 @@ public Builder mergeFrom(
          * 
* * string filter = 1 [(.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; @@ -8696,6 +9599,8 @@ public java.lang.String getFilter() { } } /** + * + * *
          * Required. A logs-based filter. See [Advanced Logs
          * Queries](https://cloud.google.com/logging/docs/view/advanced-queries)
@@ -8703,15 +9608,14 @@ public java.lang.String getFilter() {
          * 
* * string filter = 1 [(.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 { @@ -8719,6 +9623,8 @@ public java.lang.String getFilter() { } } /** + * + * *
          * Required. A logs-based filter. See [Advanced Logs
          * Queries](https://cloud.google.com/logging/docs/view/advanced-queries)
@@ -8726,20 +9632,22 @@ public java.lang.String getFilter() {
          * 
* * string filter = 1 [(.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. A logs-based filter. See [Advanced Logs
          * Queries](https://cloud.google.com/logging/docs/view/advanced-queries)
@@ -8747,15 +9655,18 @@ public Builder setFilter(
          * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
          * Required. A logs-based filter. See [Advanced Logs
          * Queries](https://cloud.google.com/logging/docs/view/advanced-queries)
@@ -8763,37 +9674,40 @@ public Builder clearFilter() {
          * 
* * string filter = 1 [(.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; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labelExtractors_; + private com.google.protobuf.MapField labelExtractors_; + private com.google.protobuf.MapField - internalGetLabelExtractors() { + internalGetLabelExtractors() { if (labelExtractors_ == null) { return com.google.protobuf.MapField.emptyMapField( LabelExtractorsDefaultEntryHolder.defaultEntry); } return labelExtractors_; } + private com.google.protobuf.MapField - internalGetMutableLabelExtractors() { - onChanged();; + internalGetMutableLabelExtractors() { + onChanged(); + ; if (labelExtractors_ == null) { - labelExtractors_ = com.google.protobuf.MapField.newMapField( - LabelExtractorsDefaultEntryHolder.defaultEntry); + labelExtractors_ = + com.google.protobuf.MapField.newMapField( + LabelExtractorsDefaultEntryHolder.defaultEntry); } if (!labelExtractors_.isMutable()) { labelExtractors_ = labelExtractors_.copy(); @@ -8805,6 +9719,8 @@ public int getLabelExtractorsCount() { return internalGetLabelExtractors().getMap().size(); } /** + * + * *
          * Optional. A map from a label key to an extractor expression, which is
          * used to extract the value for this label key. Each entry in this map is
@@ -8820,22 +9736,22 @@ public int getLabelExtractorsCount() {
          *
          * map<string, string> label_extractors = 2;
          */
-
         @java.lang.Override
-        public boolean containsLabelExtractors(
-            java.lang.String key) {
-          if (key == null) { throw new java.lang.NullPointerException(); }
+        public boolean containsLabelExtractors(java.lang.String key) {
+          if (key == null) {
+            throw new java.lang.NullPointerException();
+          }
           return internalGetLabelExtractors().getMap().containsKey(key);
         }
-        /**
-         * Use {@link #getLabelExtractorsMap()} instead.
-         */
+        /** Use {@link #getLabelExtractorsMap()} instead. */
         @java.lang.Override
         @java.lang.Deprecated
         public java.util.Map getLabelExtractors() {
           return getLabelExtractorsMap();
         }
         /**
+         *
+         *
          * 
          * Optional. A map from a label key to an extractor expression, which is
          * used to extract the value for this label key. Each entry in this map is
@@ -8852,11 +9768,12 @@ public java.util.Map getLabelExtractors() {
          * map<string, string> label_extractors = 2;
          */
         @java.lang.Override
-
         public java.util.Map getLabelExtractorsMap() {
           return internalGetLabelExtractors().getMap();
         }
         /**
+         *
+         *
          * 
          * Optional. A map from a label key to an extractor expression, which is
          * used to extract the value for this label key. Each entry in this map is
@@ -8873,16 +9790,18 @@ public java.util.Map getLabelExtractorsMap()
          * map<string, string> label_extractors = 2;
          */
         @java.lang.Override
-
         public java.lang.String getLabelExtractorsOrDefault(
-            java.lang.String key,
-            java.lang.String defaultValue) {
-          if (key == null) { throw new java.lang.NullPointerException(); }
+            java.lang.String key, java.lang.String defaultValue) {
+          if (key == null) {
+            throw new java.lang.NullPointerException();
+          }
           java.util.Map map =
               internalGetLabelExtractors().getMap();
           return map.containsKey(key) ? map.get(key) : defaultValue;
         }
         /**
+         *
+         *
          * 
          * Optional. A map from a label key to an extractor expression, which is
          * used to extract the value for this label key. Each entry in this map is
@@ -8899,10 +9818,10 @@ public java.lang.String getLabelExtractorsOrDefault(
          * map<string, string> label_extractors = 2;
          */
         @java.lang.Override
-
-        public java.lang.String getLabelExtractorsOrThrow(
-            java.lang.String key) {
-          if (key == null) { throw new java.lang.NullPointerException(); }
+        public java.lang.String getLabelExtractorsOrThrow(java.lang.String key) {
+          if (key == null) {
+            throw new java.lang.NullPointerException();
+          }
           java.util.Map map =
               internalGetLabelExtractors().getMap();
           if (!map.containsKey(key)) {
@@ -8912,11 +9831,12 @@ public java.lang.String getLabelExtractorsOrThrow(
         }
 
         public Builder clearLabelExtractors() {
-          internalGetMutableLabelExtractors().getMutableMap()
-              .clear();
+          internalGetMutableLabelExtractors().getMutableMap().clear();
           return this;
         }
         /**
+         *
+         *
          * 
          * Optional. A map from a label key to an extractor expression, which is
          * used to extract the value for this label key. Each entry in this map is
@@ -8932,23 +9852,21 @@ public Builder clearLabelExtractors() {
          *
          * map<string, string> label_extractors = 2;
          */
-
-        public Builder removeLabelExtractors(
-            java.lang.String key) {
-          if (key == null) { throw new java.lang.NullPointerException(); }
-          internalGetMutableLabelExtractors().getMutableMap()
-              .remove(key);
+        public Builder removeLabelExtractors(java.lang.String key) {
+          if (key == null) {
+            throw new java.lang.NullPointerException();
+          }
+          internalGetMutableLabelExtractors().getMutableMap().remove(key);
           return this;
         }
-        /**
-         * Use alternate mutation accessors instead.
-         */
+        /** Use alternate mutation accessors instead. */
         @java.lang.Deprecated
-        public java.util.Map
-        getMutableLabelExtractors() {
+        public java.util.Map getMutableLabelExtractors() {
           return internalGetMutableLabelExtractors().getMutableMap();
         }
         /**
+         *
+         *
          * 
          * Optional. A map from a label key to an extractor expression, which is
          * used to extract the value for this label key. Each entry in this map is
@@ -8964,16 +9882,19 @@ public Builder removeLabelExtractors(
          *
          * map<string, string> label_extractors = 2;
          */
-        public Builder putLabelExtractors(
-            java.lang.String key,
-            java.lang.String value) {
-          if (key == null) { throw new java.lang.NullPointerException(); }
-          if (value == null) { throw new java.lang.NullPointerException(); }
-          internalGetMutableLabelExtractors().getMutableMap()
-              .put(key, value);
+        public Builder putLabelExtractors(java.lang.String key, java.lang.String value) {
+          if (key == null) {
+            throw new java.lang.NullPointerException();
+          }
+          if (value == null) {
+            throw new java.lang.NullPointerException();
+          }
+          internalGetMutableLabelExtractors().getMutableMap().put(key, value);
           return this;
         }
         /**
+         *
+         *
          * 
          * Optional. A map from a label key to an extractor expression, which is
          * used to extract the value for this label key. Each entry in this map is
@@ -8989,13 +9910,12 @@ public Builder putLabelExtractors(
          *
          * map<string, string> label_extractors = 2;
          */
-
         public Builder putAllLabelExtractors(
             java.util.Map values) {
-          internalGetMutableLabelExtractors().getMutableMap()
-              .putAll(values);
+          internalGetMutableLabelExtractors().getMutableMap().putAll(values);
           return this;
         }
+
         @java.lang.Override
         public final Builder setUnknownFields(
             final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -9008,12 +9928,12 @@ public final Builder mergeUnknownFields(
           return super.mergeUnknownFields(unknownFields);
         }
 
-
         // @@protoc_insertion_point(builder_scope:google.monitoring.v3.AlertPolicy.Condition.LogMatch)
       }
 
       // @@protoc_insertion_point(class_scope:google.monitoring.v3.AlertPolicy.Condition.LogMatch)
       private static final com.google.monitoring.v3.AlertPolicy.Condition.LogMatch DEFAULT_INSTANCE;
+
       static {
         DEFAULT_INSTANCE = new com.google.monitoring.v3.AlertPolicy.Condition.LogMatch();
       }
@@ -9022,16 +9942,16 @@ public static com.google.monitoring.v3.AlertPolicy.Condition.LogMatch getDefault
         return DEFAULT_INSTANCE;
       }
 
-      private static final com.google.protobuf.Parser
-          PARSER = new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public LogMatch parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new LogMatch(input, extensionRegistry);
-        }
-      };
+      private static final com.google.protobuf.Parser PARSER =
+          new com.google.protobuf.AbstractParser() {
+            @java.lang.Override
+            public LogMatch parsePartialFrom(
+                com.google.protobuf.CodedInputStream input,
+                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+                throws com.google.protobuf.InvalidProtocolBufferException {
+              return new LogMatch(input, extensionRegistry);
+            }
+          };
 
       public static com.google.protobuf.Parser parser() {
         return PARSER;
@@ -9046,36 +9966,43 @@ public com.google.protobuf.Parser getParserForType() {
       public com.google.monitoring.v3.AlertPolicy.Condition.LogMatch getDefaultInstanceForType() {
         return DEFAULT_INSTANCE;
       }
-
     }
 
-    public interface MonitoringQueryLanguageConditionOrBuilder extends
+    public interface MonitoringQueryLanguageConditionOrBuilder
+        extends
         // @@protoc_insertion_point(interface_extends:google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition)
         com.google.protobuf.MessageOrBuilder {
 
       /**
+       *
+       *
        * 
        * [Monitoring Query Language](https://cloud.google.com/monitoring/mql)
        * query that outputs a boolean stream.
        * 
* * string query = 1; + * * @return The query. */ java.lang.String getQuery(); /** + * + * *
        * [Monitoring Query Language](https://cloud.google.com/monitoring/mql)
        * query that outputs a boolean stream.
        * 
* * string query = 1; + * * @return The bytes for query. */ - com.google.protobuf.ByteString - getQueryBytes(); + com.google.protobuf.ByteString getQueryBytes(); /** + * + * *
        * The amount of time that a time series must violate the
        * threshold to be considered failing. Currently, only values
@@ -9090,10 +10017,13 @@ public interface MonitoringQueryLanguageConditionOrBuilder extends
        * 
* * .google.protobuf.Duration duration = 2; + * * @return Whether the duration field is set. */ boolean hasDuration(); /** + * + * *
        * The amount of time that a time series must violate the
        * threshold to be considered failing. Currently, only values
@@ -9108,10 +10038,13 @@ public interface MonitoringQueryLanguageConditionOrBuilder extends
        * 
* * .google.protobuf.Duration duration = 2; + * * @return The duration. */ com.google.protobuf.Duration getDuration(); /** + * + * *
        * The amount of time that a time series must violate the
        * threshold to be considered failing. Currently, only values
@@ -9130,6 +10063,8 @@ public interface MonitoringQueryLanguageConditionOrBuilder extends
       com.google.protobuf.DurationOrBuilder getDurationOrBuilder();
 
       /**
+       *
+       *
        * 
        * The number/percent of time series for which the comparison must hold
        * in order for the condition to trigger. If unspecified, then the
@@ -9140,10 +10075,13 @@ public interface MonitoringQueryLanguageConditionOrBuilder extends
        * 
* * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3; + * * @return Whether the trigger field is set. */ boolean hasTrigger(); /** + * + * *
        * The number/percent of time series for which the comparison must hold
        * in order for the condition to trigger. If unspecified, then the
@@ -9154,10 +10092,13 @@ public interface MonitoringQueryLanguageConditionOrBuilder extends
        * 
* * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3; + * * @return The trigger. */ com.google.monitoring.v3.AlertPolicy.Condition.Trigger getTrigger(); /** + * + * *
        * The number/percent of time series for which the comparison must hold
        * in order for the condition to trigger. If unspecified, then the
@@ -9172,38 +10113,43 @@ public interface MonitoringQueryLanguageConditionOrBuilder extends
       com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder getTriggerOrBuilder();
     }
     /**
+     *
+     *
      * 
      * A condition type that allows alert policies to be defined using
      * [Monitoring Query Language](https://cloud.google.com/monitoring/mql).
      * 
* - * Protobuf type {@code google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition} + * Protobuf type {@code + * google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition} */ - public static final class MonitoringQueryLanguageCondition extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class MonitoringQueryLanguageCondition + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) MonitoringQueryLanguageConditionOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MonitoringQueryLanguageCondition.newBuilder() to construct. - private MonitoringQueryLanguageCondition(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private MonitoringQueryLanguageCondition( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private MonitoringQueryLanguageCondition() { query_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MonitoringQueryLanguageCondition(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private MonitoringQueryLanguageCondition( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -9222,79 +10168,94 @@ private MonitoringQueryLanguageCondition( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - query_ = s; - break; - } - case 18: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (duration_ != null) { - subBuilder = duration_.toBuilder(); - } - duration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(duration_); - duration_ = subBuilder.buildPartial(); + query_ = s; + break; } - - break; - } - case 26: { - com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder subBuilder = null; - if (trigger_ != null) { - subBuilder = trigger_.toBuilder(); + case 18: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (duration_ != null) { + subBuilder = duration_.toBuilder(); + } + duration_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(duration_); + duration_ = subBuilder.buildPartial(); + } + + break; } - trigger_ = input.readMessage(com.google.monitoring.v3.AlertPolicy.Condition.Trigger.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(trigger_); - trigger_ = subBuilder.buildPartial(); + case 26: + { + com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder subBuilder = null; + if (trigger_ != null) { + subBuilder = trigger_.toBuilder(); + } + trigger_ = + input.readMessage( + com.google.monitoring.v3.AlertPolicy.Condition.Trigger.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(trigger_); + trigger_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_MonitoringQueryLanguageCondition_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.AlertProto + .internal_static_google_monitoring_v3_AlertPolicy_Condition_MonitoringQueryLanguageCondition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_MonitoringQueryLanguageCondition_fieldAccessorTable + return com.google.monitoring.v3.AlertProto + .internal_static_google_monitoring_v3_AlertPolicy_Condition_MonitoringQueryLanguageCondition_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.class, com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.Builder.class); + com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition + .class, + com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition + .Builder.class); } public static final int QUERY_FIELD_NUMBER = 1; private volatile java.lang.Object query_; /** + * + * *
        * [Monitoring Query Language](https://cloud.google.com/monitoring/mql)
        * query that outputs a boolean stream.
        * 
* * string query = 1; + * * @return The query. */ @java.lang.Override @@ -9303,30 +10264,30 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** + * + * *
        * [Monitoring Query Language](https://cloud.google.com/monitoring/mql)
        * query that outputs a boolean stream.
        * 
* * string query = 1; + * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); query_ = b; return b; } else { @@ -9337,6 +10298,8 @@ public java.lang.String getQuery() { public static final int DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration duration_; /** + * + * *
        * The amount of time that a time series must violate the
        * threshold to be considered failing. Currently, only values
@@ -9351,6 +10314,7 @@ public java.lang.String getQuery() {
        * 
* * .google.protobuf.Duration duration = 2; + * * @return Whether the duration field is set. */ @java.lang.Override @@ -9358,6 +10322,8 @@ public boolean hasDuration() { return duration_ != null; } /** + * + * *
        * The amount of time that a time series must violate the
        * threshold to be considered failing. Currently, only values
@@ -9372,6 +10338,7 @@ public boolean hasDuration() {
        * 
* * .google.protobuf.Duration duration = 2; + * * @return The duration. */ @java.lang.Override @@ -9379,6 +10346,8 @@ public com.google.protobuf.Duration getDuration() { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } /** + * + * *
        * The amount of time that a time series must violate the
        * threshold to be considered failing. Currently, only values
@@ -9402,6 +10371,8 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
       public static final int TRIGGER_FIELD_NUMBER = 3;
       private com.google.monitoring.v3.AlertPolicy.Condition.Trigger trigger_;
       /**
+       *
+       *
        * 
        * The number/percent of time series for which the comparison must hold
        * in order for the condition to trigger. If unspecified, then the
@@ -9412,6 +10383,7 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
        * 
* * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3; + * * @return Whether the trigger field is set. */ @java.lang.Override @@ -9419,6 +10391,8 @@ public boolean hasTrigger() { return trigger_ != null; } /** + * + * *
        * The number/percent of time series for which the comparison must hold
        * in order for the condition to trigger. If unspecified, then the
@@ -9429,13 +10403,18 @@ public boolean hasTrigger() {
        * 
* * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3; + * * @return The trigger. */ @java.lang.Override public com.google.monitoring.v3.AlertPolicy.Condition.Trigger getTrigger() { - return trigger_ == null ? com.google.monitoring.v3.AlertPolicy.Condition.Trigger.getDefaultInstance() : trigger_; + return trigger_ == null + ? com.google.monitoring.v3.AlertPolicy.Condition.Trigger.getDefaultInstance() + : trigger_; } /** + * + * *
        * The number/percent of time series for which the comparison must hold
        * in order for the condition to trigger. If unspecified, then the
@@ -9453,6 +10432,7 @@ public com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder getTrigge
       }
 
       private byte memoizedIsInitialized = -1;
+
       @java.lang.Override
       public final boolean isInitialized() {
         byte isInitialized = memoizedIsInitialized;
@@ -9464,8 +10444,7 @@ public final boolean isInitialized() {
       }
 
       @java.lang.Override
-      public void writeTo(com.google.protobuf.CodedOutputStream output)
-                          throws java.io.IOException {
+      public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
         if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(query_)) {
           com.google.protobuf.GeneratedMessageV3.writeString(output, 1, query_);
         }
@@ -9488,12 +10467,10 @@ public int getSerializedSize() {
           size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, query_);
         }
         if (duration_ != null) {
-          size += com.google.protobuf.CodedOutputStream
-            .computeMessageSize(2, getDuration());
+          size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDuration());
         }
         if (trigger_ != null) {
-          size += com.google.protobuf.CodedOutputStream
-            .computeMessageSize(3, getTrigger());
+          size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTrigger());
         }
         size += unknownFields.getSerializedSize();
         memoizedSize = size;
@@ -9503,24 +10480,24 @@ public int getSerializedSize() {
       @java.lang.Override
       public boolean equals(final java.lang.Object obj) {
         if (obj == this) {
-         return true;
+          return true;
         }
-        if (!(obj instanceof com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition)) {
+        if (!(obj
+            instanceof
+            com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition)) {
           return super.equals(obj);
         }
-        com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition other = (com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) obj;
+        com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition other =
+            (com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) obj;
 
-        if (!getQuery()
-            .equals(other.getQuery())) return false;
+        if (!getQuery().equals(other.getQuery())) return false;
         if (hasDuration() != other.hasDuration()) return false;
         if (hasDuration()) {
-          if (!getDuration()
-              .equals(other.getDuration())) return false;
+          if (!getDuration().equals(other.getDuration())) return false;
         }
         if (hasTrigger() != other.hasTrigger()) return false;
         if (hasTrigger()) {
-          if (!getTrigger()
-              .equals(other.getTrigger())) return false;
+          if (!getTrigger().equals(other.getTrigger())) return false;
         }
         if (!unknownFields.equals(other.unknownFields)) return false;
         return true;
@@ -9548,88 +10525,104 @@ public int hashCode() {
         return hash;
       }
 
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition parseFrom(
-          java.nio.ByteBuffer data)
-          throws com.google.protobuf.InvalidProtocolBufferException {
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition
+          parseFrom(java.nio.ByteBuffer data)
+              throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition parseFrom(
-          java.nio.ByteBuffer data,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
+
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition
+          parseFrom(
+              java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition parseFrom(
-          com.google.protobuf.ByteString data)
-          throws com.google.protobuf.InvalidProtocolBufferException {
+
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition
+          parseFrom(com.google.protobuf.ByteString data)
+              throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition parseFrom(
-          com.google.protobuf.ByteString data,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
+
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition
+          parseFrom(
+              com.google.protobuf.ByteString data,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition parseFrom(byte[] data)
-          throws com.google.protobuf.InvalidProtocolBufferException {
+
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition
+          parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition parseFrom(
-          byte[] data,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
+
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition
+          parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition parseFrom(java.io.InputStream input)
-          throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseWithIOException(PARSER, input);
+
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition
+          parseFrom(java.io.InputStream input) throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
       }
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition parseFrom(
-          java.io.InputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseWithIOException(PARSER, input, extensionRegistry);
+
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition
+          parseFrom(
+              java.io.InputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+            PARSER, input, extensionRegistry);
       }
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition parseDelimitedFrom(java.io.InputStream input)
-          throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseDelimitedWithIOException(PARSER, input);
+
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition
+          parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
       }
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition parseDelimitedFrom(
-          java.io.InputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition
+          parseDelimitedFrom(
+              java.io.InputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+            PARSER, input, extensionRegistry);
       }
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition parseFrom(
-          com.google.protobuf.CodedInputStream input)
-          throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseWithIOException(PARSER, input);
+
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition
+          parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
       }
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition parseFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseWithIOException(PARSER, input, extensionRegistry);
+
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition
+          parseFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+            PARSER, input, extensionRegistry);
       }
 
       @java.lang.Override
-      public Builder newBuilderForType() { return newBuilder(); }
+      public Builder newBuilderForType() {
+        return newBuilder();
+      }
+
       public static Builder newBuilder() {
         return DEFAULT_INSTANCE.toBuilder();
       }
-      public static Builder newBuilder(com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition prototype) {
+
+      public static Builder newBuilder(
+          com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition
+              prototype) {
         return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
       }
+
       @java.lang.Override
       public Builder toBuilder() {
-        return this == DEFAULT_INSTANCE
-            ? new Builder() : new Builder().mergeFrom(this);
+        return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
       }
 
       @java.lang.Override
@@ -9639,45 +10632,53 @@ protected Builder newBuilderForType(
         return builder;
       }
       /**
+       *
+       *
        * 
        * A condition type that allows alert policies to be defined using
        * [Monitoring Query Language](https://cloud.google.com/monitoring/mql).
        * 
* - * Protobuf type {@code google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition} + * Protobuf type {@code + * google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageConditionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_MonitoringQueryLanguageCondition_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.AlertProto + .internal_static_google_monitoring_v3_AlertPolicy_Condition_MonitoringQueryLanguageCondition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_MonitoringQueryLanguageCondition_fieldAccessorTable + return com.google.monitoring.v3.AlertProto + .internal_static_google_monitoring_v3_AlertPolicy_Condition_MonitoringQueryLanguageCondition_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.class, com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.Builder.class); + com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition + .class, + com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition + .Builder.class); } - // Construct using com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.newBuilder() + // Construct using + // com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -9699,19 +10700,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_MonitoringQueryLanguageCondition_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.AlertProto + .internal_static_google_monitoring_v3_AlertPolicy_Condition_MonitoringQueryLanguageCondition_descriptor; } @java.lang.Override - public com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition getDefaultInstanceForType() { - return com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.getDefaultInstance(); + public com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition + getDefaultInstanceForType() { + return com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition + .getDefaultInstance(); } @java.lang.Override - public com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition build() { - com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition result = buildPartial(); + public com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition + build() { + com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -9719,8 +10724,11 @@ public com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCon } @java.lang.Override - public com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition buildPartial() { - com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition result = new com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition(this); + public com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition + buildPartial() { + com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition result = + new com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition( + this); result.query_ = query_; if (durationBuilder_ == null) { result.duration_ = duration_; @@ -9740,46 +10748,56 @@ public com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCon public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) { - return mergeFrom((com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition)other); + if (other + instanceof + com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) { + return mergeFrom( + (com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition other) { - if (other == com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition other) { + if (other + == com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition + .getDefaultInstance()) return this; if (!other.getQuery().isEmpty()) { query_ = other.query_; onChanged(); @@ -9805,11 +10823,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition parsedMessage = null; + com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -9821,19 +10842,21 @@ public Builder mergeFrom( private java.lang.Object query_ = ""; /** + * + * *
          * [Monitoring Query Language](https://cloud.google.com/monitoring/mql)
          * query that outputs a boolean stream.
          * 
* * string query = 1; + * * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -9842,21 +10865,22 @@ public java.lang.String getQuery() { } } /** + * + * *
          * [Monitoring Query Language](https://cloud.google.com/monitoring/mql)
          * query that outputs a boolean stream.
          * 
* * string query = 1; + * * @return The bytes for query. */ - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); query_ = b; return b; } else { @@ -9864,57 +10888,64 @@ public java.lang.String getQuery() { } } /** + * + * *
          * [Monitoring Query Language](https://cloud.google.com/monitoring/mql)
          * query that outputs a boolean stream.
          * 
* * string query = 1; + * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery( - java.lang.String value) { + public Builder setQuery(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; onChanged(); return this; } /** + * + * *
          * [Monitoring Query Language](https://cloud.google.com/monitoring/mql)
          * query that outputs a boolean stream.
          * 
* * string query = 1; + * * @return This builder for chaining. */ public Builder clearQuery() { - + query_ = getDefaultInstance().getQuery(); onChanged(); return this; } /** + * + * *
          * [Monitoring Query Language](https://cloud.google.com/monitoring/mql)
          * query that outputs a boolean stream.
          * 
* * string query = 1; + * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes( - com.google.protobuf.ByteString value) { + public Builder setQueryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); return this; @@ -9922,8 +10953,13 @@ public Builder setQueryBytes( private com.google.protobuf.Duration duration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + durationBuilder_; /** + * + * *
          * The amount of time that a time series must violate the
          * threshold to be considered failing. Currently, only values
@@ -9938,12 +10974,15 @@ public Builder setQueryBytes(
          * 
* * .google.protobuf.Duration duration = 2; + * * @return Whether the duration field is set. */ public boolean hasDuration() { return durationBuilder_ != null || duration_ != null; } /** + * + * *
          * The amount of time that a time series must violate the
          * threshold to be considered failing. Currently, only values
@@ -9958,16 +10997,21 @@ public boolean hasDuration() {
          * 
* * .google.protobuf.Duration duration = 2; + * * @return The duration. */ public com.google.protobuf.Duration getDuration() { if (durationBuilder_ == null) { - return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; + return duration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : duration_; } else { return durationBuilder_.getMessage(); } } /** + * + * *
          * The amount of time that a time series must violate the
          * threshold to be considered failing. Currently, only values
@@ -9997,6 +11041,8 @@ public Builder setDuration(com.google.protobuf.Duration value) {
           return this;
         }
         /**
+         *
+         *
          * 
          * The amount of time that a time series must violate the
          * threshold to be considered failing. Currently, only values
@@ -10012,8 +11058,7 @@ public Builder setDuration(com.google.protobuf.Duration value) {
          *
          * .google.protobuf.Duration duration = 2;
          */
-        public Builder setDuration(
-            com.google.protobuf.Duration.Builder builderForValue) {
+        public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) {
           if (durationBuilder_ == null) {
             duration_ = builderForValue.build();
             onChanged();
@@ -10024,6 +11069,8 @@ public Builder setDuration(
           return this;
         }
         /**
+         *
+         *
          * 
          * The amount of time that a time series must violate the
          * threshold to be considered failing. Currently, only values
@@ -10043,7 +11090,9 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
           if (durationBuilder_ == null) {
             if (duration_ != null) {
               duration_ =
-                com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
+                  com.google.protobuf.Duration.newBuilder(duration_)
+                      .mergeFrom(value)
+                      .buildPartial();
             } else {
               duration_ = value;
             }
@@ -10055,6 +11104,8 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
           return this;
         }
         /**
+         *
+         *
          * 
          * The amount of time that a time series must violate the
          * threshold to be considered failing. Currently, only values
@@ -10082,6 +11133,8 @@ public Builder clearDuration() {
           return this;
         }
         /**
+         *
+         *
          * 
          * The amount of time that a time series must violate the
          * threshold to be considered failing. Currently, only values
@@ -10098,11 +11151,13 @@ public Builder clearDuration() {
          * .google.protobuf.Duration duration = 2;
          */
         public com.google.protobuf.Duration.Builder getDurationBuilder() {
-          
+
           onChanged();
           return getDurationFieldBuilder().getBuilder();
         }
         /**
+         *
+         *
          * 
          * The amount of time that a time series must violate the
          * threshold to be considered failing. Currently, only values
@@ -10122,11 +11177,14 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
           if (durationBuilder_ != null) {
             return durationBuilder_.getMessageOrBuilder();
           } else {
-            return duration_ == null ?
-                com.google.protobuf.Duration.getDefaultInstance() : duration_;
+            return duration_ == null
+                ? com.google.protobuf.Duration.getDefaultInstance()
+                : duration_;
           }
         }
         /**
+         *
+         *
          * 
          * The amount of time that a time series must violate the
          * threshold to be considered failing. Currently, only values
@@ -10143,14 +11201,17 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
          * .google.protobuf.Duration duration = 2;
          */
         private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>
             getDurationFieldBuilder() {
           if (durationBuilder_ == null) {
-            durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                    getDuration(),
-                    getParentForChildren(),
-                    isClean());
+            durationBuilder_ =
+                new com.google.protobuf.SingleFieldBuilderV3<
+                    com.google.protobuf.Duration,
+                    com.google.protobuf.Duration.Builder,
+                    com.google.protobuf.DurationOrBuilder>(
+                    getDuration(), getParentForChildren(), isClean());
             duration_ = null;
           }
           return durationBuilder_;
@@ -10158,8 +11219,13 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
 
         private com.google.monitoring.v3.AlertPolicy.Condition.Trigger trigger_;
         private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.AlertPolicy.Condition.Trigger, com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder, com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder> triggerBuilder_;
+                com.google.monitoring.v3.AlertPolicy.Condition.Trigger,
+                com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder,
+                com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder>
+            triggerBuilder_;
         /**
+         *
+         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -10170,12 +11236,15 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
          * 
* * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3; + * * @return Whether the trigger field is set. */ public boolean hasTrigger() { return triggerBuilder_ != null || trigger_ != null; } /** + * + * *
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -10186,16 +11255,21 @@ public boolean hasTrigger() {
          * 
* * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3; + * * @return The trigger. */ public com.google.monitoring.v3.AlertPolicy.Condition.Trigger getTrigger() { if (triggerBuilder_ == null) { - return trigger_ == null ? com.google.monitoring.v3.AlertPolicy.Condition.Trigger.getDefaultInstance() : trigger_; + return trigger_ == null + ? com.google.monitoring.v3.AlertPolicy.Condition.Trigger.getDefaultInstance() + : trigger_; } else { return triggerBuilder_.getMessage(); } } /** + * + * *
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -10221,6 +11295,8 @@ public Builder setTrigger(com.google.monitoring.v3.AlertPolicy.Condition.Trigger
           return this;
         }
         /**
+         *
+         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -10244,6 +11320,8 @@ public Builder setTrigger(
           return this;
         }
         /**
+         *
+         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -10259,7 +11337,9 @@ public Builder mergeTrigger(com.google.monitoring.v3.AlertPolicy.Condition.Trigg
           if (triggerBuilder_ == null) {
             if (trigger_ != null) {
               trigger_ =
-                com.google.monitoring.v3.AlertPolicy.Condition.Trigger.newBuilder(trigger_).mergeFrom(value).buildPartial();
+                  com.google.monitoring.v3.AlertPolicy.Condition.Trigger.newBuilder(trigger_)
+                      .mergeFrom(value)
+                      .buildPartial();
             } else {
               trigger_ = value;
             }
@@ -10271,6 +11351,8 @@ public Builder mergeTrigger(com.google.monitoring.v3.AlertPolicy.Condition.Trigg
           return this;
         }
         /**
+         *
+         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -10294,6 +11376,8 @@ public Builder clearTrigger() {
           return this;
         }
         /**
+         *
+         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -10306,11 +11390,13 @@ public Builder clearTrigger() {
          * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3;
          */
         public com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder getTriggerBuilder() {
-          
+
           onChanged();
           return getTriggerFieldBuilder().getBuilder();
         }
         /**
+         *
+         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -10322,15 +11408,19 @@ public com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder getTrigger
          *
          * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3;
          */
-        public com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder getTriggerOrBuilder() {
+        public com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder
+            getTriggerOrBuilder() {
           if (triggerBuilder_ != null) {
             return triggerBuilder_.getMessageOrBuilder();
           } else {
-            return trigger_ == null ?
-                com.google.monitoring.v3.AlertPolicy.Condition.Trigger.getDefaultInstance() : trigger_;
+            return trigger_ == null
+                ? com.google.monitoring.v3.AlertPolicy.Condition.Trigger.getDefaultInstance()
+                : trigger_;
           }
         }
         /**
+         *
+         *
          * 
          * The number/percent of time series for which the comparison must hold
          * in order for the condition to trigger. If unspecified, then the
@@ -10343,18 +11433,22 @@ public com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder getTrigge
          * .google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3;
          */
         private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.AlertPolicy.Condition.Trigger, com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder, com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder> 
+                com.google.monitoring.v3.AlertPolicy.Condition.Trigger,
+                com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder,
+                com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder>
             getTriggerFieldBuilder() {
           if (triggerBuilder_ == null) {
-            triggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.monitoring.v3.AlertPolicy.Condition.Trigger, com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder, com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder>(
-                    getTrigger(),
-                    getParentForChildren(),
-                    isClean());
+            triggerBuilder_ =
+                new com.google.protobuf.SingleFieldBuilderV3<
+                    com.google.monitoring.v3.AlertPolicy.Condition.Trigger,
+                    com.google.monitoring.v3.AlertPolicy.Condition.Trigger.Builder,
+                    com.google.monitoring.v3.AlertPolicy.Condition.TriggerOrBuilder>(
+                    getTrigger(), getParentForChildren(), isClean());
             trigger_ = null;
           }
           return triggerBuilder_;
         }
+
         @java.lang.Override
         public final Builder setUnknownFields(
             final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -10367,30 +11461,34 @@ public final Builder mergeUnknownFields(
           return super.mergeUnknownFields(unknownFields);
         }
 
-
         // @@protoc_insertion_point(builder_scope:google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition)
       }
 
       // @@protoc_insertion_point(class_scope:google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition)
-      private static final com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition DEFAULT_INSTANCE;
+      private static final com.google.monitoring.v3.AlertPolicy.Condition
+              .MonitoringQueryLanguageCondition
+          DEFAULT_INSTANCE;
+
       static {
-        DEFAULT_INSTANCE = new com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition();
+        DEFAULT_INSTANCE =
+            new com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition();
       }
 
-      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition getDefaultInstance() {
+      public static com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition
+          getDefaultInstance() {
         return DEFAULT_INSTANCE;
       }
 
-      private static final com.google.protobuf.Parser
-          PARSER = new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public MonitoringQueryLanguageCondition parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new MonitoringQueryLanguageCondition(input, extensionRegistry);
-        }
-      };
+      private static final com.google.protobuf.Parser PARSER =
+          new com.google.protobuf.AbstractParser() {
+            @java.lang.Override
+            public MonitoringQueryLanguageCondition parsePartialFrom(
+                com.google.protobuf.CodedInputStream input,
+                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+                throws com.google.protobuf.InvalidProtocolBufferException {
+              return new MonitoringQueryLanguageCondition(input, extensionRegistry);
+            }
+          };
 
       public static com.google.protobuf.Parser parser() {
         return PARSER;
@@ -10402,16 +11500,18 @@ public com.google.protobuf.Parser getParserFor
       }
 
       @java.lang.Override
-      public com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition getDefaultInstanceForType() {
+      public com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition
+          getDefaultInstanceForType() {
         return DEFAULT_INSTANCE;
       }
-
     }
 
     private int conditionCase_ = 0;
     private java.lang.Object condition_;
+
     public enum ConditionCase
-        implements com.google.protobuf.Internal.EnumLite,
+        implements
+            com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       CONDITION_THRESHOLD(1),
       CONDITION_ABSENT(2),
@@ -10419,6 +11519,7 @@ public enum ConditionCase
       CONDITION_MONITORING_QUERY_LANGUAGE(19),
       CONDITION_NOT_SET(0);
       private final int value;
+
       private ConditionCase(int value) {
         this.value = value;
       }
@@ -10434,28 +11535,35 @@ public static ConditionCase valueOf(int value) {
 
       public static ConditionCase forNumber(int value) {
         switch (value) {
-          case 1: return CONDITION_THRESHOLD;
-          case 2: return CONDITION_ABSENT;
-          case 20: return CONDITION_MATCHED_LOG;
-          case 19: return CONDITION_MONITORING_QUERY_LANGUAGE;
-          case 0: return CONDITION_NOT_SET;
-          default: return null;
+          case 1:
+            return CONDITION_THRESHOLD;
+          case 2:
+            return CONDITION_ABSENT;
+          case 20:
+            return CONDITION_MATCHED_LOG;
+          case 19:
+            return CONDITION_MONITORING_QUERY_LANGUAGE;
+          case 0:
+            return CONDITION_NOT_SET;
+          default:
+            return null;
         }
       }
+
       public int getNumber() {
         return this.value;
       }
     };
 
-    public ConditionCase
-    getConditionCase() {
-      return ConditionCase.forNumber(
-          conditionCase_);
+    public ConditionCase getConditionCase() {
+      return ConditionCase.forNumber(conditionCase_);
     }
 
     public static final int NAME_FIELD_NUMBER = 12;
     private volatile java.lang.Object name_;
     /**
+     *
+     *
      * 
      * Required if the condition exists. The unique resource name for this
      * condition. Its format is:
@@ -10480,6 +11588,7 @@ public int getNumber() {
      * 
* * string name = 12; + * * @return The name. */ @java.lang.Override @@ -10488,14 +11597,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
      * Required if the condition exists. The unique resource name for this
      * condition. Its format is:
@@ -10520,16 +11630,15 @@ public java.lang.String getName() {
      * 
* * string name = 12; + * * @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 { @@ -10540,6 +11649,8 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 6; private volatile java.lang.Object displayName_; /** + * + * *
      * A short name or phrase used to identify the condition in dashboards,
      * notifications, and incidents. To avoid confusion, don't use the same
@@ -10547,6 +11658,7 @@ public java.lang.String getName() {
      * 
* * string display_name = 6; + * * @return The displayName. */ @java.lang.Override @@ -10555,14 +11667,15 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
      * A short name or phrase used to identify the condition in dashboards,
      * notifications, and incidents. To avoid confusion, don't use the same
@@ -10570,16 +11683,15 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 6; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -10589,11 +11701,15 @@ public java.lang.String getDisplayName() { public static final int CONDITION_THRESHOLD_FIELD_NUMBER = 1; /** + * + * *
      * A condition that compares a time series against a threshold.
      * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; + * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; + * + * * @return Whether the conditionThreshold field is set. */ @java.lang.Override @@ -10601,43 +11717,54 @@ public boolean hasConditionThreshold() { return conditionCase_ == 1; } /** + * + * *
      * A condition that compares a time series against a threshold.
      * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; + * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; + * + * * @return The conditionThreshold. */ @java.lang.Override public com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold getConditionThreshold() { if (conditionCase_ == 1) { - return (com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) condition_; + return (com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) condition_; } return com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.getDefaultInstance(); } /** + * + * *
      * A condition that compares a time series against a threshold.
      * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; + * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; + * */ @java.lang.Override - public com.google.monitoring.v3.AlertPolicy.Condition.MetricThresholdOrBuilder getConditionThresholdOrBuilder() { + public com.google.monitoring.v3.AlertPolicy.Condition.MetricThresholdOrBuilder + getConditionThresholdOrBuilder() { if (conditionCase_ == 1) { - return (com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) condition_; + return (com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) condition_; } return com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.getDefaultInstance(); } public static final int CONDITION_ABSENT_FIELD_NUMBER = 2; /** + * + * *
      * A condition that checks that a time series continues to
      * receive new data points.
      * 
* * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; + * * @return Whether the conditionAbsent field is set. */ @java.lang.Override @@ -10645,22 +11772,27 @@ public boolean hasConditionAbsent() { return conditionCase_ == 2; } /** + * + * *
      * A condition that checks that a time series continues to
      * receive new data points.
      * 
* * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; + * * @return The conditionAbsent. */ @java.lang.Override public com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence getConditionAbsent() { if (conditionCase_ == 2) { - return (com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence) condition_; + return (com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence) condition_; } return com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.getDefaultInstance(); } /** + * + * *
      * A condition that checks that a time series continues to
      * receive new data points.
@@ -10669,21 +11801,25 @@ public com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence getCondition
      * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2;
      */
     @java.lang.Override
-    public com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsenceOrBuilder getConditionAbsentOrBuilder() {
+    public com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsenceOrBuilder
+        getConditionAbsentOrBuilder() {
       if (conditionCase_ == 2) {
-         return (com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence) condition_;
+        return (com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence) condition_;
       }
       return com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.getDefaultInstance();
     }
 
     public static final int CONDITION_MATCHED_LOG_FIELD_NUMBER = 20;
     /**
+     *
+     *
      * 
      * A condition that checks for log messages matching given constraints. If
      * set, no other conditions can be present.
      * 
* * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; + * * @return Whether the conditionMatchedLog field is set. */ @java.lang.Override @@ -10691,22 +11827,27 @@ public boolean hasConditionMatchedLog() { return conditionCase_ == 20; } /** + * + * *
      * A condition that checks for log messages matching given constraints. If
      * set, no other conditions can be present.
      * 
* * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; + * * @return The conditionMatchedLog. */ @java.lang.Override public com.google.monitoring.v3.AlertPolicy.Condition.LogMatch getConditionMatchedLog() { if (conditionCase_ == 20) { - return (com.google.monitoring.v3.AlertPolicy.Condition.LogMatch) condition_; + return (com.google.monitoring.v3.AlertPolicy.Condition.LogMatch) condition_; } return com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.getDefaultInstance(); } /** + * + * *
      * A condition that checks for log messages matching given constraints. If
      * set, no other conditions can be present.
@@ -10715,21 +11856,27 @@ public com.google.monitoring.v3.AlertPolicy.Condition.LogMatch getConditionMatch
      * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20;
      */
     @java.lang.Override
-    public com.google.monitoring.v3.AlertPolicy.Condition.LogMatchOrBuilder getConditionMatchedLogOrBuilder() {
+    public com.google.monitoring.v3.AlertPolicy.Condition.LogMatchOrBuilder
+        getConditionMatchedLogOrBuilder() {
       if (conditionCase_ == 20) {
-         return (com.google.monitoring.v3.AlertPolicy.Condition.LogMatch) condition_;
+        return (com.google.monitoring.v3.AlertPolicy.Condition.LogMatch) condition_;
       }
       return com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.getDefaultInstance();
     }
 
     public static final int CONDITION_MONITORING_QUERY_LANGUAGE_FIELD_NUMBER = 19;
     /**
+     *
+     *
      * 
      * A condition that uses the Monitoring Query Language to define
      * alerts.
      * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; + * + * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; + * + * * @return Whether the conditionMonitoringQueryLanguage field is set. */ @java.lang.Override @@ -10737,38 +11884,54 @@ public boolean hasConditionMonitoringQueryLanguage() { return conditionCase_ == 19; } /** + * + * *
      * A condition that uses the Monitoring Query Language to define
      * alerts.
      * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; + * + * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; + * + * * @return The conditionMonitoringQueryLanguage. */ @java.lang.Override - public com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition getConditionMonitoringQueryLanguage() { + public com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition + getConditionMonitoringQueryLanguage() { if (conditionCase_ == 19) { - return (com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) condition_; + return (com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) + condition_; } - return com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.getDefaultInstance(); + return com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition + .getDefaultInstance(); } /** + * + * *
      * A condition that uses the Monitoring Query Language to define
      * alerts.
      * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; + * + * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; + * */ @java.lang.Override - public com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageConditionOrBuilder getConditionMonitoringQueryLanguageOrBuilder() { + public com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageConditionOrBuilder + getConditionMonitoringQueryLanguageOrBuilder() { if (conditionCase_ == 19) { - return (com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) condition_; + return (com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) + condition_; } - return com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.getDefaultInstance(); + return com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition + .getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -10780,13 +11943,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (conditionCase_ == 1) { - output.writeMessage(1, (com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) condition_); + output.writeMessage( + 1, (com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) condition_); } if (conditionCase_ == 2) { - output.writeMessage(2, (com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence) condition_); + output.writeMessage( + 2, (com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence) condition_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, displayName_); @@ -10795,10 +11959,14 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 12, name_); } if (conditionCase_ == 19) { - output.writeMessage(19, (com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) condition_); + output.writeMessage( + 19, + (com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) + condition_); } if (conditionCase_ == 20) { - output.writeMessage(20, (com.google.monitoring.v3.AlertPolicy.Condition.LogMatch) condition_); + output.writeMessage( + 20, (com.google.monitoring.v3.AlertPolicy.Condition.LogMatch) condition_); } unknownFields.writeTo(output); } @@ -10810,12 +11978,14 @@ public int getSerializedSize() { size = 0; if (conditionCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) condition_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) condition_); } if (conditionCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence) condition_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence) condition_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, displayName_); @@ -10824,12 +11994,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, name_); } if (conditionCase_ == 19) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(19, (com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) condition_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 19, + (com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) + condition_); } if (conditionCase_ == 20) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(20, (com.google.monitoring.v3.AlertPolicy.Condition.LogMatch) condition_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 20, (com.google.monitoring.v3.AlertPolicy.Condition.LogMatch) condition_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -10839,30 +12013,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.AlertPolicy.Condition)) { return super.equals(obj); } - com.google.monitoring.v3.AlertPolicy.Condition other = (com.google.monitoring.v3.AlertPolicy.Condition) obj; + com.google.monitoring.v3.AlertPolicy.Condition other = + (com.google.monitoring.v3.AlertPolicy.Condition) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (!getConditionCase().equals(other.getConditionCase())) return false; switch (conditionCase_) { case 1: - if (!getConditionThreshold() - .equals(other.getConditionThreshold())) return false; + if (!getConditionThreshold().equals(other.getConditionThreshold())) return false; break; case 2: - if (!getConditionAbsent() - .equals(other.getConditionAbsent())) return false; + if (!getConditionAbsent().equals(other.getConditionAbsent())) return false; break; case 20: - if (!getConditionMatchedLog() - .equals(other.getConditionMatchedLog())) return false; + if (!getConditionMatchedLog().equals(other.getConditionMatchedLog())) return false; break; case 19: if (!getConditionMonitoringQueryLanguage() @@ -10911,88 +12081,94 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.AlertPolicy.Condition parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.AlertPolicy.Condition parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.AlertPolicy.Condition parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.AlertPolicy.Condition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.AlertPolicy.Condition parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.AlertPolicy.Condition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.AlertPolicy.Condition parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.AlertPolicy.Condition parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.AlertPolicy.Condition parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.AlertPolicy.Condition parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.AlertPolicy.Condition parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.AlertPolicy.Condition parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.AlertPolicy.Condition parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.AlertPolicy.Condition parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.AlertPolicy.Condition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.AlertPolicy.Condition prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -11002,6 +12178,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A condition is a true/false test that determines when an alerting policy
      * should open an incident. If a condition evaluates to true, it signifies
@@ -11010,21 +12188,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.monitoring.v3.AlertPolicy.Condition}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.monitoring.v3.AlertPolicy.Condition)
         com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.monitoring.v3.AlertProto
+            .internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_fieldAccessorTable
+        return com.google.monitoring.v3.AlertProto
+            .internal_static_google_monitoring_v3_AlertPolicy_Condition_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.monitoring.v3.AlertPolicy.Condition.class, com.google.monitoring.v3.AlertPolicy.Condition.Builder.class);
+                com.google.monitoring.v3.AlertPolicy.Condition.class,
+                com.google.monitoring.v3.AlertPolicy.Condition.Builder.class);
       }
 
       // Construct using com.google.monitoring.v3.AlertPolicy.Condition.newBuilder()
@@ -11032,16 +12213,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -11055,9 +12235,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.monitoring.v3.AlertProto
+            .internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor;
       }
 
       @java.lang.Override
@@ -11076,7 +12256,8 @@ public com.google.monitoring.v3.AlertPolicy.Condition build() {
 
       @java.lang.Override
       public com.google.monitoring.v3.AlertPolicy.Condition buildPartial() {
-        com.google.monitoring.v3.AlertPolicy.Condition result = new com.google.monitoring.v3.AlertPolicy.Condition(this);
+        com.google.monitoring.v3.AlertPolicy.Condition result =
+            new com.google.monitoring.v3.AlertPolicy.Condition(this);
         result.name_ = name_;
         result.displayName_ = displayName_;
         if (conditionCase_ == 1) {
@@ -11116,38 +12297,41 @@ public com.google.monitoring.v3.AlertPolicy.Condition 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.monitoring.v3.AlertPolicy.Condition) {
-          return mergeFrom((com.google.monitoring.v3.AlertPolicy.Condition)other);
+          return mergeFrom((com.google.monitoring.v3.AlertPolicy.Condition) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -11155,7 +12339,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.monitoring.v3.AlertPolicy.Condition other) {
-        if (other == com.google.monitoring.v3.AlertPolicy.Condition.getDefaultInstance()) return this;
+        if (other == com.google.monitoring.v3.AlertPolicy.Condition.getDefaultInstance())
+          return this;
         if (!other.getName().isEmpty()) {
           name_ = other.name_;
           onChanged();
@@ -11165,25 +12350,30 @@ public Builder mergeFrom(com.google.monitoring.v3.AlertPolicy.Condition other) {
           onChanged();
         }
         switch (other.getConditionCase()) {
-          case CONDITION_THRESHOLD: {
-            mergeConditionThreshold(other.getConditionThreshold());
-            break;
-          }
-          case CONDITION_ABSENT: {
-            mergeConditionAbsent(other.getConditionAbsent());
-            break;
-          }
-          case CONDITION_MATCHED_LOG: {
-            mergeConditionMatchedLog(other.getConditionMatchedLog());
-            break;
-          }
-          case CONDITION_MONITORING_QUERY_LANGUAGE: {
-            mergeConditionMonitoringQueryLanguage(other.getConditionMonitoringQueryLanguage());
-            break;
-          }
-          case CONDITION_NOT_SET: {
-            break;
-          }
+          case CONDITION_THRESHOLD:
+            {
+              mergeConditionThreshold(other.getConditionThreshold());
+              break;
+            }
+          case CONDITION_ABSENT:
+            {
+              mergeConditionAbsent(other.getConditionAbsent());
+              break;
+            }
+          case CONDITION_MATCHED_LOG:
+            {
+              mergeConditionMatchedLog(other.getConditionMatchedLog());
+              break;
+            }
+          case CONDITION_MONITORING_QUERY_LANGUAGE:
+            {
+              mergeConditionMonitoringQueryLanguage(other.getConditionMonitoringQueryLanguage());
+              break;
+            }
+          case CONDITION_NOT_SET:
+            {
+              break;
+            }
         }
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
@@ -11213,12 +12403,12 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int conditionCase_ = 0;
       private java.lang.Object condition_;
-      public ConditionCase
-          getConditionCase() {
-        return ConditionCase.forNumber(
-            conditionCase_);
+
+      public ConditionCase getConditionCase() {
+        return ConditionCase.forNumber(conditionCase_);
       }
 
       public Builder clearCondition() {
@@ -11228,9 +12418,10 @@ public Builder clearCondition() {
         return this;
       }
 
-
       private java.lang.Object name_ = "";
       /**
+       *
+       *
        * 
        * Required if the condition exists. The unique resource name for this
        * condition. Its format is:
@@ -11255,13 +12446,13 @@ public Builder clearCondition() {
        * 
* * string name = 12; + * * @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; @@ -11270,6 +12461,8 @@ public java.lang.String getName() { } } /** + * + * *
        * Required if the condition exists. The unique resource name for this
        * condition. Its format is:
@@ -11294,15 +12487,14 @@ public java.lang.String getName() {
        * 
* * string name = 12; + * * @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 { @@ -11310,6 +12502,8 @@ public java.lang.String getName() { } } /** + * + * *
        * Required if the condition exists. The unique resource name for this
        * condition. Its format is:
@@ -11334,20 +12528,22 @@ public java.lang.String getName() {
        * 
* * string name = 12; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
        * Required if the condition exists. The unique resource name for this
        * condition. Its format is:
@@ -11372,15 +12568,18 @@ public Builder setName(
        * 
* * string name = 12; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
        * Required if the condition exists. The unique resource name for this
        * condition. Its format is:
@@ -11405,16 +12604,16 @@ public Builder clearName() {
        * 
* * string name = 12; + * * @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; @@ -11422,6 +12621,8 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
        * A short name or phrase used to identify the condition in dashboards,
        * notifications, and incidents. To avoid confusion, don't use the same
@@ -11429,13 +12630,13 @@ public Builder setNameBytes(
        * 
* * string display_name = 6; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -11444,6 +12645,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
        * A short name or phrase used to identify the condition in dashboards,
        * notifications, and incidents. To avoid confusion, don't use the same
@@ -11451,15 +12654,14 @@ public java.lang.String getDisplayName() {
        * 
* * string display_name = 6; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -11467,6 +12669,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
        * A short name or phrase used to identify the condition in dashboards,
        * notifications, and incidents. To avoid confusion, don't use the same
@@ -11474,20 +12678,22 @@ public java.lang.String getDisplayName() {
        * 
* * string display_name = 6; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
        * A short name or phrase used to identify the condition in dashboards,
        * notifications, and incidents. To avoid confusion, don't use the same
@@ -11495,15 +12701,18 @@ public Builder setDisplayName(
        * 
* * string display_name = 6; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
        * A short name or phrase used to identify the condition in dashboards,
        * notifications, and incidents. To avoid confusion, don't use the same
@@ -11511,29 +12720,36 @@ public Builder clearDisplayName() {
        * 
* * string display_name = 6; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold, com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.Builder, com.google.monitoring.v3.AlertPolicy.Condition.MetricThresholdOrBuilder> conditionThresholdBuilder_; + com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold, + com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.Builder, + com.google.monitoring.v3.AlertPolicy.Condition.MetricThresholdOrBuilder> + conditionThresholdBuilder_; /** + * + * *
        * A condition that compares a time series against a threshold.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; + * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; + * + * * @return Whether the conditionThreshold field is set. */ @java.lang.Override @@ -11541,35 +12757,46 @@ public boolean hasConditionThreshold() { return conditionCase_ == 1; } /** + * + * *
        * A condition that compares a time series against a threshold.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; + * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; + * + * * @return The conditionThreshold. */ @java.lang.Override - public com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold getConditionThreshold() { + public com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold + getConditionThreshold() { if (conditionThresholdBuilder_ == null) { if (conditionCase_ == 1) { return (com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) condition_; } - return com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.getDefaultInstance(); + return com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold + .getDefaultInstance(); } else { if (conditionCase_ == 1) { return conditionThresholdBuilder_.getMessage(); } - return com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.getDefaultInstance(); + return com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold + .getDefaultInstance(); } } /** + * + * *
        * A condition that compares a time series against a threshold.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; + * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; + * */ - public Builder setConditionThreshold(com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold value) { + public Builder setConditionThreshold( + com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold value) { if (conditionThresholdBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -11583,11 +12810,14 @@ public Builder setConditionThreshold(com.google.monitoring.v3.AlertPolicy.Condit return this; } /** + * + * *
        * A condition that compares a time series against a threshold.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; + * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; + * */ public Builder setConditionThreshold( com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.Builder builderForValue) { @@ -11601,18 +12831,27 @@ public Builder setConditionThreshold( return this; } /** + * + * *
        * A condition that compares a time series against a threshold.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; + * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; + * */ - public Builder mergeConditionThreshold(com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold value) { + public Builder mergeConditionThreshold( + com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold value) { if (conditionThresholdBuilder_ == null) { - if (conditionCase_ == 1 && - condition_ != com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.getDefaultInstance()) { - condition_ = com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.newBuilder((com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) condition_) - .mergeFrom(value).buildPartial(); + if (conditionCase_ == 1 + && condition_ + != com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold + .getDefaultInstance()) { + condition_ = + com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.newBuilder( + (com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) condition_) + .mergeFrom(value) + .buildPartial(); } else { condition_ = value; } @@ -11627,11 +12866,14 @@ public Builder mergeConditionThreshold(com.google.monitoring.v3.AlertPolicy.Cond return this; } /** + * + * *
        * A condition that compares a time series against a threshold.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; + * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; + * */ public Builder clearConditionThreshold() { if (conditionThresholdBuilder_ == null) { @@ -11650,68 +12892,94 @@ public Builder clearConditionThreshold() { return this; } /** + * + * *
        * A condition that compares a time series against a threshold.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; + * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; + * */ - public com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.Builder getConditionThresholdBuilder() { + public com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.Builder + getConditionThresholdBuilder() { return getConditionThresholdFieldBuilder().getBuilder(); } /** + * + * *
        * A condition that compares a time series against a threshold.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; + * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; + * */ @java.lang.Override - public com.google.monitoring.v3.AlertPolicy.Condition.MetricThresholdOrBuilder getConditionThresholdOrBuilder() { + public com.google.monitoring.v3.AlertPolicy.Condition.MetricThresholdOrBuilder + getConditionThresholdOrBuilder() { if ((conditionCase_ == 1) && (conditionThresholdBuilder_ != null)) { return conditionThresholdBuilder_.getMessageOrBuilder(); } else { if (conditionCase_ == 1) { return (com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) condition_; } - return com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.getDefaultInstance(); + return com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold + .getDefaultInstance(); } } /** + * + * *
        * A condition that compares a time series against a threshold.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; + * .google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold, com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.Builder, com.google.monitoring.v3.AlertPolicy.Condition.MetricThresholdOrBuilder> + com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold, + com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.Builder, + com.google.monitoring.v3.AlertPolicy.Condition.MetricThresholdOrBuilder> getConditionThresholdFieldBuilder() { if (conditionThresholdBuilder_ == null) { if (!(conditionCase_ == 1)) { - condition_ = com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.getDefaultInstance(); - } - conditionThresholdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold, com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.Builder, com.google.monitoring.v3.AlertPolicy.Condition.MetricThresholdOrBuilder>( + condition_ = + com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.getDefaultInstance(); + } + conditionThresholdBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold, + com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold.Builder, + com.google.monitoring.v3.AlertPolicy.Condition.MetricThresholdOrBuilder>( (com.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold) condition_, getParentForChildren(), isClean()); condition_ = null; } conditionCase_ = 1; - onChanged();; + onChanged(); + ; return conditionThresholdBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence, com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.Builder, com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsenceOrBuilder> conditionAbsentBuilder_; + com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence, + com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.Builder, + com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsenceOrBuilder> + conditionAbsentBuilder_; /** + * + * *
        * A condition that checks that a time series continues to
        * receive new data points.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; + * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; + * + * * @return Whether the conditionAbsent field is set. */ @java.lang.Override @@ -11719,12 +12987,16 @@ public boolean hasConditionAbsent() { return conditionCase_ == 2; } /** + * + * *
        * A condition that checks that a time series continues to
        * receive new data points.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; + * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; + * + * * @return The conditionAbsent. */ @java.lang.Override @@ -11742,14 +13014,18 @@ public com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence getCondition } } /** + * + * *
        * A condition that checks that a time series continues to
        * receive new data points.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; + * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; + * */ - public Builder setConditionAbsent(com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence value) { + public Builder setConditionAbsent( + com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence value) { if (conditionAbsentBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -11763,12 +13039,15 @@ public Builder setConditionAbsent(com.google.monitoring.v3.AlertPolicy.Condition return this; } /** + * + * *
        * A condition that checks that a time series continues to
        * receive new data points.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; + * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; + * */ public Builder setConditionAbsent( com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.Builder builderForValue) { @@ -11782,19 +13061,28 @@ public Builder setConditionAbsent( return this; } /** + * + * *
        * A condition that checks that a time series continues to
        * receive new data points.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; + * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; + * */ - public Builder mergeConditionAbsent(com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence value) { + public Builder mergeConditionAbsent( + com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence value) { if (conditionAbsentBuilder_ == null) { - if (conditionCase_ == 2 && - condition_ != com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.getDefaultInstance()) { - condition_ = com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.newBuilder((com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence) condition_) - .mergeFrom(value).buildPartial(); + if (conditionCase_ == 2 + && condition_ + != com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence + .getDefaultInstance()) { + condition_ = + com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.newBuilder( + (com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence) condition_) + .mergeFrom(value) + .buildPartial(); } else { condition_ = value; } @@ -11809,12 +13097,15 @@ public Builder mergeConditionAbsent(com.google.monitoring.v3.AlertPolicy.Conditi return this; } /** + * + * *
        * A condition that checks that a time series continues to
        * receive new data points.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; + * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; + * */ public Builder clearConditionAbsent() { if (conditionAbsentBuilder_ == null) { @@ -11833,26 +13124,34 @@ public Builder clearConditionAbsent() { return this; } /** + * + * *
        * A condition that checks that a time series continues to
        * receive new data points.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; + * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; + * */ - public com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.Builder getConditionAbsentBuilder() { + public com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.Builder + getConditionAbsentBuilder() { return getConditionAbsentFieldBuilder().getBuilder(); } /** + * + * *
        * A condition that checks that a time series continues to
        * receive new data points.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; + * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; + * */ @java.lang.Override - public com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsenceOrBuilder getConditionAbsentOrBuilder() { + public com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsenceOrBuilder + getConditionAbsentOrBuilder() { if ((conditionCase_ == 2) && (conditionAbsentBuilder_ != null)) { return conditionAbsentBuilder_.getMessageOrBuilder(); } else { @@ -11863,41 +13162,58 @@ public com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsenceOrBuilder get } } /** + * + * *
        * A condition that checks that a time series continues to
        * receive new data points.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; + * .google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence, com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.Builder, com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsenceOrBuilder> + com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence, + com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.Builder, + com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsenceOrBuilder> getConditionAbsentFieldBuilder() { if (conditionAbsentBuilder_ == null) { if (!(conditionCase_ == 2)) { - condition_ = com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.getDefaultInstance(); - } - conditionAbsentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence, com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.Builder, com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsenceOrBuilder>( + condition_ = + com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.getDefaultInstance(); + } + conditionAbsentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence, + com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence.Builder, + com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsenceOrBuilder>( (com.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence) condition_, getParentForChildren(), isClean()); condition_ = null; } conditionCase_ = 2; - onChanged();; + onChanged(); + ; return conditionAbsentBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy.Condition.LogMatch, com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.Builder, com.google.monitoring.v3.AlertPolicy.Condition.LogMatchOrBuilder> conditionMatchedLogBuilder_; + com.google.monitoring.v3.AlertPolicy.Condition.LogMatch, + com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.Builder, + com.google.monitoring.v3.AlertPolicy.Condition.LogMatchOrBuilder> + conditionMatchedLogBuilder_; /** + * + * *
        * A condition that checks for log messages matching given constraints. If
        * set, no other conditions can be present.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; + * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; + * + * * @return Whether the conditionMatchedLog field is set. */ @java.lang.Override @@ -11905,12 +13221,16 @@ public boolean hasConditionMatchedLog() { return conditionCase_ == 20; } /** + * + * *
        * A condition that checks for log messages matching given constraints. If
        * set, no other conditions can be present.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; + * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; + * + * * @return The conditionMatchedLog. */ @java.lang.Override @@ -11928,14 +13248,18 @@ public com.google.monitoring.v3.AlertPolicy.Condition.LogMatch getConditionMatch } } /** + * + * *
        * A condition that checks for log messages matching given constraints. If
        * set, no other conditions can be present.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; + * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; + * */ - public Builder setConditionMatchedLog(com.google.monitoring.v3.AlertPolicy.Condition.LogMatch value) { + public Builder setConditionMatchedLog( + com.google.monitoring.v3.AlertPolicy.Condition.LogMatch value) { if (conditionMatchedLogBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -11949,12 +13273,15 @@ public Builder setConditionMatchedLog(com.google.monitoring.v3.AlertPolicy.Condi return this; } /** + * + * *
        * A condition that checks for log messages matching given constraints. If
        * set, no other conditions can be present.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; + * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; + * */ public Builder setConditionMatchedLog( com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.Builder builderForValue) { @@ -11968,19 +13295,27 @@ public Builder setConditionMatchedLog( return this; } /** + * + * *
        * A condition that checks for log messages matching given constraints. If
        * set, no other conditions can be present.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; + * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; + * */ - public Builder mergeConditionMatchedLog(com.google.monitoring.v3.AlertPolicy.Condition.LogMatch value) { + public Builder mergeConditionMatchedLog( + com.google.monitoring.v3.AlertPolicy.Condition.LogMatch value) { if (conditionMatchedLogBuilder_ == null) { - if (conditionCase_ == 20 && - condition_ != com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.getDefaultInstance()) { - condition_ = com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.newBuilder((com.google.monitoring.v3.AlertPolicy.Condition.LogMatch) condition_) - .mergeFrom(value).buildPartial(); + if (conditionCase_ == 20 + && condition_ + != com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.getDefaultInstance()) { + condition_ = + com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.newBuilder( + (com.google.monitoring.v3.AlertPolicy.Condition.LogMatch) condition_) + .mergeFrom(value) + .buildPartial(); } else { condition_ = value; } @@ -11995,12 +13330,15 @@ public Builder mergeConditionMatchedLog(com.google.monitoring.v3.AlertPolicy.Con return this; } /** + * + * *
        * A condition that checks for log messages matching given constraints. If
        * set, no other conditions can be present.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; + * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; + * */ public Builder clearConditionMatchedLog() { if (conditionMatchedLogBuilder_ == null) { @@ -12019,26 +13357,34 @@ public Builder clearConditionMatchedLog() { return this; } /** + * + * *
        * A condition that checks for log messages matching given constraints. If
        * set, no other conditions can be present.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; + * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; + * */ - public com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.Builder getConditionMatchedLogBuilder() { + public com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.Builder + getConditionMatchedLogBuilder() { return getConditionMatchedLogFieldBuilder().getBuilder(); } /** + * + * *
        * A condition that checks for log messages matching given constraints. If
        * set, no other conditions can be present.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; + * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; + * */ @java.lang.Override - public com.google.monitoring.v3.AlertPolicy.Condition.LogMatchOrBuilder getConditionMatchedLogOrBuilder() { + public com.google.monitoring.v3.AlertPolicy.Condition.LogMatchOrBuilder + getConditionMatchedLogOrBuilder() { if ((conditionCase_ == 20) && (conditionMatchedLogBuilder_ != null)) { return conditionMatchedLogBuilder_.getMessageOrBuilder(); } else { @@ -12049,41 +13395,61 @@ public com.google.monitoring.v3.AlertPolicy.Condition.LogMatchOrBuilder getCondi } } /** + * + * *
        * A condition that checks for log messages matching given constraints. If
        * set, no other conditions can be present.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; + * .google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy.Condition.LogMatch, com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.Builder, com.google.monitoring.v3.AlertPolicy.Condition.LogMatchOrBuilder> + com.google.monitoring.v3.AlertPolicy.Condition.LogMatch, + com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.Builder, + com.google.monitoring.v3.AlertPolicy.Condition.LogMatchOrBuilder> getConditionMatchedLogFieldBuilder() { if (conditionMatchedLogBuilder_ == null) { if (!(conditionCase_ == 20)) { - condition_ = com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.getDefaultInstance(); - } - conditionMatchedLogBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy.Condition.LogMatch, com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.Builder, com.google.monitoring.v3.AlertPolicy.Condition.LogMatchOrBuilder>( + condition_ = + com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.getDefaultInstance(); + } + conditionMatchedLogBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.AlertPolicy.Condition.LogMatch, + com.google.monitoring.v3.AlertPolicy.Condition.LogMatch.Builder, + com.google.monitoring.v3.AlertPolicy.Condition.LogMatchOrBuilder>( (com.google.monitoring.v3.AlertPolicy.Condition.LogMatch) condition_, getParentForChildren(), isClean()); condition_ = null; } conditionCase_ = 20; - onChanged();; + onChanged(); + ; return conditionMatchedLogBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition, com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.Builder, com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageConditionOrBuilder> conditionMonitoringQueryLanguageBuilder_; + com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition, + com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition + .Builder, + com.google.monitoring.v3.AlertPolicy.Condition + .MonitoringQueryLanguageConditionOrBuilder> + conditionMonitoringQueryLanguageBuilder_; /** + * + * *
        * A condition that uses the Monitoring Query Language to define
        * alerts.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; + * + * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; + * + * * @return Whether the conditionMonitoringQueryLanguage field is set. */ @java.lang.Override @@ -12091,37 +13457,51 @@ public boolean hasConditionMonitoringQueryLanguage() { return conditionCase_ == 19; } /** + * + * *
        * A condition that uses the Monitoring Query Language to define
        * alerts.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; + * + * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; + * + * * @return The conditionMonitoringQueryLanguage. */ @java.lang.Override - public com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition getConditionMonitoringQueryLanguage() { + public com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition + getConditionMonitoringQueryLanguage() { if (conditionMonitoringQueryLanguageBuilder_ == null) { if (conditionCase_ == 19) { - return (com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) condition_; + return (com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) + condition_; } - return com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.getDefaultInstance(); + return com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition + .getDefaultInstance(); } else { if (conditionCase_ == 19) { return conditionMonitoringQueryLanguageBuilder_.getMessage(); } - return com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.getDefaultInstance(); + return com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition + .getDefaultInstance(); } } /** + * + * *
        * A condition that uses the Monitoring Query Language to define
        * alerts.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; + * + * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; + * */ - public Builder setConditionMonitoringQueryLanguage(com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition value) { + public Builder setConditionMonitoringQueryLanguage( + com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition value) { if (conditionMonitoringQueryLanguageBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12135,15 +13515,20 @@ public Builder setConditionMonitoringQueryLanguage(com.google.monitoring.v3.Aler return this; } /** + * + * *
        * A condition that uses the Monitoring Query Language to define
        * alerts.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; + * + * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; + * */ public Builder setConditionMonitoringQueryLanguage( - com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.Builder builderForValue) { + com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.Builder + builderForValue) { if (conditionMonitoringQueryLanguageBuilder_ == null) { condition_ = builderForValue.build(); onChanged(); @@ -12154,19 +13539,32 @@ public Builder setConditionMonitoringQueryLanguage( return this; } /** + * + * *
        * A condition that uses the Monitoring Query Language to define
        * alerts.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; + * + * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; + * */ - public Builder mergeConditionMonitoringQueryLanguage(com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition value) { + public Builder mergeConditionMonitoringQueryLanguage( + com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition value) { if (conditionMonitoringQueryLanguageBuilder_ == null) { - if (conditionCase_ == 19 && - condition_ != com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.getDefaultInstance()) { - condition_ = com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.newBuilder((com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) condition_) - .mergeFrom(value).buildPartial(); + if (conditionCase_ == 19 + && condition_ + != com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition + .getDefaultInstance()) { + condition_ = + com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition + .newBuilder( + (com.google.monitoring.v3.AlertPolicy.Condition + .MonitoringQueryLanguageCondition) + condition_) + .mergeFrom(value) + .buildPartial(); } else { condition_ = value; } @@ -12181,12 +13579,16 @@ public Builder mergeConditionMonitoringQueryLanguage(com.google.monitoring.v3.Al return this; } /** + * + * *
        * A condition that uses the Monitoring Query Language to define
        * alerts.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; + * + * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; + * */ public Builder clearConditionMonitoringQueryLanguage() { if (conditionMonitoringQueryLanguageBuilder_ == null) { @@ -12205,61 +13607,92 @@ public Builder clearConditionMonitoringQueryLanguage() { return this; } /** + * + * *
        * A condition that uses the Monitoring Query Language to define
        * alerts.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; + * + * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; + * */ - public com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.Builder getConditionMonitoringQueryLanguageBuilder() { + public com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.Builder + getConditionMonitoringQueryLanguageBuilder() { return getConditionMonitoringQueryLanguageFieldBuilder().getBuilder(); } /** + * + * *
        * A condition that uses the Monitoring Query Language to define
        * alerts.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; + * + * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; + * */ @java.lang.Override - public com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageConditionOrBuilder getConditionMonitoringQueryLanguageOrBuilder() { + public com.google.monitoring.v3.AlertPolicy.Condition + .MonitoringQueryLanguageConditionOrBuilder + getConditionMonitoringQueryLanguageOrBuilder() { if ((conditionCase_ == 19) && (conditionMonitoringQueryLanguageBuilder_ != null)) { return conditionMonitoringQueryLanguageBuilder_.getMessageOrBuilder(); } else { if (conditionCase_ == 19) { - return (com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) condition_; + return (com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) + condition_; } - return com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.getDefaultInstance(); + return com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition + .getDefaultInstance(); } } /** + * + * *
        * A condition that uses the Monitoring Query Language to define
        * alerts.
        * 
* - * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; + * + * .google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition, com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.Builder, com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageConditionOrBuilder> + com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition, + com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition + .Builder, + com.google.monitoring.v3.AlertPolicy.Condition + .MonitoringQueryLanguageConditionOrBuilder> getConditionMonitoringQueryLanguageFieldBuilder() { if (conditionMonitoringQueryLanguageBuilder_ == null) { if (!(conditionCase_ == 19)) { - condition_ = com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.getDefaultInstance(); - } - conditionMonitoringQueryLanguageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition, com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition.Builder, com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageConditionOrBuilder>( - (com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) condition_, + condition_ = + com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition + .getDefaultInstance(); + } + conditionMonitoringQueryLanguageBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition, + com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition + .Builder, + com.google.monitoring.v3.AlertPolicy.Condition + .MonitoringQueryLanguageConditionOrBuilder>( + (com.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition) + condition_, getParentForChildren(), isClean()); condition_ = null; } conditionCase_ = 19; - onChanged();; + onChanged(); + ; return conditionMonitoringQueryLanguageBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -12272,12 +13705,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.AlertPolicy.Condition) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.AlertPolicy.Condition) private static final com.google.monitoring.v3.AlertPolicy.Condition DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.AlertPolicy.Condition(); } @@ -12286,16 +13719,16 @@ public static com.google.monitoring.v3.AlertPolicy.Condition getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Condition parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Condition(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Condition parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Condition(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -12310,64 +13743,88 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.AlertPolicy.Condition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface AlertStrategyOrBuilder extends + public interface AlertStrategyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.AlertPolicy.AlertStrategy) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required for alert policies with a `LogMatch` condition.
      * This limit is not implemented for alert policies that are not log-based.
      * 
* - * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; + * + * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; + * + * * @return Whether the notificationRateLimit field is set. */ boolean hasNotificationRateLimit(); /** + * + * *
      * Required for alert policies with a `LogMatch` condition.
      * This limit is not implemented for alert policies that are not log-based.
      * 
* - * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; + * + * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; + * + * * @return The notificationRateLimit. */ - com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit getNotificationRateLimit(); + com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit + getNotificationRateLimit(); /** + * + * *
      * Required for alert policies with a `LogMatch` condition.
      * This limit is not implemented for alert policies that are not log-based.
      * 
* - * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; + * + * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; + * */ - com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimitOrBuilder getNotificationRateLimitOrBuilder(); + com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimitOrBuilder + getNotificationRateLimitOrBuilder(); /** + * + * *
      * If an alert policy that was active has no data for this long, any open
      * incidents will close
      * 
* * .google.protobuf.Duration auto_close = 3; + * * @return Whether the autoClose field is set. */ boolean hasAutoClose(); /** + * + * *
      * If an alert policy that was active has no data for this long, any open
      * incidents will close
      * 
* * .google.protobuf.Duration auto_close = 3; + * * @return The autoClose. */ com.google.protobuf.Duration getAutoClose(); /** + * + * *
      * If an alert policy that was active has no data for this long, any open
      * incidents will close
@@ -12378,6 +13835,8 @@ public interface AlertStrategyOrBuilder extends
     com.google.protobuf.DurationOrBuilder getAutoCloseOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Control over how the notification channels in `notification_channels`
    * are notified when this alert fires.
@@ -12385,30 +13844,29 @@ public interface AlertStrategyOrBuilder extends
    *
    * Protobuf type {@code google.monitoring.v3.AlertPolicy.AlertStrategy}
    */
-  public static final class AlertStrategy extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class AlertStrategy extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.monitoring.v3.AlertPolicy.AlertStrategy)
       AlertStrategyOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use AlertStrategy.newBuilder() to construct.
     private AlertStrategy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private AlertStrategy() {
-    }
+
+    private AlertStrategy() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new AlertStrategy();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private AlertStrategy(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -12427,87 +13885,106 @@ private AlertStrategy(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.Builder subBuilder = null;
-              if (notificationRateLimit_ != null) {
-                subBuilder = notificationRateLimit_.toBuilder();
-              }
-              notificationRateLimit_ = input.readMessage(com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(notificationRateLimit_);
-                notificationRateLimit_ = subBuilder.buildPartial();
-              }
+            case 10:
+              {
+                com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.Builder
+                    subBuilder = null;
+                if (notificationRateLimit_ != null) {
+                  subBuilder = notificationRateLimit_.toBuilder();
+                }
+                notificationRateLimit_ =
+                    input.readMessage(
+                        com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit
+                            .parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(notificationRateLimit_);
+                  notificationRateLimit_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 26: {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (autoClose_ != null) {
-                subBuilder = autoClose_.toBuilder();
-              }
-              autoClose_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(autoClose_);
-                autoClose_ = subBuilder.buildPartial();
+                break;
               }
+            case 26:
+              {
+                com.google.protobuf.Duration.Builder subBuilder = null;
+                if (autoClose_ != null) {
+                  subBuilder = autoClose_.toBuilder();
+                }
+                autoClose_ =
+                    input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(autoClose_);
+                  autoClose_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.monitoring.v3.AlertProto
+          .internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_fieldAccessorTable
+      return com.google.monitoring.v3.AlertProto
+          .internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.AlertPolicy.AlertStrategy.class, com.google.monitoring.v3.AlertPolicy.AlertStrategy.Builder.class);
+              com.google.monitoring.v3.AlertPolicy.AlertStrategy.class,
+              com.google.monitoring.v3.AlertPolicy.AlertStrategy.Builder.class);
     }
 
-    public interface NotificationRateLimitOrBuilder extends
+    public interface NotificationRateLimitOrBuilder
+        extends
         // @@protoc_insertion_point(interface_extends:google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit)
         com.google.protobuf.MessageOrBuilder {
 
       /**
+       *
+       *
        * 
        * Not more than one notification per `period`.
        * 
* * .google.protobuf.Duration period = 1; + * * @return Whether the period field is set. */ boolean hasPeriod(); /** + * + * *
        * Not more than one notification per `period`.
        * 
* * .google.protobuf.Duration period = 1; + * * @return The period. */ com.google.protobuf.Duration getPeriod(); /** + * + * *
        * Not more than one notification per `period`.
        * 
@@ -12517,6 +13994,8 @@ public interface NotificationRateLimitOrBuilder extends com.google.protobuf.DurationOrBuilder getPeriodOrBuilder(); } /** + * + * *
      * Control over the rate of notifications sent to this alert policy's
      * notification channels.
@@ -12524,30 +14003,29 @@ public interface NotificationRateLimitOrBuilder extends
      *
      * Protobuf type {@code google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit}
      */
-    public static final class NotificationRateLimit extends
-        com.google.protobuf.GeneratedMessageV3 implements
+    public static final class NotificationRateLimit extends com.google.protobuf.GeneratedMessageV3
+        implements
         // @@protoc_insertion_point(message_implements:google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit)
         NotificationRateLimitOrBuilder {
-    private static final long serialVersionUID = 0L;
+      private static final long serialVersionUID = 0L;
       // Use NotificationRateLimit.newBuilder() to construct.
       private NotificationRateLimit(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-      private NotificationRateLimit() {
-      }
+
+      private NotificationRateLimit() {}
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(
-          UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
         return new NotificationRateLimit();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet
-      getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
         return this.unknownFields;
       }
+
       private NotificationRateLimit(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -12566,59 +14044,68 @@ private NotificationRateLimit(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                com.google.protobuf.Duration.Builder subBuilder = null;
-                if (period_ != null) {
-                  subBuilder = period_.toBuilder();
+              case 10:
+                {
+                  com.google.protobuf.Duration.Builder subBuilder = null;
+                  if (period_ != null) {
+                    subBuilder = period_.toBuilder();
+                  }
+                  period_ =
+                      input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+                  if (subBuilder != null) {
+                    subBuilder.mergeFrom(period_);
+                    period_ = subBuilder.buildPartial();
+                  }
+
+                  break;
                 }
-                period_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(period_);
-                  period_ = subBuilder.buildPartial();
-                }
-
-                break;
-              }
-              default: {
-                if (!parseUnknownField(
-                    input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
+              default:
+                {
+                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                    done = true;
+                  }
+                  break;
                 }
-                break;
-              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
           throw e.setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(
-              e).setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_NotificationRateLimit_descriptor;
+
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.monitoring.v3.AlertProto
+            .internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_NotificationRateLimit_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_NotificationRateLimit_fieldAccessorTable
+        return com.google.monitoring.v3.AlertProto
+            .internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_NotificationRateLimit_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.class, com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.Builder.class);
+                com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.class,
+                com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.Builder
+                    .class);
       }
 
       public static final int PERIOD_FIELD_NUMBER = 1;
       private com.google.protobuf.Duration period_;
       /**
+       *
+       *
        * 
        * Not more than one notification per `period`.
        * 
* * .google.protobuf.Duration period = 1; + * * @return Whether the period field is set. */ @java.lang.Override @@ -12626,11 +14113,14 @@ public boolean hasPeriod() { return period_ != null; } /** + * + * *
        * Not more than one notification per `period`.
        * 
* * .google.protobuf.Duration period = 1; + * * @return The period. */ @java.lang.Override @@ -12638,6 +14128,8 @@ public com.google.protobuf.Duration getPeriod() { return period_ == null ? com.google.protobuf.Duration.getDefaultInstance() : period_; } /** + * + * *
        * Not more than one notification per `period`.
        * 
@@ -12650,6 +14142,7 @@ public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -12661,8 +14154,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (period_ != null) { output.writeMessage(1, getPeriod()); } @@ -12676,8 +14168,7 @@ public int getSerializedSize() { size = 0; if (period_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getPeriod()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPeriod()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -12687,17 +14178,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.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit)) { + if (!(obj + instanceof com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit)) { return super.equals(obj); } - com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit other = (com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit) obj; + com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit other = + (com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit) obj; if (hasPeriod() != other.hasPeriod()) return false; if (hasPeriod()) { - if (!getPeriod() - .equals(other.getPeriod())) return false; + if (!getPeriod().equals(other.getPeriod())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -12719,88 +14211,103 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -12810,6 +14317,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Control over the rate of notifications sent to this alert policy's
        * notification channels.
@@ -12817,38 +14326,42 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit}
        */
-      public static final class Builder extends
-          com.google.protobuf.GeneratedMessageV3.Builder implements
+      public static final class Builder
+          extends com.google.protobuf.GeneratedMessageV3.Builder
+          implements
           // @@protoc_insertion_point(builder_implements:google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit)
           com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimitOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor
-            getDescriptor() {
-          return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_NotificationRateLimit_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+          return com.google.monitoring.v3.AlertProto
+              .internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_NotificationRateLimit_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_NotificationRateLimit_fieldAccessorTable
+          return com.google.monitoring.v3.AlertProto
+              .internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_NotificationRateLimit_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.class, com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.Builder.class);
+                  com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.class,
+                  com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.Builder
+                      .class);
         }
 
-        // Construct using com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.newBuilder()
+        // Construct using
+        // com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
 
-        private Builder(
-            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
+
         private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3
-                  .alwaysUseFieldBuilders) {
-          }
+          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
         }
+
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -12862,19 +14375,22 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor
-            getDescriptorForType() {
-          return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_NotificationRateLimit_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+          return com.google.monitoring.v3.AlertProto
+              .internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_NotificationRateLimit_descriptor;
         }
 
         @java.lang.Override
-        public com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit getDefaultInstanceForType() {
-          return com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.getDefaultInstance();
+        public com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit
+            getDefaultInstanceForType() {
+          return com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit
+              .getDefaultInstance();
         }
 
         @java.lang.Override
         public com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit build() {
-          com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit result = buildPartial();
+          com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit result =
+              buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
@@ -12882,8 +14398,10 @@ public com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit
         }
 
         @java.lang.Override
-        public com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit buildPartial() {
-          com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit result = new com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit(this);
+        public com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit
+            buildPartial() {
+          com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit result =
+              new com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit(this);
           if (periodBuilder_ == null) {
             result.period_ = period_;
           } else {
@@ -12897,46 +14415,54 @@ public com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit
         public Builder clone() {
           return super.clone();
         }
+
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field,
-            java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
           return super.setField(field, value);
         }
+
         @java.lang.Override
-        public Builder clearField(
-            com.google.protobuf.Descriptors.FieldDescriptor field) {
+        public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
+
         @java.lang.Override
-        public Builder clearOneof(
-            com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+        public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
           return super.clearOneof(oneof);
         }
+
         @java.lang.Override
         public Builder setRepeatedField(
             com.google.protobuf.Descriptors.FieldDescriptor field,
-            int index, java.lang.Object value) {
+            int index,
+            java.lang.Object value) {
           return super.setRepeatedField(field, index, value);
         }
+
         @java.lang.Override
         public Builder addRepeatedField(
-            com.google.protobuf.Descriptors.FieldDescriptor field,
-            java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
           return super.addRepeatedField(field, value);
         }
+
         @java.lang.Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
-          if (other instanceof com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit) {
-            return mergeFrom((com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit)other);
+          if (other
+              instanceof com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit) {
+            return mergeFrom(
+                (com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit) other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit other) {
-          if (other == com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.getDefaultInstance()) return this;
+        public Builder mergeFrom(
+            com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit other) {
+          if (other
+              == com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit
+                  .getDefaultInstance()) return this;
           if (other.hasPeriod()) {
             mergePeriod(other.getPeriod());
           }
@@ -12955,11 +14481,14 @@ public Builder mergeFrom(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
             throws java.io.IOException {
-          com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit parsedMessage = null;
+          com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit parsedMessage =
+              null;
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            parsedMessage = (com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit) e.getUnfinishedMessage();
+            parsedMessage =
+                (com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit)
+                    e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
@@ -12971,24 +14500,33 @@ public Builder mergeFrom(
 
         private com.google.protobuf.Duration period_;
         private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> periodBuilder_;
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>
+            periodBuilder_;
         /**
+         *
+         *
          * 
          * Not more than one notification per `period`.
          * 
* * .google.protobuf.Duration period = 1; + * * @return Whether the period field is set. */ public boolean hasPeriod() { return periodBuilder_ != null || period_ != null; } /** + * + * *
          * Not more than one notification per `period`.
          * 
* * .google.protobuf.Duration period = 1; + * * @return The period. */ public com.google.protobuf.Duration getPeriod() { @@ -12999,6 +14537,8 @@ public com.google.protobuf.Duration getPeriod() { } } /** + * + * *
          * Not more than one notification per `period`.
          * 
@@ -13019,14 +14559,15 @@ public Builder setPeriod(com.google.protobuf.Duration value) { return this; } /** + * + * *
          * Not more than one notification per `period`.
          * 
* * .google.protobuf.Duration period = 1; */ - public Builder setPeriod( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setPeriod(com.google.protobuf.Duration.Builder builderForValue) { if (periodBuilder_ == null) { period_ = builderForValue.build(); onChanged(); @@ -13037,6 +14578,8 @@ public Builder setPeriod( return this; } /** + * + * *
          * Not more than one notification per `period`.
          * 
@@ -13047,7 +14590,7 @@ public Builder mergePeriod(com.google.protobuf.Duration value) { if (periodBuilder_ == null) { if (period_ != null) { period_ = - com.google.protobuf.Duration.newBuilder(period_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(period_).mergeFrom(value).buildPartial(); } else { period_ = value; } @@ -13059,6 +14602,8 @@ public Builder mergePeriod(com.google.protobuf.Duration value) { return this; } /** + * + * *
          * Not more than one notification per `period`.
          * 
@@ -13077,6 +14622,8 @@ public Builder clearPeriod() { return this; } /** + * + * *
          * Not more than one notification per `period`.
          * 
@@ -13084,11 +14631,13 @@ public Builder clearPeriod() { * .google.protobuf.Duration period = 1; */ public com.google.protobuf.Duration.Builder getPeriodBuilder() { - + onChanged(); return getPeriodFieldBuilder().getBuilder(); } /** + * + * *
          * Not more than one notification per `period`.
          * 
@@ -13099,11 +14648,12 @@ public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder() { if (periodBuilder_ != null) { return periodBuilder_.getMessageOrBuilder(); } else { - return period_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : period_; + return period_ == null ? com.google.protobuf.Duration.getDefaultInstance() : period_; } } /** + * + * *
          * Not more than one notification per `period`.
          * 
@@ -13111,18 +14661,22 @@ public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder() { * .google.protobuf.Duration period = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> getPeriodFieldBuilder() { if (periodBuilder_ == null) { - periodBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getPeriod(), - getParentForChildren(), - isClean()); + periodBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getPeriod(), getParentForChildren(), isClean()); period_ = null; } return periodBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -13135,30 +14689,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit) - private static final com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit DEFAULT_INSTANCE; + private static final com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit(); + DEFAULT_INSTANCE = + new com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit(); } - public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit getDefaultInstance() { + public static com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NotificationRateLimit parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NotificationRateLimit(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NotificationRateLimit parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NotificationRateLimit(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -13170,21 +14727,27 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit getDefaultInstanceForType() { + public com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NOTIFICATION_RATE_LIMIT_FIELD_NUMBER = 1; - private com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notificationRateLimit_; + private com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit + notificationRateLimit_; /** + * + * *
      * Required for alert policies with a `LogMatch` condition.
      * This limit is not implemented for alert policies that are not log-based.
      * 
* - * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; + * + * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; + * + * * @return Whether the notificationRateLimit field is set. */ @java.lang.Override @@ -13192,40 +14755,57 @@ public boolean hasNotificationRateLimit() { return notificationRateLimit_ != null; } /** + * + * *
      * Required for alert policies with a `LogMatch` condition.
      * This limit is not implemented for alert policies that are not log-based.
      * 
* - * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; + * + * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; + * + * * @return The notificationRateLimit. */ @java.lang.Override - public com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit getNotificationRateLimit() { - return notificationRateLimit_ == null ? com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.getDefaultInstance() : notificationRateLimit_; + public com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit + getNotificationRateLimit() { + return notificationRateLimit_ == null + ? com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit + .getDefaultInstance() + : notificationRateLimit_; } /** + * + * *
      * Required for alert policies with a `LogMatch` condition.
      * This limit is not implemented for alert policies that are not log-based.
      * 
* - * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; + * + * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; + * */ @java.lang.Override - public com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimitOrBuilder getNotificationRateLimitOrBuilder() { + public com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimitOrBuilder + getNotificationRateLimitOrBuilder() { return getNotificationRateLimit(); } public static final int AUTO_CLOSE_FIELD_NUMBER = 3; private com.google.protobuf.Duration autoClose_; /** + * + * *
      * If an alert policy that was active has no data for this long, any open
      * incidents will close
      * 
* * .google.protobuf.Duration auto_close = 3; + * * @return Whether the autoClose field is set. */ @java.lang.Override @@ -13233,12 +14813,15 @@ public boolean hasAutoClose() { return autoClose_ != null; } /** + * + * *
      * If an alert policy that was active has no data for this long, any open
      * incidents will close
      * 
* * .google.protobuf.Duration auto_close = 3; + * * @return The autoClose. */ @java.lang.Override @@ -13246,6 +14829,8 @@ public com.google.protobuf.Duration getAutoClose() { return autoClose_ == null ? com.google.protobuf.Duration.getDefaultInstance() : autoClose_; } /** + * + * *
      * If an alert policy that was active has no data for this long, any open
      * incidents will close
@@ -13259,6 +14844,7 @@ public com.google.protobuf.DurationOrBuilder getAutoCloseOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -13270,8 +14856,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (notificationRateLimit_ != null) {
         output.writeMessage(1, getNotificationRateLimit());
       }
@@ -13288,12 +14873,11 @@ public int getSerializedSize() {
 
       size = 0;
       if (notificationRateLimit_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getNotificationRateLimit());
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(1, getNotificationRateLimit());
       }
       if (autoClose_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(3, getAutoClose());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getAutoClose());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -13303,22 +14887,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.monitoring.v3.AlertPolicy.AlertStrategy)) {
         return super.equals(obj);
       }
-      com.google.monitoring.v3.AlertPolicy.AlertStrategy other = (com.google.monitoring.v3.AlertPolicy.AlertStrategy) obj;
+      com.google.monitoring.v3.AlertPolicy.AlertStrategy other =
+          (com.google.monitoring.v3.AlertPolicy.AlertStrategy) obj;
 
       if (hasNotificationRateLimit() != other.hasNotificationRateLimit()) return false;
       if (hasNotificationRateLimit()) {
-        if (!getNotificationRateLimit()
-            .equals(other.getNotificationRateLimit())) return false;
+        if (!getNotificationRateLimit().equals(other.getNotificationRateLimit())) return false;
       }
       if (hasAutoClose() != other.hasAutoClose()) return false;
       if (hasAutoClose()) {
-        if (!getAutoClose()
-            .equals(other.getAutoClose())) return false;
+        if (!getAutoClose().equals(other.getAutoClose())) return false;
       }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -13345,87 +14928,93 @@ public int hashCode() {
     }
 
     public static com.google.monitoring.v3.AlertPolicy.AlertStrategy parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.monitoring.v3.AlertPolicy.AlertStrategy parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.monitoring.v3.AlertPolicy.AlertStrategy parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.monitoring.v3.AlertPolicy.AlertStrategy parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.monitoring.v3.AlertPolicy.AlertStrategy parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.monitoring.v3.AlertPolicy.AlertStrategy parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.monitoring.v3.AlertPolicy.AlertStrategy parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.monitoring.v3.AlertPolicy.AlertStrategy parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.monitoring.v3.AlertPolicy.AlertStrategy parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.monitoring.v3.AlertPolicy.AlertStrategy parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.monitoring.v3.AlertPolicy.AlertStrategy parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.monitoring.v3.AlertPolicy.AlertStrategy parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.monitoring.v3.AlertPolicy.AlertStrategy parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.monitoring.v3.AlertPolicy.AlertStrategy parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
+
     public static Builder newBuilder(com.google.monitoring.v3.AlertPolicy.AlertStrategy prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -13435,6 +15024,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Control over how the notification channels in `notification_channels`
      * are notified when this alert fires.
@@ -13442,21 +15033,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.monitoring.v3.AlertPolicy.AlertStrategy}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.monitoring.v3.AlertPolicy.AlertStrategy)
         com.google.monitoring.v3.AlertPolicy.AlertStrategyOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.monitoring.v3.AlertProto
+            .internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_fieldAccessorTable
+        return com.google.monitoring.v3.AlertProto
+            .internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.monitoring.v3.AlertPolicy.AlertStrategy.class, com.google.monitoring.v3.AlertPolicy.AlertStrategy.Builder.class);
+                com.google.monitoring.v3.AlertPolicy.AlertStrategy.class,
+                com.google.monitoring.v3.AlertPolicy.AlertStrategy.Builder.class);
       }
 
       // Construct using com.google.monitoring.v3.AlertPolicy.AlertStrategy.newBuilder()
@@ -13464,16 +15058,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -13493,9 +15086,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.monitoring.v3.AlertProto
+            .internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_descriptor;
       }
 
       @java.lang.Override
@@ -13514,7 +15107,8 @@ public com.google.monitoring.v3.AlertPolicy.AlertStrategy build() {
 
       @java.lang.Override
       public com.google.monitoring.v3.AlertPolicy.AlertStrategy buildPartial() {
-        com.google.monitoring.v3.AlertPolicy.AlertStrategy result = new com.google.monitoring.v3.AlertPolicy.AlertStrategy(this);
+        com.google.monitoring.v3.AlertPolicy.AlertStrategy result =
+            new com.google.monitoring.v3.AlertPolicy.AlertStrategy(this);
         if (notificationRateLimitBuilder_ == null) {
           result.notificationRateLimit_ = notificationRateLimit_;
         } else {
@@ -13533,38 +15127,41 @@ public com.google.monitoring.v3.AlertPolicy.AlertStrategy 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.monitoring.v3.AlertPolicy.AlertStrategy) {
-          return mergeFrom((com.google.monitoring.v3.AlertPolicy.AlertStrategy)other);
+          return mergeFrom((com.google.monitoring.v3.AlertPolicy.AlertStrategy) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -13572,7 +15169,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.monitoring.v3.AlertPolicy.AlertStrategy other) {
-        if (other == com.google.monitoring.v3.AlertPolicy.AlertStrategy.getDefaultInstance()) return this;
+        if (other == com.google.monitoring.v3.AlertPolicy.AlertStrategy.getDefaultInstance())
+          return this;
         if (other.hasNotificationRateLimit()) {
           mergeNotificationRateLimit(other.getNotificationRateLimit());
         }
@@ -13598,7 +15196,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.monitoring.v3.AlertPolicy.AlertStrategy) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.monitoring.v3.AlertPolicy.AlertStrategy) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -13608,46 +15207,69 @@ public Builder mergeFrom(
         return this;
       }
 
-      private com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notificationRateLimit_;
+      private com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit
+          notificationRateLimit_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit, com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.Builder, com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimitOrBuilder> notificationRateLimitBuilder_;
+              com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit,
+              com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.Builder,
+              com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimitOrBuilder>
+          notificationRateLimitBuilder_;
       /**
+       *
+       *
        * 
        * Required for alert policies with a `LogMatch` condition.
        * This limit is not implemented for alert policies that are not log-based.
        * 
* - * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; + * + * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; + * + * * @return Whether the notificationRateLimit field is set. */ public boolean hasNotificationRateLimit() { return notificationRateLimitBuilder_ != null || notificationRateLimit_ != null; } /** + * + * *
        * Required for alert policies with a `LogMatch` condition.
        * This limit is not implemented for alert policies that are not log-based.
        * 
* - * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; + * + * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; + * + * * @return The notificationRateLimit. */ - public com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit getNotificationRateLimit() { + public com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit + getNotificationRateLimit() { if (notificationRateLimitBuilder_ == null) { - return notificationRateLimit_ == null ? com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.getDefaultInstance() : notificationRateLimit_; + return notificationRateLimit_ == null + ? com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit + .getDefaultInstance() + : notificationRateLimit_; } else { return notificationRateLimitBuilder_.getMessage(); } } /** + * + * *
        * Required for alert policies with a `LogMatch` condition.
        * This limit is not implemented for alert policies that are not log-based.
        * 
* - * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; + * + * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; + * */ - public Builder setNotificationRateLimit(com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit value) { + public Builder setNotificationRateLimit( + com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit value) { if (notificationRateLimitBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -13661,15 +15283,20 @@ public Builder setNotificationRateLimit(com.google.monitoring.v3.AlertPolicy.Ale return this; } /** + * + * *
        * Required for alert policies with a `LogMatch` condition.
        * This limit is not implemented for alert policies that are not log-based.
        * 
* - * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; + * + * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; + * */ public Builder setNotificationRateLimit( - com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.Builder builderForValue) { + com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.Builder + builderForValue) { if (notificationRateLimitBuilder_ == null) { notificationRateLimit_ = builderForValue.build(); onChanged(); @@ -13680,18 +15307,26 @@ public Builder setNotificationRateLimit( return this; } /** + * + * *
        * Required for alert policies with a `LogMatch` condition.
        * This limit is not implemented for alert policies that are not log-based.
        * 
* - * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; + * + * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; + * */ - public Builder mergeNotificationRateLimit(com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit value) { + public Builder mergeNotificationRateLimit( + com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit value) { if (notificationRateLimitBuilder_ == null) { if (notificationRateLimit_ != null) { notificationRateLimit_ = - com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.newBuilder(notificationRateLimit_).mergeFrom(value).buildPartial(); + com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.newBuilder( + notificationRateLimit_) + .mergeFrom(value) + .buildPartial(); } else { notificationRateLimit_ = value; } @@ -13703,12 +15338,16 @@ public Builder mergeNotificationRateLimit(com.google.monitoring.v3.AlertPolicy.A return this; } /** + * + * *
        * Required for alert policies with a `LogMatch` condition.
        * This limit is not implemented for alert policies that are not log-based.
        * 
* - * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; + * + * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; + * */ public Builder clearNotificationRateLimit() { if (notificationRateLimitBuilder_ == null) { @@ -13722,51 +15361,71 @@ public Builder clearNotificationRateLimit() { return this; } /** + * + * *
        * Required for alert policies with a `LogMatch` condition.
        * This limit is not implemented for alert policies that are not log-based.
        * 
* - * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; + * + * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; + * */ - public com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.Builder getNotificationRateLimitBuilder() { - + public com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.Builder + getNotificationRateLimitBuilder() { + onChanged(); return getNotificationRateLimitFieldBuilder().getBuilder(); } /** + * + * *
        * Required for alert policies with a `LogMatch` condition.
        * This limit is not implemented for alert policies that are not log-based.
        * 
* - * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; + * + * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; + * */ - public com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimitOrBuilder getNotificationRateLimitOrBuilder() { + public com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimitOrBuilder + getNotificationRateLimitOrBuilder() { if (notificationRateLimitBuilder_ != null) { return notificationRateLimitBuilder_.getMessageOrBuilder(); } else { - return notificationRateLimit_ == null ? - com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.getDefaultInstance() : notificationRateLimit_; + return notificationRateLimit_ == null + ? com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit + .getDefaultInstance() + : notificationRateLimit_; } } /** + * + * *
        * Required for alert policies with a `LogMatch` condition.
        * This limit is not implemented for alert policies that are not log-based.
        * 
* - * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; + * + * .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit, com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.Builder, com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimitOrBuilder> + com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit, + com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.Builder, + com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimitOrBuilder> getNotificationRateLimitFieldBuilder() { if (notificationRateLimitBuilder_ == null) { - notificationRateLimitBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit, com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.Builder, com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimitOrBuilder>( - getNotificationRateLimit(), - getParentForChildren(), - isClean()); + notificationRateLimitBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit, + com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.Builder, + com.google.monitoring.v3.AlertPolicy.AlertStrategy + .NotificationRateLimitOrBuilder>( + getNotificationRateLimit(), getParentForChildren(), isClean()); notificationRateLimit_ = null; } return notificationRateLimitBuilder_; @@ -13774,36 +15433,49 @@ public com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimitO private com.google.protobuf.Duration autoClose_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> autoCloseBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + autoCloseBuilder_; /** + * + * *
        * If an alert policy that was active has no data for this long, any open
        * incidents will close
        * 
* * .google.protobuf.Duration auto_close = 3; + * * @return Whether the autoClose field is set. */ public boolean hasAutoClose() { return autoCloseBuilder_ != null || autoClose_ != null; } /** + * + * *
        * If an alert policy that was active has no data for this long, any open
        * incidents will close
        * 
* * .google.protobuf.Duration auto_close = 3; + * * @return The autoClose. */ public com.google.protobuf.Duration getAutoClose() { if (autoCloseBuilder_ == null) { - return autoClose_ == null ? com.google.protobuf.Duration.getDefaultInstance() : autoClose_; + return autoClose_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : autoClose_; } else { return autoCloseBuilder_.getMessage(); } } /** + * + * *
        * If an alert policy that was active has no data for this long, any open
        * incidents will close
@@ -13825,6 +15497,8 @@ public Builder setAutoClose(com.google.protobuf.Duration value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * If an alert policy that was active has no data for this long, any open
        * incidents will close
@@ -13832,8 +15506,7 @@ public Builder setAutoClose(com.google.protobuf.Duration value) {
        *
        * .google.protobuf.Duration auto_close = 3;
        */
-      public Builder setAutoClose(
-          com.google.protobuf.Duration.Builder builderForValue) {
+      public Builder setAutoClose(com.google.protobuf.Duration.Builder builderForValue) {
         if (autoCloseBuilder_ == null) {
           autoClose_ = builderForValue.build();
           onChanged();
@@ -13844,6 +15517,8 @@ public Builder setAutoClose(
         return this;
       }
       /**
+       *
+       *
        * 
        * If an alert policy that was active has no data for this long, any open
        * incidents will close
@@ -13855,7 +15530,7 @@ public Builder mergeAutoClose(com.google.protobuf.Duration value) {
         if (autoCloseBuilder_ == null) {
           if (autoClose_ != null) {
             autoClose_ =
-              com.google.protobuf.Duration.newBuilder(autoClose_).mergeFrom(value).buildPartial();
+                com.google.protobuf.Duration.newBuilder(autoClose_).mergeFrom(value).buildPartial();
           } else {
             autoClose_ = value;
           }
@@ -13867,6 +15542,8 @@ public Builder mergeAutoClose(com.google.protobuf.Duration value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * If an alert policy that was active has no data for this long, any open
        * incidents will close
@@ -13886,6 +15563,8 @@ public Builder clearAutoClose() {
         return this;
       }
       /**
+       *
+       *
        * 
        * If an alert policy that was active has no data for this long, any open
        * incidents will close
@@ -13894,11 +15573,13 @@ public Builder clearAutoClose() {
        * .google.protobuf.Duration auto_close = 3;
        */
       public com.google.protobuf.Duration.Builder getAutoCloseBuilder() {
-        
+
         onChanged();
         return getAutoCloseFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * If an alert policy that was active has no data for this long, any open
        * incidents will close
@@ -13910,11 +15591,14 @@ public com.google.protobuf.DurationOrBuilder getAutoCloseOrBuilder() {
         if (autoCloseBuilder_ != null) {
           return autoCloseBuilder_.getMessageOrBuilder();
         } else {
-          return autoClose_ == null ?
-              com.google.protobuf.Duration.getDefaultInstance() : autoClose_;
+          return autoClose_ == null
+              ? com.google.protobuf.Duration.getDefaultInstance()
+              : autoClose_;
         }
       }
       /**
+       *
+       *
        * 
        * If an alert policy that was active has no data for this long, any open
        * incidents will close
@@ -13923,18 +15607,22 @@ public com.google.protobuf.DurationOrBuilder getAutoCloseOrBuilder() {
        * .google.protobuf.Duration auto_close = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+              com.google.protobuf.Duration,
+              com.google.protobuf.Duration.Builder,
+              com.google.protobuf.DurationOrBuilder>
           getAutoCloseFieldBuilder() {
         if (autoCloseBuilder_ == null) {
-          autoCloseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                  getAutoClose(),
-                  getParentForChildren(),
-                  isClean());
+          autoCloseBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Duration,
+                  com.google.protobuf.Duration.Builder,
+                  com.google.protobuf.DurationOrBuilder>(
+                  getAutoClose(), getParentForChildren(), isClean());
           autoClose_ = null;
         }
         return autoCloseBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -13947,12 +15635,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.monitoring.v3.AlertPolicy.AlertStrategy)
     }
 
     // @@protoc_insertion_point(class_scope:google.monitoring.v3.AlertPolicy.AlertStrategy)
     private static final com.google.monitoring.v3.AlertPolicy.AlertStrategy DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.monitoring.v3.AlertPolicy.AlertStrategy();
     }
@@ -13961,16 +15649,16 @@ public static com.google.monitoring.v3.AlertPolicy.AlertStrategy getDefaultInsta
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public AlertStrategy parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new AlertStrategy(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public AlertStrategy parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new AlertStrategy(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -13985,12 +15673,13 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.monitoring.v3.AlertPolicy.AlertStrategy getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required if the policy exists. The resource name for this policy. The
    * format is:
@@ -14003,6 +15692,7 @@ public com.google.monitoring.v3.AlertPolicy.AlertStrategy getDefaultInstanceForT
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -14011,14 +15701,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required if the policy exists. The resource name for this policy. The
    * format is:
@@ -14031,16 +15722,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -14051,6 +15741,8 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * A short name or phrase used to identify the policy in dashboards,
    * notifications, and incidents. To avoid confusion, don't use the same
@@ -14059,6 +15751,7 @@ public java.lang.String getName() {
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -14067,14 +15760,15 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * A short name or phrase used to identify the policy in dashboards,
    * notifications, and incidents. To avoid confusion, don't use the same
@@ -14083,16 +15777,15 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -14103,6 +15796,8 @@ public java.lang.String getDisplayName() { public static final int DOCUMENTATION_FIELD_NUMBER = 13; private com.google.monitoring.v3.AlertPolicy.Documentation documentation_; /** + * + * *
    * Documentation that is included with notifications and incidents related to
    * this policy. Best practice is for the documentation to include information
@@ -14112,6 +15807,7 @@ public java.lang.String getDisplayName() {
    * 
* * .google.monitoring.v3.AlertPolicy.Documentation documentation = 13; + * * @return Whether the documentation field is set. */ @java.lang.Override @@ -14119,6 +15815,8 @@ public boolean hasDocumentation() { return documentation_ != null; } /** + * + * *
    * Documentation that is included with notifications and incidents related to
    * this policy. Best practice is for the documentation to include information
@@ -14128,13 +15826,18 @@ public boolean hasDocumentation() {
    * 
* * .google.monitoring.v3.AlertPolicy.Documentation documentation = 13; + * * @return The documentation. */ @java.lang.Override public com.google.monitoring.v3.AlertPolicy.Documentation getDocumentation() { - return documentation_ == null ? com.google.monitoring.v3.AlertPolicy.Documentation.getDefaultInstance() : documentation_; + return documentation_ == null + ? com.google.monitoring.v3.AlertPolicy.Documentation.getDefaultInstance() + : documentation_; } /** + * + * *
    * Documentation that is included with notifications and incidents related to
    * this policy. Best practice is for the documentation to include information
@@ -14151,24 +15854,23 @@ public com.google.monitoring.v3.AlertPolicy.DocumentationOrBuilder getDocumentat
   }
 
   public static final int USER_LABELS_FIELD_NUMBER = 16;
+
   private static final class UserLabelsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry<
-        java.lang.String, java.lang.String> defaultEntry =
-            com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_UserLabelsEntry_descriptor, 
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "");
+    static final com.google.protobuf.MapEntry defaultEntry =
+        com.google.protobuf.MapEntry.newDefaultInstance(
+            com.google.monitoring.v3.AlertProto
+                .internal_static_google_monitoring_v3_AlertPolicy_UserLabelsEntry_descriptor,
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "",
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "");
   }
-  private com.google.protobuf.MapField<
-      java.lang.String, java.lang.String> userLabels_;
-  private com.google.protobuf.MapField
-  internalGetUserLabels() {
+
+  private com.google.protobuf.MapField userLabels_;
+
+  private com.google.protobuf.MapField internalGetUserLabels() {
     if (userLabels_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(
-          UserLabelsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(UserLabelsDefaultEntryHolder.defaultEntry);
     }
     return userLabels_;
   }
@@ -14177,6 +15879,8 @@ public int getUserLabelsCount() {
     return internalGetUserLabels().getMap().size();
   }
   /**
+   *
+   *
    * 
    * User-supplied key/value data to be used for organizing and
    * identifying the `AlertPolicy` objects.
@@ -14188,22 +15892,22 @@ public int getUserLabelsCount() {
    *
    * map<string, string> user_labels = 16;
    */
-
   @java.lang.Override
-  public boolean containsUserLabels(
-      java.lang.String key) {
-    if (key == null) { throw new java.lang.NullPointerException(); }
+  public boolean containsUserLabels(java.lang.String key) {
+    if (key == null) {
+      throw new java.lang.NullPointerException();
+    }
     return internalGetUserLabels().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getUserLabelsMap()} instead.
-   */
+  /** Use {@link #getUserLabelsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getUserLabels() {
     return getUserLabelsMap();
   }
   /**
+   *
+   *
    * 
    * User-supplied key/value data to be used for organizing and
    * identifying the `AlertPolicy` objects.
@@ -14216,11 +15920,12 @@ public java.util.Map getUserLabels() {
    * map<string, string> user_labels = 16;
    */
   @java.lang.Override
-
   public java.util.Map getUserLabelsMap() {
     return internalGetUserLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * User-supplied key/value data to be used for organizing and
    * identifying the `AlertPolicy` objects.
@@ -14233,16 +15938,17 @@ public java.util.Map getUserLabelsMap() {
    * map<string, string> user_labels = 16;
    */
   @java.lang.Override
-
   public java.lang.String getUserLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new java.lang.NullPointerException(); }
-    java.util.Map map =
-        internalGetUserLabels().getMap();
+      java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new java.lang.NullPointerException();
+    }
+    java.util.Map map = internalGetUserLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * User-supplied key/value data to be used for organizing and
    * identifying the `AlertPolicy` objects.
@@ -14255,12 +15961,11 @@ public java.lang.String getUserLabelsOrDefault(
    * map<string, string> user_labels = 16;
    */
   @java.lang.Override
-
-  public java.lang.String getUserLabelsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new java.lang.NullPointerException(); }
-    java.util.Map map =
-        internalGetUserLabels().getMap();
+  public java.lang.String getUserLabelsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new java.lang.NullPointerException();
+    }
+    java.util.Map map = internalGetUserLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -14270,6 +15975,8 @@ public java.lang.String getUserLabelsOrThrow(
   public static final int CONDITIONS_FIELD_NUMBER = 12;
   private java.util.List conditions_;
   /**
+   *
+   *
    * 
    * A list of conditions for the policy. The conditions are combined by AND or
    * OR according to the `combiner` field. If the combined conditions evaluate
@@ -14286,6 +15993,8 @@ public java.util.List getConditi
     return conditions_;
   }
   /**
+   *
+   *
    * 
    * A list of conditions for the policy. The conditions are combined by AND or
    * OR according to the `combiner` field. If the combined conditions evaluate
@@ -14298,11 +16007,13 @@ public java.util.List getConditi
    * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getConditionsOrBuilderList() {
     return conditions_;
   }
   /**
+   *
+   *
    * 
    * A list of conditions for the policy. The conditions are combined by AND or
    * OR according to the `combiner` field. If the combined conditions evaluate
@@ -14319,6 +16030,8 @@ public int getConditionsCount() {
     return conditions_.size();
   }
   /**
+   *
+   *
    * 
    * A list of conditions for the policy. The conditions are combined by AND or
    * OR according to the `combiner` field. If the combined conditions evaluate
@@ -14335,6 +16048,8 @@ public com.google.monitoring.v3.AlertPolicy.Condition getConditions(int index) {
     return conditions_.get(index);
   }
   /**
+   *
+   *
    * 
    * A list of conditions for the policy. The conditions are combined by AND or
    * OR according to the `combiner` field. If the combined conditions evaluate
@@ -14347,14 +16062,15 @@ public com.google.monitoring.v3.AlertPolicy.Condition getConditions(int index) {
    * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12;
    */
   @java.lang.Override
-  public com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder getConditionsOrBuilder(
-      int index) {
+  public com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder getConditionsOrBuilder(int index) {
     return conditions_.get(index);
   }
 
   public static final int COMBINER_FIELD_NUMBER = 6;
   private int combiner_;
   /**
+   *
+   *
    * 
    * How to combine the results of multiple conditions to determine if an
    * incident should be opened.
@@ -14363,12 +16079,16 @@ public com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder getConditionsOrBu
    * 
* * .google.monitoring.v3.AlertPolicy.ConditionCombinerType combiner = 6; + * * @return The enum numeric value on the wire for combiner. */ - @java.lang.Override public int getCombinerValue() { + @java.lang.Override + public int getCombinerValue() { return combiner_; } /** + * + * *
    * How to combine the results of multiple conditions to determine if an
    * incident should be opened.
@@ -14377,17 +16097,24 @@ public com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder getConditionsOrBu
    * 
* * .google.monitoring.v3.AlertPolicy.ConditionCombinerType combiner = 6; + * * @return The combiner. */ - @java.lang.Override public com.google.monitoring.v3.AlertPolicy.ConditionCombinerType getCombiner() { + @java.lang.Override + public com.google.monitoring.v3.AlertPolicy.ConditionCombinerType getCombiner() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.AlertPolicy.ConditionCombinerType result = com.google.monitoring.v3.AlertPolicy.ConditionCombinerType.valueOf(combiner_); - return result == null ? com.google.monitoring.v3.AlertPolicy.ConditionCombinerType.UNRECOGNIZED : result; + com.google.monitoring.v3.AlertPolicy.ConditionCombinerType result = + com.google.monitoring.v3.AlertPolicy.ConditionCombinerType.valueOf(combiner_); + return result == null + ? com.google.monitoring.v3.AlertPolicy.ConditionCombinerType.UNRECOGNIZED + : result; } public static final int ENABLED_FIELD_NUMBER = 17; private com.google.protobuf.BoolValue enabled_; /** + * + * *
    * Whether or not the policy is enabled. On write, the default interpretation
    * if unset is that the policy is enabled. On read, clients should not make
@@ -14397,6 +16124,7 @@ public com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder getConditionsOrBu
    * 
* * .google.protobuf.BoolValue enabled = 17; + * * @return Whether the enabled field is set. */ @java.lang.Override @@ -14404,6 +16132,8 @@ public boolean hasEnabled() { return enabled_ != null; } /** + * + * *
    * Whether or not the policy is enabled. On write, the default interpretation
    * if unset is that the policy is enabled. On read, clients should not make
@@ -14413,6 +16143,7 @@ public boolean hasEnabled() {
    * 
* * .google.protobuf.BoolValue enabled = 17; + * * @return The enabled. */ @java.lang.Override @@ -14420,6 +16151,8 @@ public com.google.protobuf.BoolValue getEnabled() { return enabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : enabled_; } /** + * + * *
    * Whether or not the policy is enabled. On write, the default interpretation
    * if unset is that the policy is enabled. On read, clients should not make
@@ -14438,12 +16171,15 @@ public com.google.protobuf.BoolValueOrBuilder getEnabledOrBuilder() {
   public static final int VALIDITY_FIELD_NUMBER = 18;
   private com.google.rpc.Status validity_;
   /**
+   *
+   *
    * 
    * Read-only description of how the alert policy is invalid. OK if the alert
    * policy is valid. If not OK, the alert policy will not generate incidents.
    * 
* * .google.rpc.Status validity = 18; + * * @return Whether the validity field is set. */ @java.lang.Override @@ -14451,12 +16187,15 @@ public boolean hasValidity() { return validity_ != null; } /** + * + * *
    * Read-only description of how the alert policy is invalid. OK if the alert
    * policy is valid. If not OK, the alert policy will not generate incidents.
    * 
* * .google.rpc.Status validity = 18; + * * @return The validity. */ @java.lang.Override @@ -14464,6 +16203,8 @@ public com.google.rpc.Status getValidity() { return validity_ == null ? com.google.rpc.Status.getDefaultInstance() : validity_; } /** + * + * *
    * Read-only description of how the alert policy is invalid. OK if the alert
    * policy is valid. If not OK, the alert policy will not generate incidents.
@@ -14479,6 +16220,8 @@ public com.google.rpc.StatusOrBuilder getValidityOrBuilder() {
   public static final int NOTIFICATION_CHANNELS_FIELD_NUMBER = 14;
   private com.google.protobuf.LazyStringList notificationChannels_;
   /**
+   *
+   *
    * 
    * Identifies the notification channels to which notifications should be sent
    * when incidents are opened or closed or when new violations occur on
@@ -14492,13 +16235,15 @@ public com.google.rpc.StatusOrBuilder getValidityOrBuilder() {
    * 
* * repeated string notification_channels = 14; + * * @return A list containing the notificationChannels. */ - public com.google.protobuf.ProtocolStringList - getNotificationChannelsList() { + public com.google.protobuf.ProtocolStringList getNotificationChannelsList() { return notificationChannels_; } /** + * + * *
    * Identifies the notification channels to which notifications should be sent
    * when incidents are opened or closed or when new violations occur on
@@ -14512,12 +16257,15 @@ public com.google.rpc.StatusOrBuilder getValidityOrBuilder() {
    * 
* * repeated string notification_channels = 14; + * * @return The count of notificationChannels. */ public int getNotificationChannelsCount() { return notificationChannels_.size(); } /** + * + * *
    * Identifies the notification channels to which notifications should be sent
    * when incidents are opened or closed or when new violations occur on
@@ -14531,6 +16279,7 @@ public int getNotificationChannelsCount() {
    * 
* * repeated string notification_channels = 14; + * * @param index The index of the element to return. * @return The notificationChannels at the given index. */ @@ -14538,6 +16287,8 @@ public java.lang.String getNotificationChannels(int index) { return notificationChannels_.get(index); } /** + * + * *
    * Identifies the notification channels to which notifications should be sent
    * when incidents are opened or closed or when new violations occur on
@@ -14551,23 +16302,26 @@ public java.lang.String getNotificationChannels(int index) {
    * 
* * repeated string notification_channels = 14; + * * @param index The index of the value to return. * @return The bytes of the notificationChannels at the given index. */ - public com.google.protobuf.ByteString - getNotificationChannelsBytes(int index) { + public com.google.protobuf.ByteString getNotificationChannelsBytes(int index) { return notificationChannels_.getByteString(index); } public static final int CREATION_RECORD_FIELD_NUMBER = 10; private com.google.monitoring.v3.MutationRecord creationRecord_; /** + * + * *
    * A read-only record of the creation of the alerting policy. If provided
    * in a call to create or update, this field will be ignored.
    * 
* * .google.monitoring.v3.MutationRecord creation_record = 10; + * * @return Whether the creationRecord field is set. */ @java.lang.Override @@ -14575,19 +16329,26 @@ public boolean hasCreationRecord() { return creationRecord_ != null; } /** + * + * *
    * A read-only record of the creation of the alerting policy. If provided
    * in a call to create or update, this field will be ignored.
    * 
* * .google.monitoring.v3.MutationRecord creation_record = 10; + * * @return The creationRecord. */ @java.lang.Override public com.google.monitoring.v3.MutationRecord getCreationRecord() { - return creationRecord_ == null ? com.google.monitoring.v3.MutationRecord.getDefaultInstance() : creationRecord_; + return creationRecord_ == null + ? com.google.monitoring.v3.MutationRecord.getDefaultInstance() + : creationRecord_; } /** + * + * *
    * A read-only record of the creation of the alerting policy. If provided
    * in a call to create or update, this field will be ignored.
@@ -14603,12 +16364,15 @@ public com.google.monitoring.v3.MutationRecordOrBuilder getCreationRecordOrBuild
   public static final int MUTATION_RECORD_FIELD_NUMBER = 11;
   private com.google.monitoring.v3.MutationRecord mutationRecord_;
   /**
+   *
+   *
    * 
    * A read-only record of the most recent change to the alerting policy. If
    * provided in a call to create or update, this field will be ignored.
    * 
* * .google.monitoring.v3.MutationRecord mutation_record = 11; + * * @return Whether the mutationRecord field is set. */ @java.lang.Override @@ -14616,19 +16380,26 @@ public boolean hasMutationRecord() { return mutationRecord_ != null; } /** + * + * *
    * A read-only record of the most recent change to the alerting policy. If
    * provided in a call to create or update, this field will be ignored.
    * 
* * .google.monitoring.v3.MutationRecord mutation_record = 11; + * * @return The mutationRecord. */ @java.lang.Override public com.google.monitoring.v3.MutationRecord getMutationRecord() { - return mutationRecord_ == null ? com.google.monitoring.v3.MutationRecord.getDefaultInstance() : mutationRecord_; + return mutationRecord_ == null + ? com.google.monitoring.v3.MutationRecord.getDefaultInstance() + : mutationRecord_; } /** + * + * *
    * A read-only record of the most recent change to the alerting policy. If
    * provided in a call to create or update, this field will be ignored.
@@ -14644,11 +16415,14 @@ public com.google.monitoring.v3.MutationRecordOrBuilder getMutationRecordOrBuild
   public static final int ALERT_STRATEGY_FIELD_NUMBER = 21;
   private com.google.monitoring.v3.AlertPolicy.AlertStrategy alertStrategy_;
   /**
+   *
+   *
    * 
    * Control over how this alert policy's notification channels are notified.
    * 
* * .google.monitoring.v3.AlertPolicy.AlertStrategy alert_strategy = 21; + * * @return Whether the alertStrategy field is set. */ @java.lang.Override @@ -14656,18 +16430,25 @@ public boolean hasAlertStrategy() { return alertStrategy_ != null; } /** + * + * *
    * Control over how this alert policy's notification channels are notified.
    * 
* * .google.monitoring.v3.AlertPolicy.AlertStrategy alert_strategy = 21; + * * @return The alertStrategy. */ @java.lang.Override public com.google.monitoring.v3.AlertPolicy.AlertStrategy getAlertStrategy() { - return alertStrategy_ == null ? com.google.monitoring.v3.AlertPolicy.AlertStrategy.getDefaultInstance() : alertStrategy_; + return alertStrategy_ == null + ? com.google.monitoring.v3.AlertPolicy.AlertStrategy.getDefaultInstance() + : alertStrategy_; } /** + * + * *
    * Control over how this alert policy's notification channels are notified.
    * 
@@ -14680,6 +16461,7 @@ public com.google.monitoring.v3.AlertPolicy.AlertStrategyOrBuilder getAlertStrat } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -14691,15 +16473,16 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, displayName_); } - if (combiner_ != com.google.monitoring.v3.AlertPolicy.ConditionCombinerType.COMBINE_UNSPECIFIED.getNumber()) { + if (combiner_ + != com.google.monitoring.v3.AlertPolicy.ConditionCombinerType.COMBINE_UNSPECIFIED + .getNumber()) { output.writeEnum(6, combiner_); } if (creationRecord_ != null) { @@ -14715,14 +16498,11 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(13, getDocumentation()); } for (int i = 0; i < notificationChannels_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 14, notificationChannels_.getRaw(i)); - } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetUserLabels(), - UserLabelsDefaultEntryHolder.defaultEntry, - 16); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 14, notificationChannels_.getRaw(i)); + } + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetUserLabels(), UserLabelsDefaultEntryHolder.defaultEntry, 16); if (enabled_ != null) { output.writeMessage(17, getEnabled()); } @@ -14747,25 +16527,22 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_); } - if (combiner_ != com.google.monitoring.v3.AlertPolicy.ConditionCombinerType.COMBINE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, combiner_); + if (combiner_ + != com.google.monitoring.v3.AlertPolicy.ConditionCombinerType.COMBINE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, combiner_); } if (creationRecord_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getCreationRecord()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getCreationRecord()); } if (mutationRecord_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getMutationRecord()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getMutationRecord()); } for (int i = 0; i < conditions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, conditions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, conditions_.get(i)); } if (documentation_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, getDocumentation()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getDocumentation()); } { int dataSize = 0; @@ -14775,27 +16552,24 @@ public int getSerializedSize() { size += dataSize; size += 1 * getNotificationChannelsList().size(); } - for (java.util.Map.Entry entry - : internalGetUserLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - userLabels__ = UserLabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, userLabels__); + for (java.util.Map.Entry entry : + internalGetUserLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry userLabels__ = + UserLabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, userLabels__); } if (enabled_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(17, getEnabled()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(17, getEnabled()); } if (validity_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(18, getValidity()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, getValidity()); } if (alertStrategy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(21, getAlertStrategy()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(21, getAlertStrategy()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -14805,53 +16579,42 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.AlertPolicy)) { return super.equals(obj); } com.google.monitoring.v3.AlertPolicy other = (com.google.monitoring.v3.AlertPolicy) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (hasDocumentation() != other.hasDocumentation()) return false; if (hasDocumentation()) { - if (!getDocumentation() - .equals(other.getDocumentation())) return false; + if (!getDocumentation().equals(other.getDocumentation())) return false; } - if (!internalGetUserLabels().equals( - other.internalGetUserLabels())) return false; - if (!getConditionsList() - .equals(other.getConditionsList())) return false; + if (!internalGetUserLabels().equals(other.internalGetUserLabels())) return false; + if (!getConditionsList().equals(other.getConditionsList())) return false; if (combiner_ != other.combiner_) return false; if (hasEnabled() != other.hasEnabled()) return false; if (hasEnabled()) { - if (!getEnabled() - .equals(other.getEnabled())) return false; + if (!getEnabled().equals(other.getEnabled())) return false; } if (hasValidity() != other.hasValidity()) return false; if (hasValidity()) { - if (!getValidity() - .equals(other.getValidity())) return false; + if (!getValidity().equals(other.getValidity())) return false; } - if (!getNotificationChannelsList() - .equals(other.getNotificationChannelsList())) return false; + if (!getNotificationChannelsList().equals(other.getNotificationChannelsList())) return false; if (hasCreationRecord() != other.hasCreationRecord()) return false; if (hasCreationRecord()) { - if (!getCreationRecord() - .equals(other.getCreationRecord())) return false; + if (!getCreationRecord().equals(other.getCreationRecord())) return false; } if (hasMutationRecord() != other.hasMutationRecord()) return false; if (hasMutationRecord()) { - if (!getMutationRecord() - .equals(other.getMutationRecord())) return false; + if (!getMutationRecord().equals(other.getMutationRecord())) return false; } if (hasAlertStrategy() != other.hasAlertStrategy()) return false; if (hasAlertStrategy()) { - if (!getAlertStrategy() - .equals(other.getAlertStrategy())) return false; + if (!getAlertStrategy().equals(other.getAlertStrategy())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -14911,97 +16674,103 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.AlertPolicy parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.AlertPolicy parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.AlertPolicy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.AlertPolicy parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.monitoring.v3.AlertPolicy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.AlertPolicy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.AlertPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.AlertPolicy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.AlertPolicy 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.monitoring.v3.AlertPolicy parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.AlertPolicy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.AlertPolicy parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.AlertPolicy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.AlertPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.AlertPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 description of the conditions under which some aspect of your system is
    * considered to be "unhealthy" and the ways to notify people or services about
@@ -15011,43 +16780,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.monitoring.v3.AlertPolicy}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.AlertPolicy)
       com.google.monitoring.v3.AlertPolicyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.monitoring.v3.AlertProto
+          .internal_static_google_monitoring_v3_AlertPolicy_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 16:
           return internalGetUserLabels();
         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 16:
           return internalGetMutableUserLabels();
         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.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_fieldAccessorTable
+      return com.google.monitoring.v3.AlertProto
+          .internal_static_google_monitoring_v3_AlertPolicy_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.AlertPolicy.class, com.google.monitoring.v3.AlertPolicy.Builder.class);
+              com.google.monitoring.v3.AlertPolicy.class,
+              com.google.monitoring.v3.AlertPolicy.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.AlertPolicy.newBuilder()
@@ -15055,17 +16824,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getConditionsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -15124,9 +16893,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.monitoring.v3.AlertProto.internal_static_google_monitoring_v3_AlertPolicy_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.monitoring.v3.AlertProto
+          .internal_static_google_monitoring_v3_AlertPolicy_descriptor;
     }
 
     @java.lang.Override
@@ -15204,38 +16973,39 @@ public com.google.monitoring.v3.AlertPolicy 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.monitoring.v3.AlertPolicy) {
-        return mergeFrom((com.google.monitoring.v3.AlertPolicy)other);
+        return mergeFrom((com.google.monitoring.v3.AlertPolicy) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -15255,8 +17025,7 @@ public Builder mergeFrom(com.google.monitoring.v3.AlertPolicy other) {
       if (other.hasDocumentation()) {
         mergeDocumentation(other.getDocumentation());
       }
-      internalGetMutableUserLabels().mergeFrom(
-          other.internalGetUserLabels());
+      internalGetMutableUserLabels().mergeFrom(other.internalGetUserLabels());
       if (conditionsBuilder_ == null) {
         if (!other.conditions_.isEmpty()) {
           if (conditions_.isEmpty()) {
@@ -15275,9 +17044,10 @@ public Builder mergeFrom(com.google.monitoring.v3.AlertPolicy other) {
             conditionsBuilder_ = null;
             conditions_ = other.conditions_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            conditionsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getConditionsFieldBuilder() : null;
+            conditionsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getConditionsFieldBuilder()
+                    : null;
           } else {
             conditionsBuilder_.addAllMessages(other.conditions_);
           }
@@ -15339,10 +17109,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required if the policy exists. The resource name for this policy. The
      * format is:
@@ -15355,13 +17128,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -15370,6 +17143,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required if the policy exists. The resource name for this policy. The
      * format is:
@@ -15382,15 +17157,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -15398,6 +17172,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required if the policy exists. The resource name for this policy. The
      * format is:
@@ -15410,20 +17186,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required if the policy exists. The resource name for this policy. The
      * format is:
@@ -15436,15 +17214,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required if the policy exists. The resource name for this policy. The
      * format is:
@@ -15457,16 +17238,16 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -15474,6 +17255,8 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * A short name or phrase used to identify the policy in dashboards,
      * notifications, and incidents. To avoid confusion, don't use the same
@@ -15482,13 +17265,13 @@ public Builder setNameBytes(
      * 
* * string display_name = 2; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -15497,6 +17280,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * A short name or phrase used to identify the policy in dashboards,
      * notifications, and incidents. To avoid confusion, don't use the same
@@ -15505,15 +17290,14 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -15521,6 +17305,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * A short name or phrase used to identify the policy in dashboards,
      * notifications, and incidents. To avoid confusion, don't use the same
@@ -15529,20 +17315,22 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * A short name or phrase used to identify the policy in dashboards,
      * notifications, and incidents. To avoid confusion, don't use the same
@@ -15551,15 +17339,18 @@ public Builder setDisplayName(
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * A short name or phrase used to identify the policy in dashboards,
      * notifications, and incidents. To avoid confusion, don't use the same
@@ -15568,16 +17359,16 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -15585,8 +17376,13 @@ public Builder setDisplayNameBytes( private com.google.monitoring.v3.AlertPolicy.Documentation documentation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy.Documentation, com.google.monitoring.v3.AlertPolicy.Documentation.Builder, com.google.monitoring.v3.AlertPolicy.DocumentationOrBuilder> documentationBuilder_; + com.google.monitoring.v3.AlertPolicy.Documentation, + com.google.monitoring.v3.AlertPolicy.Documentation.Builder, + com.google.monitoring.v3.AlertPolicy.DocumentationOrBuilder> + documentationBuilder_; /** + * + * *
      * Documentation that is included with notifications and incidents related to
      * this policy. Best practice is for the documentation to include information
@@ -15596,12 +17392,15 @@ public Builder setDisplayNameBytes(
      * 
* * .google.monitoring.v3.AlertPolicy.Documentation documentation = 13; + * * @return Whether the documentation field is set. */ public boolean hasDocumentation() { return documentationBuilder_ != null || documentation_ != null; } /** + * + * *
      * Documentation that is included with notifications and incidents related to
      * this policy. Best practice is for the documentation to include information
@@ -15611,16 +17410,21 @@ public boolean hasDocumentation() {
      * 
* * .google.monitoring.v3.AlertPolicy.Documentation documentation = 13; + * * @return The documentation. */ public com.google.monitoring.v3.AlertPolicy.Documentation getDocumentation() { if (documentationBuilder_ == null) { - return documentation_ == null ? com.google.monitoring.v3.AlertPolicy.Documentation.getDefaultInstance() : documentation_; + return documentation_ == null + ? com.google.monitoring.v3.AlertPolicy.Documentation.getDefaultInstance() + : documentation_; } else { return documentationBuilder_.getMessage(); } } /** + * + * *
      * Documentation that is included with notifications and incidents related to
      * this policy. Best practice is for the documentation to include information
@@ -15645,6 +17449,8 @@ public Builder setDocumentation(com.google.monitoring.v3.AlertPolicy.Documentati
       return this;
     }
     /**
+     *
+     *
      * 
      * Documentation that is included with notifications and incidents related to
      * this policy. Best practice is for the documentation to include information
@@ -15667,6 +17473,8 @@ public Builder setDocumentation(
       return this;
     }
     /**
+     *
+     *
      * 
      * Documentation that is included with notifications and incidents related to
      * this policy. Best practice is for the documentation to include information
@@ -15681,7 +17489,9 @@ public Builder mergeDocumentation(com.google.monitoring.v3.AlertPolicy.Documenta
       if (documentationBuilder_ == null) {
         if (documentation_ != null) {
           documentation_ =
-            com.google.monitoring.v3.AlertPolicy.Documentation.newBuilder(documentation_).mergeFrom(value).buildPartial();
+              com.google.monitoring.v3.AlertPolicy.Documentation.newBuilder(documentation_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           documentation_ = value;
         }
@@ -15693,6 +17503,8 @@ public Builder mergeDocumentation(com.google.monitoring.v3.AlertPolicy.Documenta
       return this;
     }
     /**
+     *
+     *
      * 
      * Documentation that is included with notifications and incidents related to
      * this policy. Best practice is for the documentation to include information
@@ -15715,6 +17527,8 @@ public Builder clearDocumentation() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Documentation that is included with notifications and incidents related to
      * this policy. Best practice is for the documentation to include information
@@ -15726,11 +17540,13 @@ public Builder clearDocumentation() {
      * .google.monitoring.v3.AlertPolicy.Documentation documentation = 13;
      */
     public com.google.monitoring.v3.AlertPolicy.Documentation.Builder getDocumentationBuilder() {
-      
+
       onChanged();
       return getDocumentationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Documentation that is included with notifications and incidents related to
      * this policy. Best practice is for the documentation to include information
@@ -15745,11 +17561,14 @@ public com.google.monitoring.v3.AlertPolicy.DocumentationOrBuilder getDocumentat
       if (documentationBuilder_ != null) {
         return documentationBuilder_.getMessageOrBuilder();
       } else {
-        return documentation_ == null ?
-            com.google.monitoring.v3.AlertPolicy.Documentation.getDefaultInstance() : documentation_;
+        return documentation_ == null
+            ? com.google.monitoring.v3.AlertPolicy.Documentation.getDefaultInstance()
+            : documentation_;
       }
     }
     /**
+     *
+     *
      * 
      * Documentation that is included with notifications and incidents related to
      * this policy. Best practice is for the documentation to include information
@@ -15761,35 +17580,40 @@ public com.google.monitoring.v3.AlertPolicy.DocumentationOrBuilder getDocumentat
      * .google.monitoring.v3.AlertPolicy.Documentation documentation = 13;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.monitoring.v3.AlertPolicy.Documentation, com.google.monitoring.v3.AlertPolicy.Documentation.Builder, com.google.monitoring.v3.AlertPolicy.DocumentationOrBuilder> 
+            com.google.monitoring.v3.AlertPolicy.Documentation,
+            com.google.monitoring.v3.AlertPolicy.Documentation.Builder,
+            com.google.monitoring.v3.AlertPolicy.DocumentationOrBuilder>
         getDocumentationFieldBuilder() {
       if (documentationBuilder_ == null) {
-        documentationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.AlertPolicy.Documentation, com.google.monitoring.v3.AlertPolicy.Documentation.Builder, com.google.monitoring.v3.AlertPolicy.DocumentationOrBuilder>(
-                getDocumentation(),
-                getParentForChildren(),
-                isClean());
+        documentationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.monitoring.v3.AlertPolicy.Documentation,
+                com.google.monitoring.v3.AlertPolicy.Documentation.Builder,
+                com.google.monitoring.v3.AlertPolicy.DocumentationOrBuilder>(
+                getDocumentation(), getParentForChildren(), isClean());
         documentation_ = null;
       }
       return documentationBuilder_;
     }
 
-    private com.google.protobuf.MapField<
-        java.lang.String, java.lang.String> userLabels_;
+    private com.google.protobuf.MapField userLabels_;
+
     private com.google.protobuf.MapField
-    internalGetUserLabels() {
+        internalGetUserLabels() {
       if (userLabels_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             UserLabelsDefaultEntryHolder.defaultEntry);
       }
       return userLabels_;
     }
+
     private com.google.protobuf.MapField
-    internalGetMutableUserLabels() {
-      onChanged();;
+        internalGetMutableUserLabels() {
+      onChanged();
+      ;
       if (userLabels_ == null) {
-        userLabels_ = com.google.protobuf.MapField.newMapField(
-            UserLabelsDefaultEntryHolder.defaultEntry);
+        userLabels_ =
+            com.google.protobuf.MapField.newMapField(UserLabelsDefaultEntryHolder.defaultEntry);
       }
       if (!userLabels_.isMutable()) {
         userLabels_ = userLabels_.copy();
@@ -15801,6 +17625,8 @@ public int getUserLabelsCount() {
       return internalGetUserLabels().getMap().size();
     }
     /**
+     *
+     *
      * 
      * User-supplied key/value data to be used for organizing and
      * identifying the `AlertPolicy` objects.
@@ -15812,22 +17638,22 @@ public int getUserLabelsCount() {
      *
      * map<string, string> user_labels = 16;
      */
-
     @java.lang.Override
-    public boolean containsUserLabels(
-        java.lang.String key) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
+    public boolean containsUserLabels(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
       return internalGetUserLabels().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getUserLabelsMap()} instead.
-     */
+    /** Use {@link #getUserLabelsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getUserLabels() {
       return getUserLabelsMap();
     }
     /**
+     *
+     *
      * 
      * User-supplied key/value data to be used for organizing and
      * identifying the `AlertPolicy` objects.
@@ -15840,11 +17666,12 @@ public java.util.Map getUserLabels() {
      * map<string, string> user_labels = 16;
      */
     @java.lang.Override
-
     public java.util.Map getUserLabelsMap() {
       return internalGetUserLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * User-supplied key/value data to be used for organizing and
      * identifying the `AlertPolicy` objects.
@@ -15857,16 +17684,17 @@ public java.util.Map getUserLabelsMap() {
      * map<string, string> user_labels = 16;
      */
     @java.lang.Override
-
     public java.lang.String getUserLabelsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      java.util.Map map =
-          internalGetUserLabels().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      java.util.Map map = internalGetUserLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * User-supplied key/value data to be used for organizing and
      * identifying the `AlertPolicy` objects.
@@ -15879,12 +17707,11 @@ public java.lang.String getUserLabelsOrDefault(
      * map<string, string> user_labels = 16;
      */
     @java.lang.Override
-
-    public java.lang.String getUserLabelsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      java.util.Map map =
-          internalGetUserLabels().getMap();
+    public java.lang.String getUserLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      java.util.Map map = internalGetUserLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -15892,11 +17719,12 @@ public java.lang.String getUserLabelsOrThrow(
     }
 
     public Builder clearUserLabels() {
-      internalGetMutableUserLabels().getMutableMap()
-          .clear();
+      internalGetMutableUserLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * User-supplied key/value data to be used for organizing and
      * identifying the `AlertPolicy` objects.
@@ -15908,23 +17736,21 @@ public Builder clearUserLabels() {
      *
      * map<string, string> user_labels = 16;
      */
-
-    public Builder removeUserLabels(
-        java.lang.String key) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      internalGetMutableUserLabels().getMutableMap()
-          .remove(key);
+    public Builder removeUserLabels(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      internalGetMutableUserLabels().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableUserLabels() {
+    public java.util.Map getMutableUserLabels() {
       return internalGetMutableUserLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * User-supplied key/value data to be used for organizing and
      * identifying the `AlertPolicy` objects.
@@ -15936,16 +17762,19 @@ public Builder removeUserLabels(
      *
      * map<string, string> user_labels = 16;
      */
-    public Builder putUserLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      if (value == null) { throw new java.lang.NullPointerException(); }
-      internalGetMutableUserLabels().getMutableMap()
-          .put(key, value);
+    public Builder putUserLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      if (value == null) {
+        throw new java.lang.NullPointerException();
+      }
+      internalGetMutableUserLabels().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * User-supplied key/value data to be used for organizing and
      * identifying the `AlertPolicy` objects.
@@ -15957,27 +17786,31 @@ public Builder putUserLabels(
      *
      * map<string, string> user_labels = 16;
      */
-
-    public Builder putAllUserLabels(
-        java.util.Map values) {
-      internalGetMutableUserLabels().getMutableMap()
-          .putAll(values);
+    public Builder putAllUserLabels(java.util.Map values) {
+      internalGetMutableUserLabels().getMutableMap().putAll(values);
       return this;
     }
 
     private java.util.List conditions_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureConditionsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
-        conditions_ = new java.util.ArrayList(conditions_);
+        conditions_ =
+            new java.util.ArrayList(conditions_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.monitoring.v3.AlertPolicy.Condition, com.google.monitoring.v3.AlertPolicy.Condition.Builder, com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder> conditionsBuilder_;
+            com.google.monitoring.v3.AlertPolicy.Condition,
+            com.google.monitoring.v3.AlertPolicy.Condition.Builder,
+            com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder>
+        conditionsBuilder_;
 
     /**
+     *
+     *
      * 
      * A list of conditions for the policy. The conditions are combined by AND or
      * OR according to the `combiner` field. If the combined conditions evaluate
@@ -15997,6 +17830,8 @@ public java.util.List getConditi
       }
     }
     /**
+     *
+     *
      * 
      * A list of conditions for the policy. The conditions are combined by AND or
      * OR according to the `combiner` field. If the combined conditions evaluate
@@ -16016,6 +17851,8 @@ public int getConditionsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of conditions for the policy. The conditions are combined by AND or
      * OR according to the `combiner` field. If the combined conditions evaluate
@@ -16035,6 +17872,8 @@ public com.google.monitoring.v3.AlertPolicy.Condition getConditions(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * A list of conditions for the policy. The conditions are combined by AND or
      * OR according to the `combiner` field. If the combined conditions evaluate
@@ -16046,8 +17885,7 @@ public com.google.monitoring.v3.AlertPolicy.Condition getConditions(int index) {
      *
      * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12;
      */
-    public Builder setConditions(
-        int index, com.google.monitoring.v3.AlertPolicy.Condition value) {
+    public Builder setConditions(int index, com.google.monitoring.v3.AlertPolicy.Condition value) {
       if (conditionsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -16061,6 +17899,8 @@ public Builder setConditions(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of conditions for the policy. The conditions are combined by AND or
      * OR according to the `combiner` field. If the combined conditions evaluate
@@ -16084,6 +17924,8 @@ public Builder setConditions(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of conditions for the policy. The conditions are combined by AND or
      * OR according to the `combiner` field. If the combined conditions evaluate
@@ -16109,6 +17951,8 @@ public Builder addConditions(com.google.monitoring.v3.AlertPolicy.Condition valu
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of conditions for the policy. The conditions are combined by AND or
      * OR according to the `combiner` field. If the combined conditions evaluate
@@ -16120,8 +17964,7 @@ public Builder addConditions(com.google.monitoring.v3.AlertPolicy.Condition valu
      *
      * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12;
      */
-    public Builder addConditions(
-        int index, com.google.monitoring.v3.AlertPolicy.Condition value) {
+    public Builder addConditions(int index, com.google.monitoring.v3.AlertPolicy.Condition value) {
       if (conditionsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -16135,6 +17978,8 @@ public Builder addConditions(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of conditions for the policy. The conditions are combined by AND or
      * OR according to the `combiner` field. If the combined conditions evaluate
@@ -16158,6 +18003,8 @@ public Builder addConditions(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of conditions for the policy. The conditions are combined by AND or
      * OR according to the `combiner` field. If the combined conditions evaluate
@@ -16181,6 +18028,8 @@ public Builder addConditions(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of conditions for the policy. The conditions are combined by AND or
      * OR according to the `combiner` field. If the combined conditions evaluate
@@ -16196,8 +18045,7 @@ public Builder addAllConditions(
         java.lang.Iterable values) {
       if (conditionsBuilder_ == null) {
         ensureConditionsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, conditions_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, conditions_);
         onChanged();
       } else {
         conditionsBuilder_.addAllMessages(values);
@@ -16205,6 +18053,8 @@ public Builder addAllConditions(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of conditions for the policy. The conditions are combined by AND or
      * OR according to the `combiner` field. If the combined conditions evaluate
@@ -16227,6 +18077,8 @@ public Builder clearConditions() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of conditions for the policy. The conditions are combined by AND or
      * OR according to the `combiner` field. If the combined conditions evaluate
@@ -16249,6 +18101,8 @@ public Builder removeConditions(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of conditions for the policy. The conditions are combined by AND or
      * OR according to the `combiner` field. If the combined conditions evaluate
@@ -16260,11 +18114,12 @@ public Builder removeConditions(int index) {
      *
      * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12;
      */
-    public com.google.monitoring.v3.AlertPolicy.Condition.Builder getConditionsBuilder(
-        int index) {
+    public com.google.monitoring.v3.AlertPolicy.Condition.Builder getConditionsBuilder(int index) {
       return getConditionsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * A list of conditions for the policy. The conditions are combined by AND or
      * OR according to the `combiner` field. If the combined conditions evaluate
@@ -16279,11 +18134,14 @@ public com.google.monitoring.v3.AlertPolicy.Condition.Builder getConditionsBuild
     public com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder getConditionsOrBuilder(
         int index) {
       if (conditionsBuilder_ == null) {
-        return conditions_.get(index);  } else {
+        return conditions_.get(index);
+      } else {
         return conditionsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * A list of conditions for the policy. The conditions are combined by AND or
      * OR according to the `combiner` field. If the combined conditions evaluate
@@ -16295,8 +18153,8 @@ public com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder getConditionsOrBu
      *
      * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12;
      */
-    public java.util.List 
-         getConditionsOrBuilderList() {
+    public java.util.List
+        getConditionsOrBuilderList() {
       if (conditionsBuilder_ != null) {
         return conditionsBuilder_.getMessageOrBuilderList();
       } else {
@@ -16304,6 +18162,8 @@ public com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder getConditionsOrBu
       }
     }
     /**
+     *
+     *
      * 
      * A list of conditions for the policy. The conditions are combined by AND or
      * OR according to the `combiner` field. If the combined conditions evaluate
@@ -16316,10 +18176,12 @@ public com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder getConditionsOrBu
      * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12;
      */
     public com.google.monitoring.v3.AlertPolicy.Condition.Builder addConditionsBuilder() {
-      return getConditionsFieldBuilder().addBuilder(
-          com.google.monitoring.v3.AlertPolicy.Condition.getDefaultInstance());
+      return getConditionsFieldBuilder()
+          .addBuilder(com.google.monitoring.v3.AlertPolicy.Condition.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of conditions for the policy. The conditions are combined by AND or
      * OR according to the `combiner` field. If the combined conditions evaluate
@@ -16331,12 +18193,13 @@ public com.google.monitoring.v3.AlertPolicy.Condition.Builder addConditionsBuild
      *
      * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12;
      */
-    public com.google.monitoring.v3.AlertPolicy.Condition.Builder addConditionsBuilder(
-        int index) {
-      return getConditionsFieldBuilder().addBuilder(
-          index, com.google.monitoring.v3.AlertPolicy.Condition.getDefaultInstance());
+    public com.google.monitoring.v3.AlertPolicy.Condition.Builder addConditionsBuilder(int index) {
+      return getConditionsFieldBuilder()
+          .addBuilder(index, com.google.monitoring.v3.AlertPolicy.Condition.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of conditions for the policy. The conditions are combined by AND or
      * OR according to the `combiner` field. If the combined conditions evaluate
@@ -16348,20 +18211,23 @@ public com.google.monitoring.v3.AlertPolicy.Condition.Builder addConditionsBuild
      *
      * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12;
      */
-    public java.util.List 
-         getConditionsBuilderList() {
+    public java.util.List
+        getConditionsBuilderList() {
       return getConditionsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.monitoring.v3.AlertPolicy.Condition, com.google.monitoring.v3.AlertPolicy.Condition.Builder, com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder> 
+            com.google.monitoring.v3.AlertPolicy.Condition,
+            com.google.monitoring.v3.AlertPolicy.Condition.Builder,
+            com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder>
         getConditionsFieldBuilder() {
       if (conditionsBuilder_ == null) {
-        conditionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.monitoring.v3.AlertPolicy.Condition, com.google.monitoring.v3.AlertPolicy.Condition.Builder, com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder>(
-                conditions_,
-                ((bitField0_ & 0x00000002) != 0),
-                getParentForChildren(),
-                isClean());
+        conditionsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.monitoring.v3.AlertPolicy.Condition,
+                com.google.monitoring.v3.AlertPolicy.Condition.Builder,
+                com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder>(
+                conditions_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
         conditions_ = null;
       }
       return conditionsBuilder_;
@@ -16369,6 +18235,8 @@ public com.google.monitoring.v3.AlertPolicy.Condition.Builder addConditionsBuild
 
     private int combiner_ = 0;
     /**
+     *
+     *
      * 
      * How to combine the results of multiple conditions to determine if an
      * incident should be opened.
@@ -16377,12 +18245,16 @@ public com.google.monitoring.v3.AlertPolicy.Condition.Builder addConditionsBuild
      * 
* * .google.monitoring.v3.AlertPolicy.ConditionCombinerType combiner = 6; + * * @return The enum numeric value on the wire for combiner. */ - @java.lang.Override public int getCombinerValue() { + @java.lang.Override + public int getCombinerValue() { return combiner_; } /** + * + * *
      * How to combine the results of multiple conditions to determine if an
      * incident should be opened.
@@ -16391,16 +18263,19 @@ public com.google.monitoring.v3.AlertPolicy.Condition.Builder addConditionsBuild
      * 
* * .google.monitoring.v3.AlertPolicy.ConditionCombinerType combiner = 6; + * * @param value The enum numeric value on the wire for combiner to set. * @return This builder for chaining. */ public Builder setCombinerValue(int value) { - + combiner_ = value; onChanged(); return this; } /** + * + * *
      * How to combine the results of multiple conditions to determine if an
      * incident should be opened.
@@ -16409,15 +18284,21 @@ public Builder setCombinerValue(int value) {
      * 
* * .google.monitoring.v3.AlertPolicy.ConditionCombinerType combiner = 6; + * * @return The combiner. */ @java.lang.Override public com.google.monitoring.v3.AlertPolicy.ConditionCombinerType getCombiner() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.AlertPolicy.ConditionCombinerType result = com.google.monitoring.v3.AlertPolicy.ConditionCombinerType.valueOf(combiner_); - return result == null ? com.google.monitoring.v3.AlertPolicy.ConditionCombinerType.UNRECOGNIZED : result; + com.google.monitoring.v3.AlertPolicy.ConditionCombinerType result = + com.google.monitoring.v3.AlertPolicy.ConditionCombinerType.valueOf(combiner_); + return result == null + ? com.google.monitoring.v3.AlertPolicy.ConditionCombinerType.UNRECOGNIZED + : result; } /** + * + * *
      * How to combine the results of multiple conditions to determine if an
      * incident should be opened.
@@ -16426,6 +18307,7 @@ public com.google.monitoring.v3.AlertPolicy.ConditionCombinerType getCombiner()
      * 
* * .google.monitoring.v3.AlertPolicy.ConditionCombinerType combiner = 6; + * * @param value The combiner to set. * @return This builder for chaining. */ @@ -16433,12 +18315,14 @@ public Builder setCombiner(com.google.monitoring.v3.AlertPolicy.ConditionCombine if (value == null) { throw new NullPointerException(); } - + combiner_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * How to combine the results of multiple conditions to determine if an
      * incident should be opened.
@@ -16447,10 +18331,11 @@ public Builder setCombiner(com.google.monitoring.v3.AlertPolicy.ConditionCombine
      * 
* * .google.monitoring.v3.AlertPolicy.ConditionCombinerType combiner = 6; + * * @return This builder for chaining. */ public Builder clearCombiner() { - + combiner_ = 0; onChanged(); return this; @@ -16458,8 +18343,13 @@ public Builder clearCombiner() { private com.google.protobuf.BoolValue enabled_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> enabledBuilder_; + com.google.protobuf.BoolValue, + com.google.protobuf.BoolValue.Builder, + com.google.protobuf.BoolValueOrBuilder> + enabledBuilder_; /** + * + * *
      * Whether or not the policy is enabled. On write, the default interpretation
      * if unset is that the policy is enabled. On read, clients should not make
@@ -16469,12 +18359,15 @@ public Builder clearCombiner() {
      * 
* * .google.protobuf.BoolValue enabled = 17; + * * @return Whether the enabled field is set. */ public boolean hasEnabled() { return enabledBuilder_ != null || enabled_ != null; } /** + * + * *
      * Whether or not the policy is enabled. On write, the default interpretation
      * if unset is that the policy is enabled. On read, clients should not make
@@ -16484,6 +18377,7 @@ public boolean hasEnabled() {
      * 
* * .google.protobuf.BoolValue enabled = 17; + * * @return The enabled. */ public com.google.protobuf.BoolValue getEnabled() { @@ -16494,6 +18388,8 @@ public com.google.protobuf.BoolValue getEnabled() { } } /** + * + * *
      * Whether or not the policy is enabled. On write, the default interpretation
      * if unset is that the policy is enabled. On read, clients should not make
@@ -16518,6 +18414,8 @@ public Builder setEnabled(com.google.protobuf.BoolValue value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Whether or not the policy is enabled. On write, the default interpretation
      * if unset is that the policy is enabled. On read, clients should not make
@@ -16528,8 +18426,7 @@ public Builder setEnabled(com.google.protobuf.BoolValue value) {
      *
      * .google.protobuf.BoolValue enabled = 17;
      */
-    public Builder setEnabled(
-        com.google.protobuf.BoolValue.Builder builderForValue) {
+    public Builder setEnabled(com.google.protobuf.BoolValue.Builder builderForValue) {
       if (enabledBuilder_ == null) {
         enabled_ = builderForValue.build();
         onChanged();
@@ -16540,6 +18437,8 @@ public Builder setEnabled(
       return this;
     }
     /**
+     *
+     *
      * 
      * Whether or not the policy is enabled. On write, the default interpretation
      * if unset is that the policy is enabled. On read, clients should not make
@@ -16554,7 +18453,7 @@ public Builder mergeEnabled(com.google.protobuf.BoolValue value) {
       if (enabledBuilder_ == null) {
         if (enabled_ != null) {
           enabled_ =
-            com.google.protobuf.BoolValue.newBuilder(enabled_).mergeFrom(value).buildPartial();
+              com.google.protobuf.BoolValue.newBuilder(enabled_).mergeFrom(value).buildPartial();
         } else {
           enabled_ = value;
         }
@@ -16566,6 +18465,8 @@ public Builder mergeEnabled(com.google.protobuf.BoolValue value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Whether or not the policy is enabled. On write, the default interpretation
      * if unset is that the policy is enabled. On read, clients should not make
@@ -16588,6 +18489,8 @@ public Builder clearEnabled() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Whether or not the policy is enabled. On write, the default interpretation
      * if unset is that the policy is enabled. On read, clients should not make
@@ -16599,11 +18502,13 @@ public Builder clearEnabled() {
      * .google.protobuf.BoolValue enabled = 17;
      */
     public com.google.protobuf.BoolValue.Builder getEnabledBuilder() {
-      
+
       onChanged();
       return getEnabledFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Whether or not the policy is enabled. On write, the default interpretation
      * if unset is that the policy is enabled. On read, clients should not make
@@ -16618,11 +18523,12 @@ public com.google.protobuf.BoolValueOrBuilder getEnabledOrBuilder() {
       if (enabledBuilder_ != null) {
         return enabledBuilder_.getMessageOrBuilder();
       } else {
-        return enabled_ == null ?
-            com.google.protobuf.BoolValue.getDefaultInstance() : enabled_;
+        return enabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : enabled_;
       }
     }
     /**
+     *
+     *
      * 
      * Whether or not the policy is enabled. On write, the default interpretation
      * if unset is that the policy is enabled. On read, clients should not make
@@ -16634,14 +18540,17 @@ public com.google.protobuf.BoolValueOrBuilder getEnabledOrBuilder() {
      * .google.protobuf.BoolValue enabled = 17;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> 
+            com.google.protobuf.BoolValue,
+            com.google.protobuf.BoolValue.Builder,
+            com.google.protobuf.BoolValueOrBuilder>
         getEnabledFieldBuilder() {
       if (enabledBuilder_ == null) {
-        enabledBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
-                getEnabled(),
-                getParentForChildren(),
-                isClean());
+        enabledBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.BoolValue,
+                com.google.protobuf.BoolValue.Builder,
+                com.google.protobuf.BoolValueOrBuilder>(
+                getEnabled(), getParentForChildren(), isClean());
         enabled_ = null;
       }
       return enabledBuilder_;
@@ -16649,26 +18558,33 @@ public com.google.protobuf.BoolValueOrBuilder getEnabledOrBuilder() {
 
     private com.google.rpc.Status validity_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> validityBuilder_;
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+        validityBuilder_;
     /**
+     *
+     *
      * 
      * Read-only description of how the alert policy is invalid. OK if the alert
      * policy is valid. If not OK, the alert policy will not generate incidents.
      * 
* * .google.rpc.Status validity = 18; + * * @return Whether the validity field is set. */ public boolean hasValidity() { return validityBuilder_ != null || validity_ != null; } /** + * + * *
      * Read-only description of how the alert policy is invalid. OK if the alert
      * policy is valid. If not OK, the alert policy will not generate incidents.
      * 
* * .google.rpc.Status validity = 18; + * * @return The validity. */ public com.google.rpc.Status getValidity() { @@ -16679,6 +18595,8 @@ public com.google.rpc.Status getValidity() { } } /** + * + * *
      * Read-only description of how the alert policy is invalid. OK if the alert
      * policy is valid. If not OK, the alert policy will not generate incidents.
@@ -16700,6 +18618,8 @@ public Builder setValidity(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Read-only description of how the alert policy is invalid. OK if the alert
      * policy is valid. If not OK, the alert policy will not generate incidents.
@@ -16707,8 +18627,7 @@ public Builder setValidity(com.google.rpc.Status value) {
      *
      * .google.rpc.Status validity = 18;
      */
-    public Builder setValidity(
-        com.google.rpc.Status.Builder builderForValue) {
+    public Builder setValidity(com.google.rpc.Status.Builder builderForValue) {
       if (validityBuilder_ == null) {
         validity_ = builderForValue.build();
         onChanged();
@@ -16719,6 +18638,8 @@ public Builder setValidity(
       return this;
     }
     /**
+     *
+     *
      * 
      * Read-only description of how the alert policy is invalid. OK if the alert
      * policy is valid. If not OK, the alert policy will not generate incidents.
@@ -16729,8 +18650,7 @@ public Builder setValidity(
     public Builder mergeValidity(com.google.rpc.Status value) {
       if (validityBuilder_ == null) {
         if (validity_ != null) {
-          validity_ =
-            com.google.rpc.Status.newBuilder(validity_).mergeFrom(value).buildPartial();
+          validity_ = com.google.rpc.Status.newBuilder(validity_).mergeFrom(value).buildPartial();
         } else {
           validity_ = value;
         }
@@ -16742,6 +18662,8 @@ public Builder mergeValidity(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Read-only description of how the alert policy is invalid. OK if the alert
      * policy is valid. If not OK, the alert policy will not generate incidents.
@@ -16761,6 +18683,8 @@ public Builder clearValidity() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Read-only description of how the alert policy is invalid. OK if the alert
      * policy is valid. If not OK, the alert policy will not generate incidents.
@@ -16769,11 +18693,13 @@ public Builder clearValidity() {
      * .google.rpc.Status validity = 18;
      */
     public com.google.rpc.Status.Builder getValidityBuilder() {
-      
+
       onChanged();
       return getValidityFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Read-only description of how the alert policy is invalid. OK if the alert
      * policy is valid. If not OK, the alert policy will not generate incidents.
@@ -16785,11 +18711,12 @@ public com.google.rpc.StatusOrBuilder getValidityOrBuilder() {
       if (validityBuilder_ != null) {
         return validityBuilder_.getMessageOrBuilder();
       } else {
-        return validity_ == null ?
-            com.google.rpc.Status.getDefaultInstance() : validity_;
+        return validity_ == null ? com.google.rpc.Status.getDefaultInstance() : validity_;
       }
     }
     /**
+     *
+     *
      * 
      * Read-only description of how the alert policy is invalid. OK if the alert
      * policy is valid. If not OK, the alert policy will not generate incidents.
@@ -16798,27 +18725,31 @@ public com.google.rpc.StatusOrBuilder getValidityOrBuilder() {
      * .google.rpc.Status validity = 18;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> 
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
         getValidityFieldBuilder() {
       if (validityBuilder_ == null) {
-        validityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
-                getValidity(),
-                getParentForChildren(),
-                isClean());
+        validityBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.rpc.Status,
+                com.google.rpc.Status.Builder,
+                com.google.rpc.StatusOrBuilder>(getValidity(), getParentForChildren(), isClean());
         validity_ = null;
       }
       return validityBuilder_;
     }
 
-    private com.google.protobuf.LazyStringList notificationChannels_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringList notificationChannels_ =
+        com.google.protobuf.LazyStringArrayList.EMPTY;
+
     private void ensureNotificationChannelsIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
         notificationChannels_ = new com.google.protobuf.LazyStringArrayList(notificationChannels_);
         bitField0_ |= 0x00000004;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * Identifies the notification channels to which notifications should be sent
      * when incidents are opened or closed or when new violations occur on
@@ -16832,13 +18763,15 @@ private void ensureNotificationChannelsIsMutable() {
      * 
* * repeated string notification_channels = 14; + * * @return A list containing the notificationChannels. */ - public com.google.protobuf.ProtocolStringList - getNotificationChannelsList() { + public com.google.protobuf.ProtocolStringList getNotificationChannelsList() { return notificationChannels_.getUnmodifiableView(); } /** + * + * *
      * Identifies the notification channels to which notifications should be sent
      * when incidents are opened or closed or when new violations occur on
@@ -16852,12 +18785,15 @@ private void ensureNotificationChannelsIsMutable() {
      * 
* * repeated string notification_channels = 14; + * * @return The count of notificationChannels. */ public int getNotificationChannelsCount() { return notificationChannels_.size(); } /** + * + * *
      * Identifies the notification channels to which notifications should be sent
      * when incidents are opened or closed or when new violations occur on
@@ -16871,6 +18807,7 @@ public int getNotificationChannelsCount() {
      * 
* * repeated string notification_channels = 14; + * * @param index The index of the element to return. * @return The notificationChannels at the given index. */ @@ -16878,6 +18815,8 @@ public java.lang.String getNotificationChannels(int index) { return notificationChannels_.get(index); } /** + * + * *
      * Identifies the notification channels to which notifications should be sent
      * when incidents are opened or closed or when new violations occur on
@@ -16891,14 +18830,16 @@ public java.lang.String getNotificationChannels(int index) {
      * 
* * repeated string notification_channels = 14; + * * @param index The index of the value to return. * @return The bytes of the notificationChannels at the given index. */ - public com.google.protobuf.ByteString - getNotificationChannelsBytes(int index) { + public com.google.protobuf.ByteString getNotificationChannelsBytes(int index) { return notificationChannels_.getByteString(index); } /** + * + * *
      * Identifies the notification channels to which notifications should be sent
      * when incidents are opened or closed or when new violations occur on
@@ -16912,21 +18853,23 @@ public java.lang.String getNotificationChannels(int index) {
      * 
* * repeated string notification_channels = 14; + * * @param index The index to set the value at. * @param value The notificationChannels to set. * @return This builder for chaining. */ - public Builder setNotificationChannels( - int index, java.lang.String value) { + public Builder setNotificationChannels(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNotificationChannelsIsMutable(); + throw new NullPointerException(); + } + ensureNotificationChannelsIsMutable(); notificationChannels_.set(index, value); onChanged(); return this; } /** + * + * *
      * Identifies the notification channels to which notifications should be sent
      * when incidents are opened or closed or when new violations occur on
@@ -16940,20 +18883,22 @@ public Builder setNotificationChannels(
      * 
* * repeated string notification_channels = 14; + * * @param value The notificationChannels to add. * @return This builder for chaining. */ - public Builder addNotificationChannels( - java.lang.String value) { + public Builder addNotificationChannels(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNotificationChannelsIsMutable(); + throw new NullPointerException(); + } + ensureNotificationChannelsIsMutable(); notificationChannels_.add(value); onChanged(); return this; } /** + * + * *
      * Identifies the notification channels to which notifications should be sent
      * when incidents are opened or closed or when new violations occur on
@@ -16967,18 +18912,19 @@ public Builder addNotificationChannels(
      * 
* * repeated string notification_channels = 14; + * * @param values The notificationChannels to add. * @return This builder for chaining. */ - public Builder addAllNotificationChannels( - java.lang.Iterable values) { + public Builder addAllNotificationChannels(java.lang.Iterable values) { ensureNotificationChannelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, notificationChannels_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, notificationChannels_); onChanged(); return this; } /** + * + * *
      * Identifies the notification channels to which notifications should be sent
      * when incidents are opened or closed or when new violations occur on
@@ -16992,6 +18938,7 @@ public Builder addAllNotificationChannels(
      * 
* * repeated string notification_channels = 14; + * * @return This builder for chaining. */ public Builder clearNotificationChannels() { @@ -17001,6 +18948,8 @@ public Builder clearNotificationChannels() { return this; } /** + * + * *
      * Identifies the notification channels to which notifications should be sent
      * when incidents are opened or closed or when new violations occur on
@@ -17014,15 +18963,15 @@ public Builder clearNotificationChannels() {
      * 
* * repeated string notification_channels = 14; + * * @param value The bytes of the notificationChannels to add. * @return This builder for chaining. */ - public Builder addNotificationChannelsBytes( - com.google.protobuf.ByteString value) { + public Builder addNotificationChannelsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureNotificationChannelsIsMutable(); notificationChannels_.add(value); onChanged(); @@ -17031,36 +18980,49 @@ public Builder addNotificationChannelsBytes( private com.google.monitoring.v3.MutationRecord creationRecord_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.MutationRecord, com.google.monitoring.v3.MutationRecord.Builder, com.google.monitoring.v3.MutationRecordOrBuilder> creationRecordBuilder_; + com.google.monitoring.v3.MutationRecord, + com.google.monitoring.v3.MutationRecord.Builder, + com.google.monitoring.v3.MutationRecordOrBuilder> + creationRecordBuilder_; /** + * + * *
      * A read-only record of the creation of the alerting policy. If provided
      * in a call to create or update, this field will be ignored.
      * 
* * .google.monitoring.v3.MutationRecord creation_record = 10; + * * @return Whether the creationRecord field is set. */ public boolean hasCreationRecord() { return creationRecordBuilder_ != null || creationRecord_ != null; } /** + * + * *
      * A read-only record of the creation of the alerting policy. If provided
      * in a call to create or update, this field will be ignored.
      * 
* * .google.monitoring.v3.MutationRecord creation_record = 10; + * * @return The creationRecord. */ public com.google.monitoring.v3.MutationRecord getCreationRecord() { if (creationRecordBuilder_ == null) { - return creationRecord_ == null ? com.google.monitoring.v3.MutationRecord.getDefaultInstance() : creationRecord_; + return creationRecord_ == null + ? com.google.monitoring.v3.MutationRecord.getDefaultInstance() + : creationRecord_; } else { return creationRecordBuilder_.getMessage(); } } /** + * + * *
      * A read-only record of the creation of the alerting policy. If provided
      * in a call to create or update, this field will be ignored.
@@ -17082,6 +19044,8 @@ public Builder setCreationRecord(com.google.monitoring.v3.MutationRecord value)
       return this;
     }
     /**
+     *
+     *
      * 
      * A read-only record of the creation of the alerting policy. If provided
      * in a call to create or update, this field will be ignored.
@@ -17101,6 +19065,8 @@ public Builder setCreationRecord(
       return this;
     }
     /**
+     *
+     *
      * 
      * A read-only record of the creation of the alerting policy. If provided
      * in a call to create or update, this field will be ignored.
@@ -17112,7 +19078,9 @@ public Builder mergeCreationRecord(com.google.monitoring.v3.MutationRecord value
       if (creationRecordBuilder_ == null) {
         if (creationRecord_ != null) {
           creationRecord_ =
-            com.google.monitoring.v3.MutationRecord.newBuilder(creationRecord_).mergeFrom(value).buildPartial();
+              com.google.monitoring.v3.MutationRecord.newBuilder(creationRecord_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           creationRecord_ = value;
         }
@@ -17124,6 +19092,8 @@ public Builder mergeCreationRecord(com.google.monitoring.v3.MutationRecord value
       return this;
     }
     /**
+     *
+     *
      * 
      * A read-only record of the creation of the alerting policy. If provided
      * in a call to create or update, this field will be ignored.
@@ -17143,6 +19113,8 @@ public Builder clearCreationRecord() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A read-only record of the creation of the alerting policy. If provided
      * in a call to create or update, this field will be ignored.
@@ -17151,11 +19123,13 @@ public Builder clearCreationRecord() {
      * .google.monitoring.v3.MutationRecord creation_record = 10;
      */
     public com.google.monitoring.v3.MutationRecord.Builder getCreationRecordBuilder() {
-      
+
       onChanged();
       return getCreationRecordFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A read-only record of the creation of the alerting policy. If provided
      * in a call to create or update, this field will be ignored.
@@ -17167,11 +19141,14 @@ public com.google.monitoring.v3.MutationRecordOrBuilder getCreationRecordOrBuild
       if (creationRecordBuilder_ != null) {
         return creationRecordBuilder_.getMessageOrBuilder();
       } else {
-        return creationRecord_ == null ?
-            com.google.monitoring.v3.MutationRecord.getDefaultInstance() : creationRecord_;
+        return creationRecord_ == null
+            ? com.google.monitoring.v3.MutationRecord.getDefaultInstance()
+            : creationRecord_;
       }
     }
     /**
+     *
+     *
      * 
      * A read-only record of the creation of the alerting policy. If provided
      * in a call to create or update, this field will be ignored.
@@ -17180,14 +19157,17 @@ public com.google.monitoring.v3.MutationRecordOrBuilder getCreationRecordOrBuild
      * .google.monitoring.v3.MutationRecord creation_record = 10;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.monitoring.v3.MutationRecord, com.google.monitoring.v3.MutationRecord.Builder, com.google.monitoring.v3.MutationRecordOrBuilder> 
+            com.google.monitoring.v3.MutationRecord,
+            com.google.monitoring.v3.MutationRecord.Builder,
+            com.google.monitoring.v3.MutationRecordOrBuilder>
         getCreationRecordFieldBuilder() {
       if (creationRecordBuilder_ == null) {
-        creationRecordBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.MutationRecord, com.google.monitoring.v3.MutationRecord.Builder, com.google.monitoring.v3.MutationRecordOrBuilder>(
-                getCreationRecord(),
-                getParentForChildren(),
-                isClean());
+        creationRecordBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.monitoring.v3.MutationRecord,
+                com.google.monitoring.v3.MutationRecord.Builder,
+                com.google.monitoring.v3.MutationRecordOrBuilder>(
+                getCreationRecord(), getParentForChildren(), isClean());
         creationRecord_ = null;
       }
       return creationRecordBuilder_;
@@ -17195,36 +19175,49 @@ public com.google.monitoring.v3.MutationRecordOrBuilder getCreationRecordOrBuild
 
     private com.google.monitoring.v3.MutationRecord mutationRecord_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.monitoring.v3.MutationRecord, com.google.monitoring.v3.MutationRecord.Builder, com.google.monitoring.v3.MutationRecordOrBuilder> mutationRecordBuilder_;
+            com.google.monitoring.v3.MutationRecord,
+            com.google.monitoring.v3.MutationRecord.Builder,
+            com.google.monitoring.v3.MutationRecordOrBuilder>
+        mutationRecordBuilder_;
     /**
+     *
+     *
      * 
      * A read-only record of the most recent change to the alerting policy. If
      * provided in a call to create or update, this field will be ignored.
      * 
* * .google.monitoring.v3.MutationRecord mutation_record = 11; + * * @return Whether the mutationRecord field is set. */ public boolean hasMutationRecord() { return mutationRecordBuilder_ != null || mutationRecord_ != null; } /** + * + * *
      * A read-only record of the most recent change to the alerting policy. If
      * provided in a call to create or update, this field will be ignored.
      * 
* * .google.monitoring.v3.MutationRecord mutation_record = 11; + * * @return The mutationRecord. */ public com.google.monitoring.v3.MutationRecord getMutationRecord() { if (mutationRecordBuilder_ == null) { - return mutationRecord_ == null ? com.google.monitoring.v3.MutationRecord.getDefaultInstance() : mutationRecord_; + return mutationRecord_ == null + ? com.google.monitoring.v3.MutationRecord.getDefaultInstance() + : mutationRecord_; } else { return mutationRecordBuilder_.getMessage(); } } /** + * + * *
      * A read-only record of the most recent change to the alerting policy. If
      * provided in a call to create or update, this field will be ignored.
@@ -17246,6 +19239,8 @@ public Builder setMutationRecord(com.google.monitoring.v3.MutationRecord value)
       return this;
     }
     /**
+     *
+     *
      * 
      * A read-only record of the most recent change to the alerting policy. If
      * provided in a call to create or update, this field will be ignored.
@@ -17265,6 +19260,8 @@ public Builder setMutationRecord(
       return this;
     }
     /**
+     *
+     *
      * 
      * A read-only record of the most recent change to the alerting policy. If
      * provided in a call to create or update, this field will be ignored.
@@ -17276,7 +19273,9 @@ public Builder mergeMutationRecord(com.google.monitoring.v3.MutationRecord value
       if (mutationRecordBuilder_ == null) {
         if (mutationRecord_ != null) {
           mutationRecord_ =
-            com.google.monitoring.v3.MutationRecord.newBuilder(mutationRecord_).mergeFrom(value).buildPartial();
+              com.google.monitoring.v3.MutationRecord.newBuilder(mutationRecord_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           mutationRecord_ = value;
         }
@@ -17288,6 +19287,8 @@ public Builder mergeMutationRecord(com.google.monitoring.v3.MutationRecord value
       return this;
     }
     /**
+     *
+     *
      * 
      * A read-only record of the most recent change to the alerting policy. If
      * provided in a call to create or update, this field will be ignored.
@@ -17307,6 +19308,8 @@ public Builder clearMutationRecord() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A read-only record of the most recent change to the alerting policy. If
      * provided in a call to create or update, this field will be ignored.
@@ -17315,11 +19318,13 @@ public Builder clearMutationRecord() {
      * .google.monitoring.v3.MutationRecord mutation_record = 11;
      */
     public com.google.monitoring.v3.MutationRecord.Builder getMutationRecordBuilder() {
-      
+
       onChanged();
       return getMutationRecordFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A read-only record of the most recent change to the alerting policy. If
      * provided in a call to create or update, this field will be ignored.
@@ -17331,11 +19336,14 @@ public com.google.monitoring.v3.MutationRecordOrBuilder getMutationRecordOrBuild
       if (mutationRecordBuilder_ != null) {
         return mutationRecordBuilder_.getMessageOrBuilder();
       } else {
-        return mutationRecord_ == null ?
-            com.google.monitoring.v3.MutationRecord.getDefaultInstance() : mutationRecord_;
+        return mutationRecord_ == null
+            ? com.google.monitoring.v3.MutationRecord.getDefaultInstance()
+            : mutationRecord_;
       }
     }
     /**
+     *
+     *
      * 
      * A read-only record of the most recent change to the alerting policy. If
      * provided in a call to create or update, this field will be ignored.
@@ -17344,14 +19352,17 @@ public com.google.monitoring.v3.MutationRecordOrBuilder getMutationRecordOrBuild
      * .google.monitoring.v3.MutationRecord mutation_record = 11;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.monitoring.v3.MutationRecord, com.google.monitoring.v3.MutationRecord.Builder, com.google.monitoring.v3.MutationRecordOrBuilder> 
+            com.google.monitoring.v3.MutationRecord,
+            com.google.monitoring.v3.MutationRecord.Builder,
+            com.google.monitoring.v3.MutationRecordOrBuilder>
         getMutationRecordFieldBuilder() {
       if (mutationRecordBuilder_ == null) {
-        mutationRecordBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.MutationRecord, com.google.monitoring.v3.MutationRecord.Builder, com.google.monitoring.v3.MutationRecordOrBuilder>(
-                getMutationRecord(),
-                getParentForChildren(),
-                isClean());
+        mutationRecordBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.monitoring.v3.MutationRecord,
+                com.google.monitoring.v3.MutationRecord.Builder,
+                com.google.monitoring.v3.MutationRecordOrBuilder>(
+                getMutationRecord(), getParentForChildren(), isClean());
         mutationRecord_ = null;
       }
       return mutationRecordBuilder_;
@@ -17359,34 +19370,47 @@ public com.google.monitoring.v3.MutationRecordOrBuilder getMutationRecordOrBuild
 
     private com.google.monitoring.v3.AlertPolicy.AlertStrategy alertStrategy_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.monitoring.v3.AlertPolicy.AlertStrategy, com.google.monitoring.v3.AlertPolicy.AlertStrategy.Builder, com.google.monitoring.v3.AlertPolicy.AlertStrategyOrBuilder> alertStrategyBuilder_;
+            com.google.monitoring.v3.AlertPolicy.AlertStrategy,
+            com.google.monitoring.v3.AlertPolicy.AlertStrategy.Builder,
+            com.google.monitoring.v3.AlertPolicy.AlertStrategyOrBuilder>
+        alertStrategyBuilder_;
     /**
+     *
+     *
      * 
      * Control over how this alert policy's notification channels are notified.
      * 
* * .google.monitoring.v3.AlertPolicy.AlertStrategy alert_strategy = 21; + * * @return Whether the alertStrategy field is set. */ public boolean hasAlertStrategy() { return alertStrategyBuilder_ != null || alertStrategy_ != null; } /** + * + * *
      * Control over how this alert policy's notification channels are notified.
      * 
* * .google.monitoring.v3.AlertPolicy.AlertStrategy alert_strategy = 21; + * * @return The alertStrategy. */ public com.google.monitoring.v3.AlertPolicy.AlertStrategy getAlertStrategy() { if (alertStrategyBuilder_ == null) { - return alertStrategy_ == null ? com.google.monitoring.v3.AlertPolicy.AlertStrategy.getDefaultInstance() : alertStrategy_; + return alertStrategy_ == null + ? com.google.monitoring.v3.AlertPolicy.AlertStrategy.getDefaultInstance() + : alertStrategy_; } else { return alertStrategyBuilder_.getMessage(); } } /** + * + * *
      * Control over how this alert policy's notification channels are notified.
      * 
@@ -17407,6 +19431,8 @@ public Builder setAlertStrategy(com.google.monitoring.v3.AlertPolicy.AlertStrate return this; } /** + * + * *
      * Control over how this alert policy's notification channels are notified.
      * 
@@ -17425,6 +19451,8 @@ public Builder setAlertStrategy( return this; } /** + * + * *
      * Control over how this alert policy's notification channels are notified.
      * 
@@ -17435,7 +19463,9 @@ public Builder mergeAlertStrategy(com.google.monitoring.v3.AlertPolicy.AlertStra if (alertStrategyBuilder_ == null) { if (alertStrategy_ != null) { alertStrategy_ = - com.google.monitoring.v3.AlertPolicy.AlertStrategy.newBuilder(alertStrategy_).mergeFrom(value).buildPartial(); + com.google.monitoring.v3.AlertPolicy.AlertStrategy.newBuilder(alertStrategy_) + .mergeFrom(value) + .buildPartial(); } else { alertStrategy_ = value; } @@ -17447,6 +19477,8 @@ public Builder mergeAlertStrategy(com.google.monitoring.v3.AlertPolicy.AlertStra return this; } /** + * + * *
      * Control over how this alert policy's notification channels are notified.
      * 
@@ -17465,6 +19497,8 @@ public Builder clearAlertStrategy() { return this; } /** + * + * *
      * Control over how this alert policy's notification channels are notified.
      * 
@@ -17472,11 +19506,13 @@ public Builder clearAlertStrategy() { * .google.monitoring.v3.AlertPolicy.AlertStrategy alert_strategy = 21; */ public com.google.monitoring.v3.AlertPolicy.AlertStrategy.Builder getAlertStrategyBuilder() { - + onChanged(); return getAlertStrategyFieldBuilder().getBuilder(); } /** + * + * *
      * Control over how this alert policy's notification channels are notified.
      * 
@@ -17487,11 +19523,14 @@ public com.google.monitoring.v3.AlertPolicy.AlertStrategyOrBuilder getAlertStrat if (alertStrategyBuilder_ != null) { return alertStrategyBuilder_.getMessageOrBuilder(); } else { - return alertStrategy_ == null ? - com.google.monitoring.v3.AlertPolicy.AlertStrategy.getDefaultInstance() : alertStrategy_; + return alertStrategy_ == null + ? com.google.monitoring.v3.AlertPolicy.AlertStrategy.getDefaultInstance() + : alertStrategy_; } } /** + * + * *
      * Control over how this alert policy's notification channels are notified.
      * 
@@ -17499,21 +19538,24 @@ public com.google.monitoring.v3.AlertPolicy.AlertStrategyOrBuilder getAlertStrat * .google.monitoring.v3.AlertPolicy.AlertStrategy alert_strategy = 21; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy.AlertStrategy, com.google.monitoring.v3.AlertPolicy.AlertStrategy.Builder, com.google.monitoring.v3.AlertPolicy.AlertStrategyOrBuilder> + com.google.monitoring.v3.AlertPolicy.AlertStrategy, + com.google.monitoring.v3.AlertPolicy.AlertStrategy.Builder, + com.google.monitoring.v3.AlertPolicy.AlertStrategyOrBuilder> getAlertStrategyFieldBuilder() { if (alertStrategyBuilder_ == null) { - alertStrategyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy.AlertStrategy, com.google.monitoring.v3.AlertPolicy.AlertStrategy.Builder, com.google.monitoring.v3.AlertPolicy.AlertStrategyOrBuilder>( - getAlertStrategy(), - getParentForChildren(), - isClean()); + alertStrategyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.AlertPolicy.AlertStrategy, + com.google.monitoring.v3.AlertPolicy.AlertStrategy.Builder, + com.google.monitoring.v3.AlertPolicy.AlertStrategyOrBuilder>( + getAlertStrategy(), getParentForChildren(), isClean()); alertStrategy_ = null; } return alertStrategyBuilder_; } + @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); } @@ -17523,12 +19565,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.AlertPolicy) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.AlertPolicy) private static final com.google.monitoring.v3.AlertPolicy DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.AlertPolicy(); } @@ -17537,16 +19579,16 @@ public static com.google.monitoring.v3.AlertPolicy getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AlertPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AlertPolicy(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AlertPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AlertPolicy(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -17561,6 +19603,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.AlertPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyName.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyName.java similarity index 100% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyName.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyName.java diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyOrBuilder.java similarity index 91% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyOrBuilder.java index 2dd65429..ac3e7210 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertPolicyOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/alert.proto package com.google.monitoring.v3; -public interface AlertPolicyOrBuilder extends +public interface AlertPolicyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.AlertPolicy) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required if the policy exists. The resource name for this policy. The
    * format is:
@@ -20,10 +38,13 @@ public interface AlertPolicyOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required if the policy exists. The resource name for this policy. The
    * format is:
@@ -36,12 +57,14 @@ public interface AlertPolicyOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * A short name or phrase used to identify the policy in dashboards,
    * notifications, and incidents. To avoid confusion, don't use the same
@@ -50,10 +73,13 @@ public interface AlertPolicyOrBuilder extends
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * A short name or phrase used to identify the policy in dashboards,
    * notifications, and incidents. To avoid confusion, don't use the same
@@ -62,12 +88,14 @@ public interface AlertPolicyOrBuilder extends
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Documentation that is included with notifications and incidents related to
    * this policy. Best practice is for the documentation to include information
@@ -77,10 +105,13 @@ public interface AlertPolicyOrBuilder extends
    * 
* * .google.monitoring.v3.AlertPolicy.Documentation documentation = 13; + * * @return Whether the documentation field is set. */ boolean hasDocumentation(); /** + * + * *
    * Documentation that is included with notifications and incidents related to
    * this policy. Best practice is for the documentation to include information
@@ -90,10 +121,13 @@ public interface AlertPolicyOrBuilder extends
    * 
* * .google.monitoring.v3.AlertPolicy.Documentation documentation = 13; + * * @return The documentation. */ com.google.monitoring.v3.AlertPolicy.Documentation getDocumentation(); /** + * + * *
    * Documentation that is included with notifications and incidents related to
    * this policy. Best practice is for the documentation to include information
@@ -107,6 +141,8 @@ public interface AlertPolicyOrBuilder extends
   com.google.monitoring.v3.AlertPolicy.DocumentationOrBuilder getDocumentationOrBuilder();
 
   /**
+   *
+   *
    * 
    * User-supplied key/value data to be used for organizing and
    * identifying the `AlertPolicy` objects.
@@ -120,6 +156,8 @@ public interface AlertPolicyOrBuilder extends
    */
   int getUserLabelsCount();
   /**
+   *
+   *
    * 
    * User-supplied key/value data to be used for organizing and
    * identifying the `AlertPolicy` objects.
@@ -131,15 +169,13 @@ public interface AlertPolicyOrBuilder extends
    *
    * map<string, string> user_labels = 16;
    */
-  boolean containsUserLabels(
-      java.lang.String key);
-  /**
-   * Use {@link #getUserLabelsMap()} instead.
-   */
+  boolean containsUserLabels(java.lang.String key);
+  /** Use {@link #getUserLabelsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getUserLabels();
+  java.util.Map getUserLabels();
   /**
+   *
+   *
    * 
    * User-supplied key/value data to be used for organizing and
    * identifying the `AlertPolicy` objects.
@@ -151,9 +187,10 @@ boolean containsUserLabels(
    *
    * map<string, string> user_labels = 16;
    */
-  java.util.Map
-  getUserLabelsMap();
+  java.util.Map getUserLabelsMap();
   /**
+   *
+   *
    * 
    * User-supplied key/value data to be used for organizing and
    * identifying the `AlertPolicy` objects.
@@ -165,11 +202,10 @@ boolean containsUserLabels(
    *
    * map<string, string> user_labels = 16;
    */
-
-  java.lang.String getUserLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue);
+  java.lang.String getUserLabelsOrDefault(java.lang.String key, java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * User-supplied key/value data to be used for organizing and
    * identifying the `AlertPolicy` objects.
@@ -181,11 +217,11 @@ java.lang.String getUserLabelsOrDefault(
    *
    * map<string, string> user_labels = 16;
    */
-
-  java.lang.String getUserLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getUserLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * A list of conditions for the policy. The conditions are combined by AND or
    * OR according to the `combiner` field. If the combined conditions evaluate
@@ -197,9 +233,10 @@ java.lang.String getUserLabelsOrThrow(
    *
    * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12;
    */
-  java.util.List 
-      getConditionsList();
+  java.util.List getConditionsList();
   /**
+   *
+   *
    * 
    * A list of conditions for the policy. The conditions are combined by AND or
    * OR according to the `combiner` field. If the combined conditions evaluate
@@ -213,6 +250,8 @@ java.lang.String getUserLabelsOrThrow(
    */
   com.google.monitoring.v3.AlertPolicy.Condition getConditions(int index);
   /**
+   *
+   *
    * 
    * A list of conditions for the policy. The conditions are combined by AND or
    * OR according to the `combiner` field. If the combined conditions evaluate
@@ -226,6 +265,8 @@ java.lang.String getUserLabelsOrThrow(
    */
   int getConditionsCount();
   /**
+   *
+   *
    * 
    * A list of conditions for the policy. The conditions are combined by AND or
    * OR according to the `combiner` field. If the combined conditions evaluate
@@ -237,9 +278,11 @@ java.lang.String getUserLabelsOrThrow(
    *
    * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12;
    */
-  java.util.List 
+  java.util.List
       getConditionsOrBuilderList();
   /**
+   *
+   *
    * 
    * A list of conditions for the policy. The conditions are combined by AND or
    * OR according to the `combiner` field. If the combined conditions evaluate
@@ -251,10 +294,11 @@ java.lang.String getUserLabelsOrThrow(
    *
    * repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12;
    */
-  com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder getConditionsOrBuilder(
-      int index);
+  com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder getConditionsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * How to combine the results of multiple conditions to determine if an
    * incident should be opened.
@@ -263,10 +307,13 @@ com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder getConditionsOrBuilder(
    * 
* * .google.monitoring.v3.AlertPolicy.ConditionCombinerType combiner = 6; + * * @return The enum numeric value on the wire for combiner. */ int getCombinerValue(); /** + * + * *
    * How to combine the results of multiple conditions to determine if an
    * incident should be opened.
@@ -275,11 +322,14 @@ com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder getConditionsOrBuilder(
    * 
* * .google.monitoring.v3.AlertPolicy.ConditionCombinerType combiner = 6; + * * @return The combiner. */ com.google.monitoring.v3.AlertPolicy.ConditionCombinerType getCombiner(); /** + * + * *
    * Whether or not the policy is enabled. On write, the default interpretation
    * if unset is that the policy is enabled. On read, clients should not make
@@ -289,10 +339,13 @@ com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder getConditionsOrBuilder(
    * 
* * .google.protobuf.BoolValue enabled = 17; + * * @return Whether the enabled field is set. */ boolean hasEnabled(); /** + * + * *
    * Whether or not the policy is enabled. On write, the default interpretation
    * if unset is that the policy is enabled. On read, clients should not make
@@ -302,10 +355,13 @@ com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder getConditionsOrBuilder(
    * 
* * .google.protobuf.BoolValue enabled = 17; + * * @return The enabled. */ com.google.protobuf.BoolValue getEnabled(); /** + * + * *
    * Whether or not the policy is enabled. On write, the default interpretation
    * if unset is that the policy is enabled. On read, clients should not make
@@ -319,26 +375,34 @@ com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder getConditionsOrBuilder(
   com.google.protobuf.BoolValueOrBuilder getEnabledOrBuilder();
 
   /**
+   *
+   *
    * 
    * Read-only description of how the alert policy is invalid. OK if the alert
    * policy is valid. If not OK, the alert policy will not generate incidents.
    * 
* * .google.rpc.Status validity = 18; + * * @return Whether the validity field is set. */ boolean hasValidity(); /** + * + * *
    * Read-only description of how the alert policy is invalid. OK if the alert
    * policy is valid. If not OK, the alert policy will not generate incidents.
    * 
* * .google.rpc.Status validity = 18; + * * @return The validity. */ com.google.rpc.Status getValidity(); /** + * + * *
    * Read-only description of how the alert policy is invalid. OK if the alert
    * policy is valid. If not OK, the alert policy will not generate incidents.
@@ -349,6 +413,8 @@ com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder getConditionsOrBuilder(
   com.google.rpc.StatusOrBuilder getValidityOrBuilder();
 
   /**
+   *
+   *
    * 
    * Identifies the notification channels to which notifications should be sent
    * when incidents are opened or closed or when new violations occur on
@@ -362,11 +428,13 @@ com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder getConditionsOrBuilder(
    * 
* * repeated string notification_channels = 14; + * * @return A list containing the notificationChannels. */ - java.util.List - getNotificationChannelsList(); + java.util.List getNotificationChannelsList(); /** + * + * *
    * Identifies the notification channels to which notifications should be sent
    * when incidents are opened or closed or when new violations occur on
@@ -380,10 +448,13 @@ com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder getConditionsOrBuilder(
    * 
* * repeated string notification_channels = 14; + * * @return The count of notificationChannels. */ int getNotificationChannelsCount(); /** + * + * *
    * Identifies the notification channels to which notifications should be sent
    * when incidents are opened or closed or when new violations occur on
@@ -397,11 +468,14 @@ com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder getConditionsOrBuilder(
    * 
* * repeated string notification_channels = 14; + * * @param index The index of the element to return. * @return The notificationChannels at the given index. */ java.lang.String getNotificationChannels(int index); /** + * + * *
    * Identifies the notification channels to which notifications should be sent
    * when incidents are opened or closed or when new violations occur on
@@ -415,33 +489,41 @@ com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder getConditionsOrBuilder(
    * 
* * repeated string notification_channels = 14; + * * @param index The index of the value to return. * @return The bytes of the notificationChannels at the given index. */ - com.google.protobuf.ByteString - getNotificationChannelsBytes(int index); + com.google.protobuf.ByteString getNotificationChannelsBytes(int index); /** + * + * *
    * A read-only record of the creation of the alerting policy. If provided
    * in a call to create or update, this field will be ignored.
    * 
* * .google.monitoring.v3.MutationRecord creation_record = 10; + * * @return Whether the creationRecord field is set. */ boolean hasCreationRecord(); /** + * + * *
    * A read-only record of the creation of the alerting policy. If provided
    * in a call to create or update, this field will be ignored.
    * 
* * .google.monitoring.v3.MutationRecord creation_record = 10; + * * @return The creationRecord. */ com.google.monitoring.v3.MutationRecord getCreationRecord(); /** + * + * *
    * A read-only record of the creation of the alerting policy. If provided
    * in a call to create or update, this field will be ignored.
@@ -452,26 +534,34 @@ com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder getConditionsOrBuilder(
   com.google.monitoring.v3.MutationRecordOrBuilder getCreationRecordOrBuilder();
 
   /**
+   *
+   *
    * 
    * A read-only record of the most recent change to the alerting policy. If
    * provided in a call to create or update, this field will be ignored.
    * 
* * .google.monitoring.v3.MutationRecord mutation_record = 11; + * * @return Whether the mutationRecord field is set. */ boolean hasMutationRecord(); /** + * + * *
    * A read-only record of the most recent change to the alerting policy. If
    * provided in a call to create or update, this field will be ignored.
    * 
* * .google.monitoring.v3.MutationRecord mutation_record = 11; + * * @return The mutationRecord. */ com.google.monitoring.v3.MutationRecord getMutationRecord(); /** + * + * *
    * A read-only record of the most recent change to the alerting policy. If
    * provided in a call to create or update, this field will be ignored.
@@ -482,24 +572,32 @@ com.google.monitoring.v3.AlertPolicy.ConditionOrBuilder getConditionsOrBuilder(
   com.google.monitoring.v3.MutationRecordOrBuilder getMutationRecordOrBuilder();
 
   /**
+   *
+   *
    * 
    * Control over how this alert policy's notification channels are notified.
    * 
* * .google.monitoring.v3.AlertPolicy.AlertStrategy alert_strategy = 21; + * * @return Whether the alertStrategy field is set. */ boolean hasAlertStrategy(); /** + * + * *
    * Control over how this alert policy's notification channels are notified.
    * 
* * .google.monitoring.v3.AlertPolicy.AlertStrategy alert_strategy = 21; + * * @return The alertStrategy. */ com.google.monitoring.v3.AlertPolicy.AlertStrategy getAlertStrategy(); /** + * + * *
    * Control over how this alert policy's notification channels are notified.
    * 
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertProto.java new file mode 100644 index 00000000..ab6ac96d --- /dev/null +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertProto.java @@ -0,0 +1,339 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/alert.proto + +package com.google.monitoring.v3; + +public final class AlertProto { + private AlertProto() {} + + 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_monitoring_v3_AlertPolicy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_AlertPolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_AlertPolicy_Documentation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_AlertPolicy_Documentation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_AlertPolicy_Condition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_AlertPolicy_Condition_Trigger_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_AlertPolicy_Condition_Trigger_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricThreshold_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricThreshold_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricAbsence_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricAbsence_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_LabelExtractorsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_LabelExtractorsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_AlertPolicy_Condition_MonitoringQueryLanguageCondition_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_AlertPolicy_Condition_MonitoringQueryLanguageCondition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_NotificationRateLimit_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_NotificationRateLimit_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_AlertPolicy_UserLabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_AlertPolicy_UserLabelsEntry_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/monitoring/v3/alert.proto\022\024goog" + + "le.monitoring.v3\032\037google/api/field_behav" + + "ior.proto\032\031google/api/resource.proto\032!go" + + "ogle/monitoring/v3/common.proto\032*google/" + + "monitoring/v3/mutation_record.proto\032\036goo" + + "gle/protobuf/duration.proto\032\036google/prot" + + "obuf/wrappers.proto\032\027google/rpc/status.p" + + "roto\"\343\027\n\013AlertPolicy\022\014\n\004name\030\001 \001(\t\022\024\n\014di" + + "splay_name\030\002 \001(\t\022F\n\rdocumentation\030\r \001(\0132" + + "/.google.monitoring.v3.AlertPolicy.Docum" + + "entation\022F\n\013user_labels\030\020 \003(\01321.google.m" + + "onitoring.v3.AlertPolicy.UserLabelsEntry" + + "\022?\n\nconditions\030\014 \003(\0132+.google.monitoring" + + ".v3.AlertPolicy.Condition\022I\n\010combiner\030\006 " + + "\001(\01627.google.monitoring.v3.AlertPolicy.C" + + "onditionCombinerType\022+\n\007enabled\030\021 \001(\0132\032." + + "google.protobuf.BoolValue\022$\n\010validity\030\022 " + + "\001(\0132\022.google.rpc.Status\022\035\n\025notification_" + + "channels\030\016 \003(\t\022=\n\017creation_record\030\n \001(\0132" + + "$.google.monitoring.v3.MutationRecord\022=\n" + + "\017mutation_record\030\013 \001(\0132$.google.monitori" + + "ng.v3.MutationRecord\022G\n\016alert_strategy\030\025" + + " \001(\0132/.google.monitoring.v3.AlertPolicy." + + "AlertStrategy\0323\n\rDocumentation\022\017\n\007conten" + + "t\030\001 \001(\t\022\021\n\tmime_type\030\002 \001(\t\032\326\r\n\tCondition" + + "\022\014\n\004name\030\014 \001(\t\022\024\n\014display_name\030\006 \001(\t\022Z\n\023" + + "condition_threshold\030\001 \001(\0132;.google.monit" + + "oring.v3.AlertPolicy.Condition.MetricThr" + + "esholdH\000\022U\n\020condition_absent\030\002 \001(\01329.goo" + + "gle.monitoring.v3.AlertPolicy.Condition." + + "MetricAbsenceH\000\022U\n\025condition_matched_log" + + "\030\024 \001(\01324.google.monitoring.v3.AlertPolic" + + "y.Condition.LogMatchH\000\022{\n#condition_moni" + + "toring_query_language\030\023 \001(\0132L.google.mon" + + "itoring.v3.AlertPolicy.Condition.Monitor" + + "ingQueryLanguageConditionH\000\0325\n\007Trigger\022\017" + + "\n\005count\030\001 \001(\005H\000\022\021\n\007percent\030\002 \001(\001H\000B\006\n\004ty" + + "pe\032\206\003\n\017MetricThreshold\022\023\n\006filter\030\002 \001(\tB\003" + + "\340A\002\0227\n\014aggregations\030\010 \003(\0132!.google.monit" + + "oring.v3.Aggregation\022\032\n\022denominator_filt" + + "er\030\t \001(\t\022C\n\030denominator_aggregations\030\n \003" + + "(\0132!.google.monitoring.v3.Aggregation\0228\n" + + "\ncomparison\030\004 \001(\0162$.google.monitoring.v3" + + ".ComparisonType\022\027\n\017threshold_value\030\005 \001(\001" + + "\022+\n\010duration\030\006 \001(\0132\031.google.protobuf.Dur" + + "ation\022D\n\007trigger\030\007 \001(\01323.google.monitori" + + "ng.v3.AlertPolicy.Condition.Trigger\032\320\001\n\r" + + "MetricAbsence\022\023\n\006filter\030\001 \001(\tB\003\340A\002\0227\n\014ag" + + "gregations\030\005 \003(\0132!.google.monitoring.v3." + + "Aggregation\022+\n\010duration\030\002 \001(\0132\031.google.p" + + "rotobuf.Duration\022D\n\007trigger\030\003 \001(\01323.goog" + + "le.monitoring.v3.AlertPolicy.Condition.T" + + "rigger\032\274\001\n\010LogMatch\022\023\n\006filter\030\001 \001(\tB\003\340A\002" + + "\022c\n\020label_extractors\030\002 \003(\0132I.google.moni" + + "toring.v3.AlertPolicy.Condition.LogMatch" + + ".LabelExtractorsEntry\0326\n\024LabelExtractors" + + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032\244\001" + + "\n MonitoringQueryLanguageCondition\022\r\n\005qu" + + "ery\030\001 \001(\t\022+\n\010duration\030\002 \001(\0132\031.google.pro" + + "tobuf.Duration\022D\n\007trigger\030\003 \001(\01323.google" + + ".monitoring.v3.AlertPolicy.Condition.Tri" + + "gger:\227\002\352A\223\002\n.monitoring.googleapis.com/A" + + "lertPolicyCondition\022Fprojects/{project}/" + + "alertPolicies/{alert_policy}/conditions/" + + "{condition}\022Porganizations/{organization" + + "}/alertPolicies/{alert_policy}/condition" + + "s/{condition}\022Dfolders/{folder}/alertPol" + + "icies/{alert_policy}/conditions/{conditi" + + "on}\022\001*B\013\n\tcondition\032\352\001\n\rAlertStrategy\022f\n" + + "\027notification_rate_limit\030\001 \001(\0132E.google." + + "monitoring.v3.AlertPolicy.AlertStrategy." + + "NotificationRateLimit\022-\n\nauto_close\030\003 \001(" + + "\0132\031.google.protobuf.Duration\032B\n\025Notifica" + + "tionRateLimit\022)\n\006period\030\001 \001(\0132\031.google.p" + + "rotobuf.Duration\0321\n\017UserLabelsEntry\022\013\n\003k" + + "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"a\n\025Condition" + + "CombinerType\022\027\n\023COMBINE_UNSPECIFIED\020\000\022\007\n" + + "\003AND\020\001\022\006\n\002OR\020\002\022\036\n\032AND_WITH_MATCHING_RESO" + + "URCE\020\003:\311\001\352A\305\001\n%monitoring.googleapis.com" + + "/AlertPolicy\022/projects/{project}/alertPo" + + "licies/{alert_policy}\0229organizations/{or" + + "ganization}/alertPolicies/{alert_policy}" + + "\022-folders/{folder}/alertPolicies/{alert_" + + "policy}\022\001*B\302\001\n\030com.google.monitoring.v3B" + + "\nAlertProtoP\001Z>google.golang.org/genprot" + + "o/googleapis/monitoring/v3;monitoring\252\002\032" + + "Google.Cloud.Monitoring.V3\312\002\032Google\\Clou" + + "d\\Monitoring\\V3\352\002\035Google::Cloud::Monitor" + + "ing::V3b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.monitoring.v3.CommonProto.getDescriptor(), + com.google.monitoring.v3.MutationRecordProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.WrappersProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_monitoring_v3_AlertPolicy_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_monitoring_v3_AlertPolicy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_AlertPolicy_descriptor, + new java.lang.String[] { + "Name", + "DisplayName", + "Documentation", + "UserLabels", + "Conditions", + "Combiner", + "Enabled", + "Validity", + "NotificationChannels", + "CreationRecord", + "MutationRecord", + "AlertStrategy", + }); + internal_static_google_monitoring_v3_AlertPolicy_Documentation_descriptor = + internal_static_google_monitoring_v3_AlertPolicy_descriptor.getNestedTypes().get(0); + internal_static_google_monitoring_v3_AlertPolicy_Documentation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_AlertPolicy_Documentation_descriptor, + new java.lang.String[] { + "Content", "MimeType", + }); + internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor = + internal_static_google_monitoring_v3_AlertPolicy_descriptor.getNestedTypes().get(1); + internal_static_google_monitoring_v3_AlertPolicy_Condition_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor, + new java.lang.String[] { + "Name", + "DisplayName", + "ConditionThreshold", + "ConditionAbsent", + "ConditionMatchedLog", + "ConditionMonitoringQueryLanguage", + "Condition", + }); + internal_static_google_monitoring_v3_AlertPolicy_Condition_Trigger_descriptor = + internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor + .getNestedTypes() + .get(0); + internal_static_google_monitoring_v3_AlertPolicy_Condition_Trigger_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_AlertPolicy_Condition_Trigger_descriptor, + new java.lang.String[] { + "Count", "Percent", "Type", + }); + internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricThreshold_descriptor = + internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor + .getNestedTypes() + .get(1); + internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricThreshold_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricThreshold_descriptor, + new java.lang.String[] { + "Filter", + "Aggregations", + "DenominatorFilter", + "DenominatorAggregations", + "Comparison", + "ThresholdValue", + "Duration", + "Trigger", + }); + internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricAbsence_descriptor = + internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor + .getNestedTypes() + .get(2); + internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricAbsence_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_AlertPolicy_Condition_MetricAbsence_descriptor, + new java.lang.String[] { + "Filter", "Aggregations", "Duration", "Trigger", + }); + internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_descriptor = + internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor + .getNestedTypes() + .get(3); + internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_descriptor, + new java.lang.String[] { + "Filter", "LabelExtractors", + }); + internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_LabelExtractorsEntry_descriptor = + internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_descriptor + .getNestedTypes() + .get(0); + internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_LabelExtractorsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_AlertPolicy_Condition_LogMatch_LabelExtractorsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_monitoring_v3_AlertPolicy_Condition_MonitoringQueryLanguageCondition_descriptor = + internal_static_google_monitoring_v3_AlertPolicy_Condition_descriptor + .getNestedTypes() + .get(4); + internal_static_google_monitoring_v3_AlertPolicy_Condition_MonitoringQueryLanguageCondition_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_AlertPolicy_Condition_MonitoringQueryLanguageCondition_descriptor, + new java.lang.String[] { + "Query", "Duration", "Trigger", + }); + internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_descriptor = + internal_static_google_monitoring_v3_AlertPolicy_descriptor.getNestedTypes().get(2); + internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_descriptor, + new java.lang.String[] { + "NotificationRateLimit", "AutoClose", + }); + internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_NotificationRateLimit_descriptor = + internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_descriptor + .getNestedTypes() + .get(0); + internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_NotificationRateLimit_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_AlertPolicy_AlertStrategy_NotificationRateLimit_descriptor, + new java.lang.String[] { + "Period", + }); + internal_static_google_monitoring_v3_AlertPolicy_UserLabelsEntry_descriptor = + internal_static_google_monitoring_v3_AlertPolicy_descriptor.getNestedTypes().get(3); + internal_static_google_monitoring_v3_AlertPolicy_UserLabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_AlertPolicy_UserLabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.monitoring.v3.CommonProto.getDescriptor(); + com.google.monitoring.v3.MutationRecordProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.WrappersProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertServiceProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertServiceProto.java new file mode 100644 index 00000000..a90b69db --- /dev/null +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/AlertServiceProto.java @@ -0,0 +1,202 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/alert_service.proto + +package com.google.monitoring.v3; + +public final class AlertServiceProto { + private AlertServiceProto() {} + + 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_monitoring_v3_CreateAlertPolicyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_CreateAlertPolicyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_GetAlertPolicyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_GetAlertPolicyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_ListAlertPoliciesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_ListAlertPoliciesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_ListAlertPoliciesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_ListAlertPoliciesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_UpdateAlertPolicyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_UpdateAlertPolicyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_DeleteAlertPolicyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_DeleteAlertPolicyRequest_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/monitoring/v3/alert_service.pro" + + "to\022\024google.monitoring.v3\032\034google/api/ann" + + "otations.proto\032\027google/api/client.proto\032" + + "\037google/api/field_behavior.proto\032\031google" + + "/api/resource.proto\032 google/monitoring/v" + + "3/alert.proto\032\033google/protobuf/empty.pro" + + "to\032 google/protobuf/field_mask.proto\"\225\001\n" + + "\030CreateAlertPolicyRequest\022;\n\004name\030\003 \001(\tB" + + "-\340A\002\372A\'\022%monitoring.googleapis.com/Alert" + + "Policy\022<\n\014alert_policy\030\002 \001(\0132!.google.mo" + + "nitoring.v3.AlertPolicyB\003\340A\002\"T\n\025GetAlert" + + "PolicyRequest\022;\n\004name\030\003 \001(\tB-\340A\002\372A\'\n%mon" + + "itoring.googleapis.com/AlertPolicy\"\240\001\n\030L" + + "istAlertPoliciesRequest\022;\n\004name\030\004 \001(\tB-\340" + + "A\002\372A\'\022%monitoring.googleapis.com/AlertPo" + + "licy\022\016\n\006filter\030\005 \001(\t\022\020\n\010order_by\030\006 \001(\t\022\021" + + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\203\001" + + "\n\031ListAlertPoliciesResponse\0229\n\016alert_pol" + + "icies\030\003 \003(\0132!.google.monitoring.v3.Alert" + + "Policy\022\027\n\017next_page_token\030\002 \001(\t\022\022\n\ntotal" + + "_size\030\004 \001(\005\"\211\001\n\030UpdateAlertPolicyRequest" + + "\022/\n\013update_mask\030\002 \001(\0132\032.google.protobuf." + + "FieldMask\022<\n\014alert_policy\030\003 \001(\0132!.google" + + ".monitoring.v3.AlertPolicyB\003\340A\002\"W\n\030Delet" + + "eAlertPolicyRequest\022;\n\004name\030\003 \001(\tB-\340A\002\372A" + + "\'\n%monitoring.googleapis.com/AlertPolicy" + + "2\236\010\n\022AlertPolicyService\022\250\001\n\021ListAlertPol" + + "icies\022..google.monitoring.v3.ListAlertPo" + + "liciesRequest\032/.google.monitoring.v3.Lis" + + "tAlertPoliciesResponse\"2\202\323\344\223\002%\022#/v3/{nam" + + "e=projects/*}/alertPolicies\332A\004name\022\226\001\n\016G" + + "etAlertPolicy\022+.google.monitoring.v3.Get" + + "AlertPolicyRequest\032!.google.monitoring.v" + + "3.AlertPolicy\"4\202\323\344\223\002\'\022%/v3/{name=project" + + "s/*/alertPolicies/*}\332A\004name\022\265\001\n\021CreateAl" + + "ertPolicy\022..google.monitoring.v3.CreateA" + + "lertPolicyRequest\032!.google.monitoring.v3" + + ".AlertPolicy\"M\202\323\344\223\0023\"#/v3/{name=projects" + + "/*}/alertPolicies:\014alert_policy\332A\021name,a" + + "lert_policy\022\221\001\n\021DeleteAlertPolicy\022..goog" + + "le.monitoring.v3.DeleteAlertPolicyReques" + + "t\032\026.google.protobuf.Empty\"4\202\323\344\223\002\'*%/v3/{" + + "name=projects/*/alertPolicies/*}\332A\004name\022" + + "\313\001\n\021UpdateAlertPolicy\022..google.monitorin" + + "g.v3.UpdateAlertPolicyRequest\032!.google.m" + + "onitoring.v3.AlertPolicy\"c\202\323\344\223\002B22/v3/{a" + + "lert_policy.name=projects/*/alertPolicie" + + "s/*}:\014alert_policy\332A\030update_mask,alert_p" + + "olicy\032\251\001\312A\031monitoring.googleapis.com\322A\211\001" + + "https://www.googleapis.com/auth/cloud-pl" + + "atform,https://www.googleapis.com/auth/m" + + "onitoring,https://www.googleapis.com/aut" + + "h/monitoring.readB\311\001\n\030com.google.monitor" + + "ing.v3B\021AlertServiceProtoP\001Z>google.gola" + + "ng.org/genproto/googleapis/monitoring/v3" + + ";monitoring\252\002\032Google.Cloud.Monitoring.V3" + + "\312\002\032Google\\Cloud\\Monitoring\\V3\352\002\035Google::" + + "Cloud::Monitoring::V3b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.monitoring.v3.AlertProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_monitoring_v3_CreateAlertPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_monitoring_v3_CreateAlertPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_CreateAlertPolicyRequest_descriptor, + new java.lang.String[] { + "Name", "AlertPolicy", + }); + internal_static_google_monitoring_v3_GetAlertPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_monitoring_v3_GetAlertPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_GetAlertPolicyRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_monitoring_v3_ListAlertPoliciesRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_monitoring_v3_ListAlertPoliciesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_ListAlertPoliciesRequest_descriptor, + new java.lang.String[] { + "Name", "Filter", "OrderBy", "PageSize", "PageToken", + }); + internal_static_google_monitoring_v3_ListAlertPoliciesResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_monitoring_v3_ListAlertPoliciesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_ListAlertPoliciesResponse_descriptor, + new java.lang.String[] { + "AlertPolicies", "NextPageToken", "TotalSize", + }); + internal_static_google_monitoring_v3_UpdateAlertPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_monitoring_v3_UpdateAlertPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_UpdateAlertPolicyRequest_descriptor, + new java.lang.String[] { + "UpdateMask", "AlertPolicy", + }); + internal_static_google_monitoring_v3_DeleteAlertPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_monitoring_v3_DeleteAlertPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_DeleteAlertPolicyRequest_descriptor, + new java.lang.String[] { + "Name", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.monitoring.v3.AlertProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/BasicSli.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/BasicSli.java similarity index 76% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/BasicSli.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/BasicSli.java index 62889a87..d484f092 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/BasicSli.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/BasicSli.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/service.proto package com.google.monitoring.v3; /** + * + * *
  * An SLI measuring performance on a well-known service type. Performance will
  * be computed on the basis of pre-defined metrics. The type of the
@@ -15,15 +32,16 @@
  *
  * Protobuf type {@code google.monitoring.v3.BasicSli}
  */
-public final class BasicSli extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class BasicSli extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.BasicSli)
     BasicSliOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use BasicSli.newBuilder() to construct.
   private BasicSli(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private BasicSli() {
     method_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     location_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -32,16 +50,15 @@ private BasicSli() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new BasicSli();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private BasicSli(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -61,75 +78,88 @@ private BasicSli(
           case 0:
             done = true;
             break;
-          case 18: {
-            com.google.monitoring.v3.BasicSli.AvailabilityCriteria.Builder subBuilder = null;
-            if (sliCriteriaCase_ == 2) {
-              subBuilder = ((com.google.monitoring.v3.BasicSli.AvailabilityCriteria) sliCriteria_).toBuilder();
-            }
-            sliCriteria_ =
-                input.readMessage(com.google.monitoring.v3.BasicSli.AvailabilityCriteria.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.monitoring.v3.BasicSli.AvailabilityCriteria) sliCriteria_);
-              sliCriteria_ = subBuilder.buildPartial();
-            }
-            sliCriteriaCase_ = 2;
-            break;
-          }
-          case 26: {
-            com.google.monitoring.v3.BasicSli.LatencyCriteria.Builder subBuilder = null;
-            if (sliCriteriaCase_ == 3) {
-              subBuilder = ((com.google.monitoring.v3.BasicSli.LatencyCriteria) sliCriteria_).toBuilder();
+          case 18:
+            {
+              com.google.monitoring.v3.BasicSli.AvailabilityCriteria.Builder subBuilder = null;
+              if (sliCriteriaCase_ == 2) {
+                subBuilder =
+                    ((com.google.monitoring.v3.BasicSli.AvailabilityCriteria) sliCriteria_)
+                        .toBuilder();
+              }
+              sliCriteria_ =
+                  input.readMessage(
+                      com.google.monitoring.v3.BasicSli.AvailabilityCriteria.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.monitoring.v3.BasicSli.AvailabilityCriteria) sliCriteria_);
+                sliCriteria_ = subBuilder.buildPartial();
+              }
+              sliCriteriaCase_ = 2;
+              break;
             }
-            sliCriteria_ =
-                input.readMessage(com.google.monitoring.v3.BasicSli.LatencyCriteria.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.monitoring.v3.BasicSli.LatencyCriteria) sliCriteria_);
-              sliCriteria_ = subBuilder.buildPartial();
+          case 26:
+            {
+              com.google.monitoring.v3.BasicSli.LatencyCriteria.Builder subBuilder = null;
+              if (sliCriteriaCase_ == 3) {
+                subBuilder =
+                    ((com.google.monitoring.v3.BasicSli.LatencyCriteria) sliCriteria_).toBuilder();
+              }
+              sliCriteria_ =
+                  input.readMessage(
+                      com.google.monitoring.v3.BasicSli.LatencyCriteria.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.monitoring.v3.BasicSli.LatencyCriteria) sliCriteria_);
+                sliCriteria_ = subBuilder.buildPartial();
+              }
+              sliCriteriaCase_ = 3;
+              break;
             }
-            sliCriteriaCase_ = 3;
-            break;
-          }
-          case 58: {
-            java.lang.String s = input.readStringRequireUtf8();
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              method_ = new com.google.protobuf.LazyStringArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 58:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                method_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              method_.add(s);
+              break;
             }
-            method_.add(s);
-            break;
-          }
-          case 66: {
-            java.lang.String s = input.readStringRequireUtf8();
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              location_ = new com.google.protobuf.LazyStringArrayList();
-              mutable_bitField0_ |= 0x00000002;
+          case 66:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                location_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000002;
+              }
+              location_.add(s);
+              break;
             }
-            location_.add(s);
-            break;
-          }
-          case 74: {
-            java.lang.String s = input.readStringRequireUtf8();
-            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-              version_ = new com.google.protobuf.LazyStringArrayList();
-              mutable_bitField0_ |= 0x00000004;
+          case 74:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                version_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000004;
+              }
+              version_.add(s);
+              break;
             }
-            version_.add(s);
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         method_ = method_.getUnmodifiableView();
@@ -144,54 +174,58 @@ private BasicSli(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_BasicSli_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.monitoring.v3.ServiceMonitoringProto
+        .internal_static_google_monitoring_v3_BasicSli_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_BasicSli_fieldAccessorTable
+    return com.google.monitoring.v3.ServiceMonitoringProto
+        .internal_static_google_monitoring_v3_BasicSli_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.BasicSli.class, com.google.monitoring.v3.BasicSli.Builder.class);
+            com.google.monitoring.v3.BasicSli.class,
+            com.google.monitoring.v3.BasicSli.Builder.class);
   }
 
-  public interface AvailabilityCriteriaOrBuilder extends
+  public interface AvailabilityCriteriaOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.monitoring.v3.BasicSli.AvailabilityCriteria)
-      com.google.protobuf.MessageOrBuilder {
-  }
+      com.google.protobuf.MessageOrBuilder {}
   /**
+   *
+   *
    * 
    * Future parameters for the availability SLI.
    * 
* * Protobuf type {@code google.monitoring.v3.BasicSli.AvailabilityCriteria} */ - public static final class AvailabilityCriteria extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class AvailabilityCriteria extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.BasicSli.AvailabilityCriteria) AvailabilityCriteriaOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AvailabilityCriteria.newBuilder() to construct. private AvailabilityCriteria(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AvailabilityCriteria() { - } + + private AvailabilityCriteria() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AvailabilityCriteria(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AvailabilityCriteria( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -210,39 +244,42 @@ private AvailabilityCriteria( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_BasicSli_AvailabilityCriteria_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringProto + .internal_static_google_monitoring_v3_BasicSli_AvailabilityCriteria_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_BasicSli_AvailabilityCriteria_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringProto + .internal_static_google_monitoring_v3_BasicSli_AvailabilityCriteria_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.BasicSli.AvailabilityCriteria.class, com.google.monitoring.v3.BasicSli.AvailabilityCriteria.Builder.class); + com.google.monitoring.v3.BasicSli.AvailabilityCriteria.class, + com.google.monitoring.v3.BasicSli.AvailabilityCriteria.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -254,8 +291,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -273,12 +309,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.BasicSli.AvailabilityCriteria)) { return super.equals(obj); } - com.google.monitoring.v3.BasicSli.AvailabilityCriteria other = (com.google.monitoring.v3.BasicSli.AvailabilityCriteria) obj; + com.google.monitoring.v3.BasicSli.AvailabilityCriteria other = + (com.google.monitoring.v3.BasicSli.AvailabilityCriteria) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -297,87 +334,94 @@ public int hashCode() { } public static com.google.monitoring.v3.BasicSli.AvailabilityCriteria parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.BasicSli.AvailabilityCriteria parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.BasicSli.AvailabilityCriteria parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.BasicSli.AvailabilityCriteria parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.BasicSli.AvailabilityCriteria parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.BasicSli.AvailabilityCriteria parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.BasicSli.AvailabilityCriteria parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.BasicSli.AvailabilityCriteria parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.BasicSli.AvailabilityCriteria parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.BasicSli.AvailabilityCriteria parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.BasicSli.AvailabilityCriteria parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.BasicSli.AvailabilityCriteria parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.BasicSli.AvailabilityCriteria parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.BasicSli.AvailabilityCriteria parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.BasicSli.AvailabilityCriteria prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.BasicSli.AvailabilityCriteria prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -387,27 +431,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Future parameters for the availability SLI.
      * 
* * Protobuf type {@code google.monitoring.v3.BasicSli.AvailabilityCriteria} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.BasicSli.AvailabilityCriteria) com.google.monitoring.v3.BasicSli.AvailabilityCriteriaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_BasicSli_AvailabilityCriteria_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringProto + .internal_static_google_monitoring_v3_BasicSli_AvailabilityCriteria_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_BasicSli_AvailabilityCriteria_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringProto + .internal_static_google_monitoring_v3_BasicSli_AvailabilityCriteria_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.BasicSli.AvailabilityCriteria.class, com.google.monitoring.v3.BasicSli.AvailabilityCriteria.Builder.class); + com.google.monitoring.v3.BasicSli.AvailabilityCriteria.class, + com.google.monitoring.v3.BasicSli.AvailabilityCriteria.Builder.class); } // Construct using com.google.monitoring.v3.BasicSli.AvailabilityCriteria.newBuilder() @@ -415,16 +464,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -432,9 +480,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_BasicSli_AvailabilityCriteria_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.ServiceMonitoringProto + .internal_static_google_monitoring_v3_BasicSli_AvailabilityCriteria_descriptor; } @java.lang.Override @@ -453,7 +501,8 @@ public com.google.monitoring.v3.BasicSli.AvailabilityCriteria build() { @java.lang.Override public com.google.monitoring.v3.BasicSli.AvailabilityCriteria buildPartial() { - com.google.monitoring.v3.BasicSli.AvailabilityCriteria result = new com.google.monitoring.v3.BasicSli.AvailabilityCriteria(this); + com.google.monitoring.v3.BasicSli.AvailabilityCriteria result = + new com.google.monitoring.v3.BasicSli.AvailabilityCriteria(this); onBuilt(); return result; } @@ -462,38 +511,41 @@ public com.google.monitoring.v3.BasicSli.AvailabilityCriteria 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.monitoring.v3.BasicSli.AvailabilityCriteria) { - return mergeFrom((com.google.monitoring.v3.BasicSli.AvailabilityCriteria)other); + return mergeFrom((com.google.monitoring.v3.BasicSli.AvailabilityCriteria) other); } else { super.mergeFrom(other); return this; @@ -501,7 +553,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.BasicSli.AvailabilityCriteria other) { - if (other == com.google.monitoring.v3.BasicSli.AvailabilityCriteria.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.BasicSli.AvailabilityCriteria.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -521,7 +574,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.BasicSli.AvailabilityCriteria) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.BasicSli.AvailabilityCriteria) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -530,6 +584,7 @@ public Builder mergeFrom( } return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -542,12 +597,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.BasicSli.AvailabilityCriteria) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.BasicSli.AvailabilityCriteria) private static final com.google.monitoring.v3.BasicSli.AvailabilityCriteria DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.BasicSli.AvailabilityCriteria(); } @@ -556,16 +611,16 @@ public static com.google.monitoring.v3.BasicSli.AvailabilityCriteria getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AvailabilityCriteria parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AvailabilityCriteria(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AvailabilityCriteria parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AvailabilityCriteria(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -580,34 +635,42 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.BasicSli.AvailabilityCriteria getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface LatencyCriteriaOrBuilder extends + public interface LatencyCriteriaOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.BasicSli.LatencyCriteria) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Good service is defined to be the count of requests made to this service
      * that return in no more than `threshold`.
      * 
* * .google.protobuf.Duration threshold = 3; + * * @return Whether the threshold field is set. */ boolean hasThreshold(); /** + * + * *
      * Good service is defined to be the count of requests made to this service
      * that return in no more than `threshold`.
      * 
* * .google.protobuf.Duration threshold = 3; + * * @return The threshold. */ com.google.protobuf.Duration getThreshold(); /** + * + * *
      * Good service is defined to be the count of requests made to this service
      * that return in no more than `threshold`.
@@ -618,36 +681,37 @@ public interface LatencyCriteriaOrBuilder extends
     com.google.protobuf.DurationOrBuilder getThresholdOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Parameters for a latency threshold SLI.
    * 
* * Protobuf type {@code google.monitoring.v3.BasicSli.LatencyCriteria} */ - public static final class LatencyCriteria extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class LatencyCriteria extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.BasicSli.LatencyCriteria) LatencyCriteriaOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LatencyCriteria.newBuilder() to construct. private LatencyCriteria(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LatencyCriteria() { - } + + private LatencyCriteria() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LatencyCriteria(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private LatencyCriteria( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -666,60 +730,67 @@ private LatencyCriteria( case 0: done = true; break; - case 26: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (threshold_ != null) { - subBuilder = threshold_.toBuilder(); - } - threshold_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(threshold_); - threshold_ = subBuilder.buildPartial(); + case 26: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (threshold_ != null) { + subBuilder = threshold_.toBuilder(); + } + threshold_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(threshold_); + threshold_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_BasicSli_LatencyCriteria_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringProto + .internal_static_google_monitoring_v3_BasicSli_LatencyCriteria_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_BasicSli_LatencyCriteria_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringProto + .internal_static_google_monitoring_v3_BasicSli_LatencyCriteria_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.BasicSli.LatencyCriteria.class, com.google.monitoring.v3.BasicSli.LatencyCriteria.Builder.class); + com.google.monitoring.v3.BasicSli.LatencyCriteria.class, + com.google.monitoring.v3.BasicSli.LatencyCriteria.Builder.class); } public static final int THRESHOLD_FIELD_NUMBER = 3; private com.google.protobuf.Duration threshold_; /** + * + * *
      * Good service is defined to be the count of requests made to this service
      * that return in no more than `threshold`.
      * 
* * .google.protobuf.Duration threshold = 3; + * * @return Whether the threshold field is set. */ @java.lang.Override @@ -727,12 +798,15 @@ public boolean hasThreshold() { return threshold_ != null; } /** + * + * *
      * Good service is defined to be the count of requests made to this service
      * that return in no more than `threshold`.
      * 
* * .google.protobuf.Duration threshold = 3; + * * @return The threshold. */ @java.lang.Override @@ -740,6 +814,8 @@ public com.google.protobuf.Duration getThreshold() { return threshold_ == null ? com.google.protobuf.Duration.getDefaultInstance() : threshold_; } /** + * + * *
      * Good service is defined to be the count of requests made to this service
      * that return in no more than `threshold`.
@@ -753,6 +829,7 @@ public com.google.protobuf.DurationOrBuilder getThresholdOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -764,8 +841,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (threshold_ != null) {
         output.writeMessage(3, getThreshold());
       }
@@ -779,8 +855,7 @@ public int getSerializedSize() {
 
       size = 0;
       if (threshold_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(3, getThreshold());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getThreshold());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -790,17 +865,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.monitoring.v3.BasicSli.LatencyCriteria)) {
         return super.equals(obj);
       }
-      com.google.monitoring.v3.BasicSli.LatencyCriteria other = (com.google.monitoring.v3.BasicSli.LatencyCriteria) obj;
+      com.google.monitoring.v3.BasicSli.LatencyCriteria other =
+          (com.google.monitoring.v3.BasicSli.LatencyCriteria) obj;
 
       if (hasThreshold() != other.hasThreshold()) return false;
       if (hasThreshold()) {
-        if (!getThreshold()
-            .equals(other.getThreshold())) return false;
+        if (!getThreshold().equals(other.getThreshold())) return false;
       }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -823,87 +898,93 @@ public int hashCode() {
     }
 
     public static com.google.monitoring.v3.BasicSli.LatencyCriteria parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.monitoring.v3.BasicSli.LatencyCriteria parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.monitoring.v3.BasicSli.LatencyCriteria parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.monitoring.v3.BasicSli.LatencyCriteria parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.monitoring.v3.BasicSli.LatencyCriteria parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.monitoring.v3.BasicSli.LatencyCriteria parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.monitoring.v3.BasicSli.LatencyCriteria parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.monitoring.v3.BasicSli.LatencyCriteria parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.monitoring.v3.BasicSli.LatencyCriteria parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.monitoring.v3.BasicSli.LatencyCriteria parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.monitoring.v3.BasicSli.LatencyCriteria parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.monitoring.v3.BasicSli.LatencyCriteria parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.monitoring.v3.BasicSli.LatencyCriteria parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.monitoring.v3.BasicSli.LatencyCriteria parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
+
     public static Builder newBuilder(com.google.monitoring.v3.BasicSli.LatencyCriteria prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -913,27 +994,32 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Parameters for a latency threshold SLI.
      * 
* * Protobuf type {@code google.monitoring.v3.BasicSli.LatencyCriteria} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.BasicSli.LatencyCriteria) com.google.monitoring.v3.BasicSli.LatencyCriteriaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_BasicSli_LatencyCriteria_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringProto + .internal_static_google_monitoring_v3_BasicSli_LatencyCriteria_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_BasicSli_LatencyCriteria_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringProto + .internal_static_google_monitoring_v3_BasicSli_LatencyCriteria_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.BasicSli.LatencyCriteria.class, com.google.monitoring.v3.BasicSli.LatencyCriteria.Builder.class); + com.google.monitoring.v3.BasicSli.LatencyCriteria.class, + com.google.monitoring.v3.BasicSli.LatencyCriteria.Builder.class); } // Construct using com.google.monitoring.v3.BasicSli.LatencyCriteria.newBuilder() @@ -941,16 +1027,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -964,9 +1049,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_BasicSli_LatencyCriteria_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.ServiceMonitoringProto + .internal_static_google_monitoring_v3_BasicSli_LatencyCriteria_descriptor; } @java.lang.Override @@ -985,7 +1070,8 @@ public com.google.monitoring.v3.BasicSli.LatencyCriteria build() { @java.lang.Override public com.google.monitoring.v3.BasicSli.LatencyCriteria buildPartial() { - com.google.monitoring.v3.BasicSli.LatencyCriteria result = new com.google.monitoring.v3.BasicSli.LatencyCriteria(this); + com.google.monitoring.v3.BasicSli.LatencyCriteria result = + new com.google.monitoring.v3.BasicSli.LatencyCriteria(this); if (thresholdBuilder_ == null) { result.threshold_ = threshold_; } else { @@ -999,38 +1085,41 @@ public com.google.monitoring.v3.BasicSli.LatencyCriteria 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.monitoring.v3.BasicSli.LatencyCriteria) { - return mergeFrom((com.google.monitoring.v3.BasicSli.LatencyCriteria)other); + return mergeFrom((com.google.monitoring.v3.BasicSli.LatencyCriteria) other); } else { super.mergeFrom(other); return this; @@ -1038,7 +1127,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.BasicSli.LatencyCriteria other) { - if (other == com.google.monitoring.v3.BasicSli.LatencyCriteria.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.BasicSli.LatencyCriteria.getDefaultInstance()) + return this; if (other.hasThreshold()) { mergeThreshold(other.getThreshold()); } @@ -1061,7 +1151,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.BasicSli.LatencyCriteria) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.BasicSli.LatencyCriteria) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1073,36 +1164,49 @@ public Builder mergeFrom( private com.google.protobuf.Duration threshold_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> thresholdBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + thresholdBuilder_; /** + * + * *
        * Good service is defined to be the count of requests made to this service
        * that return in no more than `threshold`.
        * 
* * .google.protobuf.Duration threshold = 3; + * * @return Whether the threshold field is set. */ public boolean hasThreshold() { return thresholdBuilder_ != null || threshold_ != null; } /** + * + * *
        * Good service is defined to be the count of requests made to this service
        * that return in no more than `threshold`.
        * 
* * .google.protobuf.Duration threshold = 3; + * * @return The threshold. */ public com.google.protobuf.Duration getThreshold() { if (thresholdBuilder_ == null) { - return threshold_ == null ? com.google.protobuf.Duration.getDefaultInstance() : threshold_; + return threshold_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : threshold_; } else { return thresholdBuilder_.getMessage(); } } /** + * + * *
        * Good service is defined to be the count of requests made to this service
        * that return in no more than `threshold`.
@@ -1124,6 +1228,8 @@ public Builder setThreshold(com.google.protobuf.Duration value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Good service is defined to be the count of requests made to this service
        * that return in no more than `threshold`.
@@ -1131,8 +1237,7 @@ public Builder setThreshold(com.google.protobuf.Duration value) {
        *
        * .google.protobuf.Duration threshold = 3;
        */
-      public Builder setThreshold(
-          com.google.protobuf.Duration.Builder builderForValue) {
+      public Builder setThreshold(com.google.protobuf.Duration.Builder builderForValue) {
         if (thresholdBuilder_ == null) {
           threshold_ = builderForValue.build();
           onChanged();
@@ -1143,6 +1248,8 @@ public Builder setThreshold(
         return this;
       }
       /**
+       *
+       *
        * 
        * Good service is defined to be the count of requests made to this service
        * that return in no more than `threshold`.
@@ -1154,7 +1261,7 @@ public Builder mergeThreshold(com.google.protobuf.Duration value) {
         if (thresholdBuilder_ == null) {
           if (threshold_ != null) {
             threshold_ =
-              com.google.protobuf.Duration.newBuilder(threshold_).mergeFrom(value).buildPartial();
+                com.google.protobuf.Duration.newBuilder(threshold_).mergeFrom(value).buildPartial();
           } else {
             threshold_ = value;
           }
@@ -1166,6 +1273,8 @@ public Builder mergeThreshold(com.google.protobuf.Duration value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Good service is defined to be the count of requests made to this service
        * that return in no more than `threshold`.
@@ -1185,6 +1294,8 @@ public Builder clearThreshold() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Good service is defined to be the count of requests made to this service
        * that return in no more than `threshold`.
@@ -1193,11 +1304,13 @@ public Builder clearThreshold() {
        * .google.protobuf.Duration threshold = 3;
        */
       public com.google.protobuf.Duration.Builder getThresholdBuilder() {
-        
+
         onChanged();
         return getThresholdFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Good service is defined to be the count of requests made to this service
        * that return in no more than `threshold`.
@@ -1209,11 +1322,14 @@ public com.google.protobuf.DurationOrBuilder getThresholdOrBuilder() {
         if (thresholdBuilder_ != null) {
           return thresholdBuilder_.getMessageOrBuilder();
         } else {
-          return threshold_ == null ?
-              com.google.protobuf.Duration.getDefaultInstance() : threshold_;
+          return threshold_ == null
+              ? com.google.protobuf.Duration.getDefaultInstance()
+              : threshold_;
         }
       }
       /**
+       *
+       *
        * 
        * Good service is defined to be the count of requests made to this service
        * that return in no more than `threshold`.
@@ -1222,18 +1338,22 @@ public com.google.protobuf.DurationOrBuilder getThresholdOrBuilder() {
        * .google.protobuf.Duration threshold = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+              com.google.protobuf.Duration,
+              com.google.protobuf.Duration.Builder,
+              com.google.protobuf.DurationOrBuilder>
           getThresholdFieldBuilder() {
         if (thresholdBuilder_ == null) {
-          thresholdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                  getThreshold(),
-                  getParentForChildren(),
-                  isClean());
+          thresholdBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Duration,
+                  com.google.protobuf.Duration.Builder,
+                  com.google.protobuf.DurationOrBuilder>(
+                  getThreshold(), getParentForChildren(), isClean());
           threshold_ = null;
         }
         return thresholdBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1246,12 +1366,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.monitoring.v3.BasicSli.LatencyCriteria)
     }
 
     // @@protoc_insertion_point(class_scope:google.monitoring.v3.BasicSli.LatencyCriteria)
     private static final com.google.monitoring.v3.BasicSli.LatencyCriteria DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.monitoring.v3.BasicSli.LatencyCriteria();
     }
@@ -1260,16 +1380,16 @@ public static com.google.monitoring.v3.BasicSli.LatencyCriteria getDefaultInstan
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public LatencyCriteria parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new LatencyCriteria(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public LatencyCriteria parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new LatencyCriteria(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1284,18 +1404,20 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.monitoring.v3.BasicSli.LatencyCriteria getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   private int sliCriteriaCase_ = 0;
   private java.lang.Object sliCriteria_;
+
   public enum SliCriteriaCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     AVAILABILITY(2),
     LATENCY(3),
     SLICRITERIA_NOT_SET(0);
     private final int value;
+
     private SliCriteriaCase(int value) {
       this.value = value;
     }
@@ -1311,26 +1433,31 @@ public static SliCriteriaCase valueOf(int value) {
 
     public static SliCriteriaCase forNumber(int value) {
       switch (value) {
-        case 2: return AVAILABILITY;
-        case 3: return LATENCY;
-        case 0: return SLICRITERIA_NOT_SET;
-        default: return null;
+        case 2:
+          return AVAILABILITY;
+        case 3:
+          return LATENCY;
+        case 0:
+          return SLICRITERIA_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SliCriteriaCase
-  getSliCriteriaCase() {
-    return SliCriteriaCase.forNumber(
-        sliCriteriaCase_);
+  public SliCriteriaCase getSliCriteriaCase() {
+    return SliCriteriaCase.forNumber(sliCriteriaCase_);
   }
 
   public static final int METHOD_FIELD_NUMBER = 7;
   private com.google.protobuf.LazyStringList method_;
   /**
+   *
+   *
    * 
    * OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from
    * other methods will not be used to calculate performance for this SLI. If
@@ -1340,13 +1467,15 @@ public int getNumber() {
    * 
* * repeated string method = 7; + * * @return A list containing the method. */ - public com.google.protobuf.ProtocolStringList - getMethodList() { + public com.google.protobuf.ProtocolStringList getMethodList() { return method_; } /** + * + * *
    * OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from
    * other methods will not be used to calculate performance for this SLI. If
@@ -1356,12 +1485,15 @@ public int getNumber() {
    * 
* * repeated string method = 7; + * * @return The count of method. */ public int getMethodCount() { return method_.size(); } /** + * + * *
    * OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from
    * other methods will not be used to calculate performance for this SLI. If
@@ -1371,6 +1503,7 @@ public int getMethodCount() {
    * 
* * repeated string method = 7; + * * @param index The index of the element to return. * @return The method at the given index. */ @@ -1378,6 +1511,8 @@ public java.lang.String getMethod(int index) { return method_.get(index); } /** + * + * *
    * OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from
    * other methods will not be used to calculate performance for this SLI. If
@@ -1387,17 +1522,19 @@ public java.lang.String getMethod(int index) {
    * 
* * repeated string method = 7; + * * @param index The index of the value to return. * @return The bytes of the method at the given index. */ - public com.google.protobuf.ByteString - getMethodBytes(int index) { + public com.google.protobuf.ByteString getMethodBytes(int index) { return method_.getByteString(index); } public static final int LOCATION_FIELD_NUMBER = 8; private com.google.protobuf.LazyStringList location_; /** + * + * *
    * OPTIONAL: The set of locations to which this SLI is relevant. Telemetry
    * from other locations will not be used to calculate performance for this
@@ -1407,13 +1544,15 @@ public java.lang.String getMethod(int index) {
    * 
* * repeated string location = 8; + * * @return A list containing the location. */ - public com.google.protobuf.ProtocolStringList - getLocationList() { + public com.google.protobuf.ProtocolStringList getLocationList() { return location_; } /** + * + * *
    * OPTIONAL: The set of locations to which this SLI is relevant. Telemetry
    * from other locations will not be used to calculate performance for this
@@ -1423,12 +1562,15 @@ public java.lang.String getMethod(int index) {
    * 
* * repeated string location = 8; + * * @return The count of location. */ public int getLocationCount() { return location_.size(); } /** + * + * *
    * OPTIONAL: The set of locations to which this SLI is relevant. Telemetry
    * from other locations will not be used to calculate performance for this
@@ -1438,6 +1580,7 @@ public int getLocationCount() {
    * 
* * repeated string location = 8; + * * @param index The index of the element to return. * @return The location at the given index. */ @@ -1445,6 +1588,8 @@ public java.lang.String getLocation(int index) { return location_.get(index); } /** + * + * *
    * OPTIONAL: The set of locations to which this SLI is relevant. Telemetry
    * from other locations will not be used to calculate performance for this
@@ -1454,17 +1599,19 @@ public java.lang.String getLocation(int index) {
    * 
* * repeated string location = 8; + * * @param index The index of the value to return. * @return The bytes of the location at the given index. */ - public com.google.protobuf.ByteString - getLocationBytes(int index) { + public com.google.protobuf.ByteString getLocationBytes(int index) { return location_.getByteString(index); } public static final int VERSION_FIELD_NUMBER = 9; private com.google.protobuf.LazyStringList version_; /** + * + * *
    * OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry
    * from other API versions will not be used to calculate performance for this
@@ -1474,13 +1621,15 @@ public java.lang.String getLocation(int index) {
    * 
* * repeated string version = 9; + * * @return A list containing the version. */ - public com.google.protobuf.ProtocolStringList - getVersionList() { + public com.google.protobuf.ProtocolStringList getVersionList() { return version_; } /** + * + * *
    * OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry
    * from other API versions will not be used to calculate performance for this
@@ -1490,12 +1639,15 @@ public java.lang.String getLocation(int index) {
    * 
* * repeated string version = 9; + * * @return The count of version. */ public int getVersionCount() { return version_.size(); } /** + * + * *
    * OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry
    * from other API versions will not be used to calculate performance for this
@@ -1505,6 +1657,7 @@ public int getVersionCount() {
    * 
* * repeated string version = 9; + * * @param index The index of the element to return. * @return The version at the given index. */ @@ -1512,6 +1665,8 @@ public java.lang.String getVersion(int index) { return version_.get(index); } /** + * + * *
    * OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry
    * from other API versions will not be used to calculate performance for this
@@ -1521,22 +1676,25 @@ public java.lang.String getVersion(int index) {
    * 
* * repeated string version = 9; + * * @param index The index of the value to return. * @return The bytes of the version at the given index. */ - public com.google.protobuf.ByteString - getVersionBytes(int index) { + public com.google.protobuf.ByteString getVersionBytes(int index) { return version_.getByteString(index); } public static final int AVAILABILITY_FIELD_NUMBER = 2; /** + * + * *
    * Good service is defined to be the count of requests made to this service
    * that return successfully.
    * 
* * .google.monitoring.v3.BasicSli.AvailabilityCriteria availability = 2; + * * @return Whether the availability field is set. */ @java.lang.Override @@ -1544,22 +1702,27 @@ public boolean hasAvailability() { return sliCriteriaCase_ == 2; } /** + * + * *
    * Good service is defined to be the count of requests made to this service
    * that return successfully.
    * 
* * .google.monitoring.v3.BasicSli.AvailabilityCriteria availability = 2; + * * @return The availability. */ @java.lang.Override public com.google.monitoring.v3.BasicSli.AvailabilityCriteria getAvailability() { if (sliCriteriaCase_ == 2) { - return (com.google.monitoring.v3.BasicSli.AvailabilityCriteria) sliCriteria_; + return (com.google.monitoring.v3.BasicSli.AvailabilityCriteria) sliCriteria_; } return com.google.monitoring.v3.BasicSli.AvailabilityCriteria.getDefaultInstance(); } /** + * + * *
    * Good service is defined to be the count of requests made to this service
    * that return successfully.
@@ -1568,21 +1731,25 @@ public com.google.monitoring.v3.BasicSli.AvailabilityCriteria getAvailability()
    * .google.monitoring.v3.BasicSli.AvailabilityCriteria availability = 2;
    */
   @java.lang.Override
-  public com.google.monitoring.v3.BasicSli.AvailabilityCriteriaOrBuilder getAvailabilityOrBuilder() {
+  public com.google.monitoring.v3.BasicSli.AvailabilityCriteriaOrBuilder
+      getAvailabilityOrBuilder() {
     if (sliCriteriaCase_ == 2) {
-       return (com.google.monitoring.v3.BasicSli.AvailabilityCriteria) sliCriteria_;
+      return (com.google.monitoring.v3.BasicSli.AvailabilityCriteria) sliCriteria_;
     }
     return com.google.monitoring.v3.BasicSli.AvailabilityCriteria.getDefaultInstance();
   }
 
   public static final int LATENCY_FIELD_NUMBER = 3;
   /**
+   *
+   *
    * 
    * Good service is defined to be the count of requests made to this service
    * that are fast enough with respect to `latency.threshold`.
    * 
* * .google.monitoring.v3.BasicSli.LatencyCriteria latency = 3; + * * @return Whether the latency field is set. */ @java.lang.Override @@ -1590,22 +1757,27 @@ public boolean hasLatency() { return sliCriteriaCase_ == 3; } /** + * + * *
    * Good service is defined to be the count of requests made to this service
    * that are fast enough with respect to `latency.threshold`.
    * 
* * .google.monitoring.v3.BasicSli.LatencyCriteria latency = 3; + * * @return The latency. */ @java.lang.Override public com.google.monitoring.v3.BasicSli.LatencyCriteria getLatency() { if (sliCriteriaCase_ == 3) { - return (com.google.monitoring.v3.BasicSli.LatencyCriteria) sliCriteria_; + return (com.google.monitoring.v3.BasicSli.LatencyCriteria) sliCriteria_; } return com.google.monitoring.v3.BasicSli.LatencyCriteria.getDefaultInstance(); } /** + * + * *
    * Good service is defined to be the count of requests made to this service
    * that are fast enough with respect to `latency.threshold`.
@@ -1616,12 +1788,13 @@ public com.google.monitoring.v3.BasicSli.LatencyCriteria getLatency() {
   @java.lang.Override
   public com.google.monitoring.v3.BasicSli.LatencyCriteriaOrBuilder getLatencyOrBuilder() {
     if (sliCriteriaCase_ == 3) {
-       return (com.google.monitoring.v3.BasicSli.LatencyCriteria) sliCriteria_;
+      return (com.google.monitoring.v3.BasicSli.LatencyCriteria) sliCriteria_;
     }
     return com.google.monitoring.v3.BasicSli.LatencyCriteria.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1633,8 +1806,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (sliCriteriaCase_ == 2) {
       output.writeMessage(2, (com.google.monitoring.v3.BasicSli.AvailabilityCriteria) sliCriteria_);
     }
@@ -1660,12 +1832,14 @@ public int getSerializedSize() {
 
     size = 0;
     if (sliCriteriaCase_ == 2) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, (com.google.monitoring.v3.BasicSli.AvailabilityCriteria) sliCriteria_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, (com.google.monitoring.v3.BasicSli.AvailabilityCriteria) sliCriteria_);
     }
     if (sliCriteriaCase_ == 3) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, (com.google.monitoring.v3.BasicSli.LatencyCriteria) sliCriteria_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              3, (com.google.monitoring.v3.BasicSli.LatencyCriteria) sliCriteria_);
     }
     {
       int dataSize = 0;
@@ -1699,28 +1873,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.monitoring.v3.BasicSli)) {
       return super.equals(obj);
     }
     com.google.monitoring.v3.BasicSli other = (com.google.monitoring.v3.BasicSli) obj;
 
-    if (!getMethodList()
-        .equals(other.getMethodList())) return false;
-    if (!getLocationList()
-        .equals(other.getLocationList())) return false;
-    if (!getVersionList()
-        .equals(other.getVersionList())) return false;
+    if (!getMethodList().equals(other.getMethodList())) return false;
+    if (!getLocationList().equals(other.getLocationList())) return false;
+    if (!getVersionList().equals(other.getVersionList())) return false;
     if (!getSliCriteriaCase().equals(other.getSliCriteriaCase())) return false;
     switch (sliCriteriaCase_) {
       case 2:
-        if (!getAvailability()
-            .equals(other.getAvailability())) return false;
+        if (!getAvailability().equals(other.getAvailability())) return false;
         break;
       case 3:
-        if (!getLatency()
-            .equals(other.getLatency())) return false;
+        if (!getLatency().equals(other.getLatency())) return false;
         break;
       case 0:
       default:
@@ -1765,97 +1934,103 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.monitoring.v3.BasicSli parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.monitoring.v3.BasicSli parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.monitoring.v3.BasicSli parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.monitoring.v3.BasicSli parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.monitoring.v3.BasicSli parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.monitoring.v3.BasicSli parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.monitoring.v3.BasicSli parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.monitoring.v3.BasicSli parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.monitoring.v3.BasicSli 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.monitoring.v3.BasicSli parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.monitoring.v3.BasicSli parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.monitoring.v3.BasicSli parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.monitoring.v3.BasicSli parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.monitoring.v3.BasicSli parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.monitoring.v3.BasicSli prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * An SLI measuring performance on a well-known service type. Performance will
    * be computed on the basis of pre-defined metrics. The type of the
@@ -1867,21 +2042,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.monitoring.v3.BasicSli}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.BasicSli)
       com.google.monitoring.v3.BasicSliOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_BasicSli_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.monitoring.v3.ServiceMonitoringProto
+          .internal_static_google_monitoring_v3_BasicSli_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_BasicSli_fieldAccessorTable
+      return com.google.monitoring.v3.ServiceMonitoringProto
+          .internal_static_google_monitoring_v3_BasicSli_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.BasicSli.class, com.google.monitoring.v3.BasicSli.Builder.class);
+              com.google.monitoring.v3.BasicSli.class,
+              com.google.monitoring.v3.BasicSli.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.BasicSli.newBuilder()
@@ -1889,16 +2066,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1914,9 +2090,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_BasicSli_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.monitoring.v3.ServiceMonitoringProto
+          .internal_static_google_monitoring_v3_BasicSli_descriptor;
     }
 
     @java.lang.Override
@@ -1975,38 +2151,39 @@ public com.google.monitoring.v3.BasicSli 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.monitoring.v3.BasicSli) {
-        return mergeFrom((com.google.monitoring.v3.BasicSli)other);
+        return mergeFrom((com.google.monitoring.v3.BasicSli) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2046,17 +2223,20 @@ public Builder mergeFrom(com.google.monitoring.v3.BasicSli other) {
         onChanged();
       }
       switch (other.getSliCriteriaCase()) {
-        case AVAILABILITY: {
-          mergeAvailability(other.getAvailability());
-          break;
-        }
-        case LATENCY: {
-          mergeLatency(other.getLatency());
-          break;
-        }
-        case SLICRITERIA_NOT_SET: {
-          break;
-        }
+        case AVAILABILITY:
+          {
+            mergeAvailability(other.getAvailability());
+            break;
+          }
+        case LATENCY:
+          {
+            mergeLatency(other.getLatency());
+            break;
+          }
+        case SLICRITERIA_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -2086,12 +2266,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int sliCriteriaCase_ = 0;
     private java.lang.Object sliCriteria_;
-    public SliCriteriaCase
-        getSliCriteriaCase() {
-      return SliCriteriaCase.forNumber(
-          sliCriteriaCase_);
+
+    public SliCriteriaCase getSliCriteriaCase() {
+      return SliCriteriaCase.forNumber(sliCriteriaCase_);
     }
 
     public Builder clearSliCriteria() {
@@ -2103,14 +2283,18 @@ public Builder clearSliCriteria() {
 
     private int bitField0_;
 
-    private com.google.protobuf.LazyStringList method_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringList method_ =
+        com.google.protobuf.LazyStringArrayList.EMPTY;
+
     private void ensureMethodIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         method_ = new com.google.protobuf.LazyStringArrayList(method_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from
      * other methods will not be used to calculate performance for this SLI. If
@@ -2120,13 +2304,15 @@ private void ensureMethodIsMutable() {
      * 
* * repeated string method = 7; + * * @return A list containing the method. */ - public com.google.protobuf.ProtocolStringList - getMethodList() { + public com.google.protobuf.ProtocolStringList getMethodList() { return method_.getUnmodifiableView(); } /** + * + * *
      * OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from
      * other methods will not be used to calculate performance for this SLI. If
@@ -2136,12 +2322,15 @@ private void ensureMethodIsMutable() {
      * 
* * repeated string method = 7; + * * @return The count of method. */ public int getMethodCount() { return method_.size(); } /** + * + * *
      * OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from
      * other methods will not be used to calculate performance for this SLI. If
@@ -2151,6 +2340,7 @@ public int getMethodCount() {
      * 
* * repeated string method = 7; + * * @param index The index of the element to return. * @return The method at the given index. */ @@ -2158,6 +2348,8 @@ public java.lang.String getMethod(int index) { return method_.get(index); } /** + * + * *
      * OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from
      * other methods will not be used to calculate performance for this SLI. If
@@ -2167,14 +2359,16 @@ public java.lang.String getMethod(int index) {
      * 
* * repeated string method = 7; + * * @param index The index of the value to return. * @return The bytes of the method at the given index. */ - public com.google.protobuf.ByteString - getMethodBytes(int index) { + public com.google.protobuf.ByteString getMethodBytes(int index) { return method_.getByteString(index); } /** + * + * *
      * OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from
      * other methods will not be used to calculate performance for this SLI. If
@@ -2184,21 +2378,23 @@ public java.lang.String getMethod(int index) {
      * 
* * repeated string method = 7; + * * @param index The index to set the value at. * @param value The method to set. * @return This builder for chaining. */ - public Builder setMethod( - int index, java.lang.String value) { + public Builder setMethod(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMethodIsMutable(); + throw new NullPointerException(); + } + ensureMethodIsMutable(); method_.set(index, value); onChanged(); return this; } /** + * + * *
      * OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from
      * other methods will not be used to calculate performance for this SLI. If
@@ -2208,20 +2404,22 @@ public Builder setMethod(
      * 
* * repeated string method = 7; + * * @param value The method to add. * @return This builder for chaining. */ - public Builder addMethod( - java.lang.String value) { + public Builder addMethod(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMethodIsMutable(); + throw new NullPointerException(); + } + ensureMethodIsMutable(); method_.add(value); onChanged(); return this; } /** + * + * *
      * OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from
      * other methods will not be used to calculate performance for this SLI. If
@@ -2231,18 +2429,19 @@ public Builder addMethod(
      * 
* * repeated string method = 7; + * * @param values The method to add. * @return This builder for chaining. */ - public Builder addAllMethod( - java.lang.Iterable values) { + public Builder addAllMethod(java.lang.Iterable values) { ensureMethodIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, method_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, method_); onChanged(); return this; } /** + * + * *
      * OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from
      * other methods will not be used to calculate performance for this SLI. If
@@ -2252,6 +2451,7 @@ public Builder addAllMethod(
      * 
* * repeated string method = 7; + * * @return This builder for chaining. */ public Builder clearMethod() { @@ -2261,6 +2461,8 @@ public Builder clearMethod() { return this; } /** + * + * *
      * OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from
      * other methods will not be used to calculate performance for this SLI. If
@@ -2270,29 +2472,33 @@ public Builder clearMethod() {
      * 
* * repeated string method = 7; + * * @param value The bytes of the method to add. * @return This builder for chaining. */ - public Builder addMethodBytes( - com.google.protobuf.ByteString value) { + public Builder addMethodBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureMethodIsMutable(); method_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList location_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList location_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureLocationIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { location_ = new com.google.protobuf.LazyStringArrayList(location_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * OPTIONAL: The set of locations to which this SLI is relevant. Telemetry
      * from other locations will not be used to calculate performance for this
@@ -2302,13 +2508,15 @@ private void ensureLocationIsMutable() {
      * 
* * repeated string location = 8; + * * @return A list containing the location. */ - public com.google.protobuf.ProtocolStringList - getLocationList() { + public com.google.protobuf.ProtocolStringList getLocationList() { return location_.getUnmodifiableView(); } /** + * + * *
      * OPTIONAL: The set of locations to which this SLI is relevant. Telemetry
      * from other locations will not be used to calculate performance for this
@@ -2318,12 +2526,15 @@ private void ensureLocationIsMutable() {
      * 
* * repeated string location = 8; + * * @return The count of location. */ public int getLocationCount() { return location_.size(); } /** + * + * *
      * OPTIONAL: The set of locations to which this SLI is relevant. Telemetry
      * from other locations will not be used to calculate performance for this
@@ -2333,6 +2544,7 @@ public int getLocationCount() {
      * 
* * repeated string location = 8; + * * @param index The index of the element to return. * @return The location at the given index. */ @@ -2340,6 +2552,8 @@ public java.lang.String getLocation(int index) { return location_.get(index); } /** + * + * *
      * OPTIONAL: The set of locations to which this SLI is relevant. Telemetry
      * from other locations will not be used to calculate performance for this
@@ -2349,14 +2563,16 @@ public java.lang.String getLocation(int index) {
      * 
* * repeated string location = 8; + * * @param index The index of the value to return. * @return The bytes of the location at the given index. */ - public com.google.protobuf.ByteString - getLocationBytes(int index) { + public com.google.protobuf.ByteString getLocationBytes(int index) { return location_.getByteString(index); } /** + * + * *
      * OPTIONAL: The set of locations to which this SLI is relevant. Telemetry
      * from other locations will not be used to calculate performance for this
@@ -2366,21 +2582,23 @@ public java.lang.String getLocation(int index) {
      * 
* * repeated string location = 8; + * * @param index The index to set the value at. * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation( - int index, java.lang.String value) { + public Builder setLocation(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLocationIsMutable(); + throw new NullPointerException(); + } + ensureLocationIsMutable(); location_.set(index, value); onChanged(); return this; } /** + * + * *
      * OPTIONAL: The set of locations to which this SLI is relevant. Telemetry
      * from other locations will not be used to calculate performance for this
@@ -2390,20 +2608,22 @@ public Builder setLocation(
      * 
* * repeated string location = 8; + * * @param value The location to add. * @return This builder for chaining. */ - public Builder addLocation( - java.lang.String value) { + public Builder addLocation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLocationIsMutable(); + throw new NullPointerException(); + } + ensureLocationIsMutable(); location_.add(value); onChanged(); return this; } /** + * + * *
      * OPTIONAL: The set of locations to which this SLI is relevant. Telemetry
      * from other locations will not be used to calculate performance for this
@@ -2413,18 +2633,19 @@ public Builder addLocation(
      * 
* * repeated string location = 8; + * * @param values The location to add. * @return This builder for chaining. */ - public Builder addAllLocation( - java.lang.Iterable values) { + public Builder addAllLocation(java.lang.Iterable values) { ensureLocationIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, location_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, location_); onChanged(); return this; } /** + * + * *
      * OPTIONAL: The set of locations to which this SLI is relevant. Telemetry
      * from other locations will not be used to calculate performance for this
@@ -2434,6 +2655,7 @@ public Builder addAllLocation(
      * 
* * repeated string location = 8; + * * @return This builder for chaining. */ public Builder clearLocation() { @@ -2443,6 +2665,8 @@ public Builder clearLocation() { return this; } /** + * + * *
      * OPTIONAL: The set of locations to which this SLI is relevant. Telemetry
      * from other locations will not be used to calculate performance for this
@@ -2452,29 +2676,33 @@ public Builder clearLocation() {
      * 
* * repeated string location = 8; + * * @param value The bytes of the location to add. * @return This builder for chaining. */ - public Builder addLocationBytes( - com.google.protobuf.ByteString value) { + public Builder addLocationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLocationIsMutable(); location_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList version_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList version_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureVersionIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { version_ = new com.google.protobuf.LazyStringArrayList(version_); bitField0_ |= 0x00000004; - } + } } /** + * + * *
      * OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry
      * from other API versions will not be used to calculate performance for this
@@ -2484,13 +2712,15 @@ private void ensureVersionIsMutable() {
      * 
* * repeated string version = 9; + * * @return A list containing the version. */ - public com.google.protobuf.ProtocolStringList - getVersionList() { + public com.google.protobuf.ProtocolStringList getVersionList() { return version_.getUnmodifiableView(); } /** + * + * *
      * OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry
      * from other API versions will not be used to calculate performance for this
@@ -2500,12 +2730,15 @@ private void ensureVersionIsMutable() {
      * 
* * repeated string version = 9; + * * @return The count of version. */ public int getVersionCount() { return version_.size(); } /** + * + * *
      * OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry
      * from other API versions will not be used to calculate performance for this
@@ -2515,6 +2748,7 @@ public int getVersionCount() {
      * 
* * repeated string version = 9; + * * @param index The index of the element to return. * @return The version at the given index. */ @@ -2522,6 +2756,8 @@ public java.lang.String getVersion(int index) { return version_.get(index); } /** + * + * *
      * OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry
      * from other API versions will not be used to calculate performance for this
@@ -2531,14 +2767,16 @@ public java.lang.String getVersion(int index) {
      * 
* * repeated string version = 9; + * * @param index The index of the value to return. * @return The bytes of the version at the given index. */ - public com.google.protobuf.ByteString - getVersionBytes(int index) { + public com.google.protobuf.ByteString getVersionBytes(int index) { return version_.getByteString(index); } /** + * + * *
      * OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry
      * from other API versions will not be used to calculate performance for this
@@ -2548,21 +2786,23 @@ public java.lang.String getVersion(int index) {
      * 
* * repeated string version = 9; + * * @param index The index to set the value at. * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - int index, java.lang.String value) { + public Builder setVersion(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureVersionIsMutable(); + throw new NullPointerException(); + } + ensureVersionIsMutable(); version_.set(index, value); onChanged(); return this; } /** + * + * *
      * OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry
      * from other API versions will not be used to calculate performance for this
@@ -2572,20 +2812,22 @@ public Builder setVersion(
      * 
* * repeated string version = 9; + * * @param value The version to add. * @return This builder for chaining. */ - public Builder addVersion( - java.lang.String value) { + public Builder addVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureVersionIsMutable(); + throw new NullPointerException(); + } + ensureVersionIsMutable(); version_.add(value); onChanged(); return this; } /** + * + * *
      * OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry
      * from other API versions will not be used to calculate performance for this
@@ -2595,18 +2837,19 @@ public Builder addVersion(
      * 
* * repeated string version = 9; + * * @param values The version to add. * @return This builder for chaining. */ - public Builder addAllVersion( - java.lang.Iterable values) { + public Builder addAllVersion(java.lang.Iterable values) { ensureVersionIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, version_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, version_); onChanged(); return this; } /** + * + * *
      * OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry
      * from other API versions will not be used to calculate performance for this
@@ -2616,6 +2859,7 @@ public Builder addAllVersion(
      * 
* * repeated string version = 9; + * * @return This builder for chaining. */ public Builder clearVersion() { @@ -2625,6 +2869,8 @@ public Builder clearVersion() { return this; } /** + * + * *
      * OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry
      * from other API versions will not be used to calculate performance for this
@@ -2634,15 +2880,15 @@ public Builder clearVersion() {
      * 
* * repeated string version = 9; + * * @param value The bytes of the version to add. * @return This builder for chaining. */ - public Builder addVersionBytes( - com.google.protobuf.ByteString value) { + public Builder addVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureVersionIsMutable(); version_.add(value); onChanged(); @@ -2650,14 +2896,20 @@ public Builder addVersionBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.BasicSli.AvailabilityCriteria, com.google.monitoring.v3.BasicSli.AvailabilityCriteria.Builder, com.google.monitoring.v3.BasicSli.AvailabilityCriteriaOrBuilder> availabilityBuilder_; + com.google.monitoring.v3.BasicSli.AvailabilityCriteria, + com.google.monitoring.v3.BasicSli.AvailabilityCriteria.Builder, + com.google.monitoring.v3.BasicSli.AvailabilityCriteriaOrBuilder> + availabilityBuilder_; /** + * + * *
      * Good service is defined to be the count of requests made to this service
      * that return successfully.
      * 
* * .google.monitoring.v3.BasicSli.AvailabilityCriteria availability = 2; + * * @return Whether the availability field is set. */ @java.lang.Override @@ -2665,12 +2917,15 @@ public boolean hasAvailability() { return sliCriteriaCase_ == 2; } /** + * + * *
      * Good service is defined to be the count of requests made to this service
      * that return successfully.
      * 
* * .google.monitoring.v3.BasicSli.AvailabilityCriteria availability = 2; + * * @return The availability. */ @java.lang.Override @@ -2688,6 +2943,8 @@ public com.google.monitoring.v3.BasicSli.AvailabilityCriteria getAvailability() } } /** + * + * *
      * Good service is defined to be the count of requests made to this service
      * that return successfully.
@@ -2709,6 +2966,8 @@ public Builder setAvailability(com.google.monitoring.v3.BasicSli.AvailabilityCri
       return this;
     }
     /**
+     *
+     *
      * 
      * Good service is defined to be the count of requests made to this service
      * that return successfully.
@@ -2728,6 +2987,8 @@ public Builder setAvailability(
       return this;
     }
     /**
+     *
+     *
      * 
      * Good service is defined to be the count of requests made to this service
      * that return successfully.
@@ -2737,10 +2998,14 @@ public Builder setAvailability(
      */
     public Builder mergeAvailability(com.google.monitoring.v3.BasicSli.AvailabilityCriteria value) {
       if (availabilityBuilder_ == null) {
-        if (sliCriteriaCase_ == 2 &&
-            sliCriteria_ != com.google.monitoring.v3.BasicSli.AvailabilityCriteria.getDefaultInstance()) {
-          sliCriteria_ = com.google.monitoring.v3.BasicSli.AvailabilityCriteria.newBuilder((com.google.monitoring.v3.BasicSli.AvailabilityCriteria) sliCriteria_)
-              .mergeFrom(value).buildPartial();
+        if (sliCriteriaCase_ == 2
+            && sliCriteria_
+                != com.google.monitoring.v3.BasicSli.AvailabilityCriteria.getDefaultInstance()) {
+          sliCriteria_ =
+              com.google.monitoring.v3.BasicSli.AvailabilityCriteria.newBuilder(
+                      (com.google.monitoring.v3.BasicSli.AvailabilityCriteria) sliCriteria_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           sliCriteria_ = value;
         }
@@ -2755,6 +3020,8 @@ public Builder mergeAvailability(com.google.monitoring.v3.BasicSli.AvailabilityC
       return this;
     }
     /**
+     *
+     *
      * 
      * Good service is defined to be the count of requests made to this service
      * that return successfully.
@@ -2779,6 +3046,8 @@ public Builder clearAvailability() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Good service is defined to be the count of requests made to this service
      * that return successfully.
@@ -2790,6 +3059,8 @@ public com.google.monitoring.v3.BasicSli.AvailabilityCriteria.Builder getAvailab
       return getAvailabilityFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Good service is defined to be the count of requests made to this service
      * that return successfully.
@@ -2798,7 +3069,8 @@ public com.google.monitoring.v3.BasicSli.AvailabilityCriteria.Builder getAvailab
      * .google.monitoring.v3.BasicSli.AvailabilityCriteria availability = 2;
      */
     @java.lang.Override
-    public com.google.monitoring.v3.BasicSli.AvailabilityCriteriaOrBuilder getAvailabilityOrBuilder() {
+    public com.google.monitoring.v3.BasicSli.AvailabilityCriteriaOrBuilder
+        getAvailabilityOrBuilder() {
       if ((sliCriteriaCase_ == 2) && (availabilityBuilder_ != null)) {
         return availabilityBuilder_.getMessageOrBuilder();
       } else {
@@ -2809,6 +3081,8 @@ public com.google.monitoring.v3.BasicSli.AvailabilityCriteriaOrBuilder getAvaila
       }
     }
     /**
+     *
+     *
      * 
      * Good service is defined to be the count of requests made to this service
      * that return successfully.
@@ -2817,33 +3091,46 @@ public com.google.monitoring.v3.BasicSli.AvailabilityCriteriaOrBuilder getAvaila
      * .google.monitoring.v3.BasicSli.AvailabilityCriteria availability = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.monitoring.v3.BasicSli.AvailabilityCriteria, com.google.monitoring.v3.BasicSli.AvailabilityCriteria.Builder, com.google.monitoring.v3.BasicSli.AvailabilityCriteriaOrBuilder> 
+            com.google.monitoring.v3.BasicSli.AvailabilityCriteria,
+            com.google.monitoring.v3.BasicSli.AvailabilityCriteria.Builder,
+            com.google.monitoring.v3.BasicSli.AvailabilityCriteriaOrBuilder>
         getAvailabilityFieldBuilder() {
       if (availabilityBuilder_ == null) {
         if (!(sliCriteriaCase_ == 2)) {
-          sliCriteria_ = com.google.monitoring.v3.BasicSli.AvailabilityCriteria.getDefaultInstance();
+          sliCriteria_ =
+              com.google.monitoring.v3.BasicSli.AvailabilityCriteria.getDefaultInstance();
         }
-        availabilityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.BasicSli.AvailabilityCriteria, com.google.monitoring.v3.BasicSli.AvailabilityCriteria.Builder, com.google.monitoring.v3.BasicSli.AvailabilityCriteriaOrBuilder>(
+        availabilityBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.monitoring.v3.BasicSli.AvailabilityCriteria,
+                com.google.monitoring.v3.BasicSli.AvailabilityCriteria.Builder,
+                com.google.monitoring.v3.BasicSli.AvailabilityCriteriaOrBuilder>(
                 (com.google.monitoring.v3.BasicSli.AvailabilityCriteria) sliCriteria_,
                 getParentForChildren(),
                 isClean());
         sliCriteria_ = null;
       }
       sliCriteriaCase_ = 2;
-      onChanged();;
+      onChanged();
+      ;
       return availabilityBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.monitoring.v3.BasicSli.LatencyCriteria, com.google.monitoring.v3.BasicSli.LatencyCriteria.Builder, com.google.monitoring.v3.BasicSli.LatencyCriteriaOrBuilder> latencyBuilder_;
+            com.google.monitoring.v3.BasicSli.LatencyCriteria,
+            com.google.monitoring.v3.BasicSli.LatencyCriteria.Builder,
+            com.google.monitoring.v3.BasicSli.LatencyCriteriaOrBuilder>
+        latencyBuilder_;
     /**
+     *
+     *
      * 
      * Good service is defined to be the count of requests made to this service
      * that are fast enough with respect to `latency.threshold`.
      * 
* * .google.monitoring.v3.BasicSli.LatencyCriteria latency = 3; + * * @return Whether the latency field is set. */ @java.lang.Override @@ -2851,12 +3138,15 @@ public boolean hasLatency() { return sliCriteriaCase_ == 3; } /** + * + * *
      * Good service is defined to be the count of requests made to this service
      * that are fast enough with respect to `latency.threshold`.
      * 
* * .google.monitoring.v3.BasicSli.LatencyCriteria latency = 3; + * * @return The latency. */ @java.lang.Override @@ -2874,6 +3164,8 @@ public com.google.monitoring.v3.BasicSli.LatencyCriteria getLatency() { } } /** + * + * *
      * Good service is defined to be the count of requests made to this service
      * that are fast enough with respect to `latency.threshold`.
@@ -2895,6 +3187,8 @@ public Builder setLatency(com.google.monitoring.v3.BasicSli.LatencyCriteria valu
       return this;
     }
     /**
+     *
+     *
      * 
      * Good service is defined to be the count of requests made to this service
      * that are fast enough with respect to `latency.threshold`.
@@ -2914,6 +3208,8 @@ public Builder setLatency(
       return this;
     }
     /**
+     *
+     *
      * 
      * Good service is defined to be the count of requests made to this service
      * that are fast enough with respect to `latency.threshold`.
@@ -2923,10 +3219,14 @@ public Builder setLatency(
      */
     public Builder mergeLatency(com.google.monitoring.v3.BasicSli.LatencyCriteria value) {
       if (latencyBuilder_ == null) {
-        if (sliCriteriaCase_ == 3 &&
-            sliCriteria_ != com.google.monitoring.v3.BasicSli.LatencyCriteria.getDefaultInstance()) {
-          sliCriteria_ = com.google.monitoring.v3.BasicSli.LatencyCriteria.newBuilder((com.google.monitoring.v3.BasicSli.LatencyCriteria) sliCriteria_)
-              .mergeFrom(value).buildPartial();
+        if (sliCriteriaCase_ == 3
+            && sliCriteria_
+                != com.google.monitoring.v3.BasicSli.LatencyCriteria.getDefaultInstance()) {
+          sliCriteria_ =
+              com.google.monitoring.v3.BasicSli.LatencyCriteria.newBuilder(
+                      (com.google.monitoring.v3.BasicSli.LatencyCriteria) sliCriteria_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           sliCriteria_ = value;
         }
@@ -2941,6 +3241,8 @@ public Builder mergeLatency(com.google.monitoring.v3.BasicSli.LatencyCriteria va
       return this;
     }
     /**
+     *
+     *
      * 
      * Good service is defined to be the count of requests made to this service
      * that are fast enough with respect to `latency.threshold`.
@@ -2965,6 +3267,8 @@ public Builder clearLatency() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Good service is defined to be the count of requests made to this service
      * that are fast enough with respect to `latency.threshold`.
@@ -2976,6 +3280,8 @@ public com.google.monitoring.v3.BasicSli.LatencyCriteria.Builder getLatencyBuild
       return getLatencyFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Good service is defined to be the count of requests made to this service
      * that are fast enough with respect to `latency.threshold`.
@@ -2995,6 +3301,8 @@ public com.google.monitoring.v3.BasicSli.LatencyCriteriaOrBuilder getLatencyOrBu
       }
     }
     /**
+     *
+     *
      * 
      * Good service is defined to be the count of requests made to this service
      * that are fast enough with respect to `latency.threshold`.
@@ -3003,26 +3311,32 @@ public com.google.monitoring.v3.BasicSli.LatencyCriteriaOrBuilder getLatencyOrBu
      * .google.monitoring.v3.BasicSli.LatencyCriteria latency = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.monitoring.v3.BasicSli.LatencyCriteria, com.google.monitoring.v3.BasicSli.LatencyCriteria.Builder, com.google.monitoring.v3.BasicSli.LatencyCriteriaOrBuilder> 
+            com.google.monitoring.v3.BasicSli.LatencyCriteria,
+            com.google.monitoring.v3.BasicSli.LatencyCriteria.Builder,
+            com.google.monitoring.v3.BasicSli.LatencyCriteriaOrBuilder>
         getLatencyFieldBuilder() {
       if (latencyBuilder_ == null) {
         if (!(sliCriteriaCase_ == 3)) {
           sliCriteria_ = com.google.monitoring.v3.BasicSli.LatencyCriteria.getDefaultInstance();
         }
-        latencyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.BasicSli.LatencyCriteria, com.google.monitoring.v3.BasicSli.LatencyCriteria.Builder, com.google.monitoring.v3.BasicSli.LatencyCriteriaOrBuilder>(
+        latencyBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.monitoring.v3.BasicSli.LatencyCriteria,
+                com.google.monitoring.v3.BasicSli.LatencyCriteria.Builder,
+                com.google.monitoring.v3.BasicSli.LatencyCriteriaOrBuilder>(
                 (com.google.monitoring.v3.BasicSli.LatencyCriteria) sliCriteria_,
                 getParentForChildren(),
                 isClean());
         sliCriteria_ = null;
       }
       sliCriteriaCase_ = 3;
-      onChanged();;
+      onChanged();
+      ;
       return latencyBuilder_;
     }
+
     @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);
     }
 
@@ -3032,12 +3346,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.monitoring.v3.BasicSli)
   }
 
   // @@protoc_insertion_point(class_scope:google.monitoring.v3.BasicSli)
   private static final com.google.monitoring.v3.BasicSli DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.monitoring.v3.BasicSli();
   }
@@ -3046,16 +3360,16 @@ public static com.google.monitoring.v3.BasicSli getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public BasicSli parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new BasicSli(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public BasicSli parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new BasicSli(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -3070,6 +3384,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.monitoring.v3.BasicSli getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/BasicSliOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/BasicSliOrBuilder.java
similarity index 87%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/BasicSliOrBuilder.java
rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/BasicSliOrBuilder.java
index 016726d3..77a46296 100644
--- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/BasicSliOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/BasicSliOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/monitoring/v3/service.proto
 
 package com.google.monitoring.v3;
 
-public interface BasicSliOrBuilder extends
+public interface BasicSliOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.monitoring.v3.BasicSli)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from
    * other methods will not be used to calculate performance for this SLI. If
@@ -17,11 +35,13 @@ public interface BasicSliOrBuilder extends
    * 
* * repeated string method = 7; + * * @return A list containing the method. */ - java.util.List - getMethodList(); + java.util.List getMethodList(); /** + * + * *
    * OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from
    * other methods will not be used to calculate performance for this SLI. If
@@ -31,10 +51,13 @@ public interface BasicSliOrBuilder extends
    * 
* * repeated string method = 7; + * * @return The count of method. */ int getMethodCount(); /** + * + * *
    * OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from
    * other methods will not be used to calculate performance for this SLI. If
@@ -44,11 +67,14 @@ public interface BasicSliOrBuilder extends
    * 
* * repeated string method = 7; + * * @param index The index of the element to return. * @return The method at the given index. */ java.lang.String getMethod(int index); /** + * + * *
    * OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from
    * other methods will not be used to calculate performance for this SLI. If
@@ -58,13 +84,15 @@ public interface BasicSliOrBuilder extends
    * 
* * repeated string method = 7; + * * @param index The index of the value to return. * @return The bytes of the method at the given index. */ - com.google.protobuf.ByteString - getMethodBytes(int index); + com.google.protobuf.ByteString getMethodBytes(int index); /** + * + * *
    * OPTIONAL: The set of locations to which this SLI is relevant. Telemetry
    * from other locations will not be used to calculate performance for this
@@ -74,11 +102,13 @@ public interface BasicSliOrBuilder extends
    * 
* * repeated string location = 8; + * * @return A list containing the location. */ - java.util.List - getLocationList(); + java.util.List getLocationList(); /** + * + * *
    * OPTIONAL: The set of locations to which this SLI is relevant. Telemetry
    * from other locations will not be used to calculate performance for this
@@ -88,10 +118,13 @@ public interface BasicSliOrBuilder extends
    * 
* * repeated string location = 8; + * * @return The count of location. */ int getLocationCount(); /** + * + * *
    * OPTIONAL: The set of locations to which this SLI is relevant. Telemetry
    * from other locations will not be used to calculate performance for this
@@ -101,11 +134,14 @@ public interface BasicSliOrBuilder extends
    * 
* * repeated string location = 8; + * * @param index The index of the element to return. * @return The location at the given index. */ java.lang.String getLocation(int index); /** + * + * *
    * OPTIONAL: The set of locations to which this SLI is relevant. Telemetry
    * from other locations will not be used to calculate performance for this
@@ -115,13 +151,15 @@ public interface BasicSliOrBuilder extends
    * 
* * repeated string location = 8; + * * @param index The index of the value to return. * @return The bytes of the location at the given index. */ - com.google.protobuf.ByteString - getLocationBytes(int index); + com.google.protobuf.ByteString getLocationBytes(int index); /** + * + * *
    * OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry
    * from other API versions will not be used to calculate performance for this
@@ -131,11 +169,13 @@ public interface BasicSliOrBuilder extends
    * 
* * repeated string version = 9; + * * @return A list containing the version. */ - java.util.List - getVersionList(); + java.util.List getVersionList(); /** + * + * *
    * OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry
    * from other API versions will not be used to calculate performance for this
@@ -145,10 +185,13 @@ public interface BasicSliOrBuilder extends
    * 
* * repeated string version = 9; + * * @return The count of version. */ int getVersionCount(); /** + * + * *
    * OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry
    * from other API versions will not be used to calculate performance for this
@@ -158,11 +201,14 @@ public interface BasicSliOrBuilder extends
    * 
* * repeated string version = 9; + * * @param index The index of the element to return. * @return The version at the given index. */ java.lang.String getVersion(int index); /** + * + * *
    * OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry
    * from other API versions will not be used to calculate performance for this
@@ -172,33 +218,41 @@ public interface BasicSliOrBuilder extends
    * 
* * repeated string version = 9; + * * @param index The index of the value to return. * @return The bytes of the version at the given index. */ - com.google.protobuf.ByteString - getVersionBytes(int index); + com.google.protobuf.ByteString getVersionBytes(int index); /** + * + * *
    * Good service is defined to be the count of requests made to this service
    * that return successfully.
    * 
* * .google.monitoring.v3.BasicSli.AvailabilityCriteria availability = 2; + * * @return Whether the availability field is set. */ boolean hasAvailability(); /** + * + * *
    * Good service is defined to be the count of requests made to this service
    * that return successfully.
    * 
* * .google.monitoring.v3.BasicSli.AvailabilityCriteria availability = 2; + * * @return The availability. */ com.google.monitoring.v3.BasicSli.AvailabilityCriteria getAvailability(); /** + * + * *
    * Good service is defined to be the count of requests made to this service
    * that return successfully.
@@ -209,26 +263,34 @@ public interface BasicSliOrBuilder extends
   com.google.monitoring.v3.BasicSli.AvailabilityCriteriaOrBuilder getAvailabilityOrBuilder();
 
   /**
+   *
+   *
    * 
    * Good service is defined to be the count of requests made to this service
    * that are fast enough with respect to `latency.threshold`.
    * 
* * .google.monitoring.v3.BasicSli.LatencyCriteria latency = 3; + * * @return Whether the latency field is set. */ boolean hasLatency(); /** + * + * *
    * Good service is defined to be the count of requests made to this service
    * that are fast enough with respect to `latency.threshold`.
    * 
* * .google.monitoring.v3.BasicSli.LatencyCriteria latency = 3; + * * @return The latency. */ com.google.monitoring.v3.BasicSli.LatencyCriteria getLatency(); /** + * + * *
    * Good service is defined to be the count of requests made to this service
    * that are fast enough with respect to `latency.threshold`.
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CommonProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CommonProto.java
new file mode 100644
index 00000000..0f15ffdf
--- /dev/null
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CommonProto.java
@@ -0,0 +1,137 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/monitoring/v3/common.proto
+
+package com.google.monitoring.v3;
+
+public final class CommonProto {
+  private CommonProto() {}
+
+  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_monitoring_v3_TypedValue_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_TypedValue_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_TimeInterval_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_TimeInterval_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_Aggregation_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_Aggregation_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/monitoring/v3/common.proto\022\024goo"
+          + "gle.monitoring.v3\032\035google/api/distributi"
+          + "on.proto\032\036google/protobuf/duration.proto"
+          + "\032\037google/protobuf/timestamp.proto\"\252\001\n\nTy"
+          + "pedValue\022\024\n\nbool_value\030\001 \001(\010H\000\022\025\n\013int64_"
+          + "value\030\002 \001(\003H\000\022\026\n\014double_value\030\003 \001(\001H\000\022\026\n"
+          + "\014string_value\030\004 \001(\tH\000\0226\n\022distribution_va"
+          + "lue\030\005 \001(\0132\030.google.api.DistributionH\000B\007\n"
+          + "\005value\"l\n\014TimeInterval\022,\n\010end_time\030\002 \001(\013"
+          + "2\032.google.protobuf.Timestamp\022.\n\nstart_ti"
+          + "me\030\001 \001(\0132\032.google.protobuf.Timestamp\"\255\007\n"
+          + "\013Aggregation\0223\n\020alignment_period\030\001 \001(\0132\031"
+          + ".google.protobuf.Duration\022E\n\022per_series_"
+          + "aligner\030\002 \001(\0162).google.monitoring.v3.Agg"
+          + "regation.Aligner\022G\n\024cross_series_reducer"
+          + "\030\004 \001(\0162).google.monitoring.v3.Aggregatio"
+          + "n.Reducer\022\027\n\017group_by_fields\030\005 \003(\t\"\213\003\n\007A"
+          + "ligner\022\016\n\nALIGN_NONE\020\000\022\017\n\013ALIGN_DELTA\020\001\022"
+          + "\016\n\nALIGN_RATE\020\002\022\025\n\021ALIGN_INTERPOLATE\020\003\022\024"
+          + "\n\020ALIGN_NEXT_OLDER\020\004\022\r\n\tALIGN_MIN\020\n\022\r\n\tA"
+          + "LIGN_MAX\020\013\022\016\n\nALIGN_MEAN\020\014\022\017\n\013ALIGN_COUN"
+          + "T\020\r\022\r\n\tALIGN_SUM\020\016\022\020\n\014ALIGN_STDDEV\020\017\022\024\n\020"
+          + "ALIGN_COUNT_TRUE\020\020\022\025\n\021ALIGN_COUNT_FALSE\020"
+          + "\030\022\027\n\023ALIGN_FRACTION_TRUE\020\021\022\027\n\023ALIGN_PERC"
+          + "ENTILE_99\020\022\022\027\n\023ALIGN_PERCENTILE_95\020\023\022\027\n\023"
+          + "ALIGN_PERCENTILE_50\020\024\022\027\n\023ALIGN_PERCENTIL"
+          + "E_05\020\025\022\030\n\024ALIGN_PERCENT_CHANGE\020\027\"\261\002\n\007Red"
+          + "ucer\022\017\n\013REDUCE_NONE\020\000\022\017\n\013REDUCE_MEAN\020\001\022\016"
+          + "\n\nREDUCE_MIN\020\002\022\016\n\nREDUCE_MAX\020\003\022\016\n\nREDUCE"
+          + "_SUM\020\004\022\021\n\rREDUCE_STDDEV\020\005\022\020\n\014REDUCE_COUN"
+          + "T\020\006\022\025\n\021REDUCE_COUNT_TRUE\020\007\022\026\n\022REDUCE_COU"
+          + "NT_FALSE\020\017\022\030\n\024REDUCE_FRACTION_TRUE\020\010\022\030\n\024"
+          + "REDUCE_PERCENTILE_99\020\t\022\030\n\024REDUCE_PERCENT"
+          + "ILE_95\020\n\022\030\n\024REDUCE_PERCENTILE_50\020\013\022\030\n\024RE"
+          + "DUCE_PERCENTILE_05\020\014*\236\001\n\016ComparisonType\022"
+          + "\032\n\026COMPARISON_UNSPECIFIED\020\000\022\021\n\rCOMPARISO"
+          + "N_GT\020\001\022\021\n\rCOMPARISON_GE\020\002\022\021\n\rCOMPARISON_"
+          + "LT\020\003\022\021\n\rCOMPARISON_LE\020\004\022\021\n\rCOMPARISON_EQ"
+          + "\020\005\022\021\n\rCOMPARISON_NE\020\006*a\n\013ServiceTier\022\034\n\030"
+          + "SERVICE_TIER_UNSPECIFIED\020\000\022\026\n\022SERVICE_TI"
+          + "ER_BASIC\020\001\022\030\n\024SERVICE_TIER_PREMIUM\020\002\032\002\030\001"
+          + "B\303\001\n\030com.google.monitoring.v3B\013CommonPro"
+          + "toP\001Z>google.golang.org/genproto/googlea"
+          + "pis/monitoring/v3;monitoring\252\002\032Google.Cl"
+          + "oud.Monitoring.V3\312\002\032Google\\Cloud\\Monitor"
+          + "ing\\V3\352\002\035Google::Cloud::Monitoring::V3b\006"
+          + "proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.DistributionProto.getDescriptor(),
+              com.google.protobuf.DurationProto.getDescriptor(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+            });
+    internal_static_google_monitoring_v3_TypedValue_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_monitoring_v3_TypedValue_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_TypedValue_descriptor,
+            new java.lang.String[] {
+              "BoolValue", "Int64Value", "DoubleValue", "StringValue", "DistributionValue", "Value",
+            });
+    internal_static_google_monitoring_v3_TimeInterval_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_monitoring_v3_TimeInterval_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_TimeInterval_descriptor,
+            new java.lang.String[] {
+              "EndTime", "StartTime",
+            });
+    internal_static_google_monitoring_v3_Aggregation_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_monitoring_v3_Aggregation_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_Aggregation_descriptor,
+            new java.lang.String[] {
+              "AlignmentPeriod", "PerSeriesAligner", "CrossSeriesReducer", "GroupByFields",
+            });
+    com.google.api.DistributionProto.getDescriptor();
+    com.google.protobuf.DurationProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ComparisonType.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ComparisonType.java
similarity index 72%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ComparisonType.java
rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ComparisonType.java
index 98216500..0f5c2f20 100644
--- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ComparisonType.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ComparisonType.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/monitoring/v3/common.proto
 
 package com.google.monitoring.v3;
 
 /**
+ *
+ *
  * 
  * Specifies an ordering relationship on two arguments, called `left` and
  * `right`.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.monitoring.v3.ComparisonType}
  */
-public enum ComparisonType
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum ComparisonType implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * No ordering relationship is specified.
    * 
@@ -22,6 +40,8 @@ public enum ComparisonType */ COMPARISON_UNSPECIFIED(0), /** + * + * *
    * True if the left argument is greater than the right argument.
    * 
@@ -30,6 +50,8 @@ public enum ComparisonType */ COMPARISON_GT(1), /** + * + * *
    * True if the left argument is greater than or equal to the right argument.
    * 
@@ -38,6 +60,8 @@ public enum ComparisonType */ COMPARISON_GE(2), /** + * + * *
    * True if the left argument is less than the right argument.
    * 
@@ -46,6 +70,8 @@ public enum ComparisonType */ COMPARISON_LT(3), /** + * + * *
    * True if the left argument is less than or equal to the right argument.
    * 
@@ -54,6 +80,8 @@ public enum ComparisonType */ COMPARISON_LE(4), /** + * + * *
    * True if the left argument is equal to the right argument.
    * 
@@ -62,6 +90,8 @@ public enum ComparisonType */ COMPARISON_EQ(5), /** + * + * *
    * True if the left argument is not equal to the right argument.
    * 
@@ -73,6 +103,8 @@ public enum ComparisonType ; /** + * + * *
    * No ordering relationship is specified.
    * 
@@ -81,6 +113,8 @@ public enum ComparisonType */ public static final int COMPARISON_UNSPECIFIED_VALUE = 0; /** + * + * *
    * True if the left argument is greater than the right argument.
    * 
@@ -89,6 +123,8 @@ public enum ComparisonType */ public static final int COMPARISON_GT_VALUE = 1; /** + * + * *
    * True if the left argument is greater than or equal to the right argument.
    * 
@@ -97,6 +133,8 @@ public enum ComparisonType */ public static final int COMPARISON_GE_VALUE = 2; /** + * + * *
    * True if the left argument is less than the right argument.
    * 
@@ -105,6 +143,8 @@ public enum ComparisonType */ public static final int COMPARISON_LT_VALUE = 3; /** + * + * *
    * True if the left argument is less than or equal to the right argument.
    * 
@@ -113,6 +153,8 @@ public enum ComparisonType */ public static final int COMPARISON_LE_VALUE = 4; /** + * + * *
    * True if the left argument is equal to the right argument.
    * 
@@ -121,6 +163,8 @@ public enum ComparisonType */ public static final int COMPARISON_EQ_VALUE = 5; /** + * + * *
    * True if the left argument is not equal to the right argument.
    * 
@@ -129,7 +173,6 @@ public enum ComparisonType */ public static final int COMPARISON_NE_VALUE = 6; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -154,53 +197,57 @@ public static ComparisonType valueOf(int value) { */ public static ComparisonType forNumber(int value) { switch (value) { - case 0: return COMPARISON_UNSPECIFIED; - case 1: return COMPARISON_GT; - case 2: return COMPARISON_GE; - case 3: return COMPARISON_LT; - case 4: return COMPARISON_LE; - case 5: return COMPARISON_EQ; - case 6: return COMPARISON_NE; - default: return null; + case 0: + return COMPARISON_UNSPECIFIED; + case 1: + return COMPARISON_GT; + case 2: + return COMPARISON_GE; + case 3: + return COMPARISON_LT; + case 4: + return COMPARISON_LE; + case 5: + return COMPARISON_EQ; + case 6: + return COMPARISON_NE; + 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< - ComparisonType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ComparisonType findValueByNumber(int number) { - return ComparisonType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ComparisonType findValueByNumber(int number) { + return ComparisonType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.monitoring.v3.CommonProto.getDescriptor().getEnumTypes().get(0); } private static final ComparisonType[] VALUES = values(); - public static ComparisonType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ComparisonType 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; @@ -216,4 +263,3 @@ private ComparisonType(int value) { // @@protoc_insertion_point(enum_scope:google.monitoring.v3.ComparisonType) } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateAlertPolicyRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateAlertPolicyRequest.java similarity index 68% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateAlertPolicyRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateAlertPolicyRequest.java index 088874e9..e3463b2b 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateAlertPolicyRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateAlertPolicyRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/alert_service.proto package com.google.monitoring.v3; /** + * + * *
  * The protocol for the `CreateAlertPolicy` request.
  * 
* * Protobuf type {@code google.monitoring.v3.CreateAlertPolicyRequest} */ -public final class CreateAlertPolicyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateAlertPolicyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.CreateAlertPolicyRequest) CreateAlertPolicyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateAlertPolicyRequest.newBuilder() to construct. private CreateAlertPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateAlertPolicyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateAlertPolicyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateAlertPolicyRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,60 +70,68 @@ private CreateAlertPolicyRequest( case 0: done = true; break; - case 18: { - com.google.monitoring.v3.AlertPolicy.Builder subBuilder = null; - if (alertPolicy_ != null) { - subBuilder = alertPolicy_.toBuilder(); - } - alertPolicy_ = input.readMessage(com.google.monitoring.v3.AlertPolicy.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(alertPolicy_); - alertPolicy_ = subBuilder.buildPartial(); - } + case 18: + { + com.google.monitoring.v3.AlertPolicy.Builder subBuilder = null; + if (alertPolicy_ != null) { + subBuilder = alertPolicy_.toBuilder(); + } + alertPolicy_ = + input.readMessage( + com.google.monitoring.v3.AlertPolicy.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(alertPolicy_); + alertPolicy_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_CreateAlertPolicyRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.AlertServiceProto + .internal_static_google_monitoring_v3_CreateAlertPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_CreateAlertPolicyRequest_fieldAccessorTable + return com.google.monitoring.v3.AlertServiceProto + .internal_static_google_monitoring_v3_CreateAlertPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateAlertPolicyRequest.class, com.google.monitoring.v3.CreateAlertPolicyRequest.Builder.class); + com.google.monitoring.v3.CreateAlertPolicyRequest.class, + com.google.monitoring.v3.CreateAlertPolicyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
    * which to create the alerting policy. The format is:
@@ -120,7 +145,10 @@ private CreateAlertPolicyRequest(
    * container.
    * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -129,14 +157,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
    * which to create the alerting policy. The format is:
@@ -150,17 +179,18 @@ public java.lang.String getName() {
    * container.
    * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -171,13 +201,18 @@ public java.lang.String getName() { public static final int ALERT_POLICY_FIELD_NUMBER = 2; private com.google.monitoring.v3.AlertPolicy alertPolicy_; /** + * + * *
    * Required. The requested alerting policy. You should omit the `name` field in this
    * policy. The name will be returned in the new policy, including
    * a new `[ALERT_POLICY_ID]` value.
    * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the alertPolicy field is set. */ @java.lang.Override @@ -185,27 +220,38 @@ public boolean hasAlertPolicy() { return alertPolicy_ != null; } /** + * + * *
    * Required. The requested alerting policy. You should omit the `name` field in this
    * policy. The name will be returned in the new policy, including
    * a new `[ALERT_POLICY_ID]` value.
    * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The alertPolicy. */ @java.lang.Override public com.google.monitoring.v3.AlertPolicy getAlertPolicy() { - return alertPolicy_ == null ? com.google.monitoring.v3.AlertPolicy.getDefaultInstance() : alertPolicy_; + return alertPolicy_ == null + ? com.google.monitoring.v3.AlertPolicy.getDefaultInstance() + : alertPolicy_; } /** + * + * *
    * Required. The requested alerting policy. You should omit the `name` field in this
    * policy. The name will be returned in the new policy, including
    * a new `[ALERT_POLICY_ID]` value.
    * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPolicyOrBuilder() { @@ -213,6 +259,7 @@ public com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPolicyOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,8 +271,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (alertPolicy_ != null) { output.writeMessage(2, getAlertPolicy()); } @@ -242,8 +288,7 @@ public int getSerializedSize() { size = 0; if (alertPolicy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getAlertPolicy()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAlertPolicy()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); @@ -256,19 +301,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.CreateAlertPolicyRequest)) { return super.equals(obj); } - com.google.monitoring.v3.CreateAlertPolicyRequest other = (com.google.monitoring.v3.CreateAlertPolicyRequest) obj; + com.google.monitoring.v3.CreateAlertPolicyRequest other = + (com.google.monitoring.v3.CreateAlertPolicyRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasAlertPolicy() != other.hasAlertPolicy()) return false; if (hasAlertPolicy()) { - if (!getAlertPolicy() - .equals(other.getAlertPolicy())) return false; + if (!getAlertPolicy().equals(other.getAlertPolicy())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -293,117 +337,126 @@ public int hashCode() { } public static com.google.monitoring.v3.CreateAlertPolicyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.CreateAlertPolicyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.CreateAlertPolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.CreateAlertPolicyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.CreateAlertPolicyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.CreateAlertPolicyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.CreateAlertPolicyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.CreateAlertPolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.CreateAlertPolicyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.CreateAlertPolicyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.CreateAlertPolicyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.CreateAlertPolicyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.CreateAlertPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.CreateAlertPolicyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.CreateAlertPolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 protocol for the `CreateAlertPolicy` request.
    * 
* * Protobuf type {@code google.monitoring.v3.CreateAlertPolicyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.CreateAlertPolicyRequest) com.google.monitoring.v3.CreateAlertPolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_CreateAlertPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.AlertServiceProto + .internal_static_google_monitoring_v3_CreateAlertPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_CreateAlertPolicyRequest_fieldAccessorTable + return com.google.monitoring.v3.AlertServiceProto + .internal_static_google_monitoring_v3_CreateAlertPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateAlertPolicyRequest.class, com.google.monitoring.v3.CreateAlertPolicyRequest.Builder.class); + com.google.monitoring.v3.CreateAlertPolicyRequest.class, + com.google.monitoring.v3.CreateAlertPolicyRequest.Builder.class); } // Construct using com.google.monitoring.v3.CreateAlertPolicyRequest.newBuilder() @@ -411,16 +464,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -436,9 +488,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_CreateAlertPolicyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.AlertServiceProto + .internal_static_google_monitoring_v3_CreateAlertPolicyRequest_descriptor; } @java.lang.Override @@ -457,7 +509,8 @@ public com.google.monitoring.v3.CreateAlertPolicyRequest build() { @java.lang.Override public com.google.monitoring.v3.CreateAlertPolicyRequest buildPartial() { - com.google.monitoring.v3.CreateAlertPolicyRequest result = new com.google.monitoring.v3.CreateAlertPolicyRequest(this); + com.google.monitoring.v3.CreateAlertPolicyRequest result = + new com.google.monitoring.v3.CreateAlertPolicyRequest(this); result.name_ = name_; if (alertPolicyBuilder_ == null) { result.alertPolicy_ = alertPolicy_; @@ -472,38 +525,39 @@ public com.google.monitoring.v3.CreateAlertPolicyRequest 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.monitoring.v3.CreateAlertPolicyRequest) { - return mergeFrom((com.google.monitoring.v3.CreateAlertPolicyRequest)other); + return mergeFrom((com.google.monitoring.v3.CreateAlertPolicyRequest) other); } else { super.mergeFrom(other); return this; @@ -511,7 +565,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.CreateAlertPolicyRequest other) { - if (other == com.google.monitoring.v3.CreateAlertPolicyRequest.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.CreateAlertPolicyRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -538,7 +593,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.CreateAlertPolicyRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.CreateAlertPolicyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -550,6 +606,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
      * which to create the alerting policy. The format is:
@@ -563,14 +621,16 @@ public Builder mergeFrom(
      * container.
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -579,6 +639,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
      * which to create the alerting policy. The format is:
@@ -592,16 +654,17 @@ public java.lang.String getName() {
      * container.
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -609,6 +672,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
      * which to create the alerting policy. The format is:
@@ -622,21 +687,25 @@ public java.lang.String getName() {
      * container.
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
      * which to create the alerting policy. The format is:
@@ -650,16 +719,21 @@ public Builder setName(
      * container.
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
      * which to create the alerting policy. The format is:
@@ -673,17 +747,19 @@ public Builder clearName() {
      * container.
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -691,45 +767,64 @@ public Builder setNameBytes( private com.google.monitoring.v3.AlertPolicy alertPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy, com.google.monitoring.v3.AlertPolicy.Builder, com.google.monitoring.v3.AlertPolicyOrBuilder> alertPolicyBuilder_; + com.google.monitoring.v3.AlertPolicy, + com.google.monitoring.v3.AlertPolicy.Builder, + com.google.monitoring.v3.AlertPolicyOrBuilder> + alertPolicyBuilder_; /** + * + * *
      * Required. The requested alerting policy. You should omit the `name` field in this
      * policy. The name will be returned in the new policy, including
      * a new `[ALERT_POLICY_ID]` value.
      * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the alertPolicy field is set. */ public boolean hasAlertPolicy() { return alertPolicyBuilder_ != null || alertPolicy_ != null; } /** + * + * *
      * Required. The requested alerting policy. You should omit the `name` field in this
      * policy. The name will be returned in the new policy, including
      * a new `[ALERT_POLICY_ID]` value.
      * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The alertPolicy. */ public com.google.monitoring.v3.AlertPolicy getAlertPolicy() { if (alertPolicyBuilder_ == null) { - return alertPolicy_ == null ? com.google.monitoring.v3.AlertPolicy.getDefaultInstance() : alertPolicy_; + return alertPolicy_ == null + ? com.google.monitoring.v3.AlertPolicy.getDefaultInstance() + : alertPolicy_; } else { return alertPolicyBuilder_.getMessage(); } } /** + * + * *
      * Required. The requested alerting policy. You should omit the `name` field in this
      * policy. The name will be returned in the new policy, including
      * a new `[ALERT_POLICY_ID]` value.
      * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAlertPolicy(com.google.monitoring.v3.AlertPolicy value) { if (alertPolicyBuilder_ == null) { @@ -745,16 +840,19 @@ public Builder setAlertPolicy(com.google.monitoring.v3.AlertPolicy value) { return this; } /** + * + * *
      * Required. The requested alerting policy. You should omit the `name` field in this
      * policy. The name will be returned in the new policy, including
      * a new `[ALERT_POLICY_ID]` value.
      * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setAlertPolicy( - com.google.monitoring.v3.AlertPolicy.Builder builderForValue) { + public Builder setAlertPolicy(com.google.monitoring.v3.AlertPolicy.Builder builderForValue) { if (alertPolicyBuilder_ == null) { alertPolicy_ = builderForValue.build(); onChanged(); @@ -765,19 +863,25 @@ public Builder setAlertPolicy( return this; } /** + * + * *
      * Required. The requested alerting policy. You should omit the `name` field in this
      * policy. The name will be returned in the new policy, including
      * a new `[ALERT_POLICY_ID]` value.
      * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAlertPolicy(com.google.monitoring.v3.AlertPolicy value) { if (alertPolicyBuilder_ == null) { if (alertPolicy_ != null) { alertPolicy_ = - com.google.monitoring.v3.AlertPolicy.newBuilder(alertPolicy_).mergeFrom(value).buildPartial(); + com.google.monitoring.v3.AlertPolicy.newBuilder(alertPolicy_) + .mergeFrom(value) + .buildPartial(); } else { alertPolicy_ = value; } @@ -789,13 +893,17 @@ public Builder mergeAlertPolicy(com.google.monitoring.v3.AlertPolicy value) { return this; } /** + * + * *
      * Required. The requested alerting policy. You should omit the `name` field in this
      * policy. The name will be returned in the new policy, including
      * a new `[ALERT_POLICY_ID]` value.
      * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAlertPolicy() { if (alertPolicyBuilder_ == null) { @@ -809,61 +917,77 @@ public Builder clearAlertPolicy() { return this; } /** + * + * *
      * Required. The requested alerting policy. You should omit the `name` field in this
      * policy. The name will be returned in the new policy, including
      * a new `[ALERT_POLICY_ID]` value.
      * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.AlertPolicy.Builder getAlertPolicyBuilder() { - + onChanged(); return getAlertPolicyFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The requested alerting policy. You should omit the `name` field in this
      * policy. The name will be returned in the new policy, including
      * a new `[ALERT_POLICY_ID]` value.
      * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPolicyOrBuilder() { if (alertPolicyBuilder_ != null) { return alertPolicyBuilder_.getMessageOrBuilder(); } else { - return alertPolicy_ == null ? - com.google.monitoring.v3.AlertPolicy.getDefaultInstance() : alertPolicy_; + return alertPolicy_ == null + ? com.google.monitoring.v3.AlertPolicy.getDefaultInstance() + : alertPolicy_; } } /** + * + * *
      * Required. The requested alerting policy. You should omit the `name` field in this
      * policy. The name will be returned in the new policy, including
      * a new `[ALERT_POLICY_ID]` value.
      * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy, com.google.monitoring.v3.AlertPolicy.Builder, com.google.monitoring.v3.AlertPolicyOrBuilder> + com.google.monitoring.v3.AlertPolicy, + com.google.monitoring.v3.AlertPolicy.Builder, + com.google.monitoring.v3.AlertPolicyOrBuilder> getAlertPolicyFieldBuilder() { if (alertPolicyBuilder_ == null) { - alertPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy, com.google.monitoring.v3.AlertPolicy.Builder, com.google.monitoring.v3.AlertPolicyOrBuilder>( - getAlertPolicy(), - getParentForChildren(), - isClean()); + alertPolicyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.AlertPolicy, + com.google.monitoring.v3.AlertPolicy.Builder, + com.google.monitoring.v3.AlertPolicyOrBuilder>( + getAlertPolicy(), getParentForChildren(), isClean()); alertPolicy_ = null; } return alertPolicyBuilder_; } + @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); } @@ -873,12 +997,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.CreateAlertPolicyRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.CreateAlertPolicyRequest) private static final com.google.monitoring.v3.CreateAlertPolicyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.CreateAlertPolicyRequest(); } @@ -887,16 +1011,16 @@ public static com.google.monitoring.v3.CreateAlertPolicyRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateAlertPolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateAlertPolicyRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateAlertPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateAlertPolicyRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -911,6 +1035,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.CreateAlertPolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateAlertPolicyRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateAlertPolicyRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateAlertPolicyRequestOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateAlertPolicyRequestOrBuilder.java index 4f733502..d84bfb52 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateAlertPolicyRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateAlertPolicyRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/alert_service.proto package com.google.monitoring.v3; -public interface CreateAlertPolicyRequestOrBuilder extends +public interface CreateAlertPolicyRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.CreateAlertPolicyRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
    * which to create the alerting policy. The format is:
@@ -21,11 +39,16 @@ public interface CreateAlertPolicyRequestOrBuilder extends
    * container.
    * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
    * which to create the alerting policy. The format is:
@@ -39,42 +62,58 @@ public interface CreateAlertPolicyRequestOrBuilder extends
    * container.
    * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The requested alerting policy. You should omit the `name` field in this
    * policy. The name will be returned in the new policy, including
    * a new `[ALERT_POLICY_ID]` value.
    * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the alertPolicy field is set. */ boolean hasAlertPolicy(); /** + * + * *
    * Required. The requested alerting policy. You should omit the `name` field in this
    * policy. The name will be returned in the new policy, including
    * a new `[ALERT_POLICY_ID]` value.
    * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The alertPolicy. */ com.google.monitoring.v3.AlertPolicy getAlertPolicy(); /** + * + * *
    * Required. The requested alerting policy. You should omit the `name` field in this
    * policy. The name will be returned in the new policy, including
    * a new `[ALERT_POLICY_ID]` value.
    * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPolicyOrBuilder(); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateGroupRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateGroupRequest.java similarity index 70% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateGroupRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateGroupRequest.java index b6a9eda7..d6056ebc 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateGroupRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateGroupRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/group_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `CreateGroup` request.
  * 
* * Protobuf type {@code google.monitoring.v3.CreateGroupRequest} */ -public final class CreateGroupRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateGroupRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.CreateGroupRequest) CreateGroupRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateGroupRequest.newBuilder() to construct. private CreateGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateGroupRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateGroupRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateGroupRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,72 +70,82 @@ private CreateGroupRequest( case 0: done = true; break; - case 18: { - com.google.monitoring.v3.Group.Builder subBuilder = null; - if (group_ != null) { - subBuilder = group_.toBuilder(); + case 18: + { + com.google.monitoring.v3.Group.Builder subBuilder = null; + if (group_ != null) { + subBuilder = group_.toBuilder(); + } + group_ = + input.readMessage(com.google.monitoring.v3.Group.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(group_); + group_ = subBuilder.buildPartial(); + } + + break; } - group_ = input.readMessage(com.google.monitoring.v3.Group.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(group_); - group_ = subBuilder.buildPartial(); + case 24: + { + validateOnly_ = input.readBool(); + break; } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 24: { - - validateOnly_ = input.readBool(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_CreateGroupRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.GroupServiceProto + .internal_static_google_monitoring_v3_CreateGroupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_CreateGroupRequest_fieldAccessorTable + return com.google.monitoring.v3.GroupServiceProto + .internal_static_google_monitoring_v3_CreateGroupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateGroupRequest.class, com.google.monitoring.v3.CreateGroupRequest.Builder.class); + com.google.monitoring.v3.CreateGroupRequest.class, + com.google.monitoring.v3.CreateGroupRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 4; private volatile java.lang.Object name_; /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
    * which to create the group. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -127,31 +154,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
    * which to create the group. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -162,12 +191,15 @@ public java.lang.String getName() { public static final int GROUP_FIELD_NUMBER = 2; private com.google.monitoring.v3.Group group_; /** + * + * *
    * Required. A group definition. It is an error to define the `name` field because
    * the system assigns the name.
    * 
* * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the group field is set. */ @java.lang.Override @@ -175,12 +207,15 @@ public boolean hasGroup() { return group_ != null; } /** + * + * *
    * Required. A group definition. It is an error to define the `name` field because
    * the system assigns the name.
    * 
* * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The group. */ @java.lang.Override @@ -188,6 +223,8 @@ public com.google.monitoring.v3.Group getGroup() { return group_ == null ? com.google.monitoring.v3.Group.getDefaultInstance() : group_; } /** + * + * *
    * Required. A group definition. It is an error to define the `name` field because
    * the system assigns the name.
@@ -203,11 +240,14 @@ public com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder() {
   public static final int VALIDATE_ONLY_FIELD_NUMBER = 3;
   private boolean validateOnly_;
   /**
+   *
+   *
    * 
    * If true, validate this request but do not create the group.
    * 
* * bool validate_only = 3; + * * @return The validateOnly. */ @java.lang.Override @@ -216,6 +256,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +268,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (group_ != null) { output.writeMessage(2, getGroup()); } @@ -248,12 +288,10 @@ public int getSerializedSize() { size = 0; if (group_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getGroup()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getGroup()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, name_); @@ -266,22 +304,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.CreateGroupRequest)) { return super.equals(obj); } - com.google.monitoring.v3.CreateGroupRequest other = (com.google.monitoring.v3.CreateGroupRequest) obj; + com.google.monitoring.v3.CreateGroupRequest other = + (com.google.monitoring.v3.CreateGroupRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasGroup() != other.hasGroup()) return false; if (hasGroup()) { - if (!getGroup() - .equals(other.getGroup())) return false; + if (!getGroup().equals(other.getGroup())) return false; } - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -300,125 +336,133 @@ public int hashCode() { hash = (53 * hash) + getGroup().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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.monitoring.v3.CreateGroupRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.CreateGroupRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.CreateGroupRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.CreateGroupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.CreateGroupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.CreateGroupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.CreateGroupRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.CreateGroupRequest 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.monitoring.v3.CreateGroupRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.CreateGroupRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.CreateGroupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.CreateGroupRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.CreateGroupRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.CreateGroupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.CreateGroupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 `CreateGroup` request.
    * 
* * Protobuf type {@code google.monitoring.v3.CreateGroupRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.CreateGroupRequest) com.google.monitoring.v3.CreateGroupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_CreateGroupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.GroupServiceProto + .internal_static_google_monitoring_v3_CreateGroupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_CreateGroupRequest_fieldAccessorTable + return com.google.monitoring.v3.GroupServiceProto + .internal_static_google_monitoring_v3_CreateGroupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateGroupRequest.class, com.google.monitoring.v3.CreateGroupRequest.Builder.class); + com.google.monitoring.v3.CreateGroupRequest.class, + com.google.monitoring.v3.CreateGroupRequest.Builder.class); } // Construct using com.google.monitoring.v3.CreateGroupRequest.newBuilder() @@ -426,16 +470,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -453,9 +496,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_CreateGroupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.GroupServiceProto + .internal_static_google_monitoring_v3_CreateGroupRequest_descriptor; } @java.lang.Override @@ -474,7 +517,8 @@ public com.google.monitoring.v3.CreateGroupRequest build() { @java.lang.Override public com.google.monitoring.v3.CreateGroupRequest buildPartial() { - com.google.monitoring.v3.CreateGroupRequest result = new com.google.monitoring.v3.CreateGroupRequest(this); + com.google.monitoring.v3.CreateGroupRequest result = + new com.google.monitoring.v3.CreateGroupRequest(this); result.name_ = name_; if (groupBuilder_ == null) { result.group_ = group_; @@ -490,38 +534,39 @@ public com.google.monitoring.v3.CreateGroupRequest 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.monitoring.v3.CreateGroupRequest) { - return mergeFrom((com.google.monitoring.v3.CreateGroupRequest)other); + return mergeFrom((com.google.monitoring.v3.CreateGroupRequest) other); } else { super.mergeFrom(other); return this; @@ -571,20 +616,24 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
      * which to create the group. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -593,22 +642,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
      * which to create the group. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -616,60 +668,73 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
      * which to create the group. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
      * which to create the group. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
      * which to create the group. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -677,26 +742,35 @@ public Builder setNameBytes( private com.google.monitoring.v3.Group group_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Group, com.google.monitoring.v3.Group.Builder, com.google.monitoring.v3.GroupOrBuilder> groupBuilder_; + com.google.monitoring.v3.Group, + com.google.monitoring.v3.Group.Builder, + com.google.monitoring.v3.GroupOrBuilder> + groupBuilder_; /** + * + * *
      * Required. A group definition. It is an error to define the `name` field because
      * the system assigns the name.
      * 
* * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the group field is set. */ public boolean hasGroup() { return groupBuilder_ != null || group_ != null; } /** + * + * *
      * Required. A group definition. It is an error to define the `name` field because
      * the system assigns the name.
      * 
* * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The group. */ public com.google.monitoring.v3.Group getGroup() { @@ -707,6 +781,8 @@ public com.google.monitoring.v3.Group getGroup() { } } /** + * + * *
      * Required. A group definition. It is an error to define the `name` field because
      * the system assigns the name.
@@ -728,6 +804,8 @@ public Builder setGroup(com.google.monitoring.v3.Group value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. A group definition. It is an error to define the `name` field because
      * the system assigns the name.
@@ -735,8 +813,7 @@ public Builder setGroup(com.google.monitoring.v3.Group value) {
      *
      * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED];
      */
-    public Builder setGroup(
-        com.google.monitoring.v3.Group.Builder builderForValue) {
+    public Builder setGroup(com.google.monitoring.v3.Group.Builder builderForValue) {
       if (groupBuilder_ == null) {
         group_ = builderForValue.build();
         onChanged();
@@ -747,6 +824,8 @@ public Builder setGroup(
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. A group definition. It is an error to define the `name` field because
      * the system assigns the name.
@@ -758,7 +837,7 @@ public Builder mergeGroup(com.google.monitoring.v3.Group value) {
       if (groupBuilder_ == null) {
         if (group_ != null) {
           group_ =
-            com.google.monitoring.v3.Group.newBuilder(group_).mergeFrom(value).buildPartial();
+              com.google.monitoring.v3.Group.newBuilder(group_).mergeFrom(value).buildPartial();
         } else {
           group_ = value;
         }
@@ -770,6 +849,8 @@ public Builder mergeGroup(com.google.monitoring.v3.Group value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. A group definition. It is an error to define the `name` field because
      * the system assigns the name.
@@ -789,6 +870,8 @@ public Builder clearGroup() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. A group definition. It is an error to define the `name` field because
      * the system assigns the name.
@@ -797,11 +880,13 @@ public Builder clearGroup() {
      * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED];
      */
     public com.google.monitoring.v3.Group.Builder getGroupBuilder() {
-      
+
       onChanged();
       return getGroupFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Required. A group definition. It is an error to define the `name` field because
      * the system assigns the name.
@@ -813,11 +898,12 @@ public com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder() {
       if (groupBuilder_ != null) {
         return groupBuilder_.getMessageOrBuilder();
       } else {
-        return group_ == null ?
-            com.google.monitoring.v3.Group.getDefaultInstance() : group_;
+        return group_ == null ? com.google.monitoring.v3.Group.getDefaultInstance() : group_;
       }
     }
     /**
+     *
+     *
      * 
      * Required. A group definition. It is an error to define the `name` field because
      * the system assigns the name.
@@ -826,26 +912,32 @@ public com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder() {
      * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.monitoring.v3.Group, com.google.monitoring.v3.Group.Builder, com.google.monitoring.v3.GroupOrBuilder> 
+            com.google.monitoring.v3.Group,
+            com.google.monitoring.v3.Group.Builder,
+            com.google.monitoring.v3.GroupOrBuilder>
         getGroupFieldBuilder() {
       if (groupBuilder_ == null) {
-        groupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.Group, com.google.monitoring.v3.Group.Builder, com.google.monitoring.v3.GroupOrBuilder>(
-                getGroup(),
-                getParentForChildren(),
-                isClean());
+        groupBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.monitoring.v3.Group,
+                com.google.monitoring.v3.Group.Builder,
+                com.google.monitoring.v3.GroupOrBuilder>(
+                getGroup(), getParentForChildren(), isClean());
         group_ = null;
       }
       return groupBuilder_;
     }
 
-    private boolean validateOnly_ ;
+    private boolean validateOnly_;
     /**
+     *
+     *
      * 
      * If true, validate this request but do not create the group.
      * 
* * bool validate_only = 3; + * * @return The validateOnly. */ @java.lang.Override @@ -853,37 +945,43 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * If true, validate this request but do not create the group.
      * 
* * bool validate_only = 3; + * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** + * + * *
      * If true, validate this request but do not create the group.
      * 
* * bool validate_only = 3; + * * @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); } @@ -893,12 +991,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.CreateGroupRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.CreateGroupRequest) private static final com.google.monitoring.v3.CreateGroupRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.CreateGroupRequest(); } @@ -907,16 +1005,16 @@ public static com.google.monitoring.v3.CreateGroupRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateGroupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateGroupRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateGroupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateGroupRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -931,6 +1029,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.CreateGroupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateGroupRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateGroupRequestOrBuilder.java similarity index 65% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateGroupRequestOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateGroupRequestOrBuilder.java index 63565256..2293356a 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateGroupRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateGroupRequestOrBuilder.java @@ -1,57 +1,90 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/group_service.proto package com.google.monitoring.v3; -public interface CreateGroupRequestOrBuilder extends +public interface CreateGroupRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.CreateGroupRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
    * which to create the group. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
    * which to create the group. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. A group definition. It is an error to define the `name` field because
    * the system assigns the name.
    * 
* * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the group field is set. */ boolean hasGroup(); /** + * + * *
    * Required. A group definition. It is an error to define the `name` field because
    * the system assigns the name.
    * 
* * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The group. */ com.google.monitoring.v3.Group getGroup(); /** + * + * *
    * Required. A group definition. It is an error to define the `name` field because
    * the system assigns the name.
@@ -62,11 +95,14 @@ public interface CreateGroupRequestOrBuilder extends
   com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder();
 
   /**
+   *
+   *
    * 
    * If true, validate this request but do not create the group.
    * 
* * bool validate_only = 3; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateMetricDescriptorRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateMetricDescriptorRequest.java similarity index 64% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateMetricDescriptorRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateMetricDescriptorRequest.java index 876ee6b2..254986b4 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateMetricDescriptorRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateMetricDescriptorRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `CreateMetricDescriptor` request.
  * 
* * Protobuf type {@code google.monitoring.v3.CreateMetricDescriptorRequest} */ -public final class CreateMetricDescriptorRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateMetricDescriptorRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.CreateMetricDescriptorRequest) CreateMetricDescriptorRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateMetricDescriptorRequest.newBuilder() to construct. private CreateMetricDescriptorRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateMetricDescriptorRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateMetricDescriptorRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateMetricDescriptorRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,60 +70,67 @@ private CreateMetricDescriptorRequest( case 0: done = true; break; - case 18: { - com.google.api.MetricDescriptor.Builder subBuilder = null; - if (metricDescriptor_ != null) { - subBuilder = metricDescriptor_.toBuilder(); + case 18: + { + com.google.api.MetricDescriptor.Builder subBuilder = null; + if (metricDescriptor_ != null) { + subBuilder = metricDescriptor_.toBuilder(); + } + metricDescriptor_ = + input.readMessage(com.google.api.MetricDescriptor.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(metricDescriptor_); + metricDescriptor_ = subBuilder.buildPartial(); + } + + break; } - metricDescriptor_ = input.readMessage(com.google.api.MetricDescriptor.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(metricDescriptor_); - metricDescriptor_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateMetricDescriptorRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_CreateMetricDescriptorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateMetricDescriptorRequest_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_CreateMetricDescriptorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateMetricDescriptorRequest.class, com.google.monitoring.v3.CreateMetricDescriptorRequest.Builder.class); + com.google.monitoring.v3.CreateMetricDescriptorRequest.class, + com.google.monitoring.v3.CreateMetricDescriptorRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
@@ -114,7 +138,10 @@ private CreateMetricDescriptorRequest(
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -123,14 +150,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
@@ -138,17 +166,18 @@ public java.lang.String getName() {
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -159,12 +188,17 @@ public java.lang.String getName() { public static final int METRIC_DESCRIPTOR_FIELD_NUMBER = 2; private com.google.api.MetricDescriptor metricDescriptor_; /** + * + * *
    * Required. The new [custom metric](https://cloud.google.com/monitoring/custom-metrics)
    * descriptor.
    * 
* - * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the metricDescriptor field is set. */ @java.lang.Override @@ -172,25 +206,36 @@ public boolean hasMetricDescriptor() { return metricDescriptor_ != null; } /** + * + * *
    * Required. The new [custom metric](https://cloud.google.com/monitoring/custom-metrics)
    * descriptor.
    * 
* - * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The metricDescriptor. */ @java.lang.Override public com.google.api.MetricDescriptor getMetricDescriptor() { - return metricDescriptor_ == null ? com.google.api.MetricDescriptor.getDefaultInstance() : metricDescriptor_; + return metricDescriptor_ == null + ? com.google.api.MetricDescriptor.getDefaultInstance() + : metricDescriptor_; } /** + * + * *
    * Required. The new [custom metric](https://cloud.google.com/monitoring/custom-metrics)
    * descriptor.
    * 
* - * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.api.MetricDescriptorOrBuilder getMetricDescriptorOrBuilder() { @@ -198,6 +243,7 @@ public com.google.api.MetricDescriptorOrBuilder getMetricDescriptorOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -209,8 +255,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (metricDescriptor_ != null) { output.writeMessage(2, getMetricDescriptor()); } @@ -227,8 +272,7 @@ public int getSerializedSize() { size = 0; if (metricDescriptor_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getMetricDescriptor()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMetricDescriptor()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); @@ -241,19 +285,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.monitoring.v3.CreateMetricDescriptorRequest)) { return super.equals(obj); } - com.google.monitoring.v3.CreateMetricDescriptorRequest other = (com.google.monitoring.v3.CreateMetricDescriptorRequest) obj; + com.google.monitoring.v3.CreateMetricDescriptorRequest other = + (com.google.monitoring.v3.CreateMetricDescriptorRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasMetricDescriptor() != other.hasMetricDescriptor()) return false; if (hasMetricDescriptor()) { - if (!getMetricDescriptor() - .equals(other.getMetricDescriptor())) return false; + if (!getMetricDescriptor().equals(other.getMetricDescriptor())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -278,117 +321,127 @@ public int hashCode() { } public static com.google.monitoring.v3.CreateMetricDescriptorRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.CreateMetricDescriptorRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.CreateMetricDescriptorRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.CreateMetricDescriptorRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.CreateMetricDescriptorRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.CreateMetricDescriptorRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.CreateMetricDescriptorRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.CreateMetricDescriptorRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.CreateMetricDescriptorRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.CreateMetricDescriptorRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.CreateMetricDescriptorRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.CreateMetricDescriptorRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.CreateMetricDescriptorRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.CreateMetricDescriptorRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.CreateMetricDescriptorRequest prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.CreateMetricDescriptorRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 `CreateMetricDescriptor` request.
    * 
* * Protobuf type {@code google.monitoring.v3.CreateMetricDescriptorRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.CreateMetricDescriptorRequest) com.google.monitoring.v3.CreateMetricDescriptorRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateMetricDescriptorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_CreateMetricDescriptorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateMetricDescriptorRequest_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_CreateMetricDescriptorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateMetricDescriptorRequest.class, com.google.monitoring.v3.CreateMetricDescriptorRequest.Builder.class); + com.google.monitoring.v3.CreateMetricDescriptorRequest.class, + com.google.monitoring.v3.CreateMetricDescriptorRequest.Builder.class); } // Construct using com.google.monitoring.v3.CreateMetricDescriptorRequest.newBuilder() @@ -396,16 +449,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -421,9 +473,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateMetricDescriptorRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_CreateMetricDescriptorRequest_descriptor; } @java.lang.Override @@ -442,7 +494,8 @@ public com.google.monitoring.v3.CreateMetricDescriptorRequest build() { @java.lang.Override public com.google.monitoring.v3.CreateMetricDescriptorRequest buildPartial() { - com.google.monitoring.v3.CreateMetricDescriptorRequest result = new com.google.monitoring.v3.CreateMetricDescriptorRequest(this); + com.google.monitoring.v3.CreateMetricDescriptorRequest result = + new com.google.monitoring.v3.CreateMetricDescriptorRequest(this); result.name_ = name_; if (metricDescriptorBuilder_ == null) { result.metricDescriptor_ = metricDescriptor_; @@ -457,38 +510,39 @@ public com.google.monitoring.v3.CreateMetricDescriptorRequest 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.monitoring.v3.CreateMetricDescriptorRequest) { - return mergeFrom((com.google.monitoring.v3.CreateMetricDescriptorRequest)other); + return mergeFrom((com.google.monitoring.v3.CreateMetricDescriptorRequest) other); } else { super.mergeFrom(other); return this; @@ -496,7 +550,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.CreateMetricDescriptorRequest other) { - if (other == com.google.monitoring.v3.CreateMetricDescriptorRequest.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.CreateMetricDescriptorRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -523,7 +578,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.CreateMetricDescriptorRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.CreateMetricDescriptorRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -535,6 +591,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
@@ -542,14 +600,16 @@ public Builder mergeFrom(
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -558,6 +618,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
@@ -565,16 +627,17 @@ public java.lang.String getName() {
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -582,6 +645,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
@@ -589,21 +654,25 @@ public java.lang.String getName() {
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
@@ -611,16 +680,21 @@ public Builder setName(
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
@@ -628,17 +702,19 @@ public Builder clearName() {
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -646,42 +722,61 @@ public Builder setNameBytes( private com.google.api.MetricDescriptor metricDescriptor_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.MetricDescriptor, com.google.api.MetricDescriptor.Builder, com.google.api.MetricDescriptorOrBuilder> metricDescriptorBuilder_; + com.google.api.MetricDescriptor, + com.google.api.MetricDescriptor.Builder, + com.google.api.MetricDescriptorOrBuilder> + metricDescriptorBuilder_; /** + * + * *
      * Required. The new [custom metric](https://cloud.google.com/monitoring/custom-metrics)
      * descriptor.
      * 
* - * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the metricDescriptor field is set. */ public boolean hasMetricDescriptor() { return metricDescriptorBuilder_ != null || metricDescriptor_ != null; } /** + * + * *
      * Required. The new [custom metric](https://cloud.google.com/monitoring/custom-metrics)
      * descriptor.
      * 
* - * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The metricDescriptor. */ public com.google.api.MetricDescriptor getMetricDescriptor() { if (metricDescriptorBuilder_ == null) { - return metricDescriptor_ == null ? com.google.api.MetricDescriptor.getDefaultInstance() : metricDescriptor_; + return metricDescriptor_ == null + ? com.google.api.MetricDescriptor.getDefaultInstance() + : metricDescriptor_; } else { return metricDescriptorBuilder_.getMessage(); } } /** + * + * *
      * Required. The new [custom metric](https://cloud.google.com/monitoring/custom-metrics)
      * descriptor.
      * 
* - * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setMetricDescriptor(com.google.api.MetricDescriptor value) { if (metricDescriptorBuilder_ == null) { @@ -697,15 +792,18 @@ public Builder setMetricDescriptor(com.google.api.MetricDescriptor value) { return this; } /** + * + * *
      * Required. The new [custom metric](https://cloud.google.com/monitoring/custom-metrics)
      * descriptor.
      * 
* - * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setMetricDescriptor( - com.google.api.MetricDescriptor.Builder builderForValue) { + public Builder setMetricDescriptor(com.google.api.MetricDescriptor.Builder builderForValue) { if (metricDescriptorBuilder_ == null) { metricDescriptor_ = builderForValue.build(); onChanged(); @@ -716,18 +814,24 @@ public Builder setMetricDescriptor( return this; } /** + * + * *
      * Required. The new [custom metric](https://cloud.google.com/monitoring/custom-metrics)
      * descriptor.
      * 
* - * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeMetricDescriptor(com.google.api.MetricDescriptor value) { if (metricDescriptorBuilder_ == null) { if (metricDescriptor_ != null) { metricDescriptor_ = - com.google.api.MetricDescriptor.newBuilder(metricDescriptor_).mergeFrom(value).buildPartial(); + com.google.api.MetricDescriptor.newBuilder(metricDescriptor_) + .mergeFrom(value) + .buildPartial(); } else { metricDescriptor_ = value; } @@ -739,12 +843,16 @@ public Builder mergeMetricDescriptor(com.google.api.MetricDescriptor value) { return this; } /** + * + * *
      * Required. The new [custom metric](https://cloud.google.com/monitoring/custom-metrics)
      * descriptor.
      * 
* - * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearMetricDescriptor() { if (metricDescriptorBuilder_ == null) { @@ -758,58 +866,74 @@ public Builder clearMetricDescriptor() { return this; } /** + * + * *
      * Required. The new [custom metric](https://cloud.google.com/monitoring/custom-metrics)
      * descriptor.
      * 
* - * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.api.MetricDescriptor.Builder getMetricDescriptorBuilder() { - + onChanged(); return getMetricDescriptorFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The new [custom metric](https://cloud.google.com/monitoring/custom-metrics)
      * descriptor.
      * 
* - * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.api.MetricDescriptorOrBuilder getMetricDescriptorOrBuilder() { if (metricDescriptorBuilder_ != null) { return metricDescriptorBuilder_.getMessageOrBuilder(); } else { - return metricDescriptor_ == null ? - com.google.api.MetricDescriptor.getDefaultInstance() : metricDescriptor_; + return metricDescriptor_ == null + ? com.google.api.MetricDescriptor.getDefaultInstance() + : metricDescriptor_; } } /** + * + * *
      * Required. The new [custom metric](https://cloud.google.com/monitoring/custom-metrics)
      * descriptor.
      * 
* - * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.MetricDescriptor, com.google.api.MetricDescriptor.Builder, com.google.api.MetricDescriptorOrBuilder> + com.google.api.MetricDescriptor, + com.google.api.MetricDescriptor.Builder, + com.google.api.MetricDescriptorOrBuilder> getMetricDescriptorFieldBuilder() { if (metricDescriptorBuilder_ == null) { - metricDescriptorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.api.MetricDescriptor, com.google.api.MetricDescriptor.Builder, com.google.api.MetricDescriptorOrBuilder>( - getMetricDescriptor(), - getParentForChildren(), - isClean()); + metricDescriptorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.api.MetricDescriptor, + com.google.api.MetricDescriptor.Builder, + com.google.api.MetricDescriptorOrBuilder>( + getMetricDescriptor(), getParentForChildren(), isClean()); metricDescriptor_ = null; } return metricDescriptorBuilder_; } + @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); } @@ -819,12 +943,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.CreateMetricDescriptorRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.CreateMetricDescriptorRequest) private static final com.google.monitoring.v3.CreateMetricDescriptorRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.CreateMetricDescriptorRequest(); } @@ -833,16 +957,16 @@ public static com.google.monitoring.v3.CreateMetricDescriptorRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateMetricDescriptorRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateMetricDescriptorRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateMetricDescriptorRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateMetricDescriptorRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -857,6 +981,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.monitoring.v3.CreateMetricDescriptorRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateMetricDescriptorRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateMetricDescriptorRequestOrBuilder.java similarity index 52% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateMetricDescriptorRequestOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateMetricDescriptorRequestOrBuilder.java index 817cca68..77302acb 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateMetricDescriptorRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateMetricDescriptorRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric_service.proto package com.google.monitoring.v3; -public interface CreateMetricDescriptorRequestOrBuilder extends +public interface CreateMetricDescriptorRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.CreateMetricDescriptorRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
@@ -15,11 +33,16 @@ public interface CreateMetricDescriptorRequestOrBuilder extends
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
@@ -27,39 +50,55 @@ public interface CreateMetricDescriptorRequestOrBuilder extends
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The new [custom metric](https://cloud.google.com/monitoring/custom-metrics)
    * descriptor.
    * 
* - * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the metricDescriptor field is set. */ boolean hasMetricDescriptor(); /** + * + * *
    * Required. The new [custom metric](https://cloud.google.com/monitoring/custom-metrics)
    * descriptor.
    * 
* - * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The metricDescriptor. */ com.google.api.MetricDescriptor getMetricDescriptor(); /** + * + * *
    * Required. The new [custom metric](https://cloud.google.com/monitoring/custom-metrics)
    * descriptor.
    * 
* - * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.api.MetricDescriptor metric_descriptor = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.api.MetricDescriptorOrBuilder getMetricDescriptorOrBuilder(); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateNotificationChannelRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateNotificationChannelRequest.java similarity index 65% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateNotificationChannelRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateNotificationChannelRequest.java index d789e3c3..06a0d534 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateNotificationChannelRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateNotificationChannelRequest.java @@ -1,40 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/notification_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `CreateNotificationChannel` request.
  * 
* * Protobuf type {@code google.monitoring.v3.CreateNotificationChannelRequest} */ -public final class CreateNotificationChannelRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateNotificationChannelRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.CreateNotificationChannelRequest) CreateNotificationChannelRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateNotificationChannelRequest.newBuilder() to construct. - private CreateNotificationChannelRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateNotificationChannelRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateNotificationChannelRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateNotificationChannelRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateNotificationChannelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,60 +71,68 @@ private CreateNotificationChannelRequest( case 0: done = true; break; - case 18: { - com.google.monitoring.v3.NotificationChannel.Builder subBuilder = null; - if (notificationChannel_ != null) { - subBuilder = notificationChannel_.toBuilder(); - } - notificationChannel_ = input.readMessage(com.google.monitoring.v3.NotificationChannel.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(notificationChannel_); - notificationChannel_ = subBuilder.buildPartial(); + case 18: + { + com.google.monitoring.v3.NotificationChannel.Builder subBuilder = null; + if (notificationChannel_ != null) { + subBuilder = notificationChannel_.toBuilder(); + } + notificationChannel_ = + input.readMessage( + com.google.monitoring.v3.NotificationChannel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(notificationChannel_); + notificationChannel_ = subBuilder.buildPartial(); + } + + break; } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_CreateNotificationChannelRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_CreateNotificationChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_CreateNotificationChannelRequest_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_CreateNotificationChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateNotificationChannelRequest.class, com.google.monitoring.v3.CreateNotificationChannelRequest.Builder.class); + com.google.monitoring.v3.CreateNotificationChannelRequest.class, + com.google.monitoring.v3.CreateNotificationChannelRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
@@ -117,7 +143,10 @@ private CreateNotificationChannelRequest(
    * but will add `/notificationChannels/[CHANNEL_ID]` to identify the channel.
    * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -126,14 +155,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
@@ -144,17 +174,18 @@ public java.lang.String getName() {
    * but will add `/notificationChannels/[CHANNEL_ID]` to identify the channel.
    * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -165,11 +196,16 @@ public java.lang.String getName() { public static final int NOTIFICATION_CHANNEL_FIELD_NUMBER = 2; private com.google.monitoring.v3.NotificationChannel notificationChannel_; /** + * + * *
    * Required. The definition of the `NotificationChannel` to create.
    * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the notificationChannel field is set. */ @java.lang.Override @@ -177,23 +213,34 @@ public boolean hasNotificationChannel() { return notificationChannel_ != null; } /** + * + * *
    * Required. The definition of the `NotificationChannel` to create.
    * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The notificationChannel. */ @java.lang.Override public com.google.monitoring.v3.NotificationChannel getNotificationChannel() { - return notificationChannel_ == null ? com.google.monitoring.v3.NotificationChannel.getDefaultInstance() : notificationChannel_; + return notificationChannel_ == null + ? com.google.monitoring.v3.NotificationChannel.getDefaultInstance() + : notificationChannel_; } /** + * + * *
    * Required. The definition of the `NotificationChannel` to create.
    * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChannelOrBuilder() { @@ -201,6 +248,7 @@ public com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChan } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -212,8 +260,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (notificationChannel_ != null) { output.writeMessage(2, getNotificationChannel()); } @@ -230,8 +277,7 @@ public int getSerializedSize() { size = 0; if (notificationChannel_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getNotificationChannel()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getNotificationChannel()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); @@ -244,19 +290,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.monitoring.v3.CreateNotificationChannelRequest)) { return super.equals(obj); } - com.google.monitoring.v3.CreateNotificationChannelRequest other = (com.google.monitoring.v3.CreateNotificationChannelRequest) obj; + com.google.monitoring.v3.CreateNotificationChannelRequest other = + (com.google.monitoring.v3.CreateNotificationChannelRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasNotificationChannel() != other.hasNotificationChannel()) return false; if (hasNotificationChannel()) { - if (!getNotificationChannel() - .equals(other.getNotificationChannel())) return false; + if (!getNotificationChannel().equals(other.getNotificationChannel())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -281,117 +326,127 @@ public int hashCode() { } public static com.google.monitoring.v3.CreateNotificationChannelRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.CreateNotificationChannelRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.CreateNotificationChannelRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.CreateNotificationChannelRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.CreateNotificationChannelRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.CreateNotificationChannelRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.CreateNotificationChannelRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.CreateNotificationChannelRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.CreateNotificationChannelRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.CreateNotificationChannelRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.CreateNotificationChannelRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.CreateNotificationChannelRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.CreateNotificationChannelRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.CreateNotificationChannelRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.CreateNotificationChannelRequest prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.CreateNotificationChannelRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 `CreateNotificationChannel` request.
    * 
* * Protobuf type {@code google.monitoring.v3.CreateNotificationChannelRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.CreateNotificationChannelRequest) com.google.monitoring.v3.CreateNotificationChannelRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_CreateNotificationChannelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_CreateNotificationChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_CreateNotificationChannelRequest_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_CreateNotificationChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateNotificationChannelRequest.class, com.google.monitoring.v3.CreateNotificationChannelRequest.Builder.class); + com.google.monitoring.v3.CreateNotificationChannelRequest.class, + com.google.monitoring.v3.CreateNotificationChannelRequest.Builder.class); } // Construct using com.google.monitoring.v3.CreateNotificationChannelRequest.newBuilder() @@ -399,16 +454,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -424,9 +478,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_CreateNotificationChannelRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_CreateNotificationChannelRequest_descriptor; } @java.lang.Override @@ -445,7 +499,8 @@ public com.google.monitoring.v3.CreateNotificationChannelRequest build() { @java.lang.Override public com.google.monitoring.v3.CreateNotificationChannelRequest buildPartial() { - com.google.monitoring.v3.CreateNotificationChannelRequest result = new com.google.monitoring.v3.CreateNotificationChannelRequest(this); + com.google.monitoring.v3.CreateNotificationChannelRequest result = + new com.google.monitoring.v3.CreateNotificationChannelRequest(this); result.name_ = name_; if (notificationChannelBuilder_ == null) { result.notificationChannel_ = notificationChannel_; @@ -460,38 +515,39 @@ public com.google.monitoring.v3.CreateNotificationChannelRequest 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.monitoring.v3.CreateNotificationChannelRequest) { - return mergeFrom((com.google.monitoring.v3.CreateNotificationChannelRequest)other); + return mergeFrom((com.google.monitoring.v3.CreateNotificationChannelRequest) other); } else { super.mergeFrom(other); return this; @@ -499,7 +555,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.CreateNotificationChannelRequest other) { - if (other == com.google.monitoring.v3.CreateNotificationChannelRequest.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.CreateNotificationChannelRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -526,7 +583,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.CreateNotificationChannelRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.CreateNotificationChannelRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -538,6 +596,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
@@ -548,14 +608,16 @@ public Builder mergeFrom(
      * but will add `/notificationChannels/[CHANNEL_ID]` to identify the channel.
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -564,6 +626,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
@@ -574,16 +638,17 @@ public java.lang.String getName() {
      * but will add `/notificationChannels/[CHANNEL_ID]` to identify the channel.
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -591,6 +656,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
@@ -601,21 +668,25 @@ public java.lang.String getName() {
      * but will add `/notificationChannels/[CHANNEL_ID]` to identify the channel.
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
@@ -626,16 +697,21 @@ public Builder setName(
      * but will add `/notificationChannels/[CHANNEL_ID]` to identify the channel.
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
@@ -646,17 +722,19 @@ public Builder clearName() {
      * but will add `/notificationChannels/[CHANNEL_ID]` to identify the channel.
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -664,39 +742,58 @@ public Builder setNameBytes( private com.google.monitoring.v3.NotificationChannel notificationChannel_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.NotificationChannel, com.google.monitoring.v3.NotificationChannel.Builder, com.google.monitoring.v3.NotificationChannelOrBuilder> notificationChannelBuilder_; + com.google.monitoring.v3.NotificationChannel, + com.google.monitoring.v3.NotificationChannel.Builder, + com.google.monitoring.v3.NotificationChannelOrBuilder> + notificationChannelBuilder_; /** + * + * *
      * Required. The definition of the `NotificationChannel` to create.
      * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the notificationChannel field is set. */ public boolean hasNotificationChannel() { return notificationChannelBuilder_ != null || notificationChannel_ != null; } /** + * + * *
      * Required. The definition of the `NotificationChannel` to create.
      * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The notificationChannel. */ public com.google.monitoring.v3.NotificationChannel getNotificationChannel() { if (notificationChannelBuilder_ == null) { - return notificationChannel_ == null ? com.google.monitoring.v3.NotificationChannel.getDefaultInstance() : notificationChannel_; + return notificationChannel_ == null + ? com.google.monitoring.v3.NotificationChannel.getDefaultInstance() + : notificationChannel_; } else { return notificationChannelBuilder_.getMessage(); } } /** + * + * *
      * Required. The definition of the `NotificationChannel` to create.
      * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setNotificationChannel(com.google.monitoring.v3.NotificationChannel value) { if (notificationChannelBuilder_ == null) { @@ -712,11 +809,15 @@ public Builder setNotificationChannel(com.google.monitoring.v3.NotificationChann return this; } /** + * + * *
      * Required. The definition of the `NotificationChannel` to create.
      * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setNotificationChannel( com.google.monitoring.v3.NotificationChannel.Builder builderForValue) { @@ -730,17 +831,23 @@ public Builder setNotificationChannel( return this; } /** + * + * *
      * Required. The definition of the `NotificationChannel` to create.
      * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeNotificationChannel(com.google.monitoring.v3.NotificationChannel value) { if (notificationChannelBuilder_ == null) { if (notificationChannel_ != null) { notificationChannel_ = - com.google.monitoring.v3.NotificationChannel.newBuilder(notificationChannel_).mergeFrom(value).buildPartial(); + com.google.monitoring.v3.NotificationChannel.newBuilder(notificationChannel_) + .mergeFrom(value) + .buildPartial(); } else { notificationChannel_ = value; } @@ -752,11 +859,15 @@ public Builder mergeNotificationChannel(com.google.monitoring.v3.NotificationCha return this; } /** + * + * *
      * Required. The definition of the `NotificationChannel` to create.
      * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearNotificationChannel() { if (notificationChannelBuilder_ == null) { @@ -770,55 +881,71 @@ public Builder clearNotificationChannel() { return this; } /** + * + * *
      * Required. The definition of the `NotificationChannel` to create.
      * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.NotificationChannel.Builder getNotificationChannelBuilder() { - + onChanged(); return getNotificationChannelFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The definition of the `NotificationChannel` to create.
      * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChannelOrBuilder() { if (notificationChannelBuilder_ != null) { return notificationChannelBuilder_.getMessageOrBuilder(); } else { - return notificationChannel_ == null ? - com.google.monitoring.v3.NotificationChannel.getDefaultInstance() : notificationChannel_; + return notificationChannel_ == null + ? com.google.monitoring.v3.NotificationChannel.getDefaultInstance() + : notificationChannel_; } } /** + * + * *
      * Required. The definition of the `NotificationChannel` to create.
      * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.NotificationChannel, com.google.monitoring.v3.NotificationChannel.Builder, com.google.monitoring.v3.NotificationChannelOrBuilder> + com.google.monitoring.v3.NotificationChannel, + com.google.monitoring.v3.NotificationChannel.Builder, + com.google.monitoring.v3.NotificationChannelOrBuilder> getNotificationChannelFieldBuilder() { if (notificationChannelBuilder_ == null) { - notificationChannelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.NotificationChannel, com.google.monitoring.v3.NotificationChannel.Builder, com.google.monitoring.v3.NotificationChannelOrBuilder>( - getNotificationChannel(), - getParentForChildren(), - isClean()); + notificationChannelBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.NotificationChannel, + com.google.monitoring.v3.NotificationChannel.Builder, + com.google.monitoring.v3.NotificationChannelOrBuilder>( + getNotificationChannel(), getParentForChildren(), isClean()); notificationChannel_ = null; } return notificationChannelBuilder_; } + @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); } @@ -828,12 +955,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.CreateNotificationChannelRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.CreateNotificationChannelRequest) private static final com.google.monitoring.v3.CreateNotificationChannelRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.CreateNotificationChannelRequest(); } @@ -842,16 +969,16 @@ public static com.google.monitoring.v3.CreateNotificationChannelRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateNotificationChannelRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateNotificationChannelRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateNotificationChannelRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateNotificationChannelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -866,6 +993,4 @@ public com.google.protobuf.Parser getParserFor public com.google.monitoring.v3.CreateNotificationChannelRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateNotificationChannelRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateNotificationChannelRequestOrBuilder.java similarity index 58% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateNotificationChannelRequestOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateNotificationChannelRequestOrBuilder.java index 97fcf031..f85deb79 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateNotificationChannelRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateNotificationChannelRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/notification_service.proto package com.google.monitoring.v3; -public interface CreateNotificationChannelRequestOrBuilder extends +public interface CreateNotificationChannelRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.CreateNotificationChannelRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
@@ -18,11 +36,16 @@ public interface CreateNotificationChannelRequestOrBuilder extends
    * but will add `/notificationChannels/[CHANNEL_ID]` to identify the channel.
    * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
@@ -33,36 +56,52 @@ public interface CreateNotificationChannelRequestOrBuilder extends
    * but will add `/notificationChannels/[CHANNEL_ID]` to identify the channel.
    * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The definition of the `NotificationChannel` to create.
    * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the notificationChannel field is set. */ boolean hasNotificationChannel(); /** + * + * *
    * Required. The definition of the `NotificationChannel` to create.
    * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The notificationChannel. */ com.google.monitoring.v3.NotificationChannel getNotificationChannel(); /** + * + * *
    * Required. The definition of the `NotificationChannel` to create.
    * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChannelOrBuilder(); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceLevelObjectiveRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceLevelObjectiveRequest.java similarity index 66% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceLevelObjectiveRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceLevelObjectiveRequest.java index 188331b1..65019b59 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceLevelObjectiveRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceLevelObjectiveRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/service_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `CreateServiceLevelObjective` request.
  * 
* * Protobuf type {@code google.monitoring.v3.CreateServiceLevelObjectiveRequest} */ -public final class CreateServiceLevelObjectiveRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateServiceLevelObjectiveRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.CreateServiceLevelObjectiveRequest) CreateServiceLevelObjectiveRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateServiceLevelObjectiveRequest.newBuilder() to construct. - private CreateServiceLevelObjectiveRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateServiceLevelObjectiveRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateServiceLevelObjectiveRequest() { parent_ = ""; serviceLevelObjectiveId_ = ""; @@ -26,16 +45,15 @@ private CreateServiceLevelObjectiveRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateServiceLevelObjectiveRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateServiceLevelObjectiveRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,72 +72,84 @@ private CreateServiceLevelObjectiveRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.monitoring.v3.ServiceLevelObjective.Builder subBuilder = null; - if (serviceLevelObjective_ != null) { - subBuilder = serviceLevelObjective_.toBuilder(); - } - serviceLevelObjective_ = input.readMessage(com.google.monitoring.v3.ServiceLevelObjective.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(serviceLevelObjective_); - serviceLevelObjective_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.monitoring.v3.ServiceLevelObjective.Builder subBuilder = null; + if (serviceLevelObjective_ != null) { + subBuilder = serviceLevelObjective_.toBuilder(); + } + serviceLevelObjective_ = + input.readMessage( + com.google.monitoring.v3.ServiceLevelObjective.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(serviceLevelObjective_); + serviceLevelObjective_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - serviceLevelObjectiveId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + serviceLevelObjectiveId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_CreateServiceLevelObjectiveRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_CreateServiceLevelObjectiveRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_CreateServiceLevelObjectiveRequest_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_CreateServiceLevelObjectiveRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateServiceLevelObjectiveRequest.class, com.google.monitoring.v3.CreateServiceLevelObjectiveRequest.Builder.class); + com.google.monitoring.v3.CreateServiceLevelObjectiveRequest.class, + com.google.monitoring.v3.CreateServiceLevelObjectiveRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Resource name of the parent `Service`. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -128,30 +158,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Resource name of the parent `Service`. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -162,6 +194,8 @@ public java.lang.String getParent() { public static final int SERVICE_LEVEL_OBJECTIVE_ID_FIELD_NUMBER = 3; private volatile java.lang.Object serviceLevelObjectiveId_; /** + * + * *
    * Optional. The ServiceLevelObjective id to use for this
    * ServiceLevelObjective. If omitted, an id will be generated instead. Must
@@ -169,6 +203,7 @@ public java.lang.String getParent() {
    * 
* * string service_level_objective_id = 3; + * * @return The serviceLevelObjectiveId. */ @java.lang.Override @@ -177,14 +212,15 @@ public java.lang.String getServiceLevelObjectiveId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceLevelObjectiveId_ = s; return s; } } /** + * + * *
    * Optional. The ServiceLevelObjective id to use for this
    * ServiceLevelObjective. If omitted, an id will be generated instead. Must
@@ -192,16 +228,15 @@ public java.lang.String getServiceLevelObjectiveId() {
    * 
* * string service_level_objective_id = 3; + * * @return The bytes for serviceLevelObjectiveId. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceLevelObjectiveIdBytes() { + public com.google.protobuf.ByteString getServiceLevelObjectiveIdBytes() { java.lang.Object ref = serviceLevelObjectiveId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceLevelObjectiveId_ = b; return b; } else { @@ -212,13 +247,18 @@ public java.lang.String getServiceLevelObjectiveId() { public static final int SERVICE_LEVEL_OBJECTIVE_FIELD_NUMBER = 2; private com.google.monitoring.v3.ServiceLevelObjective serviceLevelObjective_; /** + * + * *
    * Required. The `ServiceLevelObjective` to create.
    * The provided `name` will be respected if no `ServiceLevelObjective` exists
    * with this name.
    * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the serviceLevelObjective field is set. */ @java.lang.Override @@ -226,34 +266,47 @@ public boolean hasServiceLevelObjective() { return serviceLevelObjective_ != null; } /** + * + * *
    * Required. The `ServiceLevelObjective` to create.
    * The provided `name` will be respected if no `ServiceLevelObjective` exists
    * with this name.
    * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The serviceLevelObjective. */ @java.lang.Override public com.google.monitoring.v3.ServiceLevelObjective getServiceLevelObjective() { - return serviceLevelObjective_ == null ? com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance() : serviceLevelObjective_; + return serviceLevelObjective_ == null + ? com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance() + : serviceLevelObjective_; } /** + * + * *
    * Required. The `ServiceLevelObjective` to create.
    * The provided `name` will be respected if no `ServiceLevelObjective` exists
    * with this name.
    * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder getServiceLevelObjectiveOrBuilder() { + public com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder + getServiceLevelObjectiveOrBuilder() { return getServiceLevelObjective(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,8 +318,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -289,8 +341,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (serviceLevelObjective_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getServiceLevelObjective()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, getServiceLevelObjective()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceLevelObjectiveId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, serviceLevelObjectiveId_); @@ -303,21 +355,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.monitoring.v3.CreateServiceLevelObjectiveRequest)) { return super.equals(obj); } - com.google.monitoring.v3.CreateServiceLevelObjectiveRequest other = (com.google.monitoring.v3.CreateServiceLevelObjectiveRequest) obj; + com.google.monitoring.v3.CreateServiceLevelObjectiveRequest other = + (com.google.monitoring.v3.CreateServiceLevelObjectiveRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getServiceLevelObjectiveId() - .equals(other.getServiceLevelObjectiveId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getServiceLevelObjectiveId().equals(other.getServiceLevelObjectiveId())) return false; if (hasServiceLevelObjective() != other.hasServiceLevelObjective()) return false; if (hasServiceLevelObjective()) { - if (!getServiceLevelObjective() - .equals(other.getServiceLevelObjective())) return false; + if (!getServiceLevelObjective().equals(other.getServiceLevelObjective())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -344,117 +394,127 @@ public int hashCode() { } public static com.google.monitoring.v3.CreateServiceLevelObjectiveRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.CreateServiceLevelObjectiveRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.CreateServiceLevelObjectiveRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.CreateServiceLevelObjectiveRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.CreateServiceLevelObjectiveRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.CreateServiceLevelObjectiveRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.CreateServiceLevelObjectiveRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.CreateServiceLevelObjectiveRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.CreateServiceLevelObjectiveRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.CreateServiceLevelObjectiveRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.CreateServiceLevelObjectiveRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.CreateServiceLevelObjectiveRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.CreateServiceLevelObjectiveRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.CreateServiceLevelObjectiveRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.CreateServiceLevelObjectiveRequest prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.CreateServiceLevelObjectiveRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 `CreateServiceLevelObjective` request.
    * 
* * Protobuf type {@code google.monitoring.v3.CreateServiceLevelObjectiveRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.CreateServiceLevelObjectiveRequest) com.google.monitoring.v3.CreateServiceLevelObjectiveRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_CreateServiceLevelObjectiveRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_CreateServiceLevelObjectiveRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_CreateServiceLevelObjectiveRequest_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_CreateServiceLevelObjectiveRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateServiceLevelObjectiveRequest.class, com.google.monitoring.v3.CreateServiceLevelObjectiveRequest.Builder.class); + com.google.monitoring.v3.CreateServiceLevelObjectiveRequest.class, + com.google.monitoring.v3.CreateServiceLevelObjectiveRequest.Builder.class); } // Construct using com.google.monitoring.v3.CreateServiceLevelObjectiveRequest.newBuilder() @@ -462,16 +522,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -489,9 +548,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_CreateServiceLevelObjectiveRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_CreateServiceLevelObjectiveRequest_descriptor; } @java.lang.Override @@ -510,7 +569,8 @@ public com.google.monitoring.v3.CreateServiceLevelObjectiveRequest build() { @java.lang.Override public com.google.monitoring.v3.CreateServiceLevelObjectiveRequest buildPartial() { - com.google.monitoring.v3.CreateServiceLevelObjectiveRequest result = new com.google.monitoring.v3.CreateServiceLevelObjectiveRequest(this); + com.google.monitoring.v3.CreateServiceLevelObjectiveRequest result = + new com.google.monitoring.v3.CreateServiceLevelObjectiveRequest(this); result.parent_ = parent_; result.serviceLevelObjectiveId_ = serviceLevelObjectiveId_; if (serviceLevelObjectiveBuilder_ == null) { @@ -526,38 +586,39 @@ public com.google.monitoring.v3.CreateServiceLevelObjectiveRequest 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.monitoring.v3.CreateServiceLevelObjectiveRequest) { - return mergeFrom((com.google.monitoring.v3.CreateServiceLevelObjectiveRequest)other); + return mergeFrom((com.google.monitoring.v3.CreateServiceLevelObjectiveRequest) other); } else { super.mergeFrom(other); return this; @@ -565,7 +626,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.CreateServiceLevelObjectiveRequest other) { - if (other == com.google.monitoring.v3.CreateServiceLevelObjectiveRequest.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.CreateServiceLevelObjectiveRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -596,7 +658,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.CreateServiceLevelObjectiveRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.CreateServiceLevelObjectiveRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -608,19 +671,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Resource name of the parent `Service`. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -629,21 +696,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the parent `Service`. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -651,57 +721,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the parent `Service`. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the parent `Service`. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the parent `Service`. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -709,6 +792,8 @@ public Builder setParentBytes( private java.lang.Object serviceLevelObjectiveId_ = ""; /** + * + * *
      * Optional. The ServiceLevelObjective id to use for this
      * ServiceLevelObjective. If omitted, an id will be generated instead. Must
@@ -716,13 +801,13 @@ public Builder setParentBytes(
      * 
* * string service_level_objective_id = 3; + * * @return The serviceLevelObjectiveId. */ public java.lang.String getServiceLevelObjectiveId() { java.lang.Object ref = serviceLevelObjectiveId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceLevelObjectiveId_ = s; return s; @@ -731,6 +816,8 @@ public java.lang.String getServiceLevelObjectiveId() { } } /** + * + * *
      * Optional. The ServiceLevelObjective id to use for this
      * ServiceLevelObjective. If omitted, an id will be generated instead. Must
@@ -738,15 +825,14 @@ public java.lang.String getServiceLevelObjectiveId() {
      * 
* * string service_level_objective_id = 3; + * * @return The bytes for serviceLevelObjectiveId. */ - public com.google.protobuf.ByteString - getServiceLevelObjectiveIdBytes() { + public com.google.protobuf.ByteString getServiceLevelObjectiveIdBytes() { java.lang.Object ref = serviceLevelObjectiveId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceLevelObjectiveId_ = b; return b; } else { @@ -754,6 +840,8 @@ public java.lang.String getServiceLevelObjectiveId() { } } /** + * + * *
      * Optional. The ServiceLevelObjective id to use for this
      * ServiceLevelObjective. If omitted, an id will be generated instead. Must
@@ -761,20 +849,22 @@ public java.lang.String getServiceLevelObjectiveId() {
      * 
* * string service_level_objective_id = 3; + * * @param value The serviceLevelObjectiveId to set. * @return This builder for chaining. */ - public Builder setServiceLevelObjectiveId( - java.lang.String value) { + public Builder setServiceLevelObjectiveId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceLevelObjectiveId_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The ServiceLevelObjective id to use for this
      * ServiceLevelObjective. If omitted, an id will be generated instead. Must
@@ -782,15 +872,18 @@ public Builder setServiceLevelObjectiveId(
      * 
* * string service_level_objective_id = 3; + * * @return This builder for chaining. */ public Builder clearServiceLevelObjectiveId() { - + serviceLevelObjectiveId_ = getDefaultInstance().getServiceLevelObjectiveId(); onChanged(); return this; } /** + * + * *
      * Optional. The ServiceLevelObjective id to use for this
      * ServiceLevelObjective. If omitted, an id will be generated instead. Must
@@ -798,16 +891,16 @@ public Builder clearServiceLevelObjectiveId() {
      * 
* * string service_level_objective_id = 3; + * * @param value The bytes for serviceLevelObjectiveId to set. * @return This builder for chaining. */ - public Builder setServiceLevelObjectiveIdBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceLevelObjectiveIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceLevelObjectiveId_ = value; onChanged(); return this; @@ -815,45 +908,64 @@ public Builder setServiceLevelObjectiveIdBytes( private com.google.monitoring.v3.ServiceLevelObjective serviceLevelObjective_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.ServiceLevelObjective, com.google.monitoring.v3.ServiceLevelObjective.Builder, com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder> serviceLevelObjectiveBuilder_; + com.google.monitoring.v3.ServiceLevelObjective, + com.google.monitoring.v3.ServiceLevelObjective.Builder, + com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder> + serviceLevelObjectiveBuilder_; /** + * + * *
      * Required. The `ServiceLevelObjective` to create.
      * The provided `name` will be respected if no `ServiceLevelObjective` exists
      * with this name.
      * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the serviceLevelObjective field is set. */ public boolean hasServiceLevelObjective() { return serviceLevelObjectiveBuilder_ != null || serviceLevelObjective_ != null; } /** + * + * *
      * Required. The `ServiceLevelObjective` to create.
      * The provided `name` will be respected if no `ServiceLevelObjective` exists
      * with this name.
      * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The serviceLevelObjective. */ public com.google.monitoring.v3.ServiceLevelObjective getServiceLevelObjective() { if (serviceLevelObjectiveBuilder_ == null) { - return serviceLevelObjective_ == null ? com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance() : serviceLevelObjective_; + return serviceLevelObjective_ == null + ? com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance() + : serviceLevelObjective_; } else { return serviceLevelObjectiveBuilder_.getMessage(); } } /** + * + * *
      * Required. The `ServiceLevelObjective` to create.
      * The provided `name` will be respected if no `ServiceLevelObjective` exists
      * with this name.
      * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setServiceLevelObjective(com.google.monitoring.v3.ServiceLevelObjective value) { if (serviceLevelObjectiveBuilder_ == null) { @@ -869,13 +981,17 @@ public Builder setServiceLevelObjective(com.google.monitoring.v3.ServiceLevelObj return this; } /** + * + * *
      * Required. The `ServiceLevelObjective` to create.
      * The provided `name` will be respected if no `ServiceLevelObjective` exists
      * with this name.
      * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setServiceLevelObjective( com.google.monitoring.v3.ServiceLevelObjective.Builder builderForValue) { @@ -889,19 +1005,26 @@ public Builder setServiceLevelObjective( return this; } /** + * + * *
      * Required. The `ServiceLevelObjective` to create.
      * The provided `name` will be respected if no `ServiceLevelObjective` exists
      * with this name.
      * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeServiceLevelObjective(com.google.monitoring.v3.ServiceLevelObjective value) { + public Builder mergeServiceLevelObjective( + com.google.monitoring.v3.ServiceLevelObjective value) { if (serviceLevelObjectiveBuilder_ == null) { if (serviceLevelObjective_ != null) { serviceLevelObjective_ = - com.google.monitoring.v3.ServiceLevelObjective.newBuilder(serviceLevelObjective_).mergeFrom(value).buildPartial(); + com.google.monitoring.v3.ServiceLevelObjective.newBuilder(serviceLevelObjective_) + .mergeFrom(value) + .buildPartial(); } else { serviceLevelObjective_ = value; } @@ -913,13 +1036,17 @@ public Builder mergeServiceLevelObjective(com.google.monitoring.v3.ServiceLevelO return this; } /** + * + * *
      * Required. The `ServiceLevelObjective` to create.
      * The provided `name` will be respected if no `ServiceLevelObjective` exists
      * with this name.
      * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearServiceLevelObjective() { if (serviceLevelObjectiveBuilder_ == null) { @@ -933,61 +1060,79 @@ public Builder clearServiceLevelObjective() { return this; } /** + * + * *
      * Required. The `ServiceLevelObjective` to create.
      * The provided `name` will be respected if no `ServiceLevelObjective` exists
      * with this name.
      * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.monitoring.v3.ServiceLevelObjective.Builder getServiceLevelObjectiveBuilder() { - + public com.google.monitoring.v3.ServiceLevelObjective.Builder + getServiceLevelObjectiveBuilder() { + onChanged(); return getServiceLevelObjectiveFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The `ServiceLevelObjective` to create.
      * The provided `name` will be respected if no `ServiceLevelObjective` exists
      * with this name.
      * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder getServiceLevelObjectiveOrBuilder() { + public com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder + getServiceLevelObjectiveOrBuilder() { if (serviceLevelObjectiveBuilder_ != null) { return serviceLevelObjectiveBuilder_.getMessageOrBuilder(); } else { - return serviceLevelObjective_ == null ? - com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance() : serviceLevelObjective_; + return serviceLevelObjective_ == null + ? com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance() + : serviceLevelObjective_; } } /** + * + * *
      * Required. The `ServiceLevelObjective` to create.
      * The provided `name` will be respected if no `ServiceLevelObjective` exists
      * with this name.
      * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.ServiceLevelObjective, com.google.monitoring.v3.ServiceLevelObjective.Builder, com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder> + com.google.monitoring.v3.ServiceLevelObjective, + com.google.monitoring.v3.ServiceLevelObjective.Builder, + com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder> getServiceLevelObjectiveFieldBuilder() { if (serviceLevelObjectiveBuilder_ == null) { - serviceLevelObjectiveBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.ServiceLevelObjective, com.google.monitoring.v3.ServiceLevelObjective.Builder, com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder>( - getServiceLevelObjective(), - getParentForChildren(), - isClean()); + serviceLevelObjectiveBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.ServiceLevelObjective, + com.google.monitoring.v3.ServiceLevelObjective.Builder, + com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder>( + getServiceLevelObjective(), getParentForChildren(), isClean()); serviceLevelObjective_ = null; } return serviceLevelObjectiveBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -997,12 +1142,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.CreateServiceLevelObjectiveRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.CreateServiceLevelObjectiveRequest) private static final com.google.monitoring.v3.CreateServiceLevelObjectiveRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.CreateServiceLevelObjectiveRequest(); } @@ -1011,16 +1156,16 @@ public static com.google.monitoring.v3.CreateServiceLevelObjectiveRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateServiceLevelObjectiveRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateServiceLevelObjectiveRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateServiceLevelObjectiveRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateServiceLevelObjectiveRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1035,6 +1180,4 @@ public com.google.protobuf.Parser getParserF public com.google.monitoring.v3.CreateServiceLevelObjectiveRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceLevelObjectiveRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceLevelObjectiveRequestOrBuilder.java similarity index 59% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceLevelObjectiveRequestOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceLevelObjectiveRequestOrBuilder.java index ac19543a..488f0661 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceLevelObjectiveRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceLevelObjectiveRequestOrBuilder.java @@ -1,35 +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/monitoring/v3/service_service.proto package com.google.monitoring.v3; -public interface CreateServiceLevelObjectiveRequestOrBuilder extends +public interface CreateServiceLevelObjectiveRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.CreateServiceLevelObjectiveRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the parent `Service`. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Resource name of the parent `Service`. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. The ServiceLevelObjective id to use for this
    * ServiceLevelObjective. If omitted, an id will be generated instead. Must
@@ -37,10 +64,13 @@ public interface CreateServiceLevelObjectiveRequestOrBuilder extends
    * 
* * string service_level_objective_id = 3; + * * @return The serviceLevelObjectiveId. */ java.lang.String getServiceLevelObjectiveId(); /** + * + * *
    * Optional. The ServiceLevelObjective id to use for this
    * ServiceLevelObjective. If omitted, an id will be generated instead. Must
@@ -48,41 +78,55 @@ public interface CreateServiceLevelObjectiveRequestOrBuilder extends
    * 
* * string service_level_objective_id = 3; + * * @return The bytes for serviceLevelObjectiveId. */ - com.google.protobuf.ByteString - getServiceLevelObjectiveIdBytes(); + com.google.protobuf.ByteString getServiceLevelObjectiveIdBytes(); /** + * + * *
    * Required. The `ServiceLevelObjective` to create.
    * The provided `name` will be respected if no `ServiceLevelObjective` exists
    * with this name.
    * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the serviceLevelObjective field is set. */ boolean hasServiceLevelObjective(); /** + * + * *
    * Required. The `ServiceLevelObjective` to create.
    * The provided `name` will be respected if no `ServiceLevelObjective` exists
    * with this name.
    * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The serviceLevelObjective. */ com.google.monitoring.v3.ServiceLevelObjective getServiceLevelObjective(); /** + * + * *
    * Required. The `ServiceLevelObjective` to create.
    * The provided `name` will be respected if no `ServiceLevelObjective` exists
    * with this name.
    * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder getServiceLevelObjectiveOrBuilder(); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceRequest.java similarity index 69% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceRequest.java index 995f5f1e..a1713a01 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/service_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `CreateService` request.
  * 
* * Protobuf type {@code google.monitoring.v3.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.monitoring.v3.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() { parent_ = ""; serviceId_ = ""; @@ -26,16 +44,15 @@ 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; } + private CreateServiceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,73 +71,84 @@ private CreateServiceRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.monitoring.v3.Service.Builder subBuilder = null; - if (service_ != null) { - subBuilder = service_.toBuilder(); - } - service_ = input.readMessage(com.google.monitoring.v3.Service.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(service_); - service_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.monitoring.v3.Service.Builder subBuilder = null; + if (service_ != null) { + subBuilder = service_.toBuilder(); + } + service_ = + input.readMessage(com.google.monitoring.v3.Service.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(service_); + service_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - serviceId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + serviceId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_CreateServiceRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_CreateServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_CreateServiceRequest_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_CreateServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateServiceRequest.class, com.google.monitoring.v3.CreateServiceRequest.Builder.class); + com.google.monitoring.v3.CreateServiceRequest.class, + com.google.monitoring.v3.CreateServiceRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Resource [name](https://cloud.google.com/monitoring/api/v3#project_name) of
    * the parent workspace. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -129,31 +157,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Resource [name](https://cloud.google.com/monitoring/api/v3#project_name) of
    * the parent workspace. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -164,12 +194,15 @@ public java.lang.String getParent() { public static final int SERVICE_ID_FIELD_NUMBER = 3; private volatile java.lang.Object serviceId_; /** + * + * *
    * Optional. The Service id to use for this Service. If omitted, an id will be
    * generated instead. Must match the pattern `[a-z0-9\-]+`
    * 
* * string service_id = 3; + * * @return The serviceId. */ @java.lang.Override @@ -178,30 +211,30 @@ public java.lang.String getServiceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceId_ = s; return s; } } /** + * + * *
    * Optional. The Service id to use for this Service. If omitted, an id will be
    * generated instead. Must match the pattern `[a-z0-9\-]+`
    * 
* * string service_id = 3; + * * @return The bytes for serviceId. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceIdBytes() { + public com.google.protobuf.ByteString getServiceIdBytes() { java.lang.Object ref = serviceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceId_ = b; return b; } else { @@ -212,11 +245,15 @@ public java.lang.String getServiceId() { public static final int SERVICE_FIELD_NUMBER = 2; private com.google.monitoring.v3.Service service_; /** + * + * *
    * Required. The `Service` to create.
    * 
* - * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the service field is set. */ @java.lang.Override @@ -224,11 +261,15 @@ public boolean hasService() { return service_ != null; } /** + * + * *
    * Required. The `Service` to create.
    * 
* - * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The service. */ @java.lang.Override @@ -236,11 +277,14 @@ public com.google.monitoring.v3.Service getService() { return service_ == null ? com.google.monitoring.v3.Service.getDefaultInstance() : service_; } /** + * + * *
    * Required. The `Service` to create.
    * 
* - * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.monitoring.v3.ServiceOrBuilder getServiceOrBuilder() { @@ -248,6 +292,7 @@ public com.google.monitoring.v3.ServiceOrBuilder getServiceOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -259,8 +304,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -283,8 +327,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (service_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getService()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getService()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, serviceId_); @@ -297,21 +340,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.monitoring.v3.CreateServiceRequest)) { return super.equals(obj); } - com.google.monitoring.v3.CreateServiceRequest other = (com.google.monitoring.v3.CreateServiceRequest) obj; + com.google.monitoring.v3.CreateServiceRequest other = + (com.google.monitoring.v3.CreateServiceRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getServiceId() - .equals(other.getServiceId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getServiceId().equals(other.getServiceId())) return false; if (hasService() != other.hasService()) return false; if (hasService()) { - if (!getService() - .equals(other.getService())) return false; + if (!getService().equals(other.getService())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -337,118 +378,127 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.CreateServiceRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.CreateServiceRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.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.monitoring.v3.CreateServiceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.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.monitoring.v3.CreateServiceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.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.monitoring.v3.CreateServiceRequest 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.monitoring.v3.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.monitoring.v3.CreateServiceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.CreateServiceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.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.monitoring.v3.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.monitoring.v3.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.monitoring.v3.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; } /** + * + * *
    * The `CreateService` request.
    * 
* * Protobuf type {@code google.monitoring.v3.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.monitoring.v3.CreateServiceRequest) com.google.monitoring.v3.CreateServiceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_CreateServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_CreateServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_CreateServiceRequest_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_CreateServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateServiceRequest.class, com.google.monitoring.v3.CreateServiceRequest.Builder.class); + com.google.monitoring.v3.CreateServiceRequest.class, + com.google.monitoring.v3.CreateServiceRequest.Builder.class); } // Construct using com.google.monitoring.v3.CreateServiceRequest.newBuilder() @@ -456,16 +506,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -483,9 +532,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_CreateServiceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_CreateServiceRequest_descriptor; } @java.lang.Override @@ -504,7 +553,8 @@ public com.google.monitoring.v3.CreateServiceRequest build() { @java.lang.Override public com.google.monitoring.v3.CreateServiceRequest buildPartial() { - com.google.monitoring.v3.CreateServiceRequest result = new com.google.monitoring.v3.CreateServiceRequest(this); + com.google.monitoring.v3.CreateServiceRequest result = + new com.google.monitoring.v3.CreateServiceRequest(this); result.parent_ = parent_; result.serviceId_ = serviceId_; if (serviceBuilder_ == null) { @@ -520,38 +570,39 @@ public com.google.monitoring.v3.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.monitoring.v3.CreateServiceRequest) { - return mergeFrom((com.google.monitoring.v3.CreateServiceRequest)other); + return mergeFrom((com.google.monitoring.v3.CreateServiceRequest) other); } else { super.mergeFrom(other); return this; @@ -602,20 +653,24 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Resource [name](https://cloud.google.com/monitoring/api/v3#project_name) of
      * the parent workspace. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -624,22 +679,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource [name](https://cloud.google.com/monitoring/api/v3#project_name) of
      * the parent workspace. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -647,60 +705,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource [name](https://cloud.google.com/monitoring/api/v3#project_name) of
      * the parent workspace. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource [name](https://cloud.google.com/monitoring/api/v3#project_name) of
      * the parent workspace. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Resource [name](https://cloud.google.com/monitoring/api/v3#project_name) of
      * the parent workspace. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -708,19 +779,21 @@ public Builder setParentBytes( private java.lang.Object serviceId_ = ""; /** + * + * *
      * Optional. The Service id to use for this Service. If omitted, an id will be
      * generated instead. Must match the pattern `[a-z0-9\-]+`
      * 
* * string service_id = 3; + * * @return The serviceId. */ public java.lang.String getServiceId() { java.lang.Object ref = serviceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceId_ = s; return s; @@ -729,21 +802,22 @@ public java.lang.String getServiceId() { } } /** + * + * *
      * Optional. The Service id to use for this Service. If omitted, an id will be
      * generated instead. Must match the pattern `[a-z0-9\-]+`
      * 
* * string service_id = 3; + * * @return The bytes for serviceId. */ - public com.google.protobuf.ByteString - getServiceIdBytes() { + public com.google.protobuf.ByteString getServiceIdBytes() { java.lang.Object ref = serviceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceId_ = b; return b; } else { @@ -751,57 +825,64 @@ public java.lang.String getServiceId() { } } /** + * + * *
      * Optional. The Service id to use for this Service. If omitted, an id will be
      * generated instead. Must match the pattern `[a-z0-9\-]+`
      * 
* * string service_id = 3; + * * @param value The serviceId to set. * @return This builder for chaining. */ - public Builder setServiceId( - java.lang.String value) { + public Builder setServiceId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceId_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The Service id to use for this Service. If omitted, an id will be
      * generated instead. Must match the pattern `[a-z0-9\-]+`
      * 
* * string service_id = 3; + * * @return This builder for chaining. */ public Builder clearServiceId() { - + serviceId_ = getDefaultInstance().getServiceId(); onChanged(); return this; } /** + * + * *
      * Optional. The Service id to use for this Service. If omitted, an id will be
      * generated instead. Must match the pattern `[a-z0-9\-]+`
      * 
* * string service_id = 3; + * * @param value The bytes for serviceId to set. * @return This builder for chaining. */ - public Builder setServiceIdBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceId_ = value; onChanged(); return this; @@ -809,24 +890,35 @@ public Builder setServiceIdBytes( private com.google.monitoring.v3.Service service_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service, com.google.monitoring.v3.Service.Builder, com.google.monitoring.v3.ServiceOrBuilder> serviceBuilder_; + com.google.monitoring.v3.Service, + com.google.monitoring.v3.Service.Builder, + com.google.monitoring.v3.ServiceOrBuilder> + serviceBuilder_; /** + * + * *
      * Required. The `Service` to create.
      * 
* - * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the service field is set. */ public boolean hasService() { return serviceBuilder_ != null || service_ != null; } /** + * + * *
      * Required. The `Service` to create.
      * 
* - * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The service. */ public com.google.monitoring.v3.Service getService() { @@ -837,11 +929,14 @@ public com.google.monitoring.v3.Service getService() { } } /** + * + * *
      * Required. The `Service` to create.
      * 
* - * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setService(com.google.monitoring.v3.Service value) { if (serviceBuilder_ == null) { @@ -857,14 +952,16 @@ public Builder setService(com.google.monitoring.v3.Service value) { return this; } /** + * + * *
      * Required. The `Service` to create.
      * 
* - * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setService( - com.google.monitoring.v3.Service.Builder builderForValue) { + public Builder setService(com.google.monitoring.v3.Service.Builder builderForValue) { if (serviceBuilder_ == null) { service_ = builderForValue.build(); onChanged(); @@ -875,17 +972,20 @@ public Builder setService( return this; } /** + * + * *
      * Required. The `Service` to create.
      * 
* - * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeService(com.google.monitoring.v3.Service value) { if (serviceBuilder_ == null) { if (service_ != null) { service_ = - com.google.monitoring.v3.Service.newBuilder(service_).mergeFrom(value).buildPartial(); + com.google.monitoring.v3.Service.newBuilder(service_).mergeFrom(value).buildPartial(); } else { service_ = value; } @@ -897,11 +997,14 @@ public Builder mergeService(com.google.monitoring.v3.Service value) { return this; } /** + * + * *
      * Required. The `Service` to create.
      * 
* - * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearService() { if (serviceBuilder_ == null) { @@ -915,55 +1018,66 @@ public Builder clearService() { return this; } /** + * + * *
      * Required. The `Service` to create.
      * 
* - * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.Service.Builder getServiceBuilder() { - + onChanged(); return getServiceFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The `Service` to create.
      * 
* - * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.ServiceOrBuilder getServiceOrBuilder() { if (serviceBuilder_ != null) { return serviceBuilder_.getMessageOrBuilder(); } else { - return service_ == null ? - com.google.monitoring.v3.Service.getDefaultInstance() : service_; + return service_ == null ? com.google.monitoring.v3.Service.getDefaultInstance() : service_; } } /** + * + * *
      * Required. The `Service` to create.
      * 
* - * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service, com.google.monitoring.v3.Service.Builder, com.google.monitoring.v3.ServiceOrBuilder> + com.google.monitoring.v3.Service, + com.google.monitoring.v3.Service.Builder, + com.google.monitoring.v3.ServiceOrBuilder> getServiceFieldBuilder() { if (serviceBuilder_ == null) { - serviceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service, com.google.monitoring.v3.Service.Builder, com.google.monitoring.v3.ServiceOrBuilder>( - getService(), - getParentForChildren(), - isClean()); + serviceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.Service, + com.google.monitoring.v3.Service.Builder, + com.google.monitoring.v3.ServiceOrBuilder>( + 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); } @@ -973,12 +1087,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.CreateServiceRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.CreateServiceRequest) private static final com.google.monitoring.v3.CreateServiceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.CreateServiceRequest(); } @@ -987,16 +1101,16 @@ public static com.google.monitoring.v3.CreateServiceRequest getDefaultInstance() 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 { - return new CreateServiceRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateServiceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1011,6 +1125,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.CreateServiceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceRequestOrBuilder.java similarity index 61% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceRequestOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceRequestOrBuilder.java index bb0da9e7..3af4f285 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateServiceRequestOrBuilder.java @@ -1,82 +1,123 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/service_service.proto package com.google.monitoring.v3; -public interface CreateServiceRequestOrBuilder extends +public interface CreateServiceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.CreateServiceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource [name](https://cloud.google.com/monitoring/api/v3#project_name) of
    * the parent workspace. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Resource [name](https://cloud.google.com/monitoring/api/v3#project_name) of
    * the parent workspace. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. The Service id to use for this Service. If omitted, an id will be
    * generated instead. Must match the pattern `[a-z0-9\-]+`
    * 
* * string service_id = 3; + * * @return The serviceId. */ java.lang.String getServiceId(); /** + * + * *
    * Optional. The Service id to use for this Service. If omitted, an id will be
    * generated instead. Must match the pattern `[a-z0-9\-]+`
    * 
* * string service_id = 3; + * * @return The bytes for serviceId. */ - com.google.protobuf.ByteString - getServiceIdBytes(); + com.google.protobuf.ByteString getServiceIdBytes(); /** + * + * *
    * Required. The `Service` to create.
    * 
* - * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the service field is set. */ boolean hasService(); /** + * + * *
    * Required. The `Service` to create.
    * 
* - * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The service. */ com.google.monitoring.v3.Service getService(); /** + * + * *
    * Required. The `Service` to create.
    * 
* - * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.monitoring.v3.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.monitoring.v3.ServiceOrBuilder getServiceOrBuilder(); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesError.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesError.java similarity index 66% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesError.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesError.java index 29d8cc30..49f254e8 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesError.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesError.java @@ -1,39 +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/monitoring/v3/metric_service.proto package com.google.monitoring.v3; /** + * + * *
  * DEPRECATED. Used to hold per-time-series error status.
  * 
* * Protobuf type {@code google.monitoring.v3.CreateTimeSeriesError} */ -public final class CreateTimeSeriesError extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateTimeSeriesError extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.CreateTimeSeriesError) CreateTimeSeriesErrorOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateTimeSeriesError.newBuilder() to construct. private CreateTimeSeriesError(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateTimeSeriesError() { - } + + private CreateTimeSeriesError() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateTimeSeriesError(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateTimeSeriesError( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,91 +68,109 @@ private CreateTimeSeriesError( case 0: done = true; break; - case 10: { - com.google.monitoring.v3.TimeSeries.Builder subBuilder = null; - if (timeSeries_ != null) { - subBuilder = timeSeries_.toBuilder(); - } - timeSeries_ = input.readMessage(com.google.monitoring.v3.TimeSeries.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timeSeries_); - timeSeries_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - com.google.rpc.Status.Builder subBuilder = null; - if (status_ != null) { - subBuilder = status_.toBuilder(); + case 10: + { + com.google.monitoring.v3.TimeSeries.Builder subBuilder = null; + if (timeSeries_ != null) { + subBuilder = timeSeries_.toBuilder(); + } + timeSeries_ = + input.readMessage( + com.google.monitoring.v3.TimeSeries.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timeSeries_); + timeSeries_ = subBuilder.buildPartial(); + } + + break; } - status_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(status_); - status_ = subBuilder.buildPartial(); + case 18: + { + com.google.rpc.Status.Builder subBuilder = null; + if (status_ != null) { + subBuilder = status_.toBuilder(); + } + status_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(status_); + status_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateTimeSeriesError_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_CreateTimeSeriesError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateTimeSeriesError_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_CreateTimeSeriesError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateTimeSeriesError.class, com.google.monitoring.v3.CreateTimeSeriesError.Builder.class); + com.google.monitoring.v3.CreateTimeSeriesError.class, + com.google.monitoring.v3.CreateTimeSeriesError.Builder.class); } public static final int TIME_SERIES_FIELD_NUMBER = 1; private com.google.monitoring.v3.TimeSeries timeSeries_; /** + * + * *
    * DEPRECATED. Time series ID that resulted in the `status` error.
    * 
* * .google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true]; + * * @return Whether the timeSeries field is set. */ @java.lang.Override - @java.lang.Deprecated public boolean hasTimeSeries() { + @java.lang.Deprecated + public boolean hasTimeSeries() { return timeSeries_ != null; } /** + * + * *
    * DEPRECATED. Time series ID that resulted in the `status` error.
    * 
* * .google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true]; + * * @return The timeSeries. */ @java.lang.Override - @java.lang.Deprecated public com.google.monitoring.v3.TimeSeries getTimeSeries() { - return timeSeries_ == null ? com.google.monitoring.v3.TimeSeries.getDefaultInstance() : timeSeries_; + @java.lang.Deprecated + public com.google.monitoring.v3.TimeSeries getTimeSeries() { + return timeSeries_ == null + ? com.google.monitoring.v3.TimeSeries.getDefaultInstance() + : timeSeries_; } /** + * + * *
    * DEPRECATED. Time series ID that resulted in the `status` error.
    * 
@@ -144,37 +178,48 @@ private CreateTimeSeriesError( * .google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder() { + @java.lang.Deprecated + public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder() { return getTimeSeries(); } public static final int STATUS_FIELD_NUMBER = 2; private com.google.rpc.Status status_; /** + * + * *
    * DEPRECATED. The status of the requested write operation for `time_series`.
    * 
* * .google.rpc.Status status = 2 [deprecated = true]; + * * @return Whether the status field is set. */ @java.lang.Override - @java.lang.Deprecated public boolean hasStatus() { + @java.lang.Deprecated + public boolean hasStatus() { return status_ != null; } /** + * + * *
    * DEPRECATED. The status of the requested write operation for `time_series`.
    * 
* * .google.rpc.Status status = 2 [deprecated = true]; + * * @return The status. */ @java.lang.Override - @java.lang.Deprecated public com.google.rpc.Status getStatus() { + @java.lang.Deprecated + public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** + * + * *
    * DEPRECATED. The status of the requested write operation for `time_series`.
    * 
@@ -182,11 +227,13 @@ private CreateTimeSeriesError( * .google.rpc.Status status = 2 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { + @java.lang.Deprecated + public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { return getStatus(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -198,8 +245,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (timeSeries_ != null) { output.writeMessage(1, getTimeSeries()); } @@ -216,12 +262,10 @@ public int getSerializedSize() { size = 0; if (timeSeries_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTimeSeries()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTimeSeries()); } if (status_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getStatus()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStatus()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -231,22 +275,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.monitoring.v3.CreateTimeSeriesError)) { return super.equals(obj); } - com.google.monitoring.v3.CreateTimeSeriesError other = (com.google.monitoring.v3.CreateTimeSeriesError) obj; + com.google.monitoring.v3.CreateTimeSeriesError other = + (com.google.monitoring.v3.CreateTimeSeriesError) obj; if (hasTimeSeries() != other.hasTimeSeries()) return false; if (hasTimeSeries()) { - if (!getTimeSeries() - .equals(other.getTimeSeries())) return false; + if (!getTimeSeries().equals(other.getTimeSeries())) return false; } if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { - if (!getStatus() - .equals(other.getStatus())) return false; + if (!getStatus().equals(other.getStatus())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -272,118 +315,127 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.CreateTimeSeriesError parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.CreateTimeSeriesError parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.CreateTimeSeriesError parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.CreateTimeSeriesError parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.CreateTimeSeriesError parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.CreateTimeSeriesError parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.CreateTimeSeriesError parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.CreateTimeSeriesError 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.monitoring.v3.CreateTimeSeriesError parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.CreateTimeSeriesError parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.CreateTimeSeriesError parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.CreateTimeSeriesError parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.CreateTimeSeriesError parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.CreateTimeSeriesError parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.CreateTimeSeriesError prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * DEPRECATED. Used to hold per-time-series error status.
    * 
* * Protobuf type {@code google.monitoring.v3.CreateTimeSeriesError} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.CreateTimeSeriesError) com.google.monitoring.v3.CreateTimeSeriesErrorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateTimeSeriesError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_CreateTimeSeriesError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateTimeSeriesError_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_CreateTimeSeriesError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateTimeSeriesError.class, com.google.monitoring.v3.CreateTimeSeriesError.Builder.class); + com.google.monitoring.v3.CreateTimeSeriesError.class, + com.google.monitoring.v3.CreateTimeSeriesError.Builder.class); } // Construct using com.google.monitoring.v3.CreateTimeSeriesError.newBuilder() @@ -391,16 +443,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -420,9 +471,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateTimeSeriesError_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_CreateTimeSeriesError_descriptor; } @java.lang.Override @@ -441,7 +492,8 @@ public com.google.monitoring.v3.CreateTimeSeriesError build() { @java.lang.Override public com.google.monitoring.v3.CreateTimeSeriesError buildPartial() { - com.google.monitoring.v3.CreateTimeSeriesError result = new com.google.monitoring.v3.CreateTimeSeriesError(this); + com.google.monitoring.v3.CreateTimeSeriesError result = + new com.google.monitoring.v3.CreateTimeSeriesError(this); if (timeSeriesBuilder_ == null) { result.timeSeries_ = timeSeries_; } else { @@ -460,38 +512,39 @@ public com.google.monitoring.v3.CreateTimeSeriesError 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.monitoring.v3.CreateTimeSeriesError) { - return mergeFrom((com.google.monitoring.v3.CreateTimeSeriesError)other); + return mergeFrom((com.google.monitoring.v3.CreateTimeSeriesError) other); } else { super.mergeFrom(other); return this; @@ -537,41 +590,57 @@ public Builder mergeFrom( private com.google.monitoring.v3.TimeSeries timeSeries_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TimeSeries, com.google.monitoring.v3.TimeSeries.Builder, com.google.monitoring.v3.TimeSeriesOrBuilder> timeSeriesBuilder_; + com.google.monitoring.v3.TimeSeries, + com.google.monitoring.v3.TimeSeries.Builder, + com.google.monitoring.v3.TimeSeriesOrBuilder> + timeSeriesBuilder_; /** + * + * *
      * DEPRECATED. Time series ID that resulted in the `status` error.
      * 
* * .google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true]; + * * @return Whether the timeSeries field is set. */ - @java.lang.Deprecated public boolean hasTimeSeries() { + @java.lang.Deprecated + public boolean hasTimeSeries() { return timeSeriesBuilder_ != null || timeSeries_ != null; } /** + * + * *
      * DEPRECATED. Time series ID that resulted in the `status` error.
      * 
* * .google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true]; + * * @return The timeSeries. */ - @java.lang.Deprecated public com.google.monitoring.v3.TimeSeries getTimeSeries() { + @java.lang.Deprecated + public com.google.monitoring.v3.TimeSeries getTimeSeries() { if (timeSeriesBuilder_ == null) { - return timeSeries_ == null ? com.google.monitoring.v3.TimeSeries.getDefaultInstance() : timeSeries_; + return timeSeries_ == null + ? com.google.monitoring.v3.TimeSeries.getDefaultInstance() + : timeSeries_; } else { return timeSeriesBuilder_.getMessage(); } } /** + * + * *
      * DEPRECATED. Time series ID that resulted in the `status` error.
      * 
* * .google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true]; */ - @java.lang.Deprecated public Builder setTimeSeries(com.google.monitoring.v3.TimeSeries value) { + @java.lang.Deprecated + public Builder setTimeSeries(com.google.monitoring.v3.TimeSeries value) { if (timeSeriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -585,14 +654,16 @@ public Builder mergeFrom( return this; } /** + * + * *
      * DEPRECATED. Time series ID that resulted in the `status` error.
      * 
* * .google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true]; */ - @java.lang.Deprecated public Builder setTimeSeries( - com.google.monitoring.v3.TimeSeries.Builder builderForValue) { + @java.lang.Deprecated + public Builder setTimeSeries(com.google.monitoring.v3.TimeSeries.Builder builderForValue) { if (timeSeriesBuilder_ == null) { timeSeries_ = builderForValue.build(); onChanged(); @@ -603,17 +674,22 @@ public Builder mergeFrom( return this; } /** + * + * *
      * DEPRECATED. Time series ID that resulted in the `status` error.
      * 
* * .google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true]; */ - @java.lang.Deprecated public Builder mergeTimeSeries(com.google.monitoring.v3.TimeSeries value) { + @java.lang.Deprecated + public Builder mergeTimeSeries(com.google.monitoring.v3.TimeSeries value) { if (timeSeriesBuilder_ == null) { if (timeSeries_ != null) { timeSeries_ = - com.google.monitoring.v3.TimeSeries.newBuilder(timeSeries_).mergeFrom(value).buildPartial(); + com.google.monitoring.v3.TimeSeries.newBuilder(timeSeries_) + .mergeFrom(value) + .buildPartial(); } else { timeSeries_ = value; } @@ -625,13 +701,16 @@ public Builder mergeFrom( return this; } /** + * + * *
      * DEPRECATED. Time series ID that resulted in the `status` error.
      * 
* * .google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true]; */ - @java.lang.Deprecated public Builder clearTimeSeries() { + @java.lang.Deprecated + public Builder clearTimeSeries() { if (timeSeriesBuilder_ == null) { timeSeries_ = null; onChanged(); @@ -643,33 +722,42 @@ public Builder mergeFrom( return this; } /** + * + * *
      * DEPRECATED. Time series ID that resulted in the `status` error.
      * 
* * .google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true]; */ - @java.lang.Deprecated public com.google.monitoring.v3.TimeSeries.Builder getTimeSeriesBuilder() { - + @java.lang.Deprecated + public com.google.monitoring.v3.TimeSeries.Builder getTimeSeriesBuilder() { + onChanged(); return getTimeSeriesFieldBuilder().getBuilder(); } /** + * + * *
      * DEPRECATED. Time series ID that resulted in the `status` error.
      * 
* * .google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true]; */ - @java.lang.Deprecated public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder() { + @java.lang.Deprecated + public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder() { if (timeSeriesBuilder_ != null) { return timeSeriesBuilder_.getMessageOrBuilder(); } else { - return timeSeries_ == null ? - com.google.monitoring.v3.TimeSeries.getDefaultInstance() : timeSeries_; + return timeSeries_ == null + ? com.google.monitoring.v3.TimeSeries.getDefaultInstance() + : timeSeries_; } } /** + * + * *
      * DEPRECATED. Time series ID that resulted in the `status` error.
      * 
@@ -677,14 +765,17 @@ public Builder mergeFrom( * .google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TimeSeries, com.google.monitoring.v3.TimeSeries.Builder, com.google.monitoring.v3.TimeSeriesOrBuilder> + com.google.monitoring.v3.TimeSeries, + com.google.monitoring.v3.TimeSeries.Builder, + com.google.monitoring.v3.TimeSeriesOrBuilder> getTimeSeriesFieldBuilder() { if (timeSeriesBuilder_ == null) { - timeSeriesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TimeSeries, com.google.monitoring.v3.TimeSeries.Builder, com.google.monitoring.v3.TimeSeriesOrBuilder>( - getTimeSeries(), - getParentForChildren(), - isClean()); + timeSeriesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.TimeSeries, + com.google.monitoring.v3.TimeSeries.Builder, + com.google.monitoring.v3.TimeSeriesOrBuilder>( + getTimeSeries(), getParentForChildren(), isClean()); timeSeries_ = null; } return timeSeriesBuilder_; @@ -692,27 +783,36 @@ public Builder mergeFrom( private com.google.rpc.Status status_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + statusBuilder_; /** + * + * *
      * DEPRECATED. The status of the requested write operation for `time_series`.
      * 
* * .google.rpc.Status status = 2 [deprecated = true]; + * * @return Whether the status field is set. */ - @java.lang.Deprecated public boolean hasStatus() { + @java.lang.Deprecated + public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** + * + * *
      * DEPRECATED. The status of the requested write operation for `time_series`.
      * 
* * .google.rpc.Status status = 2 [deprecated = true]; + * * @return The status. */ - @java.lang.Deprecated public com.google.rpc.Status getStatus() { + @java.lang.Deprecated + public com.google.rpc.Status getStatus() { if (statusBuilder_ == null) { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } else { @@ -720,13 +820,16 @@ public Builder mergeFrom( } } /** + * + * *
      * DEPRECATED. The status of the requested write operation for `time_series`.
      * 
* * .google.rpc.Status status = 2 [deprecated = true]; */ - @java.lang.Deprecated public Builder setStatus(com.google.rpc.Status value) { + @java.lang.Deprecated + public Builder setStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -740,14 +843,16 @@ public Builder mergeFrom( return this; } /** + * + * *
      * DEPRECATED. The status of the requested write operation for `time_series`.
      * 
* * .google.rpc.Status status = 2 [deprecated = true]; */ - @java.lang.Deprecated public Builder setStatus( - com.google.rpc.Status.Builder builderForValue) { + @java.lang.Deprecated + public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); @@ -758,17 +863,19 @@ public Builder mergeFrom( return this; } /** + * + * *
      * DEPRECATED. The status of the requested write operation for `time_series`.
      * 
* * .google.rpc.Status status = 2 [deprecated = true]; */ - @java.lang.Deprecated public Builder mergeStatus(com.google.rpc.Status value) { + @java.lang.Deprecated + public Builder mergeStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { if (status_ != null) { - status_ = - com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial(); + status_ = com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } @@ -780,13 +887,16 @@ public Builder mergeFrom( return this; } /** + * + * *
      * DEPRECATED. The status of the requested write operation for `time_series`.
      * 
* * .google.rpc.Status status = 2 [deprecated = true]; */ - @java.lang.Deprecated public Builder clearStatus() { + @java.lang.Deprecated + public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); @@ -798,33 +908,40 @@ public Builder mergeFrom( return this; } /** + * + * *
      * DEPRECATED. The status of the requested write operation for `time_series`.
      * 
* * .google.rpc.Status status = 2 [deprecated = true]; */ - @java.lang.Deprecated public com.google.rpc.Status.Builder getStatusBuilder() { - + @java.lang.Deprecated + public com.google.rpc.Status.Builder getStatusBuilder() { + onChanged(); return getStatusFieldBuilder().getBuilder(); } /** + * + * *
      * DEPRECATED. The status of the requested write operation for `time_series`.
      * 
* * .google.rpc.Status status = 2 [deprecated = true]; */ - @java.lang.Deprecated public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { + @java.lang.Deprecated + public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { - return status_ == null ? - com.google.rpc.Status.getDefaultInstance() : status_; + return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } } /** + * + * *
      * DEPRECATED. The status of the requested write operation for `time_series`.
      * 
@@ -832,21 +949,21 @@ public Builder mergeFrom( * .google.rpc.Status status = 2 [deprecated = true]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { - statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( - getStatus(), - getParentForChildren(), - isClean()); + statusBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, + com.google.rpc.Status.Builder, + com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; } + @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); } @@ -856,12 +973,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.CreateTimeSeriesError) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.CreateTimeSeriesError) private static final com.google.monitoring.v3.CreateTimeSeriesError DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.CreateTimeSeriesError(); } @@ -870,16 +987,16 @@ public static com.google.monitoring.v3.CreateTimeSeriesError getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTimeSeriesError parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTimeSeriesError(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTimeSeriesError parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTimeSeriesError(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -894,6 +1011,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.CreateTimeSeriesError getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesErrorOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesErrorOrBuilder.java similarity index 58% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesErrorOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesErrorOrBuilder.java index 701e58f3..ec6e99f9 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesErrorOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesErrorOrBuilder.java @@ -1,63 +1,101 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric_service.proto package com.google.monitoring.v3; -public interface CreateTimeSeriesErrorOrBuilder extends +public interface CreateTimeSeriesErrorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.CreateTimeSeriesError) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * DEPRECATED. Time series ID that resulted in the `status` error.
    * 
* * .google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true]; + * * @return Whether the timeSeries field is set. */ - @java.lang.Deprecated boolean hasTimeSeries(); + @java.lang.Deprecated + boolean hasTimeSeries(); /** + * + * *
    * DEPRECATED. Time series ID that resulted in the `status` error.
    * 
* * .google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true]; + * * @return The timeSeries. */ - @java.lang.Deprecated com.google.monitoring.v3.TimeSeries getTimeSeries(); + @java.lang.Deprecated + com.google.monitoring.v3.TimeSeries getTimeSeries(); /** + * + * *
    * DEPRECATED. Time series ID that resulted in the `status` error.
    * 
* * .google.monitoring.v3.TimeSeries time_series = 1 [deprecated = true]; */ - @java.lang.Deprecated com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder(); + @java.lang.Deprecated + com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder(); /** + * + * *
    * DEPRECATED. The status of the requested write operation for `time_series`.
    * 
* * .google.rpc.Status status = 2 [deprecated = true]; + * * @return Whether the status field is set. */ - @java.lang.Deprecated boolean hasStatus(); + @java.lang.Deprecated + boolean hasStatus(); /** + * + * *
    * DEPRECATED. The status of the requested write operation for `time_series`.
    * 
* * .google.rpc.Status status = 2 [deprecated = true]; + * * @return The status. */ - @java.lang.Deprecated com.google.rpc.Status getStatus(); + @java.lang.Deprecated + com.google.rpc.Status getStatus(); /** + * + * *
    * DEPRECATED. The status of the requested write operation for `time_series`.
    * 
* * .google.rpc.Status status = 2 [deprecated = true]; */ - @java.lang.Deprecated com.google.rpc.StatusOrBuilder getStatusOrBuilder(); + @java.lang.Deprecated + com.google.rpc.StatusOrBuilder getStatusOrBuilder(); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesRequest.java similarity index 71% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesRequest.java index 0fe3a88d..eade8c64 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `CreateTimeSeries` request.
  * 
* * Protobuf type {@code google.monitoring.v3.CreateTimeSeriesRequest} */ -public final class CreateTimeSeriesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateTimeSeriesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.CreateTimeSeriesRequest) CreateTimeSeriesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateTimeSeriesRequest.newBuilder() to construct. private CreateTimeSeriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateTimeSeriesRequest() { name_ = ""; timeSeries_ = java.util.Collections.emptyList(); @@ -26,16 +44,15 @@ private CreateTimeSeriesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateTimeSeriesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateTimeSeriesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,35 +72,37 @@ private CreateTimeSeriesRequest( case 0: done = true; break; - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - timeSeries_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + timeSeries_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + timeSeries_.add( + input.readMessage( + com.google.monitoring.v3.TimeSeries.parser(), extensionRegistry)); + break; } - timeSeries_.add( - input.readMessage(com.google.monitoring.v3.TimeSeries.parser(), extensionRegistry)); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { timeSeries_ = java.util.Collections.unmodifiableList(timeSeries_); @@ -92,29 +111,37 @@ private CreateTimeSeriesRequest( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateTimeSeriesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_CreateTimeSeriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateTimeSeriesRequest_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_CreateTimeSeriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateTimeSeriesRequest.class, com.google.monitoring.v3.CreateTimeSeriesRequest.Builder.class); + com.google.monitoring.v3.CreateTimeSeriesRequest.class, + com.google.monitoring.v3.CreateTimeSeriesRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -123,31 +150,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -158,6 +187,8 @@ public java.lang.String getName() { public static final int TIME_SERIES_FIELD_NUMBER = 2; private java.util.List timeSeries_; /** + * + * *
    * Required. The new data to be added to a list of time series.
    * Adds at most one data point to each of several time series.  The new data
@@ -167,13 +198,17 @@ public java.lang.String getName() {
    * The maximum number of `TimeSeries` objects per `Create` request is 200.
    * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public java.util.List getTimeSeriesList() { return timeSeries_; } /** + * + * *
    * Required. The new data to be added to a list of time series.
    * Adds at most one data point to each of several time series.  The new data
@@ -183,14 +218,18 @@ public java.util.List getTimeSeriesList() {
    * The maximum number of `TimeSeries` objects per `Create` request is 200.
    * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getTimeSeriesOrBuilderList() { return timeSeries_; } /** + * + * *
    * Required. The new data to be added to a list of time series.
    * Adds at most one data point to each of several time series.  The new data
@@ -200,13 +239,17 @@ public java.util.List getTimeSeriesList() {
    * The maximum number of `TimeSeries` objects per `Create` request is 200.
    * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getTimeSeriesCount() { return timeSeries_.size(); } /** + * + * *
    * Required. The new data to be added to a list of time series.
    * Adds at most one data point to each of several time series.  The new data
@@ -216,13 +259,17 @@ public int getTimeSeriesCount() {
    * The maximum number of `TimeSeries` objects per `Create` request is 200.
    * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.monitoring.v3.TimeSeries getTimeSeries(int index) { return timeSeries_.get(index); } /** + * + * *
    * Required. The new data to be added to a list of time series.
    * Adds at most one data point to each of several time series.  The new data
@@ -232,15 +279,17 @@ public com.google.monitoring.v3.TimeSeries getTimeSeries(int index) {
    * The maximum number of `TimeSeries` objects per `Create` request is 200.
    * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder( - int index) { + public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder(int index) { return timeSeries_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -252,8 +301,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < timeSeries_.size(); i++) { output.writeMessage(2, timeSeries_.get(i)); } @@ -270,8 +318,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < timeSeries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, timeSeries_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, timeSeries_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); @@ -284,17 +331,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.CreateTimeSeriesRequest)) { return super.equals(obj); } - com.google.monitoring.v3.CreateTimeSeriesRequest other = (com.google.monitoring.v3.CreateTimeSeriesRequest) obj; + com.google.monitoring.v3.CreateTimeSeriesRequest other = + (com.google.monitoring.v3.CreateTimeSeriesRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getTimeSeriesList() - .equals(other.getTimeSeriesList())) return false; + if (!getName().equals(other.getName())) return false; + if (!getTimeSeriesList().equals(other.getTimeSeriesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -317,118 +363,127 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.CreateTimeSeriesRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.CreateTimeSeriesRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.CreateTimeSeriesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.CreateTimeSeriesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.CreateTimeSeriesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.CreateTimeSeriesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.CreateTimeSeriesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.CreateTimeSeriesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.CreateTimeSeriesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.CreateTimeSeriesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.CreateTimeSeriesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.CreateTimeSeriesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.CreateTimeSeriesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.CreateTimeSeriesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.CreateTimeSeriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.CreateTimeSeriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 `CreateTimeSeries` request.
    * 
* * Protobuf type {@code google.monitoring.v3.CreateTimeSeriesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.CreateTimeSeriesRequest) com.google.monitoring.v3.CreateTimeSeriesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateTimeSeriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_CreateTimeSeriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateTimeSeriesRequest_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_CreateTimeSeriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateTimeSeriesRequest.class, com.google.monitoring.v3.CreateTimeSeriesRequest.Builder.class); + com.google.monitoring.v3.CreateTimeSeriesRequest.class, + com.google.monitoring.v3.CreateTimeSeriesRequest.Builder.class); } // Construct using com.google.monitoring.v3.CreateTimeSeriesRequest.newBuilder() @@ -436,17 +491,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getTimeSeriesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -462,9 +517,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateTimeSeriesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_CreateTimeSeriesRequest_descriptor; } @java.lang.Override @@ -483,7 +538,8 @@ public com.google.monitoring.v3.CreateTimeSeriesRequest build() { @java.lang.Override public com.google.monitoring.v3.CreateTimeSeriesRequest buildPartial() { - com.google.monitoring.v3.CreateTimeSeriesRequest result = new com.google.monitoring.v3.CreateTimeSeriesRequest(this); + com.google.monitoring.v3.CreateTimeSeriesRequest result = + new com.google.monitoring.v3.CreateTimeSeriesRequest(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (timeSeriesBuilder_ == null) { @@ -503,38 +559,39 @@ public com.google.monitoring.v3.CreateTimeSeriesRequest 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.monitoring.v3.CreateTimeSeriesRequest) { - return mergeFrom((com.google.monitoring.v3.CreateTimeSeriesRequest)other); + return mergeFrom((com.google.monitoring.v3.CreateTimeSeriesRequest) other); } else { super.mergeFrom(other); return this; @@ -542,7 +599,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.CreateTimeSeriesRequest other) { - if (other == com.google.monitoring.v3.CreateTimeSeriesRequest.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.CreateTimeSeriesRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -565,9 +623,10 @@ public Builder mergeFrom(com.google.monitoring.v3.CreateTimeSeriesRequest other) timeSeriesBuilder_ = null; timeSeries_ = other.timeSeries_; bitField0_ = (bitField0_ & ~0x00000001); - timeSeriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTimeSeriesFieldBuilder() : null; + timeSeriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTimeSeriesFieldBuilder() + : null; } else { timeSeriesBuilder_.addAllMessages(other.timeSeries_); } @@ -601,24 +660,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -627,22 +691,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -650,78 +717,97 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } private java.util.List timeSeries_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTimeSeriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { timeSeries_ = new java.util.ArrayList(timeSeries_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.TimeSeries, com.google.monitoring.v3.TimeSeries.Builder, com.google.monitoring.v3.TimeSeriesOrBuilder> timeSeriesBuilder_; + com.google.monitoring.v3.TimeSeries, + com.google.monitoring.v3.TimeSeries.Builder, + com.google.monitoring.v3.TimeSeriesOrBuilder> + timeSeriesBuilder_; /** + * + * *
      * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
@@ -731,7 +817,9 @@ private void ensureTimeSeriesIsMutable() {
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getTimeSeriesList() { if (timeSeriesBuilder_ == null) { @@ -741,6 +829,8 @@ public java.util.List getTimeSeriesList() { } } /** + * + * *
      * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
@@ -750,7 +840,9 @@ public java.util.List getTimeSeriesList() {
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getTimeSeriesCount() { if (timeSeriesBuilder_ == null) { @@ -760,6 +852,8 @@ public int getTimeSeriesCount() { } } /** + * + * *
      * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
@@ -769,7 +863,9 @@ public int getTimeSeriesCount() {
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.TimeSeries getTimeSeries(int index) { if (timeSeriesBuilder_ == null) { @@ -779,6 +875,8 @@ public com.google.monitoring.v3.TimeSeries getTimeSeries(int index) { } } /** + * + * *
      * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
@@ -788,10 +886,11 @@ public com.google.monitoring.v3.TimeSeries getTimeSeries(int index) {
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTimeSeries( - int index, com.google.monitoring.v3.TimeSeries value) { + public Builder setTimeSeries(int index, com.google.monitoring.v3.TimeSeries value) { if (timeSeriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -805,6 +904,8 @@ public Builder setTimeSeries( return this; } /** + * + * *
      * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
@@ -814,7 +915,9 @@ public Builder setTimeSeries(
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTimeSeries( int index, com.google.monitoring.v3.TimeSeries.Builder builderForValue) { @@ -828,6 +931,8 @@ public Builder setTimeSeries( return this; } /** + * + * *
      * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
@@ -837,7 +942,9 @@ public Builder setTimeSeries(
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addTimeSeries(com.google.monitoring.v3.TimeSeries value) { if (timeSeriesBuilder_ == null) { @@ -853,6 +960,8 @@ public Builder addTimeSeries(com.google.monitoring.v3.TimeSeries value) { return this; } /** + * + * *
      * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
@@ -862,10 +971,11 @@ public Builder addTimeSeries(com.google.monitoring.v3.TimeSeries value) {
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addTimeSeries( - int index, com.google.monitoring.v3.TimeSeries value) { + public Builder addTimeSeries(int index, com.google.monitoring.v3.TimeSeries value) { if (timeSeriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -879,6 +989,8 @@ public Builder addTimeSeries( return this; } /** + * + * *
      * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
@@ -888,10 +1000,11 @@ public Builder addTimeSeries(
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addTimeSeries( - com.google.monitoring.v3.TimeSeries.Builder builderForValue) { + public Builder addTimeSeries(com.google.monitoring.v3.TimeSeries.Builder builderForValue) { if (timeSeriesBuilder_ == null) { ensureTimeSeriesIsMutable(); timeSeries_.add(builderForValue.build()); @@ -902,6 +1015,8 @@ public Builder addTimeSeries( return this; } /** + * + * *
      * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
@@ -911,7 +1026,9 @@ public Builder addTimeSeries(
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addTimeSeries( int index, com.google.monitoring.v3.TimeSeries.Builder builderForValue) { @@ -925,6 +1042,8 @@ public Builder addTimeSeries( return this; } /** + * + * *
      * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
@@ -934,14 +1053,15 @@ public Builder addTimeSeries(
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllTimeSeries( java.lang.Iterable values) { if (timeSeriesBuilder_ == null) { ensureTimeSeriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, timeSeries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, timeSeries_); onChanged(); } else { timeSeriesBuilder_.addAllMessages(values); @@ -949,6 +1069,8 @@ public Builder addAllTimeSeries( return this; } /** + * + * *
      * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
@@ -958,7 +1080,9 @@ public Builder addAllTimeSeries(
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTimeSeries() { if (timeSeriesBuilder_ == null) { @@ -971,6 +1095,8 @@ public Builder clearTimeSeries() { return this; } /** + * + * *
      * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
@@ -980,7 +1106,9 @@ public Builder clearTimeSeries() {
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeTimeSeries(int index) { if (timeSeriesBuilder_ == null) { @@ -993,6 +1121,8 @@ public Builder removeTimeSeries(int index) { return this; } /** + * + * *
      * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
@@ -1002,13 +1132,16 @@ public Builder removeTimeSeries(int index) {
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.monitoring.v3.TimeSeries.Builder getTimeSeriesBuilder( - int index) { + public com.google.monitoring.v3.TimeSeries.Builder getTimeSeriesBuilder(int index) { return getTimeSeriesFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
@@ -1018,16 +1151,20 @@ public com.google.monitoring.v3.TimeSeries.Builder getTimeSeriesBuilder(
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder( - int index) { + public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder(int index) { if (timeSeriesBuilder_ == null) { - return timeSeries_.get(index); } else { + return timeSeries_.get(index); + } else { return timeSeriesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
@@ -1037,10 +1174,12 @@ public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder(
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getTimeSeriesOrBuilderList() { + public java.util.List + getTimeSeriesOrBuilderList() { if (timeSeriesBuilder_ != null) { return timeSeriesBuilder_.getMessageOrBuilderList(); } else { @@ -1048,6 +1187,8 @@ public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder( } } /** + * + * *
      * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
@@ -1057,13 +1198,17 @@ public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder(
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.TimeSeries.Builder addTimeSeriesBuilder() { - return getTimeSeriesFieldBuilder().addBuilder( - com.google.monitoring.v3.TimeSeries.getDefaultInstance()); + return getTimeSeriesFieldBuilder() + .addBuilder(com.google.monitoring.v3.TimeSeries.getDefaultInstance()); } /** + * + * *
      * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
@@ -1073,14 +1218,17 @@ public com.google.monitoring.v3.TimeSeries.Builder addTimeSeriesBuilder() {
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.monitoring.v3.TimeSeries.Builder addTimeSeriesBuilder( - int index) { - return getTimeSeriesFieldBuilder().addBuilder( - index, com.google.monitoring.v3.TimeSeries.getDefaultInstance()); + public com.google.monitoring.v3.TimeSeries.Builder addTimeSeriesBuilder(int index) { + return getTimeSeriesFieldBuilder() + .addBuilder(index, com.google.monitoring.v3.TimeSeries.getDefaultInstance()); } /** + * + * *
      * Required. The new data to be added to a list of time series.
      * Adds at most one data point to each of several time series.  The new data
@@ -1090,29 +1238,33 @@ public com.google.monitoring.v3.TimeSeries.Builder addTimeSeriesBuilder(
      * The maximum number of `TimeSeries` objects per `Create` request is 200.
      * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getTimeSeriesBuilderList() { + public java.util.List getTimeSeriesBuilderList() { return getTimeSeriesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.TimeSeries, com.google.monitoring.v3.TimeSeries.Builder, com.google.monitoring.v3.TimeSeriesOrBuilder> + com.google.monitoring.v3.TimeSeries, + com.google.monitoring.v3.TimeSeries.Builder, + com.google.monitoring.v3.TimeSeriesOrBuilder> getTimeSeriesFieldBuilder() { if (timeSeriesBuilder_ == null) { - timeSeriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.TimeSeries, com.google.monitoring.v3.TimeSeries.Builder, com.google.monitoring.v3.TimeSeriesOrBuilder>( - timeSeries_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + timeSeriesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.monitoring.v3.TimeSeries, + com.google.monitoring.v3.TimeSeries.Builder, + com.google.monitoring.v3.TimeSeriesOrBuilder>( + timeSeries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); timeSeries_ = null; } return timeSeriesBuilder_; } + @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); } @@ -1122,12 +1274,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.CreateTimeSeriesRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.CreateTimeSeriesRequest) private static final com.google.monitoring.v3.CreateTimeSeriesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.CreateTimeSeriesRequest(); } @@ -1136,16 +1288,16 @@ public static com.google.monitoring.v3.CreateTimeSeriesRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTimeSeriesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTimeSeriesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTimeSeriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTimeSeriesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1160,6 +1312,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.CreateTimeSeriesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesRequestOrBuilder.java similarity index 65% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesRequestOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesRequestOrBuilder.java index 6199890b..d06e8642 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesRequestOrBuilder.java @@ -1,37 +1,64 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric_service.proto package com.google.monitoring.v3; -public interface CreateTimeSeriesRequestOrBuilder extends +public interface CreateTimeSeriesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.CreateTimeSeriesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The new data to be added to a list of time series.
    * Adds at most one data point to each of several time series.  The new data
@@ -41,11 +68,14 @@ public interface CreateTimeSeriesRequestOrBuilder extends
    * The maximum number of `TimeSeries` objects per `Create` request is 200.
    * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getTimeSeriesList(); + java.util.List getTimeSeriesList(); /** + * + * *
    * Required. The new data to be added to a list of time series.
    * Adds at most one data point to each of several time series.  The new data
@@ -55,10 +85,14 @@ public interface CreateTimeSeriesRequestOrBuilder extends
    * The maximum number of `TimeSeries` objects per `Create` request is 200.
    * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.monitoring.v3.TimeSeries getTimeSeries(int index); /** + * + * *
    * Required. The new data to be added to a list of time series.
    * Adds at most one data point to each of several time series.  The new data
@@ -68,10 +102,14 @@ public interface CreateTimeSeriesRequestOrBuilder extends
    * The maximum number of `TimeSeries` objects per `Create` request is 200.
    * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ int getTimeSeriesCount(); /** + * + * *
    * Required. The new data to be added to a list of time series.
    * Adds at most one data point to each of several time series.  The new data
@@ -81,11 +119,15 @@ public interface CreateTimeSeriesRequestOrBuilder extends
    * The maximum number of `TimeSeries` objects per `Create` request is 200.
    * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List getTimeSeriesOrBuilderList(); /** + * + * *
    * Required. The new data to be added to a list of time series.
    * Adds at most one data point to each of several time series.  The new data
@@ -95,8 +137,9 @@ public interface CreateTimeSeriesRequestOrBuilder extends
    * The maximum number of `TimeSeries` objects per `Create` request is 200.
    * 
* - * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.monitoring.v3.TimeSeries time_series = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder( - int index); + com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder(int index); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesSummary.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesSummary.java similarity index 75% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesSummary.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesSummary.java index d8c2d989..e4d20609 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesSummary.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesSummary.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric_service.proto package com.google.monitoring.v3; /** + * + * *
  * Summary of the result of a failed request to write data to a time series.
  * 
* * Protobuf type {@code google.monitoring.v3.CreateTimeSeriesSummary} */ -public final class CreateTimeSeriesSummary extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateTimeSeriesSummary extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.CreateTimeSeriesSummary) CreateTimeSeriesSummaryOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateTimeSeriesSummary.newBuilder() to construct. private CreateTimeSeriesSummary(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateTimeSeriesSummary() { errors_ = 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 CreateTimeSeriesSummary(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateTimeSeriesSummary( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,39 +71,43 @@ private CreateTimeSeriesSummary( case 0: done = true; break; - case 8: { - - totalPointCount_ = input.readInt32(); - break; - } - case 16: { - - successPointCount_ = input.readInt32(); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - errors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 8: + { + totalPointCount_ = input.readInt32(); + break; } - errors_.add( - input.readMessage(com.google.monitoring.v3.CreateTimeSeriesSummary.Error.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 16: + { + successPointCount_ = input.readInt32(); + break; + } + case 26: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + errors_ = + new java.util.ArrayList< + com.google.monitoring.v3.CreateTimeSeriesSummary.Error>(); + mutable_bitField0_ |= 0x00000001; + } + errors_.add( + input.readMessage( + com.google.monitoring.v3.CreateTimeSeriesSummary.Error.parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { errors_ = java.util.Collections.unmodifiableList(errors_); @@ -95,42 +116,54 @@ private CreateTimeSeriesSummary( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateTimeSeriesSummary_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_CreateTimeSeriesSummary_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateTimeSeriesSummary_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_CreateTimeSeriesSummary_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateTimeSeriesSummary.class, com.google.monitoring.v3.CreateTimeSeriesSummary.Builder.class); + com.google.monitoring.v3.CreateTimeSeriesSummary.class, + com.google.monitoring.v3.CreateTimeSeriesSummary.Builder.class); } - public interface ErrorOrBuilder extends + public interface ErrorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.CreateTimeSeriesSummary.Error) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The status of the requested write operation.
      * 
* * .google.rpc.Status status = 1; + * * @return Whether the status field is set. */ boolean hasStatus(); /** + * + * *
      * The status of the requested write operation.
      * 
* * .google.rpc.Status status = 1; + * * @return The status. */ com.google.rpc.Status getStatus(); /** + * + * *
      * The status of the requested write operation.
      * 
@@ -140,46 +173,50 @@ public interface ErrorOrBuilder extends com.google.rpc.StatusOrBuilder getStatusOrBuilder(); /** + * + * *
      * The number of points that couldn't be written because of `status`.
      * 
* * int32 point_count = 2; + * * @return The pointCount. */ int getPointCount(); } /** + * + * *
    * Detailed information about an error category.
    * 
* * Protobuf type {@code google.monitoring.v3.CreateTimeSeriesSummary.Error} */ - public static final class Error extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Error extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.CreateTimeSeriesSummary.Error) ErrorOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Error.newBuilder() to construct. private Error(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Error() { - } + + private Error() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Error(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Error( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -198,64 +235,70 @@ private Error( case 0: done = true; break; - case 10: { - com.google.rpc.Status.Builder subBuilder = null; - if (status_ != null) { - subBuilder = status_.toBuilder(); + case 10: + { + com.google.rpc.Status.Builder subBuilder = null; + if (status_ != null) { + subBuilder = status_.toBuilder(); + } + status_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(status_); + status_ = subBuilder.buildPartial(); + } + + break; } - status_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(status_); - status_ = subBuilder.buildPartial(); + case 16: + { + pointCount_ = input.readInt32(); + break; } - - break; - } - case 16: { - - pointCount_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateTimeSeriesSummary_Error_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_CreateTimeSeriesSummary_Error_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateTimeSeriesSummary_Error_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_CreateTimeSeriesSummary_Error_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateTimeSeriesSummary.Error.class, com.google.monitoring.v3.CreateTimeSeriesSummary.Error.Builder.class); + com.google.monitoring.v3.CreateTimeSeriesSummary.Error.class, + com.google.monitoring.v3.CreateTimeSeriesSummary.Error.Builder.class); } public static final int STATUS_FIELD_NUMBER = 1; private com.google.rpc.Status status_; /** + * + * *
      * The status of the requested write operation.
      * 
* * .google.rpc.Status status = 1; + * * @return Whether the status field is set. */ @java.lang.Override @@ -263,11 +306,14 @@ public boolean hasStatus() { return status_ != null; } /** + * + * *
      * The status of the requested write operation.
      * 
* * .google.rpc.Status status = 1; + * * @return The status. */ @java.lang.Override @@ -275,6 +321,8 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** + * + * *
      * The status of the requested write operation.
      * 
@@ -289,11 +337,14 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { public static final int POINT_COUNT_FIELD_NUMBER = 2; private int pointCount_; /** + * + * *
      * The number of points that couldn't be written because of `status`.
      * 
* * int32 point_count = 2; + * * @return The pointCount. */ @java.lang.Override @@ -302,6 +353,7 @@ public int getPointCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -313,8 +365,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (status_ != null) { output.writeMessage(1, getStatus()); } @@ -331,12 +382,10 @@ public int getSerializedSize() { size = 0; if (status_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getStatus()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStatus()); } if (pointCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pointCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pointCount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -346,20 +395,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.monitoring.v3.CreateTimeSeriesSummary.Error)) { return super.equals(obj); } - com.google.monitoring.v3.CreateTimeSeriesSummary.Error other = (com.google.monitoring.v3.CreateTimeSeriesSummary.Error) obj; + com.google.monitoring.v3.CreateTimeSeriesSummary.Error other = + (com.google.monitoring.v3.CreateTimeSeriesSummary.Error) obj; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { - if (!getStatus() - .equals(other.getStatus())) return false; + if (!getStatus().equals(other.getStatus())) return false; } - if (getPointCount() - != other.getPointCount()) return false; + if (getPointCount() != other.getPointCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -383,87 +431,94 @@ public int hashCode() { } public static com.google.monitoring.v3.CreateTimeSeriesSummary.Error parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.CreateTimeSeriesSummary.Error parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.CreateTimeSeriesSummary.Error parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.CreateTimeSeriesSummary.Error parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.CreateTimeSeriesSummary.Error parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.CreateTimeSeriesSummary.Error parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.CreateTimeSeriesSummary.Error parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.CreateTimeSeriesSummary.Error parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.CreateTimeSeriesSummary.Error parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.CreateTimeSeriesSummary.Error parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.CreateTimeSeriesSummary.Error parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.CreateTimeSeriesSummary.Error parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.CreateTimeSeriesSummary.Error parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.CreateTimeSeriesSummary.Error parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.CreateTimeSeriesSummary.Error prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.CreateTimeSeriesSummary.Error prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -473,27 +528,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Detailed information about an error category.
      * 
* * Protobuf type {@code google.monitoring.v3.CreateTimeSeriesSummary.Error} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.CreateTimeSeriesSummary.Error) com.google.monitoring.v3.CreateTimeSeriesSummary.ErrorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateTimeSeriesSummary_Error_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_CreateTimeSeriesSummary_Error_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateTimeSeriesSummary_Error_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_CreateTimeSeriesSummary_Error_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateTimeSeriesSummary.Error.class, com.google.monitoring.v3.CreateTimeSeriesSummary.Error.Builder.class); + com.google.monitoring.v3.CreateTimeSeriesSummary.Error.class, + com.google.monitoring.v3.CreateTimeSeriesSummary.Error.Builder.class); } // Construct using com.google.monitoring.v3.CreateTimeSeriesSummary.Error.newBuilder() @@ -501,16 +561,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -526,9 +585,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateTimeSeriesSummary_Error_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_CreateTimeSeriesSummary_Error_descriptor; } @java.lang.Override @@ -547,7 +606,8 @@ public com.google.monitoring.v3.CreateTimeSeriesSummary.Error build() { @java.lang.Override public com.google.monitoring.v3.CreateTimeSeriesSummary.Error buildPartial() { - com.google.monitoring.v3.CreateTimeSeriesSummary.Error result = new com.google.monitoring.v3.CreateTimeSeriesSummary.Error(this); + com.google.monitoring.v3.CreateTimeSeriesSummary.Error result = + new com.google.monitoring.v3.CreateTimeSeriesSummary.Error(this); if (statusBuilder_ == null) { result.status_ = status_; } else { @@ -562,38 +622,41 @@ public com.google.monitoring.v3.CreateTimeSeriesSummary.Error 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.monitoring.v3.CreateTimeSeriesSummary.Error) { - return mergeFrom((com.google.monitoring.v3.CreateTimeSeriesSummary.Error)other); + return mergeFrom((com.google.monitoring.v3.CreateTimeSeriesSummary.Error) other); } else { super.mergeFrom(other); return this; @@ -601,7 +664,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.CreateTimeSeriesSummary.Error other) { - if (other == com.google.monitoring.v3.CreateTimeSeriesSummary.Error.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.CreateTimeSeriesSummary.Error.getDefaultInstance()) + return this; if (other.hasStatus()) { mergeStatus(other.getStatus()); } @@ -627,7 +691,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.CreateTimeSeriesSummary.Error) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.CreateTimeSeriesSummary.Error) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -639,24 +704,31 @@ public Builder mergeFrom( private com.google.rpc.Status status_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + statusBuilder_; /** + * + * *
        * The status of the requested write operation.
        * 
* * .google.rpc.Status status = 1; + * * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** + * + * *
        * The status of the requested write operation.
        * 
* * .google.rpc.Status status = 1; + * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -667,6 +739,8 @@ public com.google.rpc.Status getStatus() { } } /** + * + * *
        * The status of the requested write operation.
        * 
@@ -687,14 +761,15 @@ public Builder setStatus(com.google.rpc.Status value) { return this; } /** + * + * *
        * The status of the requested write operation.
        * 
* * .google.rpc.Status status = 1; */ - public Builder setStatus( - com.google.rpc.Status.Builder builderForValue) { + public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); @@ -705,6 +780,8 @@ public Builder setStatus( return this; } /** + * + * *
        * The status of the requested write operation.
        * 
@@ -714,8 +791,7 @@ public Builder setStatus( public Builder mergeStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { if (status_ != null) { - status_ = - com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial(); + status_ = com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } @@ -727,6 +803,8 @@ public Builder mergeStatus(com.google.rpc.Status value) { return this; } /** + * + * *
        * The status of the requested write operation.
        * 
@@ -745,6 +823,8 @@ public Builder clearStatus() { return this; } /** + * + * *
        * The status of the requested write operation.
        * 
@@ -752,11 +832,13 @@ public Builder clearStatus() { * .google.rpc.Status status = 1; */ public com.google.rpc.Status.Builder getStatusBuilder() { - + onChanged(); return getStatusFieldBuilder().getBuilder(); } /** + * + * *
        * The status of the requested write operation.
        * 
@@ -767,11 +849,12 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { - return status_ == null ? - com.google.rpc.Status.getDefaultInstance() : status_; + return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } } /** + * + * *
        * The status of the requested write operation.
        * 
@@ -779,26 +862,29 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { * .google.rpc.Status status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { - statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( - getStatus(), - getParentForChildren(), - isClean()); + statusBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, + com.google.rpc.Status.Builder, + com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; } - private int pointCount_ ; + private int pointCount_; /** + * + * *
        * The number of points that couldn't be written because of `status`.
        * 
* * int32 point_count = 2; + * * @return The pointCount. */ @java.lang.Override @@ -806,34 +892,41 @@ public int getPointCount() { return pointCount_; } /** + * + * *
        * The number of points that couldn't be written because of `status`.
        * 
* * int32 point_count = 2; + * * @param value The pointCount to set. * @return This builder for chaining. */ public Builder setPointCount(int value) { - + pointCount_ = value; onChanged(); return this; } /** + * + * *
        * The number of points that couldn't be written because of `status`.
        * 
* * int32 point_count = 2; + * * @return This builder for chaining. */ public Builder clearPointCount() { - + pointCount_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -846,12 +939,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.CreateTimeSeriesSummary.Error) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.CreateTimeSeriesSummary.Error) private static final com.google.monitoring.v3.CreateTimeSeriesSummary.Error DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.CreateTimeSeriesSummary.Error(); } @@ -860,16 +953,16 @@ public static com.google.monitoring.v3.CreateTimeSeriesSummary.Error getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Error parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Error(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Error parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Error(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -884,17 +977,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.CreateTimeSeriesSummary.Error getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int TOTAL_POINT_COUNT_FIELD_NUMBER = 1; private int totalPointCount_; /** + * + * *
    * The number of points in the request.
    * 
* * int32 total_point_count = 1; + * * @return The totalPointCount. */ @java.lang.Override @@ -905,11 +1000,14 @@ public int getTotalPointCount() { public static final int SUCCESS_POINT_COUNT_FIELD_NUMBER = 2; private int successPointCount_; /** + * + * *
    * The number of points that were successfully written.
    * 
* * int32 success_point_count = 2; + * * @return The successPointCount. */ @java.lang.Override @@ -920,6 +1018,8 @@ public int getSuccessPointCount() { public static final int ERRORS_FIELD_NUMBER = 3; private java.util.List errors_; /** + * + * *
    * The number of points that failed to be written. Order is not guaranteed.
    * 
@@ -931,6 +1031,8 @@ public java.util.List ge return errors_; } /** + * + * *
    * The number of points that failed to be written. Order is not guaranteed.
    * 
@@ -938,11 +1040,13 @@ public java.util.List ge * repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3; */ @java.lang.Override - public java.util.List + public java.util.List getErrorsOrBuilderList() { return errors_; } /** + * + * *
    * The number of points that failed to be written. Order is not guaranteed.
    * 
@@ -954,6 +1058,8 @@ public int getErrorsCount() { return errors_.size(); } /** + * + * *
    * The number of points that failed to be written. Order is not guaranteed.
    * 
@@ -965,6 +1071,8 @@ public com.google.monitoring.v3.CreateTimeSeriesSummary.Error getErrors(int inde return errors_.get(index); } /** + * + * *
    * The number of points that failed to be written. Order is not guaranteed.
    * 
@@ -978,6 +1086,7 @@ public com.google.monitoring.v3.CreateTimeSeriesSummary.ErrorOrBuilder getErrors } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -989,8 +1098,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (totalPointCount_ != 0) { output.writeInt32(1, totalPointCount_); } @@ -1010,16 +1118,13 @@ public int getSerializedSize() { size = 0; if (totalPointCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, totalPointCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, totalPointCount_); } if (successPointCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, successPointCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, successPointCount_); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, errors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1029,19 +1134,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.monitoring.v3.CreateTimeSeriesSummary)) { return super.equals(obj); } - com.google.monitoring.v3.CreateTimeSeriesSummary other = (com.google.monitoring.v3.CreateTimeSeriesSummary) obj; + com.google.monitoring.v3.CreateTimeSeriesSummary other = + (com.google.monitoring.v3.CreateTimeSeriesSummary) obj; - if (getTotalPointCount() - != other.getTotalPointCount()) return false; - if (getSuccessPointCount() - != other.getSuccessPointCount()) return false; - if (!getErrorsList() - .equals(other.getErrorsList())) return false; + if (getTotalPointCount() != other.getTotalPointCount()) return false; + if (getSuccessPointCount() != other.getSuccessPointCount()) return false; + if (!getErrorsList().equals(other.getErrorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1066,118 +1169,127 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.CreateTimeSeriesSummary parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.CreateTimeSeriesSummary parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.CreateTimeSeriesSummary parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.CreateTimeSeriesSummary parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.CreateTimeSeriesSummary parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.CreateTimeSeriesSummary parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.CreateTimeSeriesSummary parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.CreateTimeSeriesSummary parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.CreateTimeSeriesSummary parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.CreateTimeSeriesSummary parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.CreateTimeSeriesSummary parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.CreateTimeSeriesSummary parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.CreateTimeSeriesSummary parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.CreateTimeSeriesSummary parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.CreateTimeSeriesSummary parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.CreateTimeSeriesSummary prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Summary of the result of a failed request to write data to a time series.
    * 
* * Protobuf type {@code google.monitoring.v3.CreateTimeSeriesSummary} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.CreateTimeSeriesSummary) com.google.monitoring.v3.CreateTimeSeriesSummaryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateTimeSeriesSummary_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_CreateTimeSeriesSummary_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateTimeSeriesSummary_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_CreateTimeSeriesSummary_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateTimeSeriesSummary.class, com.google.monitoring.v3.CreateTimeSeriesSummary.Builder.class); + com.google.monitoring.v3.CreateTimeSeriesSummary.class, + com.google.monitoring.v3.CreateTimeSeriesSummary.Builder.class); } // Construct using com.google.monitoring.v3.CreateTimeSeriesSummary.newBuilder() @@ -1185,17 +1297,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getErrorsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1213,9 +1325,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_CreateTimeSeriesSummary_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_CreateTimeSeriesSummary_descriptor; } @java.lang.Override @@ -1234,7 +1346,8 @@ public com.google.monitoring.v3.CreateTimeSeriesSummary build() { @java.lang.Override public com.google.monitoring.v3.CreateTimeSeriesSummary buildPartial() { - com.google.monitoring.v3.CreateTimeSeriesSummary result = new com.google.monitoring.v3.CreateTimeSeriesSummary(this); + com.google.monitoring.v3.CreateTimeSeriesSummary result = + new com.google.monitoring.v3.CreateTimeSeriesSummary(this); int from_bitField0_ = bitField0_; result.totalPointCount_ = totalPointCount_; result.successPointCount_ = successPointCount_; @@ -1255,38 +1368,39 @@ public com.google.monitoring.v3.CreateTimeSeriesSummary 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.monitoring.v3.CreateTimeSeriesSummary) { - return mergeFrom((com.google.monitoring.v3.CreateTimeSeriesSummary)other); + return mergeFrom((com.google.monitoring.v3.CreateTimeSeriesSummary) other); } else { super.mergeFrom(other); return this; @@ -1294,7 +1408,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.CreateTimeSeriesSummary other) { - if (other == com.google.monitoring.v3.CreateTimeSeriesSummary.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.CreateTimeSeriesSummary.getDefaultInstance()) + return this; if (other.getTotalPointCount() != 0) { setTotalPointCount(other.getTotalPointCount()); } @@ -1319,9 +1434,10 @@ public Builder mergeFrom(com.google.monitoring.v3.CreateTimeSeriesSummary other) errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000001); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getErrorsFieldBuilder() : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getErrorsFieldBuilder() + : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -1355,15 +1471,19 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private int totalPointCount_ ; + private int totalPointCount_; /** + * + * *
      * The number of points in the request.
      * 
* * int32 total_point_count = 1; + * * @return The totalPointCount. */ @java.lang.Override @@ -1371,42 +1491,51 @@ public int getTotalPointCount() { return totalPointCount_; } /** + * + * *
      * The number of points in the request.
      * 
* * int32 total_point_count = 1; + * * @param value The totalPointCount to set. * @return This builder for chaining. */ public Builder setTotalPointCount(int value) { - + totalPointCount_ = value; onChanged(); return this; } /** + * + * *
      * The number of points in the request.
      * 
* * int32 total_point_count = 1; + * * @return This builder for chaining. */ public Builder clearTotalPointCount() { - + totalPointCount_ = 0; onChanged(); return this; } - private int successPointCount_ ; + private int successPointCount_; /** + * + * *
      * The number of points that were successfully written.
      * 
* * int32 success_point_count = 2; + * * @return The successPointCount. */ @java.lang.Override @@ -1414,48 +1543,62 @@ public int getSuccessPointCount() { return successPointCount_; } /** + * + * *
      * The number of points that were successfully written.
      * 
* * int32 success_point_count = 2; + * * @param value The successPointCount to set. * @return This builder for chaining. */ public Builder setSuccessPointCount(int value) { - + successPointCount_ = value; onChanged(); return this; } /** + * + * *
      * The number of points that were successfully written.
      * 
* * int32 success_point_count = 2; + * * @return This builder for chaining. */ public Builder clearSuccessPointCount() { - + successPointCount_ = 0; onChanged(); return this; } private java.util.List errors_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - errors_ = new java.util.ArrayList(errors_); + errors_ = + new java.util.ArrayList( + errors_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.CreateTimeSeriesSummary.Error, com.google.monitoring.v3.CreateTimeSeriesSummary.Error.Builder, com.google.monitoring.v3.CreateTimeSeriesSummary.ErrorOrBuilder> errorsBuilder_; + com.google.monitoring.v3.CreateTimeSeriesSummary.Error, + com.google.monitoring.v3.CreateTimeSeriesSummary.Error.Builder, + com.google.monitoring.v3.CreateTimeSeriesSummary.ErrorOrBuilder> + errorsBuilder_; /** + * + * *
      * The number of points that failed to be written. Order is not guaranteed.
      * 
@@ -1470,6 +1613,8 @@ public java.util.List ge } } /** + * + * *
      * The number of points that failed to be written. Order is not guaranteed.
      * 
@@ -1484,6 +1629,8 @@ public int getErrorsCount() { } } /** + * + * *
      * The number of points that failed to be written. Order is not guaranteed.
      * 
@@ -1498,6 +1645,8 @@ public com.google.monitoring.v3.CreateTimeSeriesSummary.Error getErrors(int inde } } /** + * + * *
      * The number of points that failed to be written. Order is not guaranteed.
      * 
@@ -1519,6 +1668,8 @@ public Builder setErrors( return this; } /** + * + * *
      * The number of points that failed to be written. Order is not guaranteed.
      * 
@@ -1537,6 +1688,8 @@ public Builder setErrors( return this; } /** + * + * *
      * The number of points that failed to be written. Order is not guaranteed.
      * 
@@ -1557,6 +1710,8 @@ public Builder addErrors(com.google.monitoring.v3.CreateTimeSeriesSummary.Error return this; } /** + * + * *
      * The number of points that failed to be written. Order is not guaranteed.
      * 
@@ -1578,6 +1733,8 @@ public Builder addErrors( return this; } /** + * + * *
      * The number of points that failed to be written. Order is not guaranteed.
      * 
@@ -1596,6 +1753,8 @@ public Builder addErrors( return this; } /** + * + * *
      * The number of points that failed to be written. Order is not guaranteed.
      * 
@@ -1614,6 +1773,8 @@ public Builder addErrors( return this; } /** + * + * *
      * The number of points that failed to be written. Order is not guaranteed.
      * 
@@ -1621,11 +1782,11 @@ public Builder addErrors( * repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3; */ public Builder addAllErrors( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -1633,6 +1794,8 @@ public Builder addAllErrors( return this; } /** + * + * *
      * The number of points that failed to be written. Order is not guaranteed.
      * 
@@ -1650,6 +1813,8 @@ public Builder clearErrors() { return this; } /** + * + * *
      * The number of points that failed to be written. Order is not guaranteed.
      * 
@@ -1667,6 +1832,8 @@ public Builder removeErrors(int index) { return this; } /** + * + * *
      * The number of points that failed to be written. Order is not guaranteed.
      * 
@@ -1678,6 +1845,8 @@ public com.google.monitoring.v3.CreateTimeSeriesSummary.Error.Builder getErrorsB return getErrorsFieldBuilder().getBuilder(index); } /** + * + * *
      * The number of points that failed to be written. Order is not guaranteed.
      * 
@@ -1687,19 +1856,22 @@ public com.google.monitoring.v3.CreateTimeSeriesSummary.Error.Builder getErrorsB public com.google.monitoring.v3.CreateTimeSeriesSummary.ErrorOrBuilder getErrorsOrBuilder( int index) { if (errorsBuilder_ == null) { - return errors_.get(index); } else { + return errors_.get(index); + } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The number of points that failed to be written. Order is not guaranteed.
      * 
* * repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3; */ - public java.util.List - getErrorsOrBuilderList() { + public java.util.List + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -1707,6 +1879,8 @@ public com.google.monitoring.v3.CreateTimeSeriesSummary.ErrorOrBuilder getErrors } } /** + * + * *
      * The number of points that failed to be written. Order is not guaranteed.
      * 
@@ -1714,10 +1888,12 @@ public com.google.monitoring.v3.CreateTimeSeriesSummary.ErrorOrBuilder getErrors * repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3; */ public com.google.monitoring.v3.CreateTimeSeriesSummary.Error.Builder addErrorsBuilder() { - return getErrorsFieldBuilder().addBuilder( - com.google.monitoring.v3.CreateTimeSeriesSummary.Error.getDefaultInstance()); + return getErrorsFieldBuilder() + .addBuilder(com.google.monitoring.v3.CreateTimeSeriesSummary.Error.getDefaultInstance()); } /** + * + * *
      * The number of points that failed to be written. Order is not guaranteed.
      * 
@@ -1726,37 +1902,43 @@ public com.google.monitoring.v3.CreateTimeSeriesSummary.Error.Builder addErrorsB */ public com.google.monitoring.v3.CreateTimeSeriesSummary.Error.Builder addErrorsBuilder( int index) { - return getErrorsFieldBuilder().addBuilder( - index, com.google.monitoring.v3.CreateTimeSeriesSummary.Error.getDefaultInstance()); + return getErrorsFieldBuilder() + .addBuilder( + index, com.google.monitoring.v3.CreateTimeSeriesSummary.Error.getDefaultInstance()); } /** + * + * *
      * The number of points that failed to be written. Order is not guaranteed.
      * 
* * repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3; */ - public java.util.List - getErrorsBuilderList() { + public java.util.List + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.CreateTimeSeriesSummary.Error, com.google.monitoring.v3.CreateTimeSeriesSummary.Error.Builder, com.google.monitoring.v3.CreateTimeSeriesSummary.ErrorOrBuilder> + com.google.monitoring.v3.CreateTimeSeriesSummary.Error, + com.google.monitoring.v3.CreateTimeSeriesSummary.Error.Builder, + com.google.monitoring.v3.CreateTimeSeriesSummary.ErrorOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.CreateTimeSeriesSummary.Error, com.google.monitoring.v3.CreateTimeSeriesSummary.Error.Builder, com.google.monitoring.v3.CreateTimeSeriesSummary.ErrorOrBuilder>( - errors_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + errorsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.monitoring.v3.CreateTimeSeriesSummary.Error, + com.google.monitoring.v3.CreateTimeSeriesSummary.Error.Builder, + com.google.monitoring.v3.CreateTimeSeriesSummary.ErrorOrBuilder>( + errors_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); errors_ = null; } return errorsBuilder_; } + @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); } @@ -1766,12 +1948,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.CreateTimeSeriesSummary) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.CreateTimeSeriesSummary) private static final com.google.monitoring.v3.CreateTimeSeriesSummary DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.CreateTimeSeriesSummary(); } @@ -1780,16 +1962,16 @@ public static com.google.monitoring.v3.CreateTimeSeriesSummary getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTimeSeriesSummary parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTimeSeriesSummary(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTimeSeriesSummary parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTimeSeriesSummary(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1804,6 +1986,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.CreateTimeSeriesSummary getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesSummaryOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesSummaryOrBuilder.java similarity index 71% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesSummaryOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesSummaryOrBuilder.java index 8558dcfb..aa6b46e1 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesSummaryOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateTimeSeriesSummaryOrBuilder.java @@ -1,42 +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/monitoring/v3/metric_service.proto package com.google.monitoring.v3; -public interface CreateTimeSeriesSummaryOrBuilder extends +public interface CreateTimeSeriesSummaryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.CreateTimeSeriesSummary) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The number of points in the request.
    * 
* * int32 total_point_count = 1; + * * @return The totalPointCount. */ int getTotalPointCount(); /** + * + * *
    * The number of points that were successfully written.
    * 
* * int32 success_point_count = 2; + * * @return The successPointCount. */ int getSuccessPointCount(); /** + * + * *
    * The number of points that failed to be written. Order is not guaranteed.
    * 
* * repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3; */ - java.util.List - getErrorsList(); + java.util.List getErrorsList(); /** + * + * *
    * The number of points that failed to be written. Order is not guaranteed.
    * 
@@ -45,6 +70,8 @@ public interface CreateTimeSeriesSummaryOrBuilder extends */ com.google.monitoring.v3.CreateTimeSeriesSummary.Error getErrors(int index); /** + * + * *
    * The number of points that failed to be written. Order is not guaranteed.
    * 
@@ -53,21 +80,24 @@ public interface CreateTimeSeriesSummaryOrBuilder extends */ int getErrorsCount(); /** + * + * *
    * The number of points that failed to be written. Order is not guaranteed.
    * 
* * repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3; */ - java.util.List + java.util.List getErrorsOrBuilderList(); /** + * + * *
    * The number of points that failed to be written. Order is not guaranteed.
    * 
* * repeated .google.monitoring.v3.CreateTimeSeriesSummary.Error errors = 3; */ - com.google.monitoring.v3.CreateTimeSeriesSummary.ErrorOrBuilder getErrorsOrBuilder( - int index); + com.google.monitoring.v3.CreateTimeSeriesSummary.ErrorOrBuilder getErrorsOrBuilder(int index); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequest.java similarity index 62% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequest.java index 7adaff5a..01e9712b 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequest.java @@ -1,40 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/uptime_service.proto package com.google.monitoring.v3; /** + * + * *
  * The protocol for the `CreateUptimeCheckConfig` request.
  * 
* * Protobuf type {@code google.monitoring.v3.CreateUptimeCheckConfigRequest} */ -public final class CreateUptimeCheckConfigRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateUptimeCheckConfigRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.CreateUptimeCheckConfigRequest) CreateUptimeCheckConfigRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateUptimeCheckConfigRequest.newBuilder() to construct. - private CreateUptimeCheckConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateUptimeCheckConfigRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateUptimeCheckConfigRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateUptimeCheckConfigRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateUptimeCheckConfigRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,67 +71,78 @@ private CreateUptimeCheckConfigRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.monitoring.v3.UptimeCheckConfig.Builder subBuilder = null; - if (uptimeCheckConfig_ != null) { - subBuilder = uptimeCheckConfig_.toBuilder(); + parent_ = s; + break; } - uptimeCheckConfig_ = input.readMessage(com.google.monitoring.v3.UptimeCheckConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(uptimeCheckConfig_); - uptimeCheckConfig_ = subBuilder.buildPartial(); + case 18: + { + com.google.monitoring.v3.UptimeCheckConfig.Builder subBuilder = null; + if (uptimeCheckConfig_ != null) { + subBuilder = uptimeCheckConfig_.toBuilder(); + } + uptimeCheckConfig_ = + input.readMessage( + com.google.monitoring.v3.UptimeCheckConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(uptimeCheckConfig_); + uptimeCheckConfig_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_CreateUptimeCheckConfigRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.UptimeServiceProto + .internal_static_google_monitoring_v3_CreateUptimeCheckConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_CreateUptimeCheckConfigRequest_fieldAccessorTable + return com.google.monitoring.v3.UptimeServiceProto + .internal_static_google_monitoring_v3_CreateUptimeCheckConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateUptimeCheckConfigRequest.class, com.google.monitoring.v3.CreateUptimeCheckConfigRequest.Builder.class); + com.google.monitoring.v3.CreateUptimeCheckConfigRequest.class, + com.google.monitoring.v3.CreateUptimeCheckConfigRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
    * which to create the Uptime check. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -122,31 +151,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
    * which to create the Uptime check. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -157,11 +188,16 @@ public java.lang.String getParent() { public static final int UPTIME_CHECK_CONFIG_FIELD_NUMBER = 2; private com.google.monitoring.v3.UptimeCheckConfig uptimeCheckConfig_; /** + * + * *
    * Required. The new Uptime check configuration.
    * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the uptimeCheckConfig field is set. */ @java.lang.Override @@ -169,23 +205,34 @@ public boolean hasUptimeCheckConfig() { return uptimeCheckConfig_ != null; } /** + * + * *
    * Required. The new Uptime check configuration.
    * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The uptimeCheckConfig. */ @java.lang.Override public com.google.monitoring.v3.UptimeCheckConfig getUptimeCheckConfig() { - return uptimeCheckConfig_ == null ? com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance() : uptimeCheckConfig_; + return uptimeCheckConfig_ == null + ? com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance() + : uptimeCheckConfig_; } /** + * + * *
    * Required. The new Uptime check configuration.
    * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigOrBuilder() { @@ -193,6 +240,7 @@ public com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigO } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +252,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -225,8 +272,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (uptimeCheckConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUptimeCheckConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUptimeCheckConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -236,19 +282,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.monitoring.v3.CreateUptimeCheckConfigRequest)) { return super.equals(obj); } - com.google.monitoring.v3.CreateUptimeCheckConfigRequest other = (com.google.monitoring.v3.CreateUptimeCheckConfigRequest) obj; + com.google.monitoring.v3.CreateUptimeCheckConfigRequest other = + (com.google.monitoring.v3.CreateUptimeCheckConfigRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasUptimeCheckConfig() != other.hasUptimeCheckConfig()) return false; if (hasUptimeCheckConfig()) { - if (!getUptimeCheckConfig() - .equals(other.getUptimeCheckConfig())) return false; + if (!getUptimeCheckConfig().equals(other.getUptimeCheckConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -273,117 +318,127 @@ public int hashCode() { } public static com.google.monitoring.v3.CreateUptimeCheckConfigRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.CreateUptimeCheckConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.CreateUptimeCheckConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.CreateUptimeCheckConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.CreateUptimeCheckConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.CreateUptimeCheckConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.CreateUptimeCheckConfigRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.CreateUptimeCheckConfigRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.CreateUptimeCheckConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.CreateUptimeCheckConfigRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.CreateUptimeCheckConfigRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.CreateUptimeCheckConfigRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.CreateUptimeCheckConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.CreateUptimeCheckConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.CreateUptimeCheckConfigRequest prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.CreateUptimeCheckConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 protocol for the `CreateUptimeCheckConfig` request.
    * 
* * Protobuf type {@code google.monitoring.v3.CreateUptimeCheckConfigRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.CreateUptimeCheckConfigRequest) com.google.monitoring.v3.CreateUptimeCheckConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_CreateUptimeCheckConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.UptimeServiceProto + .internal_static_google_monitoring_v3_CreateUptimeCheckConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_CreateUptimeCheckConfigRequest_fieldAccessorTable + return com.google.monitoring.v3.UptimeServiceProto + .internal_static_google_monitoring_v3_CreateUptimeCheckConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.CreateUptimeCheckConfigRequest.class, com.google.monitoring.v3.CreateUptimeCheckConfigRequest.Builder.class); + com.google.monitoring.v3.CreateUptimeCheckConfigRequest.class, + com.google.monitoring.v3.CreateUptimeCheckConfigRequest.Builder.class); } // Construct using com.google.monitoring.v3.CreateUptimeCheckConfigRequest.newBuilder() @@ -391,16 +446,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -416,9 +470,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_CreateUptimeCheckConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.UptimeServiceProto + .internal_static_google_monitoring_v3_CreateUptimeCheckConfigRequest_descriptor; } @java.lang.Override @@ -437,7 +491,8 @@ public com.google.monitoring.v3.CreateUptimeCheckConfigRequest build() { @java.lang.Override public com.google.monitoring.v3.CreateUptimeCheckConfigRequest buildPartial() { - com.google.monitoring.v3.CreateUptimeCheckConfigRequest result = new com.google.monitoring.v3.CreateUptimeCheckConfigRequest(this); + com.google.monitoring.v3.CreateUptimeCheckConfigRequest result = + new com.google.monitoring.v3.CreateUptimeCheckConfigRequest(this); result.parent_ = parent_; if (uptimeCheckConfigBuilder_ == null) { result.uptimeCheckConfig_ = uptimeCheckConfig_; @@ -452,38 +507,39 @@ public com.google.monitoring.v3.CreateUptimeCheckConfigRequest 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.monitoring.v3.CreateUptimeCheckConfigRequest) { - return mergeFrom((com.google.monitoring.v3.CreateUptimeCheckConfigRequest)other); + return mergeFrom((com.google.monitoring.v3.CreateUptimeCheckConfigRequest) other); } else { super.mergeFrom(other); return this; @@ -491,7 +547,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.CreateUptimeCheckConfigRequest other) { - if (other == com.google.monitoring.v3.CreateUptimeCheckConfigRequest.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.CreateUptimeCheckConfigRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -518,7 +575,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.CreateUptimeCheckConfigRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.CreateUptimeCheckConfigRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -530,20 +588,24 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
      * which to create the Uptime check. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -552,22 +614,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
      * which to create the Uptime check. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -575,60 +640,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
      * which to create the Uptime check. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
      * which to create the Uptime check. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
      * which to create the Uptime check. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -636,39 +714,58 @@ public Builder setParentBytes( private com.google.monitoring.v3.UptimeCheckConfig uptimeCheckConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig, com.google.monitoring.v3.UptimeCheckConfig.Builder, com.google.monitoring.v3.UptimeCheckConfigOrBuilder> uptimeCheckConfigBuilder_; + com.google.monitoring.v3.UptimeCheckConfig, + com.google.monitoring.v3.UptimeCheckConfig.Builder, + com.google.monitoring.v3.UptimeCheckConfigOrBuilder> + uptimeCheckConfigBuilder_; /** + * + * *
      * Required. The new Uptime check configuration.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the uptimeCheckConfig field is set. */ public boolean hasUptimeCheckConfig() { return uptimeCheckConfigBuilder_ != null || uptimeCheckConfig_ != null; } /** + * + * *
      * Required. The new Uptime check configuration.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The uptimeCheckConfig. */ public com.google.monitoring.v3.UptimeCheckConfig getUptimeCheckConfig() { if (uptimeCheckConfigBuilder_ == null) { - return uptimeCheckConfig_ == null ? com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance() : uptimeCheckConfig_; + return uptimeCheckConfig_ == null + ? com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance() + : uptimeCheckConfig_; } else { return uptimeCheckConfigBuilder_.getMessage(); } } /** + * + * *
      * Required. The new Uptime check configuration.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUptimeCheckConfig(com.google.monitoring.v3.UptimeCheckConfig value) { if (uptimeCheckConfigBuilder_ == null) { @@ -684,11 +781,15 @@ public Builder setUptimeCheckConfig(com.google.monitoring.v3.UptimeCheckConfig v return this; } /** + * + * *
      * Required. The new Uptime check configuration.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUptimeCheckConfig( com.google.monitoring.v3.UptimeCheckConfig.Builder builderForValue) { @@ -702,17 +803,23 @@ public Builder setUptimeCheckConfig( return this; } /** + * + * *
      * Required. The new Uptime check configuration.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUptimeCheckConfig(com.google.monitoring.v3.UptimeCheckConfig value) { if (uptimeCheckConfigBuilder_ == null) { if (uptimeCheckConfig_ != null) { uptimeCheckConfig_ = - com.google.monitoring.v3.UptimeCheckConfig.newBuilder(uptimeCheckConfig_).mergeFrom(value).buildPartial(); + com.google.monitoring.v3.UptimeCheckConfig.newBuilder(uptimeCheckConfig_) + .mergeFrom(value) + .buildPartial(); } else { uptimeCheckConfig_ = value; } @@ -724,11 +831,15 @@ public Builder mergeUptimeCheckConfig(com.google.monitoring.v3.UptimeCheckConfig return this; } /** + * + * *
      * Required. The new Uptime check configuration.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUptimeCheckConfig() { if (uptimeCheckConfigBuilder_ == null) { @@ -742,55 +853,71 @@ public Builder clearUptimeCheckConfig() { return this; } /** + * + * *
      * Required. The new Uptime check configuration.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.UptimeCheckConfig.Builder getUptimeCheckConfigBuilder() { - + onChanged(); return getUptimeCheckConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The new Uptime check configuration.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigOrBuilder() { if (uptimeCheckConfigBuilder_ != null) { return uptimeCheckConfigBuilder_.getMessageOrBuilder(); } else { - return uptimeCheckConfig_ == null ? - com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance() : uptimeCheckConfig_; + return uptimeCheckConfig_ == null + ? com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance() + : uptimeCheckConfig_; } } /** + * + * *
      * Required. The new Uptime check configuration.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig, com.google.monitoring.v3.UptimeCheckConfig.Builder, com.google.monitoring.v3.UptimeCheckConfigOrBuilder> + com.google.monitoring.v3.UptimeCheckConfig, + com.google.monitoring.v3.UptimeCheckConfig.Builder, + com.google.monitoring.v3.UptimeCheckConfigOrBuilder> getUptimeCheckConfigFieldBuilder() { if (uptimeCheckConfigBuilder_ == null) { - uptimeCheckConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig, com.google.monitoring.v3.UptimeCheckConfig.Builder, com.google.monitoring.v3.UptimeCheckConfigOrBuilder>( - getUptimeCheckConfig(), - getParentForChildren(), - isClean()); + uptimeCheckConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.UptimeCheckConfig, + com.google.monitoring.v3.UptimeCheckConfig.Builder, + com.google.monitoring.v3.UptimeCheckConfigOrBuilder>( + getUptimeCheckConfig(), getParentForChildren(), isClean()); uptimeCheckConfig_ = null; } return uptimeCheckConfigBuilder_; } + @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); } @@ -800,12 +927,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.CreateUptimeCheckConfigRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.CreateUptimeCheckConfigRequest) private static final com.google.monitoring.v3.CreateUptimeCheckConfigRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.CreateUptimeCheckConfigRequest(); } @@ -814,16 +941,16 @@ public static com.google.monitoring.v3.CreateUptimeCheckConfigRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateUptimeCheckConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateUptimeCheckConfigRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateUptimeCheckConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateUptimeCheckConfigRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -838,6 +965,4 @@ public com.google.protobuf.Parser getParserForTy public com.google.monitoring.v3.CreateUptimeCheckConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequestOrBuilder.java new file mode 100644 index 00000000..a35b44f8 --- /dev/null +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequestOrBuilder.java @@ -0,0 +1,99 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/uptime_service.proto + +package com.google.monitoring.v3; + +public interface CreateUptimeCheckConfigRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.monitoring.v3.CreateUptimeCheckConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
+   * which to create the Uptime check. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
+   * which to create the Uptime check. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. The new Uptime check configuration.
+   * 
+ * + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the uptimeCheckConfig field is set. + */ + boolean hasUptimeCheckConfig(); + /** + * + * + *
+   * Required. The new Uptime check configuration.
+   * 
+ * + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The uptimeCheckConfig. + */ + com.google.monitoring.v3.UptimeCheckConfig getUptimeCheckConfig(); + /** + * + * + *
+   * Required. The new Uptime check configuration.
+   * 
+ * + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigOrBuilder(); +} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequest.java similarity index 66% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequest.java index 2a972dc2..7945d180 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/alert_service.proto package com.google.monitoring.v3; /** + * + * *
  * The protocol for the `DeleteAlertPolicy` request.
  * 
* * Protobuf type {@code google.monitoring.v3.DeleteAlertPolicyRequest} */ -public final class DeleteAlertPolicyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteAlertPolicyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.DeleteAlertPolicyRequest) DeleteAlertPolicyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteAlertPolicyRequest.newBuilder() to construct. private DeleteAlertPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteAlertPolicyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteAlertPolicyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteAlertPolicyRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,54 +70,62 @@ private DeleteAlertPolicyRequest( case 0: done = true; break; - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_DeleteAlertPolicyRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.AlertServiceProto + .internal_static_google_monitoring_v3_DeleteAlertPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_DeleteAlertPolicyRequest_fieldAccessorTable + return com.google.monitoring.v3.AlertServiceProto + .internal_static_google_monitoring_v3_DeleteAlertPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.DeleteAlertPolicyRequest.class, com.google.monitoring.v3.DeleteAlertPolicyRequest.Builder.class); + com.google.monitoring.v3.DeleteAlertPolicyRequest.class, + com.google.monitoring.v3.DeleteAlertPolicyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** + * + * *
    * Required. The alerting policy to delete. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
    * For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy].
    * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,31 +134,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The alerting policy to delete. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
    * For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy].
    * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); } @@ -178,15 +205,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.monitoring.v3.DeleteAlertPolicyRequest)) { return super.equals(obj); } - com.google.monitoring.v3.DeleteAlertPolicyRequest other = (com.google.monitoring.v3.DeleteAlertPolicyRequest) obj; + com.google.monitoring.v3.DeleteAlertPolicyRequest other = + (com.google.monitoring.v3.DeleteAlertPolicyRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,126 @@ public int hashCode() { } public static com.google.monitoring.v3.DeleteAlertPolicyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.DeleteAlertPolicyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.DeleteAlertPolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.DeleteAlertPolicyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.DeleteAlertPolicyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.DeleteAlertPolicyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.DeleteAlertPolicyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.DeleteAlertPolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.DeleteAlertPolicyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.DeleteAlertPolicyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.DeleteAlertPolicyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.DeleteAlertPolicyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.DeleteAlertPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.DeleteAlertPolicyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.DeleteAlertPolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 protocol for the `DeleteAlertPolicy` request.
    * 
* * Protobuf type {@code google.monitoring.v3.DeleteAlertPolicyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.DeleteAlertPolicyRequest) com.google.monitoring.v3.DeleteAlertPolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_DeleteAlertPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.AlertServiceProto + .internal_static_google_monitoring_v3_DeleteAlertPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_DeleteAlertPolicyRequest_fieldAccessorTable + return com.google.monitoring.v3.AlertServiceProto + .internal_static_google_monitoring_v3_DeleteAlertPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.DeleteAlertPolicyRequest.class, com.google.monitoring.v3.DeleteAlertPolicyRequest.Builder.class); + com.google.monitoring.v3.DeleteAlertPolicyRequest.class, + com.google.monitoring.v3.DeleteAlertPolicyRequest.Builder.class); } // Construct using com.google.monitoring.v3.DeleteAlertPolicyRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_DeleteAlertPolicyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.AlertServiceProto + .internal_static_google_monitoring_v3_DeleteAlertPolicyRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.monitoring.v3.DeleteAlertPolicyRequest build() { @java.lang.Override public com.google.monitoring.v3.DeleteAlertPolicyRequest buildPartial() { - com.google.monitoring.v3.DeleteAlertPolicyRequest result = new com.google.monitoring.v3.DeleteAlertPolicyRequest(this); + com.google.monitoring.v3.DeleteAlertPolicyRequest result = + new com.google.monitoring.v3.DeleteAlertPolicyRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.monitoring.v3.DeleteAlertPolicyRequest 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.monitoring.v3.DeleteAlertPolicyRequest) { - return mergeFrom((com.google.monitoring.v3.DeleteAlertPolicyRequest)other); + return mergeFrom((com.google.monitoring.v3.DeleteAlertPolicyRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.DeleteAlertPolicyRequest other) { - if (other == com.google.monitoring.v3.DeleteAlertPolicyRequest.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.DeleteAlertPolicyRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +475,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.DeleteAlertPolicyRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.DeleteAlertPolicyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,20 +488,24 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The alerting policy to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
      * For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy].
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -471,22 +514,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The alerting policy to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
      * For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy].
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -494,67 +540,80 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The alerting policy to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
      * For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy].
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The alerting policy to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
      * For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy].
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The alerting policy to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
      * For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy].
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -564,12 +623,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.DeleteAlertPolicyRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.DeleteAlertPolicyRequest) private static final com.google.monitoring.v3.DeleteAlertPolicyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.DeleteAlertPolicyRequest(); } @@ -578,16 +637,16 @@ public static com.google.monitoring.v3.DeleteAlertPolicyRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteAlertPolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteAlertPolicyRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteAlertPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteAlertPolicyRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -602,6 +661,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.DeleteAlertPolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequestOrBuilder.java new file mode 100644 index 00000000..24a0cb4d --- /dev/null +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteAlertPolicyRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/alert_service.proto + +package com.google.monitoring.v3; + +public interface DeleteAlertPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.monitoring.v3.DeleteAlertPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The alerting policy to delete. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
+   * For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy].
+   * 
+ * + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The alerting policy to delete. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
+   * For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy].
+   * 
+ * + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteGroupRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteGroupRequest.java similarity index 68% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteGroupRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteGroupRequest.java index 94117c79..d771c35a 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteGroupRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteGroupRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/group_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `DeleteGroup` request. The default behavior is to be able to delete a
  * single group without any descendants.
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.monitoring.v3.DeleteGroupRequest}
  */
-public final class DeleteGroupRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeleteGroupRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.DeleteGroupRequest)
     DeleteGroupRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeleteGroupRequest.newBuilder() to construct.
   private DeleteGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeleteGroupRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeleteGroupRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private DeleteGroupRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,58 +71,66 @@ private DeleteGroupRequest(
           case 0:
             done = true;
             break;
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            name_ = s;
-            break;
-          }
-          case 32: {
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            recursive_ = input.readBool();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              name_ = s;
+              break;
+            }
+          case 32:
+            {
+              recursive_ = input.readBool();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_DeleteGroupRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.monitoring.v3.GroupServiceProto
+        .internal_static_google_monitoring_v3_DeleteGroupRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_DeleteGroupRequest_fieldAccessorTable
+    return com.google.monitoring.v3.GroupServiceProto
+        .internal_static_google_monitoring_v3_DeleteGroupRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.DeleteGroupRequest.class, com.google.monitoring.v3.DeleteGroupRequest.Builder.class);
+            com.google.monitoring.v3.DeleteGroupRequest.class,
+            com.google.monitoring.v3.DeleteGroupRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 3;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The group to delete. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
    * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -114,30 +139,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The group to delete. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
    * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -148,6 +175,8 @@ public java.lang.String getName() { public static final int RECURSIVE_FIELD_NUMBER = 4; private boolean recursive_; /** + * + * *
    * If this field is true, then the request means to delete a group with all
    * its descendants. Otherwise, the request means to delete a group only when
@@ -155,6 +184,7 @@ public java.lang.String getName() {
    * 
* * bool recursive = 4; + * * @return The recursive. */ @java.lang.Override @@ -163,6 +193,7 @@ public boolean getRecursive() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +205,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); } @@ -195,8 +225,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); } if (recursive_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, recursive_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, recursive_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -206,17 +235,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.DeleteGroupRequest)) { return super.equals(obj); } - com.google.monitoring.v3.DeleteGroupRequest other = (com.google.monitoring.v3.DeleteGroupRequest) obj; + com.google.monitoring.v3.DeleteGroupRequest other = + (com.google.monitoring.v3.DeleteGroupRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (getRecursive() - != other.getRecursive()) return false; + if (!getName().equals(other.getName())) return false; + if (getRecursive() != other.getRecursive()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,104 +259,110 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + RECURSIVE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRecursive()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRecursive()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.monitoring.v3.DeleteGroupRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.DeleteGroupRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.DeleteGroupRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.DeleteGroupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.DeleteGroupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.DeleteGroupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.DeleteGroupRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.DeleteGroupRequest 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.monitoring.v3.DeleteGroupRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.DeleteGroupRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.DeleteGroupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.DeleteGroupRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.DeleteGroupRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.DeleteGroupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.DeleteGroupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 `DeleteGroup` request. The default behavior is to be able to delete a
    * single group without any descendants.
@@ -336,21 +370,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.monitoring.v3.DeleteGroupRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.DeleteGroupRequest)
       com.google.monitoring.v3.DeleteGroupRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_DeleteGroupRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.monitoring.v3.GroupServiceProto
+          .internal_static_google_monitoring_v3_DeleteGroupRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_DeleteGroupRequest_fieldAccessorTable
+      return com.google.monitoring.v3.GroupServiceProto
+          .internal_static_google_monitoring_v3_DeleteGroupRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.DeleteGroupRequest.class, com.google.monitoring.v3.DeleteGroupRequest.Builder.class);
+              com.google.monitoring.v3.DeleteGroupRequest.class,
+              com.google.monitoring.v3.DeleteGroupRequest.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.DeleteGroupRequest.newBuilder()
@@ -358,16 +394,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -379,9 +414,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_DeleteGroupRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.monitoring.v3.GroupServiceProto
+          .internal_static_google_monitoring_v3_DeleteGroupRequest_descriptor;
     }
 
     @java.lang.Override
@@ -400,7 +435,8 @@ public com.google.monitoring.v3.DeleteGroupRequest build() {
 
     @java.lang.Override
     public com.google.monitoring.v3.DeleteGroupRequest buildPartial() {
-      com.google.monitoring.v3.DeleteGroupRequest result = new com.google.monitoring.v3.DeleteGroupRequest(this);
+      com.google.monitoring.v3.DeleteGroupRequest result =
+          new com.google.monitoring.v3.DeleteGroupRequest(this);
       result.name_ = name_;
       result.recursive_ = recursive_;
       onBuilt();
@@ -411,38 +447,39 @@ public com.google.monitoring.v3.DeleteGroupRequest 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.monitoring.v3.DeleteGroupRequest) {
-        return mergeFrom((com.google.monitoring.v3.DeleteGroupRequest)other);
+        return mergeFrom((com.google.monitoring.v3.DeleteGroupRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -489,19 +526,23 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The group to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -510,21 +551,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The group to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -532,64 +576,79 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The group to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The group to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The group to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean recursive_ ; + private boolean recursive_; /** + * + * *
      * If this field is true, then the request means to delete a group with all
      * its descendants. Otherwise, the request means to delete a group only when
@@ -597,6 +656,7 @@ public Builder setNameBytes(
      * 
* * bool recursive = 4; + * * @return The recursive. */ @java.lang.Override @@ -604,6 +664,8 @@ public boolean getRecursive() { return recursive_; } /** + * + * *
      * If this field is true, then the request means to delete a group with all
      * its descendants. Otherwise, the request means to delete a group only when
@@ -611,16 +673,19 @@ public boolean getRecursive() {
      * 
* * bool recursive = 4; + * * @param value The recursive to set. * @return This builder for chaining. */ public Builder setRecursive(boolean value) { - + recursive_ = value; onChanged(); return this; } /** + * + * *
      * If this field is true, then the request means to delete a group with all
      * its descendants. Otherwise, the request means to delete a group only when
@@ -628,17 +693,18 @@ public Builder setRecursive(boolean value) {
      * 
* * bool recursive = 4; + * * @return This builder for chaining. */ public Builder clearRecursive() { - + recursive_ = 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); } @@ -648,12 +714,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.DeleteGroupRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.DeleteGroupRequest) private static final com.google.monitoring.v3.DeleteGroupRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.DeleteGroupRequest(); } @@ -662,16 +728,16 @@ public static com.google.monitoring.v3.DeleteGroupRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteGroupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteGroupRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteGroupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteGroupRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -686,6 +752,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.DeleteGroupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteGroupRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteGroupRequestOrBuilder.java similarity index 50% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteGroupRequestOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteGroupRequestOrBuilder.java index e36a25e5..e2b4ee99 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteGroupRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteGroupRequestOrBuilder.java @@ -1,35 +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/monitoring/v3/group_service.proto package com.google.monitoring.v3; -public interface DeleteGroupRequestOrBuilder extends +public interface DeleteGroupRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.DeleteGroupRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The group to delete. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
    * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The group to delete. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
    * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * If this field is true, then the request means to delete a group with all
    * its descendants. Otherwise, the request means to delete a group only when
@@ -37,6 +64,7 @@ public interface DeleteGroupRequestOrBuilder extends
    * 
* * bool recursive = 4; + * * @return The recursive. */ boolean getRecursive(); diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequest.java similarity index 66% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequest.java index 2735ec5c..de4b0445 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `DeleteMetricDescriptor` request.
  * 
* * Protobuf type {@code google.monitoring.v3.DeleteMetricDescriptorRequest} */ -public final class DeleteMetricDescriptorRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteMetricDescriptorRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.DeleteMetricDescriptorRequest) DeleteMetricDescriptorRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteMetricDescriptorRequest.newBuilder() to construct. private DeleteMetricDescriptorRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteMetricDescriptorRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteMetricDescriptorRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteMetricDescriptorRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,47 +70,52 @@ private DeleteMetricDescriptorRequest( case 0: done = true; break; - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_DeleteMetricDescriptorRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_DeleteMetricDescriptorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_DeleteMetricDescriptorRequest_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_DeleteMetricDescriptorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.DeleteMetricDescriptorRequest.class, com.google.monitoring.v3.DeleteMetricDescriptorRequest.Builder.class); + com.google.monitoring.v3.DeleteMetricDescriptorRequest.class, + com.google.monitoring.v3.DeleteMetricDescriptorRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** + * + * *
    * Required. The metric descriptor on which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
@@ -101,7 +123,10 @@ private DeleteMetricDescriptorRequest(
    * `"custom.googleapis.com/my_test_metric"`.
    * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,14 +135,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The metric descriptor on which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
@@ -125,17 +151,18 @@ public java.lang.String getName() {
    * `"custom.googleapis.com/my_test_metric"`.
    * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -144,6 +171,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,8 +183,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); } @@ -180,15 +207,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.DeleteMetricDescriptorRequest)) { return super.equals(obj); } - com.google.monitoring.v3.DeleteMetricDescriptorRequest other = (com.google.monitoring.v3.DeleteMetricDescriptorRequest) obj; + com.google.monitoring.v3.DeleteMetricDescriptorRequest other = + (com.google.monitoring.v3.DeleteMetricDescriptorRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -208,117 +235,127 @@ public int hashCode() { } public static com.google.monitoring.v3.DeleteMetricDescriptorRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.DeleteMetricDescriptorRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.DeleteMetricDescriptorRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.DeleteMetricDescriptorRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.DeleteMetricDescriptorRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.DeleteMetricDescriptorRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.DeleteMetricDescriptorRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.DeleteMetricDescriptorRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.DeleteMetricDescriptorRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.DeleteMetricDescriptorRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.DeleteMetricDescriptorRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.DeleteMetricDescriptorRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.DeleteMetricDescriptorRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.DeleteMetricDescriptorRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.DeleteMetricDescriptorRequest prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.DeleteMetricDescriptorRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 `DeleteMetricDescriptor` request.
    * 
* * Protobuf type {@code google.monitoring.v3.DeleteMetricDescriptorRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.DeleteMetricDescriptorRequest) com.google.monitoring.v3.DeleteMetricDescriptorRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_DeleteMetricDescriptorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_DeleteMetricDescriptorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_DeleteMetricDescriptorRequest_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_DeleteMetricDescriptorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.DeleteMetricDescriptorRequest.class, com.google.monitoring.v3.DeleteMetricDescriptorRequest.Builder.class); + com.google.monitoring.v3.DeleteMetricDescriptorRequest.class, + com.google.monitoring.v3.DeleteMetricDescriptorRequest.Builder.class); } // Construct using com.google.monitoring.v3.DeleteMetricDescriptorRequest.newBuilder() @@ -326,16 +363,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -345,9 +381,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_DeleteMetricDescriptorRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_DeleteMetricDescriptorRequest_descriptor; } @java.lang.Override @@ -366,7 +402,8 @@ public com.google.monitoring.v3.DeleteMetricDescriptorRequest build() { @java.lang.Override public com.google.monitoring.v3.DeleteMetricDescriptorRequest buildPartial() { - com.google.monitoring.v3.DeleteMetricDescriptorRequest result = new com.google.monitoring.v3.DeleteMetricDescriptorRequest(this); + com.google.monitoring.v3.DeleteMetricDescriptorRequest result = + new com.google.monitoring.v3.DeleteMetricDescriptorRequest(this); result.name_ = name_; onBuilt(); return result; @@ -376,38 +413,39 @@ public com.google.monitoring.v3.DeleteMetricDescriptorRequest 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.monitoring.v3.DeleteMetricDescriptorRequest) { - return mergeFrom((com.google.monitoring.v3.DeleteMetricDescriptorRequest)other); + return mergeFrom((com.google.monitoring.v3.DeleteMetricDescriptorRequest) other); } else { super.mergeFrom(other); return this; @@ -415,7 +453,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.DeleteMetricDescriptorRequest other) { - if (other == com.google.monitoring.v3.DeleteMetricDescriptorRequest.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.DeleteMetricDescriptorRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -439,7 +478,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.DeleteMetricDescriptorRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.DeleteMetricDescriptorRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -451,6 +491,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The metric descriptor on which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
@@ -458,14 +500,16 @@ public Builder mergeFrom(
      * `"custom.googleapis.com/my_test_metric"`.
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -474,6 +518,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The metric descriptor on which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
@@ -481,16 +527,17 @@ public java.lang.String getName() {
      * `"custom.googleapis.com/my_test_metric"`.
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -498,6 +545,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The metric descriptor on which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
@@ -505,21 +554,25 @@ public java.lang.String getName() {
      * `"custom.googleapis.com/my_test_metric"`.
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The metric descriptor on which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
@@ -527,16 +580,21 @@ public Builder setName(
      * `"custom.googleapis.com/my_test_metric"`.
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The metric descriptor on which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
@@ -544,24 +602,26 @@ public Builder clearName() {
      * `"custom.googleapis.com/my_test_metric"`.
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -571,12 +631,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.DeleteMetricDescriptorRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.DeleteMetricDescriptorRequest) private static final com.google.monitoring.v3.DeleteMetricDescriptorRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.DeleteMetricDescriptorRequest(); } @@ -585,16 +645,16 @@ public static com.google.monitoring.v3.DeleteMetricDescriptorRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteMetricDescriptorRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteMetricDescriptorRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteMetricDescriptorRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteMetricDescriptorRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -609,6 +669,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.monitoring.v3.DeleteMetricDescriptorRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequestOrBuilder.java new file mode 100644 index 00000000..957ddbe2 --- /dev/null +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteMetricDescriptorRequestOrBuilder.java @@ -0,0 +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/monitoring/v3/metric_service.proto + +package com.google.monitoring.v3; + +public interface DeleteMetricDescriptorRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.monitoring.v3.DeleteMetricDescriptorRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The metric descriptor on which to execute the request. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
+   * An example of `[METRIC_ID]` is:
+   * `"custom.googleapis.com/my_test_metric"`.
+   * 
+ * + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The metric descriptor on which to execute the request. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
+   * An example of `[METRIC_ID]` is:
+   * `"custom.googleapis.com/my_test_metric"`.
+   * 
+ * + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteNotificationChannelRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteNotificationChannelRequest.java similarity index 67% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteNotificationChannelRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteNotificationChannelRequest.java index a5810710..6c4311ea 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteNotificationChannelRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteNotificationChannelRequest.java @@ -1,40 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/notification_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `DeleteNotificationChannel` request.
  * 
* * Protobuf type {@code google.monitoring.v3.DeleteNotificationChannelRequest} */ -public final class DeleteNotificationChannelRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteNotificationChannelRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.DeleteNotificationChannelRequest) DeleteNotificationChannelRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteNotificationChannelRequest.newBuilder() to construct. - private DeleteNotificationChannelRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteNotificationChannelRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteNotificationChannelRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteNotificationChannelRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteNotificationChannelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,58 +71,66 @@ private DeleteNotificationChannelRequest( case 0: done = true; break; - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 40: { + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - force_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + case 40: + { + force_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_DeleteNotificationChannelRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_DeleteNotificationChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_DeleteNotificationChannelRequest_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_DeleteNotificationChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.DeleteNotificationChannelRequest.class, com.google.monitoring.v3.DeleteNotificationChannelRequest.Builder.class); + com.google.monitoring.v3.DeleteNotificationChannelRequest.class, + com.google.monitoring.v3.DeleteNotificationChannelRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** + * + * *
    * Required. The channel for which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
    * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -113,30 +139,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The channel for which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
    * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -147,6 +175,8 @@ public java.lang.String getName() { public static final int FORCE_FIELD_NUMBER = 5; private boolean force_; /** + * + * *
    * If true, the notification channel will be deleted regardless of its
    * use in alert policies (the policies will be updated to remove the
@@ -155,6 +185,7 @@ public java.lang.String getName() {
    * 
* * bool force = 5; + * * @return The force. */ @java.lang.Override @@ -163,6 +194,7 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +206,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); } @@ -195,8 +226,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, force_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, force_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -206,17 +236,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.DeleteNotificationChannelRequest)) { return super.equals(obj); } - com.google.monitoring.v3.DeleteNotificationChannelRequest other = (com.google.monitoring.v3.DeleteNotificationChannelRequest) obj; + com.google.monitoring.v3.DeleteNotificationChannelRequest other = + (com.google.monitoring.v3.DeleteNotificationChannelRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (getForce() - != other.getForce()) return false; + if (!getName().equals(other.getName())) return false; + if (getForce() != other.getForce()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,125 +260,134 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.monitoring.v3.DeleteNotificationChannelRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.DeleteNotificationChannelRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.DeleteNotificationChannelRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.DeleteNotificationChannelRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.DeleteNotificationChannelRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.DeleteNotificationChannelRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.DeleteNotificationChannelRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.DeleteNotificationChannelRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.DeleteNotificationChannelRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.DeleteNotificationChannelRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.DeleteNotificationChannelRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.DeleteNotificationChannelRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.DeleteNotificationChannelRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.DeleteNotificationChannelRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.DeleteNotificationChannelRequest prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.DeleteNotificationChannelRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 `DeleteNotificationChannel` request.
    * 
* * Protobuf type {@code google.monitoring.v3.DeleteNotificationChannelRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.DeleteNotificationChannelRequest) com.google.monitoring.v3.DeleteNotificationChannelRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_DeleteNotificationChannelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_DeleteNotificationChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_DeleteNotificationChannelRequest_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_DeleteNotificationChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.DeleteNotificationChannelRequest.class, com.google.monitoring.v3.DeleteNotificationChannelRequest.Builder.class); + com.google.monitoring.v3.DeleteNotificationChannelRequest.class, + com.google.monitoring.v3.DeleteNotificationChannelRequest.Builder.class); } // Construct using com.google.monitoring.v3.DeleteNotificationChannelRequest.newBuilder() @@ -357,16 +395,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +415,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_DeleteNotificationChannelRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_DeleteNotificationChannelRequest_descriptor; } @java.lang.Override @@ -399,7 +436,8 @@ public com.google.monitoring.v3.DeleteNotificationChannelRequest build() { @java.lang.Override public com.google.monitoring.v3.DeleteNotificationChannelRequest buildPartial() { - com.google.monitoring.v3.DeleteNotificationChannelRequest result = new com.google.monitoring.v3.DeleteNotificationChannelRequest(this); + com.google.monitoring.v3.DeleteNotificationChannelRequest result = + new com.google.monitoring.v3.DeleteNotificationChannelRequest(this); result.name_ = name_; result.force_ = force_; onBuilt(); @@ -410,38 +448,39 @@ public com.google.monitoring.v3.DeleteNotificationChannelRequest 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.monitoring.v3.DeleteNotificationChannelRequest) { - return mergeFrom((com.google.monitoring.v3.DeleteNotificationChannelRequest)other); + return mergeFrom((com.google.monitoring.v3.DeleteNotificationChannelRequest) other); } else { super.mergeFrom(other); return this; @@ -449,7 +488,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.DeleteNotificationChannelRequest other) { - if (other == com.google.monitoring.v3.DeleteNotificationChannelRequest.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.DeleteNotificationChannelRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,7 +516,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.DeleteNotificationChannelRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.DeleteNotificationChannelRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -488,19 +529,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The channel for which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -509,21 +554,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The channel for which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -531,64 +579,79 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The channel for which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The channel for which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The channel for which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean force_ ; + private boolean force_; /** + * + * *
      * If true, the notification channel will be deleted regardless of its
      * use in alert policies (the policies will be updated to remove the
@@ -597,6 +660,7 @@ public Builder setNameBytes(
      * 
* * bool force = 5; + * * @return The force. */ @java.lang.Override @@ -604,6 +668,8 @@ public boolean getForce() { return force_; } /** + * + * *
      * If true, the notification channel will be deleted regardless of its
      * use in alert policies (the policies will be updated to remove the
@@ -612,16 +678,19 @@ public boolean getForce() {
      * 
* * bool force = 5; + * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** + * + * *
      * If true, the notification channel will be deleted regardless of its
      * use in alert policies (the policies will be updated to remove the
@@ -630,17 +699,18 @@ public Builder setForce(boolean value) {
      * 
* * bool force = 5; + * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = 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); } @@ -650,12 +720,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.DeleteNotificationChannelRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.DeleteNotificationChannelRequest) private static final com.google.monitoring.v3.DeleteNotificationChannelRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.DeleteNotificationChannelRequest(); } @@ -664,16 +734,16 @@ public static com.google.monitoring.v3.DeleteNotificationChannelRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteNotificationChannelRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteNotificationChannelRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteNotificationChannelRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteNotificationChannelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -688,6 +758,4 @@ public com.google.protobuf.Parser getParserFor public com.google.monitoring.v3.DeleteNotificationChannelRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteNotificationChannelRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteNotificationChannelRequestOrBuilder.java similarity index 53% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteNotificationChannelRequestOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteNotificationChannelRequestOrBuilder.java index 5850c4cf..ea0e0542 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteNotificationChannelRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteNotificationChannelRequestOrBuilder.java @@ -1,35 +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/monitoring/v3/notification_service.proto package com.google.monitoring.v3; -public interface DeleteNotificationChannelRequestOrBuilder extends +public interface DeleteNotificationChannelRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.DeleteNotificationChannelRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The channel for which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
    * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The channel for which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
    * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * If true, the notification channel will be deleted regardless of its
    * use in alert policies (the policies will be updated to remove the
@@ -38,6 +65,7 @@ public interface DeleteNotificationChannelRequestOrBuilder extends
    * 
* * bool force = 5; + * * @return The force. */ boolean getForce(); diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceLevelObjectiveRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceLevelObjectiveRequest.java similarity index 66% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceLevelObjectiveRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceLevelObjectiveRequest.java index 82cc1005..185dcd86 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceLevelObjectiveRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceLevelObjectiveRequest.java @@ -1,40 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/service_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `DeleteServiceLevelObjective` request.
  * 
* * Protobuf type {@code google.monitoring.v3.DeleteServiceLevelObjectiveRequest} */ -public final class DeleteServiceLevelObjectiveRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteServiceLevelObjectiveRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.DeleteServiceLevelObjectiveRequest) DeleteServiceLevelObjectiveRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteServiceLevelObjectiveRequest.newBuilder() to construct. - private DeleteServiceLevelObjectiveRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteServiceLevelObjectiveRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteServiceLevelObjectiveRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteServiceLevelObjectiveRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteServiceLevelObjectiveRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,53 +71,61 @@ private DeleteServiceLevelObjectiveRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_DeleteServiceLevelObjectiveRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_DeleteServiceLevelObjectiveRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_DeleteServiceLevelObjectiveRequest_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_DeleteServiceLevelObjectiveRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest.class, com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest.Builder.class); + com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest.class, + com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. Resource name of the `ServiceLevelObjective` to delete. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -108,30 +134,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Resource name of the `ServiceLevelObjective` to delete. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +168,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +180,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +204,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest)) { return super.equals(obj); } - com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest other = (com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest) obj; + com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest other = + (com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +232,127 @@ public int hashCode() { } public static com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 `DeleteServiceLevelObjective` request.
    * 
* * Protobuf type {@code google.monitoring.v3.DeleteServiceLevelObjectiveRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.DeleteServiceLevelObjectiveRequest) com.google.monitoring.v3.DeleteServiceLevelObjectiveRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_DeleteServiceLevelObjectiveRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_DeleteServiceLevelObjectiveRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_DeleteServiceLevelObjectiveRequest_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_DeleteServiceLevelObjectiveRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest.class, com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest.Builder.class); + com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest.class, + com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest.Builder.class); } // Construct using com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest.newBuilder() @@ -322,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_DeleteServiceLevelObjectiveRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_DeleteServiceLevelObjectiveRequest_descriptor; } @java.lang.Override @@ -362,7 +399,8 @@ public com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest build() { @java.lang.Override public com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest buildPartial() { - com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest result = new com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest(this); + com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest result = + new com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +410,39 @@ public com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest 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.monitoring.v3.DeleteServiceLevelObjectiveRequest) { - return mergeFrom((com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest)other); + return mergeFrom((com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest other) { - if (other == com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +475,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,19 +488,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. Resource name of the `ServiceLevelObjective` to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -468,21 +513,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the `ServiceLevelObjective` to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -490,64 +538,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the `ServiceLevelObjective` to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the `ServiceLevelObjective` to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the `ServiceLevelObjective` to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -557,12 +618,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.DeleteServiceLevelObjectiveRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.DeleteServiceLevelObjectiveRequest) private static final com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest(); } @@ -571,16 +632,16 @@ public static com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteServiceLevelObjectiveRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteServiceLevelObjectiveRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteServiceLevelObjectiveRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteServiceLevelObjectiveRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -595,6 +656,4 @@ public com.google.protobuf.Parser getParserF public com.google.monitoring.v3.DeleteServiceLevelObjectiveRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceLevelObjectiveRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceLevelObjectiveRequestOrBuilder.java new file mode 100644 index 00000000..5e758a38 --- /dev/null +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceLevelObjectiveRequestOrBuilder.java @@ -0,0 +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/monitoring/v3/service_service.proto + +package com.google.monitoring.v3; + +public interface DeleteServiceLevelObjectiveRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.monitoring.v3.DeleteServiceLevelObjectiveRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Resource name of the `ServiceLevelObjective` to delete. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Resource name of the `ServiceLevelObjective` to delete. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceRequest.java similarity index 67% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceRequest.java index aa75269b..34047b1c 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/service_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `DeleteService` request.
  * 
* * Protobuf type {@code google.monitoring.v3.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.monitoring.v3.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() { name_ = ""; } @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; } + private DeleteServiceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,53 +70,61 @@ private DeleteServiceRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_DeleteServiceRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_DeleteServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_DeleteServiceRequest_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_DeleteServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.DeleteServiceRequest.class, com.google.monitoring.v3.DeleteServiceRequest.Builder.class); + com.google.monitoring.v3.DeleteServiceRequest.class, + com.google.monitoring.v3.DeleteServiceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. Resource name of the `Service` to delete. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -108,30 +133,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Resource name of the `Service` to delete. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,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.monitoring.v3.DeleteServiceRequest)) { return super.equals(obj); } - com.google.monitoring.v3.DeleteServiceRequest other = (com.google.monitoring.v3.DeleteServiceRequest) obj; + com.google.monitoring.v3.DeleteServiceRequest other = + (com.google.monitoring.v3.DeleteServiceRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -203,118 +230,127 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.DeleteServiceRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.DeleteServiceRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.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.monitoring.v3.DeleteServiceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.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.monitoring.v3.DeleteServiceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.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.monitoring.v3.DeleteServiceRequest 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.monitoring.v3.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.monitoring.v3.DeleteServiceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.DeleteServiceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.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.monitoring.v3.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.monitoring.v3.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.monitoring.v3.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; } /** + * + * *
    * The `DeleteService` request.
    * 
* * Protobuf type {@code google.monitoring.v3.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.monitoring.v3.DeleteServiceRequest) com.google.monitoring.v3.DeleteServiceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_DeleteServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_DeleteServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_DeleteServiceRequest_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_DeleteServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.DeleteServiceRequest.class, com.google.monitoring.v3.DeleteServiceRequest.Builder.class); + com.google.monitoring.v3.DeleteServiceRequest.class, + com.google.monitoring.v3.DeleteServiceRequest.Builder.class); } // Construct using com.google.monitoring.v3.DeleteServiceRequest.newBuilder() @@ -322,16 +358,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +376,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_DeleteServiceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_DeleteServiceRequest_descriptor; } @java.lang.Override @@ -362,7 +397,8 @@ public com.google.monitoring.v3.DeleteServiceRequest build() { @java.lang.Override public com.google.monitoring.v3.DeleteServiceRequest buildPartial() { - com.google.monitoring.v3.DeleteServiceRequest result = new com.google.monitoring.v3.DeleteServiceRequest(this); + com.google.monitoring.v3.DeleteServiceRequest result = + new com.google.monitoring.v3.DeleteServiceRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +408,39 @@ public com.google.monitoring.v3.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.monitoring.v3.DeleteServiceRequest) { - return mergeFrom((com.google.monitoring.v3.DeleteServiceRequest)other); + return mergeFrom((com.google.monitoring.v3.DeleteServiceRequest) other); } else { super.mergeFrom(other); return this; @@ -447,19 +484,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. Resource name of the `Service` to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -468,21 +509,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the `Service` to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -490,64 +534,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the `Service` to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the `Service` to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the `Service` to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -557,12 +614,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.DeleteServiceRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.DeleteServiceRequest) private static final com.google.monitoring.v3.DeleteServiceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.DeleteServiceRequest(); } @@ -571,16 +628,16 @@ public static com.google.monitoring.v3.DeleteServiceRequest getDefaultInstance() 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 { - return new DeleteServiceRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteServiceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -595,6 +652,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.DeleteServiceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceRequestOrBuilder.java new file mode 100644 index 00000000..47244917 --- /dev/null +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteServiceRequestOrBuilder.java @@ -0,0 +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/monitoring/v3/service_service.proto + +package com.google.monitoring.v3; + +public interface DeleteServiceRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.monitoring.v3.DeleteServiceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Resource name of the `Service` to delete. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Resource name of the `Service` to delete. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequest.java similarity index 64% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequest.java index 205a48b4..1e1b5c65 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequest.java @@ -1,40 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/uptime_service.proto package com.google.monitoring.v3; /** + * + * *
  * The protocol for the `DeleteUptimeCheckConfig` request.
  * 
* * Protobuf type {@code google.monitoring.v3.DeleteUptimeCheckConfigRequest} */ -public final class DeleteUptimeCheckConfigRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteUptimeCheckConfigRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.DeleteUptimeCheckConfigRequest) DeleteUptimeCheckConfigRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteUptimeCheckConfigRequest.newBuilder() to construct. - private DeleteUptimeCheckConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteUptimeCheckConfigRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteUptimeCheckConfigRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteUptimeCheckConfigRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteUptimeCheckConfigRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,53 +71,61 @@ private DeleteUptimeCheckConfigRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_DeleteUptimeCheckConfigRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.UptimeServiceProto + .internal_static_google_monitoring_v3_DeleteUptimeCheckConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_DeleteUptimeCheckConfigRequest_fieldAccessorTable + return com.google.monitoring.v3.UptimeServiceProto + .internal_static_google_monitoring_v3_DeleteUptimeCheckConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.DeleteUptimeCheckConfigRequest.class, com.google.monitoring.v3.DeleteUptimeCheckConfigRequest.Builder.class); + com.google.monitoring.v3.DeleteUptimeCheckConfigRequest.class, + com.google.monitoring.v3.DeleteUptimeCheckConfigRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The Uptime check configuration to delete. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -108,30 +134,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The Uptime check configuration to delete. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +168,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +180,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +204,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.DeleteUptimeCheckConfigRequest)) { return super.equals(obj); } - com.google.monitoring.v3.DeleteUptimeCheckConfigRequest other = (com.google.monitoring.v3.DeleteUptimeCheckConfigRequest) obj; + com.google.monitoring.v3.DeleteUptimeCheckConfigRequest other = + (com.google.monitoring.v3.DeleteUptimeCheckConfigRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +232,127 @@ public int hashCode() { } public static com.google.monitoring.v3.DeleteUptimeCheckConfigRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.DeleteUptimeCheckConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.DeleteUptimeCheckConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.DeleteUptimeCheckConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.DeleteUptimeCheckConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.DeleteUptimeCheckConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.DeleteUptimeCheckConfigRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.DeleteUptimeCheckConfigRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.DeleteUptimeCheckConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.DeleteUptimeCheckConfigRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.DeleteUptimeCheckConfigRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.DeleteUptimeCheckConfigRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.DeleteUptimeCheckConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.DeleteUptimeCheckConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.DeleteUptimeCheckConfigRequest prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.DeleteUptimeCheckConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 protocol for the `DeleteUptimeCheckConfig` request.
    * 
* * Protobuf type {@code google.monitoring.v3.DeleteUptimeCheckConfigRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.DeleteUptimeCheckConfigRequest) com.google.monitoring.v3.DeleteUptimeCheckConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_DeleteUptimeCheckConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.UptimeServiceProto + .internal_static_google_monitoring_v3_DeleteUptimeCheckConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_DeleteUptimeCheckConfigRequest_fieldAccessorTable + return com.google.monitoring.v3.UptimeServiceProto + .internal_static_google_monitoring_v3_DeleteUptimeCheckConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.DeleteUptimeCheckConfigRequest.class, com.google.monitoring.v3.DeleteUptimeCheckConfigRequest.Builder.class); + com.google.monitoring.v3.DeleteUptimeCheckConfigRequest.class, + com.google.monitoring.v3.DeleteUptimeCheckConfigRequest.Builder.class); } // Construct using com.google.monitoring.v3.DeleteUptimeCheckConfigRequest.newBuilder() @@ -322,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_DeleteUptimeCheckConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.UptimeServiceProto + .internal_static_google_monitoring_v3_DeleteUptimeCheckConfigRequest_descriptor; } @java.lang.Override @@ -362,7 +399,8 @@ public com.google.monitoring.v3.DeleteUptimeCheckConfigRequest build() { @java.lang.Override public com.google.monitoring.v3.DeleteUptimeCheckConfigRequest buildPartial() { - com.google.monitoring.v3.DeleteUptimeCheckConfigRequest result = new com.google.monitoring.v3.DeleteUptimeCheckConfigRequest(this); + com.google.monitoring.v3.DeleteUptimeCheckConfigRequest result = + new com.google.monitoring.v3.DeleteUptimeCheckConfigRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +410,39 @@ public com.google.monitoring.v3.DeleteUptimeCheckConfigRequest 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.monitoring.v3.DeleteUptimeCheckConfigRequest) { - return mergeFrom((com.google.monitoring.v3.DeleteUptimeCheckConfigRequest)other); + return mergeFrom((com.google.monitoring.v3.DeleteUptimeCheckConfigRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.DeleteUptimeCheckConfigRequest other) { - if (other == com.google.monitoring.v3.DeleteUptimeCheckConfigRequest.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.DeleteUptimeCheckConfigRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +475,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.DeleteUptimeCheckConfigRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.DeleteUptimeCheckConfigRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,19 +488,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The Uptime check configuration to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -468,21 +513,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The Uptime check configuration to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -490,64 +538,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The Uptime check configuration to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The Uptime check configuration to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The Uptime check configuration to delete. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -557,12 +618,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.DeleteUptimeCheckConfigRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.DeleteUptimeCheckConfigRequest) private static final com.google.monitoring.v3.DeleteUptimeCheckConfigRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.DeleteUptimeCheckConfigRequest(); } @@ -571,16 +632,16 @@ public static com.google.monitoring.v3.DeleteUptimeCheckConfigRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteUptimeCheckConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteUptimeCheckConfigRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteUptimeCheckConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteUptimeCheckConfigRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -595,6 +656,4 @@ public com.google.protobuf.Parser getParserForTy public com.google.monitoring.v3.DeleteUptimeCheckConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequestOrBuilder.java new file mode 100644 index 00000000..250843a8 --- /dev/null +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DeleteUptimeCheckConfigRequestOrBuilder.java @@ -0,0 +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/monitoring/v3/uptime_service.proto + +package com.google.monitoring.v3; + +public interface DeleteUptimeCheckConfigRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.monitoring.v3.DeleteUptimeCheckConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The Uptime check configuration to delete. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The Uptime check configuration to delete. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DistributionCut.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DistributionCut.java similarity index 73% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DistributionCut.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DistributionCut.java index 7d2dbdf8..3fe83483 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DistributionCut.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DistributionCut.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/service.proto package com.google.monitoring.v3; /** + * + * *
  * A `DistributionCut` defines a `TimeSeries` and thresholds used for measuring
  * good service and total service. The `TimeSeries` must have `ValueType =
@@ -14,31 +31,31 @@
  *
  * Protobuf type {@code google.monitoring.v3.DistributionCut}
  */
-public final class DistributionCut extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DistributionCut extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.DistributionCut)
     DistributionCutOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DistributionCut.newBuilder() to construct.
   private DistributionCut(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DistributionCut() {
     distributionFilter_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DistributionCut();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private DistributionCut(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,60 +74,67 @@ private DistributionCut(
           case 0:
             done = true;
             break;
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            distributionFilter_ = s;
-            break;
-          }
-          case 42: {
-            com.google.monitoring.v3.Range.Builder subBuilder = null;
-            if (range_ != null) {
-              subBuilder = range_.toBuilder();
+              distributionFilter_ = s;
+              break;
             }
-            range_ = input.readMessage(com.google.monitoring.v3.Range.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(range_);
-              range_ = subBuilder.buildPartial();
+          case 42:
+            {
+              com.google.monitoring.v3.Range.Builder subBuilder = null;
+              if (range_ != null) {
+                subBuilder = range_.toBuilder();
+              }
+              range_ =
+                  input.readMessage(com.google.monitoring.v3.Range.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(range_);
+                range_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_DistributionCut_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.monitoring.v3.ServiceMonitoringProto
+        .internal_static_google_monitoring_v3_DistributionCut_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_DistributionCut_fieldAccessorTable
+    return com.google.monitoring.v3.ServiceMonitoringProto
+        .internal_static_google_monitoring_v3_DistributionCut_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.DistributionCut.class, com.google.monitoring.v3.DistributionCut.Builder.class);
+            com.google.monitoring.v3.DistributionCut.class,
+            com.google.monitoring.v3.DistributionCut.Builder.class);
   }
 
   public static final int DISTRIBUTION_FILTER_FIELD_NUMBER = 4;
   private volatile java.lang.Object distributionFilter_;
   /**
+   *
+   *
    * 
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` aggregating values. Must have `ValueType =
@@ -118,6 +142,7 @@ private DistributionCut(
    * 
* * string distribution_filter = 4; + * * @return The distributionFilter. */ @java.lang.Override @@ -126,14 +151,15 @@ public java.lang.String getDistributionFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); distributionFilter_ = s; return s; } } /** + * + * *
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` aggregating values. Must have `ValueType =
@@ -141,16 +167,15 @@ public java.lang.String getDistributionFilter() {
    * 
* * string distribution_filter = 4; + * * @return The bytes for distributionFilter. */ @java.lang.Override - public com.google.protobuf.ByteString - getDistributionFilterBytes() { + public com.google.protobuf.ByteString getDistributionFilterBytes() { java.lang.Object ref = distributionFilter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); distributionFilter_ = b; return b; } else { @@ -161,12 +186,15 @@ public java.lang.String getDistributionFilter() { public static final int RANGE_FIELD_NUMBER = 5; private com.google.monitoring.v3.Range range_; /** + * + * *
    * Range of values considered "good." For a one-sided range, set one bound to
    * an infinite value.
    * 
* * .google.monitoring.v3.Range range = 5; + * * @return Whether the range field is set. */ @java.lang.Override @@ -174,12 +202,15 @@ public boolean hasRange() { return range_ != null; } /** + * + * *
    * Range of values considered "good." For a one-sided range, set one bound to
    * an infinite value.
    * 
* * .google.monitoring.v3.Range range = 5; + * * @return The range. */ @java.lang.Override @@ -187,6 +218,8 @@ public com.google.monitoring.v3.Range getRange() { return range_ == null ? com.google.monitoring.v3.Range.getDefaultInstance() : range_; } /** + * + * *
    * Range of values considered "good." For a one-sided range, set one bound to
    * an infinite value.
@@ -200,6 +233,7 @@ public com.google.monitoring.v3.RangeOrBuilder getRangeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -211,8 +245,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(distributionFilter_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 4, distributionFilter_);
     }
@@ -232,8 +265,7 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, distributionFilter_);
     }
     if (range_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getRange());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getRange());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -243,19 +275,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.monitoring.v3.DistributionCut)) {
       return super.equals(obj);
     }
     com.google.monitoring.v3.DistributionCut other = (com.google.monitoring.v3.DistributionCut) obj;
 
-    if (!getDistributionFilter()
-        .equals(other.getDistributionFilter())) return false;
+    if (!getDistributionFilter().equals(other.getDistributionFilter())) return false;
     if (hasRange() != other.hasRange()) return false;
     if (hasRange()) {
-      if (!getRange()
-          .equals(other.getRange())) return false;
+      if (!getRange().equals(other.getRange())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -279,97 +309,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.monitoring.v3.DistributionCut parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.monitoring.v3.DistributionCut parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.monitoring.v3.DistributionCut parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.monitoring.v3.DistributionCut parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.monitoring.v3.DistributionCut parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.monitoring.v3.DistributionCut parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.monitoring.v3.DistributionCut parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.monitoring.v3.DistributionCut 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.monitoring.v3.DistributionCut parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.monitoring.v3.DistributionCut parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.monitoring.v3.DistributionCut parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.monitoring.v3.DistributionCut parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.monitoring.v3.DistributionCut parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.monitoring.v3.DistributionCut parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.monitoring.v3.DistributionCut prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder 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 `DistributionCut` defines a `TimeSeries` and thresholds used for measuring
    * good service and total service. The `TimeSeries` must have `ValueType =
@@ -380,21 +417,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.monitoring.v3.DistributionCut}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.DistributionCut)
       com.google.monitoring.v3.DistributionCutOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_DistributionCut_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.monitoring.v3.ServiceMonitoringProto
+          .internal_static_google_monitoring_v3_DistributionCut_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_DistributionCut_fieldAccessorTable
+      return com.google.monitoring.v3.ServiceMonitoringProto
+          .internal_static_google_monitoring_v3_DistributionCut_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.DistributionCut.class, com.google.monitoring.v3.DistributionCut.Builder.class);
+              com.google.monitoring.v3.DistributionCut.class,
+              com.google.monitoring.v3.DistributionCut.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.DistributionCut.newBuilder()
@@ -402,16 +441,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -427,9 +465,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_DistributionCut_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.monitoring.v3.ServiceMonitoringProto
+          .internal_static_google_monitoring_v3_DistributionCut_descriptor;
     }
 
     @java.lang.Override
@@ -448,7 +486,8 @@ public com.google.monitoring.v3.DistributionCut build() {
 
     @java.lang.Override
     public com.google.monitoring.v3.DistributionCut buildPartial() {
-      com.google.monitoring.v3.DistributionCut result = new com.google.monitoring.v3.DistributionCut(this);
+      com.google.monitoring.v3.DistributionCut result =
+          new com.google.monitoring.v3.DistributionCut(this);
       result.distributionFilter_ = distributionFilter_;
       if (rangeBuilder_ == null) {
         result.range_ = range_;
@@ -463,38 +502,39 @@ public com.google.monitoring.v3.DistributionCut 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.monitoring.v3.DistributionCut) {
-        return mergeFrom((com.google.monitoring.v3.DistributionCut)other);
+        return mergeFrom((com.google.monitoring.v3.DistributionCut) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -541,6 +581,8 @@ public Builder mergeFrom(
 
     private java.lang.Object distributionFilter_ = "";
     /**
+     *
+     *
      * 
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` aggregating values. Must have `ValueType =
@@ -548,13 +590,13 @@ public Builder mergeFrom(
      * 
* * string distribution_filter = 4; + * * @return The distributionFilter. */ public java.lang.String getDistributionFilter() { java.lang.Object ref = distributionFilter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); distributionFilter_ = s; return s; @@ -563,6 +605,8 @@ public java.lang.String getDistributionFilter() { } } /** + * + * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` aggregating values. Must have `ValueType =
@@ -570,15 +614,14 @@ public java.lang.String getDistributionFilter() {
      * 
* * string distribution_filter = 4; + * * @return The bytes for distributionFilter. */ - public com.google.protobuf.ByteString - getDistributionFilterBytes() { + public com.google.protobuf.ByteString getDistributionFilterBytes() { java.lang.Object ref = distributionFilter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); distributionFilter_ = b; return b; } else { @@ -586,6 +629,8 @@ public java.lang.String getDistributionFilter() { } } /** + * + * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` aggregating values. Must have `ValueType =
@@ -593,20 +638,22 @@ public java.lang.String getDistributionFilter() {
      * 
* * string distribution_filter = 4; + * * @param value The distributionFilter to set. * @return This builder for chaining. */ - public Builder setDistributionFilter( - java.lang.String value) { + public Builder setDistributionFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + distributionFilter_ = value; onChanged(); return this; } /** + * + * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` aggregating values. Must have `ValueType =
@@ -614,15 +661,18 @@ public Builder setDistributionFilter(
      * 
* * string distribution_filter = 4; + * * @return This builder for chaining. */ public Builder clearDistributionFilter() { - + distributionFilter_ = getDefaultInstance().getDistributionFilter(); onChanged(); return this; } /** + * + * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` aggregating values. Must have `ValueType =
@@ -630,16 +680,16 @@ public Builder clearDistributionFilter() {
      * 
* * string distribution_filter = 4; + * * @param value The bytes for distributionFilter to set. * @return This builder for chaining. */ - public Builder setDistributionFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setDistributionFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + distributionFilter_ = value; onChanged(); return this; @@ -647,26 +697,35 @@ public Builder setDistributionFilterBytes( private com.google.monitoring.v3.Range range_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Range, com.google.monitoring.v3.Range.Builder, com.google.monitoring.v3.RangeOrBuilder> rangeBuilder_; + com.google.monitoring.v3.Range, + com.google.monitoring.v3.Range.Builder, + com.google.monitoring.v3.RangeOrBuilder> + rangeBuilder_; /** + * + * *
      * Range of values considered "good." For a one-sided range, set one bound to
      * an infinite value.
      * 
* * .google.monitoring.v3.Range range = 5; + * * @return Whether the range field is set. */ public boolean hasRange() { return rangeBuilder_ != null || range_ != null; } /** + * + * *
      * Range of values considered "good." For a one-sided range, set one bound to
      * an infinite value.
      * 
* * .google.monitoring.v3.Range range = 5; + * * @return The range. */ public com.google.monitoring.v3.Range getRange() { @@ -677,6 +736,8 @@ public com.google.monitoring.v3.Range getRange() { } } /** + * + * *
      * Range of values considered "good." For a one-sided range, set one bound to
      * an infinite value.
@@ -698,6 +759,8 @@ public Builder setRange(com.google.monitoring.v3.Range value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Range of values considered "good." For a one-sided range, set one bound to
      * an infinite value.
@@ -705,8 +768,7 @@ public Builder setRange(com.google.monitoring.v3.Range value) {
      *
      * .google.monitoring.v3.Range range = 5;
      */
-    public Builder setRange(
-        com.google.monitoring.v3.Range.Builder builderForValue) {
+    public Builder setRange(com.google.monitoring.v3.Range.Builder builderForValue) {
       if (rangeBuilder_ == null) {
         range_ = builderForValue.build();
         onChanged();
@@ -717,6 +779,8 @@ public Builder setRange(
       return this;
     }
     /**
+     *
+     *
      * 
      * Range of values considered "good." For a one-sided range, set one bound to
      * an infinite value.
@@ -728,7 +792,7 @@ public Builder mergeRange(com.google.monitoring.v3.Range value) {
       if (rangeBuilder_ == null) {
         if (range_ != null) {
           range_ =
-            com.google.monitoring.v3.Range.newBuilder(range_).mergeFrom(value).buildPartial();
+              com.google.monitoring.v3.Range.newBuilder(range_).mergeFrom(value).buildPartial();
         } else {
           range_ = value;
         }
@@ -740,6 +804,8 @@ public Builder mergeRange(com.google.monitoring.v3.Range value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Range of values considered "good." For a one-sided range, set one bound to
      * an infinite value.
@@ -759,6 +825,8 @@ public Builder clearRange() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Range of values considered "good." For a one-sided range, set one bound to
      * an infinite value.
@@ -767,11 +835,13 @@ public Builder clearRange() {
      * .google.monitoring.v3.Range range = 5;
      */
     public com.google.monitoring.v3.Range.Builder getRangeBuilder() {
-      
+
       onChanged();
       return getRangeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Range of values considered "good." For a one-sided range, set one bound to
      * an infinite value.
@@ -783,11 +853,12 @@ public com.google.monitoring.v3.RangeOrBuilder getRangeOrBuilder() {
       if (rangeBuilder_ != null) {
         return rangeBuilder_.getMessageOrBuilder();
       } else {
-        return range_ == null ?
-            com.google.monitoring.v3.Range.getDefaultInstance() : range_;
+        return range_ == null ? com.google.monitoring.v3.Range.getDefaultInstance() : range_;
       }
     }
     /**
+     *
+     *
      * 
      * Range of values considered "good." For a one-sided range, set one bound to
      * an infinite value.
@@ -796,21 +867,24 @@ public com.google.monitoring.v3.RangeOrBuilder getRangeOrBuilder() {
      * .google.monitoring.v3.Range range = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.monitoring.v3.Range, com.google.monitoring.v3.Range.Builder, com.google.monitoring.v3.RangeOrBuilder> 
+            com.google.monitoring.v3.Range,
+            com.google.monitoring.v3.Range.Builder,
+            com.google.monitoring.v3.RangeOrBuilder>
         getRangeFieldBuilder() {
       if (rangeBuilder_ == null) {
-        rangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.Range, com.google.monitoring.v3.Range.Builder, com.google.monitoring.v3.RangeOrBuilder>(
-                getRange(),
-                getParentForChildren(),
-                isClean());
+        rangeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.monitoring.v3.Range,
+                com.google.monitoring.v3.Range.Builder,
+                com.google.monitoring.v3.RangeOrBuilder>(
+                getRange(), getParentForChildren(), isClean());
         range_ = null;
       }
       return rangeBuilder_;
     }
+
     @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);
     }
 
@@ -820,12 +894,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.monitoring.v3.DistributionCut)
   }
 
   // @@protoc_insertion_point(class_scope:google.monitoring.v3.DistributionCut)
   private static final com.google.monitoring.v3.DistributionCut DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.monitoring.v3.DistributionCut();
   }
@@ -834,16 +908,16 @@ public static com.google.monitoring.v3.DistributionCut getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public DistributionCut parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new DistributionCut(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public DistributionCut parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new DistributionCut(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -858,6 +932,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.monitoring.v3.DistributionCut getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DistributionCutOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DistributionCutOrBuilder.java
similarity index 70%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DistributionCutOrBuilder.java
rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DistributionCutOrBuilder.java
index bc6dd007..b5d2ddff 100644
--- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DistributionCutOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DistributionCutOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/monitoring/v3/service.proto
 
 package com.google.monitoring.v3;
 
-public interface DistributionCutOrBuilder extends
+public interface DistributionCutOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.monitoring.v3.DistributionCut)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` aggregating values. Must have `ValueType =
@@ -15,10 +33,13 @@ public interface DistributionCutOrBuilder extends
    * 
* * string distribution_filter = 4; + * * @return The distributionFilter. */ java.lang.String getDistributionFilter(); /** + * + * *
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` aggregating values. Must have `ValueType =
@@ -26,32 +47,40 @@ public interface DistributionCutOrBuilder extends
    * 
* * string distribution_filter = 4; + * * @return The bytes for distributionFilter. */ - com.google.protobuf.ByteString - getDistributionFilterBytes(); + com.google.protobuf.ByteString getDistributionFilterBytes(); /** + * + * *
    * Range of values considered "good." For a one-sided range, set one bound to
    * an infinite value.
    * 
* * .google.monitoring.v3.Range range = 5; + * * @return Whether the range field is set. */ boolean hasRange(); /** + * + * *
    * Range of values considered "good." For a one-sided range, set one bound to
    * an infinite value.
    * 
* * .google.monitoring.v3.Range range = 5; + * * @return The range. */ com.google.monitoring.v3.Range getRange(); /** + * + * *
    * Range of values considered "good." For a one-sided range, set one bound to
    * an infinite value.
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabels.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabels.java
similarity index 63%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabels.java
rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabels.java
index 2b249460..80c27efd 100644
--- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabels.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabels.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/monitoring/v3/dropped_labels.proto
 
 package com.google.monitoring.v3;
 
 /**
+ *
+ *
  * 
  * A set of (label, value) pairs that were removed from a Distribution
  * time series during aggregation and then added as an attachment to a
@@ -23,30 +40,29 @@
  *
  * Protobuf type {@code google.monitoring.v3.DroppedLabels}
  */
-public final class DroppedLabels extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DroppedLabels extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.DroppedLabels)
     DroppedLabelsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DroppedLabels.newBuilder() to construct.
   private DroppedLabels(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private DroppedLabels() {
-  }
+
+  private DroppedLabels() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DroppedLabels();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private DroppedLabels(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -66,82 +82,82 @@ private DroppedLabels(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              label_ = com.google.protobuf.MapField.newMapField(
-                  LabelDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                label_ =
+                    com.google.protobuf.MapField.newMapField(LabelDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
+              }
+              com.google.protobuf.MapEntry label__ =
+                  input.readMessage(
+                      LabelDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              label_.getMutableMap().put(label__.getKey(), label__.getValue());
+              break;
             }
-            com.google.protobuf.MapEntry
-            label__ = input.readMessage(
-                LabelDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            label_.getMutableMap().put(
-                label__.getKey(), label__.getValue());
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.monitoring.v3.DroppedLabelsProto.internal_static_google_monitoring_v3_DroppedLabels_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.monitoring.v3.DroppedLabelsProto
+        .internal_static_google_monitoring_v3_DroppedLabels_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 internalGetLabel();
       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.monitoring.v3.DroppedLabelsProto.internal_static_google_monitoring_v3_DroppedLabels_fieldAccessorTable
+    return com.google.monitoring.v3.DroppedLabelsProto
+        .internal_static_google_monitoring_v3_DroppedLabels_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.DroppedLabels.class, com.google.monitoring.v3.DroppedLabels.Builder.class);
+            com.google.monitoring.v3.DroppedLabels.class,
+            com.google.monitoring.v3.DroppedLabels.Builder.class);
   }
 
   public static final int LABEL_FIELD_NUMBER = 1;
+
   private static final class LabelDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry<
-        java.lang.String, java.lang.String> defaultEntry =
-            com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.monitoring.v3.DroppedLabelsProto.internal_static_google_monitoring_v3_DroppedLabels_LabelEntry_descriptor, 
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "");
-  }
-  private com.google.protobuf.MapField<
-      java.lang.String, java.lang.String> label_;
-  private com.google.protobuf.MapField
-  internalGetLabel() {
+    static final com.google.protobuf.MapEntry defaultEntry =
+        com.google.protobuf.MapEntry.newDefaultInstance(
+            com.google.monitoring.v3.DroppedLabelsProto
+                .internal_static_google_monitoring_v3_DroppedLabels_LabelEntry_descriptor,
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "",
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "");
+  }
+
+  private com.google.protobuf.MapField label_;
+
+  private com.google.protobuf.MapField internalGetLabel() {
     if (label_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(
-          LabelDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(LabelDefaultEntryHolder.defaultEntry);
     }
     return label_;
   }
@@ -150,28 +166,30 @@ public int getLabelCount() {
     return internalGetLabel().getMap().size();
   }
   /**
+   *
+   *
    * 
    * Map from label to its value, for all labels dropped in any aggregation.
    * 
* * map<string, string> label = 1; */ - @java.lang.Override - public boolean containsLabel( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } + public boolean containsLabel(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } return internalGetLabel().getMap().containsKey(key); } - /** - * Use {@link #getLabelMap()} instead. - */ + /** Use {@link #getLabelMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabel() { return getLabelMap(); } /** + * + * *
    * Map from label to its value, for all labels dropped in any aggregation.
    * 
@@ -179,11 +197,12 @@ public java.util.Map getLabel() { * map<string, string> label = 1; */ @java.lang.Override - public java.util.Map getLabelMap() { return internalGetLabel().getMap(); } /** + * + * *
    * Map from label to its value, for all labels dropped in any aggregation.
    * 
@@ -191,16 +210,16 @@ public java.util.Map getLabelMap() { * map<string, string> label = 1; */ @java.lang.Override - - public java.lang.String getLabelOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetLabel().getMap(); + public java.lang.String getLabelOrDefault(java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = internalGetLabel().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Map from label to its value, for all labels dropped in any aggregation.
    * 
@@ -208,12 +227,11 @@ public java.lang.String getLabelOrDefault( * map<string, string> label = 1; */ @java.lang.Override - - public java.lang.String getLabelOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetLabel().getMap(); + public java.lang.String getLabelOrThrow(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = internalGetLabel().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -221,6 +239,7 @@ public java.lang.String getLabelOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -232,14 +251,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabel(), - LabelDefaultEntryHolder.defaultEntry, - 1); + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabel(), LabelDefaultEntryHolder.defaultEntry, 1); unknownFields.writeTo(output); } @@ -249,15 +263,15 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - for (java.util.Map.Entry entry - : internalGetLabel().getMap().entrySet()) { - com.google.protobuf.MapEntry - label__ = LabelDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, label__); + for (java.util.Map.Entry entry : + internalGetLabel().getMap().entrySet()) { + com.google.protobuf.MapEntry label__ = + LabelDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, label__); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -267,15 +281,14 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.DroppedLabels)) { return super.equals(obj); } com.google.monitoring.v3.DroppedLabels other = (com.google.monitoring.v3.DroppedLabels) obj; - if (!internalGetLabel().equals( - other.internalGetLabel())) return false; + if (!internalGetLabel().equals(other.internalGetLabel())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -296,97 +309,104 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.DroppedLabels parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.DroppedLabels parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.DroppedLabels parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.DroppedLabels parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.DroppedLabels parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.DroppedLabels parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.DroppedLabels parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.DroppedLabels 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.monitoring.v3.DroppedLabels parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.DroppedLabels parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.DroppedLabels parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.DroppedLabels parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.DroppedLabels parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.DroppedLabels prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 set of (label, value) pairs that were removed from a Distribution
    * time series during aggregation and then added as an attachment to a
@@ -406,43 +426,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.monitoring.v3.DroppedLabels}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.DroppedLabels)
       com.google.monitoring.v3.DroppedLabelsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.monitoring.v3.DroppedLabelsProto.internal_static_google_monitoring_v3_DroppedLabels_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.monitoring.v3.DroppedLabelsProto
+          .internal_static_google_monitoring_v3_DroppedLabels_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 1:
           return internalGetLabel();
         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 internalGetMutableLabel();
         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.monitoring.v3.DroppedLabelsProto.internal_static_google_monitoring_v3_DroppedLabels_fieldAccessorTable
+      return com.google.monitoring.v3.DroppedLabelsProto
+          .internal_static_google_monitoring_v3_DroppedLabels_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.DroppedLabels.class, com.google.monitoring.v3.DroppedLabels.Builder.class);
+              com.google.monitoring.v3.DroppedLabels.class,
+              com.google.monitoring.v3.DroppedLabels.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.DroppedLabels.newBuilder()
@@ -450,16 +470,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -468,9 +487,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.monitoring.v3.DroppedLabelsProto.internal_static_google_monitoring_v3_DroppedLabels_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.monitoring.v3.DroppedLabelsProto
+          .internal_static_google_monitoring_v3_DroppedLabels_descriptor;
     }
 
     @java.lang.Override
@@ -489,7 +508,8 @@ public com.google.monitoring.v3.DroppedLabels build() {
 
     @java.lang.Override
     public com.google.monitoring.v3.DroppedLabels buildPartial() {
-      com.google.monitoring.v3.DroppedLabels result = new com.google.monitoring.v3.DroppedLabels(this);
+      com.google.monitoring.v3.DroppedLabels result =
+          new com.google.monitoring.v3.DroppedLabels(this);
       int from_bitField0_ = bitField0_;
       result.label_ = internalGetLabel();
       result.label_.makeImmutable();
@@ -501,38 +521,39 @@ public com.google.monitoring.v3.DroppedLabels 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.monitoring.v3.DroppedLabels) {
-        return mergeFrom((com.google.monitoring.v3.DroppedLabels)other);
+        return mergeFrom((com.google.monitoring.v3.DroppedLabels) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -541,8 +562,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
 
     public Builder mergeFrom(com.google.monitoring.v3.DroppedLabels other) {
       if (other == com.google.monitoring.v3.DroppedLabels.getDefaultInstance()) return this;
-      internalGetMutableLabel().mergeFrom(
-          other.internalGetLabel());
+      internalGetMutableLabel().mergeFrom(other.internalGetLabel());
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
       return this;
@@ -571,24 +591,24 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
-    private com.google.protobuf.MapField<
-        java.lang.String, java.lang.String> label_;
-    private com.google.protobuf.MapField
-    internalGetLabel() {
+    private com.google.protobuf.MapField label_;
+
+    private com.google.protobuf.MapField internalGetLabel() {
       if (label_ == null) {
-        return com.google.protobuf.MapField.emptyMapField(
-            LabelDefaultEntryHolder.defaultEntry);
+        return com.google.protobuf.MapField.emptyMapField(LabelDefaultEntryHolder.defaultEntry);
       }
       return label_;
     }
+
     private com.google.protobuf.MapField
-    internalGetMutableLabel() {
-      onChanged();;
+        internalGetMutableLabel() {
+      onChanged();
+      ;
       if (label_ == null) {
-        label_ = com.google.protobuf.MapField.newMapField(
-            LabelDefaultEntryHolder.defaultEntry);
+        label_ = com.google.protobuf.MapField.newMapField(LabelDefaultEntryHolder.defaultEntry);
       }
       if (!label_.isMutable()) {
         label_ = label_.copy();
@@ -600,28 +620,30 @@ public int getLabelCount() {
       return internalGetLabel().getMap().size();
     }
     /**
+     *
+     *
      * 
      * Map from label to its value, for all labels dropped in any aggregation.
      * 
* * map<string, string> label = 1; */ - @java.lang.Override - public boolean containsLabel( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } + public boolean containsLabel(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } return internalGetLabel().getMap().containsKey(key); } - /** - * Use {@link #getLabelMap()} instead. - */ + /** Use {@link #getLabelMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabel() { return getLabelMap(); } /** + * + * *
      * Map from label to its value, for all labels dropped in any aggregation.
      * 
@@ -629,11 +651,12 @@ public java.util.Map getLabel() { * map<string, string> label = 1; */ @java.lang.Override - public java.util.Map getLabelMap() { return internalGetLabel().getMap(); } /** + * + * *
      * Map from label to its value, for all labels dropped in any aggregation.
      * 
@@ -641,16 +664,16 @@ public java.util.Map getLabelMap() { * map<string, string> label = 1; */ @java.lang.Override - - public java.lang.String getLabelOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetLabel().getMap(); + public java.lang.String getLabelOrDefault(java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = internalGetLabel().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Map from label to its value, for all labels dropped in any aggregation.
      * 
@@ -658,12 +681,11 @@ public java.lang.String getLabelOrDefault( * map<string, string> label = 1; */ @java.lang.Override - - public java.lang.String getLabelOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetLabel().getMap(); + public java.lang.String getLabelOrThrow(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = internalGetLabel().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -671,66 +693,65 @@ public java.lang.String getLabelOrThrow( } public Builder clearLabel() { - internalGetMutableLabel().getMutableMap() - .clear(); + internalGetMutableLabel().getMutableMap().clear(); return this; } /** + * + * *
      * Map from label to its value, for all labels dropped in any aggregation.
      * 
* * map<string, string> label = 1; */ - - public Builder removeLabel( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - internalGetMutableLabel().getMutableMap() - .remove(key); + public Builder removeLabel(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + internalGetMutableLabel().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabel() { + public java.util.Map getMutableLabel() { return internalGetMutableLabel().getMutableMap(); } /** + * + * *
      * Map from label to its value, for all labels dropped in any aggregation.
      * 
* * map<string, string> label = 1; */ - public Builder putLabel( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new java.lang.NullPointerException(); } - if (value == null) { throw new java.lang.NullPointerException(); } - internalGetMutableLabel().getMutableMap() - .put(key, value); + public Builder putLabel(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + if (value == null) { + throw new java.lang.NullPointerException(); + } + internalGetMutableLabel().getMutableMap().put(key, value); return this; } /** + * + * *
      * Map from label to its value, for all labels dropped in any aggregation.
      * 
* * map<string, string> label = 1; */ - - public Builder putAllLabel( - java.util.Map values) { - internalGetMutableLabel().getMutableMap() - .putAll(values); + public Builder putAllLabel(java.util.Map values) { + internalGetMutableLabel().getMutableMap().putAll(values); 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); } @@ -740,12 +761,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.DroppedLabels) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.DroppedLabels) private static final com.google.monitoring.v3.DroppedLabels DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.DroppedLabels(); } @@ -754,16 +775,16 @@ public static com.google.monitoring.v3.DroppedLabels getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DroppedLabels parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DroppedLabels(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DroppedLabels parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DroppedLabels(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -778,6 +799,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.DroppedLabels getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabelsOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabelsOrBuilder.java similarity index 52% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabelsOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabelsOrBuilder.java index eefe22ca..0d0fa812 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabelsOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabelsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/dropped_labels.proto package com.google.monitoring.v3; -public interface DroppedLabelsOrBuilder extends +public interface DroppedLabelsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.DroppedLabels) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Map from label to its value, for all labels dropped in any aggregation.
    * 
@@ -16,48 +34,46 @@ public interface DroppedLabelsOrBuilder extends */ int getLabelCount(); /** + * + * *
    * Map from label to its value, for all labels dropped in any aggregation.
    * 
* * map<string, string> label = 1; */ - boolean containsLabel( - java.lang.String key); - /** - * Use {@link #getLabelMap()} instead. - */ + boolean containsLabel(java.lang.String key); + /** Use {@link #getLabelMap()} instead. */ @java.lang.Deprecated - java.util.Map - getLabel(); + java.util.Map getLabel(); /** + * + * *
    * Map from label to its value, for all labels dropped in any aggregation.
    * 
* * map<string, string> label = 1; */ - java.util.Map - getLabelMap(); + java.util.Map getLabelMap(); /** + * + * *
    * Map from label to its value, for all labels dropped in any aggregation.
    * 
* * map<string, string> label = 1; */ - - java.lang.String getLabelOrDefault( - java.lang.String key, - java.lang.String defaultValue); + java.lang.String getLabelOrDefault(java.lang.String key, java.lang.String defaultValue); /** + * + * *
    * Map from label to its value, for all labels dropped in any aggregation.
    * 
* * map<string, string> label = 1; */ - - java.lang.String getLabelOrThrow( - java.lang.String key); + java.lang.String getLabelOrThrow(java.lang.String key); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabelsProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabelsProto.java new file mode 100644 index 00000000..4e5744ae --- /dev/null +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/DroppedLabelsProto.java @@ -0,0 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/dropped_labels.proto + +package com.google.monitoring.v3; + +public final class DroppedLabelsProto { + private DroppedLabelsProto() {} + + 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_monitoring_v3_DroppedLabels_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_DroppedLabels_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_DroppedLabels_LabelEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_DroppedLabels_LabelEntry_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/monitoring/v3/dropped_labels.pr" + + "oto\022\024google.monitoring.v3\"|\n\rDroppedLabe" + + "ls\022=\n\005label\030\001 \003(\0132..google.monitoring.v3" + + ".DroppedLabels.LabelEntry\032,\n\nLabelEntry\022" + + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\312\001\n\030com." + + "google.monitoring.v3B\022DroppedLabelsProto" + + "P\001Z>google.golang.org/genproto/googleapi" + + "s/monitoring/v3;monitoring\252\002\032Google.Clou" + + "d.Monitoring.V3\312\002\032Google\\Cloud\\Monitorin" + + "g\\V3\352\002\035Google::Cloud::Monitoring::V3b\006pr" + + "oto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + internal_static_google_monitoring_v3_DroppedLabels_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_monitoring_v3_DroppedLabels_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_DroppedLabels_descriptor, + new java.lang.String[] { + "Label", + }); + internal_static_google_monitoring_v3_DroppedLabels_LabelEntry_descriptor = + internal_static_google_monitoring_v3_DroppedLabels_descriptor.getNestedTypes().get(0); + internal_static_google_monitoring_v3_DroppedLabels_LabelEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_DroppedLabels_LabelEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/FolderName.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/FolderName.java similarity index 100% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/FolderName.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/FolderName.java diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequest.java similarity index 66% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequest.java index 2bb02ad8..ace5da25 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/alert_service.proto package com.google.monitoring.v3; /** + * + * *
  * The protocol for the `GetAlertPolicy` request.
  * 
* * Protobuf type {@code google.monitoring.v3.GetAlertPolicyRequest} */ -public final class GetAlertPolicyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetAlertPolicyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.GetAlertPolicyRequest) GetAlertPolicyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetAlertPolicyRequest.newBuilder() to construct. private GetAlertPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetAlertPolicyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetAlertPolicyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetAlertPolicyRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,53 +70,61 @@ private GetAlertPolicyRequest( case 0: done = true; break; - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_GetAlertPolicyRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.AlertServiceProto + .internal_static_google_monitoring_v3_GetAlertPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_GetAlertPolicyRequest_fieldAccessorTable + return com.google.monitoring.v3.AlertServiceProto + .internal_static_google_monitoring_v3_GetAlertPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetAlertPolicyRequest.class, com.google.monitoring.v3.GetAlertPolicyRequest.Builder.class); + com.google.monitoring.v3.GetAlertPolicyRequest.class, + com.google.monitoring.v3.GetAlertPolicyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** + * + * *
    * Required. The alerting policy to retrieve. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
    * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -108,30 +133,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The alerting policy to retrieve. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
    * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); } @@ -176,15 +203,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.monitoring.v3.GetAlertPolicyRequest)) { return super.equals(obj); } - com.google.monitoring.v3.GetAlertPolicyRequest other = (com.google.monitoring.v3.GetAlertPolicyRequest) obj; + com.google.monitoring.v3.GetAlertPolicyRequest other = + (com.google.monitoring.v3.GetAlertPolicyRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -203,118 +230,127 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.GetAlertPolicyRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.GetAlertPolicyRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.GetAlertPolicyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.GetAlertPolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.GetAlertPolicyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.GetAlertPolicyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.GetAlertPolicyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.GetAlertPolicyRequest 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.monitoring.v3.GetAlertPolicyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.GetAlertPolicyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.GetAlertPolicyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.GetAlertPolicyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.GetAlertPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.GetAlertPolicyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.GetAlertPolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 protocol for the `GetAlertPolicy` request.
    * 
* * Protobuf type {@code google.monitoring.v3.GetAlertPolicyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.GetAlertPolicyRequest) com.google.monitoring.v3.GetAlertPolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_GetAlertPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.AlertServiceProto + .internal_static_google_monitoring_v3_GetAlertPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_GetAlertPolicyRequest_fieldAccessorTable + return com.google.monitoring.v3.AlertServiceProto + .internal_static_google_monitoring_v3_GetAlertPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetAlertPolicyRequest.class, com.google.monitoring.v3.GetAlertPolicyRequest.Builder.class); + com.google.monitoring.v3.GetAlertPolicyRequest.class, + com.google.monitoring.v3.GetAlertPolicyRequest.Builder.class); } // Construct using com.google.monitoring.v3.GetAlertPolicyRequest.newBuilder() @@ -322,16 +358,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +376,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_GetAlertPolicyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.AlertServiceProto + .internal_static_google_monitoring_v3_GetAlertPolicyRequest_descriptor; } @java.lang.Override @@ -362,7 +397,8 @@ public com.google.monitoring.v3.GetAlertPolicyRequest build() { @java.lang.Override public com.google.monitoring.v3.GetAlertPolicyRequest buildPartial() { - com.google.monitoring.v3.GetAlertPolicyRequest result = new com.google.monitoring.v3.GetAlertPolicyRequest(this); + com.google.monitoring.v3.GetAlertPolicyRequest result = + new com.google.monitoring.v3.GetAlertPolicyRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +408,39 @@ public com.google.monitoring.v3.GetAlertPolicyRequest 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.monitoring.v3.GetAlertPolicyRequest) { - return mergeFrom((com.google.monitoring.v3.GetAlertPolicyRequest)other); + return mergeFrom((com.google.monitoring.v3.GetAlertPolicyRequest) other); } else { super.mergeFrom(other); return this; @@ -447,19 +484,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The alerting policy to retrieve. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -468,21 +509,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The alerting policy to retrieve. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -490,64 +534,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The alerting policy to retrieve. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The alerting policy to retrieve. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The alerting policy to retrieve. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -557,12 +614,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.GetAlertPolicyRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.GetAlertPolicyRequest) private static final com.google.monitoring.v3.GetAlertPolicyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.GetAlertPolicyRequest(); } @@ -571,16 +628,16 @@ public static com.google.monitoring.v3.GetAlertPolicyRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAlertPolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetAlertPolicyRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAlertPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetAlertPolicyRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -595,6 +652,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.GetAlertPolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequestOrBuilder.java new file mode 100644 index 00000000..c6b5d655 --- /dev/null +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetAlertPolicyRequestOrBuilder.java @@ -0,0 +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/monitoring/v3/alert_service.proto + +package com.google.monitoring.v3; + +public interface GetAlertPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.monitoring.v3.GetAlertPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The alerting policy to retrieve. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
+   * 
+ * + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The alerting policy to retrieve. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
+   * 
+ * + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetGroupRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetGroupRequest.java similarity index 65% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetGroupRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetGroupRequest.java index 51039422..6ef7bb21 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetGroupRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetGroupRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/group_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `GetGroup` request.
  * 
* * Protobuf type {@code google.monitoring.v3.GetGroupRequest} */ -public final class GetGroupRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetGroupRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.GetGroupRequest) GetGroupRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetGroupRequest.newBuilder() to construct. private GetGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetGroupRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetGroupRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetGroupRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,53 +70,61 @@ private GetGroupRequest( case 0: done = true; break; - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_GetGroupRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.GroupServiceProto + .internal_static_google_monitoring_v3_GetGroupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_GetGroupRequest_fieldAccessorTable + return com.google.monitoring.v3.GroupServiceProto + .internal_static_google_monitoring_v3_GetGroupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetGroupRequest.class, com.google.monitoring.v3.GetGroupRequest.Builder.class); + com.google.monitoring.v3.GetGroupRequest.class, + com.google.monitoring.v3.GetGroupRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** + * + * *
    * Required. The group to retrieve. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
    * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -108,30 +133,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The group to retrieve. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
    * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); } @@ -176,15 +203,14 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.GetGroupRequest)) { return super.equals(obj); } com.google.monitoring.v3.GetGroupRequest other = (com.google.monitoring.v3.GetGroupRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -203,118 +229,127 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.GetGroupRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.GetGroupRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.GetGroupRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.GetGroupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.GetGroupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.GetGroupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.GetGroupRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.GetGroupRequest 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.monitoring.v3.GetGroupRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.GetGroupRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.GetGroupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.GetGroupRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.GetGroupRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.GetGroupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.GetGroupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 `GetGroup` request.
    * 
* * Protobuf type {@code google.monitoring.v3.GetGroupRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.GetGroupRequest) com.google.monitoring.v3.GetGroupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_GetGroupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.GroupServiceProto + .internal_static_google_monitoring_v3_GetGroupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_GetGroupRequest_fieldAccessorTable + return com.google.monitoring.v3.GroupServiceProto + .internal_static_google_monitoring_v3_GetGroupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetGroupRequest.class, com.google.monitoring.v3.GetGroupRequest.Builder.class); + com.google.monitoring.v3.GetGroupRequest.class, + com.google.monitoring.v3.GetGroupRequest.Builder.class); } // Construct using com.google.monitoring.v3.GetGroupRequest.newBuilder() @@ -322,16 +357,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +375,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_GetGroupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.GroupServiceProto + .internal_static_google_monitoring_v3_GetGroupRequest_descriptor; } @java.lang.Override @@ -362,7 +396,8 @@ public com.google.monitoring.v3.GetGroupRequest build() { @java.lang.Override public com.google.monitoring.v3.GetGroupRequest buildPartial() { - com.google.monitoring.v3.GetGroupRequest result = new com.google.monitoring.v3.GetGroupRequest(this); + com.google.monitoring.v3.GetGroupRequest result = + new com.google.monitoring.v3.GetGroupRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +407,39 @@ public com.google.monitoring.v3.GetGroupRequest 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.monitoring.v3.GetGroupRequest) { - return mergeFrom((com.google.monitoring.v3.GetGroupRequest)other); + return mergeFrom((com.google.monitoring.v3.GetGroupRequest) other); } else { super.mergeFrom(other); return this; @@ -447,19 +483,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The group to retrieve. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -468,21 +508,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The group to retrieve. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -490,64 +533,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The group to retrieve. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The group to retrieve. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The group to retrieve. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -557,12 +613,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.GetGroupRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.GetGroupRequest) private static final com.google.monitoring.v3.GetGroupRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.GetGroupRequest(); } @@ -571,16 +627,16 @@ public static com.google.monitoring.v3.GetGroupRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetGroupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetGroupRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetGroupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetGroupRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -595,6 +651,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.GetGroupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetGroupRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetGroupRequestOrBuilder.java new file mode 100644 index 00000000..c6518a97 --- /dev/null +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetGroupRequestOrBuilder.java @@ -0,0 +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/monitoring/v3/group_service.proto + +package com.google.monitoring.v3; + +public interface GetGroupRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.monitoring.v3.GetGroupRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The group to retrieve. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
+   * 
+ * + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The group to retrieve. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
+   * 
+ * + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequest.java similarity index 66% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequest.java index 22d2aaf8..3bc32e64 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `GetMetricDescriptor` request.
  * 
* * Protobuf type {@code google.monitoring.v3.GetMetricDescriptorRequest} */ -public final class GetMetricDescriptorRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetMetricDescriptorRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.GetMetricDescriptorRequest) GetMetricDescriptorRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetMetricDescriptorRequest.newBuilder() to construct. private GetMetricDescriptorRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetMetricDescriptorRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetMetricDescriptorRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetMetricDescriptorRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,47 +70,52 @@ private GetMetricDescriptorRequest( case 0: done = true; break; - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_GetMetricDescriptorRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_GetMetricDescriptorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_GetMetricDescriptorRequest_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_GetMetricDescriptorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetMetricDescriptorRequest.class, com.google.monitoring.v3.GetMetricDescriptorRequest.Builder.class); + com.google.monitoring.v3.GetMetricDescriptorRequest.class, + com.google.monitoring.v3.GetMetricDescriptorRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** + * + * *
    * Required. The metric descriptor on which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
@@ -101,7 +123,10 @@ private GetMetricDescriptorRequest(
    * `"compute.googleapis.com/instance/disk/read_bytes_count"`.
    * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,14 +135,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The metric descriptor on which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
@@ -125,17 +151,18 @@ public java.lang.String getName() {
    * `"compute.googleapis.com/instance/disk/read_bytes_count"`.
    * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -144,6 +171,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,8 +183,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); } @@ -180,15 +207,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.GetMetricDescriptorRequest)) { return super.equals(obj); } - com.google.monitoring.v3.GetMetricDescriptorRequest other = (com.google.monitoring.v3.GetMetricDescriptorRequest) obj; + com.google.monitoring.v3.GetMetricDescriptorRequest other = + (com.google.monitoring.v3.GetMetricDescriptorRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -208,117 +235,126 @@ public int hashCode() { } public static com.google.monitoring.v3.GetMetricDescriptorRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.GetMetricDescriptorRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.GetMetricDescriptorRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.GetMetricDescriptorRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.GetMetricDescriptorRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.GetMetricDescriptorRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.GetMetricDescriptorRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.GetMetricDescriptorRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.GetMetricDescriptorRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.GetMetricDescriptorRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.GetMetricDescriptorRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.GetMetricDescriptorRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.GetMetricDescriptorRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.GetMetricDescriptorRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.GetMetricDescriptorRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 `GetMetricDescriptor` request.
    * 
* * Protobuf type {@code google.monitoring.v3.GetMetricDescriptorRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.GetMetricDescriptorRequest) com.google.monitoring.v3.GetMetricDescriptorRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_GetMetricDescriptorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_GetMetricDescriptorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_GetMetricDescriptorRequest_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_GetMetricDescriptorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetMetricDescriptorRequest.class, com.google.monitoring.v3.GetMetricDescriptorRequest.Builder.class); + com.google.monitoring.v3.GetMetricDescriptorRequest.class, + com.google.monitoring.v3.GetMetricDescriptorRequest.Builder.class); } // Construct using com.google.monitoring.v3.GetMetricDescriptorRequest.newBuilder() @@ -326,16 +362,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -345,9 +380,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_GetMetricDescriptorRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_GetMetricDescriptorRequest_descriptor; } @java.lang.Override @@ -366,7 +401,8 @@ public com.google.monitoring.v3.GetMetricDescriptorRequest build() { @java.lang.Override public com.google.monitoring.v3.GetMetricDescriptorRequest buildPartial() { - com.google.monitoring.v3.GetMetricDescriptorRequest result = new com.google.monitoring.v3.GetMetricDescriptorRequest(this); + com.google.monitoring.v3.GetMetricDescriptorRequest result = + new com.google.monitoring.v3.GetMetricDescriptorRequest(this); result.name_ = name_; onBuilt(); return result; @@ -376,38 +412,39 @@ public com.google.monitoring.v3.GetMetricDescriptorRequest 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.monitoring.v3.GetMetricDescriptorRequest) { - return mergeFrom((com.google.monitoring.v3.GetMetricDescriptorRequest)other); + return mergeFrom((com.google.monitoring.v3.GetMetricDescriptorRequest) other); } else { super.mergeFrom(other); return this; @@ -415,7 +452,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.GetMetricDescriptorRequest other) { - if (other == com.google.monitoring.v3.GetMetricDescriptorRequest.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.GetMetricDescriptorRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -439,7 +477,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.GetMetricDescriptorRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.GetMetricDescriptorRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -451,6 +490,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The metric descriptor on which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
@@ -458,14 +499,16 @@ public Builder mergeFrom(
      * `"compute.googleapis.com/instance/disk/read_bytes_count"`.
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -474,6 +517,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The metric descriptor on which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
@@ -481,16 +526,17 @@ public java.lang.String getName() {
      * `"compute.googleapis.com/instance/disk/read_bytes_count"`.
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -498,6 +544,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The metric descriptor on which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
@@ -505,21 +553,25 @@ public java.lang.String getName() {
      * `"compute.googleapis.com/instance/disk/read_bytes_count"`.
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The metric descriptor on which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
@@ -527,16 +579,21 @@ public Builder setName(
      * `"compute.googleapis.com/instance/disk/read_bytes_count"`.
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The metric descriptor on which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
@@ -544,24 +601,26 @@ public Builder clearName() {
      * `"compute.googleapis.com/instance/disk/read_bytes_count"`.
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -571,12 +630,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.GetMetricDescriptorRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.GetMetricDescriptorRequest) private static final com.google.monitoring.v3.GetMetricDescriptorRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.GetMetricDescriptorRequest(); } @@ -585,16 +644,16 @@ public static com.google.monitoring.v3.GetMetricDescriptorRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetMetricDescriptorRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetMetricDescriptorRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetMetricDescriptorRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetMetricDescriptorRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -609,6 +668,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.monitoring.v3.GetMetricDescriptorRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequestOrBuilder.java new file mode 100644 index 00000000..d84e1f46 --- /dev/null +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMetricDescriptorRequestOrBuilder.java @@ -0,0 +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/monitoring/v3/metric_service.proto + +package com.google.monitoring.v3; + +public interface GetMetricDescriptorRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.monitoring.v3.GetMetricDescriptorRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The metric descriptor on which to execute the request. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
+   * An example value of `[METRIC_ID]` is
+   * `"compute.googleapis.com/instance/disk/read_bytes_count"`.
+   * 
+ * + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The metric descriptor on which to execute the request. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
+   * An example value of `[METRIC_ID]` is
+   * `"compute.googleapis.com/instance/disk/read_bytes_count"`.
+   * 
+ * + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequest.java similarity index 64% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequest.java index 49f6cd08..e5eb6ec2 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequest.java @@ -1,40 +1,59 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `GetMonitoredResourceDescriptor` request.
  * 
* * Protobuf type {@code google.monitoring.v3.GetMonitoredResourceDescriptorRequest} */ -public final class GetMonitoredResourceDescriptorRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetMonitoredResourceDescriptorRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.GetMonitoredResourceDescriptorRequest) GetMonitoredResourceDescriptorRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetMonitoredResourceDescriptorRequest.newBuilder() to construct. - private GetMonitoredResourceDescriptorRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetMonitoredResourceDescriptorRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetMonitoredResourceDescriptorRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetMonitoredResourceDescriptorRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetMonitoredResourceDescriptorRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,47 +72,52 @@ private GetMonitoredResourceDescriptorRequest( case 0: done = true; break; - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_GetMonitoredResourceDescriptorRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_GetMonitoredResourceDescriptorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_GetMonitoredResourceDescriptorRequest_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_GetMonitoredResourceDescriptorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest.class, com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest.Builder.class); + com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest.class, + com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** + * + * *
    * Required. The monitored resource descriptor to get.  The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/monitoredResourceDescriptors/[RESOURCE_TYPE]
@@ -101,7 +125,10 @@ private GetMonitoredResourceDescriptorRequest(
    * `cloudsql_database`.
    * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,14 +137,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The monitored resource descriptor to get.  The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/monitoredResourceDescriptors/[RESOURCE_TYPE]
@@ -125,17 +153,18 @@ public java.lang.String getName() {
    * `cloudsql_database`.
    * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -144,6 +173,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,8 +185,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); } @@ -180,15 +209,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.monitoring.v3.GetMonitoredResourceDescriptorRequest)) { return super.equals(obj); } - com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest other = (com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest) obj; + com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest other = + (com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -208,117 +237,127 @@ public int hashCode() { } public static com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 `GetMonitoredResourceDescriptor` request.
    * 
* * Protobuf type {@code google.monitoring.v3.GetMonitoredResourceDescriptorRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.GetMonitoredResourceDescriptorRequest) com.google.monitoring.v3.GetMonitoredResourceDescriptorRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_GetMonitoredResourceDescriptorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_GetMonitoredResourceDescriptorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_GetMonitoredResourceDescriptorRequest_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_GetMonitoredResourceDescriptorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest.class, com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest.Builder.class); + com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest.class, + com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest.Builder.class); } // Construct using com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest.newBuilder() @@ -326,16 +365,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -345,13 +383,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_GetMonitoredResourceDescriptorRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_GetMonitoredResourceDescriptorRequest_descriptor; } @java.lang.Override - public com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest getDefaultInstanceForType() { + public com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest + getDefaultInstanceForType() { return com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest.getDefaultInstance(); } @@ -366,7 +405,8 @@ public com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest build() { @java.lang.Override public com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest buildPartial() { - com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest result = new com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest(this); + com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest result = + new com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest(this); result.name_ = name_; onBuilt(); return result; @@ -376,38 +416,39 @@ public com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest 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.monitoring.v3.GetMonitoredResourceDescriptorRequest) { - return mergeFrom((com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest)other); + return mergeFrom((com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest) other); } else { super.mergeFrom(other); return this; @@ -415,7 +456,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest other) { - if (other == com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest.getDefaultInstance()) return this; + if (other + == com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -439,7 +482,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -451,6 +496,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The monitored resource descriptor to get.  The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/monitoredResourceDescriptors/[RESOURCE_TYPE]
@@ -458,14 +505,16 @@ public Builder mergeFrom(
      * `cloudsql_database`.
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -474,6 +523,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The monitored resource descriptor to get.  The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/monitoredResourceDescriptors/[RESOURCE_TYPE]
@@ -481,16 +532,17 @@ public java.lang.String getName() {
      * `cloudsql_database`.
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -498,6 +550,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The monitored resource descriptor to get.  The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/monitoredResourceDescriptors/[RESOURCE_TYPE]
@@ -505,21 +559,25 @@ public java.lang.String getName() {
      * `cloudsql_database`.
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The monitored resource descriptor to get.  The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/monitoredResourceDescriptors/[RESOURCE_TYPE]
@@ -527,16 +585,21 @@ public Builder setName(
      * `cloudsql_database`.
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The monitored resource descriptor to get.  The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/monitoredResourceDescriptors/[RESOURCE_TYPE]
@@ -544,24 +607,26 @@ public Builder clearName() {
      * `cloudsql_database`.
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -571,30 +636,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.GetMonitoredResourceDescriptorRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.GetMonitoredResourceDescriptorRequest) - private static final com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest DEFAULT_INSTANCE; + private static final com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest(); } - public static com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest getDefaultInstance() { + public static com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetMonitoredResourceDescriptorRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetMonitoredResourceDescriptorRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetMonitoredResourceDescriptorRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetMonitoredResourceDescriptorRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -606,9 +673,8 @@ public com.google.protobuf.Parser getPars } @java.lang.Override - public com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest getDefaultInstanceForType() { + public com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequestOrBuilder.java new file mode 100644 index 00000000..7e0ec26e --- /dev/null +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetMonitoredResourceDescriptorRequestOrBuilder.java @@ -0,0 +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/monitoring/v3/metric_service.proto + +package com.google.monitoring.v3; + +public interface GetMonitoredResourceDescriptorRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.monitoring.v3.GetMonitoredResourceDescriptorRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The monitored resource descriptor to get.  The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/monitoredResourceDescriptors/[RESOURCE_TYPE]
+   * The `[RESOURCE_TYPE]` is a predefined type, such as
+   * `cloudsql_database`.
+   * 
+ * + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The monitored resource descriptor to get.  The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/monitoredResourceDescriptors/[RESOURCE_TYPE]
+   * The `[RESOURCE_TYPE]` is a predefined type, such as
+   * `cloudsql_database`.
+   * 
+ * + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequest.java similarity index 62% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequest.java index 82b6515a..ea3611e6 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequest.java @@ -1,40 +1,59 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/notification_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `GetNotificationChannelDescriptor` response.
  * 
* * Protobuf type {@code google.monitoring.v3.GetNotificationChannelDescriptorRequest} */ -public final class GetNotificationChannelDescriptorRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetNotificationChannelDescriptorRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.GetNotificationChannelDescriptorRequest) GetNotificationChannelDescriptorRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetNotificationChannelDescriptorRequest.newBuilder() to construct. - private GetNotificationChannelDescriptorRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetNotificationChannelDescriptorRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetNotificationChannelDescriptorRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetNotificationChannelDescriptorRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetNotificationChannelDescriptorRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,53 +72,61 @@ private GetNotificationChannelDescriptorRequest( case 0: done = true; break; - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_GetNotificationChannelDescriptorRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_GetNotificationChannelDescriptorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_GetNotificationChannelDescriptorRequest_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_GetNotificationChannelDescriptorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetNotificationChannelDescriptorRequest.class, com.google.monitoring.v3.GetNotificationChannelDescriptorRequest.Builder.class); + com.google.monitoring.v3.GetNotificationChannelDescriptorRequest.class, + com.google.monitoring.v3.GetNotificationChannelDescriptorRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** + * + * *
    * Required. The channel type for which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[CHANNEL_TYPE]
    * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -108,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The channel type for which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[CHANNEL_TYPE]
    * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); } @@ -176,15 +205,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.monitoring.v3.GetNotificationChannelDescriptorRequest)) { return super.equals(obj); } - com.google.monitoring.v3.GetNotificationChannelDescriptorRequest other = (com.google.monitoring.v3.GetNotificationChannelDescriptorRequest) obj; + com.google.monitoring.v3.GetNotificationChannelDescriptorRequest other = + (com.google.monitoring.v3.GetNotificationChannelDescriptorRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +233,127 @@ public int hashCode() { } public static com.google.monitoring.v3.GetNotificationChannelDescriptorRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.GetNotificationChannelDescriptorRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.GetNotificationChannelDescriptorRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.GetNotificationChannelDescriptorRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.GetNotificationChannelDescriptorRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.monitoring.v3.GetNotificationChannelDescriptorRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.GetNotificationChannelDescriptorRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.GetNotificationChannelDescriptorRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.GetNotificationChannelDescriptorRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.GetNotificationChannelDescriptorRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.GetNotificationChannelDescriptorRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.GetNotificationChannelDescriptorRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.GetNotificationChannelDescriptorRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.GetNotificationChannelDescriptorRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.GetNotificationChannelDescriptorRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.GetNotificationChannelDescriptorRequest prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.GetNotificationChannelDescriptorRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 `GetNotificationChannelDescriptor` response.
    * 
* * Protobuf type {@code google.monitoring.v3.GetNotificationChannelDescriptorRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.GetNotificationChannelDescriptorRequest) com.google.monitoring.v3.GetNotificationChannelDescriptorRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_GetNotificationChannelDescriptorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_GetNotificationChannelDescriptorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_GetNotificationChannelDescriptorRequest_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_GetNotificationChannelDescriptorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetNotificationChannelDescriptorRequest.class, com.google.monitoring.v3.GetNotificationChannelDescriptorRequest.Builder.class); + com.google.monitoring.v3.GetNotificationChannelDescriptorRequest.class, + com.google.monitoring.v3.GetNotificationChannelDescriptorRequest.Builder.class); } // Construct using com.google.monitoring.v3.GetNotificationChannelDescriptorRequest.newBuilder() @@ -322,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +379,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_GetNotificationChannelDescriptorRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_GetNotificationChannelDescriptorRequest_descriptor; } @java.lang.Override - public com.google.monitoring.v3.GetNotificationChannelDescriptorRequest getDefaultInstanceForType() { + public com.google.monitoring.v3.GetNotificationChannelDescriptorRequest + getDefaultInstanceForType() { return com.google.monitoring.v3.GetNotificationChannelDescriptorRequest.getDefaultInstance(); } @@ -362,7 +401,8 @@ public com.google.monitoring.v3.GetNotificationChannelDescriptorRequest build() @java.lang.Override public com.google.monitoring.v3.GetNotificationChannelDescriptorRequest buildPartial() { - com.google.monitoring.v3.GetNotificationChannelDescriptorRequest result = new com.google.monitoring.v3.GetNotificationChannelDescriptorRequest(this); + com.google.monitoring.v3.GetNotificationChannelDescriptorRequest result = + new com.google.monitoring.v3.GetNotificationChannelDescriptorRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +412,50 @@ public com.google.monitoring.v3.GetNotificationChannelDescriptorRequest 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.monitoring.v3.GetNotificationChannelDescriptorRequest) { - return mergeFrom((com.google.monitoring.v3.GetNotificationChannelDescriptorRequest)other); + return mergeFrom((com.google.monitoring.v3.GetNotificationChannelDescriptorRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.monitoring.v3.GetNotificationChannelDescriptorRequest other) { - if (other == com.google.monitoring.v3.GetNotificationChannelDescriptorRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.monitoring.v3.GetNotificationChannelDescriptorRequest other) { + if (other + == com.google.monitoring.v3.GetNotificationChannelDescriptorRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +479,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.GetNotificationChannelDescriptorRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.GetNotificationChannelDescriptorRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,19 +493,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The channel type for which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[CHANNEL_TYPE]
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -468,21 +518,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The channel type for which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[CHANNEL_TYPE]
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -490,64 +543,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The channel type for which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[CHANNEL_TYPE]
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The channel type for which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[CHANNEL_TYPE]
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The channel type for which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[CHANNEL_TYPE]
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -557,30 +623,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.GetNotificationChannelDescriptorRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.GetNotificationChannelDescriptorRequest) - private static final com.google.monitoring.v3.GetNotificationChannelDescriptorRequest DEFAULT_INSTANCE; + private static final com.google.monitoring.v3.GetNotificationChannelDescriptorRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.GetNotificationChannelDescriptorRequest(); } - public static com.google.monitoring.v3.GetNotificationChannelDescriptorRequest getDefaultInstance() { + public static com.google.monitoring.v3.GetNotificationChannelDescriptorRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetNotificationChannelDescriptorRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetNotificationChannelDescriptorRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetNotificationChannelDescriptorRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetNotificationChannelDescriptorRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -592,9 +660,8 @@ public com.google.protobuf.Parser getPa } @java.lang.Override - public com.google.monitoring.v3.GetNotificationChannelDescriptorRequest getDefaultInstanceForType() { + public com.google.monitoring.v3.GetNotificationChannelDescriptorRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequestOrBuilder.java new file mode 100644 index 00000000..baed81f2 --- /dev/null +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelDescriptorRequestOrBuilder.java @@ -0,0 +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/monitoring/v3/notification_service.proto + +package com.google.monitoring.v3; + +public interface GetNotificationChannelDescriptorRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.monitoring.v3.GetNotificationChannelDescriptorRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The channel type for which to execute the request. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[CHANNEL_TYPE]
+   * 
+ * + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The channel type for which to execute the request. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[CHANNEL_TYPE]
+   * 
+ * + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequest.java similarity index 65% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequest.java index f97f5eed..e14063a1 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/notification_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `GetNotificationChannel` request.
  * 
* * Protobuf type {@code google.monitoring.v3.GetNotificationChannelRequest} */ -public final class GetNotificationChannelRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetNotificationChannelRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.GetNotificationChannelRequest) GetNotificationChannelRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetNotificationChannelRequest.newBuilder() to construct. private GetNotificationChannelRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetNotificationChannelRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetNotificationChannelRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetNotificationChannelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,53 +70,61 @@ private GetNotificationChannelRequest( case 0: done = true; break; - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_GetNotificationChannelRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_GetNotificationChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_GetNotificationChannelRequest_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_GetNotificationChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetNotificationChannelRequest.class, com.google.monitoring.v3.GetNotificationChannelRequest.Builder.class); + com.google.monitoring.v3.GetNotificationChannelRequest.class, + com.google.monitoring.v3.GetNotificationChannelRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** + * + * *
    * Required. The channel for which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
    * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -108,30 +133,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The channel for which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
    * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); } @@ -176,15 +203,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.monitoring.v3.GetNotificationChannelRequest)) { return super.equals(obj); } - com.google.monitoring.v3.GetNotificationChannelRequest other = (com.google.monitoring.v3.GetNotificationChannelRequest) obj; + com.google.monitoring.v3.GetNotificationChannelRequest other = + (com.google.monitoring.v3.GetNotificationChannelRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ public int hashCode() { } public static com.google.monitoring.v3.GetNotificationChannelRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.GetNotificationChannelRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.GetNotificationChannelRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.GetNotificationChannelRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.GetNotificationChannelRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.GetNotificationChannelRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.GetNotificationChannelRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.GetNotificationChannelRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.GetNotificationChannelRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.GetNotificationChannelRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.GetNotificationChannelRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.GetNotificationChannelRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.GetNotificationChannelRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.GetNotificationChannelRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.GetNotificationChannelRequest prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.GetNotificationChannelRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 `GetNotificationChannel` request.
    * 
* * Protobuf type {@code google.monitoring.v3.GetNotificationChannelRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.GetNotificationChannelRequest) com.google.monitoring.v3.GetNotificationChannelRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_GetNotificationChannelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_GetNotificationChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_GetNotificationChannelRequest_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_GetNotificationChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetNotificationChannelRequest.class, com.google.monitoring.v3.GetNotificationChannelRequest.Builder.class); + com.google.monitoring.v3.GetNotificationChannelRequest.class, + com.google.monitoring.v3.GetNotificationChannelRequest.Builder.class); } // Construct using com.google.monitoring.v3.GetNotificationChannelRequest.newBuilder() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +377,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_GetNotificationChannelRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_GetNotificationChannelRequest_descriptor; } @java.lang.Override @@ -362,7 +398,8 @@ public com.google.monitoring.v3.GetNotificationChannelRequest build() { @java.lang.Override public com.google.monitoring.v3.GetNotificationChannelRequest buildPartial() { - com.google.monitoring.v3.GetNotificationChannelRequest result = new com.google.monitoring.v3.GetNotificationChannelRequest(this); + com.google.monitoring.v3.GetNotificationChannelRequest result = + new com.google.monitoring.v3.GetNotificationChannelRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +409,39 @@ public com.google.monitoring.v3.GetNotificationChannelRequest 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.monitoring.v3.GetNotificationChannelRequest) { - return mergeFrom((com.google.monitoring.v3.GetNotificationChannelRequest)other); + return mergeFrom((com.google.monitoring.v3.GetNotificationChannelRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +449,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.GetNotificationChannelRequest other) { - if (other == com.google.monitoring.v3.GetNotificationChannelRequest.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.GetNotificationChannelRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +474,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.GetNotificationChannelRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.GetNotificationChannelRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,19 +487,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The channel for which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -468,21 +512,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The channel for which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -490,64 +537,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The channel for which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The channel for which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The channel for which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
      * 
* - * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -557,12 +617,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.GetNotificationChannelRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.GetNotificationChannelRequest) private static final com.google.monitoring.v3.GetNotificationChannelRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.GetNotificationChannelRequest(); } @@ -571,16 +631,16 @@ public static com.google.monitoring.v3.GetNotificationChannelRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetNotificationChannelRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetNotificationChannelRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetNotificationChannelRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetNotificationChannelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -595,6 +655,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.monitoring.v3.GetNotificationChannelRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequestOrBuilder.java new file mode 100644 index 00000000..d1562e47 --- /dev/null +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelRequestOrBuilder.java @@ -0,0 +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/monitoring/v3/notification_service.proto + +package com.google.monitoring.v3; + +public interface GetNotificationChannelRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.monitoring.v3.GetNotificationChannelRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The channel for which to execute the request. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
+   * 
+ * + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The channel for which to execute the request. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
+   * 
+ * + * + * string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeRequest.java similarity index 71% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeRequest.java index 51001c08..bb608366 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeRequest.java @@ -1,40 +1,59 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/notification_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `GetNotificationChannelVerificationCode` request.
  * 
* * Protobuf type {@code google.monitoring.v3.GetNotificationChannelVerificationCodeRequest} */ -public final class GetNotificationChannelVerificationCodeRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetNotificationChannelVerificationCodeRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.GetNotificationChannelVerificationCodeRequest) GetNotificationChannelVerificationCodeRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetNotificationChannelVerificationCodeRequest.newBuilder() to construct. - private GetNotificationChannelVerificationCodeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetNotificationChannelVerificationCodeRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetNotificationChannelVerificationCodeRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetNotificationChannelVerificationCodeRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetNotificationChannelVerificationCodeRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,67 +72,77 @@ private GetNotificationChannelVerificationCodeRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (expireTime_ != null) { - subBuilder = expireTime_.toBuilder(); - } - expireTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(expireTime_); - expireTime_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (expireTime_ != null) { + subBuilder = expireTime_.toBuilder(); + } + expireTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(expireTime_); + expireTime_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeRequest_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest.class, com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest.Builder.class); + com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest.class, + com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The notification channel for which a verification code is to be generated
    * and retrieved. This must name a channel that is already verified; if
    * the specified channel is not verified, the request will fail.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -122,31 +151,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The notification channel for which a verification code is to be generated
    * and retrieved. This must name a channel that is already verified; if
    * the specified channel is not verified, the request will fail.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -157,6 +188,8 @@ public java.lang.String getName() { public static final int EXPIRE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp expireTime_; /** + * + * *
    * The desired expiration time. If specified, the API will guarantee that
    * the returned code will not be valid after the specified timestamp;
@@ -170,6 +203,7 @@ public java.lang.String getName() {
    * 
* * .google.protobuf.Timestamp expire_time = 2; + * * @return Whether the expireTime field is set. */ @java.lang.Override @@ -177,6 +211,8 @@ public boolean hasExpireTime() { return expireTime_ != null; } /** + * + * *
    * The desired expiration time. If specified, the API will guarantee that
    * the returned code will not be valid after the specified timestamp;
@@ -190,6 +226,7 @@ public boolean hasExpireTime() {
    * 
* * .google.protobuf.Timestamp expire_time = 2; + * * @return The expireTime. */ @java.lang.Override @@ -197,6 +234,8 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** + * + * *
    * The desired expiration time. If specified, the API will guarantee that
    * the returned code will not be valid after the specified timestamp;
@@ -217,6 +256,7 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -228,8 +268,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -249,8 +288,7 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (expireTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getExpireTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getExpireTime());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -260,19 +298,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.monitoring.v3.GetNotificationChannelVerificationCodeRequest)) {
       return super.equals(obj);
     }
-    com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest other = (com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest) obj;
+    com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest other =
+        (com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
+    if (!getName().equals(other.getName())) return false;
     if (hasExpireTime() != other.hasExpireTime()) return false;
     if (hasExpireTime()) {
-      if (!getExpireTime()
-          .equals(other.getExpireTime())) return false;
+      if (!getExpireTime().equals(other.getExpireTime())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -297,134 +334,145 @@ public int hashCode() {
   }
 
   public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest parseFrom(byte[] data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+
+  public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest parseFrom(
+      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest
+      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
-  public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+
+  public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest
+      parseDelimitedFrom(
+          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder 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 `GetNotificationChannelVerificationCode` request.
    * 
* * Protobuf type {@code google.monitoring.v3.GetNotificationChannelVerificationCodeRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.GetNotificationChannelVerificationCodeRequest) com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeRequest_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest.class, com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest.Builder.class); + com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest.class, + com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest.Builder.class); } - // Construct using com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest.newBuilder() + // Construct using + // com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -440,19 +488,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeRequest_descriptor; } @java.lang.Override - public com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest getDefaultInstanceForType() { - return com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest.getDefaultInstance(); + public com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest + getDefaultInstanceForType() { + return com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest + .getDefaultInstance(); } @java.lang.Override public com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest build() { - com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest result = buildPartial(); + com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -461,7 +512,8 @@ public com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest bu @java.lang.Override public com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest buildPartial() { - com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest result = new com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest(this); + com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest result = + new com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest(this); result.name_ = name_; if (expireTimeBuilder_ == null) { result.expireTime_ = expireTime_; @@ -476,46 +528,51 @@ public com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest bu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest) { - return mergeFrom((com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest)other); + return mergeFrom( + (com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest other) { - if (other == com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest other) { + if (other + == com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -542,7 +599,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -554,20 +613,24 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The notification channel for which a verification code is to be generated
      * and retrieved. This must name a channel that is already verified; if
      * the specified channel is not verified, the request will fail.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -576,22 +639,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The notification channel for which a verification code is to be generated
      * and retrieved. This must name a channel that is already verified; if
      * the specified channel is not verified, the request will fail.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -599,60 +665,73 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The notification channel for which a verification code is to be generated
      * and retrieved. This must name a channel that is already verified; if
      * the specified channel is not verified, the request will fail.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The notification channel for which a verification code is to be generated
      * and retrieved. This must name a channel that is already verified; if
      * the specified channel is not verified, the request will fail.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The notification channel for which a verification code is to be generated
      * and retrieved. This must name a channel that is already verified; if
      * the specified channel is not verified, the request will fail.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -660,8 +739,13 @@ public Builder setNameBytes( private com.google.protobuf.Timestamp expireTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + expireTimeBuilder_; /** + * + * *
      * The desired expiration time. If specified, the API will guarantee that
      * the returned code will not be valid after the specified timestamp;
@@ -675,12 +759,15 @@ public Builder setNameBytes(
      * 
* * .google.protobuf.Timestamp expire_time = 2; + * * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return expireTimeBuilder_ != null || expireTime_ != null; } /** + * + * *
      * The desired expiration time. If specified, the API will guarantee that
      * the returned code will not be valid after the specified timestamp;
@@ -694,16 +781,21 @@ public boolean hasExpireTime() {
      * 
* * .google.protobuf.Timestamp expire_time = 2; + * * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; + return expireTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** + * + * *
      * The desired expiration time. If specified, the API will guarantee that
      * the returned code will not be valid after the specified timestamp;
@@ -732,6 +824,8 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The desired expiration time. If specified, the API will guarantee that
      * the returned code will not be valid after the specified timestamp;
@@ -746,8 +840,7 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp expire_time = 2;
      */
-    public Builder setExpireTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (expireTimeBuilder_ == null) {
         expireTime_ = builderForValue.build();
         onChanged();
@@ -758,6 +851,8 @@ public Builder setExpireTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The desired expiration time. If specified, the API will guarantee that
      * the returned code will not be valid after the specified timestamp;
@@ -776,7 +871,7 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) {
       if (expireTimeBuilder_ == null) {
         if (expireTime_ != null) {
           expireTime_ =
-            com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial();
         } else {
           expireTime_ = value;
         }
@@ -788,6 +883,8 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The desired expiration time. If specified, the API will guarantee that
      * the returned code will not be valid after the specified timestamp;
@@ -814,6 +911,8 @@ public Builder clearExpireTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The desired expiration time. If specified, the API will guarantee that
      * the returned code will not be valid after the specified timestamp;
@@ -829,11 +928,13 @@ public Builder clearExpireTime() {
      * .google.protobuf.Timestamp expire_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() {
-      
+
       onChanged();
       return getExpireTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The desired expiration time. If specified, the API will guarantee that
      * the returned code will not be valid after the specified timestamp;
@@ -852,11 +953,14 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
       if (expireTimeBuilder_ != null) {
         return expireTimeBuilder_.getMessageOrBuilder();
       } else {
-        return expireTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_;
+        return expireTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : expireTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The desired expiration time. If specified, the API will guarantee that
      * the returned code will not be valid after the specified timestamp;
@@ -872,21 +976,24 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
      * .google.protobuf.Timestamp expire_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>
         getExpireTimeFieldBuilder() {
       if (expireTimeBuilder_ == null) {
-        expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getExpireTime(),
-                getParentForChildren(),
-                isClean());
+        expireTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getExpireTime(), getParentForChildren(), isClean());
         expireTime_ = null;
       }
       return expireTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -896,44 +1003,47 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.monitoring.v3.GetNotificationChannelVerificationCodeRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.monitoring.v3.GetNotificationChannelVerificationCodeRequest)
-  private static final com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest DEFAULT_INSTANCE;
+  private static final com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest
+      DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest();
   }
 
-  public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest getDefaultInstance() {
+  public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest
+      getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
   private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public GetNotificationChannelVerificationCodeRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new GetNotificationChannelVerificationCodeRequest(input, extensionRegistry);
-    }
-  };
+      PARSER =
+          new com.google.protobuf.AbstractParser() {
+            @java.lang.Override
+            public GetNotificationChannelVerificationCodeRequest parsePartialFrom(
+                com.google.protobuf.CodedInputStream input,
+                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+                throws com.google.protobuf.InvalidProtocolBufferException {
+              return new GetNotificationChannelVerificationCodeRequest(input, extensionRegistry);
+            }
+          };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
   }
 
   @java.lang.Override
-  public com.google.protobuf.Parser getParserForType() {
+  public com.google.protobuf.Parser
+      getParserForType() {
     return PARSER;
   }
 
   @java.lang.Override
-  public com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest getDefaultInstanceForType() {
+  public com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest
+      getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeRequestOrBuilder.java
similarity index 77%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeRequestOrBuilder.java
rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeRequestOrBuilder.java
index c7b3d567..a086e963 100644
--- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeRequestOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeRequestOrBuilder.java
@@ -1,37 +1,64 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/monitoring/v3/notification_service.proto
 
 package com.google.monitoring.v3;
 
-public interface GetNotificationChannelVerificationCodeRequestOrBuilder extends
+public interface GetNotificationChannelVerificationCodeRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.monitoring.v3.GetNotificationChannelVerificationCodeRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The notification channel for which a verification code is to be generated
    * and retrieved. This must name a channel that is already verified; if
    * the specified channel is not verified, the request will fail.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The notification channel for which a verification code is to be generated
    * and retrieved. This must name a channel that is already verified; if
    * the specified channel is not verified, the request will fail.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The desired expiration time. If specified, the API will guarantee that
    * the returned code will not be valid after the specified timestamp;
@@ -45,10 +72,13 @@ public interface GetNotificationChannelVerificationCodeRequestOrBuilder extends
    * 
* * .google.protobuf.Timestamp expire_time = 2; + * * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** + * + * *
    * The desired expiration time. If specified, the API will guarantee that
    * the returned code will not be valid after the specified timestamp;
@@ -62,10 +92,13 @@ public interface GetNotificationChannelVerificationCodeRequestOrBuilder extends
    * 
* * .google.protobuf.Timestamp expire_time = 2; + * * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** + * + * *
    * The desired expiration time. If specified, the API will guarantee that
    * the returned code will not be valid after the specified timestamp;
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeResponse.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeResponse.java
similarity index 68%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeResponse.java
rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeResponse.java
index eb9653a8..e490a02c 100644
--- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeResponse.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeResponse.java
@@ -1,40 +1,59 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/monitoring/v3/notification_service.proto
 
 package com.google.monitoring.v3;
 
 /**
+ *
+ *
  * 
  * The `GetNotificationChannelVerificationCode` request.
  * 
* * Protobuf type {@code google.monitoring.v3.GetNotificationChannelVerificationCodeResponse} */ -public final class GetNotificationChannelVerificationCodeResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetNotificationChannelVerificationCodeResponse + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.GetNotificationChannelVerificationCodeResponse) GetNotificationChannelVerificationCodeResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetNotificationChannelVerificationCodeResponse.newBuilder() to construct. - private GetNotificationChannelVerificationCodeResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetNotificationChannelVerificationCodeResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetNotificationChannelVerificationCodeResponse() { code_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetNotificationChannelVerificationCodeResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetNotificationChannelVerificationCodeResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,60 +72,67 @@ private GetNotificationChannelVerificationCodeResponse( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - code_ = s; - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (expireTime_ != null) { - subBuilder = expireTime_.toBuilder(); + code_ = s; + break; } - expireTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(expireTime_); - expireTime_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (expireTime_ != null) { + subBuilder = expireTime_.toBuilder(); + } + expireTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(expireTime_); + expireTime_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeResponse_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse.class, com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse.Builder.class); + com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse.class, + com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse.Builder.class); } public static final int CODE_FIELD_NUMBER = 1; private volatile java.lang.Object code_; /** + * + * *
    * The verification code, which may be used to verify other channels
    * that have an equivalent identity (i.e. other channels of the same
@@ -115,6 +141,7 @@ private GetNotificationChannelVerificationCodeResponse(
    * 
* * string code = 1; + * * @return The code. */ @java.lang.Override @@ -123,14 +150,15 @@ public java.lang.String getCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); code_ = s; return s; } } /** + * + * *
    * The verification code, which may be used to verify other channels
    * that have an equivalent identity (i.e. other channels of the same
@@ -139,16 +167,15 @@ public java.lang.String getCode() {
    * 
* * string code = 1; + * * @return The bytes for code. */ @java.lang.Override - public com.google.protobuf.ByteString - getCodeBytes() { + public com.google.protobuf.ByteString getCodeBytes() { java.lang.Object ref = code_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); code_ = b; return b; } else { @@ -159,6 +186,8 @@ public java.lang.String getCode() { public static final int EXPIRE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp expireTime_; /** + * + * *
    * The expiration time associated with the code that was returned. If
    * an expiration was provided in the request, this is the minimum of the
@@ -166,6 +195,7 @@ public java.lang.String getCode() {
    * 
* * .google.protobuf.Timestamp expire_time = 2; + * * @return Whether the expireTime field is set. */ @java.lang.Override @@ -173,6 +203,8 @@ public boolean hasExpireTime() { return expireTime_ != null; } /** + * + * *
    * The expiration time associated with the code that was returned. If
    * an expiration was provided in the request, this is the minimum of the
@@ -180,6 +212,7 @@ public boolean hasExpireTime() {
    * 
* * .google.protobuf.Timestamp expire_time = 2; + * * @return The expireTime. */ @java.lang.Override @@ -187,6 +220,8 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** + * + * *
    * The expiration time associated with the code that was returned. If
    * an expiration was provided in the request, this is the minimum of the
@@ -201,6 +236,7 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -212,8 +248,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, code_);
     }
@@ -233,8 +268,7 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, code_);
     }
     if (expireTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getExpireTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getExpireTime());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -244,19 +278,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.monitoring.v3.GetNotificationChannelVerificationCodeResponse)) {
       return super.equals(obj);
     }
-    com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse other = (com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse) obj;
+    com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse other =
+        (com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse) obj;
 
-    if (!getCode()
-        .equals(other.getCode())) return false;
+    if (!getCode().equals(other.getCode())) return false;
     if (hasExpireTime() != other.hasExpireTime()) return false;
     if (hasExpireTime()) {
-      if (!getExpireTime()
-          .equals(other.getExpireTime())) return false;
+      if (!getExpireTime().equals(other.getExpireTime())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -281,134 +314,146 @@ public int hashCode() {
   }
 
   public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse parseFrom(byte[] data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+
+  public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse parseFrom(
+      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse
+      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
-  public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+
+  public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse
+      parseDelimitedFrom(
+          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse prototype) {
+
+  public static Builder newBuilder(
+      com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder 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 `GetNotificationChannelVerificationCode` request.
    * 
* * Protobuf type {@code google.monitoring.v3.GetNotificationChannelVerificationCodeResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.GetNotificationChannelVerificationCodeResponse) com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeResponse_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse.class, com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse.Builder.class); + com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse.class, + com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse.Builder + .class); } - // Construct using com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse.newBuilder() + // Construct using + // com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -424,19 +469,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeResponse_descriptor; } @java.lang.Override - public com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse getDefaultInstanceForType() { - return com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse.getDefaultInstance(); + public com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse + getDefaultInstanceForType() { + return com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse + .getDefaultInstance(); } @java.lang.Override public com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse build() { - com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse result = buildPartial(); + com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -445,7 +493,8 @@ public com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse b @java.lang.Override public com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse buildPartial() { - com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse result = new com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse(this); + com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse result = + new com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse(this); result.code_ = code_; if (expireTimeBuilder_ == null) { result.expireTime_ = expireTime_; @@ -460,46 +509,52 @@ public com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse) { - return mergeFrom((com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse)other); + if (other + instanceof com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse) { + return mergeFrom( + (com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse other) { - if (other == com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse other) { + if (other + == com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse + .getDefaultInstance()) return this; if (!other.getCode().isEmpty()) { code_ = other.code_; onChanged(); @@ -526,7 +581,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -538,6 +595,8 @@ public Builder mergeFrom( private java.lang.Object code_ = ""; /** + * + * *
      * The verification code, which may be used to verify other channels
      * that have an equivalent identity (i.e. other channels of the same
@@ -546,13 +605,13 @@ public Builder mergeFrom(
      * 
* * string code = 1; + * * @return The code. */ public java.lang.String getCode() { java.lang.Object ref = code_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); code_ = s; return s; @@ -561,6 +620,8 @@ public java.lang.String getCode() { } } /** + * + * *
      * The verification code, which may be used to verify other channels
      * that have an equivalent identity (i.e. other channels of the same
@@ -569,15 +630,14 @@ public java.lang.String getCode() {
      * 
* * string code = 1; + * * @return The bytes for code. */ - public com.google.protobuf.ByteString - getCodeBytes() { + public com.google.protobuf.ByteString getCodeBytes() { java.lang.Object ref = code_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); code_ = b; return b; } else { @@ -585,6 +645,8 @@ public java.lang.String getCode() { } } /** + * + * *
      * The verification code, which may be used to verify other channels
      * that have an equivalent identity (i.e. other channels of the same
@@ -593,20 +655,22 @@ public java.lang.String getCode() {
      * 
* * string code = 1; + * * @param value The code to set. * @return This builder for chaining. */ - public Builder setCode( - java.lang.String value) { + public Builder setCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + code_ = value; onChanged(); return this; } /** + * + * *
      * The verification code, which may be used to verify other channels
      * that have an equivalent identity (i.e. other channels of the same
@@ -615,15 +679,18 @@ public Builder setCode(
      * 
* * string code = 1; + * * @return This builder for chaining. */ public Builder clearCode() { - + code_ = getDefaultInstance().getCode(); onChanged(); return this; } /** + * + * *
      * The verification code, which may be used to verify other channels
      * that have an equivalent identity (i.e. other channels of the same
@@ -632,16 +699,16 @@ public Builder clearCode() {
      * 
* * string code = 1; + * * @param value The bytes for code to set. * @return This builder for chaining. */ - public Builder setCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + code_ = value; onChanged(); return this; @@ -649,8 +716,13 @@ public Builder setCodeBytes( private com.google.protobuf.Timestamp expireTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + expireTimeBuilder_; /** + * + * *
      * The expiration time associated with the code that was returned. If
      * an expiration was provided in the request, this is the minimum of the
@@ -658,12 +730,15 @@ public Builder setCodeBytes(
      * 
* * .google.protobuf.Timestamp expire_time = 2; + * * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return expireTimeBuilder_ != null || expireTime_ != null; } /** + * + * *
      * The expiration time associated with the code that was returned. If
      * an expiration was provided in the request, this is the minimum of the
@@ -671,16 +746,21 @@ public boolean hasExpireTime() {
      * 
* * .google.protobuf.Timestamp expire_time = 2; + * * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; + return expireTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** + * + * *
      * The expiration time associated with the code that was returned. If
      * an expiration was provided in the request, this is the minimum of the
@@ -703,6 +783,8 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The expiration time associated with the code that was returned. If
      * an expiration was provided in the request, this is the minimum of the
@@ -711,8 +793,7 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp expire_time = 2;
      */
-    public Builder setExpireTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (expireTimeBuilder_ == null) {
         expireTime_ = builderForValue.build();
         onChanged();
@@ -723,6 +804,8 @@ public Builder setExpireTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The expiration time associated with the code that was returned. If
      * an expiration was provided in the request, this is the minimum of the
@@ -735,7 +818,7 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) {
       if (expireTimeBuilder_ == null) {
         if (expireTime_ != null) {
           expireTime_ =
-            com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial();
         } else {
           expireTime_ = value;
         }
@@ -747,6 +830,8 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The expiration time associated with the code that was returned. If
      * an expiration was provided in the request, this is the minimum of the
@@ -767,6 +852,8 @@ public Builder clearExpireTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The expiration time associated with the code that was returned. If
      * an expiration was provided in the request, this is the minimum of the
@@ -776,11 +863,13 @@ public Builder clearExpireTime() {
      * .google.protobuf.Timestamp expire_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() {
-      
+
       onChanged();
       return getExpireTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The expiration time associated with the code that was returned. If
      * an expiration was provided in the request, this is the minimum of the
@@ -793,11 +882,14 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
       if (expireTimeBuilder_ != null) {
         return expireTimeBuilder_.getMessageOrBuilder();
       } else {
-        return expireTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_;
+        return expireTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : expireTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The expiration time associated with the code that was returned. If
      * an expiration was provided in the request, this is the minimum of the
@@ -807,21 +899,24 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
      * .google.protobuf.Timestamp expire_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>
         getExpireTimeFieldBuilder() {
       if (expireTimeBuilder_ == null) {
-        expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getExpireTime(),
-                getParentForChildren(),
-                isClean());
+        expireTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getExpireTime(), getParentForChildren(), isClean());
         expireTime_ = null;
       }
       return expireTimeBuilder_;
     }
+
     @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);
     }
 
@@ -831,44 +926,49 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.monitoring.v3.GetNotificationChannelVerificationCodeResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.monitoring.v3.GetNotificationChannelVerificationCodeResponse)
-  private static final com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse DEFAULT_INSTANCE;
+  private static final com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse
+      DEFAULT_INSTANCE;
+
   static {
-    DEFAULT_INSTANCE = new com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse();
+    DEFAULT_INSTANCE =
+        new com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse();
   }
 
-  public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse getDefaultInstance() {
+  public static com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse
+      getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
   private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public GetNotificationChannelVerificationCodeResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new GetNotificationChannelVerificationCodeResponse(input, extensionRegistry);
-    }
-  };
+      PARSER =
+          new com.google.protobuf.AbstractParser() {
+            @java.lang.Override
+            public GetNotificationChannelVerificationCodeResponse parsePartialFrom(
+                com.google.protobuf.CodedInputStream input,
+                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+                throws com.google.protobuf.InvalidProtocolBufferException {
+              return new GetNotificationChannelVerificationCodeResponse(input, extensionRegistry);
+            }
+          };
 
-  public static com.google.protobuf.Parser parser() {
+  public static com.google.protobuf.Parser
+      parser() {
     return PARSER;
   }
 
   @java.lang.Override
-  public com.google.protobuf.Parser getParserForType() {
+  public com.google.protobuf.Parser
+      getParserForType() {
     return PARSER;
   }
 
   @java.lang.Override
-  public com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse getDefaultInstanceForType() {
+  public com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse
+      getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeResponseOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeResponseOrBuilder.java
similarity index 76%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeResponseOrBuilder.java
rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeResponseOrBuilder.java
index fce8597e..9fba9869 100644
--- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeResponseOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetNotificationChannelVerificationCodeResponseOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/monitoring/v3/notification_service.proto
 
 package com.google.monitoring.v3;
 
-public interface GetNotificationChannelVerificationCodeResponseOrBuilder extends
+public interface GetNotificationChannelVerificationCodeResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.monitoring.v3.GetNotificationChannelVerificationCodeResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The verification code, which may be used to verify other channels
    * that have an equivalent identity (i.e. other channels of the same
@@ -16,10 +34,13 @@ public interface GetNotificationChannelVerificationCodeResponseOrBuilder extends
    * 
* * string code = 1; + * * @return The code. */ java.lang.String getCode(); /** + * + * *
    * The verification code, which may be used to verify other channels
    * that have an equivalent identity (i.e. other channels of the same
@@ -28,12 +49,14 @@ public interface GetNotificationChannelVerificationCodeResponseOrBuilder extends
    * 
* * string code = 1; + * * @return The bytes for code. */ - com.google.protobuf.ByteString - getCodeBytes(); + com.google.protobuf.ByteString getCodeBytes(); /** + * + * *
    * The expiration time associated with the code that was returned. If
    * an expiration was provided in the request, this is the minimum of the
@@ -41,10 +64,13 @@ public interface GetNotificationChannelVerificationCodeResponseOrBuilder extends
    * 
* * .google.protobuf.Timestamp expire_time = 2; + * * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** + * + * *
    * The expiration time associated with the code that was returned. If
    * an expiration was provided in the request, this is the minimum of the
@@ -52,10 +78,13 @@ public interface GetNotificationChannelVerificationCodeResponseOrBuilder extends
    * 
* * .google.protobuf.Timestamp expire_time = 2; + * * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** + * + * *
    * The expiration time associated with the code that was returned. If
    * an expiration was provided in the request, this is the minimum of the
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceLevelObjectiveRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceLevelObjectiveRequest.java
similarity index 70%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceLevelObjectiveRequest.java
rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceLevelObjectiveRequest.java
index f6cc745c..d91a2e6f 100644
--- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceLevelObjectiveRequest.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceLevelObjectiveRequest.java
@@ -1,24 +1,43 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/monitoring/v3/service_service.proto
 
 package com.google.monitoring.v3;
 
 /**
+ *
+ *
  * 
  * The `GetServiceLevelObjective` request.
  * 
* * Protobuf type {@code google.monitoring.v3.GetServiceLevelObjectiveRequest} */ -public final class GetServiceLevelObjectiveRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetServiceLevelObjectiveRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.GetServiceLevelObjectiveRequest) GetServiceLevelObjectiveRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetServiceLevelObjectiveRequest.newBuilder() to construct. - private GetServiceLevelObjectiveRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetServiceLevelObjectiveRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetServiceLevelObjectiveRequest() { name_ = ""; view_ = 0; @@ -26,16 +45,15 @@ private GetServiceLevelObjectiveRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetServiceLevelObjectiveRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetServiceLevelObjectiveRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,59 +72,68 @@ private GetServiceLevelObjectiveRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + view_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_GetServiceLevelObjectiveRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_GetServiceLevelObjectiveRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_GetServiceLevelObjectiveRequest_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_GetServiceLevelObjectiveRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetServiceLevelObjectiveRequest.class, com.google.monitoring.v3.GetServiceLevelObjectiveRequest.Builder.class); + com.google.monitoring.v3.GetServiceLevelObjectiveRequest.class, + com.google.monitoring.v3.GetServiceLevelObjectiveRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. Resource name of the `ServiceLevelObjective` to get. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -115,30 +142,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Resource name of the `ServiceLevelObjective` to get. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -149,6 +178,8 @@ public java.lang.String getName() { public static final int VIEW_FIELD_NUMBER = 2; private int view_; /** + * + * *
    * View of the `ServiceLevelObjective` to return. If `DEFAULT`, return the
    * `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
@@ -157,12 +188,16 @@ public java.lang.String getName() {
    * 
* * .google.monitoring.v3.ServiceLevelObjective.View view = 2; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * View of the `ServiceLevelObjective` to return. If `DEFAULT`, return the
    * `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
@@ -171,15 +206,21 @@ public java.lang.String getName() {
    * 
* * .google.monitoring.v3.ServiceLevelObjective.View view = 2; + * * @return The view. */ - @java.lang.Override public com.google.monitoring.v3.ServiceLevelObjective.View getView() { + @java.lang.Override + public com.google.monitoring.v3.ServiceLevelObjective.View getView() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.ServiceLevelObjective.View result = com.google.monitoring.v3.ServiceLevelObjective.View.valueOf(view_); - return result == null ? com.google.monitoring.v3.ServiceLevelObjective.View.UNRECOGNIZED : result; + com.google.monitoring.v3.ServiceLevelObjective.View result = + com.google.monitoring.v3.ServiceLevelObjective.View.valueOf(view_); + return result == null + ? com.google.monitoring.v3.ServiceLevelObjective.View.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -191,8 +232,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -212,8 +252,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (view_ != com.google.monitoring.v3.ServiceLevelObjective.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, view_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -223,15 +262,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.monitoring.v3.GetServiceLevelObjectiveRequest)) { return super.equals(obj); } - com.google.monitoring.v3.GetServiceLevelObjectiveRequest other = (com.google.monitoring.v3.GetServiceLevelObjectiveRequest) obj; + com.google.monitoring.v3.GetServiceLevelObjectiveRequest other = + (com.google.monitoring.v3.GetServiceLevelObjectiveRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (view_ != other.view_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -254,117 +293,127 @@ public int hashCode() { } public static com.google.monitoring.v3.GetServiceLevelObjectiveRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.GetServiceLevelObjectiveRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.GetServiceLevelObjectiveRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.GetServiceLevelObjectiveRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.GetServiceLevelObjectiveRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.GetServiceLevelObjectiveRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.GetServiceLevelObjectiveRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.GetServiceLevelObjectiveRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.GetServiceLevelObjectiveRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.GetServiceLevelObjectiveRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.GetServiceLevelObjectiveRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.GetServiceLevelObjectiveRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.GetServiceLevelObjectiveRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.GetServiceLevelObjectiveRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.GetServiceLevelObjectiveRequest prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.GetServiceLevelObjectiveRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 `GetServiceLevelObjective` request.
    * 
* * Protobuf type {@code google.monitoring.v3.GetServiceLevelObjectiveRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.GetServiceLevelObjectiveRequest) com.google.monitoring.v3.GetServiceLevelObjectiveRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_GetServiceLevelObjectiveRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_GetServiceLevelObjectiveRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_GetServiceLevelObjectiveRequest_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_GetServiceLevelObjectiveRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetServiceLevelObjectiveRequest.class, com.google.monitoring.v3.GetServiceLevelObjectiveRequest.Builder.class); + com.google.monitoring.v3.GetServiceLevelObjectiveRequest.class, + com.google.monitoring.v3.GetServiceLevelObjectiveRequest.Builder.class); } // Construct using com.google.monitoring.v3.GetServiceLevelObjectiveRequest.newBuilder() @@ -372,16 +421,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -393,9 +441,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_GetServiceLevelObjectiveRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_GetServiceLevelObjectiveRequest_descriptor; } @java.lang.Override @@ -414,7 +462,8 @@ public com.google.monitoring.v3.GetServiceLevelObjectiveRequest build() { @java.lang.Override public com.google.monitoring.v3.GetServiceLevelObjectiveRequest buildPartial() { - com.google.monitoring.v3.GetServiceLevelObjectiveRequest result = new com.google.monitoring.v3.GetServiceLevelObjectiveRequest(this); + com.google.monitoring.v3.GetServiceLevelObjectiveRequest result = + new com.google.monitoring.v3.GetServiceLevelObjectiveRequest(this); result.name_ = name_; result.view_ = view_; onBuilt(); @@ -425,38 +474,39 @@ public com.google.monitoring.v3.GetServiceLevelObjectiveRequest 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.monitoring.v3.GetServiceLevelObjectiveRequest) { - return mergeFrom((com.google.monitoring.v3.GetServiceLevelObjectiveRequest)other); + return mergeFrom((com.google.monitoring.v3.GetServiceLevelObjectiveRequest) other); } else { super.mergeFrom(other); return this; @@ -464,7 +514,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.GetServiceLevelObjectiveRequest other) { - if (other == com.google.monitoring.v3.GetServiceLevelObjectiveRequest.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.GetServiceLevelObjectiveRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -491,7 +542,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.GetServiceLevelObjectiveRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.GetServiceLevelObjectiveRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -503,19 +555,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. Resource name of the `ServiceLevelObjective` to get. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -524,21 +580,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the `ServiceLevelObjective` to get. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -546,57 +605,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the `ServiceLevelObjective` to get. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the `ServiceLevelObjective` to get. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the `ServiceLevelObjective` to get. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -604,6 +676,8 @@ public Builder setNameBytes( private int view_ = 0; /** + * + * *
      * View of the `ServiceLevelObjective` to return. If `DEFAULT`, return the
      * `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
@@ -612,12 +686,16 @@ public Builder setNameBytes(
      * 
* * .google.monitoring.v3.ServiceLevelObjective.View view = 2; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * View of the `ServiceLevelObjective` to return. If `DEFAULT`, return the
      * `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
@@ -626,16 +704,19 @@ public Builder setNameBytes(
      * 
* * .google.monitoring.v3.ServiceLevelObjective.View view = 2; + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** + * + * *
      * View of the `ServiceLevelObjective` to return. If `DEFAULT`, return the
      * `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
@@ -644,15 +725,21 @@ public Builder setViewValue(int value) {
      * 
* * .google.monitoring.v3.ServiceLevelObjective.View view = 2; + * * @return The view. */ @java.lang.Override public com.google.monitoring.v3.ServiceLevelObjective.View getView() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.ServiceLevelObjective.View result = com.google.monitoring.v3.ServiceLevelObjective.View.valueOf(view_); - return result == null ? com.google.monitoring.v3.ServiceLevelObjective.View.UNRECOGNIZED : result; + com.google.monitoring.v3.ServiceLevelObjective.View result = + com.google.monitoring.v3.ServiceLevelObjective.View.valueOf(view_); + return result == null + ? com.google.monitoring.v3.ServiceLevelObjective.View.UNRECOGNIZED + : result; } /** + * + * *
      * View of the `ServiceLevelObjective` to return. If `DEFAULT`, return the
      * `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
@@ -661,6 +748,7 @@ public com.google.monitoring.v3.ServiceLevelObjective.View getView() {
      * 
* * .google.monitoring.v3.ServiceLevelObjective.View view = 2; + * * @param value The view to set. * @return This builder for chaining. */ @@ -668,12 +756,14 @@ public Builder setView(com.google.monitoring.v3.ServiceLevelObjective.View value if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * View of the `ServiceLevelObjective` to return. If `DEFAULT`, return the
      * `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
@@ -682,17 +772,18 @@ public Builder setView(com.google.monitoring.v3.ServiceLevelObjective.View value
      * 
* * .google.monitoring.v3.ServiceLevelObjective.View view = 2; + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -702,12 +793,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.GetServiceLevelObjectiveRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.GetServiceLevelObjectiveRequest) private static final com.google.monitoring.v3.GetServiceLevelObjectiveRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.GetServiceLevelObjectiveRequest(); } @@ -716,16 +807,16 @@ public static com.google.monitoring.v3.GetServiceLevelObjectiveRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetServiceLevelObjectiveRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetServiceLevelObjectiveRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetServiceLevelObjectiveRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetServiceLevelObjectiveRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -740,6 +831,4 @@ public com.google.protobuf.Parser getParserForT public com.google.monitoring.v3.GetServiceLevelObjectiveRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceLevelObjectiveRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceLevelObjectiveRequestOrBuilder.java similarity index 64% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceLevelObjectiveRequestOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceLevelObjectiveRequestOrBuilder.java index 1406b02a..ea7d080f 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceLevelObjectiveRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceLevelObjectiveRequestOrBuilder.java @@ -1,35 +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/monitoring/v3/service_service.proto package com.google.monitoring.v3; -public interface GetServiceLevelObjectiveRequestOrBuilder extends +public interface GetServiceLevelObjectiveRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.GetServiceLevelObjectiveRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the `ServiceLevelObjective` to get. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. Resource name of the `ServiceLevelObjective` to get. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * View of the `ServiceLevelObjective` to return. If `DEFAULT`, return the
    * `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
@@ -38,10 +65,13 @@ public interface GetServiceLevelObjectiveRequestOrBuilder extends
    * 
* * .google.monitoring.v3.ServiceLevelObjective.View view = 2; + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * View of the `ServiceLevelObjective` to return. If `DEFAULT`, return the
    * `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
@@ -50,6 +80,7 @@ public interface GetServiceLevelObjectiveRequestOrBuilder extends
    * 
* * .google.monitoring.v3.ServiceLevelObjective.View view = 2; + * * @return The view. */ com.google.monitoring.v3.ServiceLevelObjective.View getView(); diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceRequest.java similarity index 66% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceRequest.java index fdcd5baa..cd03b962 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/service_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `GetService` request.
  * 
* * Protobuf type {@code google.monitoring.v3.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.monitoring.v3.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() { name_ = ""; } @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; } + private GetServiceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,53 +70,61 @@ private GetServiceRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_GetServiceRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_GetServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_GetServiceRequest_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_GetServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetServiceRequest.class, com.google.monitoring.v3.GetServiceRequest.Builder.class); + com.google.monitoring.v3.GetServiceRequest.class, + com.google.monitoring.v3.GetServiceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. Resource name of the `Service`. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -108,30 +133,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Resource name of the `Service`. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,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.monitoring.v3.GetServiceRequest)) { return super.equals(obj); } - com.google.monitoring.v3.GetServiceRequest other = (com.google.monitoring.v3.GetServiceRequest) obj; + com.google.monitoring.v3.GetServiceRequest other = + (com.google.monitoring.v3.GetServiceRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -203,118 +230,127 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.GetServiceRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.GetServiceRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.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.monitoring.v3.GetServiceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.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.monitoring.v3.GetServiceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.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.monitoring.v3.GetServiceRequest 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.monitoring.v3.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.monitoring.v3.GetServiceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.GetServiceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.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.monitoring.v3.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.monitoring.v3.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.monitoring.v3.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; } /** + * + * *
    * The `GetService` request.
    * 
* * Protobuf type {@code google.monitoring.v3.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.monitoring.v3.GetServiceRequest) com.google.monitoring.v3.GetServiceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_GetServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_GetServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_GetServiceRequest_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_GetServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetServiceRequest.class, com.google.monitoring.v3.GetServiceRequest.Builder.class); + com.google.monitoring.v3.GetServiceRequest.class, + com.google.monitoring.v3.GetServiceRequest.Builder.class); } // Construct using com.google.monitoring.v3.GetServiceRequest.newBuilder() @@ -322,16 +358,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +376,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_GetServiceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_GetServiceRequest_descriptor; } @java.lang.Override @@ -362,7 +397,8 @@ public com.google.monitoring.v3.GetServiceRequest build() { @java.lang.Override public com.google.monitoring.v3.GetServiceRequest buildPartial() { - com.google.monitoring.v3.GetServiceRequest result = new com.google.monitoring.v3.GetServiceRequest(this); + com.google.monitoring.v3.GetServiceRequest result = + new com.google.monitoring.v3.GetServiceRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +408,39 @@ public com.google.monitoring.v3.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.monitoring.v3.GetServiceRequest) { - return mergeFrom((com.google.monitoring.v3.GetServiceRequest)other); + return mergeFrom((com.google.monitoring.v3.GetServiceRequest) other); } else { super.mergeFrom(other); return this; @@ -447,19 +484,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. Resource name of the `Service`. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -468,21 +509,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the `Service`. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -490,64 +534,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the `Service`. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the `Service`. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the `Service`. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -557,12 +614,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.GetServiceRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.GetServiceRequest) private static final com.google.monitoring.v3.GetServiceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.GetServiceRequest(); } @@ -571,16 +628,16 @@ public static com.google.monitoring.v3.GetServiceRequest getDefaultInstance() { 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 { - return new GetServiceRequest(input, extensionRegistry); - } - }; + 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 { + return new GetServiceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -595,6 +652,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.GetServiceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceRequestOrBuilder.java new file mode 100644 index 00000000..1ae5d7e3 --- /dev/null +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetServiceRequestOrBuilder.java @@ -0,0 +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/monitoring/v3/service_service.proto + +package com.google.monitoring.v3; + +public interface GetServiceRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.monitoring.v3.GetServiceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Resource name of the `Service`. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Resource name of the `Service`. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequest.java similarity index 65% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequest.java index 390cdd36..9801e213 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/uptime_service.proto package com.google.monitoring.v3; /** + * + * *
  * The protocol for the `GetUptimeCheckConfig` request.
  * 
* * Protobuf type {@code google.monitoring.v3.GetUptimeCheckConfigRequest} */ -public final class GetUptimeCheckConfigRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetUptimeCheckConfigRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.GetUptimeCheckConfigRequest) GetUptimeCheckConfigRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetUptimeCheckConfigRequest.newBuilder() to construct. private GetUptimeCheckConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetUptimeCheckConfigRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetUptimeCheckConfigRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetUptimeCheckConfigRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,53 +70,61 @@ private GetUptimeCheckConfigRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_GetUptimeCheckConfigRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.UptimeServiceProto + .internal_static_google_monitoring_v3_GetUptimeCheckConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_GetUptimeCheckConfigRequest_fieldAccessorTable + return com.google.monitoring.v3.UptimeServiceProto + .internal_static_google_monitoring_v3_GetUptimeCheckConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetUptimeCheckConfigRequest.class, com.google.monitoring.v3.GetUptimeCheckConfigRequest.Builder.class); + com.google.monitoring.v3.GetUptimeCheckConfigRequest.class, + com.google.monitoring.v3.GetUptimeCheckConfigRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The Uptime check configuration to retrieve. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -108,30 +133,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The Uptime check configuration to retrieve. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,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.monitoring.v3.GetUptimeCheckConfigRequest)) { return super.equals(obj); } - com.google.monitoring.v3.GetUptimeCheckConfigRequest other = (com.google.monitoring.v3.GetUptimeCheckConfigRequest) obj; + com.google.monitoring.v3.GetUptimeCheckConfigRequest other = + (com.google.monitoring.v3.GetUptimeCheckConfigRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,126 @@ public int hashCode() { } public static com.google.monitoring.v3.GetUptimeCheckConfigRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.GetUptimeCheckConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.GetUptimeCheckConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.GetUptimeCheckConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.GetUptimeCheckConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.GetUptimeCheckConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.GetUptimeCheckConfigRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.GetUptimeCheckConfigRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.GetUptimeCheckConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.GetUptimeCheckConfigRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.GetUptimeCheckConfigRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.GetUptimeCheckConfigRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.GetUptimeCheckConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.GetUptimeCheckConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.GetUptimeCheckConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 protocol for the `GetUptimeCheckConfig` request.
    * 
* * Protobuf type {@code google.monitoring.v3.GetUptimeCheckConfigRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.GetUptimeCheckConfigRequest) com.google.monitoring.v3.GetUptimeCheckConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_GetUptimeCheckConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.UptimeServiceProto + .internal_static_google_monitoring_v3_GetUptimeCheckConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_GetUptimeCheckConfigRequest_fieldAccessorTable + return com.google.monitoring.v3.UptimeServiceProto + .internal_static_google_monitoring_v3_GetUptimeCheckConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.GetUptimeCheckConfigRequest.class, com.google.monitoring.v3.GetUptimeCheckConfigRequest.Builder.class); + com.google.monitoring.v3.GetUptimeCheckConfigRequest.class, + com.google.monitoring.v3.GetUptimeCheckConfigRequest.Builder.class); } // Construct using com.google.monitoring.v3.GetUptimeCheckConfigRequest.newBuilder() @@ -322,16 +358,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +376,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_GetUptimeCheckConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.UptimeServiceProto + .internal_static_google_monitoring_v3_GetUptimeCheckConfigRequest_descriptor; } @java.lang.Override @@ -362,7 +397,8 @@ public com.google.monitoring.v3.GetUptimeCheckConfigRequest build() { @java.lang.Override public com.google.monitoring.v3.GetUptimeCheckConfigRequest buildPartial() { - com.google.monitoring.v3.GetUptimeCheckConfigRequest result = new com.google.monitoring.v3.GetUptimeCheckConfigRequest(this); + com.google.monitoring.v3.GetUptimeCheckConfigRequest result = + new com.google.monitoring.v3.GetUptimeCheckConfigRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +408,39 @@ public com.google.monitoring.v3.GetUptimeCheckConfigRequest 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.monitoring.v3.GetUptimeCheckConfigRequest) { - return mergeFrom((com.google.monitoring.v3.GetUptimeCheckConfigRequest)other); + return mergeFrom((com.google.monitoring.v3.GetUptimeCheckConfigRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +448,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.GetUptimeCheckConfigRequest other) { - if (other == com.google.monitoring.v3.GetUptimeCheckConfigRequest.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.GetUptimeCheckConfigRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +473,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.GetUptimeCheckConfigRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.GetUptimeCheckConfigRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,19 +486,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The Uptime check configuration to retrieve. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -468,21 +511,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The Uptime check configuration to retrieve. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -490,64 +536,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The Uptime check configuration to retrieve. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The Uptime check configuration to retrieve. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The Uptime check configuration to retrieve. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -557,12 +616,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.GetUptimeCheckConfigRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.GetUptimeCheckConfigRequest) private static final com.google.monitoring.v3.GetUptimeCheckConfigRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.GetUptimeCheckConfigRequest(); } @@ -571,16 +630,16 @@ public static com.google.monitoring.v3.GetUptimeCheckConfigRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetUptimeCheckConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetUptimeCheckConfigRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetUptimeCheckConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetUptimeCheckConfigRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -595,6 +654,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.monitoring.v3.GetUptimeCheckConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequestOrBuilder.java new file mode 100644 index 00000000..5a4b7dde --- /dev/null +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GetUptimeCheckConfigRequestOrBuilder.java @@ -0,0 +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/monitoring/v3/uptime_service.proto + +package com.google.monitoring.v3; + +public interface GetUptimeCheckConfigRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.monitoring.v3.GetUptimeCheckConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The Uptime check configuration to retrieve. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The Uptime check configuration to retrieve. The format is:
+   *     projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Group.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Group.java similarity index 76% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Group.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Group.java index 6613d742..5194bc26 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Group.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Group.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/group.proto package com.google.monitoring.v3; /** + * + * *
  * The description of a dynamic collection of monitored resources. Each group
  * has a filter that is matched against monitored resources and their associated
@@ -32,15 +49,16 @@
  *
  * Protobuf type {@code google.monitoring.v3.Group}
  */
-public final class Group extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Group extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.Group)
     GroupOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Group.newBuilder() to construct.
   private Group(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Group() {
     name_ = "";
     displayName_ = "";
@@ -50,16 +68,15 @@ private Group() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Group();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Group(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -78,63 +95,68 @@ private Group(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            displayName_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              name_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            parentName_ = s;
-            break;
-          }
-          case 42: {
-            java.lang.String s = input.readStringRequireUtf8();
+              displayName_ = s;
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            filter_ = s;
-            break;
-          }
-          case 48: {
+              parentName_ = s;
+              break;
+            }
+          case 42:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            isCluster_ = input.readBool();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              filter_ = s;
+              break;
+            }
+          case 48:
+            {
+              isCluster_ = input.readBool();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.monitoring.v3.GroupProto.internal_static_google_monitoring_v3_Group_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.monitoring.v3.GroupProto
+        .internal_static_google_monitoring_v3_Group_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.monitoring.v3.GroupProto.internal_static_google_monitoring_v3_Group_fieldAccessorTable
+    return com.google.monitoring.v3.GroupProto
+        .internal_static_google_monitoring_v3_Group_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.monitoring.v3.Group.class, com.google.monitoring.v3.Group.Builder.class);
   }
@@ -142,6 +164,8 @@ private Group(
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Output only. The name of this group. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -151,6 +175,7 @@ private Group(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -159,14 +184,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The name of this group. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -176,16 +202,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -196,11 +221,14 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * A user-assigned name for this group, used only for display purposes.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -209,29 +237,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * A user-assigned name for this group, used only for display purposes.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -242,6 +270,8 @@ public java.lang.String getDisplayName() { public static final int PARENT_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object parentName_; /** + * + * *
    * The name of the group's parent, if it has one. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -249,6 +279,7 @@ public java.lang.String getDisplayName() {
    * 
* * string parent_name = 3; + * * @return The parentName. */ @java.lang.Override @@ -257,14 +288,15 @@ public java.lang.String getParentName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentName_ = s; return s; } } /** + * + * *
    * The name of the group's parent, if it has one. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -272,16 +304,15 @@ public java.lang.String getParentName() {
    * 
* * string parent_name = 3; + * * @return The bytes for parentName. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentNameBytes() { + public com.google.protobuf.ByteString getParentNameBytes() { java.lang.Object ref = parentName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parentName_ = b; return b; } else { @@ -292,12 +323,15 @@ public java.lang.String getParentName() { public static final int FILTER_FIELD_NUMBER = 5; private volatile java.lang.Object filter_; /** + * + * *
    * The filter used to determine which monitored resources belong to this
    * group.
    * 
* * string filter = 5; + * * @return The filter. */ @java.lang.Override @@ -306,30 +340,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * The filter used to determine which monitored resources belong to this
    * group.
    * 
* * string filter = 5; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -340,12 +374,15 @@ public java.lang.String getFilter() { public static final int IS_CLUSTER_FIELD_NUMBER = 6; private boolean isCluster_; /** + * + * *
    * If true, the members of this group are considered to be a cluster.
    * The system can perform additional analysis on groups that are clusters.
    * 
* * bool is_cluster = 6; + * * @return The isCluster. */ @java.lang.Override @@ -354,6 +391,7 @@ public boolean getIsCluster() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -365,8 +403,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -404,8 +441,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, filter_); } if (isCluster_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, isCluster_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, isCluster_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -415,23 +451,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.monitoring.v3.Group)) { return super.equals(obj); } com.google.monitoring.v3.Group other = (com.google.monitoring.v3.Group) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getParentName() - .equals(other.getParentName())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getIsCluster() - != other.getIsCluster()) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getParentName().equals(other.getParentName())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getIsCluster() != other.getIsCluster()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -452,104 +483,109 @@ public int hashCode() { hash = (37 * hash) + FILTER_FIELD_NUMBER; hash = (53 * hash) + getFilter().hashCode(); hash = (37 * hash) + IS_CLUSTER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIsCluster()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsCluster()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.monitoring.v3.Group parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.Group parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.Group parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.Group parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.monitoring.v3.Group parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.Group parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.Group parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.Group parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.Group 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.monitoring.v3.Group parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.Group parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.Group parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.Group parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.monitoring.v3.Group parseFrom(com.google.protobuf.CodedInputStream 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.monitoring.v3.Group parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.Group prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 description of a dynamic collection of monitored resources. Each group
    * has a filter that is matched against monitored resources and their associated
@@ -578,19 +614,20 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.monitoring.v3.Group}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.Group)
       com.google.monitoring.v3.GroupOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.monitoring.v3.GroupProto.internal_static_google_monitoring_v3_Group_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.monitoring.v3.GroupProto
+          .internal_static_google_monitoring_v3_Group_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.GroupProto.internal_static_google_monitoring_v3_Group_fieldAccessorTable
+      return com.google.monitoring.v3.GroupProto
+          .internal_static_google_monitoring_v3_Group_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.monitoring.v3.Group.class, com.google.monitoring.v3.Group.Builder.class);
     }
@@ -600,16 +637,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -627,9 +663,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.monitoring.v3.GroupProto.internal_static_google_monitoring_v3_Group_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.monitoring.v3.GroupProto
+          .internal_static_google_monitoring_v3_Group_descriptor;
     }
 
     @java.lang.Override
@@ -662,38 +698,39 @@ public com.google.monitoring.v3.Group 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.monitoring.v3.Group) {
-        return mergeFrom((com.google.monitoring.v3.Group)other);
+        return mergeFrom((com.google.monitoring.v3.Group) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -752,6 +789,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The name of this group. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -761,13 +800,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -776,6 +815,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The name of this group. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -785,15 +826,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -801,6 +841,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The name of this group. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -810,20 +852,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The name of this group. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -833,15 +877,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The name of this group. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -851,16 +898,16 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -868,18 +915,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * A user-assigned name for this group, used only for display purposes.
      * 
* * string display_name = 2; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -888,20 +937,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * A user-assigned name for this group, used only for display purposes.
      * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -909,54 +959,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * A user-assigned name for this group, used only for display purposes.
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * A user-assigned name for this group, used only for display purposes.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * A user-assigned name for this group, used only for display purposes.
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -964,6 +1021,8 @@ public Builder setDisplayNameBytes( private java.lang.Object parentName_ = ""; /** + * + * *
      * The name of the group's parent, if it has one. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -971,13 +1030,13 @@ public Builder setDisplayNameBytes(
      * 
* * string parent_name = 3; + * * @return The parentName. */ public java.lang.String getParentName() { java.lang.Object ref = parentName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentName_ = s; return s; @@ -986,6 +1045,8 @@ public java.lang.String getParentName() { } } /** + * + * *
      * The name of the group's parent, if it has one. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -993,15 +1054,14 @@ public java.lang.String getParentName() {
      * 
* * string parent_name = 3; + * * @return The bytes for parentName. */ - public com.google.protobuf.ByteString - getParentNameBytes() { + public com.google.protobuf.ByteString getParentNameBytes() { java.lang.Object ref = parentName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parentName_ = b; return b; } else { @@ -1009,6 +1069,8 @@ public java.lang.String getParentName() { } } /** + * + * *
      * The name of the group's parent, if it has one. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1016,20 +1078,22 @@ public java.lang.String getParentName() {
      * 
* * string parent_name = 3; + * * @param value The parentName to set. * @return This builder for chaining. */ - public Builder setParentName( - java.lang.String value) { + public Builder setParentName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parentName_ = value; onChanged(); return this; } /** + * + * *
      * The name of the group's parent, if it has one. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1037,15 +1101,18 @@ public Builder setParentName(
      * 
* * string parent_name = 3; + * * @return This builder for chaining. */ public Builder clearParentName() { - + parentName_ = getDefaultInstance().getParentName(); onChanged(); return this; } /** + * + * *
      * The name of the group's parent, if it has one. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1053,16 +1120,16 @@ public Builder clearParentName() {
      * 
* * string parent_name = 3; + * * @param value The bytes for parentName to set. * @return This builder for chaining. */ - public Builder setParentNameBytes( - com.google.protobuf.ByteString value) { + public Builder setParentNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parentName_ = value; onChanged(); return this; @@ -1070,19 +1137,21 @@ public Builder setParentNameBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * The filter used to determine which monitored resources belong to this
      * group.
      * 
* * string filter = 5; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1091,21 +1160,22 @@ public java.lang.String getFilter() { } } /** + * + * *
      * The filter used to determine which monitored resources belong to this
      * group.
      * 
* * string filter = 5; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -1113,70 +1183,80 @@ public java.lang.String getFilter() { } } /** + * + * *
      * The filter used to determine which monitored resources belong to this
      * group.
      * 
* * string filter = 5; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * The filter used to determine which monitored resources belong to this
      * group.
      * 
* * string filter = 5; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * The filter used to determine which monitored resources belong to this
      * group.
      * 
* * string filter = 5; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private boolean isCluster_ ; + private boolean isCluster_; /** + * + * *
      * If true, the members of this group are considered to be a cluster.
      * The system can perform additional analysis on groups that are clusters.
      * 
* * bool is_cluster = 6; + * * @return The isCluster. */ @java.lang.Override @@ -1184,39 +1264,45 @@ public boolean getIsCluster() { return isCluster_; } /** + * + * *
      * If true, the members of this group are considered to be a cluster.
      * The system can perform additional analysis on groups that are clusters.
      * 
* * bool is_cluster = 6; + * * @param value The isCluster to set. * @return This builder for chaining. */ public Builder setIsCluster(boolean value) { - + isCluster_ = value; onChanged(); return this; } /** + * + * *
      * If true, the members of this group are considered to be a cluster.
      * The system can perform additional analysis on groups that are clusters.
      * 
* * bool is_cluster = 6; + * * @return This builder for chaining. */ public Builder clearIsCluster() { - + isCluster_ = 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); } @@ -1226,12 +1312,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.Group) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.Group) private static final com.google.monitoring.v3.Group DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.Group(); } @@ -1240,16 +1326,16 @@ public static com.google.monitoring.v3.Group getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Group parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Group(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Group parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Group(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1264,6 +1350,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.Group getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupName.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupName.java similarity index 100% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupName.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupName.java diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupOrBuilder.java similarity index 74% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupOrBuilder.java index 9405b652..86948e1d 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/group.proto package com.google.monitoring.v3; -public interface GroupOrBuilder extends +public interface GroupOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.Group) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The name of this group. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -17,10 +35,13 @@ public interface GroupOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The name of this group. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -30,32 +51,39 @@ public interface GroupOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * A user-assigned name for this group, used only for display purposes.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * A user-assigned name for this group, used only for display purposes.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * The name of the group's parent, if it has one. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -63,10 +91,13 @@ public interface GroupOrBuilder extends
    * 
* * string parent_name = 3; + * * @return The parentName. */ java.lang.String getParentName(); /** + * + * *
    * The name of the group's parent, if it has one. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -74,40 +105,48 @@ public interface GroupOrBuilder extends
    * 
* * string parent_name = 3; + * * @return The bytes for parentName. */ - com.google.protobuf.ByteString - getParentNameBytes(); + com.google.protobuf.ByteString getParentNameBytes(); /** + * + * *
    * The filter used to determine which monitored resources belong to this
    * group.
    * 
* * string filter = 5; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * The filter used to determine which monitored resources belong to this
    * group.
    * 
* * string filter = 5; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * If true, the members of this group are considered to be a cluster.
    * The system can perform additional analysis on groups that are clusters.
    * 
* * bool is_cluster = 6; + * * @return The isCluster. */ boolean getIsCluster(); diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupProto.java new file mode 100644 index 00000000..1c260fd2 --- /dev/null +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupProto.java @@ -0,0 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/group.proto + +package com.google.monitoring.v3; + +public final class GroupProto { + private GroupProto() {} + + 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_monitoring_v3_Group_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_Group_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/monitoring/v3/group.proto\022\024goog" + + "le.monitoring.v3\032\031google/api/resource.pr" + + "oto\"\200\002\n\005Group\022\014\n\004name\030\001 \001(\t\022\024\n\014display_n" + + "ame\030\002 \001(\t\022\023\n\013parent_name\030\003 \001(\t\022\016\n\006filter" + + "\030\005 \001(\t\022\022\n\nis_cluster\030\006 \001(\010:\231\001\352A\225\001\n\037monit" + + "oring.googleapis.com/Group\022!projects/{pr" + + "oject}/groups/{group}\022+organizations/{or" + + "ganization}/groups/{group}\022\037folders/{fol" + + "der}/groups/{group}\022\001*B\302\001\n\030com.google.mo" + + "nitoring.v3B\nGroupProtoP\001Z>google.golang" + + ".org/genproto/googleapis/monitoring/v3;m" + + "onitoring\252\002\032Google.Cloud.Monitoring.V3\312\002" + + "\032Google\\Cloud\\Monitoring\\V3\352\002\035Google::Cl" + + "oud::Monitoring::V3b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + }); + internal_static_google_monitoring_v3_Group_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_monitoring_v3_Group_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_Group_descriptor, + new java.lang.String[] { + "Name", "DisplayName", "ParentName", "Filter", "IsCluster", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupResourceType.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupResourceType.java similarity index 70% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupResourceType.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupResourceType.java index 0b0d242b..8e582398 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupResourceType.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupResourceType.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/uptime.proto package com.google.monitoring.v3; /** + * + * *
  * The supported resource types that can be used as values of
  * `group_resource.resource_type`.
@@ -14,9 +31,10 @@
  *
  * Protobuf enum {@code google.monitoring.v3.GroupResourceType}
  */
-public enum GroupResourceType
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum GroupResourceType implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Default value (not valid).
    * 
@@ -25,6 +43,8 @@ public enum GroupResourceType */ RESOURCE_TYPE_UNSPECIFIED(0), /** + * + * *
    * A group of instances from Google Cloud Platform (GCP) or
    * Amazon Web Services (AWS).
@@ -34,6 +54,8 @@ public enum GroupResourceType
    */
   INSTANCE(1),
   /**
+   *
+   *
    * 
    * A group of Amazon ELB load balancers.
    * 
@@ -45,6 +67,8 @@ public enum GroupResourceType ; /** + * + * *
    * Default value (not valid).
    * 
@@ -53,6 +77,8 @@ public enum GroupResourceType */ public static final int RESOURCE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * A group of instances from Google Cloud Platform (GCP) or
    * Amazon Web Services (AWS).
@@ -62,6 +88,8 @@ public enum GroupResourceType
    */
   public static final int INSTANCE_VALUE = 1;
   /**
+   *
+   *
    * 
    * A group of Amazon ELB load balancers.
    * 
@@ -70,7 +98,6 @@ public enum GroupResourceType */ public static final int AWS_ELB_LOAD_BALANCER_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -95,39 +122,42 @@ public static GroupResourceType valueOf(int value) { */ public static GroupResourceType forNumber(int value) { switch (value) { - case 0: return RESOURCE_TYPE_UNSPECIFIED; - case 1: return INSTANCE; - case 2: return AWS_ELB_LOAD_BALANCER; - default: return null; + case 0: + return RESOURCE_TYPE_UNSPECIFIED; + case 1: + return INSTANCE; + case 2: + return AWS_ELB_LOAD_BALANCER; + 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< - GroupResourceType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public GroupResourceType findValueByNumber(int number) { - return GroupResourceType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public GroupResourceType findValueByNumber(int number) { + return GroupResourceType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.monitoring.v3.UptimeProto.getDescriptor().getEnumTypes().get(1); } @@ -136,8 +166,7 @@ public GroupResourceType findValueByNumber(int number) { public static GroupResourceType 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; @@ -153,4 +182,3 @@ private GroupResourceType(int value) { // @@protoc_insertion_point(enum_scope:google.monitoring.v3.GroupResourceType) } - diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupServiceProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupServiceProto.java new file mode 100644 index 00000000..58ca29f2 --- /dev/null +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/GroupServiceProto.java @@ -0,0 +1,245 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/group_service.proto + +package com.google.monitoring.v3; + +public final class GroupServiceProto { + private GroupServiceProto() {} + + 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_monitoring_v3_ListGroupsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_ListGroupsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_ListGroupsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_ListGroupsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_GetGroupRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_GetGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_CreateGroupRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_CreateGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_UpdateGroupRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_UpdateGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_DeleteGroupRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_DeleteGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_ListGroupMembersRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_ListGroupMembersRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_ListGroupMembersResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_ListGroupMembersResponse_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/monitoring/v3/group_service.pro" + + "to\022\024google.monitoring.v3\032\034google/api/ann" + + "otations.proto\032\027google/api/client.proto\032" + + "\037google/api/field_behavior.proto\032#google" + + "/api/monitored_resource.proto\032\031google/ap" + + "i/resource.proto\032!google/monitoring/v3/c" + + "ommon.proto\032 google/monitoring/v3/group." + + "proto\032\033google/protobuf/empty.proto\"\310\002\n\021L" + + "istGroupsRequest\0225\n\004name\030\007 \001(\tB\'\340A\002\372A!\022\037" + + "monitoring.googleapis.com/Group\022A\n\021child" + + "ren_of_group\030\002 \001(\tB$\372A!\n\037monitoring.goog" + + "leapis.com/GroupH\000\022B\n\022ancestors_of_group" + + "\030\003 \001(\tB$\372A!\n\037monitoring.googleapis.com/G" + + "roupH\000\022D\n\024descendants_of_group\030\004 \001(\tB$\372A" + + "!\n\037monitoring.googleapis.com/GroupH\000\022\021\n\t" + + "page_size\030\005 \001(\005\022\022\n\npage_token\030\006 \001(\tB\010\n\006f" + + "ilter\"Y\n\022ListGroupsResponse\022*\n\005group\030\001 \003" + + "(\0132\033.google.monitoring.v3.Group\022\027\n\017next_" + + "page_token\030\002 \001(\t\"H\n\017GetGroupRequest\0225\n\004n" + + "ame\030\003 \001(\tB\'\340A\002\372A!\n\037monitoring.googleapis" + + ".com/Group\"\223\001\n\022CreateGroupRequest\0225\n\004nam" + + "e\030\004 \001(\tB\'\340A\002\372A!\022\037monitoring.googleapis.c" + + "om/Group\022/\n\005group\030\002 \001(\0132\033.google.monitor" + + "ing.v3.GroupB\003\340A\002\022\025\n\rvalidate_only\030\003 \001(\010" + + "\"\\\n\022UpdateGroupRequest\022/\n\005group\030\002 \001(\0132\033." + + "google.monitoring.v3.GroupB\003\340A\002\022\025\n\rvalid" + + "ate_only\030\003 \001(\010\"^\n\022DeleteGroupRequest\0225\n\004" + + "name\030\003 \001(\tB\'\340A\002\372A!\n\037monitoring.googleapi" + + "s.com/Group\022\021\n\trecursive\030\004 \001(\010\"\275\001\n\027ListG" + + "roupMembersRequest\0225\n\004name\030\007 \001(\tB\'\340A\002\372A!" + + "\n\037monitoring.googleapis.com/Group\022\021\n\tpag" + + "e_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\022\016\n\006filt" + + "er\030\005 \001(\t\0224\n\010interval\030\006 \001(\0132\".google.moni" + + "toring.v3.TimeInterval\"w\n\030ListGroupMembe" + + "rsResponse\022.\n\007members\030\001 \003(\0132\035.google.api" + + ".MonitoredResource\022\027\n\017next_page_token\030\002 " + + "\001(\t\022\022\n\ntotal_size\030\003 \001(\0052\230\010\n\014GroupService" + + "\022\214\001\n\nListGroups\022\'.google.monitoring.v3.L" + + "istGroupsRequest\032(.google.monitoring.v3." + + "ListGroupsResponse\"+\202\323\344\223\002\036\022\034/v3/{name=pr" + + "ojects/*}/groups\332A\004name\022}\n\010GetGroup\022%.go" + + "ogle.monitoring.v3.GetGroupRequest\032\033.goo" + + "gle.monitoring.v3.Group\"-\202\323\344\223\002 \022\036/v3/{na" + + "me=projects/*/groups/*}\332A\004name\022\216\001\n\013Creat" + + "eGroup\022(.google.monitoring.v3.CreateGrou" + + "pRequest\032\033.google.monitoring.v3.Group\"8\202" + + "\323\344\223\002%\"\034/v3/{name=projects/*}/groups:\005gro" + + "up\332A\nname,group\022\221\001\n\013UpdateGroup\022(.google" + + ".monitoring.v3.UpdateGroupRequest\032\033.goog" + + "le.monitoring.v3.Group\";\202\323\344\223\002-\032$/v3/{gro" + + "up.name=projects/*/groups/*}:\005group\332A\005gr" + + "oup\022~\n\013DeleteGroup\022(.google.monitoring.v" + + "3.DeleteGroupRequest\032\026.google.protobuf.E" + + "mpty\"-\202\323\344\223\002 *\036/v3/{name=projects/*/group" + + "s/*}\332A\004name\022\250\001\n\020ListGroupMembers\022-.googl" + + "e.monitoring.v3.ListGroupMembersRequest\032" + + "..google.monitoring.v3.ListGroupMembersR" + + "esponse\"5\202\323\344\223\002(\022&/v3/{name=projects/*/gr" + + "oups/*}/members\332A\004name\032\251\001\312A\031monitoring.g" + + "oogleapis.com\322A\211\001https://www.googleapis." + + "com/auth/cloud-platform,https://www.goog" + + "leapis.com/auth/monitoring,https://www.g" + + "oogleapis.com/auth/monitoring.readB\311\001\n\030c" + + "om.google.monitoring.v3B\021GroupServicePro" + + "toP\001Z>google.golang.org/genproto/googlea" + + "pis/monitoring/v3;monitoring\252\002\032Google.Cl" + + "oud.Monitoring.V3\312\002\032Google\\Cloud\\Monitor" + + "ing\\V3\352\002\035Google::Cloud::Monitoring::V3b\006" + + "proto3" + }; + 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.MonitoredResourceProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.monitoring.v3.CommonProto.getDescriptor(), + com.google.monitoring.v3.GroupProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + }); + internal_static_google_monitoring_v3_ListGroupsRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_monitoring_v3_ListGroupsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_ListGroupsRequest_descriptor, + new java.lang.String[] { + "Name", + "ChildrenOfGroup", + "AncestorsOfGroup", + "DescendantsOfGroup", + "PageSize", + "PageToken", + "Filter", + }); + internal_static_google_monitoring_v3_ListGroupsResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_monitoring_v3_ListGroupsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_ListGroupsResponse_descriptor, + new java.lang.String[] { + "Group", "NextPageToken", + }); + internal_static_google_monitoring_v3_GetGroupRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_monitoring_v3_GetGroupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_GetGroupRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_monitoring_v3_CreateGroupRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_monitoring_v3_CreateGroupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_CreateGroupRequest_descriptor, + new java.lang.String[] { + "Name", "Group", "ValidateOnly", + }); + internal_static_google_monitoring_v3_UpdateGroupRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_monitoring_v3_UpdateGroupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_UpdateGroupRequest_descriptor, + new java.lang.String[] { + "Group", "ValidateOnly", + }); + internal_static_google_monitoring_v3_DeleteGroupRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_monitoring_v3_DeleteGroupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_DeleteGroupRequest_descriptor, + new java.lang.String[] { + "Name", "Recursive", + }); + internal_static_google_monitoring_v3_ListGroupMembersRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_monitoring_v3_ListGroupMembersRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_ListGroupMembersRequest_descriptor, + new java.lang.String[] { + "Name", "PageSize", "PageToken", "Filter", "Interval", + }); + internal_static_google_monitoring_v3_ListGroupMembersResponse_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_monitoring_v3_ListGroupMembersResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_ListGroupMembersResponse_descriptor, + new java.lang.String[] { + "Members", "NextPageToken", "TotalSize", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.MonitoredResourceProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.monitoring.v3.CommonProto.getDescriptor(); + com.google.monitoring.v3.GroupProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/InternalChecker.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/InternalChecker.java similarity index 75% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/InternalChecker.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/InternalChecker.java index 65ed9030..cfd6e230 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/InternalChecker.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/InternalChecker.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/uptime.proto package com.google.monitoring.v3; /** + * + * *
  * An internal checker allows Uptime checks to run on private/internal GCP
  * resources.
@@ -11,15 +28,17 @@
  *
  * Protobuf type {@code google.monitoring.v3.InternalChecker}
  */
-@java.lang.Deprecated public final class InternalChecker extends
-    com.google.protobuf.GeneratedMessageV3 implements
+@java.lang.Deprecated
+public final class InternalChecker extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.InternalChecker)
     InternalCheckerOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use InternalChecker.newBuilder() to construct.
   private InternalChecker(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private InternalChecker() {
     name_ = "";
     displayName_ = "";
@@ -31,16 +50,15 @@ private InternalChecker() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new InternalChecker();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private InternalChecker(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -59,84 +77,95 @@ private InternalChecker(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              name_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            displayName_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              displayName_ = s;
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            network_ = s;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+              network_ = s;
+              break;
+            }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            gcpZone_ = s;
-            break;
-          }
-          case 50: {
-            java.lang.String s = input.readStringRequireUtf8();
+              gcpZone_ = s;
+              break;
+            }
+          case 50:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            peerProjectId_ = s;
-            break;
-          }
-          case 56: {
-            int rawValue = input.readEnum();
+              peerProjectId_ = s;
+              break;
+            }
+          case 56:
+            {
+              int rawValue = input.readEnum();
 
-            state_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              state_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_InternalChecker_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.monitoring.v3.UptimeProto
+        .internal_static_google_monitoring_v3_InternalChecker_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_InternalChecker_fieldAccessorTable
+    return com.google.monitoring.v3.UptimeProto
+        .internal_static_google_monitoring_v3_InternalChecker_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.InternalChecker.class, com.google.monitoring.v3.InternalChecker.Builder.class);
+            com.google.monitoring.v3.InternalChecker.class,
+            com.google.monitoring.v3.InternalChecker.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Operational states for an internal checker.
    * 
* * Protobuf enum {@code google.monitoring.v3.InternalChecker.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * An internal checker should never be in the unspecified state.
      * 
@@ -145,6 +174,8 @@ public enum State */ UNSPECIFIED(0), /** + * + * *
      * The checker is being created, provisioned, and configured. A checker in
      * this state can be returned by `ListInternalCheckers` or
@@ -157,6 +188,8 @@ public enum State
      */
     CREATING(1),
     /**
+     *
+     *
      * 
      * The checker is running and available for use. A checker in this state
      * can be returned by `ListInternalCheckers` or `GetInternalChecker` as
@@ -174,6 +207,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * An internal checker should never be in the unspecified state.
      * 
@@ -182,6 +217,8 @@ public enum State */ public static final int UNSPECIFIED_VALUE = 0; /** + * + * *
      * The checker is being created, provisioned, and configured. A checker in
      * this state can be returned by `ListInternalCheckers` or
@@ -194,6 +231,8 @@ public enum State
      */
     public static final int CREATING_VALUE = 1;
     /**
+     *
+     *
      * 
      * The checker is running and available for use. A checker in this state
      * can be returned by `ListInternalCheckers` or `GetInternalChecker` as
@@ -208,7 +247,6 @@ public enum State
      */
     public static final int RUNNING_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -233,49 +271,49 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return UNSPECIFIED;
-        case 1: return CREATING;
-        case 2: return RUNNING;
-        default: return null;
+        case 0:
+          return UNSPECIFIED;
+        case 1:
+          return CREATING;
+        case 2:
+          return RUNNING;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        State> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public State findValueByNumber(int number) {
+            return State.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.monitoring.v3.InternalChecker.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -295,6 +333,8 @@ private State(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * A unique resource name for this InternalChecker. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID]
@@ -303,6 +343,7 @@ private State(int value) {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -311,14 +352,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * A unique resource name for this InternalChecker. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID]
@@ -327,16 +369,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -347,6 +388,8 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * The checker's human-readable name. The display name
    * should be unique within a Stackdriver Workspace in order to make it easier
@@ -354,6 +397,7 @@ public java.lang.String getName() {
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -362,14 +406,15 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * The checker's human-readable name. The display name
    * should be unique within a Stackdriver Workspace in order to make it easier
@@ -377,16 +422,15 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -397,12 +441,15 @@ public java.lang.String getDisplayName() { public static final int NETWORK_FIELD_NUMBER = 3; private volatile java.lang.Object network_; /** + * + * *
    * The [GCP VPC network](https://cloud.google.com/vpc/docs/vpc) where the
    * internal resource lives (ex: "default").
    * 
* * string network = 3; + * * @return The network. */ @java.lang.Override @@ -411,30 +458,30 @@ public java.lang.String getNetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; } } /** + * + * *
    * The [GCP VPC network](https://cloud.google.com/vpc/docs/vpc) where the
    * internal resource lives (ex: "default").
    * 
* * string network = 3; + * * @return The bytes for network. */ @java.lang.Override - public com.google.protobuf.ByteString - getNetworkBytes() { + public com.google.protobuf.ByteString getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); network_ = b; return b; } else { @@ -445,12 +492,15 @@ public java.lang.String getNetwork() { public static final int GCP_ZONE_FIELD_NUMBER = 4; private volatile java.lang.Object gcpZone_; /** + * + * *
    * The GCP zone the Uptime check should egress from. Only respected for
    * internal Uptime checks, where internal_network is specified.
    * 
* * string gcp_zone = 4; + * * @return The gcpZone. */ @java.lang.Override @@ -459,30 +509,30 @@ public java.lang.String getGcpZone() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gcpZone_ = s; return s; } } /** + * + * *
    * The GCP zone the Uptime check should egress from. Only respected for
    * internal Uptime checks, where internal_network is specified.
    * 
* * string gcp_zone = 4; + * * @return The bytes for gcpZone. */ @java.lang.Override - public com.google.protobuf.ByteString - getGcpZoneBytes() { + public com.google.protobuf.ByteString getGcpZoneBytes() { java.lang.Object ref = gcpZone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); gcpZone_ = b; return b; } else { @@ -493,12 +543,15 @@ public java.lang.String getGcpZone() { public static final int PEER_PROJECT_ID_FIELD_NUMBER = 6; private volatile java.lang.Object peerProjectId_; /** + * + * *
    * The GCP project ID where the internal checker lives. Not necessary
    * the same as the Workspace project.
    * 
* * string peer_project_id = 6; + * * @return The peerProjectId. */ @java.lang.Override @@ -507,30 +560,30 @@ public java.lang.String getPeerProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); peerProjectId_ = s; return s; } } /** + * + * *
    * The GCP project ID where the internal checker lives. Not necessary
    * the same as the Workspace project.
    * 
* * string peer_project_id = 6; + * * @return The bytes for peerProjectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getPeerProjectIdBytes() { + public com.google.protobuf.ByteString getPeerProjectIdBytes() { java.lang.Object ref = peerProjectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); peerProjectId_ = b; return b; } else { @@ -541,31 +594,41 @@ public java.lang.String getPeerProjectId() { public static final int STATE_FIELD_NUMBER = 7; private int state_; /** + * + * *
    * The current operational state of the internal checker.
    * 
* * .google.monitoring.v3.InternalChecker.State state = 7; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * The current operational state of the internal checker.
    * 
* * .google.monitoring.v3.InternalChecker.State state = 7; + * * @return The state. */ - @java.lang.Override public com.google.monitoring.v3.InternalChecker.State getState() { + @java.lang.Override + public com.google.monitoring.v3.InternalChecker.State getState() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.InternalChecker.State result = com.google.monitoring.v3.InternalChecker.State.valueOf(state_); + com.google.monitoring.v3.InternalChecker.State result = + com.google.monitoring.v3.InternalChecker.State.valueOf(state_); return result == null ? com.google.monitoring.v3.InternalChecker.State.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -577,8 +640,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -622,8 +684,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, peerProjectId_); } if (state_ != com.google.monitoring.v3.InternalChecker.State.UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, state_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -633,23 +694,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.monitoring.v3.InternalChecker)) { return super.equals(obj); } com.google.monitoring.v3.InternalChecker other = (com.google.monitoring.v3.InternalChecker) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getNetwork() - .equals(other.getNetwork())) return false; - if (!getGcpZone() - .equals(other.getGcpZone())) return false; - if (!getPeerProjectId() - .equals(other.getPeerProjectId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getNetwork().equals(other.getNetwork())) return false; + if (!getGcpZone().equals(other.getGcpZone())) return false; + if (!getPeerProjectId().equals(other.getPeerProjectId())) return false; if (state_ != other.state_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -679,97 +735,104 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.InternalChecker parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.InternalChecker parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.InternalChecker parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.InternalChecker parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.InternalChecker parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.InternalChecker parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.InternalChecker parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.InternalChecker 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.monitoring.v3.InternalChecker parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.InternalChecker parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.InternalChecker parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.InternalChecker parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.InternalChecker parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.InternalChecker parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.InternalChecker prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * An internal checker allows Uptime checks to run on private/internal GCP
    * resources.
@@ -777,21 +840,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.monitoring.v3.InternalChecker}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.InternalChecker)
       com.google.monitoring.v3.InternalCheckerOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_InternalChecker_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.monitoring.v3.UptimeProto
+          .internal_static_google_monitoring_v3_InternalChecker_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_InternalChecker_fieldAccessorTable
+      return com.google.monitoring.v3.UptimeProto
+          .internal_static_google_monitoring_v3_InternalChecker_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.InternalChecker.class, com.google.monitoring.v3.InternalChecker.Builder.class);
+              com.google.monitoring.v3.InternalChecker.class,
+              com.google.monitoring.v3.InternalChecker.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.InternalChecker.newBuilder()
@@ -799,16 +864,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -828,9 +892,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_InternalChecker_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.monitoring.v3.UptimeProto
+          .internal_static_google_monitoring_v3_InternalChecker_descriptor;
     }
 
     @java.lang.Override
@@ -849,7 +913,8 @@ public com.google.monitoring.v3.InternalChecker build() {
 
     @java.lang.Override
     public com.google.monitoring.v3.InternalChecker buildPartial() {
-      com.google.monitoring.v3.InternalChecker result = new com.google.monitoring.v3.InternalChecker(this);
+      com.google.monitoring.v3.InternalChecker result =
+          new com.google.monitoring.v3.InternalChecker(this);
       result.name_ = name_;
       result.displayName_ = displayName_;
       result.network_ = network_;
@@ -864,38 +929,39 @@ public com.google.monitoring.v3.InternalChecker 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.monitoring.v3.InternalChecker) {
-        return mergeFrom((com.google.monitoring.v3.InternalChecker)other);
+        return mergeFrom((com.google.monitoring.v3.InternalChecker) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -958,6 +1024,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * A unique resource name for this InternalChecker. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID]
@@ -966,13 +1034,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -981,6 +1049,8 @@ public java.lang.String getName() { } } /** + * + * *
      * A unique resource name for this InternalChecker. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID]
@@ -989,15 +1059,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1005,6 +1074,8 @@ public java.lang.String getName() { } } /** + * + * *
      * A unique resource name for this InternalChecker. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID]
@@ -1013,20 +1084,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * A unique resource name for this InternalChecker. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID]
@@ -1035,15 +1108,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * A unique resource name for this InternalChecker. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID]
@@ -1052,16 +1128,16 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1069,6 +1145,8 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * The checker's human-readable name. The display name
      * should be unique within a Stackdriver Workspace in order to make it easier
@@ -1076,13 +1154,13 @@ public Builder setNameBytes(
      * 
* * string display_name = 2; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1091,6 +1169,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The checker's human-readable name. The display name
      * should be unique within a Stackdriver Workspace in order to make it easier
@@ -1098,15 +1178,14 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -1114,6 +1193,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The checker's human-readable name. The display name
      * should be unique within a Stackdriver Workspace in order to make it easier
@@ -1121,20 +1202,22 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * The checker's human-readable name. The display name
      * should be unique within a Stackdriver Workspace in order to make it easier
@@ -1142,15 +1225,18 @@ public Builder setDisplayName(
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * The checker's human-readable name. The display name
      * should be unique within a Stackdriver Workspace in order to make it easier
@@ -1158,16 +1244,16 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1175,19 +1261,21 @@ public Builder setDisplayNameBytes( private java.lang.Object network_ = ""; /** + * + * *
      * The [GCP VPC network](https://cloud.google.com/vpc/docs/vpc) where the
      * internal resource lives (ex: "default").
      * 
* * string network = 3; + * * @return The network. */ public java.lang.String getNetwork() { java.lang.Object ref = network_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; @@ -1196,21 +1284,22 @@ public java.lang.String getNetwork() { } } /** + * + * *
      * The [GCP VPC network](https://cloud.google.com/vpc/docs/vpc) where the
      * internal resource lives (ex: "default").
      * 
* * string network = 3; + * * @return The bytes for network. */ - public com.google.protobuf.ByteString - getNetworkBytes() { + public com.google.protobuf.ByteString getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); network_ = b; return b; } else { @@ -1218,57 +1307,64 @@ public java.lang.String getNetwork() { } } /** + * + * *
      * The [GCP VPC network](https://cloud.google.com/vpc/docs/vpc) where the
      * internal resource lives (ex: "default").
      * 
* * string network = 3; + * * @param value The network to set. * @return This builder for chaining. */ - public Builder setNetwork( - java.lang.String value) { + public Builder setNetwork(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + network_ = value; onChanged(); return this; } /** + * + * *
      * The [GCP VPC network](https://cloud.google.com/vpc/docs/vpc) where the
      * internal resource lives (ex: "default").
      * 
* * string network = 3; + * * @return This builder for chaining. */ public Builder clearNetwork() { - + network_ = getDefaultInstance().getNetwork(); onChanged(); return this; } /** + * + * *
      * The [GCP VPC network](https://cloud.google.com/vpc/docs/vpc) where the
      * internal resource lives (ex: "default").
      * 
* * string network = 3; + * * @param value The bytes for network to set. * @return This builder for chaining. */ - public Builder setNetworkBytes( - com.google.protobuf.ByteString value) { + public Builder setNetworkBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + network_ = value; onChanged(); return this; @@ -1276,19 +1372,21 @@ public Builder setNetworkBytes( private java.lang.Object gcpZone_ = ""; /** + * + * *
      * The GCP zone the Uptime check should egress from. Only respected for
      * internal Uptime checks, where internal_network is specified.
      * 
* * string gcp_zone = 4; + * * @return The gcpZone. */ public java.lang.String getGcpZone() { java.lang.Object ref = gcpZone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gcpZone_ = s; return s; @@ -1297,21 +1395,22 @@ public java.lang.String getGcpZone() { } } /** + * + * *
      * The GCP zone the Uptime check should egress from. Only respected for
      * internal Uptime checks, where internal_network is specified.
      * 
* * string gcp_zone = 4; + * * @return The bytes for gcpZone. */ - public com.google.protobuf.ByteString - getGcpZoneBytes() { + public com.google.protobuf.ByteString getGcpZoneBytes() { java.lang.Object ref = gcpZone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); gcpZone_ = b; return b; } else { @@ -1319,57 +1418,64 @@ public java.lang.String getGcpZone() { } } /** + * + * *
      * The GCP zone the Uptime check should egress from. Only respected for
      * internal Uptime checks, where internal_network is specified.
      * 
* * string gcp_zone = 4; + * * @param value The gcpZone to set. * @return This builder for chaining. */ - public Builder setGcpZone( - java.lang.String value) { + public Builder setGcpZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + gcpZone_ = value; onChanged(); return this; } /** + * + * *
      * The GCP zone the Uptime check should egress from. Only respected for
      * internal Uptime checks, where internal_network is specified.
      * 
* * string gcp_zone = 4; + * * @return This builder for chaining. */ public Builder clearGcpZone() { - + gcpZone_ = getDefaultInstance().getGcpZone(); onChanged(); return this; } /** + * + * *
      * The GCP zone the Uptime check should egress from. Only respected for
      * internal Uptime checks, where internal_network is specified.
      * 
* * string gcp_zone = 4; + * * @param value The bytes for gcpZone to set. * @return This builder for chaining. */ - public Builder setGcpZoneBytes( - com.google.protobuf.ByteString value) { + public Builder setGcpZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + gcpZone_ = value; onChanged(); return this; @@ -1377,19 +1483,21 @@ public Builder setGcpZoneBytes( private java.lang.Object peerProjectId_ = ""; /** + * + * *
      * The GCP project ID where the internal checker lives. Not necessary
      * the same as the Workspace project.
      * 
* * string peer_project_id = 6; + * * @return The peerProjectId. */ public java.lang.String getPeerProjectId() { java.lang.Object ref = peerProjectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); peerProjectId_ = s; return s; @@ -1398,21 +1506,22 @@ public java.lang.String getPeerProjectId() { } } /** + * + * *
      * The GCP project ID where the internal checker lives. Not necessary
      * the same as the Workspace project.
      * 
* * string peer_project_id = 6; + * * @return The bytes for peerProjectId. */ - public com.google.protobuf.ByteString - getPeerProjectIdBytes() { + public com.google.protobuf.ByteString getPeerProjectIdBytes() { java.lang.Object ref = peerProjectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); peerProjectId_ = b; return b; } else { @@ -1420,57 +1529,64 @@ public java.lang.String getPeerProjectId() { } } /** + * + * *
      * The GCP project ID where the internal checker lives. Not necessary
      * the same as the Workspace project.
      * 
* * string peer_project_id = 6; + * * @param value The peerProjectId to set. * @return This builder for chaining. */ - public Builder setPeerProjectId( - java.lang.String value) { + public Builder setPeerProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + peerProjectId_ = value; onChanged(); return this; } /** + * + * *
      * The GCP project ID where the internal checker lives. Not necessary
      * the same as the Workspace project.
      * 
* * string peer_project_id = 6; + * * @return This builder for chaining. */ public Builder clearPeerProjectId() { - + peerProjectId_ = getDefaultInstance().getPeerProjectId(); onChanged(); return this; } /** + * + * *
      * The GCP project ID where the internal checker lives. Not necessary
      * the same as the Workspace project.
      * 
* * string peer_project_id = 6; + * * @param value The bytes for peerProjectId to set. * @return This builder for chaining. */ - public Builder setPeerProjectIdBytes( - com.google.protobuf.ByteString value) { + public Builder setPeerProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + peerProjectId_ = value; onChanged(); return this; @@ -1478,51 +1594,65 @@ public Builder setPeerProjectIdBytes( private int state_ = 0; /** + * + * *
      * The current operational state of the internal checker.
      * 
* * .google.monitoring.v3.InternalChecker.State state = 7; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * The current operational state of the internal checker.
      * 
* * .google.monitoring.v3.InternalChecker.State state = 7; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * The current operational state of the internal checker.
      * 
* * .google.monitoring.v3.InternalChecker.State state = 7; + * * @return The state. */ @java.lang.Override public com.google.monitoring.v3.InternalChecker.State getState() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.InternalChecker.State result = com.google.monitoring.v3.InternalChecker.State.valueOf(state_); + com.google.monitoring.v3.InternalChecker.State result = + com.google.monitoring.v3.InternalChecker.State.valueOf(state_); return result == null ? com.google.monitoring.v3.InternalChecker.State.UNRECOGNIZED : result; } /** + * + * *
      * The current operational state of the internal checker.
      * 
* * .google.monitoring.v3.InternalChecker.State state = 7; + * * @param value The state to set. * @return This builder for chaining. */ @@ -1530,28 +1660,31 @@ public Builder setState(com.google.monitoring.v3.InternalChecker.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The current operational state of the internal checker.
      * 
* * .google.monitoring.v3.InternalChecker.State state = 7; + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1561,12 +1694,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.InternalChecker) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.InternalChecker) private static final com.google.monitoring.v3.InternalChecker DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.InternalChecker(); } @@ -1575,16 +1708,16 @@ public static com.google.monitoring.v3.InternalChecker getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InternalChecker parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InternalChecker(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InternalChecker parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InternalChecker(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1599,6 +1732,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.InternalChecker getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/InternalCheckerOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/InternalCheckerOrBuilder.java similarity index 77% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/InternalCheckerOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/InternalCheckerOrBuilder.java index f6aff410..fed6e5b2 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/InternalCheckerOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/InternalCheckerOrBuilder.java @@ -1,13 +1,32 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/uptime.proto package com.google.monitoring.v3; -@java.lang.Deprecated public interface InternalCheckerOrBuilder extends +@java.lang.Deprecated +public interface InternalCheckerOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.InternalChecker) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A unique resource name for this InternalChecker. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID]
@@ -16,10 +35,13 @@
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * A unique resource name for this InternalChecker. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID]
@@ -28,12 +50,14 @@
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The checker's human-readable name. The display name
    * should be unique within a Stackdriver Workspace in order to make it easier
@@ -41,10 +65,13 @@
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * The checker's human-readable name. The display name
    * should be unique within a Stackdriver Workspace in order to make it easier
@@ -52,92 +79,113 @@
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * The [GCP VPC network](https://cloud.google.com/vpc/docs/vpc) where the
    * internal resource lives (ex: "default").
    * 
* * string network = 3; + * * @return The network. */ java.lang.String getNetwork(); /** + * + * *
    * The [GCP VPC network](https://cloud.google.com/vpc/docs/vpc) where the
    * internal resource lives (ex: "default").
    * 
* * string network = 3; + * * @return The bytes for network. */ - com.google.protobuf.ByteString - getNetworkBytes(); + com.google.protobuf.ByteString getNetworkBytes(); /** + * + * *
    * The GCP zone the Uptime check should egress from. Only respected for
    * internal Uptime checks, where internal_network is specified.
    * 
* * string gcp_zone = 4; + * * @return The gcpZone. */ java.lang.String getGcpZone(); /** + * + * *
    * The GCP zone the Uptime check should egress from. Only respected for
    * internal Uptime checks, where internal_network is specified.
    * 
* * string gcp_zone = 4; + * * @return The bytes for gcpZone. */ - com.google.protobuf.ByteString - getGcpZoneBytes(); + com.google.protobuf.ByteString getGcpZoneBytes(); /** + * + * *
    * The GCP project ID where the internal checker lives. Not necessary
    * the same as the Workspace project.
    * 
* * string peer_project_id = 6; + * * @return The peerProjectId. */ java.lang.String getPeerProjectId(); /** + * + * *
    * The GCP project ID where the internal checker lives. Not necessary
    * the same as the Workspace project.
    * 
* * string peer_project_id = 6; + * * @return The bytes for peerProjectId. */ - com.google.protobuf.ByteString - getPeerProjectIdBytes(); + com.google.protobuf.ByteString getPeerProjectIdBytes(); /** + * + * *
    * The current operational state of the internal checker.
    * 
* * .google.monitoring.v3.InternalChecker.State state = 7; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * The current operational state of the internal checker.
    * 
* * .google.monitoring.v3.InternalChecker.State state = 7; + * * @return The state. */ com.google.monitoring.v3.InternalChecker.State getState(); diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/LabelValue.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/LabelValue.java similarity index 70% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/LabelValue.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/LabelValue.java index b228338b..384b09fb 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/LabelValue.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/LabelValue.java @@ -1,39 +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/monitoring/v3/metric.proto package com.google.monitoring.v3; /** + * + * *
  * A label value.
  * 
* * Protobuf type {@code google.monitoring.v3.LabelValue} */ -public final class LabelValue extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LabelValue extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.LabelValue) LabelValueOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LabelValue.newBuilder() to construct. private LabelValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LabelValue() { - } + + private LabelValue() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LabelValue(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private LabelValue( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,64 +68,72 @@ private LabelValue( case 0: done = true; break; - case 8: { - valueCase_ = 1; - value_ = input.readBool(); - break; - } - case 16: { - valueCase_ = 2; - value_ = input.readInt64(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - valueCase_ = 3; - value_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + valueCase_ = 1; + value_ = input.readBool(); + break; + } + case 16: + { + valueCase_ = 2; + value_ = input.readInt64(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + valueCase_ = 3; + value_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_LabelValue_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricProto + .internal_static_google_monitoring_v3_LabelValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_LabelValue_fieldAccessorTable + return com.google.monitoring.v3.MetricProto + .internal_static_google_monitoring_v3_LabelValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.LabelValue.class, com.google.monitoring.v3.LabelValue.Builder.class); + com.google.monitoring.v3.LabelValue.class, + com.google.monitoring.v3.LabelValue.Builder.class); } private int valueCase_ = 0; private java.lang.Object value_; + public enum ValueCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BOOL_VALUE(1), INT64_VALUE(2), STRING_VALUE(3), VALUE_NOT_SET(0); private final int value; + private ValueCase(int value) { this.value = value; } @@ -125,31 +149,38 @@ public static ValueCase valueOf(int value) { public static ValueCase forNumber(int value) { switch (value) { - case 1: return BOOL_VALUE; - case 2: return INT64_VALUE; - case 3: return STRING_VALUE; - case 0: return VALUE_NOT_SET; - default: return null; + case 1: + return BOOL_VALUE; + case 2: + return INT64_VALUE; + case 3: + return STRING_VALUE; + case 0: + return VALUE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ValueCase - getValueCase() { - return ValueCase.forNumber( - valueCase_); + public ValueCase getValueCase() { + return ValueCase.forNumber(valueCase_); } public static final int BOOL_VALUE_FIELD_NUMBER = 1; /** + * + * *
    * A bool label value.
    * 
* * bool bool_value = 1; + * * @return Whether the boolValue field is set. */ @java.lang.Override @@ -157,11 +188,14 @@ public boolean hasBoolValue() { return valueCase_ == 1; } /** + * + * *
    * A bool label value.
    * 
* * bool bool_value = 1; + * * @return The boolValue. */ @java.lang.Override @@ -174,11 +208,14 @@ public boolean getBoolValue() { public static final int INT64_VALUE_FIELD_NUMBER = 2; /** + * + * *
    * An int64 label value.
    * 
* * int64 int64_value = 2; + * * @return Whether the int64Value field is set. */ @java.lang.Override @@ -186,11 +223,14 @@ public boolean hasInt64Value() { return valueCase_ == 2; } /** + * + * *
    * An int64 label value.
    * 
* * int64 int64_value = 2; + * * @return The int64Value. */ @java.lang.Override @@ -203,22 +243,28 @@ public long getInt64Value() { public static final int STRING_VALUE_FIELD_NUMBER = 3; /** + * + * *
    * A string label value.
    * 
* * string string_value = 3; + * * @return Whether the stringValue field is set. */ public boolean hasStringValue() { return valueCase_ == 3; } /** + * + * *
    * A string label value.
    * 
* * string string_value = 3; + * * @return The stringValue. */ public java.lang.String getStringValue() { @@ -229,8 +275,7 @@ public java.lang.String getStringValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueCase_ == 3) { value_ = s; @@ -239,23 +284,24 @@ public java.lang.String getStringValue() { } } /** + * + * *
    * A string label value.
    * 
* * string string_value = 3; + * * @return The bytes for stringValue. */ - public com.google.protobuf.ByteString - getStringValueBytes() { + public com.google.protobuf.ByteString getStringValueBytes() { java.lang.Object ref = ""; if (valueCase_ == 3) { ref = value_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (valueCase_ == 3) { value_ = b; } @@ -266,6 +312,7 @@ public java.lang.String getStringValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -277,15 +324,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (valueCase_ == 1) { - output.writeBool( - 1, (boolean)((java.lang.Boolean) value_)); + output.writeBool(1, (boolean) ((java.lang.Boolean) value_)); } if (valueCase_ == 2) { - output.writeInt64( - 2, (long)((java.lang.Long) value_)); + output.writeInt64(2, (long) ((java.lang.Long) value_)); } if (valueCase_ == 3) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, value_); @@ -300,14 +344,14 @@ public int getSerializedSize() { size = 0; if (valueCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize( - 1, (boolean)((java.lang.Boolean) value_)); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 1, (boolean) ((java.lang.Boolean) value_)); } if (valueCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size( - 2, (long)((java.lang.Long) value_)); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 2, (long) ((java.lang.Long) value_)); } if (valueCase_ == 3) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, value_); @@ -320,7 +364,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.LabelValue)) { return super.equals(obj); @@ -330,16 +374,13 @@ public boolean equals(final java.lang.Object obj) { if (!getValueCase().equals(other.getValueCase())) return false; switch (valueCase_) { case 1: - if (getBoolValue() - != other.getBoolValue()) return false; + if (getBoolValue() != other.getBoolValue()) return false; break; case 2: - if (getInt64Value() - != other.getInt64Value()) return false; + if (getInt64Value() != other.getInt64Value()) return false; break; case 3: - if (!getStringValue() - .equals(other.getStringValue())) return false; + if (!getStringValue().equals(other.getStringValue())) return false; break; case 0: default: @@ -358,13 +399,11 @@ public int hashCode() { switch (valueCase_) { case 1: hash = (37 * hash) + BOOL_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getBoolValue()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBoolValue()); break; case 2: hash = (37 * hash) + INT64_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getInt64Value()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getInt64Value()); break; case 3: hash = (37 * hash) + STRING_VALUE_FIELD_NUMBER; @@ -378,118 +417,126 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.LabelValue parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.LabelValue parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.LabelValue parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.LabelValue parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.monitoring.v3.LabelValue parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.LabelValue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.LabelValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.LabelValue parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.LabelValue 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.monitoring.v3.LabelValue parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.LabelValue parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.LabelValue parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.LabelValue parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.LabelValue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.LabelValue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 label value.
    * 
* * Protobuf type {@code google.monitoring.v3.LabelValue} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.LabelValue) com.google.monitoring.v3.LabelValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_LabelValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricProto + .internal_static_google_monitoring_v3_LabelValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_LabelValue_fieldAccessorTable + return com.google.monitoring.v3.MetricProto + .internal_static_google_monitoring_v3_LabelValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.LabelValue.class, com.google.monitoring.v3.LabelValue.Builder.class); + com.google.monitoring.v3.LabelValue.class, + com.google.monitoring.v3.LabelValue.Builder.class); } // Construct using com.google.monitoring.v3.LabelValue.newBuilder() @@ -497,16 +544,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -516,9 +562,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_LabelValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.MetricProto + .internal_static_google_monitoring_v3_LabelValue_descriptor; } @java.lang.Override @@ -556,38 +602,39 @@ public com.google.monitoring.v3.LabelValue 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.monitoring.v3.LabelValue) { - return mergeFrom((com.google.monitoring.v3.LabelValue)other); + return mergeFrom((com.google.monitoring.v3.LabelValue) other); } else { super.mergeFrom(other); return this; @@ -597,23 +644,27 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.monitoring.v3.LabelValue other) { if (other == com.google.monitoring.v3.LabelValue.getDefaultInstance()) return this; switch (other.getValueCase()) { - case BOOL_VALUE: { - setBoolValue(other.getBoolValue()); - break; - } - case INT64_VALUE: { - setInt64Value(other.getInt64Value()); - break; - } - case STRING_VALUE: { - valueCase_ = 3; - value_ = other.value_; - onChanged(); - break; - } - case VALUE_NOT_SET: { - break; - } + case BOOL_VALUE: + { + setBoolValue(other.getBoolValue()); + break; + } + case INT64_VALUE: + { + setInt64Value(other.getInt64Value()); + break; + } + case STRING_VALUE: + { + valueCase_ = 3; + value_ = other.value_; + onChanged(); + break; + } + case VALUE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -643,12 +694,12 @@ public Builder mergeFrom( } return this; } + private int valueCase_ = 0; private java.lang.Object value_; - public ValueCase - getValueCase() { - return ValueCase.forNumber( - valueCase_); + + public ValueCase getValueCase() { + return ValueCase.forNumber(valueCase_); } public Builder clearValue() { @@ -658,24 +709,29 @@ public Builder clearValue() { return this; } - /** + * + * *
      * A bool label value.
      * 
* * bool bool_value = 1; + * * @return Whether the boolValue field is set. */ public boolean hasBoolValue() { return valueCase_ == 1; } /** + * + * *
      * A bool label value.
      * 
* * bool bool_value = 1; + * * @return The boolValue. */ public boolean getBoolValue() { @@ -685,11 +741,14 @@ public boolean getBoolValue() { return false; } /** + * + * *
      * A bool label value.
      * 
* * bool bool_value = 1; + * * @param value The boolValue to set. * @return This builder for chaining. */ @@ -700,11 +759,14 @@ public Builder setBoolValue(boolean value) { return this; } /** + * + * *
      * A bool label value.
      * 
* * bool bool_value = 1; + * * @return This builder for chaining. */ public Builder clearBoolValue() { @@ -717,22 +779,28 @@ public Builder clearBoolValue() { } /** + * + * *
      * An int64 label value.
      * 
* * int64 int64_value = 2; + * * @return Whether the int64Value field is set. */ public boolean hasInt64Value() { return valueCase_ == 2; } /** + * + * *
      * An int64 label value.
      * 
* * int64 int64_value = 2; + * * @return The int64Value. */ public long getInt64Value() { @@ -742,11 +810,14 @@ public long getInt64Value() { return 0L; } /** + * + * *
      * An int64 label value.
      * 
* * int64 int64_value = 2; + * * @param value The int64Value to set. * @return This builder for chaining. */ @@ -757,11 +828,14 @@ public Builder setInt64Value(long value) { return this; } /** + * + * *
      * An int64 label value.
      * 
* * int64 int64_value = 2; + * * @return This builder for chaining. */ public Builder clearInt64Value() { @@ -774,11 +848,14 @@ public Builder clearInt64Value() { } /** + * + * *
      * A string label value.
      * 
* * string string_value = 3; + * * @return Whether the stringValue field is set. */ @java.lang.Override @@ -786,11 +863,14 @@ public boolean hasStringValue() { return valueCase_ == 3; } /** + * + * *
      * A string label value.
      * 
* * string string_value = 3; + * * @return The stringValue. */ @java.lang.Override @@ -800,8 +880,7 @@ public java.lang.String getStringValue() { ref = value_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueCase_ == 3) { value_ = s; @@ -812,24 +891,25 @@ public java.lang.String getStringValue() { } } /** + * + * *
      * A string label value.
      * 
* * string string_value = 3; + * * @return The bytes for stringValue. */ @java.lang.Override - public com.google.protobuf.ByteString - getStringValueBytes() { + public com.google.protobuf.ByteString getStringValueBytes() { java.lang.Object ref = ""; if (valueCase_ == 3) { ref = value_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (valueCase_ == 3) { value_ = b; } @@ -839,30 +919,35 @@ public java.lang.String getStringValue() { } } /** + * + * *
      * A string label value.
      * 
* * string string_value = 3; + * * @param value The stringValue to set. * @return This builder for chaining. */ - public Builder setStringValue( - java.lang.String value) { + public Builder setStringValue(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - valueCase_ = 3; + throw new NullPointerException(); + } + valueCase_ = 3; value_ = value; onChanged(); return this; } /** + * + * *
      * A string label value.
      * 
* * string string_value = 3; + * * @return This builder for chaining. */ public Builder clearStringValue() { @@ -874,28 +959,30 @@ public Builder clearStringValue() { return this; } /** + * + * *
      * A string label value.
      * 
* * string string_value = 3; + * * @param value The bytes for stringValue to set. * @return This builder for chaining. */ - public Builder setStringValueBytes( - com.google.protobuf.ByteString value) { + public Builder setStringValueBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); valueCase_ = 3; value_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -905,12 +992,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.LabelValue) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.LabelValue) private static final com.google.monitoring.v3.LabelValue DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.LabelValue(); } @@ -919,16 +1006,16 @@ public static com.google.monitoring.v3.LabelValue getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LabelValue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LabelValue(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LabelValue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LabelValue(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -943,6 +1030,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.LabelValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/LabelValueOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/LabelValueOrBuilder.java similarity index 65% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/LabelValueOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/LabelValueOrBuilder.java index f2bc866f..128520de 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/LabelValueOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/LabelValueOrBuilder.java @@ -1,78 +1,114 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric.proto package com.google.monitoring.v3; -public interface LabelValueOrBuilder extends +public interface LabelValueOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.LabelValue) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A bool label value.
    * 
* * bool bool_value = 1; + * * @return Whether the boolValue field is set. */ boolean hasBoolValue(); /** + * + * *
    * A bool label value.
    * 
* * bool bool_value = 1; + * * @return The boolValue. */ boolean getBoolValue(); /** + * + * *
    * An int64 label value.
    * 
* * int64 int64_value = 2; + * * @return Whether the int64Value field is set. */ boolean hasInt64Value(); /** + * + * *
    * An int64 label value.
    * 
* * int64 int64_value = 2; + * * @return The int64Value. */ long getInt64Value(); /** + * + * *
    * A string label value.
    * 
* * string string_value = 3; + * * @return Whether the stringValue field is set. */ boolean hasStringValue(); /** + * + * *
    * A string label value.
    * 
* * string string_value = 3; + * * @return The stringValue. */ java.lang.String getStringValue(); /** + * + * *
    * A string label value.
    * 
* * string string_value = 3; + * * @return The bytes for stringValue. */ - com.google.protobuf.ByteString - getStringValueBytes(); + com.google.protobuf.ByteString getStringValueBytes(); public com.google.monitoring.v3.LabelValue.ValueCase getValueCase(); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesRequest.java similarity index 74% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesRequest.java index e24c6be2..2ee17d00 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/alert_service.proto package com.google.monitoring.v3; /** + * + * *
  * The protocol for the `ListAlertPolicies` request.
  * 
* * Protobuf type {@code google.monitoring.v3.ListAlertPoliciesRequest} */ -public final class ListAlertPoliciesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAlertPoliciesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListAlertPoliciesRequest) ListAlertPoliciesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAlertPoliciesRequest.newBuilder() to construct. private ListAlertPoliciesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAlertPoliciesRequest() { name_ = ""; filter_ = ""; @@ -28,16 +46,15 @@ private ListAlertPoliciesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAlertPoliciesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListAlertPoliciesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,70 +73,78 @@ private ListAlertPoliciesRequest( case 0: done = true; break; - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + orderBy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_ListAlertPoliciesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.AlertServiceProto + .internal_static_google_monitoring_v3_ListAlertPoliciesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_ListAlertPoliciesRequest_fieldAccessorTable + return com.google.monitoring.v3.AlertServiceProto + .internal_static_google_monitoring_v3_ListAlertPoliciesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListAlertPoliciesRequest.class, com.google.monitoring.v3.ListAlertPoliciesRequest.Builder.class); + com.google.monitoring.v3.ListAlertPoliciesRequest.class, + com.google.monitoring.v3.ListAlertPoliciesRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 4; private volatile java.lang.Object name_; /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
    * whose alert policies are to be listed. The format is:
@@ -131,7 +156,10 @@ private ListAlertPoliciesRequest(
    * operation, instead.
    * 
* - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -140,14 +168,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
    * whose alert policies are to be listed. The format is:
@@ -159,17 +188,18 @@ public java.lang.String getName() {
    * operation, instead.
    * 
* - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -180,6 +210,8 @@ public java.lang.String getName() { public static final int FILTER_FIELD_NUMBER = 5; private volatile java.lang.Object filter_; /** + * + * *
    * If provided, this field specifies the criteria that must be met by
    * alert policies to be included in the response.
@@ -188,6 +220,7 @@ public java.lang.String getName() {
    * 
* * string filter = 5; + * * @return The filter. */ @java.lang.Override @@ -196,14 +229,15 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * If provided, this field specifies the criteria that must be met by
    * alert policies to be included in the response.
@@ -212,16 +246,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 5; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -232,6 +265,8 @@ public java.lang.String getFilter() { public static final int ORDER_BY_FIELD_NUMBER = 6; private volatile java.lang.Object orderBy_; /** + * + * *
    * A comma-separated list of fields by which to sort the result. Supports
    * the same set of field references as the `filter` field. Entries can be
@@ -241,6 +276,7 @@ public java.lang.String getFilter() {
    * 
* * string order_by = 6; + * * @return The orderBy. */ @java.lang.Override @@ -249,14 +285,15 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * A comma-separated list of fields by which to sort the result. Supports
    * the same set of field references as the `filter` field. Entries can be
@@ -266,16 +303,15 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 6; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -286,11 +322,14 @@ public java.lang.String getOrderBy() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of results to return in a single response.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -301,6 +340,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -308,6 +349,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -316,14 +358,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -331,16 +374,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -349,6 +391,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -360,8 +403,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (pageSize_ != 0) { output.writeInt32(2, pageSize_); } @@ -387,8 +429,7 @@ public int getSerializedSize() { size = 0; if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -410,23 +451,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.monitoring.v3.ListAlertPoliciesRequest)) { return super.equals(obj); } - com.google.monitoring.v3.ListAlertPoliciesRequest other = (com.google.monitoring.v3.ListAlertPoliciesRequest) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + com.google.monitoring.v3.ListAlertPoliciesRequest other = + (com.google.monitoring.v3.ListAlertPoliciesRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -454,117 +491,126 @@ public int hashCode() { } public static com.google.monitoring.v3.ListAlertPoliciesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListAlertPoliciesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListAlertPoliciesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListAlertPoliciesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListAlertPoliciesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListAlertPoliciesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListAlertPoliciesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ListAlertPoliciesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListAlertPoliciesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListAlertPoliciesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ListAlertPoliciesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListAlertPoliciesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.ListAlertPoliciesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListAlertPoliciesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.ListAlertPoliciesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 protocol for the `ListAlertPolicies` request.
    * 
* * Protobuf type {@code google.monitoring.v3.ListAlertPoliciesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListAlertPoliciesRequest) com.google.monitoring.v3.ListAlertPoliciesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_ListAlertPoliciesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.AlertServiceProto + .internal_static_google_monitoring_v3_ListAlertPoliciesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_ListAlertPoliciesRequest_fieldAccessorTable + return com.google.monitoring.v3.AlertServiceProto + .internal_static_google_monitoring_v3_ListAlertPoliciesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListAlertPoliciesRequest.class, com.google.monitoring.v3.ListAlertPoliciesRequest.Builder.class); + com.google.monitoring.v3.ListAlertPoliciesRequest.class, + com.google.monitoring.v3.ListAlertPoliciesRequest.Builder.class); } // Construct using com.google.monitoring.v3.ListAlertPoliciesRequest.newBuilder() @@ -572,16 +618,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -599,9 +644,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_ListAlertPoliciesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.AlertServiceProto + .internal_static_google_monitoring_v3_ListAlertPoliciesRequest_descriptor; } @java.lang.Override @@ -620,7 +665,8 @@ public com.google.monitoring.v3.ListAlertPoliciesRequest build() { @java.lang.Override public com.google.monitoring.v3.ListAlertPoliciesRequest buildPartial() { - com.google.monitoring.v3.ListAlertPoliciesRequest result = new com.google.monitoring.v3.ListAlertPoliciesRequest(this); + com.google.monitoring.v3.ListAlertPoliciesRequest result = + new com.google.monitoring.v3.ListAlertPoliciesRequest(this); result.name_ = name_; result.filter_ = filter_; result.orderBy_ = orderBy_; @@ -634,38 +680,39 @@ public com.google.monitoring.v3.ListAlertPoliciesRequest 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.monitoring.v3.ListAlertPoliciesRequest) { - return mergeFrom((com.google.monitoring.v3.ListAlertPoliciesRequest)other); + return mergeFrom((com.google.monitoring.v3.ListAlertPoliciesRequest) other); } else { super.mergeFrom(other); return this; @@ -673,7 +720,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.ListAlertPoliciesRequest other) { - if (other == com.google.monitoring.v3.ListAlertPoliciesRequest.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.ListAlertPoliciesRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -712,7 +760,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.ListAlertPoliciesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.ListAlertPoliciesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -724,6 +773,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
      * whose alert policies are to be listed. The format is:
@@ -735,14 +786,16 @@ public Builder mergeFrom(
      * operation, instead.
      * 
* - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -751,6 +804,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
      * whose alert policies are to be listed. The format is:
@@ -762,16 +817,17 @@ public java.lang.String getName() {
      * operation, instead.
      * 
* - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -779,6 +835,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
      * whose alert policies are to be listed. The format is:
@@ -790,21 +848,25 @@ public java.lang.String getName() {
      * operation, instead.
      * 
* - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
      * whose alert policies are to be listed. The format is:
@@ -816,16 +878,21 @@ public Builder setName(
      * operation, instead.
      * 
* - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
      * whose alert policies are to be listed. The format is:
@@ -837,17 +904,19 @@ public Builder clearName() {
      * operation, instead.
      * 
* - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -855,6 +924,8 @@ public Builder setNameBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * If provided, this field specifies the criteria that must be met by
      * alert policies to be included in the response.
@@ -863,13 +934,13 @@ public Builder setNameBytes(
      * 
* * string filter = 5; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -878,6 +949,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * If provided, this field specifies the criteria that must be met by
      * alert policies to be included in the response.
@@ -886,15 +959,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 5; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -902,6 +974,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * If provided, this field specifies the criteria that must be met by
      * alert policies to be included in the response.
@@ -910,20 +984,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 5; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * If provided, this field specifies the criteria that must be met by
      * alert policies to be included in the response.
@@ -932,15 +1008,18 @@ public Builder setFilter(
      * 
* * string filter = 5; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * If provided, this field specifies the criteria that must be met by
      * alert policies to be included in the response.
@@ -949,16 +1028,16 @@ public Builder clearFilter() {
      * 
* * string filter = 5; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -966,6 +1045,8 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * A comma-separated list of fields by which to sort the result. Supports
      * the same set of field references as the `filter` field. Entries can be
@@ -975,13 +1056,13 @@ public Builder setFilterBytes(
      * 
* * string order_by = 6; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -990,6 +1071,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * A comma-separated list of fields by which to sort the result. Supports
      * the same set of field references as the `filter` field. Entries can be
@@ -999,15 +1082,14 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 6; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1015,6 +1097,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * A comma-separated list of fields by which to sort the result. Supports
      * the same set of field references as the `filter` field. Entries can be
@@ -1024,20 +1108,22 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 6; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * A comma-separated list of fields by which to sort the result. Supports
      * the same set of field references as the `filter` field. Entries can be
@@ -1047,15 +1133,18 @@ public Builder setOrderBy(
      * 
* * string order_by = 6; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * A comma-separated list of fields by which to sort the result. Supports
      * the same set of field references as the `filter` field. Entries can be
@@ -1065,28 +1154,31 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 6; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of results to return in a single response.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -1094,30 +1186,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of results to return in a single response.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of results to return in a single response.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1125,6 +1223,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1132,13 +1232,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1147,6 +1247,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1154,15 +1256,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1170,6 +1271,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1177,20 +1280,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1198,15 +1303,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1214,23 +1322,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1240,12 +1348,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListAlertPoliciesRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListAlertPoliciesRequest) private static final com.google.monitoring.v3.ListAlertPoliciesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListAlertPoliciesRequest(); } @@ -1254,16 +1362,16 @@ public static com.google.monitoring.v3.ListAlertPoliciesRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAlertPoliciesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListAlertPoliciesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAlertPoliciesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListAlertPoliciesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1278,6 +1386,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.ListAlertPoliciesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesRequestOrBuilder.java similarity index 75% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesRequestOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesRequestOrBuilder.java index cd95f3b0..a6bb26dc 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/alert_service.proto package com.google.monitoring.v3; -public interface ListAlertPoliciesRequestOrBuilder extends +public interface ListAlertPoliciesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListAlertPoliciesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
    * whose alert policies are to be listed. The format is:
@@ -19,11 +37,16 @@ public interface ListAlertPoliciesRequestOrBuilder extends
    * operation, instead.
    * 
* - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
    * whose alert policies are to be listed. The format is:
@@ -35,13 +58,17 @@ public interface ListAlertPoliciesRequestOrBuilder extends
    * operation, instead.
    * 
* - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * If provided, this field specifies the criteria that must be met by
    * alert policies to be included in the response.
@@ -50,10 +77,13 @@ public interface ListAlertPoliciesRequestOrBuilder extends
    * 
* * string filter = 5; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * If provided, this field specifies the criteria that must be met by
    * alert policies to be included in the response.
@@ -62,12 +92,14 @@ public interface ListAlertPoliciesRequestOrBuilder extends
    * 
* * string filter = 5; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * A comma-separated list of fields by which to sort the result. Supports
    * the same set of field references as the `filter` field. Entries can be
@@ -77,10 +109,13 @@ public interface ListAlertPoliciesRequestOrBuilder extends
    * 
* * string order_by = 6; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * A comma-separated list of fields by which to sort the result. Supports
    * the same set of field references as the `filter` field. Entries can be
@@ -90,22 +125,27 @@ public interface ListAlertPoliciesRequestOrBuilder extends
    * 
* * string order_by = 6; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); /** + * + * *
    * The maximum number of results to return in a single response.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -113,10 +153,13 @@ public interface ListAlertPoliciesRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -124,8 +167,8 @@ public interface ListAlertPoliciesRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesResponse.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesResponse.java similarity index 74% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesResponse.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesResponse.java index ff87e294..f45c5a32 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesResponse.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/alert_service.proto package com.google.monitoring.v3; /** + * + * *
  * The protocol for the `ListAlertPolicies` response.
  * 
* * Protobuf type {@code google.monitoring.v3.ListAlertPoliciesResponse} */ -public final class ListAlertPoliciesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAlertPoliciesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListAlertPoliciesResponse) ListAlertPoliciesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAlertPoliciesResponse.newBuilder() to construct. private ListAlertPoliciesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAlertPoliciesResponse() { alertPolicies_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListAlertPoliciesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAlertPoliciesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListAlertPoliciesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,40 +72,42 @@ private ListAlertPoliciesResponse( case 0: done = true; break; - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - alertPolicies_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + nextPageToken_ = s; + break; } - alertPolicies_.add( - input.readMessage(com.google.monitoring.v3.AlertPolicy.parser(), extensionRegistry)); - break; - } - case 32: { - - totalSize_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + alertPolicies_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + alertPolicies_.add( + input.readMessage( + com.google.monitoring.v3.AlertPolicy.parser(), extensionRegistry)); + break; + } + case 32: + { + totalSize_ = input.readInt32(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { alertPolicies_ = java.util.Collections.unmodifiableList(alertPolicies_); @@ -97,22 +116,27 @@ private ListAlertPoliciesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_ListAlertPoliciesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.AlertServiceProto + .internal_static_google_monitoring_v3_ListAlertPoliciesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_ListAlertPoliciesResponse_fieldAccessorTable + return com.google.monitoring.v3.AlertServiceProto + .internal_static_google_monitoring_v3_ListAlertPoliciesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListAlertPoliciesResponse.class, com.google.monitoring.v3.ListAlertPoliciesResponse.Builder.class); + com.google.monitoring.v3.ListAlertPoliciesResponse.class, + com.google.monitoring.v3.ListAlertPoliciesResponse.Builder.class); } public static final int ALERT_POLICIES_FIELD_NUMBER = 3; private java.util.List alertPolicies_; /** + * + * *
    * The returned alert policies.
    * 
@@ -124,6 +148,8 @@ public java.util.List getAlertPoliciesList return alertPolicies_; } /** + * + * *
    * The returned alert policies.
    * 
@@ -131,11 +157,13 @@ public java.util.List getAlertPoliciesList * repeated .google.monitoring.v3.AlertPolicy alert_policies = 3; */ @java.lang.Override - public java.util.List + public java.util.List getAlertPoliciesOrBuilderList() { return alertPolicies_; } /** + * + * *
    * The returned alert policies.
    * 
@@ -147,6 +175,8 @@ public int getAlertPoliciesCount() { return alertPolicies_.size(); } /** + * + * *
    * The returned alert policies.
    * 
@@ -158,6 +188,8 @@ public com.google.monitoring.v3.AlertPolicy getAlertPolicies(int index) { return alertPolicies_.get(index); } /** + * + * *
    * The returned alert policies.
    * 
@@ -165,14 +197,15 @@ public com.google.monitoring.v3.AlertPolicy getAlertPolicies(int index) { * repeated .google.monitoring.v3.AlertPolicy alert_policies = 3; */ @java.lang.Override - public com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPoliciesOrBuilder( - int index) { + public com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPoliciesOrBuilder(int index) { return alertPolicies_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * If there might be more results than were returned, then this field is set
    * to a non-empty value. To see the additional results,
@@ -180,6 +213,7 @@ public com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPoliciesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -188,14 +222,15 @@ 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; } } /** + * + * *
    * If there might be more results than were returned, then this field is set
    * to a non-empty value. To see the additional results,
@@ -203,16 +238,15 @@ public java.lang.String getNextPageToken() {
    * 
* * 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 { @@ -223,12 +257,15 @@ public java.lang.String getNextPageToken() { public static final int TOTAL_SIZE_FIELD_NUMBER = 4; private int totalSize_; /** + * + * *
    * The total number of alert policies in all pages. This number is only an
    * estimate, and may change in subsequent pages. https://aip.dev/158
    * 
* * int32 total_size = 4; + * * @return The totalSize. */ @java.lang.Override @@ -237,6 +274,7 @@ public int getTotalSize() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -248,8 +286,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } @@ -272,12 +309,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } for (int i = 0; i < alertPolicies_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, alertPolicies_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, alertPolicies_.get(i)); } if (totalSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, totalSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, totalSize_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -287,19 +322,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.monitoring.v3.ListAlertPoliciesResponse)) { return super.equals(obj); } - com.google.monitoring.v3.ListAlertPoliciesResponse other = (com.google.monitoring.v3.ListAlertPoliciesResponse) obj; + com.google.monitoring.v3.ListAlertPoliciesResponse other = + (com.google.monitoring.v3.ListAlertPoliciesResponse) obj; - if (!getAlertPoliciesList() - .equals(other.getAlertPoliciesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (getTotalSize() - != other.getTotalSize()) return false; + if (!getAlertPoliciesList().equals(other.getAlertPoliciesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (getTotalSize() != other.getTotalSize()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -325,117 +358,126 @@ public int hashCode() { } public static com.google.monitoring.v3.ListAlertPoliciesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListAlertPoliciesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListAlertPoliciesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListAlertPoliciesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListAlertPoliciesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListAlertPoliciesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListAlertPoliciesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ListAlertPoliciesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListAlertPoliciesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListAlertPoliciesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ListAlertPoliciesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListAlertPoliciesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.ListAlertPoliciesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListAlertPoliciesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.ListAlertPoliciesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 protocol for the `ListAlertPolicies` response.
    * 
* * Protobuf type {@code google.monitoring.v3.ListAlertPoliciesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListAlertPoliciesResponse) com.google.monitoring.v3.ListAlertPoliciesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_ListAlertPoliciesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.AlertServiceProto + .internal_static_google_monitoring_v3_ListAlertPoliciesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_ListAlertPoliciesResponse_fieldAccessorTable + return com.google.monitoring.v3.AlertServiceProto + .internal_static_google_monitoring_v3_ListAlertPoliciesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListAlertPoliciesResponse.class, com.google.monitoring.v3.ListAlertPoliciesResponse.Builder.class); + com.google.monitoring.v3.ListAlertPoliciesResponse.class, + com.google.monitoring.v3.ListAlertPoliciesResponse.Builder.class); } // Construct using com.google.monitoring.v3.ListAlertPoliciesResponse.newBuilder() @@ -443,17 +485,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getAlertPoliciesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -471,9 +513,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_ListAlertPoliciesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.AlertServiceProto + .internal_static_google_monitoring_v3_ListAlertPoliciesResponse_descriptor; } @java.lang.Override @@ -492,7 +534,8 @@ public com.google.monitoring.v3.ListAlertPoliciesResponse build() { @java.lang.Override public com.google.monitoring.v3.ListAlertPoliciesResponse buildPartial() { - com.google.monitoring.v3.ListAlertPoliciesResponse result = new com.google.monitoring.v3.ListAlertPoliciesResponse(this); + com.google.monitoring.v3.ListAlertPoliciesResponse result = + new com.google.monitoring.v3.ListAlertPoliciesResponse(this); int from_bitField0_ = bitField0_; if (alertPoliciesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -513,38 +556,39 @@ public com.google.monitoring.v3.ListAlertPoliciesResponse 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.monitoring.v3.ListAlertPoliciesResponse) { - return mergeFrom((com.google.monitoring.v3.ListAlertPoliciesResponse)other); + return mergeFrom((com.google.monitoring.v3.ListAlertPoliciesResponse) other); } else { super.mergeFrom(other); return this; @@ -552,7 +596,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.ListAlertPoliciesResponse other) { - if (other == com.google.monitoring.v3.ListAlertPoliciesResponse.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.ListAlertPoliciesResponse.getDefaultInstance()) + return this; if (alertPoliciesBuilder_ == null) { if (!other.alertPolicies_.isEmpty()) { if (alertPolicies_.isEmpty()) { @@ -571,9 +616,10 @@ public Builder mergeFrom(com.google.monitoring.v3.ListAlertPoliciesResponse othe alertPoliciesBuilder_ = null; alertPolicies_ = other.alertPolicies_; bitField0_ = (bitField0_ & ~0x00000001); - alertPoliciesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAlertPoliciesFieldBuilder() : null; + alertPoliciesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAlertPoliciesFieldBuilder() + : null; } else { alertPoliciesBuilder_.addAllMessages(other.alertPolicies_); } @@ -605,7 +651,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.ListAlertPoliciesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.ListAlertPoliciesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -614,21 +661,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List alertPolicies_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAlertPoliciesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - alertPolicies_ = new java.util.ArrayList(alertPolicies_); + alertPolicies_ = + new java.util.ArrayList(alertPolicies_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy, com.google.monitoring.v3.AlertPolicy.Builder, com.google.monitoring.v3.AlertPolicyOrBuilder> alertPoliciesBuilder_; + com.google.monitoring.v3.AlertPolicy, + com.google.monitoring.v3.AlertPolicy.Builder, + com.google.monitoring.v3.AlertPolicyOrBuilder> + alertPoliciesBuilder_; /** + * + * *
      * The returned alert policies.
      * 
@@ -643,6 +698,8 @@ public java.util.List getAlertPoliciesList } } /** + * + * *
      * The returned alert policies.
      * 
@@ -657,6 +714,8 @@ public int getAlertPoliciesCount() { } } /** + * + * *
      * The returned alert policies.
      * 
@@ -671,14 +730,15 @@ public com.google.monitoring.v3.AlertPolicy getAlertPolicies(int index) { } } /** + * + * *
      * The returned alert policies.
      * 
* * repeated .google.monitoring.v3.AlertPolicy alert_policies = 3; */ - public Builder setAlertPolicies( - int index, com.google.monitoring.v3.AlertPolicy value) { + public Builder setAlertPolicies(int index, com.google.monitoring.v3.AlertPolicy value) { if (alertPoliciesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -692,6 +752,8 @@ public Builder setAlertPolicies( return this; } /** + * + * *
      * The returned alert policies.
      * 
@@ -710,6 +772,8 @@ public Builder setAlertPolicies( return this; } /** + * + * *
      * The returned alert policies.
      * 
@@ -730,14 +794,15 @@ public Builder addAlertPolicies(com.google.monitoring.v3.AlertPolicy value) { return this; } /** + * + * *
      * The returned alert policies.
      * 
* * repeated .google.monitoring.v3.AlertPolicy alert_policies = 3; */ - public Builder addAlertPolicies( - int index, com.google.monitoring.v3.AlertPolicy value) { + public Builder addAlertPolicies(int index, com.google.monitoring.v3.AlertPolicy value) { if (alertPoliciesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -751,14 +816,15 @@ public Builder addAlertPolicies( return this; } /** + * + * *
      * The returned alert policies.
      * 
* * repeated .google.monitoring.v3.AlertPolicy alert_policies = 3; */ - public Builder addAlertPolicies( - com.google.monitoring.v3.AlertPolicy.Builder builderForValue) { + public Builder addAlertPolicies(com.google.monitoring.v3.AlertPolicy.Builder builderForValue) { if (alertPoliciesBuilder_ == null) { ensureAlertPoliciesIsMutable(); alertPolicies_.add(builderForValue.build()); @@ -769,6 +835,8 @@ public Builder addAlertPolicies( return this; } /** + * + * *
      * The returned alert policies.
      * 
@@ -787,6 +855,8 @@ public Builder addAlertPolicies( return this; } /** + * + * *
      * The returned alert policies.
      * 
@@ -797,8 +867,7 @@ public Builder addAllAlertPolicies( java.lang.Iterable values) { if (alertPoliciesBuilder_ == null) { ensureAlertPoliciesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, alertPolicies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, alertPolicies_); onChanged(); } else { alertPoliciesBuilder_.addAllMessages(values); @@ -806,6 +875,8 @@ public Builder addAllAlertPolicies( return this; } /** + * + * *
      * The returned alert policies.
      * 
@@ -823,6 +894,8 @@ public Builder clearAlertPolicies() { return this; } /** + * + * *
      * The returned alert policies.
      * 
@@ -840,39 +913,44 @@ public Builder removeAlertPolicies(int index) { return this; } /** + * + * *
      * The returned alert policies.
      * 
* * repeated .google.monitoring.v3.AlertPolicy alert_policies = 3; */ - public com.google.monitoring.v3.AlertPolicy.Builder getAlertPoliciesBuilder( - int index) { + public com.google.monitoring.v3.AlertPolicy.Builder getAlertPoliciesBuilder(int index) { return getAlertPoliciesFieldBuilder().getBuilder(index); } /** + * + * *
      * The returned alert policies.
      * 
* * repeated .google.monitoring.v3.AlertPolicy alert_policies = 3; */ - public com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPoliciesOrBuilder( - int index) { + public com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPoliciesOrBuilder(int index) { if (alertPoliciesBuilder_ == null) { - return alertPolicies_.get(index); } else { + return alertPolicies_.get(index); + } else { return alertPoliciesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The returned alert policies.
      * 
* * repeated .google.monitoring.v3.AlertPolicy alert_policies = 3; */ - public java.util.List - getAlertPoliciesOrBuilderList() { + public java.util.List + getAlertPoliciesOrBuilderList() { if (alertPoliciesBuilder_ != null) { return alertPoliciesBuilder_.getMessageOrBuilderList(); } else { @@ -880,6 +958,8 @@ public com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPoliciesOrBuilder( } } /** + * + * *
      * The returned alert policies.
      * 
@@ -887,38 +967,47 @@ public com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPoliciesOrBuilder( * repeated .google.monitoring.v3.AlertPolicy alert_policies = 3; */ public com.google.monitoring.v3.AlertPolicy.Builder addAlertPoliciesBuilder() { - return getAlertPoliciesFieldBuilder().addBuilder( - com.google.monitoring.v3.AlertPolicy.getDefaultInstance()); + return getAlertPoliciesFieldBuilder() + .addBuilder(com.google.monitoring.v3.AlertPolicy.getDefaultInstance()); } /** + * + * *
      * The returned alert policies.
      * 
* * repeated .google.monitoring.v3.AlertPolicy alert_policies = 3; */ - public com.google.monitoring.v3.AlertPolicy.Builder addAlertPoliciesBuilder( - int index) { - return getAlertPoliciesFieldBuilder().addBuilder( - index, com.google.monitoring.v3.AlertPolicy.getDefaultInstance()); + public com.google.monitoring.v3.AlertPolicy.Builder addAlertPoliciesBuilder(int index) { + return getAlertPoliciesFieldBuilder() + .addBuilder(index, com.google.monitoring.v3.AlertPolicy.getDefaultInstance()); } /** + * + * *
      * The returned alert policies.
      * 
* * repeated .google.monitoring.v3.AlertPolicy alert_policies = 3; */ - public java.util.List - getAlertPoliciesBuilderList() { + public java.util.List + getAlertPoliciesBuilderList() { return getAlertPoliciesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy, com.google.monitoring.v3.AlertPolicy.Builder, com.google.monitoring.v3.AlertPolicyOrBuilder> + com.google.monitoring.v3.AlertPolicy, + com.google.monitoring.v3.AlertPolicy.Builder, + com.google.monitoring.v3.AlertPolicyOrBuilder> getAlertPoliciesFieldBuilder() { if (alertPoliciesBuilder_ == null) { - alertPoliciesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy, com.google.monitoring.v3.AlertPolicy.Builder, com.google.monitoring.v3.AlertPolicyOrBuilder>( + alertPoliciesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.monitoring.v3.AlertPolicy, + com.google.monitoring.v3.AlertPolicy.Builder, + com.google.monitoring.v3.AlertPolicyOrBuilder>( alertPolicies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -930,6 +1019,8 @@ public com.google.monitoring.v3.AlertPolicy.Builder addAlertPoliciesBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * If there might be more results than were returned, then this field is set
      * to a non-empty value. To see the additional results,
@@ -937,13 +1028,13 @@ public com.google.monitoring.v3.AlertPolicy.Builder addAlertPoliciesBuilder(
      * 
* * 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; @@ -952,6 +1043,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If there might be more results than were returned, then this field is set
      * to a non-empty value. To see the additional results,
@@ -959,15 +1052,14 @@ public java.lang.String getNextPageToken() {
      * 
* * 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 { @@ -975,6 +1067,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If there might be more results than were returned, then this field is set
      * to a non-empty value. To see the additional results,
@@ -982,20 +1076,22 @@ public java.lang.String getNextPageToken() {
      * 
* * 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; } /** + * + * *
      * If there might be more results than were returned, then this field is set
      * to a non-empty value. To see the additional results,
@@ -1003,15 +1099,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * If there might be more results than were returned, then this field is set
      * to a non-empty value. To see the additional results,
@@ -1019,29 +1118,32 @@ public Builder clearNextPageToken() {
      * 
* * 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; } - private int totalSize_ ; + private int totalSize_; /** + * + * *
      * The total number of alert policies in all pages. This number is only an
      * estimate, and may change in subsequent pages. https://aip.dev/158
      * 
* * int32 total_size = 4; + * * @return The totalSize. */ @java.lang.Override @@ -1049,39 +1151,45 @@ public int getTotalSize() { return totalSize_; } /** + * + * *
      * The total number of alert policies in all pages. This number is only an
      * estimate, and may change in subsequent pages. https://aip.dev/158
      * 
* * int32 total_size = 4; + * * @param value The totalSize to set. * @return This builder for chaining. */ public Builder setTotalSize(int value) { - + totalSize_ = value; onChanged(); return this; } /** + * + * *
      * The total number of alert policies in all pages. This number is only an
      * estimate, and may change in subsequent pages. https://aip.dev/158
      * 
* * int32 total_size = 4; + * * @return This builder for chaining. */ public Builder clearTotalSize() { - + totalSize_ = 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); } @@ -1091,12 +1199,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListAlertPoliciesResponse) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListAlertPoliciesResponse) private static final com.google.monitoring.v3.ListAlertPoliciesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListAlertPoliciesResponse(); } @@ -1105,16 +1213,16 @@ public static com.google.monitoring.v3.ListAlertPoliciesResponse getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAlertPoliciesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListAlertPoliciesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAlertPoliciesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListAlertPoliciesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1129,6 +1237,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.monitoring.v3.ListAlertPoliciesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesResponseOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesResponseOrBuilder.java similarity index 71% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesResponseOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesResponseOrBuilder.java index 88d4ac61..73201de7 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesResponseOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListAlertPoliciesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/alert_service.proto package com.google.monitoring.v3; -public interface ListAlertPoliciesResponseOrBuilder extends +public interface ListAlertPoliciesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListAlertPoliciesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The returned alert policies.
    * 
* * repeated .google.monitoring.v3.AlertPolicy alert_policies = 3; */ - java.util.List - getAlertPoliciesList(); + java.util.List getAlertPoliciesList(); /** + * + * *
    * The returned alert policies.
    * 
@@ -25,6 +44,8 @@ public interface ListAlertPoliciesResponseOrBuilder extends */ com.google.monitoring.v3.AlertPolicy getAlertPolicies(int index); /** + * + * *
    * The returned alert policies.
    * 
@@ -33,25 +54,30 @@ public interface ListAlertPoliciesResponseOrBuilder extends */ int getAlertPoliciesCount(); /** + * + * *
    * The returned alert policies.
    * 
* * repeated .google.monitoring.v3.AlertPolicy alert_policies = 3; */ - java.util.List + java.util.List getAlertPoliciesOrBuilderList(); /** + * + * *
    * The returned alert policies.
    * 
* * repeated .google.monitoring.v3.AlertPolicy alert_policies = 3; */ - com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPoliciesOrBuilder( - int index); + com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPoliciesOrBuilder(int index); /** + * + * *
    * If there might be more results than were returned, then this field is set
    * to a non-empty value. To see the additional results,
@@ -59,10 +85,13 @@ com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPoliciesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * If there might be more results than were returned, then this field is set
    * to a non-empty value. To see the additional results,
@@ -70,18 +99,21 @@ com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPoliciesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * The total number of alert policies in all pages. This number is only an
    * estimate, and may change in subsequent pages. https://aip.dev/158
    * 
* * int32 total_size = 4; + * * @return The totalSize. */ int getTotalSize(); diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersRequest.java similarity index 73% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersRequest.java index 5fa45ae7..99b7f30a 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/group_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `ListGroupMembers` request.
  * 
* * Protobuf type {@code google.monitoring.v3.ListGroupMembersRequest} */ -public final class ListGroupMembersRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListGroupMembersRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListGroupMembersRequest) ListGroupMembersRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListGroupMembersRequest.newBuilder() to construct. private ListGroupMembersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListGroupMembersRequest() { name_ = ""; pageToken_ = ""; @@ -27,16 +45,15 @@ private ListGroupMembersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListGroupMembersRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListGroupMembersRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,83 +72,96 @@ private ListGroupMembersRequest( case 0: done = true; break; - case 24: { - - pageSize_ = input.readInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - pageToken_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + case 24: + { + pageSize_ = input.readInt32(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 50: { - com.google.monitoring.v3.TimeInterval.Builder subBuilder = null; - if (interval_ != null) { - subBuilder = interval_.toBuilder(); + pageToken_ = s; + break; } - interval_ = input.readMessage(com.google.monitoring.v3.TimeInterval.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(interval_); - interval_ = subBuilder.buildPartial(); + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + + filter_ = s; + break; } + case 50: + { + com.google.monitoring.v3.TimeInterval.Builder subBuilder = null; + if (interval_ != null) { + subBuilder = interval_.toBuilder(); + } + interval_ = + input.readMessage( + com.google.monitoring.v3.TimeInterval.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(interval_); + interval_ = subBuilder.buildPartial(); + } - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_ListGroupMembersRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.GroupServiceProto + .internal_static_google_monitoring_v3_ListGroupMembersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_ListGroupMembersRequest_fieldAccessorTable + return com.google.monitoring.v3.GroupServiceProto + .internal_static_google_monitoring_v3_ListGroupMembersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListGroupMembersRequest.class, com.google.monitoring.v3.ListGroupMembersRequest.Builder.class); + com.google.monitoring.v3.ListGroupMembersRequest.class, + com.google.monitoring.v3.ListGroupMembersRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 7; private volatile java.lang.Object name_; /** + * + * *
    * Required. The group whose members are listed. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
    * 
* - * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -140,30 +170,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The group whose members are listed. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
    * 
* - * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -174,11 +206,14 @@ public java.lang.String getName() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * A positive number that is the maximum number of results to return.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -189,6 +224,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** + * + * *
    * If this field is not empty then it must contain the `next_page_token` value
    * returned by a previous call to this method.  Using this field causes the
@@ -196,6 +233,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -204,14 +242,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * If this field is not empty then it must contain the `next_page_token` value
    * returned by a previous call to this method.  Using this field causes the
@@ -219,16 +258,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -239,6 +277,8 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 5; private volatile java.lang.Object filter_; /** + * + * *
    * An optional [list
    * filter](https://cloud.google.com/monitoring/api/learn_more#filtering)
@@ -250,6 +290,7 @@ public java.lang.String getPageToken() {
    * 
* * string filter = 5; + * * @return The filter. */ @java.lang.Override @@ -258,14 +299,15 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * An optional [list
    * filter](https://cloud.google.com/monitoring/api/learn_more#filtering)
@@ -277,16 +319,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 5; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -297,6 +338,8 @@ public java.lang.String getFilter() { public static final int INTERVAL_FIELD_NUMBER = 6; private com.google.monitoring.v3.TimeInterval interval_; /** + * + * *
    * An optional time interval for which results should be returned. Only
    * members that were part of the group during the specified interval are
@@ -305,6 +348,7 @@ public java.lang.String getFilter() {
    * 
* * .google.monitoring.v3.TimeInterval interval = 6; + * * @return Whether the interval field is set. */ @java.lang.Override @@ -312,6 +356,8 @@ public boolean hasInterval() { return interval_ != null; } /** + * + * *
    * An optional time interval for which results should be returned. Only
    * members that were part of the group during the specified interval are
@@ -320,13 +366,18 @@ public boolean hasInterval() {
    * 
* * .google.monitoring.v3.TimeInterval interval = 6; + * * @return The interval. */ @java.lang.Override public com.google.monitoring.v3.TimeInterval getInterval() { - return interval_ == null ? com.google.monitoring.v3.TimeInterval.getDefaultInstance() : interval_; + return interval_ == null + ? com.google.monitoring.v3.TimeInterval.getDefaultInstance() + : interval_; } /** + * + * *
    * An optional time interval for which results should be returned. Only
    * members that were part of the group during the specified interval are
@@ -342,6 +393,7 @@ public com.google.monitoring.v3.TimeIntervalOrBuilder getIntervalOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -353,8 +405,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (pageSize_ != 0) {
       output.writeInt32(3, pageSize_);
     }
@@ -380,8 +431,7 @@ public int getSerializedSize() {
 
     size = 0;
     if (pageSize_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(3, pageSize_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_);
@@ -390,8 +440,7 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, filter_);
     }
     if (interval_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getInterval());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getInterval());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, name_);
@@ -404,25 +453,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.monitoring.v3.ListGroupMembersRequest)) {
       return super.equals(obj);
     }
-    com.google.monitoring.v3.ListGroupMembersRequest other = (com.google.monitoring.v3.ListGroupMembersRequest) obj;
+    com.google.monitoring.v3.ListGroupMembersRequest other =
+        (com.google.monitoring.v3.ListGroupMembersRequest) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (getPageSize()
-        != other.getPageSize()) return false;
-    if (!getPageToken()
-        .equals(other.getPageToken())) return false;
-    if (!getFilter()
-        .equals(other.getFilter())) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (getPageSize() != other.getPageSize()) return false;
+    if (!getPageToken().equals(other.getPageToken())) return false;
+    if (!getFilter().equals(other.getFilter())) return false;
     if (hasInterval() != other.hasInterval()) return false;
     if (hasInterval()) {
-      if (!getInterval()
-          .equals(other.getInterval())) return false;
+      if (!getInterval().equals(other.getInterval())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -452,118 +497,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.monitoring.v3.ListGroupMembersRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.monitoring.v3.ListGroupMembersRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.monitoring.v3.ListGroupMembersRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.monitoring.v3.ListGroupMembersRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.monitoring.v3.ListGroupMembersRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.monitoring.v3.ListGroupMembersRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.monitoring.v3.ListGroupMembersRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.monitoring.v3.ListGroupMembersRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.monitoring.v3.ListGroupMembersRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.monitoring.v3.ListGroupMembersRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.monitoring.v3.ListGroupMembersRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.monitoring.v3.ListGroupMembersRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.monitoring.v3.ListGroupMembersRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.monitoring.v3.ListGroupMembersRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.monitoring.v3.ListGroupMembersRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.monitoring.v3.ListGroupMembersRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder 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 `ListGroupMembers` request.
    * 
* * Protobuf type {@code google.monitoring.v3.ListGroupMembersRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListGroupMembersRequest) com.google.monitoring.v3.ListGroupMembersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_ListGroupMembersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.GroupServiceProto + .internal_static_google_monitoring_v3_ListGroupMembersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_ListGroupMembersRequest_fieldAccessorTable + return com.google.monitoring.v3.GroupServiceProto + .internal_static_google_monitoring_v3_ListGroupMembersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListGroupMembersRequest.class, com.google.monitoring.v3.ListGroupMembersRequest.Builder.class); + com.google.monitoring.v3.ListGroupMembersRequest.class, + com.google.monitoring.v3.ListGroupMembersRequest.Builder.class); } // Construct using com.google.monitoring.v3.ListGroupMembersRequest.newBuilder() @@ -571,16 +625,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -602,9 +655,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_ListGroupMembersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.GroupServiceProto + .internal_static_google_monitoring_v3_ListGroupMembersRequest_descriptor; } @java.lang.Override @@ -623,7 +676,8 @@ public com.google.monitoring.v3.ListGroupMembersRequest build() { @java.lang.Override public com.google.monitoring.v3.ListGroupMembersRequest buildPartial() { - com.google.monitoring.v3.ListGroupMembersRequest result = new com.google.monitoring.v3.ListGroupMembersRequest(this); + com.google.monitoring.v3.ListGroupMembersRequest result = + new com.google.monitoring.v3.ListGroupMembersRequest(this); result.name_ = name_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -641,38 +695,39 @@ public com.google.monitoring.v3.ListGroupMembersRequest 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.monitoring.v3.ListGroupMembersRequest) { - return mergeFrom((com.google.monitoring.v3.ListGroupMembersRequest)other); + return mergeFrom((com.google.monitoring.v3.ListGroupMembersRequest) other); } else { super.mergeFrom(other); return this; @@ -680,7 +735,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.ListGroupMembersRequest other) { - if (other == com.google.monitoring.v3.ListGroupMembersRequest.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.ListGroupMembersRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -730,19 +786,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The group whose members are listed. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
      * 
* - * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -751,21 +811,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The group whose members are listed. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
      * 
* - * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -773,69 +836,85 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The group whose members are listed. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
      * 
* - * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The group whose members are listed. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
      * 
* - * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The group whose members are listed. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
      * 
* - * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * A positive number that is the maximum number of results to return.
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -843,30 +922,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * A positive number that is the maximum number of results to return.
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * A positive number that is the maximum number of results to return.
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -874,6 +959,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * If this field is not empty then it must contain the `next_page_token` value
      * returned by a previous call to this method.  Using this field causes the
@@ -881,13 +968,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -896,6 +983,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If this field is not empty then it must contain the `next_page_token` value
      * returned by a previous call to this method.  Using this field causes the
@@ -903,15 +992,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -919,6 +1007,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If this field is not empty then it must contain the `next_page_token` value
      * returned by a previous call to this method.  Using this field causes the
@@ -926,20 +1016,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * If this field is not empty then it must contain the `next_page_token` value
      * returned by a previous call to this method.  Using this field causes the
@@ -947,15 +1039,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * If this field is not empty then it must contain the `next_page_token` value
      * returned by a previous call to this method.  Using this field causes the
@@ -963,16 +1058,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -980,6 +1075,8 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * An optional [list
      * filter](https://cloud.google.com/monitoring/api/learn_more#filtering)
@@ -991,13 +1088,13 @@ public Builder setPageTokenBytes(
      * 
* * string filter = 5; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1006,6 +1103,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An optional [list
      * filter](https://cloud.google.com/monitoring/api/learn_more#filtering)
@@ -1017,15 +1116,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 5; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -1033,6 +1131,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An optional [list
      * filter](https://cloud.google.com/monitoring/api/learn_more#filtering)
@@ -1044,20 +1144,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 5; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * An optional [list
      * filter](https://cloud.google.com/monitoring/api/learn_more#filtering)
@@ -1069,15 +1171,18 @@ public Builder setFilter(
      * 
* * string filter = 5; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * An optional [list
      * filter](https://cloud.google.com/monitoring/api/learn_more#filtering)
@@ -1089,16 +1194,16 @@ public Builder clearFilter() {
      * 
* * string filter = 5; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1106,8 +1211,13 @@ public Builder setFilterBytes( private com.google.monitoring.v3.TimeInterval interval_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TimeInterval, com.google.monitoring.v3.TimeInterval.Builder, com.google.monitoring.v3.TimeIntervalOrBuilder> intervalBuilder_; + com.google.monitoring.v3.TimeInterval, + com.google.monitoring.v3.TimeInterval.Builder, + com.google.monitoring.v3.TimeIntervalOrBuilder> + intervalBuilder_; /** + * + * *
      * An optional time interval for which results should be returned. Only
      * members that were part of the group during the specified interval are
@@ -1116,12 +1226,15 @@ public Builder setFilterBytes(
      * 
* * .google.monitoring.v3.TimeInterval interval = 6; + * * @return Whether the interval field is set. */ public boolean hasInterval() { return intervalBuilder_ != null || interval_ != null; } /** + * + * *
      * An optional time interval for which results should be returned. Only
      * members that were part of the group during the specified interval are
@@ -1130,16 +1243,21 @@ public boolean hasInterval() {
      * 
* * .google.monitoring.v3.TimeInterval interval = 6; + * * @return The interval. */ public com.google.monitoring.v3.TimeInterval getInterval() { if (intervalBuilder_ == null) { - return interval_ == null ? com.google.monitoring.v3.TimeInterval.getDefaultInstance() : interval_; + return interval_ == null + ? com.google.monitoring.v3.TimeInterval.getDefaultInstance() + : interval_; } else { return intervalBuilder_.getMessage(); } } /** + * + * *
      * An optional time interval for which results should be returned. Only
      * members that were part of the group during the specified interval are
@@ -1163,6 +1281,8 @@ public Builder setInterval(com.google.monitoring.v3.TimeInterval value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * An optional time interval for which results should be returned. Only
      * members that were part of the group during the specified interval are
@@ -1172,8 +1292,7 @@ public Builder setInterval(com.google.monitoring.v3.TimeInterval value) {
      *
      * .google.monitoring.v3.TimeInterval interval = 6;
      */
-    public Builder setInterval(
-        com.google.monitoring.v3.TimeInterval.Builder builderForValue) {
+    public Builder setInterval(com.google.monitoring.v3.TimeInterval.Builder builderForValue) {
       if (intervalBuilder_ == null) {
         interval_ = builderForValue.build();
         onChanged();
@@ -1184,6 +1303,8 @@ public Builder setInterval(
       return this;
     }
     /**
+     *
+     *
      * 
      * An optional time interval for which results should be returned. Only
      * members that were part of the group during the specified interval are
@@ -1197,7 +1318,9 @@ public Builder mergeInterval(com.google.monitoring.v3.TimeInterval value) {
       if (intervalBuilder_ == null) {
         if (interval_ != null) {
           interval_ =
-            com.google.monitoring.v3.TimeInterval.newBuilder(interval_).mergeFrom(value).buildPartial();
+              com.google.monitoring.v3.TimeInterval.newBuilder(interval_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           interval_ = value;
         }
@@ -1209,6 +1332,8 @@ public Builder mergeInterval(com.google.monitoring.v3.TimeInterval value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * An optional time interval for which results should be returned. Only
      * members that were part of the group during the specified interval are
@@ -1230,6 +1355,8 @@ public Builder clearInterval() {
       return this;
     }
     /**
+     *
+     *
      * 
      * An optional time interval for which results should be returned. Only
      * members that were part of the group during the specified interval are
@@ -1240,11 +1367,13 @@ public Builder clearInterval() {
      * .google.monitoring.v3.TimeInterval interval = 6;
      */
     public com.google.monitoring.v3.TimeInterval.Builder getIntervalBuilder() {
-      
+
       onChanged();
       return getIntervalFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * An optional time interval for which results should be returned. Only
      * members that were part of the group during the specified interval are
@@ -1258,11 +1387,14 @@ public com.google.monitoring.v3.TimeIntervalOrBuilder getIntervalOrBuilder() {
       if (intervalBuilder_ != null) {
         return intervalBuilder_.getMessageOrBuilder();
       } else {
-        return interval_ == null ?
-            com.google.monitoring.v3.TimeInterval.getDefaultInstance() : interval_;
+        return interval_ == null
+            ? com.google.monitoring.v3.TimeInterval.getDefaultInstance()
+            : interval_;
       }
     }
     /**
+     *
+     *
      * 
      * An optional time interval for which results should be returned. Only
      * members that were part of the group during the specified interval are
@@ -1273,21 +1405,24 @@ public com.google.monitoring.v3.TimeIntervalOrBuilder getIntervalOrBuilder() {
      * .google.monitoring.v3.TimeInterval interval = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.monitoring.v3.TimeInterval, com.google.monitoring.v3.TimeInterval.Builder, com.google.monitoring.v3.TimeIntervalOrBuilder> 
+            com.google.monitoring.v3.TimeInterval,
+            com.google.monitoring.v3.TimeInterval.Builder,
+            com.google.monitoring.v3.TimeIntervalOrBuilder>
         getIntervalFieldBuilder() {
       if (intervalBuilder_ == null) {
-        intervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.TimeInterval, com.google.monitoring.v3.TimeInterval.Builder, com.google.monitoring.v3.TimeIntervalOrBuilder>(
-                getInterval(),
-                getParentForChildren(),
-                isClean());
+        intervalBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.monitoring.v3.TimeInterval,
+                com.google.monitoring.v3.TimeInterval.Builder,
+                com.google.monitoring.v3.TimeIntervalOrBuilder>(
+                getInterval(), getParentForChildren(), isClean());
         interval_ = null;
       }
       return intervalBuilder_;
     }
+
     @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);
     }
 
@@ -1297,12 +1432,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListGroupMembersRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListGroupMembersRequest)
   private static final com.google.monitoring.v3.ListGroupMembersRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.monitoring.v3.ListGroupMembersRequest();
   }
@@ -1311,16 +1446,16 @@ public static com.google.monitoring.v3.ListGroupMembersRequest getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ListGroupMembersRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new ListGroupMembersRequest(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ListGroupMembersRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new ListGroupMembersRequest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1335,6 +1470,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.monitoring.v3.ListGroupMembersRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersRequestOrBuilder.java
similarity index 76%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersRequestOrBuilder.java
rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersRequestOrBuilder.java
index b348d065..29156aae 100644
--- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersRequestOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersRequestOrBuilder.java
@@ -1,45 +1,75 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/monitoring/v3/group_service.proto
 
 package com.google.monitoring.v3;
 
-public interface ListGroupMembersRequestOrBuilder extends
+public interface ListGroupMembersRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListGroupMembersRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The group whose members are listed. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
    * 
* - * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The group whose members are listed. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
    * 
* - * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * A positive number that is the maximum number of results to return.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * If this field is not empty then it must contain the `next_page_token` value
    * returned by a previous call to this method.  Using this field causes the
@@ -47,10 +77,13 @@ public interface ListGroupMembersRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * If this field is not empty then it must contain the `next_page_token` value
    * returned by a previous call to this method.  Using this field causes the
@@ -58,12 +91,14 @@ public interface ListGroupMembersRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * An optional [list
    * filter](https://cloud.google.com/monitoring/api/learn_more#filtering)
@@ -75,10 +110,13 @@ public interface ListGroupMembersRequestOrBuilder extends
    * 
* * string filter = 5; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * An optional [list
    * filter](https://cloud.google.com/monitoring/api/learn_more#filtering)
@@ -90,12 +128,14 @@ public interface ListGroupMembersRequestOrBuilder extends
    * 
* * string filter = 5; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * An optional time interval for which results should be returned. Only
    * members that were part of the group during the specified interval are
@@ -104,10 +144,13 @@ public interface ListGroupMembersRequestOrBuilder extends
    * 
* * .google.monitoring.v3.TimeInterval interval = 6; + * * @return Whether the interval field is set. */ boolean hasInterval(); /** + * + * *
    * An optional time interval for which results should be returned. Only
    * members that were part of the group during the specified interval are
@@ -116,10 +159,13 @@ public interface ListGroupMembersRequestOrBuilder extends
    * 
* * .google.monitoring.v3.TimeInterval interval = 6; + * * @return The interval. */ com.google.monitoring.v3.TimeInterval getInterval(); /** + * + * *
    * An optional time interval for which results should be returned. Only
    * members that were part of the group during the specified interval are
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersResponse.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersResponse.java
similarity index 74%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersResponse.java
rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersResponse.java
index ef14008e..4bb184b7 100644
--- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersResponse.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersResponse.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/monitoring/v3/group_service.proto
 
 package com.google.monitoring.v3;
 
 /**
+ *
+ *
  * 
  * The `ListGroupMembers` response.
  * 
* * Protobuf type {@code google.monitoring.v3.ListGroupMembersResponse} */ -public final class ListGroupMembersResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListGroupMembersResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListGroupMembersResponse) ListGroupMembersResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListGroupMembersResponse.newBuilder() to construct. private ListGroupMembersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListGroupMembersResponse() { members_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListGroupMembersResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListGroupMembersResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListGroupMembersResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,40 +72,41 @@ private ListGroupMembersResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - members_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + members_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + members_.add( + input.readMessage(com.google.api.MonitoredResource.parser(), extensionRegistry)); + break; } - members_.add( - input.readMessage(com.google.api.MonitoredResource.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 24: { - - totalSize_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + case 24: + { + totalSize_ = input.readInt32(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { members_ = java.util.Collections.unmodifiableList(members_); @@ -97,22 +115,27 @@ private ListGroupMembersResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_ListGroupMembersResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.GroupServiceProto + .internal_static_google_monitoring_v3_ListGroupMembersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_ListGroupMembersResponse_fieldAccessorTable + return com.google.monitoring.v3.GroupServiceProto + .internal_static_google_monitoring_v3_ListGroupMembersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListGroupMembersResponse.class, com.google.monitoring.v3.ListGroupMembersResponse.Builder.class); + com.google.monitoring.v3.ListGroupMembersResponse.class, + com.google.monitoring.v3.ListGroupMembersResponse.Builder.class); } public static final int MEMBERS_FIELD_NUMBER = 1; private java.util.List members_; /** + * + * *
    * A set of monitored resources in the group.
    * 
@@ -124,6 +147,8 @@ public java.util.List getMembersList() { return members_; } /** + * + * *
    * A set of monitored resources in the group.
    * 
@@ -131,11 +156,13 @@ public java.util.List getMembersList() { * repeated .google.api.MonitoredResource members = 1; */ @java.lang.Override - public java.util.List + public java.util.List getMembersOrBuilderList() { return members_; } /** + * + * *
    * A set of monitored resources in the group.
    * 
@@ -147,6 +174,8 @@ public int getMembersCount() { return members_.size(); } /** + * + * *
    * A set of monitored resources in the group.
    * 
@@ -158,6 +187,8 @@ public com.google.api.MonitoredResource getMembers(int index) { return members_.get(index); } /** + * + * *
    * A set of monitored resources in the group.
    * 
@@ -165,14 +196,15 @@ public com.google.api.MonitoredResource getMembers(int index) { * repeated .google.api.MonitoredResource members = 1; */ @java.lang.Override - public com.google.api.MonitoredResourceOrBuilder getMembersOrBuilder( - int index) { + public com.google.api.MonitoredResourceOrBuilder getMembersOrBuilder(int index) { return members_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * If there are more results than have been returned, then this field is
    * set to a non-empty value.  To see the additional results, use that value as
@@ -180,6 +212,7 @@ public com.google.api.MonitoredResourceOrBuilder getMembersOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -188,14 +221,15 @@ 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; } } /** + * + * *
    * If there are more results than have been returned, then this field is
    * set to a non-empty value.  To see the additional results, use that value as
@@ -203,16 +237,15 @@ public java.lang.String getNextPageToken() {
    * 
* * 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 { @@ -223,11 +256,14 @@ public java.lang.String getNextPageToken() { public static final int TOTAL_SIZE_FIELD_NUMBER = 3; private int totalSize_; /** + * + * *
    * The total number of elements matching this request.
    * 
* * int32 total_size = 3; + * * @return The totalSize. */ @java.lang.Override @@ -236,6 +272,7 @@ public int getTotalSize() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,8 +284,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < members_.size(); i++) { output.writeMessage(1, members_.get(i)); } @@ -268,15 +304,13 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < members_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, members_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, members_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } if (totalSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, totalSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, totalSize_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -286,19 +320,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.monitoring.v3.ListGroupMembersResponse)) { return super.equals(obj); } - com.google.monitoring.v3.ListGroupMembersResponse other = (com.google.monitoring.v3.ListGroupMembersResponse) obj; + com.google.monitoring.v3.ListGroupMembersResponse other = + (com.google.monitoring.v3.ListGroupMembersResponse) obj; - if (!getMembersList() - .equals(other.getMembersList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (getTotalSize() - != other.getTotalSize()) return false; + if (!getMembersList().equals(other.getMembersList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (getTotalSize() != other.getTotalSize()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -324,117 +356,126 @@ public int hashCode() { } public static com.google.monitoring.v3.ListGroupMembersResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListGroupMembersResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListGroupMembersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListGroupMembersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListGroupMembersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListGroupMembersResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListGroupMembersResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ListGroupMembersResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListGroupMembersResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListGroupMembersResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ListGroupMembersResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListGroupMembersResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.ListGroupMembersResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListGroupMembersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.ListGroupMembersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 `ListGroupMembers` response.
    * 
* * Protobuf type {@code google.monitoring.v3.ListGroupMembersResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListGroupMembersResponse) com.google.monitoring.v3.ListGroupMembersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_ListGroupMembersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.GroupServiceProto + .internal_static_google_monitoring_v3_ListGroupMembersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_ListGroupMembersResponse_fieldAccessorTable + return com.google.monitoring.v3.GroupServiceProto + .internal_static_google_monitoring_v3_ListGroupMembersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListGroupMembersResponse.class, com.google.monitoring.v3.ListGroupMembersResponse.Builder.class); + com.google.monitoring.v3.ListGroupMembersResponse.class, + com.google.monitoring.v3.ListGroupMembersResponse.Builder.class); } // Construct using com.google.monitoring.v3.ListGroupMembersResponse.newBuilder() @@ -442,17 +483,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getMembersFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -470,9 +511,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_ListGroupMembersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.GroupServiceProto + .internal_static_google_monitoring_v3_ListGroupMembersResponse_descriptor; } @java.lang.Override @@ -491,7 +532,8 @@ public com.google.monitoring.v3.ListGroupMembersResponse build() { @java.lang.Override public com.google.monitoring.v3.ListGroupMembersResponse buildPartial() { - com.google.monitoring.v3.ListGroupMembersResponse result = new com.google.monitoring.v3.ListGroupMembersResponse(this); + com.google.monitoring.v3.ListGroupMembersResponse result = + new com.google.monitoring.v3.ListGroupMembersResponse(this); int from_bitField0_ = bitField0_; if (membersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -512,38 +554,39 @@ public com.google.monitoring.v3.ListGroupMembersResponse 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.monitoring.v3.ListGroupMembersResponse) { - return mergeFrom((com.google.monitoring.v3.ListGroupMembersResponse)other); + return mergeFrom((com.google.monitoring.v3.ListGroupMembersResponse) other); } else { super.mergeFrom(other); return this; @@ -551,7 +594,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.ListGroupMembersResponse other) { - if (other == com.google.monitoring.v3.ListGroupMembersResponse.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.ListGroupMembersResponse.getDefaultInstance()) + return this; if (membersBuilder_ == null) { if (!other.members_.isEmpty()) { if (members_.isEmpty()) { @@ -570,9 +614,10 @@ public Builder mergeFrom(com.google.monitoring.v3.ListGroupMembersResponse other membersBuilder_ = null; members_ = other.members_; bitField0_ = (bitField0_ & ~0x00000001); - membersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMembersFieldBuilder() : null; + membersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMembersFieldBuilder() + : null; } else { membersBuilder_.addAllMessages(other.members_); } @@ -604,7 +649,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.ListGroupMembersResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.ListGroupMembersResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -613,21 +659,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List members_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureMembersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { members_ = new java.util.ArrayList(members_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.MonitoredResource, com.google.api.MonitoredResource.Builder, com.google.api.MonitoredResourceOrBuilder> membersBuilder_; + com.google.api.MonitoredResource, + com.google.api.MonitoredResource.Builder, + com.google.api.MonitoredResourceOrBuilder> + membersBuilder_; /** + * + * *
      * A set of monitored resources in the group.
      * 
@@ -642,6 +695,8 @@ public java.util.List getMembersList() { } } /** + * + * *
      * A set of monitored resources in the group.
      * 
@@ -656,6 +711,8 @@ public int getMembersCount() { } } /** + * + * *
      * A set of monitored resources in the group.
      * 
@@ -670,14 +727,15 @@ public com.google.api.MonitoredResource getMembers(int index) { } } /** + * + * *
      * A set of monitored resources in the group.
      * 
* * repeated .google.api.MonitoredResource members = 1; */ - public Builder setMembers( - int index, com.google.api.MonitoredResource value) { + public Builder setMembers(int index, com.google.api.MonitoredResource value) { if (membersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -691,14 +749,15 @@ public Builder setMembers( return this; } /** + * + * *
      * A set of monitored resources in the group.
      * 
* * repeated .google.api.MonitoredResource members = 1; */ - public Builder setMembers( - int index, com.google.api.MonitoredResource.Builder builderForValue) { + public Builder setMembers(int index, com.google.api.MonitoredResource.Builder builderForValue) { if (membersBuilder_ == null) { ensureMembersIsMutable(); members_.set(index, builderForValue.build()); @@ -709,6 +768,8 @@ public Builder setMembers( return this; } /** + * + * *
      * A set of monitored resources in the group.
      * 
@@ -729,14 +790,15 @@ public Builder addMembers(com.google.api.MonitoredResource value) { return this; } /** + * + * *
      * A set of monitored resources in the group.
      * 
* * repeated .google.api.MonitoredResource members = 1; */ - public Builder addMembers( - int index, com.google.api.MonitoredResource value) { + public Builder addMembers(int index, com.google.api.MonitoredResource value) { if (membersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -750,14 +812,15 @@ public Builder addMembers( return this; } /** + * + * *
      * A set of monitored resources in the group.
      * 
* * repeated .google.api.MonitoredResource members = 1; */ - public Builder addMembers( - com.google.api.MonitoredResource.Builder builderForValue) { + public Builder addMembers(com.google.api.MonitoredResource.Builder builderForValue) { if (membersBuilder_ == null) { ensureMembersIsMutable(); members_.add(builderForValue.build()); @@ -768,14 +831,15 @@ public Builder addMembers( return this; } /** + * + * *
      * A set of monitored resources in the group.
      * 
* * repeated .google.api.MonitoredResource members = 1; */ - public Builder addMembers( - int index, com.google.api.MonitoredResource.Builder builderForValue) { + public Builder addMembers(int index, com.google.api.MonitoredResource.Builder builderForValue) { if (membersBuilder_ == null) { ensureMembersIsMutable(); members_.add(index, builderForValue.build()); @@ -786,6 +850,8 @@ public Builder addMembers( return this; } /** + * + * *
      * A set of monitored resources in the group.
      * 
@@ -796,8 +862,7 @@ public Builder addAllMembers( java.lang.Iterable values) { if (membersBuilder_ == null) { ensureMembersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, members_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, members_); onChanged(); } else { membersBuilder_.addAllMessages(values); @@ -805,6 +870,8 @@ public Builder addAllMembers( return this; } /** + * + * *
      * A set of monitored resources in the group.
      * 
@@ -822,6 +889,8 @@ public Builder clearMembers() { return this; } /** + * + * *
      * A set of monitored resources in the group.
      * 
@@ -839,39 +908,44 @@ public Builder removeMembers(int index) { return this; } /** + * + * *
      * A set of monitored resources in the group.
      * 
* * repeated .google.api.MonitoredResource members = 1; */ - public com.google.api.MonitoredResource.Builder getMembersBuilder( - int index) { + public com.google.api.MonitoredResource.Builder getMembersBuilder(int index) { return getMembersFieldBuilder().getBuilder(index); } /** + * + * *
      * A set of monitored resources in the group.
      * 
* * repeated .google.api.MonitoredResource members = 1; */ - public com.google.api.MonitoredResourceOrBuilder getMembersOrBuilder( - int index) { + public com.google.api.MonitoredResourceOrBuilder getMembersOrBuilder(int index) { if (membersBuilder_ == null) { - return members_.get(index); } else { + return members_.get(index); + } else { return membersBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A set of monitored resources in the group.
      * 
* * repeated .google.api.MonitoredResource members = 1; */ - public java.util.List - getMembersOrBuilderList() { + public java.util.List + getMembersOrBuilderList() { if (membersBuilder_ != null) { return membersBuilder_.getMessageOrBuilderList(); } else { @@ -879,6 +953,8 @@ public com.google.api.MonitoredResourceOrBuilder getMembersOrBuilder( } } /** + * + * *
      * A set of monitored resources in the group.
      * 
@@ -886,42 +962,47 @@ public com.google.api.MonitoredResourceOrBuilder getMembersOrBuilder( * repeated .google.api.MonitoredResource members = 1; */ public com.google.api.MonitoredResource.Builder addMembersBuilder() { - return getMembersFieldBuilder().addBuilder( - com.google.api.MonitoredResource.getDefaultInstance()); + return getMembersFieldBuilder() + .addBuilder(com.google.api.MonitoredResource.getDefaultInstance()); } /** + * + * *
      * A set of monitored resources in the group.
      * 
* * repeated .google.api.MonitoredResource members = 1; */ - public com.google.api.MonitoredResource.Builder addMembersBuilder( - int index) { - return getMembersFieldBuilder().addBuilder( - index, com.google.api.MonitoredResource.getDefaultInstance()); + public com.google.api.MonitoredResource.Builder addMembersBuilder(int index) { + return getMembersFieldBuilder() + .addBuilder(index, com.google.api.MonitoredResource.getDefaultInstance()); } /** + * + * *
      * A set of monitored resources in the group.
      * 
* * repeated .google.api.MonitoredResource members = 1; */ - public java.util.List - getMembersBuilderList() { + public java.util.List getMembersBuilderList() { return getMembersFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.MonitoredResource, com.google.api.MonitoredResource.Builder, com.google.api.MonitoredResourceOrBuilder> + com.google.api.MonitoredResource, + com.google.api.MonitoredResource.Builder, + com.google.api.MonitoredResourceOrBuilder> getMembersFieldBuilder() { if (membersBuilder_ == null) { - membersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.MonitoredResource, com.google.api.MonitoredResource.Builder, com.google.api.MonitoredResourceOrBuilder>( - members_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + membersBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.api.MonitoredResource, + com.google.api.MonitoredResource.Builder, + com.google.api.MonitoredResourceOrBuilder>( + members_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); members_ = null; } return membersBuilder_; @@ -929,6 +1010,8 @@ public com.google.api.MonitoredResource.Builder addMembersBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * If there are more results than have been returned, then this field is
      * set to a non-empty value.  To see the additional results, use that value as
@@ -936,13 +1019,13 @@ public com.google.api.MonitoredResource.Builder addMembersBuilder(
      * 
* * 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; @@ -951,6 +1034,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If there are more results than have been returned, then this field is
      * set to a non-empty value.  To see the additional results, use that value as
@@ -958,15 +1043,14 @@ public java.lang.String getNextPageToken() {
      * 
* * 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 { @@ -974,6 +1058,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If there are more results than have been returned, then this field is
      * set to a non-empty value.  To see the additional results, use that value as
@@ -981,20 +1067,22 @@ public java.lang.String getNextPageToken() {
      * 
* * 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; } /** + * + * *
      * If there are more results than have been returned, then this field is
      * set to a non-empty value.  To see the additional results, use that value as
@@ -1002,15 +1090,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * If there are more results than have been returned, then this field is
      * set to a non-empty value.  To see the additional results, use that value as
@@ -1018,28 +1109,31 @@ public Builder clearNextPageToken() {
      * 
* * 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; } - private int totalSize_ ; + private int totalSize_; /** + * + * *
      * The total number of elements matching this request.
      * 
* * int32 total_size = 3; + * * @return The totalSize. */ @java.lang.Override @@ -1047,37 +1141,43 @@ public int getTotalSize() { return totalSize_; } /** + * + * *
      * The total number of elements matching this request.
      * 
* * int32 total_size = 3; + * * @param value The totalSize to set. * @return This builder for chaining. */ public Builder setTotalSize(int value) { - + totalSize_ = value; onChanged(); return this; } /** + * + * *
      * The total number of elements matching this request.
      * 
* * int32 total_size = 3; + * * @return This builder for chaining. */ public Builder clearTotalSize() { - + totalSize_ = 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); } @@ -1087,12 +1187,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListGroupMembersResponse) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListGroupMembersResponse) private static final com.google.monitoring.v3.ListGroupMembersResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListGroupMembersResponse(); } @@ -1101,16 +1201,16 @@ public static com.google.monitoring.v3.ListGroupMembersResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListGroupMembersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListGroupMembersResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListGroupMembersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListGroupMembersResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1125,6 +1225,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.ListGroupMembersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersResponseOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersResponseOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersResponseOrBuilder.java index a149da47..95302cfb 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersResponseOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupMembersResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/group_service.proto package com.google.monitoring.v3; -public interface ListGroupMembersResponseOrBuilder extends +public interface ListGroupMembersResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListGroupMembersResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A set of monitored resources in the group.
    * 
* * repeated .google.api.MonitoredResource members = 1; */ - java.util.List - getMembersList(); + java.util.List getMembersList(); /** + * + * *
    * A set of monitored resources in the group.
    * 
@@ -25,6 +44,8 @@ public interface ListGroupMembersResponseOrBuilder extends */ com.google.api.MonitoredResource getMembers(int index); /** + * + * *
    * A set of monitored resources in the group.
    * 
@@ -33,25 +54,29 @@ public interface ListGroupMembersResponseOrBuilder extends */ int getMembersCount(); /** + * + * *
    * A set of monitored resources in the group.
    * 
* * repeated .google.api.MonitoredResource members = 1; */ - java.util.List - getMembersOrBuilderList(); + java.util.List getMembersOrBuilderList(); /** + * + * *
    * A set of monitored resources in the group.
    * 
* * repeated .google.api.MonitoredResource members = 1; */ - com.google.api.MonitoredResourceOrBuilder getMembersOrBuilder( - int index); + com.google.api.MonitoredResourceOrBuilder getMembersOrBuilder(int index); /** + * + * *
    * If there are more results than have been returned, then this field is
    * set to a non-empty value.  To see the additional results, use that value as
@@ -59,10 +84,13 @@ com.google.api.MonitoredResourceOrBuilder getMembersOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * If there are more results than have been returned, then this field is
    * set to a non-empty value.  To see the additional results, use that value as
@@ -70,17 +98,20 @@ com.google.api.MonitoredResourceOrBuilder getMembersOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * The total number of elements matching this request.
    * 
* * int32 total_size = 3; + * * @return The totalSize. */ int getTotalSize(); diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsRequest.java similarity index 75% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsRequest.java index 11e3217b..4d123c3a 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/group_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `ListGroup` request.
  * 
* * Protobuf type {@code google.monitoring.v3.ListGroupsRequest} */ -public final class ListGroupsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListGroupsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListGroupsRequest) ListGroupsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListGroupsRequest.newBuilder() to construct. private ListGroupsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListGroupsRequest() { name_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListGroupsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListGroupsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListGroupsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,83 +71,93 @@ private ListGroupsRequest( case 0: done = true; break; - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - filterCase_ = 2; - filter_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - filterCase_ = 3; - filter_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - filterCase_ = 4; - filter_ = s; - break; - } - case 40: { - - pageSize_ = input.readInt32(); - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + filterCase_ = 2; + filter_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + filterCase_ = 3; + filter_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + filterCase_ = 4; + filter_ = s; + break; + } + case 40: + { + pageSize_ = input.readInt32(); + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_ListGroupsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.GroupServiceProto + .internal_static_google_monitoring_v3_ListGroupsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_ListGroupsRequest_fieldAccessorTable + return com.google.monitoring.v3.GroupServiceProto + .internal_static_google_monitoring_v3_ListGroupsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListGroupsRequest.class, com.google.monitoring.v3.ListGroupsRequest.Builder.class); + com.google.monitoring.v3.ListGroupsRequest.class, + com.google.monitoring.v3.ListGroupsRequest.Builder.class); } private int filterCase_ = 0; private java.lang.Object filter_; + public enum FilterCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CHILDREN_OF_GROUP(2), ANCESTORS_OF_GROUP(3), DESCENDANTS_OF_GROUP(4), FILTER_NOT_SET(0); private final int value; + private FilterCase(int value) { this.value = value; } @@ -146,34 +173,43 @@ public static FilterCase valueOf(int value) { public static FilterCase forNumber(int value) { switch (value) { - case 2: return CHILDREN_OF_GROUP; - case 3: return ANCESTORS_OF_GROUP; - case 4: return DESCENDANTS_OF_GROUP; - case 0: return FILTER_NOT_SET; - default: return null; + case 2: + return CHILDREN_OF_GROUP; + case 3: + return ANCESTORS_OF_GROUP; + case 4: + return DESCENDANTS_OF_GROUP; + case 0: + return FILTER_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public FilterCase - getFilterCase() { - return FilterCase.forNumber( - filterCase_); + public FilterCase getFilterCase() { + return FilterCase.forNumber(filterCase_); } public static final int NAME_FIELD_NUMBER = 7; private volatile java.lang.Object name_; /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
    * whose groups are to be listed. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -182,31 +218,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
    * whose groups are to be listed. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -216,6 +254,8 @@ public java.lang.String getName() { public static final int CHILDREN_OF_GROUP_FIELD_NUMBER = 2; /** + * + * *
    * A group name. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -224,12 +264,15 @@ public java.lang.String getName() {
    * 
* * string children_of_group = 2 [(.google.api.resource_reference) = { ... } + * * @return Whether the childrenOfGroup field is set. */ public boolean hasChildrenOfGroup() { return filterCase_ == 2; } /** + * + * *
    * A group name. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -238,6 +281,7 @@ public boolean hasChildrenOfGroup() {
    * 
* * string children_of_group = 2 [(.google.api.resource_reference) = { ... } + * * @return The childrenOfGroup. */ public java.lang.String getChildrenOfGroup() { @@ -248,8 +292,7 @@ public java.lang.String getChildrenOfGroup() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (filterCase_ == 2) { filter_ = s; @@ -258,6 +301,8 @@ public java.lang.String getChildrenOfGroup() { } } /** + * + * *
    * A group name. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -266,18 +311,17 @@ public java.lang.String getChildrenOfGroup() {
    * 
* * string children_of_group = 2 [(.google.api.resource_reference) = { ... } + * * @return The bytes for childrenOfGroup. */ - public com.google.protobuf.ByteString - getChildrenOfGroupBytes() { + public com.google.protobuf.ByteString getChildrenOfGroupBytes() { java.lang.Object ref = ""; if (filterCase_ == 2) { 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); if (filterCase_ == 2) { filter_ = b; } @@ -289,6 +333,8 @@ public java.lang.String getChildrenOfGroup() { public static final int ANCESTORS_OF_GROUP_FIELD_NUMBER = 3; /** + * + * *
    * A group name. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -299,12 +345,15 @@ public java.lang.String getChildrenOfGroup() {
    * 
* * string ancestors_of_group = 3 [(.google.api.resource_reference) = { ... } + * * @return Whether the ancestorsOfGroup field is set. */ public boolean hasAncestorsOfGroup() { return filterCase_ == 3; } /** + * + * *
    * A group name. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -315,6 +364,7 @@ public boolean hasAncestorsOfGroup() {
    * 
* * string ancestors_of_group = 3 [(.google.api.resource_reference) = { ... } + * * @return The ancestorsOfGroup. */ public java.lang.String getAncestorsOfGroup() { @@ -325,8 +375,7 @@ public java.lang.String getAncestorsOfGroup() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (filterCase_ == 3) { filter_ = s; @@ -335,6 +384,8 @@ public java.lang.String getAncestorsOfGroup() { } } /** + * + * *
    * A group name. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -345,18 +396,17 @@ public java.lang.String getAncestorsOfGroup() {
    * 
* * string ancestors_of_group = 3 [(.google.api.resource_reference) = { ... } + * * @return The bytes for ancestorsOfGroup. */ - public com.google.protobuf.ByteString - getAncestorsOfGroupBytes() { + public com.google.protobuf.ByteString getAncestorsOfGroupBytes() { java.lang.Object ref = ""; if (filterCase_ == 3) { 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); if (filterCase_ == 3) { filter_ = b; } @@ -368,6 +418,8 @@ public java.lang.String getAncestorsOfGroup() { public static final int DESCENDANTS_OF_GROUP_FIELD_NUMBER = 4; /** + * + * *
    * A group name. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -377,12 +429,15 @@ public java.lang.String getAncestorsOfGroup() {
    * 
* * string descendants_of_group = 4 [(.google.api.resource_reference) = { ... } + * * @return Whether the descendantsOfGroup field is set. */ public boolean hasDescendantsOfGroup() { return filterCase_ == 4; } /** + * + * *
    * A group name. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -392,6 +447,7 @@ public boolean hasDescendantsOfGroup() {
    * 
* * string descendants_of_group = 4 [(.google.api.resource_reference) = { ... } + * * @return The descendantsOfGroup. */ public java.lang.String getDescendantsOfGroup() { @@ -402,8 +458,7 @@ public java.lang.String getDescendantsOfGroup() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (filterCase_ == 4) { filter_ = s; @@ -412,6 +467,8 @@ public java.lang.String getDescendantsOfGroup() { } } /** + * + * *
    * A group name. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -421,18 +478,17 @@ public java.lang.String getDescendantsOfGroup() {
    * 
* * string descendants_of_group = 4 [(.google.api.resource_reference) = { ... } + * * @return The bytes for descendantsOfGroup. */ - public com.google.protobuf.ByteString - getDescendantsOfGroupBytes() { + public com.google.protobuf.ByteString getDescendantsOfGroupBytes() { java.lang.Object ref = ""; if (filterCase_ == 4) { 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); if (filterCase_ == 4) { filter_ = b; } @@ -445,11 +501,14 @@ public java.lang.String getDescendantsOfGroup() { public static final int PAGE_SIZE_FIELD_NUMBER = 5; private int pageSize_; /** + * + * *
    * A positive number that is the maximum number of results to return.
    * 
* * int32 page_size = 5; + * * @return The pageSize. */ @java.lang.Override @@ -460,6 +519,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 6; private volatile java.lang.Object pageToken_; /** + * + * *
    * If this field is not empty then it must contain the `next_page_token` value
    * returned by a previous call to this method.  Using this field causes the
@@ -467,6 +528,7 @@ public int getPageSize() {
    * 
* * string page_token = 6; + * * @return The pageToken. */ @java.lang.Override @@ -475,14 +537,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * If this field is not empty then it must contain the `next_page_token` value
    * returned by a previous call to this method.  Using this field causes the
@@ -490,16 +553,15 @@ public java.lang.String getPageToken() {
    * 
* * 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 { @@ -508,6 +570,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -519,8 +582,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (filterCase_ == 2) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, filter_); } @@ -558,8 +620,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filter_); } 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_); @@ -575,32 +636,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.ListGroupsRequest)) { return super.equals(obj); } - com.google.monitoring.v3.ListGroupsRequest other = (com.google.monitoring.v3.ListGroupsRequest) obj; + com.google.monitoring.v3.ListGroupsRequest other = + (com.google.monitoring.v3.ListGroupsRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getName().equals(other.getName())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getFilterCase().equals(other.getFilterCase())) return false; switch (filterCase_) { case 2: - if (!getChildrenOfGroup() - .equals(other.getChildrenOfGroup())) return false; + if (!getChildrenOfGroup().equals(other.getChildrenOfGroup())) return false; break; case 3: - if (!getAncestorsOfGroup() - .equals(other.getAncestorsOfGroup())) return false; + if (!getAncestorsOfGroup().equals(other.getAncestorsOfGroup())) return false; break; case 4: - if (!getDescendantsOfGroup() - .equals(other.getDescendantsOfGroup())) return false; + if (!getDescendantsOfGroup().equals(other.getDescendantsOfGroup())) return false; break; case 0: default: @@ -643,118 +699,127 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.ListGroupsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.ListGroupsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListGroupsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListGroupsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListGroupsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListGroupsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListGroupsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListGroupsRequest 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.monitoring.v3.ListGroupsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListGroupsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ListGroupsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListGroupsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.ListGroupsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListGroupsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.ListGroupsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 `ListGroup` request.
    * 
* * Protobuf type {@code google.monitoring.v3.ListGroupsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListGroupsRequest) com.google.monitoring.v3.ListGroupsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_ListGroupsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.GroupServiceProto + .internal_static_google_monitoring_v3_ListGroupsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_ListGroupsRequest_fieldAccessorTable + return com.google.monitoring.v3.GroupServiceProto + .internal_static_google_monitoring_v3_ListGroupsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListGroupsRequest.class, com.google.monitoring.v3.ListGroupsRequest.Builder.class); + com.google.monitoring.v3.ListGroupsRequest.class, + com.google.monitoring.v3.ListGroupsRequest.Builder.class); } // Construct using com.google.monitoring.v3.ListGroupsRequest.newBuilder() @@ -762,16 +827,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -787,9 +851,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_ListGroupsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.GroupServiceProto + .internal_static_google_monitoring_v3_ListGroupsRequest_descriptor; } @java.lang.Override @@ -808,7 +872,8 @@ public com.google.monitoring.v3.ListGroupsRequest build() { @java.lang.Override public com.google.monitoring.v3.ListGroupsRequest buildPartial() { - com.google.monitoring.v3.ListGroupsRequest result = new com.google.monitoring.v3.ListGroupsRequest(this); + com.google.monitoring.v3.ListGroupsRequest result = + new com.google.monitoring.v3.ListGroupsRequest(this); result.name_ = name_; if (filterCase_ == 2) { result.filter_ = filter_; @@ -830,38 +895,39 @@ public com.google.monitoring.v3.ListGroupsRequest 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.monitoring.v3.ListGroupsRequest) { - return mergeFrom((com.google.monitoring.v3.ListGroupsRequest)other); + return mergeFrom((com.google.monitoring.v3.ListGroupsRequest) other); } else { super.mergeFrom(other); return this; @@ -882,27 +948,31 @@ public Builder mergeFrom(com.google.monitoring.v3.ListGroupsRequest other) { onChanged(); } switch (other.getFilterCase()) { - case CHILDREN_OF_GROUP: { - filterCase_ = 2; - filter_ = other.filter_; - onChanged(); - break; - } - case ANCESTORS_OF_GROUP: { - filterCase_ = 3; - filter_ = other.filter_; - onChanged(); - break; - } - case DESCENDANTS_OF_GROUP: { - filterCase_ = 4; - filter_ = other.filter_; - onChanged(); - break; - } - case FILTER_NOT_SET: { - break; - } + case CHILDREN_OF_GROUP: + { + filterCase_ = 2; + filter_ = other.filter_; + onChanged(); + break; + } + case ANCESTORS_OF_GROUP: + { + filterCase_ = 3; + filter_ = other.filter_; + onChanged(); + break; + } + case DESCENDANTS_OF_GROUP: + { + filterCase_ = 4; + filter_ = other.filter_; + onChanged(); + break; + } + case FILTER_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -932,12 +1002,12 @@ public Builder mergeFrom( } return this; } + private int filterCase_ = 0; private java.lang.Object filter_; - public FilterCase - getFilterCase() { - return FilterCase.forNumber( - filterCase_); + + public FilterCase getFilterCase() { + return FilterCase.forNumber(filterCase_); } public Builder clearFilter() { @@ -947,23 +1017,26 @@ public Builder clearFilter() { return this; } - private java.lang.Object name_ = ""; /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
      * whose groups are to be listed. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -972,22 +1045,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
      * whose groups are to be listed. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -995,66 +1071,81 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
      * whose groups are to be listed. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
      * whose groups are to be listed. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
      * whose groups are to be listed. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } /** + * + * *
      * A group name. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1063,6 +1154,7 @@ public Builder setNameBytes(
      * 
* * string children_of_group = 2 [(.google.api.resource_reference) = { ... } + * * @return Whether the childrenOfGroup field is set. */ @java.lang.Override @@ -1070,6 +1162,8 @@ public boolean hasChildrenOfGroup() { return filterCase_ == 2; } /** + * + * *
      * A group name. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1078,6 +1172,7 @@ public boolean hasChildrenOfGroup() {
      * 
* * string children_of_group = 2 [(.google.api.resource_reference) = { ... } + * * @return The childrenOfGroup. */ @java.lang.Override @@ -1087,8 +1182,7 @@ public java.lang.String getChildrenOfGroup() { 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(); if (filterCase_ == 2) { filter_ = s; @@ -1099,6 +1193,8 @@ public java.lang.String getChildrenOfGroup() { } } /** + * + * *
      * A group name. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1107,19 +1203,18 @@ public java.lang.String getChildrenOfGroup() {
      * 
* * string children_of_group = 2 [(.google.api.resource_reference) = { ... } + * * @return The bytes for childrenOfGroup. */ @java.lang.Override - public com.google.protobuf.ByteString - getChildrenOfGroupBytes() { + public com.google.protobuf.ByteString getChildrenOfGroupBytes() { java.lang.Object ref = ""; if (filterCase_ == 2) { 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); if (filterCase_ == 2) { filter_ = b; } @@ -1129,6 +1224,8 @@ public java.lang.String getChildrenOfGroup() { } } /** + * + * *
      * A group name. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1137,20 +1234,22 @@ public java.lang.String getChildrenOfGroup() {
      * 
* * string children_of_group = 2 [(.google.api.resource_reference) = { ... } + * * @param value The childrenOfGroup to set. * @return This builder for chaining. */ - public Builder setChildrenOfGroup( - java.lang.String value) { + public Builder setChildrenOfGroup(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - filterCase_ = 2; + throw new NullPointerException(); + } + filterCase_ = 2; filter_ = value; onChanged(); return this; } /** + * + * *
      * A group name. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1159,6 +1258,7 @@ public Builder setChildrenOfGroup(
      * 
* * string children_of_group = 2 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearChildrenOfGroup() { @@ -1170,6 +1270,8 @@ public Builder clearChildrenOfGroup() { return this; } /** + * + * *
      * A group name. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1178,15 +1280,15 @@ public Builder clearChildrenOfGroup() {
      * 
* * string children_of_group = 2 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for childrenOfGroup to set. * @return This builder for chaining. */ - public Builder setChildrenOfGroupBytes( - com.google.protobuf.ByteString value) { + public Builder setChildrenOfGroupBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); filterCase_ = 2; filter_ = value; onChanged(); @@ -1194,6 +1296,8 @@ public Builder setChildrenOfGroupBytes( } /** + * + * *
      * A group name. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1204,6 +1308,7 @@ public Builder setChildrenOfGroupBytes(
      * 
* * string ancestors_of_group = 3 [(.google.api.resource_reference) = { ... } + * * @return Whether the ancestorsOfGroup field is set. */ @java.lang.Override @@ -1211,6 +1316,8 @@ public boolean hasAncestorsOfGroup() { return filterCase_ == 3; } /** + * + * *
      * A group name. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1221,6 +1328,7 @@ public boolean hasAncestorsOfGroup() {
      * 
* * string ancestors_of_group = 3 [(.google.api.resource_reference) = { ... } + * * @return The ancestorsOfGroup. */ @java.lang.Override @@ -1230,8 +1338,7 @@ public java.lang.String getAncestorsOfGroup() { 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(); if (filterCase_ == 3) { filter_ = s; @@ -1242,6 +1349,8 @@ public java.lang.String getAncestorsOfGroup() { } } /** + * + * *
      * A group name. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1252,19 +1361,18 @@ public java.lang.String getAncestorsOfGroup() {
      * 
* * string ancestors_of_group = 3 [(.google.api.resource_reference) = { ... } + * * @return The bytes for ancestorsOfGroup. */ @java.lang.Override - public com.google.protobuf.ByteString - getAncestorsOfGroupBytes() { + public com.google.protobuf.ByteString getAncestorsOfGroupBytes() { java.lang.Object ref = ""; if (filterCase_ == 3) { 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); if (filterCase_ == 3) { filter_ = b; } @@ -1274,6 +1382,8 @@ public java.lang.String getAncestorsOfGroup() { } } /** + * + * *
      * A group name. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1284,20 +1394,22 @@ public java.lang.String getAncestorsOfGroup() {
      * 
* * string ancestors_of_group = 3 [(.google.api.resource_reference) = { ... } + * * @param value The ancestorsOfGroup to set. * @return This builder for chaining. */ - public Builder setAncestorsOfGroup( - java.lang.String value) { + public Builder setAncestorsOfGroup(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - filterCase_ = 3; + throw new NullPointerException(); + } + filterCase_ = 3; filter_ = value; onChanged(); return this; } /** + * + * *
      * A group name. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1308,6 +1420,7 @@ public Builder setAncestorsOfGroup(
      * 
* * string ancestors_of_group = 3 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearAncestorsOfGroup() { @@ -1319,6 +1432,8 @@ public Builder clearAncestorsOfGroup() { return this; } /** + * + * *
      * A group name. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1329,15 +1444,15 @@ public Builder clearAncestorsOfGroup() {
      * 
* * string ancestors_of_group = 3 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for ancestorsOfGroup to set. * @return This builder for chaining. */ - public Builder setAncestorsOfGroupBytes( - com.google.protobuf.ByteString value) { + public Builder setAncestorsOfGroupBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); filterCase_ = 3; filter_ = value; onChanged(); @@ -1345,6 +1460,8 @@ public Builder setAncestorsOfGroupBytes( } /** + * + * *
      * A group name. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1354,6 +1471,7 @@ public Builder setAncestorsOfGroupBytes(
      * 
* * string descendants_of_group = 4 [(.google.api.resource_reference) = { ... } + * * @return Whether the descendantsOfGroup field is set. */ @java.lang.Override @@ -1361,6 +1479,8 @@ public boolean hasDescendantsOfGroup() { return filterCase_ == 4; } /** + * + * *
      * A group name. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1370,6 +1490,7 @@ public boolean hasDescendantsOfGroup() {
      * 
* * string descendants_of_group = 4 [(.google.api.resource_reference) = { ... } + * * @return The descendantsOfGroup. */ @java.lang.Override @@ -1379,8 +1500,7 @@ public java.lang.String getDescendantsOfGroup() { 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(); if (filterCase_ == 4) { filter_ = s; @@ -1391,6 +1511,8 @@ public java.lang.String getDescendantsOfGroup() { } } /** + * + * *
      * A group name. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1400,19 +1522,18 @@ public java.lang.String getDescendantsOfGroup() {
      * 
* * string descendants_of_group = 4 [(.google.api.resource_reference) = { ... } + * * @return The bytes for descendantsOfGroup. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescendantsOfGroupBytes() { + public com.google.protobuf.ByteString getDescendantsOfGroupBytes() { java.lang.Object ref = ""; if (filterCase_ == 4) { 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); if (filterCase_ == 4) { filter_ = b; } @@ -1422,6 +1543,8 @@ public java.lang.String getDescendantsOfGroup() { } } /** + * + * *
      * A group name. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1431,20 +1554,22 @@ public java.lang.String getDescendantsOfGroup() {
      * 
* * string descendants_of_group = 4 [(.google.api.resource_reference) = { ... } + * * @param value The descendantsOfGroup to set. * @return This builder for chaining. */ - public Builder setDescendantsOfGroup( - java.lang.String value) { + public Builder setDescendantsOfGroup(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - filterCase_ = 4; + throw new NullPointerException(); + } + filterCase_ = 4; filter_ = value; onChanged(); return this; } /** + * + * *
      * A group name. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1454,6 +1579,7 @@ public Builder setDescendantsOfGroup(
      * 
* * string descendants_of_group = 4 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearDescendantsOfGroup() { @@ -1465,6 +1591,8 @@ public Builder clearDescendantsOfGroup() { return this; } /** + * + * *
      * A group name. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -1474,28 +1602,31 @@ public Builder clearDescendantsOfGroup() {
      * 
* * string descendants_of_group = 4 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for descendantsOfGroup to set. * @return This builder for chaining. */ - public Builder setDescendantsOfGroupBytes( - com.google.protobuf.ByteString value) { + public Builder setDescendantsOfGroupBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); filterCase_ = 4; filter_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * A positive number that is the maximum number of results to return.
      * 
* * int32 page_size = 5; + * * @return The pageSize. */ @java.lang.Override @@ -1503,30 +1634,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * A positive number that is the maximum number of results to return.
      * 
* * 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; } /** + * + * *
      * A positive number that is the maximum number of results to return.
      * 
* * int32 page_size = 5; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1534,6 +1671,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * If this field is not empty then it must contain the `next_page_token` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1541,13 +1680,13 @@ public Builder clearPageSize() {
      * 
* * 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; @@ -1556,6 +1695,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If this field is not empty then it must contain the `next_page_token` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1563,15 +1704,14 @@ public java.lang.String getPageToken() {
      * 
* * 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 { @@ -1579,6 +1719,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If this field is not empty then it must contain the `next_page_token` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1586,20 +1728,22 @@ public java.lang.String getPageToken() {
      * 
* * 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; } /** + * + * *
      * If this field is not empty then it must contain the `next_page_token` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1607,15 +1751,18 @@ public Builder setPageToken(
      * 
* * string page_token = 6; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * If this field is not empty then it must contain the `next_page_token` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1623,23 +1770,23 @@ public Builder clearPageToken() {
      * 
* * 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; } + @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); } @@ -1649,12 +1796,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListGroupsRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListGroupsRequest) private static final com.google.monitoring.v3.ListGroupsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListGroupsRequest(); } @@ -1663,16 +1810,16 @@ public static com.google.monitoring.v3.ListGroupsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListGroupsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListGroupsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListGroupsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListGroupsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1687,6 +1834,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.ListGroupsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsRequestOrBuilder.java similarity index 81% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsRequestOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsRequestOrBuilder.java index 32059f7b..cd4f165b 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsRequestOrBuilder.java @@ -1,37 +1,64 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/group_service.proto package com.google.monitoring.v3; -public interface ListGroupsRequestOrBuilder extends +public interface ListGroupsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListGroupsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
    * whose groups are to be listed. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
    * whose groups are to be listed. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * A group name. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -40,10 +67,13 @@ public interface ListGroupsRequestOrBuilder extends
    * 
* * string children_of_group = 2 [(.google.api.resource_reference) = { ... } + * * @return Whether the childrenOfGroup field is set. */ boolean hasChildrenOfGroup(); /** + * + * *
    * A group name. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -52,10 +82,13 @@ public interface ListGroupsRequestOrBuilder extends
    * 
* * string children_of_group = 2 [(.google.api.resource_reference) = { ... } + * * @return The childrenOfGroup. */ java.lang.String getChildrenOfGroup(); /** + * + * *
    * A group name. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -64,12 +97,14 @@ public interface ListGroupsRequestOrBuilder extends
    * 
* * string children_of_group = 2 [(.google.api.resource_reference) = { ... } + * * @return The bytes for childrenOfGroup. */ - com.google.protobuf.ByteString - getChildrenOfGroupBytes(); + com.google.protobuf.ByteString getChildrenOfGroupBytes(); /** + * + * *
    * A group name. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -80,10 +115,13 @@ public interface ListGroupsRequestOrBuilder extends
    * 
* * string ancestors_of_group = 3 [(.google.api.resource_reference) = { ... } + * * @return Whether the ancestorsOfGroup field is set. */ boolean hasAncestorsOfGroup(); /** + * + * *
    * A group name. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -94,10 +132,13 @@ public interface ListGroupsRequestOrBuilder extends
    * 
* * string ancestors_of_group = 3 [(.google.api.resource_reference) = { ... } + * * @return The ancestorsOfGroup. */ java.lang.String getAncestorsOfGroup(); /** + * + * *
    * A group name. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -108,12 +149,14 @@ public interface ListGroupsRequestOrBuilder extends
    * 
* * string ancestors_of_group = 3 [(.google.api.resource_reference) = { ... } + * * @return The bytes for ancestorsOfGroup. */ - com.google.protobuf.ByteString - getAncestorsOfGroupBytes(); + com.google.protobuf.ByteString getAncestorsOfGroupBytes(); /** + * + * *
    * A group name. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -123,10 +166,13 @@ public interface ListGroupsRequestOrBuilder extends
    * 
* * string descendants_of_group = 4 [(.google.api.resource_reference) = { ... } + * * @return Whether the descendantsOfGroup field is set. */ boolean hasDescendantsOfGroup(); /** + * + * *
    * A group name. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -136,10 +182,13 @@ public interface ListGroupsRequestOrBuilder extends
    * 
* * string descendants_of_group = 4 [(.google.api.resource_reference) = { ... } + * * @return The descendantsOfGroup. */ java.lang.String getDescendantsOfGroup(); /** + * + * *
    * A group name. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
@@ -149,22 +198,27 @@ public interface ListGroupsRequestOrBuilder extends
    * 
* * string descendants_of_group = 4 [(.google.api.resource_reference) = { ... } + * * @return The bytes for descendantsOfGroup. */ - com.google.protobuf.ByteString - getDescendantsOfGroupBytes(); + com.google.protobuf.ByteString getDescendantsOfGroupBytes(); /** + * + * *
    * A positive number that is the maximum number of results to return.
    * 
* * int32 page_size = 5; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * If this field is not empty then it must contain the `next_page_token` value
    * returned by a previous call to this method.  Using this field causes the
@@ -172,10 +226,13 @@ public interface ListGroupsRequestOrBuilder extends
    * 
* * string page_token = 6; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * If this field is not empty then it must contain the `next_page_token` value
    * returned by a previous call to this method.  Using this field causes the
@@ -183,10 +240,10 @@ public interface ListGroupsRequestOrBuilder extends
    * 
* * string page_token = 6; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); public com.google.monitoring.v3.ListGroupsRequest.FilterCase getFilterCase(); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsResponse.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsResponse.java similarity index 74% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsResponse.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsResponse.java index 0a741326..3e0ddc0e 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsResponse.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/group_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `ListGroups` response.
  * 
* * Protobuf type {@code google.monitoring.v3.ListGroupsResponse} */ -public final class ListGroupsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListGroupsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListGroupsResponse) ListGroupsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListGroupsResponse.newBuilder() to construct. private ListGroupsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListGroupsResponse() { group_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListGroupsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListGroupsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListGroupsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,35 +72,36 @@ private ListGroupsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - group_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + group_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + group_.add( + input.readMessage(com.google.monitoring.v3.Group.parser(), extensionRegistry)); + break; } - group_.add( - input.readMessage(com.google.monitoring.v3.Group.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { group_ = java.util.Collections.unmodifiableList(group_); @@ -92,22 +110,27 @@ private ListGroupsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_ListGroupsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.GroupServiceProto + .internal_static_google_monitoring_v3_ListGroupsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_ListGroupsResponse_fieldAccessorTable + return com.google.monitoring.v3.GroupServiceProto + .internal_static_google_monitoring_v3_ListGroupsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListGroupsResponse.class, com.google.monitoring.v3.ListGroupsResponse.Builder.class); + com.google.monitoring.v3.ListGroupsResponse.class, + com.google.monitoring.v3.ListGroupsResponse.Builder.class); } public static final int GROUP_FIELD_NUMBER = 1; private java.util.List group_; /** + * + * *
    * The groups that match the specified filters.
    * 
@@ -119,6 +142,8 @@ public java.util.List getGroupList() { return group_; } /** + * + * *
    * The groups that match the specified filters.
    * 
@@ -126,11 +151,12 @@ public java.util.List getGroupList() { * repeated .google.monitoring.v3.Group group = 1; */ @java.lang.Override - public java.util.List - getGroupOrBuilderList() { + public java.util.List getGroupOrBuilderList() { return group_; } /** + * + * *
    * The groups that match the specified filters.
    * 
@@ -142,6 +168,8 @@ public int getGroupCount() { return group_.size(); } /** + * + * *
    * The groups that match the specified filters.
    * 
@@ -153,6 +181,8 @@ public com.google.monitoring.v3.Group getGroup(int index) { return group_.get(index); } /** + * + * *
    * The groups that match the specified filters.
    * 
@@ -160,14 +190,15 @@ public com.google.monitoring.v3.Group getGroup(int index) { * repeated .google.monitoring.v3.Group group = 1; */ @java.lang.Override - public com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder( - int index) { + public com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder(int index) { return group_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -175,6 +206,7 @@ public com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -183,14 +215,15 @@ 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; } } /** + * + * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -198,16 +231,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +248,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +260,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < group_.size(); i++) { output.writeMessage(1, group_.get(i)); } @@ -245,8 +277,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < group_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, group_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, group_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +290,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.ListGroupsResponse)) { return super.equals(obj); } - com.google.monitoring.v3.ListGroupsResponse other = (com.google.monitoring.v3.ListGroupsResponse) obj; + com.google.monitoring.v3.ListGroupsResponse other = + (com.google.monitoring.v3.ListGroupsResponse) obj; - if (!getGroupList() - .equals(other.getGroupList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getGroupList().equals(other.getGroupList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -292,118 +322,127 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.ListGroupsResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.ListGroupsResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListGroupsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListGroupsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListGroupsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListGroupsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListGroupsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListGroupsResponse 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.monitoring.v3.ListGroupsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListGroupsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ListGroupsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListGroupsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.ListGroupsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListGroupsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.ListGroupsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 `ListGroups` response.
    * 
* * Protobuf type {@code google.monitoring.v3.ListGroupsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListGroupsResponse) com.google.monitoring.v3.ListGroupsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_ListGroupsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.GroupServiceProto + .internal_static_google_monitoring_v3_ListGroupsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_ListGroupsResponse_fieldAccessorTable + return com.google.monitoring.v3.GroupServiceProto + .internal_static_google_monitoring_v3_ListGroupsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListGroupsResponse.class, com.google.monitoring.v3.ListGroupsResponse.Builder.class); + com.google.monitoring.v3.ListGroupsResponse.class, + com.google.monitoring.v3.ListGroupsResponse.Builder.class); } // Construct using com.google.monitoring.v3.ListGroupsResponse.newBuilder() @@ -411,17 +450,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getGroupFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +476,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_ListGroupsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.GroupServiceProto + .internal_static_google_monitoring_v3_ListGroupsResponse_descriptor; } @java.lang.Override @@ -458,7 +497,8 @@ public com.google.monitoring.v3.ListGroupsResponse build() { @java.lang.Override public com.google.monitoring.v3.ListGroupsResponse buildPartial() { - com.google.monitoring.v3.ListGroupsResponse result = new com.google.monitoring.v3.ListGroupsResponse(this); + com.google.monitoring.v3.ListGroupsResponse result = + new com.google.monitoring.v3.ListGroupsResponse(this); int from_bitField0_ = bitField0_; if (groupBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +518,39 @@ public com.google.monitoring.v3.ListGroupsResponse 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.monitoring.v3.ListGroupsResponse) { - return mergeFrom((com.google.monitoring.v3.ListGroupsResponse)other); + return mergeFrom((com.google.monitoring.v3.ListGroupsResponse) other); } else { super.mergeFrom(other); return this; @@ -536,9 +577,10 @@ public Builder mergeFrom(com.google.monitoring.v3.ListGroupsResponse other) { groupBuilder_ = null; group_ = other.group_; bitField0_ = (bitField0_ & ~0x00000001); - groupBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getGroupFieldBuilder() : null; + groupBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getGroupFieldBuilder() + : null; } else { groupBuilder_.addAllMessages(other.group_); } @@ -576,21 +618,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List group_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureGroupIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { group_ = new java.util.ArrayList(group_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.Group, com.google.monitoring.v3.Group.Builder, com.google.monitoring.v3.GroupOrBuilder> groupBuilder_; + com.google.monitoring.v3.Group, + com.google.monitoring.v3.Group.Builder, + com.google.monitoring.v3.GroupOrBuilder> + groupBuilder_; /** + * + * *
      * The groups that match the specified filters.
      * 
@@ -605,6 +654,8 @@ public java.util.List getGroupList() { } } /** + * + * *
      * The groups that match the specified filters.
      * 
@@ -619,6 +670,8 @@ public int getGroupCount() { } } /** + * + * *
      * The groups that match the specified filters.
      * 
@@ -633,14 +686,15 @@ public com.google.monitoring.v3.Group getGroup(int index) { } } /** + * + * *
      * The groups that match the specified filters.
      * 
* * repeated .google.monitoring.v3.Group group = 1; */ - public Builder setGroup( - int index, com.google.monitoring.v3.Group value) { + public Builder setGroup(int index, com.google.monitoring.v3.Group value) { if (groupBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,14 +708,15 @@ public Builder setGroup( return this; } /** + * + * *
      * The groups that match the specified filters.
      * 
* * repeated .google.monitoring.v3.Group group = 1; */ - public Builder setGroup( - int index, com.google.monitoring.v3.Group.Builder builderForValue) { + public Builder setGroup(int index, com.google.monitoring.v3.Group.Builder builderForValue) { if (groupBuilder_ == null) { ensureGroupIsMutable(); group_.set(index, builderForValue.build()); @@ -672,6 +727,8 @@ public Builder setGroup( return this; } /** + * + * *
      * The groups that match the specified filters.
      * 
@@ -692,14 +749,15 @@ public Builder addGroup(com.google.monitoring.v3.Group value) { return this; } /** + * + * *
      * The groups that match the specified filters.
      * 
* * repeated .google.monitoring.v3.Group group = 1; */ - public Builder addGroup( - int index, com.google.monitoring.v3.Group value) { + public Builder addGroup(int index, com.google.monitoring.v3.Group value) { if (groupBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,14 +771,15 @@ public Builder addGroup( return this; } /** + * + * *
      * The groups that match the specified filters.
      * 
* * repeated .google.monitoring.v3.Group group = 1; */ - public Builder addGroup( - com.google.monitoring.v3.Group.Builder builderForValue) { + public Builder addGroup(com.google.monitoring.v3.Group.Builder builderForValue) { if (groupBuilder_ == null) { ensureGroupIsMutable(); group_.add(builderForValue.build()); @@ -731,14 +790,15 @@ public Builder addGroup( return this; } /** + * + * *
      * The groups that match the specified filters.
      * 
* * repeated .google.monitoring.v3.Group group = 1; */ - public Builder addGroup( - int index, com.google.monitoring.v3.Group.Builder builderForValue) { + public Builder addGroup(int index, com.google.monitoring.v3.Group.Builder builderForValue) { if (groupBuilder_ == null) { ensureGroupIsMutable(); group_.add(index, builderForValue.build()); @@ -749,6 +809,8 @@ public Builder addGroup( return this; } /** + * + * *
      * The groups that match the specified filters.
      * 
@@ -759,8 +821,7 @@ public Builder addAllGroup( java.lang.Iterable values) { if (groupBuilder_ == null) { ensureGroupIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, group_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, group_); onChanged(); } else { groupBuilder_.addAllMessages(values); @@ -768,6 +829,8 @@ public Builder addAllGroup( return this; } /** + * + * *
      * The groups that match the specified filters.
      * 
@@ -785,6 +848,8 @@ public Builder clearGroup() { return this; } /** + * + * *
      * The groups that match the specified filters.
      * 
@@ -802,39 +867,44 @@ public Builder removeGroup(int index) { return this; } /** + * + * *
      * The groups that match the specified filters.
      * 
* * repeated .google.monitoring.v3.Group group = 1; */ - public com.google.monitoring.v3.Group.Builder getGroupBuilder( - int index) { + public com.google.monitoring.v3.Group.Builder getGroupBuilder(int index) { return getGroupFieldBuilder().getBuilder(index); } /** + * + * *
      * The groups that match the specified filters.
      * 
* * repeated .google.monitoring.v3.Group group = 1; */ - public com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder( - int index) { + public com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder(int index) { if (groupBuilder_ == null) { - return group_.get(index); } else { + return group_.get(index); + } else { return groupBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The groups that match the specified filters.
      * 
* * repeated .google.monitoring.v3.Group group = 1; */ - public java.util.List - getGroupOrBuilderList() { + public java.util.List + getGroupOrBuilderList() { if (groupBuilder_ != null) { return groupBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +912,8 @@ public com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder( } } /** + * + * *
      * The groups that match the specified filters.
      * 
@@ -849,42 +921,46 @@ public com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder( * repeated .google.monitoring.v3.Group group = 1; */ public com.google.monitoring.v3.Group.Builder addGroupBuilder() { - return getGroupFieldBuilder().addBuilder( - com.google.monitoring.v3.Group.getDefaultInstance()); + return getGroupFieldBuilder().addBuilder(com.google.monitoring.v3.Group.getDefaultInstance()); } /** + * + * *
      * The groups that match the specified filters.
      * 
* * repeated .google.monitoring.v3.Group group = 1; */ - public com.google.monitoring.v3.Group.Builder addGroupBuilder( - int index) { - return getGroupFieldBuilder().addBuilder( - index, com.google.monitoring.v3.Group.getDefaultInstance()); + public com.google.monitoring.v3.Group.Builder addGroupBuilder(int index) { + return getGroupFieldBuilder() + .addBuilder(index, com.google.monitoring.v3.Group.getDefaultInstance()); } /** + * + * *
      * The groups that match the specified filters.
      * 
* * repeated .google.monitoring.v3.Group group = 1; */ - public java.util.List - getGroupBuilderList() { + public java.util.List getGroupBuilderList() { return getGroupFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.Group, com.google.monitoring.v3.Group.Builder, com.google.monitoring.v3.GroupOrBuilder> + com.google.monitoring.v3.Group, + com.google.monitoring.v3.Group.Builder, + com.google.monitoring.v3.GroupOrBuilder> getGroupFieldBuilder() { if (groupBuilder_ == null) { - groupBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.Group, com.google.monitoring.v3.Group.Builder, com.google.monitoring.v3.GroupOrBuilder>( - group_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + groupBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.monitoring.v3.Group, + com.google.monitoring.v3.Group.Builder, + com.google.monitoring.v3.GroupOrBuilder>( + group_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); group_ = null; } return groupBuilder_; @@ -892,6 +968,8 @@ public com.google.monitoring.v3.Group.Builder addGroupBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -899,13 +977,13 @@ public com.google.monitoring.v3.Group.Builder addGroupBuilder(
      * 
* * 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; @@ -914,6 +992,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -921,15 +1001,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -937,6 +1016,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -944,20 +1025,22 @@ public java.lang.String getNextPageToken() {
      * 
* * 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; } /** + * + * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -965,15 +1048,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -981,23 +1067,23 @@ public Builder clearNextPageToken() {
      * 
* * 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); } @@ -1007,12 +1093,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListGroupsResponse) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListGroupsResponse) private static final com.google.monitoring.v3.ListGroupsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListGroupsResponse(); } @@ -1021,16 +1107,16 @@ public static com.google.monitoring.v3.ListGroupsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListGroupsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListGroupsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListGroupsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListGroupsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1045,6 +1131,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.ListGroupsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsResponseOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsResponseOrBuilder.java similarity index 66% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsResponseOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsResponseOrBuilder.java index c6f8c823..676f6826 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsResponseOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListGroupsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/group_service.proto package com.google.monitoring.v3; -public interface ListGroupsResponseOrBuilder extends +public interface ListGroupsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListGroupsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The groups that match the specified filters.
    * 
* * repeated .google.monitoring.v3.Group group = 1; */ - java.util.List - getGroupList(); + java.util.List getGroupList(); /** + * + * *
    * The groups that match the specified filters.
    * 
@@ -25,6 +44,8 @@ public interface ListGroupsResponseOrBuilder extends */ com.google.monitoring.v3.Group getGroup(int index); /** + * + * *
    * The groups that match the specified filters.
    * 
@@ -33,25 +54,29 @@ public interface ListGroupsResponseOrBuilder extends */ int getGroupCount(); /** + * + * *
    * The groups that match the specified filters.
    * 
* * repeated .google.monitoring.v3.Group group = 1; */ - java.util.List - getGroupOrBuilderList(); + java.util.List getGroupOrBuilderList(); /** + * + * *
    * The groups that match the specified filters.
    * 
* * repeated .google.monitoring.v3.Group group = 1; */ - com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder( - int index); + com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder(int index); /** + * + * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -59,10 +84,13 @@ com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -70,8 +98,8 @@ com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsRequest.java similarity index 72% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsRequest.java index a51ba099..5a4ff8ae 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `ListMetricDescriptors` request.
  * 
* * Protobuf type {@code google.monitoring.v3.ListMetricDescriptorsRequest} */ -public final class ListMetricDescriptorsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListMetricDescriptorsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListMetricDescriptorsRequest) ListMetricDescriptorsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListMetricDescriptorsRequest.newBuilder() to construct. private ListMetricDescriptorsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListMetricDescriptorsRequest() { name_ = ""; filter_ = ""; @@ -27,16 +45,15 @@ private ListMetricDescriptorsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListMetricDescriptorsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListMetricDescriptorsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,71 +72,81 @@ private ListMetricDescriptorsRequest( case 0: done = true; break; - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 24: { - - pageSize_ = input.readInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 24: + { + pageSize_ = input.readInt32(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListMetricDescriptorsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_ListMetricDescriptorsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListMetricDescriptorsRequest_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_ListMetricDescriptorsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListMetricDescriptorsRequest.class, com.google.monitoring.v3.ListMetricDescriptorsRequest.Builder.class); + com.google.monitoring.v3.ListMetricDescriptorsRequest.class, + com.google.monitoring.v3.ListMetricDescriptorsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 5; private volatile java.lang.Object name_; /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -128,31 +155,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -163,6 +192,8 @@ public java.lang.String getName() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** + * + * *
    * If this field is empty, all custom and
    * system-defined metric descriptors are returned.
@@ -174,6 +205,7 @@ public java.lang.String getName() {
    * 
* * string filter = 2; + * * @return The filter. */ @java.lang.Override @@ -182,14 +214,15 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * If this field is empty, all custom and
    * system-defined metric descriptors are returned.
@@ -201,16 +234,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2; + * * @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 { @@ -221,11 +253,14 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * A positive number that is the maximum number of results to return.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -236,6 +271,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** + * + * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -243,6 +280,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -251,14 +289,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -266,16 +305,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -284,6 +322,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -295,8 +334,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, filter_); } @@ -322,8 +360,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -339,21 +376,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.monitoring.v3.ListMetricDescriptorsRequest)) { return super.equals(obj); } - com.google.monitoring.v3.ListMetricDescriptorsRequest other = (com.google.monitoring.v3.ListMetricDescriptorsRequest) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + com.google.monitoring.v3.ListMetricDescriptorsRequest other = + (com.google.monitoring.v3.ListMetricDescriptorsRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -379,117 +413,127 @@ public int hashCode() { } public static com.google.monitoring.v3.ListMetricDescriptorsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListMetricDescriptorsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListMetricDescriptorsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListMetricDescriptorsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListMetricDescriptorsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListMetricDescriptorsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListMetricDescriptorsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ListMetricDescriptorsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListMetricDescriptorsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListMetricDescriptorsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ListMetricDescriptorsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListMetricDescriptorsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.ListMetricDescriptorsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListMetricDescriptorsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.ListMetricDescriptorsRequest prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.ListMetricDescriptorsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 `ListMetricDescriptors` request.
    * 
* * Protobuf type {@code google.monitoring.v3.ListMetricDescriptorsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListMetricDescriptorsRequest) com.google.monitoring.v3.ListMetricDescriptorsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListMetricDescriptorsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_ListMetricDescriptorsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListMetricDescriptorsRequest_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_ListMetricDescriptorsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListMetricDescriptorsRequest.class, com.google.monitoring.v3.ListMetricDescriptorsRequest.Builder.class); + com.google.monitoring.v3.ListMetricDescriptorsRequest.class, + com.google.monitoring.v3.ListMetricDescriptorsRequest.Builder.class); } // Construct using com.google.monitoring.v3.ListMetricDescriptorsRequest.newBuilder() @@ -497,16 +541,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -522,9 +565,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListMetricDescriptorsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_ListMetricDescriptorsRequest_descriptor; } @java.lang.Override @@ -543,7 +586,8 @@ public com.google.monitoring.v3.ListMetricDescriptorsRequest build() { @java.lang.Override public com.google.monitoring.v3.ListMetricDescriptorsRequest buildPartial() { - com.google.monitoring.v3.ListMetricDescriptorsRequest result = new com.google.monitoring.v3.ListMetricDescriptorsRequest(this); + com.google.monitoring.v3.ListMetricDescriptorsRequest result = + new com.google.monitoring.v3.ListMetricDescriptorsRequest(this); result.name_ = name_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -556,38 +600,39 @@ public com.google.monitoring.v3.ListMetricDescriptorsRequest 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.monitoring.v3.ListMetricDescriptorsRequest) { - return mergeFrom((com.google.monitoring.v3.ListMetricDescriptorsRequest)other); + return mergeFrom((com.google.monitoring.v3.ListMetricDescriptorsRequest) other); } else { super.mergeFrom(other); return this; @@ -595,7 +640,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.ListMetricDescriptorsRequest other) { - if (other == com.google.monitoring.v3.ListMetricDescriptorsRequest.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.ListMetricDescriptorsRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -630,7 +676,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.ListMetricDescriptorsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.ListMetricDescriptorsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -642,20 +689,24 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -664,22 +715,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -687,60 +741,73 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -748,6 +815,8 @@ public Builder setNameBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * If this field is empty, all custom and
      * system-defined metric descriptors are returned.
@@ -759,13 +828,13 @@ public Builder setNameBytes(
      * 
* * string filter = 2; + * * @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; @@ -774,6 +843,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * If this field is empty, all custom and
      * system-defined metric descriptors are returned.
@@ -785,15 +856,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; + * * @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 { @@ -801,6 +871,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * If this field is empty, all custom and
      * system-defined metric descriptors are returned.
@@ -812,20 +884,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * If this field is empty, all custom and
      * system-defined metric descriptors are returned.
@@ -837,15 +911,18 @@ public Builder setFilter(
      * 
* * string filter = 2; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * If this field is empty, all custom and
      * system-defined metric descriptors are returned.
@@ -857,28 +934,31 @@ public Builder clearFilter() {
      * 
* * string filter = 2; + * * @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; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * A positive number that is the maximum number of results to return.
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -886,30 +966,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * A positive number that is the maximum number of results to return.
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * A positive number that is the maximum number of results to return.
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -917,6 +1003,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -924,13 +1012,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -939,6 +1027,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -946,15 +1036,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -962,6 +1051,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -969,20 +1060,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -990,15 +1083,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1006,23 +1102,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1032,12 +1128,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListMetricDescriptorsRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListMetricDescriptorsRequest) private static final com.google.monitoring.v3.ListMetricDescriptorsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListMetricDescriptorsRequest(); } @@ -1046,16 +1142,16 @@ public static com.google.monitoring.v3.ListMetricDescriptorsRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMetricDescriptorsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListMetricDescriptorsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMetricDescriptorsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListMetricDescriptorsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1070,6 +1166,4 @@ public com.google.protobuf.Parser getParserForType public com.google.monitoring.v3.ListMetricDescriptorsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsRequestOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsRequestOrBuilder.java index 79e81e34..6d3705c1 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsRequestOrBuilder.java @@ -1,37 +1,64 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric_service.proto package com.google.monitoring.v3; -public interface ListMetricDescriptorsRequestOrBuilder extends +public interface ListMetricDescriptorsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListMetricDescriptorsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * If this field is empty, all custom and
    * system-defined metric descriptors are returned.
@@ -43,10 +70,13 @@ public interface ListMetricDescriptorsRequestOrBuilder extends
    * 
* * string filter = 2; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * If this field is empty, all custom and
    * system-defined metric descriptors are returned.
@@ -58,22 +88,27 @@ public interface ListMetricDescriptorsRequestOrBuilder extends
    * 
* * string filter = 2; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * A positive number that is the maximum number of results to return.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -81,10 +116,13 @@ public interface ListMetricDescriptorsRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -92,8 +130,8 @@ public interface ListMetricDescriptorsRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsResponse.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsResponse.java similarity index 75% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsResponse.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsResponse.java index a5a631c6..488f2b9b 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsResponse.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `ListMetricDescriptors` response.
  * 
* * Protobuf type {@code google.monitoring.v3.ListMetricDescriptorsResponse} */ -public final class ListMetricDescriptorsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListMetricDescriptorsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListMetricDescriptorsResponse) ListMetricDescriptorsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListMetricDescriptorsResponse.newBuilder() to construct. private ListMetricDescriptorsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListMetricDescriptorsResponse() { metricDescriptors_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListMetricDescriptorsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListMetricDescriptorsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListMetricDescriptorsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,35 +72,36 @@ private ListMetricDescriptorsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - metricDescriptors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + metricDescriptors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + metricDescriptors_.add( + input.readMessage(com.google.api.MetricDescriptor.parser(), extensionRegistry)); + break; } - metricDescriptors_.add( - input.readMessage(com.google.api.MetricDescriptor.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { metricDescriptors_ = java.util.Collections.unmodifiableList(metricDescriptors_); @@ -92,22 +110,27 @@ private ListMetricDescriptorsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListMetricDescriptorsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_ListMetricDescriptorsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListMetricDescriptorsResponse_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_ListMetricDescriptorsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListMetricDescriptorsResponse.class, com.google.monitoring.v3.ListMetricDescriptorsResponse.Builder.class); + com.google.monitoring.v3.ListMetricDescriptorsResponse.class, + com.google.monitoring.v3.ListMetricDescriptorsResponse.Builder.class); } public static final int METRIC_DESCRIPTORS_FIELD_NUMBER = 1; private java.util.List metricDescriptors_; /** + * + * *
    * The metric descriptors that are available to the project
    * and that match the value of `filter`, if present.
@@ -120,6 +143,8 @@ public java.util.List getMetricDescriptorsList(
     return metricDescriptors_;
   }
   /**
+   *
+   *
    * 
    * The metric descriptors that are available to the project
    * and that match the value of `filter`, if present.
@@ -128,11 +153,13 @@ public java.util.List getMetricDescriptorsList(
    * repeated .google.api.MetricDescriptor metric_descriptors = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getMetricDescriptorsOrBuilderList() {
     return metricDescriptors_;
   }
   /**
+   *
+   *
    * 
    * The metric descriptors that are available to the project
    * and that match the value of `filter`, if present.
@@ -145,6 +172,8 @@ public int getMetricDescriptorsCount() {
     return metricDescriptors_.size();
   }
   /**
+   *
+   *
    * 
    * The metric descriptors that are available to the project
    * and that match the value of `filter`, if present.
@@ -157,6 +186,8 @@ public com.google.api.MetricDescriptor getMetricDescriptors(int index) {
     return metricDescriptors_.get(index);
   }
   /**
+   *
+   *
    * 
    * The metric descriptors that are available to the project
    * and that match the value of `filter`, if present.
@@ -165,14 +196,15 @@ public com.google.api.MetricDescriptor getMetricDescriptors(int index) {
    * repeated .google.api.MetricDescriptor metric_descriptors = 1;
    */
   @java.lang.Override
-  public com.google.api.MetricDescriptorOrBuilder getMetricDescriptorsOrBuilder(
-      int index) {
+  public com.google.api.MetricDescriptorOrBuilder getMetricDescriptorsOrBuilder(int index) {
     return metricDescriptors_.get(index);
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
   private volatile java.lang.Object nextPageToken_;
   /**
+   *
+   *
    * 
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -180,6 +212,7 @@ public com.google.api.MetricDescriptorOrBuilder getMetricDescriptorsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -188,14 +221,15 @@ 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; } } /** + * + * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -203,16 +237,15 @@ public java.lang.String getNextPageToken() {
    * 
* * 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 { @@ -221,6 +254,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -232,8 +266,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < metricDescriptors_.size(); i++) { output.writeMessage(1, metricDescriptors_.get(i)); } @@ -250,8 +283,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < metricDescriptors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, metricDescriptors_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, metricDescriptors_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -264,17 +297,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.ListMetricDescriptorsResponse)) { return super.equals(obj); } - com.google.monitoring.v3.ListMetricDescriptorsResponse other = (com.google.monitoring.v3.ListMetricDescriptorsResponse) obj; + com.google.monitoring.v3.ListMetricDescriptorsResponse other = + (com.google.monitoring.v3.ListMetricDescriptorsResponse) obj; - if (!getMetricDescriptorsList() - .equals(other.getMetricDescriptorsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getMetricDescriptorsList().equals(other.getMetricDescriptorsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -298,117 +330,127 @@ public int hashCode() { } public static com.google.monitoring.v3.ListMetricDescriptorsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListMetricDescriptorsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListMetricDescriptorsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListMetricDescriptorsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListMetricDescriptorsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListMetricDescriptorsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListMetricDescriptorsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ListMetricDescriptorsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListMetricDescriptorsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListMetricDescriptorsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ListMetricDescriptorsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListMetricDescriptorsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.ListMetricDescriptorsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListMetricDescriptorsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.ListMetricDescriptorsResponse prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.ListMetricDescriptorsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 `ListMetricDescriptors` response.
    * 
* * Protobuf type {@code google.monitoring.v3.ListMetricDescriptorsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListMetricDescriptorsResponse) com.google.monitoring.v3.ListMetricDescriptorsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListMetricDescriptorsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_ListMetricDescriptorsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListMetricDescriptorsResponse_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_ListMetricDescriptorsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListMetricDescriptorsResponse.class, com.google.monitoring.v3.ListMetricDescriptorsResponse.Builder.class); + com.google.monitoring.v3.ListMetricDescriptorsResponse.class, + com.google.monitoring.v3.ListMetricDescriptorsResponse.Builder.class); } // Construct using com.google.monitoring.v3.ListMetricDescriptorsResponse.newBuilder() @@ -416,17 +458,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getMetricDescriptorsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -442,9 +484,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListMetricDescriptorsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_ListMetricDescriptorsResponse_descriptor; } @java.lang.Override @@ -463,7 +505,8 @@ public com.google.monitoring.v3.ListMetricDescriptorsResponse build() { @java.lang.Override public com.google.monitoring.v3.ListMetricDescriptorsResponse buildPartial() { - com.google.monitoring.v3.ListMetricDescriptorsResponse result = new com.google.monitoring.v3.ListMetricDescriptorsResponse(this); + com.google.monitoring.v3.ListMetricDescriptorsResponse result = + new com.google.monitoring.v3.ListMetricDescriptorsResponse(this); int from_bitField0_ = bitField0_; if (metricDescriptorsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -483,38 +526,39 @@ public com.google.monitoring.v3.ListMetricDescriptorsResponse 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.monitoring.v3.ListMetricDescriptorsResponse) { - return mergeFrom((com.google.monitoring.v3.ListMetricDescriptorsResponse)other); + return mergeFrom((com.google.monitoring.v3.ListMetricDescriptorsResponse) other); } else { super.mergeFrom(other); return this; @@ -522,7 +566,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.ListMetricDescriptorsResponse other) { - if (other == com.google.monitoring.v3.ListMetricDescriptorsResponse.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.ListMetricDescriptorsResponse.getDefaultInstance()) + return this; if (metricDescriptorsBuilder_ == null) { if (!other.metricDescriptors_.isEmpty()) { if (metricDescriptors_.isEmpty()) { @@ -541,9 +586,10 @@ public Builder mergeFrom(com.google.monitoring.v3.ListMetricDescriptorsResponse metricDescriptorsBuilder_ = null; metricDescriptors_ = other.metricDescriptors_; bitField0_ = (bitField0_ & ~0x00000001); - metricDescriptorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMetricDescriptorsFieldBuilder() : null; + metricDescriptorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMetricDescriptorsFieldBuilder() + : null; } else { metricDescriptorsBuilder_.addAllMessages(other.metricDescriptors_); } @@ -572,7 +618,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.ListMetricDescriptorsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.ListMetricDescriptorsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -581,21 +628,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List metricDescriptors_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureMetricDescriptorsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - metricDescriptors_ = new java.util.ArrayList(metricDescriptors_); + metricDescriptors_ = + new java.util.ArrayList(metricDescriptors_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.MetricDescriptor, com.google.api.MetricDescriptor.Builder, com.google.api.MetricDescriptorOrBuilder> metricDescriptorsBuilder_; + com.google.api.MetricDescriptor, + com.google.api.MetricDescriptor.Builder, + com.google.api.MetricDescriptorOrBuilder> + metricDescriptorsBuilder_; /** + * + * *
      * The metric descriptors that are available to the project
      * and that match the value of `filter`, if present.
@@ -611,6 +666,8 @@ public java.util.List getMetricDescriptorsList(
       }
     }
     /**
+     *
+     *
      * 
      * The metric descriptors that are available to the project
      * and that match the value of `filter`, if present.
@@ -626,6 +683,8 @@ public int getMetricDescriptorsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The metric descriptors that are available to the project
      * and that match the value of `filter`, if present.
@@ -641,6 +700,8 @@ public com.google.api.MetricDescriptor getMetricDescriptors(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The metric descriptors that are available to the project
      * and that match the value of `filter`, if present.
@@ -648,8 +709,7 @@ public com.google.api.MetricDescriptor getMetricDescriptors(int index) {
      *
      * repeated .google.api.MetricDescriptor metric_descriptors = 1;
      */
-    public Builder setMetricDescriptors(
-        int index, com.google.api.MetricDescriptor value) {
+    public Builder setMetricDescriptors(int index, com.google.api.MetricDescriptor value) {
       if (metricDescriptorsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -663,6 +723,8 @@ public Builder setMetricDescriptors(
       return this;
     }
     /**
+     *
+     *
      * 
      * The metric descriptors that are available to the project
      * and that match the value of `filter`, if present.
@@ -682,6 +744,8 @@ public Builder setMetricDescriptors(
       return this;
     }
     /**
+     *
+     *
      * 
      * The metric descriptors that are available to the project
      * and that match the value of `filter`, if present.
@@ -703,6 +767,8 @@ public Builder addMetricDescriptors(com.google.api.MetricDescriptor value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The metric descriptors that are available to the project
      * and that match the value of `filter`, if present.
@@ -710,8 +776,7 @@ public Builder addMetricDescriptors(com.google.api.MetricDescriptor value) {
      *
      * repeated .google.api.MetricDescriptor metric_descriptors = 1;
      */
-    public Builder addMetricDescriptors(
-        int index, com.google.api.MetricDescriptor value) {
+    public Builder addMetricDescriptors(int index, com.google.api.MetricDescriptor value) {
       if (metricDescriptorsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -725,6 +790,8 @@ public Builder addMetricDescriptors(
       return this;
     }
     /**
+     *
+     *
      * 
      * The metric descriptors that are available to the project
      * and that match the value of `filter`, if present.
@@ -732,8 +799,7 @@ public Builder addMetricDescriptors(
      *
      * repeated .google.api.MetricDescriptor metric_descriptors = 1;
      */
-    public Builder addMetricDescriptors(
-        com.google.api.MetricDescriptor.Builder builderForValue) {
+    public Builder addMetricDescriptors(com.google.api.MetricDescriptor.Builder builderForValue) {
       if (metricDescriptorsBuilder_ == null) {
         ensureMetricDescriptorsIsMutable();
         metricDescriptors_.add(builderForValue.build());
@@ -744,6 +810,8 @@ public Builder addMetricDescriptors(
       return this;
     }
     /**
+     *
+     *
      * 
      * The metric descriptors that are available to the project
      * and that match the value of `filter`, if present.
@@ -763,6 +831,8 @@ public Builder addMetricDescriptors(
       return this;
     }
     /**
+     *
+     *
      * 
      * The metric descriptors that are available to the project
      * and that match the value of `filter`, if present.
@@ -774,8 +844,7 @@ public Builder addAllMetricDescriptors(
         java.lang.Iterable values) {
       if (metricDescriptorsBuilder_ == null) {
         ensureMetricDescriptorsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, metricDescriptors_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metricDescriptors_);
         onChanged();
       } else {
         metricDescriptorsBuilder_.addAllMessages(values);
@@ -783,6 +852,8 @@ public Builder addAllMetricDescriptors(
       return this;
     }
     /**
+     *
+     *
      * 
      * The metric descriptors that are available to the project
      * and that match the value of `filter`, if present.
@@ -801,6 +872,8 @@ public Builder clearMetricDescriptors() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The metric descriptors that are available to the project
      * and that match the value of `filter`, if present.
@@ -819,6 +892,8 @@ public Builder removeMetricDescriptors(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The metric descriptors that are available to the project
      * and that match the value of `filter`, if present.
@@ -826,11 +901,12 @@ public Builder removeMetricDescriptors(int index) {
      *
      * repeated .google.api.MetricDescriptor metric_descriptors = 1;
      */
-    public com.google.api.MetricDescriptor.Builder getMetricDescriptorsBuilder(
-        int index) {
+    public com.google.api.MetricDescriptor.Builder getMetricDescriptorsBuilder(int index) {
       return getMetricDescriptorsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The metric descriptors that are available to the project
      * and that match the value of `filter`, if present.
@@ -838,14 +914,16 @@ public com.google.api.MetricDescriptor.Builder getMetricDescriptorsBuilder(
      *
      * repeated .google.api.MetricDescriptor metric_descriptors = 1;
      */
-    public com.google.api.MetricDescriptorOrBuilder getMetricDescriptorsOrBuilder(
-        int index) {
+    public com.google.api.MetricDescriptorOrBuilder getMetricDescriptorsOrBuilder(int index) {
       if (metricDescriptorsBuilder_ == null) {
-        return metricDescriptors_.get(index);  } else {
+        return metricDescriptors_.get(index);
+      } else {
         return metricDescriptorsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The metric descriptors that are available to the project
      * and that match the value of `filter`, if present.
@@ -853,8 +931,8 @@ public com.google.api.MetricDescriptorOrBuilder getMetricDescriptorsOrBuilder(
      *
      * repeated .google.api.MetricDescriptor metric_descriptors = 1;
      */
-    public java.util.List 
-         getMetricDescriptorsOrBuilderList() {
+    public java.util.List
+        getMetricDescriptorsOrBuilderList() {
       if (metricDescriptorsBuilder_ != null) {
         return metricDescriptorsBuilder_.getMessageOrBuilderList();
       } else {
@@ -862,6 +940,8 @@ public com.google.api.MetricDescriptorOrBuilder getMetricDescriptorsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The metric descriptors that are available to the project
      * and that match the value of `filter`, if present.
@@ -870,10 +950,12 @@ public com.google.api.MetricDescriptorOrBuilder getMetricDescriptorsOrBuilder(
      * repeated .google.api.MetricDescriptor metric_descriptors = 1;
      */
     public com.google.api.MetricDescriptor.Builder addMetricDescriptorsBuilder() {
-      return getMetricDescriptorsFieldBuilder().addBuilder(
-          com.google.api.MetricDescriptor.getDefaultInstance());
+      return getMetricDescriptorsFieldBuilder()
+          .addBuilder(com.google.api.MetricDescriptor.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The metric descriptors that are available to the project
      * and that match the value of `filter`, if present.
@@ -881,12 +963,13 @@ public com.google.api.MetricDescriptor.Builder addMetricDescriptorsBuilder() {
      *
      * repeated .google.api.MetricDescriptor metric_descriptors = 1;
      */
-    public com.google.api.MetricDescriptor.Builder addMetricDescriptorsBuilder(
-        int index) {
-      return getMetricDescriptorsFieldBuilder().addBuilder(
-          index, com.google.api.MetricDescriptor.getDefaultInstance());
+    public com.google.api.MetricDescriptor.Builder addMetricDescriptorsBuilder(int index) {
+      return getMetricDescriptorsFieldBuilder()
+          .addBuilder(index, com.google.api.MetricDescriptor.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The metric descriptors that are available to the project
      * and that match the value of `filter`, if present.
@@ -894,16 +977,22 @@ public com.google.api.MetricDescriptor.Builder addMetricDescriptorsBuilder(
      *
      * repeated .google.api.MetricDescriptor metric_descriptors = 1;
      */
-    public java.util.List 
-         getMetricDescriptorsBuilderList() {
+    public java.util.List
+        getMetricDescriptorsBuilderList() {
       return getMetricDescriptorsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.api.MetricDescriptor, com.google.api.MetricDescriptor.Builder, com.google.api.MetricDescriptorOrBuilder> 
+            com.google.api.MetricDescriptor,
+            com.google.api.MetricDescriptor.Builder,
+            com.google.api.MetricDescriptorOrBuilder>
         getMetricDescriptorsFieldBuilder() {
       if (metricDescriptorsBuilder_ == null) {
-        metricDescriptorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.api.MetricDescriptor, com.google.api.MetricDescriptor.Builder, com.google.api.MetricDescriptorOrBuilder>(
+        metricDescriptorsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.api.MetricDescriptor,
+                com.google.api.MetricDescriptor.Builder,
+                com.google.api.MetricDescriptorOrBuilder>(
                 metricDescriptors_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -915,6 +1004,8 @@ public com.google.api.MetricDescriptor.Builder addMetricDescriptorsBuilder(
 
     private java.lang.Object nextPageToken_ = "";
     /**
+     *
+     *
      * 
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -922,13 +1013,13 @@ public com.google.api.MetricDescriptor.Builder addMetricDescriptorsBuilder(
      * 
* * 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; @@ -937,6 +1028,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -944,15 +1037,14 @@ public java.lang.String getNextPageToken() {
      * 
* * 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 { @@ -960,6 +1052,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -967,20 +1061,22 @@ public java.lang.String getNextPageToken() {
      * 
* * 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; } /** + * + * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -988,15 +1084,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -1004,23 +1103,23 @@ public Builder clearNextPageToken() {
      * 
* * 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); } @@ -1030,12 +1129,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListMetricDescriptorsResponse) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListMetricDescriptorsResponse) private static final com.google.monitoring.v3.ListMetricDescriptorsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListMetricDescriptorsResponse(); } @@ -1044,16 +1143,16 @@ public static com.google.monitoring.v3.ListMetricDescriptorsResponse getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMetricDescriptorsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListMetricDescriptorsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMetricDescriptorsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListMetricDescriptorsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1068,6 +1167,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.monitoring.v3.ListMetricDescriptorsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsResponseOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsResponseOrBuilder.java similarity index 73% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsResponseOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsResponseOrBuilder.java index 9572d805..2803165f 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsResponseOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMetricDescriptorsResponseOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric_service.proto package com.google.monitoring.v3; -public interface ListMetricDescriptorsResponseOrBuilder extends +public interface ListMetricDescriptorsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListMetricDescriptorsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The metric descriptors that are available to the project
    * and that match the value of `filter`, if present.
@@ -15,9 +33,10 @@ public interface ListMetricDescriptorsResponseOrBuilder extends
    *
    * repeated .google.api.MetricDescriptor metric_descriptors = 1;
    */
-  java.util.List 
-      getMetricDescriptorsList();
+  java.util.List getMetricDescriptorsList();
   /**
+   *
+   *
    * 
    * The metric descriptors that are available to the project
    * and that match the value of `filter`, if present.
@@ -27,6 +46,8 @@ public interface ListMetricDescriptorsResponseOrBuilder extends
    */
   com.google.api.MetricDescriptor getMetricDescriptors(int index);
   /**
+   *
+   *
    * 
    * The metric descriptors that are available to the project
    * and that match the value of `filter`, if present.
@@ -36,6 +57,8 @@ public interface ListMetricDescriptorsResponseOrBuilder extends
    */
   int getMetricDescriptorsCount();
   /**
+   *
+   *
    * 
    * The metric descriptors that are available to the project
    * and that match the value of `filter`, if present.
@@ -43,9 +66,11 @@ public interface ListMetricDescriptorsResponseOrBuilder extends
    *
    * repeated .google.api.MetricDescriptor metric_descriptors = 1;
    */
-  java.util.List 
+  java.util.List
       getMetricDescriptorsOrBuilderList();
   /**
+   *
+   *
    * 
    * The metric descriptors that are available to the project
    * and that match the value of `filter`, if present.
@@ -53,10 +78,11 @@ public interface ListMetricDescriptorsResponseOrBuilder extends
    *
    * repeated .google.api.MetricDescriptor metric_descriptors = 1;
    */
-  com.google.api.MetricDescriptorOrBuilder getMetricDescriptorsOrBuilder(
-      int index);
+  com.google.api.MetricDescriptorOrBuilder getMetricDescriptorsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -64,10 +90,13 @@ com.google.api.MetricDescriptorOrBuilder getMetricDescriptorsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -75,8 +104,8 @@ com.google.api.MetricDescriptorOrBuilder getMetricDescriptorsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsRequest.java similarity index 70% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsRequest.java index afb17309..ea38baba 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsRequest.java @@ -1,24 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `ListMonitoredResourceDescriptors` request.
  * 
* * Protobuf type {@code google.monitoring.v3.ListMonitoredResourceDescriptorsRequest} */ -public final class ListMonitoredResourceDescriptorsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListMonitoredResourceDescriptorsRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListMonitoredResourceDescriptorsRequest) ListMonitoredResourceDescriptorsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListMonitoredResourceDescriptorsRequest.newBuilder() to construct. - private ListMonitoredResourceDescriptorsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListMonitoredResourceDescriptorsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListMonitoredResourceDescriptorsRequest() { name_ = ""; filter_ = ""; @@ -27,16 +47,15 @@ private ListMonitoredResourceDescriptorsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListMonitoredResourceDescriptorsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListMonitoredResourceDescriptorsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,71 +74,81 @@ private ListMonitoredResourceDescriptorsRequest( case 0: done = true; break; - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - filter_ = s; - break; - } - case 24: { + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 24: + { + pageSize_ = input.readInt32(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsRequest_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest.class, com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest.Builder.class); + com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest.class, + com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 5; private volatile java.lang.Object name_; /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -128,31 +157,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -163,6 +194,8 @@ public java.lang.String getName() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** + * + * *
    * An optional [filter](https://cloud.google.com/monitoring/api/v3/filters)
    * describing the descriptors to be returned.  The filter can reference the
@@ -172,6 +205,7 @@ public java.lang.String getName() {
    * 
* * string filter = 2; + * * @return The filter. */ @java.lang.Override @@ -180,14 +214,15 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * An optional [filter](https://cloud.google.com/monitoring/api/v3/filters)
    * describing the descriptors to be returned.  The filter can reference the
@@ -197,16 +232,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2; + * * @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 { @@ -217,11 +251,14 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * A positive number that is the maximum number of results to return.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -232,6 +269,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** + * + * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -239,6 +278,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -247,14 +287,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -262,16 +303,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -280,6 +320,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -291,8 +332,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, filter_); } @@ -318,8 +358,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -335,21 +374,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.monitoring.v3.ListMonitoredResourceDescriptorsRequest)) { return super.equals(obj); } - com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest other = (com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest other = + (com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -375,117 +411,127 @@ public int hashCode() { } public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 `ListMonitoredResourceDescriptors` request.
    * 
* * Protobuf type {@code google.monitoring.v3.ListMonitoredResourceDescriptorsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListMonitoredResourceDescriptorsRequest) com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsRequest_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest.class, com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest.Builder.class); + com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest.class, + com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest.Builder.class); } // Construct using com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest.newBuilder() @@ -493,16 +539,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -518,13 +563,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsRequest_descriptor; } @java.lang.Override - public com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest getDefaultInstanceForType() { + public com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest + getDefaultInstanceForType() { return com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest.getDefaultInstance(); } @@ -539,7 +585,8 @@ public com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest build() @java.lang.Override public com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest buildPartial() { - com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest result = new com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest(this); + com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest result = + new com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest(this); result.name_ = name_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -552,46 +599,50 @@ public com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest 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.monitoring.v3.ListMonitoredResourceDescriptorsRequest) { - return mergeFrom((com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest)other); + return mergeFrom((com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest other) { - if (other == com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest other) { + if (other + == com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -626,7 +677,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -638,20 +691,24 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -660,22 +717,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -683,60 +743,73 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -744,6 +817,8 @@ public Builder setNameBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * An optional [filter](https://cloud.google.com/monitoring/api/v3/filters)
      * describing the descriptors to be returned.  The filter can reference the
@@ -753,13 +828,13 @@ public Builder setNameBytes(
      * 
* * string filter = 2; + * * @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; @@ -768,6 +843,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An optional [filter](https://cloud.google.com/monitoring/api/v3/filters)
      * describing the descriptors to be returned.  The filter can reference the
@@ -777,15 +854,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; + * * @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 { @@ -793,6 +869,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An optional [filter](https://cloud.google.com/monitoring/api/v3/filters)
      * describing the descriptors to be returned.  The filter can reference the
@@ -802,20 +880,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; + * * @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; } /** + * + * *
      * An optional [filter](https://cloud.google.com/monitoring/api/v3/filters)
      * describing the descriptors to be returned.  The filter can reference the
@@ -825,15 +905,18 @@ public Builder setFilter(
      * 
* * string filter = 2; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * An optional [filter](https://cloud.google.com/monitoring/api/v3/filters)
      * describing the descriptors to be returned.  The filter can reference the
@@ -843,28 +926,31 @@ public Builder clearFilter() {
      * 
* * string filter = 2; + * * @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; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * A positive number that is the maximum number of results to return.
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -872,30 +958,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * A positive number that is the maximum number of results to return.
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * A positive number that is the maximum number of results to return.
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -903,6 +995,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -910,13 +1004,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -925,6 +1019,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -932,15 +1028,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -948,6 +1043,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -955,20 +1052,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -976,15 +1075,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -992,23 +1094,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1018,30 +1120,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListMonitoredResourceDescriptorsRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListMonitoredResourceDescriptorsRequest) - private static final com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest DEFAULT_INSTANCE; + private static final com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest(); } - public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest getDefaultInstance() { + public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMonitoredResourceDescriptorsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListMonitoredResourceDescriptorsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMonitoredResourceDescriptorsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListMonitoredResourceDescriptorsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1053,9 +1157,8 @@ public com.google.protobuf.Parser getPa } @java.lang.Override - public com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest getDefaultInstanceForType() { + public com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsRequestOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsRequestOrBuilder.java index ab9721fe..fb75abe4 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsRequestOrBuilder.java @@ -1,37 +1,64 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric_service.proto package com.google.monitoring.v3; -public interface ListMonitoredResourceDescriptorsRequestOrBuilder extends +public interface ListMonitoredResourceDescriptorsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListMonitoredResourceDescriptorsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * An optional [filter](https://cloud.google.com/monitoring/api/v3/filters)
    * describing the descriptors to be returned.  The filter can reference the
@@ -41,10 +68,13 @@ public interface ListMonitoredResourceDescriptorsRequestOrBuilder extends
    * 
* * string filter = 2; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * An optional [filter](https://cloud.google.com/monitoring/api/v3/filters)
    * describing the descriptors to be returned.  The filter can reference the
@@ -54,22 +84,27 @@ public interface ListMonitoredResourceDescriptorsRequestOrBuilder extends
    * 
* * string filter = 2; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * A positive number that is the maximum number of results to return.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -77,10 +112,13 @@ public interface ListMonitoredResourceDescriptorsRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -88,8 +126,8 @@ public interface ListMonitoredResourceDescriptorsRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsResponse.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsResponse.java similarity index 74% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsResponse.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsResponse.java index 1d180e14..9e870872 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsResponse.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsResponse.java @@ -1,24 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `ListMonitoredResourceDescriptors` response.
  * 
* * Protobuf type {@code google.monitoring.v3.ListMonitoredResourceDescriptorsResponse} */ -public final class ListMonitoredResourceDescriptorsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListMonitoredResourceDescriptorsResponse + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListMonitoredResourceDescriptorsResponse) ListMonitoredResourceDescriptorsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListMonitoredResourceDescriptorsResponse.newBuilder() to construct. - private ListMonitoredResourceDescriptorsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListMonitoredResourceDescriptorsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListMonitoredResourceDescriptorsResponse() { resourceDescriptors_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +46,15 @@ private ListMonitoredResourceDescriptorsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListMonitoredResourceDescriptorsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListMonitoredResourceDescriptorsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,35 +74,38 @@ private ListMonitoredResourceDescriptorsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - resourceDescriptors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + resourceDescriptors_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + resourceDescriptors_.add( + input.readMessage( + com.google.api.MonitoredResourceDescriptor.parser(), extensionRegistry)); + break; } - resourceDescriptors_.add( - input.readMessage(com.google.api.MonitoredResourceDescriptor.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { resourceDescriptors_ = java.util.Collections.unmodifiableList(resourceDescriptors_); @@ -92,22 +114,27 @@ private ListMonitoredResourceDescriptorsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsResponse_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse.class, com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse.Builder.class); + com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse.class, + com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse.Builder.class); } public static final int RESOURCE_DESCRIPTORS_FIELD_NUMBER = 1; private java.util.List resourceDescriptors_; /** + * + * *
    * The monitored resource descriptors that are available to this project
    * and that match `filter`, if present.
@@ -120,6 +147,8 @@ public java.util.List getResourceDes
     return resourceDescriptors_;
   }
   /**
+   *
+   *
    * 
    * The monitored resource descriptors that are available to this project
    * and that match `filter`, if present.
@@ -128,11 +157,13 @@ public java.util.List getResourceDes
    * repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getResourceDescriptorsOrBuilderList() {
     return resourceDescriptors_;
   }
   /**
+   *
+   *
    * 
    * The monitored resource descriptors that are available to this project
    * and that match `filter`, if present.
@@ -145,6 +176,8 @@ public int getResourceDescriptorsCount() {
     return resourceDescriptors_.size();
   }
   /**
+   *
+   *
    * 
    * The monitored resource descriptors that are available to this project
    * and that match `filter`, if present.
@@ -157,6 +190,8 @@ public com.google.api.MonitoredResourceDescriptor getResourceDescriptors(int ind
     return resourceDescriptors_.get(index);
   }
   /**
+   *
+   *
    * 
    * The monitored resource descriptors that are available to this project
    * and that match `filter`, if present.
@@ -173,6 +208,8 @@ public com.google.api.MonitoredResourceDescriptorOrBuilder getResourceDescriptor
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
   private volatile java.lang.Object nextPageToken_;
   /**
+   *
+   *
    * 
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -180,6 +217,7 @@ public com.google.api.MonitoredResourceDescriptorOrBuilder getResourceDescriptor
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -188,14 +226,15 @@ 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; } } /** + * + * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -203,16 +242,15 @@ public java.lang.String getNextPageToken() {
    * 
* * 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 { @@ -221,6 +259,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -232,8 +271,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < resourceDescriptors_.size(); i++) { output.writeMessage(1, resourceDescriptors_.get(i)); } @@ -250,8 +288,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < resourceDescriptors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, resourceDescriptors_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, resourceDescriptors_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -264,17 +302,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse)) { return super.equals(obj); } - com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse other = (com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse) obj; + com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse other = + (com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse) obj; - if (!getResourceDescriptorsList() - .equals(other.getResourceDescriptorsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getResourceDescriptorsList().equals(other.getResourceDescriptorsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -298,135 +335,147 @@ public int hashCode() { } public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 `ListMonitoredResourceDescriptors` response.
    * 
* * Protobuf type {@code google.monitoring.v3.ListMonitoredResourceDescriptorsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListMonitoredResourceDescriptorsResponse) com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsResponse_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse.class, com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse.Builder.class); + com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse.class, + com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse.Builder.class); } - // Construct using com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse.newBuilder() + // Construct using + // com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getResourceDescriptorsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -442,13 +491,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsResponse_descriptor; } @java.lang.Override - public com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse getDefaultInstanceForType() { + public com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse + getDefaultInstanceForType() { return com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse.getDefaultInstance(); } @@ -463,7 +513,8 @@ public com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse build() @java.lang.Override public com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse buildPartial() { - com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse result = new com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse(this); + com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse result = + new com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse(this); int from_bitField0_ = bitField0_; if (resourceDescriptorsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -483,46 +534,50 @@ public com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse) { - return mergeFrom((com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse)other); + return mergeFrom((com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse other) { - if (other == com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse other) { + if (other + == com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse.getDefaultInstance()) + return this; if (resourceDescriptorsBuilder_ == null) { if (!other.resourceDescriptors_.isEmpty()) { if (resourceDescriptors_.isEmpty()) { @@ -541,9 +596,10 @@ public Builder mergeFrom(com.google.monitoring.v3.ListMonitoredResourceDescripto resourceDescriptorsBuilder_ = null; resourceDescriptors_ = other.resourceDescriptors_; bitField0_ = (bitField0_ & ~0x00000001); - resourceDescriptorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getResourceDescriptorsFieldBuilder() : null; + resourceDescriptorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getResourceDescriptorsFieldBuilder() + : null; } else { resourceDescriptorsBuilder_.addAllMessages(other.resourceDescriptors_); } @@ -572,7 +628,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -581,21 +639,30 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List resourceDescriptors_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureResourceDescriptorsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - resourceDescriptors_ = new java.util.ArrayList(resourceDescriptors_); + resourceDescriptors_ = + new java.util.ArrayList( + resourceDescriptors_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.MonitoredResourceDescriptor, com.google.api.MonitoredResourceDescriptor.Builder, com.google.api.MonitoredResourceDescriptorOrBuilder> resourceDescriptorsBuilder_; + com.google.api.MonitoredResourceDescriptor, + com.google.api.MonitoredResourceDescriptor.Builder, + com.google.api.MonitoredResourceDescriptorOrBuilder> + resourceDescriptorsBuilder_; /** + * + * *
      * The monitored resource descriptors that are available to this project
      * and that match `filter`, if present.
@@ -611,6 +678,8 @@ public java.util.List getResourceDes
       }
     }
     /**
+     *
+     *
      * 
      * The monitored resource descriptors that are available to this project
      * and that match `filter`, if present.
@@ -626,6 +695,8 @@ public int getResourceDescriptorsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The monitored resource descriptors that are available to this project
      * and that match `filter`, if present.
@@ -641,6 +712,8 @@ public com.google.api.MonitoredResourceDescriptor getResourceDescriptors(int ind
       }
     }
     /**
+     *
+     *
      * 
      * The monitored resource descriptors that are available to this project
      * and that match `filter`, if present.
@@ -663,6 +736,8 @@ public Builder setResourceDescriptors(
       return this;
     }
     /**
+     *
+     *
      * 
      * The monitored resource descriptors that are available to this project
      * and that match `filter`, if present.
@@ -682,6 +757,8 @@ public Builder setResourceDescriptors(
       return this;
     }
     /**
+     *
+     *
      * 
      * The monitored resource descriptors that are available to this project
      * and that match `filter`, if present.
@@ -703,6 +780,8 @@ public Builder addResourceDescriptors(com.google.api.MonitoredResourceDescriptor
       return this;
     }
     /**
+     *
+     *
      * 
      * The monitored resource descriptors that are available to this project
      * and that match `filter`, if present.
@@ -725,6 +804,8 @@ public Builder addResourceDescriptors(
       return this;
     }
     /**
+     *
+     *
      * 
      * The monitored resource descriptors that are available to this project
      * and that match `filter`, if present.
@@ -744,6 +825,8 @@ public Builder addResourceDescriptors(
       return this;
     }
     /**
+     *
+     *
      * 
      * The monitored resource descriptors that are available to this project
      * and that match `filter`, if present.
@@ -763,6 +846,8 @@ public Builder addResourceDescriptors(
       return this;
     }
     /**
+     *
+     *
      * 
      * The monitored resource descriptors that are available to this project
      * and that match `filter`, if present.
@@ -774,8 +859,7 @@ public Builder addAllResourceDescriptors(
         java.lang.Iterable values) {
       if (resourceDescriptorsBuilder_ == null) {
         ensureResourceDescriptorsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, resourceDescriptors_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resourceDescriptors_);
         onChanged();
       } else {
         resourceDescriptorsBuilder_.addAllMessages(values);
@@ -783,6 +867,8 @@ public Builder addAllResourceDescriptors(
       return this;
     }
     /**
+     *
+     *
      * 
      * The monitored resource descriptors that are available to this project
      * and that match `filter`, if present.
@@ -801,6 +887,8 @@ public Builder clearResourceDescriptors() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The monitored resource descriptors that are available to this project
      * and that match `filter`, if present.
@@ -819,6 +907,8 @@ public Builder removeResourceDescriptors(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The monitored resource descriptors that are available to this project
      * and that match `filter`, if present.
@@ -831,6 +921,8 @@ public com.google.api.MonitoredResourceDescriptor.Builder getResourceDescriptors
       return getResourceDescriptorsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The monitored resource descriptors that are available to this project
      * and that match `filter`, if present.
@@ -841,11 +933,14 @@ public com.google.api.MonitoredResourceDescriptor.Builder getResourceDescriptors
     public com.google.api.MonitoredResourceDescriptorOrBuilder getResourceDescriptorsOrBuilder(
         int index) {
       if (resourceDescriptorsBuilder_ == null) {
-        return resourceDescriptors_.get(index);  } else {
+        return resourceDescriptors_.get(index);
+      } else {
         return resourceDescriptorsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The monitored resource descriptors that are available to this project
      * and that match `filter`, if present.
@@ -853,8 +948,8 @@ public com.google.api.MonitoredResourceDescriptorOrBuilder getResourceDescriptor
      *
      * repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;
      */
-    public java.util.List 
-         getResourceDescriptorsOrBuilderList() {
+    public java.util.List
+        getResourceDescriptorsOrBuilderList() {
       if (resourceDescriptorsBuilder_ != null) {
         return resourceDescriptorsBuilder_.getMessageOrBuilderList();
       } else {
@@ -862,6 +957,8 @@ public com.google.api.MonitoredResourceDescriptorOrBuilder getResourceDescriptor
       }
     }
     /**
+     *
+     *
      * 
      * The monitored resource descriptors that are available to this project
      * and that match `filter`, if present.
@@ -870,10 +967,12 @@ public com.google.api.MonitoredResourceDescriptorOrBuilder getResourceDescriptor
      * repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;
      */
     public com.google.api.MonitoredResourceDescriptor.Builder addResourceDescriptorsBuilder() {
-      return getResourceDescriptorsFieldBuilder().addBuilder(
-          com.google.api.MonitoredResourceDescriptor.getDefaultInstance());
+      return getResourceDescriptorsFieldBuilder()
+          .addBuilder(com.google.api.MonitoredResourceDescriptor.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The monitored resource descriptors that are available to this project
      * and that match `filter`, if present.
@@ -883,10 +982,12 @@ public com.google.api.MonitoredResourceDescriptor.Builder addResourceDescriptors
      */
     public com.google.api.MonitoredResourceDescriptor.Builder addResourceDescriptorsBuilder(
         int index) {
-      return getResourceDescriptorsFieldBuilder().addBuilder(
-          index, com.google.api.MonitoredResourceDescriptor.getDefaultInstance());
+      return getResourceDescriptorsFieldBuilder()
+          .addBuilder(index, com.google.api.MonitoredResourceDescriptor.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The monitored resource descriptors that are available to this project
      * and that match `filter`, if present.
@@ -894,16 +995,22 @@ public com.google.api.MonitoredResourceDescriptor.Builder addResourceDescriptors
      *
      * repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;
      */
-    public java.util.List 
-         getResourceDescriptorsBuilderList() {
+    public java.util.List
+        getResourceDescriptorsBuilderList() {
       return getResourceDescriptorsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.api.MonitoredResourceDescriptor, com.google.api.MonitoredResourceDescriptor.Builder, com.google.api.MonitoredResourceDescriptorOrBuilder> 
+            com.google.api.MonitoredResourceDescriptor,
+            com.google.api.MonitoredResourceDescriptor.Builder,
+            com.google.api.MonitoredResourceDescriptorOrBuilder>
         getResourceDescriptorsFieldBuilder() {
       if (resourceDescriptorsBuilder_ == null) {
-        resourceDescriptorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.api.MonitoredResourceDescriptor, com.google.api.MonitoredResourceDescriptor.Builder, com.google.api.MonitoredResourceDescriptorOrBuilder>(
+        resourceDescriptorsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.api.MonitoredResourceDescriptor,
+                com.google.api.MonitoredResourceDescriptor.Builder,
+                com.google.api.MonitoredResourceDescriptorOrBuilder>(
                 resourceDescriptors_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -915,6 +1022,8 @@ public com.google.api.MonitoredResourceDescriptor.Builder addResourceDescriptors
 
     private java.lang.Object nextPageToken_ = "";
     /**
+     *
+     *
      * 
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -922,13 +1031,13 @@ public com.google.api.MonitoredResourceDescriptor.Builder addResourceDescriptors
      * 
* * 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; @@ -937,6 +1046,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -944,15 +1055,14 @@ public java.lang.String getNextPageToken() {
      * 
* * 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 { @@ -960,6 +1070,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -967,20 +1079,22 @@ public java.lang.String getNextPageToken() {
      * 
* * 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; } /** + * + * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -988,15 +1102,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -1004,23 +1121,23 @@ public Builder clearNextPageToken() {
      * 
* * 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); } @@ -1030,30 +1147,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListMonitoredResourceDescriptorsResponse) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListMonitoredResourceDescriptorsResponse) - private static final com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse DEFAULT_INSTANCE; + private static final com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse(); } - public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse getDefaultInstance() { + public static com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListMonitoredResourceDescriptorsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListMonitoredResourceDescriptorsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListMonitoredResourceDescriptorsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListMonitoredResourceDescriptorsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1065,9 +1184,8 @@ public com.google.protobuf.Parser getP } @java.lang.Override - public com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse getDefaultInstanceForType() { + public com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsResponseOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsResponseOrBuilder.java similarity index 74% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsResponseOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsResponseOrBuilder.java index 09db6c95..b283ee75 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsResponseOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListMonitoredResourceDescriptorsResponseOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric_service.proto package com.google.monitoring.v3; -public interface ListMonitoredResourceDescriptorsResponseOrBuilder extends +public interface ListMonitoredResourceDescriptorsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListMonitoredResourceDescriptorsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The monitored resource descriptors that are available to this project
    * and that match `filter`, if present.
@@ -15,9 +33,10 @@ public interface ListMonitoredResourceDescriptorsResponseOrBuilder extends
    *
    * repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;
    */
-  java.util.List 
-      getResourceDescriptorsList();
+  java.util.List getResourceDescriptorsList();
   /**
+   *
+   *
    * 
    * The monitored resource descriptors that are available to this project
    * and that match `filter`, if present.
@@ -27,6 +46,8 @@ public interface ListMonitoredResourceDescriptorsResponseOrBuilder extends
    */
   com.google.api.MonitoredResourceDescriptor getResourceDescriptors(int index);
   /**
+   *
+   *
    * 
    * The monitored resource descriptors that are available to this project
    * and that match `filter`, if present.
@@ -36,6 +57,8 @@ public interface ListMonitoredResourceDescriptorsResponseOrBuilder extends
    */
   int getResourceDescriptorsCount();
   /**
+   *
+   *
    * 
    * The monitored resource descriptors that are available to this project
    * and that match `filter`, if present.
@@ -43,9 +66,11 @@ public interface ListMonitoredResourceDescriptorsResponseOrBuilder extends
    *
    * repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;
    */
-  java.util.List 
+  java.util.List
       getResourceDescriptorsOrBuilderList();
   /**
+   *
+   *
    * 
    * The monitored resource descriptors that are available to this project
    * and that match `filter`, if present.
@@ -53,10 +78,11 @@ public interface ListMonitoredResourceDescriptorsResponseOrBuilder extends
    *
    * repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;
    */
-  com.google.api.MonitoredResourceDescriptorOrBuilder getResourceDescriptorsOrBuilder(
-      int index);
+  com.google.api.MonitoredResourceDescriptorOrBuilder getResourceDescriptorsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -64,10 +90,13 @@ com.google.api.MonitoredResourceDescriptorOrBuilder getResourceDescriptorsOrBuil
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -75,8 +104,8 @@ com.google.api.MonitoredResourceDescriptorOrBuilder getResourceDescriptorsOrBuil
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsRequest.java similarity index 68% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsRequest.java index 554c4842..f7a700ff 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsRequest.java @@ -1,24 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/notification_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `ListNotificationChannelDescriptors` request.
  * 
* * Protobuf type {@code google.monitoring.v3.ListNotificationChannelDescriptorsRequest} */ -public final class ListNotificationChannelDescriptorsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListNotificationChannelDescriptorsRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListNotificationChannelDescriptorsRequest) ListNotificationChannelDescriptorsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListNotificationChannelDescriptorsRequest.newBuilder() to construct. - private ListNotificationChannelDescriptorsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListNotificationChannelDescriptorsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListNotificationChannelDescriptorsRequest() { name_ = ""; pageToken_ = ""; @@ -26,16 +46,15 @@ private ListNotificationChannelDescriptorsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListNotificationChannelDescriptorsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListNotificationChannelDescriptorsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,58 +73,64 @@ private ListNotificationChannelDescriptorsRequest( case 0: done = true; break; - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsRequest_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest.class, com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest.Builder.class); + com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest.class, + com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 4; private volatile java.lang.Object name_; /** + * + * *
    * Required. The REST resource name of the parent from which to retrieve
    * the notification channel descriptors. The expected syntax is:
@@ -118,7 +143,10 @@ private ListNotificationChannelDescriptorsRequest(
    * operation, instead.
    * 
* - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -127,14 +155,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The REST resource name of the parent from which to retrieve
    * the notification channel descriptors. The expected syntax is:
@@ -147,17 +176,18 @@ public java.lang.String getName() {
    * operation, instead.
    * 
* - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -168,6 +198,8 @@ public java.lang.String getName() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of results to return in a single response. If
    * not set to a positive number, a reasonable value will be chosen by the
@@ -175,6 +207,7 @@ public java.lang.String getName() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -185,6 +218,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * If non-empty, `page_token` must contain a value returned as the
    * `next_page_token` in a previous response to request the next set
@@ -192,6 +227,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -200,14 +236,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * If non-empty, `page_token` must contain a value returned as the
    * `next_page_token` in a previous response to request the next set
@@ -215,16 +252,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -233,6 +269,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,8 +281,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (pageSize_ != 0) { output.writeInt32(2, pageSize_); } @@ -265,8 +301,7 @@ public int getSerializedSize() { size = 0; if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -282,19 +317,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.monitoring.v3.ListNotificationChannelDescriptorsRequest)) { return super.equals(obj); } - com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest other = (com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest) obj; + com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest other = + (com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getName().equals(other.getName())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -318,134 +351,145 @@ public int hashCode() { } public static com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 `ListNotificationChannelDescriptors` request.
    * 
* * Protobuf type {@code google.monitoring.v3.ListNotificationChannelDescriptorsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListNotificationChannelDescriptorsRequest) com.google.monitoring.v3.ListNotificationChannelDescriptorsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsRequest_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest.class, com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest.Builder.class); + com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest.class, + com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest.Builder.class); } - // Construct using com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest.newBuilder() + // Construct using + // com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -459,14 +503,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsRequest_descriptor; } @java.lang.Override - public com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest getDefaultInstanceForType() { - return com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest.getDefaultInstance(); + public com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest + getDefaultInstanceForType() { + return com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest + .getDefaultInstance(); } @java.lang.Override @@ -480,7 +526,8 @@ public com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest build( @java.lang.Override public com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest buildPartial() { - com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest result = new com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest(this); + com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest result = + new com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest(this); result.name_ = name_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -492,46 +539,51 @@ public com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest) { - return mergeFrom((com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest)other); + return mergeFrom( + (com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest other) { - if (other == com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest other) { + if (other + == com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -562,7 +614,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -574,6 +628,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The REST resource name of the parent from which to retrieve
      * the notification channel descriptors. The expected syntax is:
@@ -586,14 +642,16 @@ public Builder mergeFrom(
      * operation, instead.
      * 
* - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -602,6 +660,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The REST resource name of the parent from which to retrieve
      * the notification channel descriptors. The expected syntax is:
@@ -614,16 +674,17 @@ public java.lang.String getName() {
      * operation, instead.
      * 
* - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -631,6 +692,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The REST resource name of the parent from which to retrieve
      * the notification channel descriptors. The expected syntax is:
@@ -643,21 +706,25 @@ public java.lang.String getName() {
      * operation, instead.
      * 
* - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The REST resource name of the parent from which to retrieve
      * the notification channel descriptors. The expected syntax is:
@@ -670,16 +737,21 @@ public Builder setName(
      * operation, instead.
      * 
* - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The REST resource name of the parent from which to retrieve
      * the notification channel descriptors. The expected syntax is:
@@ -692,24 +764,28 @@ public Builder clearName() {
      * operation, instead.
      * 
* - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of results to return in a single response. If
      * not set to a positive number, a reasonable value will be chosen by the
@@ -717,6 +793,7 @@ public Builder setNameBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -724,6 +801,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of results to return in a single response. If
      * not set to a positive number, a reasonable value will be chosen by the
@@ -731,16 +810,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of results to return in a single response. If
      * not set to a positive number, a reasonable value will be chosen by the
@@ -748,10 +830,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -759,6 +842,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * If non-empty, `page_token` must contain a value returned as the
      * `next_page_token` in a previous response to request the next set
@@ -766,13 +851,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -781,6 +866,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If non-empty, `page_token` must contain a value returned as the
      * `next_page_token` in a previous response to request the next set
@@ -788,15 +875,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -804,6 +890,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If non-empty, `page_token` must contain a value returned as the
      * `next_page_token` in a previous response to request the next set
@@ -811,20 +899,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * If non-empty, `page_token` must contain a value returned as the
      * `next_page_token` in a previous response to request the next set
@@ -832,15 +922,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * If non-empty, `page_token` must contain a value returned as the
      * `next_page_token` in a previous response to request the next set
@@ -848,23 +941,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -874,30 +967,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListNotificationChannelDescriptorsRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListNotificationChannelDescriptorsRequest) - private static final com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest DEFAULT_INSTANCE; + private static final com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest(); } - public static com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest getDefaultInstance() { + public static com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListNotificationChannelDescriptorsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListNotificationChannelDescriptorsRequest(input, extensionRegistry); - } - }; + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListNotificationChannelDescriptorsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListNotificationChannelDescriptorsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -909,9 +1005,8 @@ public com.google.protobuf.Parser get } @java.lang.Override - public com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest getDefaultInstanceForType() { + public com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsRequestOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsRequestOrBuilder.java index a7bf96ff..8f1c010c 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/notification_service.proto package com.google.monitoring.v3; -public interface ListNotificationChannelDescriptorsRequestOrBuilder extends +public interface ListNotificationChannelDescriptorsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListNotificationChannelDescriptorsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The REST resource name of the parent from which to retrieve
    * the notification channel descriptors. The expected syntax is:
@@ -20,11 +38,16 @@ public interface ListNotificationChannelDescriptorsRequestOrBuilder extends
    * operation, instead.
    * 
* - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The REST resource name of the parent from which to retrieve
    * the notification channel descriptors. The expected syntax is:
@@ -37,13 +60,17 @@ public interface ListNotificationChannelDescriptorsRequestOrBuilder extends
    * operation, instead.
    * 
* - * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The maximum number of results to return in a single response. If
    * not set to a positive number, a reasonable value will be chosen by the
@@ -51,11 +78,14 @@ public interface ListNotificationChannelDescriptorsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * If non-empty, `page_token` must contain a value returned as the
    * `next_page_token` in a previous response to request the next set
@@ -63,10 +93,13 @@ public interface ListNotificationChannelDescriptorsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * If non-empty, `page_token` must contain a value returned as the
    * `next_page_token` in a previous response to request the next set
@@ -74,8 +107,8 @@ public interface ListNotificationChannelDescriptorsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsResponse.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsResponse.java similarity index 69% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsResponse.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsResponse.java index def53813..0005f957 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsResponse.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsResponse.java @@ -1,24 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/notification_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `ListNotificationChannelDescriptors` response.
  * 
* * Protobuf type {@code google.monitoring.v3.ListNotificationChannelDescriptorsResponse} */ -public final class ListNotificationChannelDescriptorsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListNotificationChannelDescriptorsResponse + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListNotificationChannelDescriptorsResponse) ListNotificationChannelDescriptorsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListNotificationChannelDescriptorsResponse.newBuilder() to construct. - private ListNotificationChannelDescriptorsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListNotificationChannelDescriptorsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListNotificationChannelDescriptorsResponse() { channelDescriptors_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +46,15 @@ private ListNotificationChannelDescriptorsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListNotificationChannelDescriptorsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListNotificationChannelDescriptorsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,35 +74,40 @@ private ListNotificationChannelDescriptorsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - channelDescriptors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + channelDescriptors_ = + new java.util.ArrayList< + com.google.monitoring.v3.NotificationChannelDescriptor>(); + mutable_bitField0_ |= 0x00000001; + } + channelDescriptors_.add( + input.readMessage( + com.google.monitoring.v3.NotificationChannelDescriptor.parser(), + extensionRegistry)); + break; } - channelDescriptors_.add( - input.readMessage(com.google.monitoring.v3.NotificationChannelDescriptor.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { channelDescriptors_ = java.util.Collections.unmodifiableList(channelDescriptors_); @@ -92,87 +116,109 @@ private ListNotificationChannelDescriptorsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsResponse_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse.class, com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse.Builder.class); + com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse.class, + com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse.Builder.class); } public static final int CHANNEL_DESCRIPTORS_FIELD_NUMBER = 1; - private java.util.List channelDescriptors_; + private java.util.List + channelDescriptors_; /** + * + * *
    * The monitored resource descriptors supported for the specified
    * project, optionally filtered.
    * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * */ @java.lang.Override - public java.util.List getChannelDescriptorsList() { + public java.util.List + getChannelDescriptorsList() { return channelDescriptors_; } /** + * + * *
    * The monitored resource descriptors supported for the specified
    * project, optionally filtered.
    * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List getChannelDescriptorsOrBuilderList() { return channelDescriptors_; } /** + * + * *
    * The monitored resource descriptors supported for the specified
    * project, optionally filtered.
    * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * */ @java.lang.Override public int getChannelDescriptorsCount() { return channelDescriptors_.size(); } /** + * + * *
    * The monitored resource descriptors supported for the specified
    * project, optionally filtered.
    * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * */ @java.lang.Override public com.google.monitoring.v3.NotificationChannelDescriptor getChannelDescriptors(int index) { return channelDescriptors_.get(index); } /** + * + * *
    * The monitored resource descriptors supported for the specified
    * project, optionally filtered.
    * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * */ @java.lang.Override - public com.google.monitoring.v3.NotificationChannelDescriptorOrBuilder getChannelDescriptorsOrBuilder( - int index) { + public com.google.monitoring.v3.NotificationChannelDescriptorOrBuilder + getChannelDescriptorsOrBuilder(int index) { return channelDescriptors_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * If not empty, indicates that there may be more results that match
    * the request. Use the value in the `page_token` field in a
@@ -181,6 +227,7 @@ public com.google.monitoring.v3.NotificationChannelDescriptorOrBuilder getChanne
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -189,14 +236,15 @@ 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; } } /** + * + * *
    * If not empty, indicates that there may be more results that match
    * the request. Use the value in the `page_token` field in a
@@ -205,16 +253,15 @@ public java.lang.String getNextPageToken() {
    * 
* * 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 { @@ -223,6 +270,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -234,8 +282,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < channelDescriptors_.size(); i++) { output.writeMessage(1, channelDescriptors_.get(i)); } @@ -252,8 +299,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < channelDescriptors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, channelDescriptors_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, channelDescriptors_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -266,17 +313,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse)) { return super.equals(obj); } - com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse other = (com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse) obj; + com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse other = + (com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse) obj; - if (!getChannelDescriptorsList() - .equals(other.getChannelDescriptorsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getChannelDescriptorsList().equals(other.getChannelDescriptorsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -300,135 +346,147 @@ public int hashCode() { } public static com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 `ListNotificationChannelDescriptors` response.
    * 
* * Protobuf type {@code google.monitoring.v3.ListNotificationChannelDescriptorsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListNotificationChannelDescriptorsResponse) com.google.monitoring.v3.ListNotificationChannelDescriptorsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsResponse_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse.class, com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse.Builder.class); + com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse.class, + com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse.Builder.class); } - // Construct using com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse.newBuilder() + // Construct using + // com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getChannelDescriptorsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -444,14 +502,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsResponse_descriptor; } @java.lang.Override - public com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse getDefaultInstanceForType() { - return com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse.getDefaultInstance(); + public com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse + getDefaultInstanceForType() { + return com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse + .getDefaultInstance(); } @java.lang.Override @@ -465,7 +525,8 @@ public com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse build @java.lang.Override public com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse buildPartial() { - com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse result = new com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse(this); + com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse result = + new com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse(this); int from_bitField0_ = bitField0_; if (channelDescriptorsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -485,46 +546,51 @@ public com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse) { - return mergeFrom((com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse)other); + return mergeFrom( + (com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse other) { - if (other == com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse other) { + if (other + == com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse + .getDefaultInstance()) return this; if (channelDescriptorsBuilder_ == null) { if (!other.channelDescriptors_.isEmpty()) { if (channelDescriptors_.isEmpty()) { @@ -543,9 +609,10 @@ public Builder mergeFrom(com.google.monitoring.v3.ListNotificationChannelDescrip channelDescriptorsBuilder_ = null; channelDescriptors_ = other.channelDescriptors_; bitField0_ = (bitField0_ & ~0x00000001); - channelDescriptorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getChannelDescriptorsFieldBuilder() : null; + channelDescriptorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getChannelDescriptorsFieldBuilder() + : null; } else { channelDescriptorsBuilder_.addAllMessages(other.channelDescriptors_); } @@ -574,7 +641,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -583,29 +652,40 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List channelDescriptors_ = - java.util.Collections.emptyList(); + private java.util.List + channelDescriptors_ = java.util.Collections.emptyList(); + private void ensureChannelDescriptorsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - channelDescriptors_ = new java.util.ArrayList(channelDescriptors_); + channelDescriptors_ = + new java.util.ArrayList( + channelDescriptors_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.NotificationChannelDescriptor, com.google.monitoring.v3.NotificationChannelDescriptor.Builder, com.google.monitoring.v3.NotificationChannelDescriptorOrBuilder> channelDescriptorsBuilder_; + com.google.monitoring.v3.NotificationChannelDescriptor, + com.google.monitoring.v3.NotificationChannelDescriptor.Builder, + com.google.monitoring.v3.NotificationChannelDescriptorOrBuilder> + channelDescriptorsBuilder_; /** + * + * *
      * The monitored resource descriptors supported for the specified
      * project, optionally filtered.
      * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * */ - public java.util.List getChannelDescriptorsList() { + public java.util.List + getChannelDescriptorsList() { if (channelDescriptorsBuilder_ == null) { return java.util.Collections.unmodifiableList(channelDescriptors_); } else { @@ -613,12 +693,15 @@ public java.util.List ge } } /** + * + * *
      * The monitored resource descriptors supported for the specified
      * project, optionally filtered.
      * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * */ public int getChannelDescriptorsCount() { if (channelDescriptorsBuilder_ == null) { @@ -628,12 +711,15 @@ public int getChannelDescriptorsCount() { } } /** + * + * *
      * The monitored resource descriptors supported for the specified
      * project, optionally filtered.
      * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * */ public com.google.monitoring.v3.NotificationChannelDescriptor getChannelDescriptors(int index) { if (channelDescriptorsBuilder_ == null) { @@ -643,12 +729,15 @@ public com.google.monitoring.v3.NotificationChannelDescriptor getChannelDescript } } /** + * + * *
      * The monitored resource descriptors supported for the specified
      * project, optionally filtered.
      * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * */ public Builder setChannelDescriptors( int index, com.google.monitoring.v3.NotificationChannelDescriptor value) { @@ -665,12 +754,15 @@ public Builder setChannelDescriptors( return this; } /** + * + * *
      * The monitored resource descriptors supported for the specified
      * project, optionally filtered.
      * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * */ public Builder setChannelDescriptors( int index, com.google.monitoring.v3.NotificationChannelDescriptor.Builder builderForValue) { @@ -684,14 +776,18 @@ public Builder setChannelDescriptors( return this; } /** + * + * *
      * The monitored resource descriptors supported for the specified
      * project, optionally filtered.
      * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * */ - public Builder addChannelDescriptors(com.google.monitoring.v3.NotificationChannelDescriptor value) { + public Builder addChannelDescriptors( + com.google.monitoring.v3.NotificationChannelDescriptor value) { if (channelDescriptorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -705,12 +801,15 @@ public Builder addChannelDescriptors(com.google.monitoring.v3.NotificationChanne return this; } /** + * + * *
      * The monitored resource descriptors supported for the specified
      * project, optionally filtered.
      * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * */ public Builder addChannelDescriptors( int index, com.google.monitoring.v3.NotificationChannelDescriptor value) { @@ -727,12 +826,15 @@ public Builder addChannelDescriptors( return this; } /** + * + * *
      * The monitored resource descriptors supported for the specified
      * project, optionally filtered.
      * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * */ public Builder addChannelDescriptors( com.google.monitoring.v3.NotificationChannelDescriptor.Builder builderForValue) { @@ -746,12 +848,15 @@ public Builder addChannelDescriptors( return this; } /** + * + * *
      * The monitored resource descriptors supported for the specified
      * project, optionally filtered.
      * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * */ public Builder addChannelDescriptors( int index, com.google.monitoring.v3.NotificationChannelDescriptor.Builder builderForValue) { @@ -765,19 +870,22 @@ public Builder addChannelDescriptors( return this; } /** + * + * *
      * The monitored resource descriptors supported for the specified
      * project, optionally filtered.
      * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * */ public Builder addAllChannelDescriptors( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (channelDescriptorsBuilder_ == null) { ensureChannelDescriptorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, channelDescriptors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, channelDescriptors_); onChanged(); } else { channelDescriptorsBuilder_.addAllMessages(values); @@ -785,12 +893,15 @@ public Builder addAllChannelDescriptors( return this; } /** + * + * *
      * The monitored resource descriptors supported for the specified
      * project, optionally filtered.
      * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * */ public Builder clearChannelDescriptors() { if (channelDescriptorsBuilder_ == null) { @@ -803,12 +914,15 @@ public Builder clearChannelDescriptors() { return this; } /** + * + * *
      * The monitored resource descriptors supported for the specified
      * project, optionally filtered.
      * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * */ public Builder removeChannelDescriptors(int index) { if (channelDescriptorsBuilder_ == null) { @@ -821,42 +935,52 @@ public Builder removeChannelDescriptors(int index) { return this; } /** + * + * *
      * The monitored resource descriptors supported for the specified
      * project, optionally filtered.
      * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * */ - public com.google.monitoring.v3.NotificationChannelDescriptor.Builder getChannelDescriptorsBuilder( - int index) { + public com.google.monitoring.v3.NotificationChannelDescriptor.Builder + getChannelDescriptorsBuilder(int index) { return getChannelDescriptorsFieldBuilder().getBuilder(index); } /** + * + * *
      * The monitored resource descriptors supported for the specified
      * project, optionally filtered.
      * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * */ - public com.google.monitoring.v3.NotificationChannelDescriptorOrBuilder getChannelDescriptorsOrBuilder( - int index) { + public com.google.monitoring.v3.NotificationChannelDescriptorOrBuilder + getChannelDescriptorsOrBuilder(int index) { if (channelDescriptorsBuilder_ == null) { - return channelDescriptors_.get(index); } else { + return channelDescriptors_.get(index); + } else { return channelDescriptorsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The monitored resource descriptors supported for the specified
      * project, optionally filtered.
      * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * */ - public java.util.List - getChannelDescriptorsOrBuilderList() { + public java.util.List + getChannelDescriptorsOrBuilderList() { if (channelDescriptorsBuilder_ != null) { return channelDescriptorsBuilder_.getMessageOrBuilderList(); } else { @@ -864,48 +988,65 @@ public com.google.monitoring.v3.NotificationChannelDescriptorOrBuilder getChanne } } /** + * + * *
      * The monitored resource descriptors supported for the specified
      * project, optionally filtered.
      * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * */ - public com.google.monitoring.v3.NotificationChannelDescriptor.Builder addChannelDescriptorsBuilder() { - return getChannelDescriptorsFieldBuilder().addBuilder( - com.google.monitoring.v3.NotificationChannelDescriptor.getDefaultInstance()); + public com.google.monitoring.v3.NotificationChannelDescriptor.Builder + addChannelDescriptorsBuilder() { + return getChannelDescriptorsFieldBuilder() + .addBuilder(com.google.monitoring.v3.NotificationChannelDescriptor.getDefaultInstance()); } /** + * + * *
      * The monitored resource descriptors supported for the specified
      * project, optionally filtered.
      * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * */ - public com.google.monitoring.v3.NotificationChannelDescriptor.Builder addChannelDescriptorsBuilder( - int index) { - return getChannelDescriptorsFieldBuilder().addBuilder( - index, com.google.monitoring.v3.NotificationChannelDescriptor.getDefaultInstance()); + public com.google.monitoring.v3.NotificationChannelDescriptor.Builder + addChannelDescriptorsBuilder(int index) { + return getChannelDescriptorsFieldBuilder() + .addBuilder( + index, com.google.monitoring.v3.NotificationChannelDescriptor.getDefaultInstance()); } /** + * + * *
      * The monitored resource descriptors supported for the specified
      * project, optionally filtered.
      * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * */ - public java.util.List - getChannelDescriptorsBuilderList() { + public java.util.List + getChannelDescriptorsBuilderList() { return getChannelDescriptorsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.NotificationChannelDescriptor, com.google.monitoring.v3.NotificationChannelDescriptor.Builder, com.google.monitoring.v3.NotificationChannelDescriptorOrBuilder> + com.google.monitoring.v3.NotificationChannelDescriptor, + com.google.monitoring.v3.NotificationChannelDescriptor.Builder, + com.google.monitoring.v3.NotificationChannelDescriptorOrBuilder> getChannelDescriptorsFieldBuilder() { if (channelDescriptorsBuilder_ == null) { - channelDescriptorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.NotificationChannelDescriptor, com.google.monitoring.v3.NotificationChannelDescriptor.Builder, com.google.monitoring.v3.NotificationChannelDescriptorOrBuilder>( + channelDescriptorsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.monitoring.v3.NotificationChannelDescriptor, + com.google.monitoring.v3.NotificationChannelDescriptor.Builder, + com.google.monitoring.v3.NotificationChannelDescriptorOrBuilder>( channelDescriptors_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -917,6 +1058,8 @@ public com.google.monitoring.v3.NotificationChannelDescriptor.Builder addChannel private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * If not empty, indicates that there may be more results that match
      * the request. Use the value in the `page_token` field in a
@@ -925,13 +1068,13 @@ public com.google.monitoring.v3.NotificationChannelDescriptor.Builder addChannel
      * 
* * 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; @@ -940,6 +1083,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If not empty, indicates that there may be more results that match
      * the request. Use the value in the `page_token` field in a
@@ -948,15 +1093,14 @@ public java.lang.String getNextPageToken() {
      * 
* * 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 { @@ -964,6 +1108,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If not empty, indicates that there may be more results that match
      * the request. Use the value in the `page_token` field in a
@@ -972,20 +1118,22 @@ public java.lang.String getNextPageToken() {
      * 
* * 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; } /** + * + * *
      * If not empty, indicates that there may be more results that match
      * the request. Use the value in the `page_token` field in a
@@ -994,15 +1142,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * If not empty, indicates that there may be more results that match
      * the request. Use the value in the `page_token` field in a
@@ -1011,23 +1162,23 @@ public Builder clearNextPageToken() {
      * 
* * 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); } @@ -1037,30 +1188,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListNotificationChannelDescriptorsResponse) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListNotificationChannelDescriptorsResponse) - private static final com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse DEFAULT_INSTANCE; + private static final com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse(); } - public static com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse getDefaultInstance() { + public static com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListNotificationChannelDescriptorsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListNotificationChannelDescriptorsResponse(input, extensionRegistry); - } - }; + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListNotificationChannelDescriptorsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListNotificationChannelDescriptorsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1072,9 +1226,8 @@ public com.google.protobuf.Parser ge } @java.lang.Override - public com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse getDefaultInstanceForType() { + public com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsResponseOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsResponseOrBuilder.java similarity index 72% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsResponseOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsResponseOrBuilder.java index b18dff76..fdcdd09d 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsResponseOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelDescriptorsResponseOrBuilder.java @@ -1,62 +1,95 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/notification_service.proto package com.google.monitoring.v3; -public interface ListNotificationChannelDescriptorsResponseOrBuilder extends +public interface ListNotificationChannelDescriptorsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListNotificationChannelDescriptorsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The monitored resource descriptors supported for the specified
    * project, optionally filtered.
    * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * */ - java.util.List + java.util.List getChannelDescriptorsList(); /** + * + * *
    * The monitored resource descriptors supported for the specified
    * project, optionally filtered.
    * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * */ com.google.monitoring.v3.NotificationChannelDescriptor getChannelDescriptors(int index); /** + * + * *
    * The monitored resource descriptors supported for the specified
    * project, optionally filtered.
    * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * */ int getChannelDescriptorsCount(); /** + * + * *
    * The monitored resource descriptors supported for the specified
    * project, optionally filtered.
    * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * */ - java.util.List + java.util.List getChannelDescriptorsOrBuilderList(); /** + * + * *
    * The monitored resource descriptors supported for the specified
    * project, optionally filtered.
    * 
* - * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1; + * */ com.google.monitoring.v3.NotificationChannelDescriptorOrBuilder getChannelDescriptorsOrBuilder( int index); /** + * + * *
    * If not empty, indicates that there may be more results that match
    * the request. Use the value in the `page_token` field in a
@@ -65,10 +98,13 @@ com.google.monitoring.v3.NotificationChannelDescriptorOrBuilder getChannelDescri
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * If not empty, indicates that there may be more results that match
    * the request. Use the value in the `page_token` field in a
@@ -77,8 +113,8 @@ com.google.monitoring.v3.NotificationChannelDescriptorOrBuilder getChannelDescri
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsRequest.java similarity index 74% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsRequest.java index 5af47e63..258df0a9 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/notification_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `ListNotificationChannels` request.
  * 
* * Protobuf type {@code google.monitoring.v3.ListNotificationChannelsRequest} */ -public final class ListNotificationChannelsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListNotificationChannelsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListNotificationChannelsRequest) ListNotificationChannelsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListNotificationChannelsRequest.newBuilder() to construct. - private ListNotificationChannelsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListNotificationChannelsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListNotificationChannelsRequest() { name_ = ""; filter_ = ""; @@ -28,16 +47,15 @@ private ListNotificationChannelsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListNotificationChannelsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListNotificationChannelsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,70 +74,78 @@ private ListNotificationChannelsRequest( case 0: done = true; break; - case 24: { - - pageSize_ = input.readInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + case 24: + { + pageSize_ = input.readInt32(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + orderBy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_ListNotificationChannelsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_ListNotificationChannelsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_ListNotificationChannelsRequest_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_ListNotificationChannelsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListNotificationChannelsRequest.class, com.google.monitoring.v3.ListNotificationChannelsRequest.Builder.class); + com.google.monitoring.v3.ListNotificationChannelsRequest.class, + com.google.monitoring.v3.ListNotificationChannelsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 5; private volatile java.lang.Object name_; /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
@@ -132,7 +158,10 @@ private ListNotificationChannelsRequest(
    * operation.
    * 
* - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -141,14 +170,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
@@ -161,17 +191,18 @@ public java.lang.String getName() {
    * operation.
    * 
* - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -182,6 +213,8 @@ public java.lang.String getName() { public static final int FILTER_FIELD_NUMBER = 6; private volatile java.lang.Object filter_; /** + * + * *
    * If provided, this field specifies the criteria that must be met by
    * notification channels to be included in the response.
@@ -190,6 +223,7 @@ public java.lang.String getName() {
    * 
* * string filter = 6; + * * @return The filter. */ @java.lang.Override @@ -198,14 +232,15 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * If provided, this field specifies the criteria that must be met by
    * notification channels to be included in the response.
@@ -214,16 +249,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 6; + * * @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 { @@ -234,6 +268,8 @@ public java.lang.String getFilter() { public static final int ORDER_BY_FIELD_NUMBER = 7; private volatile java.lang.Object orderBy_; /** + * + * *
    * A comma-separated list of fields by which to sort the result. Supports
    * the same set of fields as in `filter`. Entries can be prefixed with
@@ -243,6 +279,7 @@ public java.lang.String getFilter() {
    * 
* * string order_by = 7; + * * @return The orderBy. */ @java.lang.Override @@ -251,14 +288,15 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * A comma-separated list of fields by which to sort the result. Supports
    * the same set of fields as in `filter`. Entries can be prefixed with
@@ -268,16 +306,15 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 7; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -288,6 +325,8 @@ public java.lang.String getOrderBy() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * The maximum number of results to return in a single response. If
    * not set to a positive number, a reasonable value will be chosen by the
@@ -295,6 +334,7 @@ public java.lang.String getOrderBy() {
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -305,6 +345,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** + * + * *
    * If non-empty, `page_token` must contain a value returned as the
    * `next_page_token` in a previous response to request the next set
@@ -312,6 +354,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -320,14 +363,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * If non-empty, `page_token` must contain a value returned as the
    * `next_page_token` in a previous response to request the next set
@@ -335,16 +379,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -353,6 +396,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -364,8 +408,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (pageSize_ != 0) { output.writeInt32(3, pageSize_); } @@ -391,8 +434,7 @@ public int getSerializedSize() { size = 0; if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -414,23 +456,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.monitoring.v3.ListNotificationChannelsRequest)) { return super.equals(obj); } - com.google.monitoring.v3.ListNotificationChannelsRequest other = (com.google.monitoring.v3.ListNotificationChannelsRequest) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + com.google.monitoring.v3.ListNotificationChannelsRequest other = + (com.google.monitoring.v3.ListNotificationChannelsRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -458,117 +496,127 @@ public int hashCode() { } public static com.google.monitoring.v3.ListNotificationChannelsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListNotificationChannelsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListNotificationChannelsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListNotificationChannelsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListNotificationChannelsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListNotificationChannelsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListNotificationChannelsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ListNotificationChannelsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListNotificationChannelsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListNotificationChannelsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ListNotificationChannelsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListNotificationChannelsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.ListNotificationChannelsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListNotificationChannelsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.ListNotificationChannelsRequest prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.ListNotificationChannelsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 `ListNotificationChannels` request.
    * 
* * Protobuf type {@code google.monitoring.v3.ListNotificationChannelsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListNotificationChannelsRequest) com.google.monitoring.v3.ListNotificationChannelsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_ListNotificationChannelsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_ListNotificationChannelsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_ListNotificationChannelsRequest_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_ListNotificationChannelsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListNotificationChannelsRequest.class, com.google.monitoring.v3.ListNotificationChannelsRequest.Builder.class); + com.google.monitoring.v3.ListNotificationChannelsRequest.class, + com.google.monitoring.v3.ListNotificationChannelsRequest.Builder.class); } // Construct using com.google.monitoring.v3.ListNotificationChannelsRequest.newBuilder() @@ -576,16 +624,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -603,9 +650,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_ListNotificationChannelsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_ListNotificationChannelsRequest_descriptor; } @java.lang.Override @@ -624,7 +671,8 @@ public com.google.monitoring.v3.ListNotificationChannelsRequest build() { @java.lang.Override public com.google.monitoring.v3.ListNotificationChannelsRequest buildPartial() { - com.google.monitoring.v3.ListNotificationChannelsRequest result = new com.google.monitoring.v3.ListNotificationChannelsRequest(this); + com.google.monitoring.v3.ListNotificationChannelsRequest result = + new com.google.monitoring.v3.ListNotificationChannelsRequest(this); result.name_ = name_; result.filter_ = filter_; result.orderBy_ = orderBy_; @@ -638,38 +686,39 @@ public com.google.monitoring.v3.ListNotificationChannelsRequest 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.monitoring.v3.ListNotificationChannelsRequest) { - return mergeFrom((com.google.monitoring.v3.ListNotificationChannelsRequest)other); + return mergeFrom((com.google.monitoring.v3.ListNotificationChannelsRequest) other); } else { super.mergeFrom(other); return this; @@ -677,7 +726,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.ListNotificationChannelsRequest other) { - if (other == com.google.monitoring.v3.ListNotificationChannelsRequest.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.ListNotificationChannelsRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -716,7 +766,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.ListNotificationChannelsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.ListNotificationChannelsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -728,6 +779,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
@@ -740,14 +793,16 @@ public Builder mergeFrom(
      * operation.
      * 
* - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -756,6 +811,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
@@ -768,16 +825,17 @@ public java.lang.String getName() {
      * operation.
      * 
* - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -785,6 +843,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
@@ -797,21 +857,25 @@ public java.lang.String getName() {
      * operation.
      * 
* - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
@@ -824,16 +888,21 @@ public Builder setName(
      * operation.
      * 
* - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
@@ -846,17 +915,19 @@ public Builder clearName() {
      * operation.
      * 
* - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -864,6 +935,8 @@ public Builder setNameBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * If provided, this field specifies the criteria that must be met by
      * notification channels to be included in the response.
@@ -872,13 +945,13 @@ public Builder setNameBytes(
      * 
* * string filter = 6; + * * @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; @@ -887,6 +960,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * If provided, this field specifies the criteria that must be met by
      * notification channels to be included in the response.
@@ -895,15 +970,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 6; + * * @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 { @@ -911,6 +985,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * If provided, this field specifies the criteria that must be met by
      * notification channels to be included in the response.
@@ -919,20 +995,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 6; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * If provided, this field specifies the criteria that must be met by
      * notification channels to be included in the response.
@@ -941,15 +1019,18 @@ public Builder setFilter(
      * 
* * string filter = 6; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * If provided, this field specifies the criteria that must be met by
      * notification channels to be included in the response.
@@ -958,16 +1039,16 @@ public Builder clearFilter() {
      * 
* * string filter = 6; + * * @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; @@ -975,6 +1056,8 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * A comma-separated list of fields by which to sort the result. Supports
      * the same set of fields as in `filter`. Entries can be prefixed with
@@ -984,13 +1067,13 @@ public Builder setFilterBytes(
      * 
* * string order_by = 7; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -999,6 +1082,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * A comma-separated list of fields by which to sort the result. Supports
      * the same set of fields as in `filter`. Entries can be prefixed with
@@ -1008,15 +1093,14 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 7; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1024,6 +1108,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * A comma-separated list of fields by which to sort the result. Supports
      * the same set of fields as in `filter`. Entries can be prefixed with
@@ -1033,20 +1119,22 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 7; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * A comma-separated list of fields by which to sort the result. Supports
      * the same set of fields as in `filter`. Entries can be prefixed with
@@ -1056,15 +1144,18 @@ public Builder setOrderBy(
      * 
* * string order_by = 7; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * A comma-separated list of fields by which to sort the result. Supports
      * the same set of fields as in `filter`. Entries can be prefixed with
@@ -1074,23 +1165,25 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 7; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of results to return in a single response. If
      * not set to a positive number, a reasonable value will be chosen by the
@@ -1098,6 +1191,7 @@ public Builder setOrderByBytes(
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -1105,6 +1199,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of results to return in a single response. If
      * not set to a positive number, a reasonable value will be chosen by the
@@ -1112,16 +1208,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of results to return in a single response. If
      * not set to a positive number, a reasonable value will be chosen by the
@@ -1129,10 +1228,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1140,6 +1240,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * If non-empty, `page_token` must contain a value returned as the
      * `next_page_token` in a previous response to request the next set
@@ -1147,13 +1249,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1162,6 +1264,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If non-empty, `page_token` must contain a value returned as the
      * `next_page_token` in a previous response to request the next set
@@ -1169,15 +1273,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1185,6 +1288,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If non-empty, `page_token` must contain a value returned as the
      * `next_page_token` in a previous response to request the next set
@@ -1192,20 +1297,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * If non-empty, `page_token` must contain a value returned as the
      * `next_page_token` in a previous response to request the next set
@@ -1213,15 +1320,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * If non-empty, `page_token` must contain a value returned as the
      * `next_page_token` in a previous response to request the next set
@@ -1229,23 +1339,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1255,12 +1365,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListNotificationChannelsRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListNotificationChannelsRequest) private static final com.google.monitoring.v3.ListNotificationChannelsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListNotificationChannelsRequest(); } @@ -1269,16 +1379,16 @@ public static com.google.monitoring.v3.ListNotificationChannelsRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListNotificationChannelsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListNotificationChannelsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListNotificationChannelsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListNotificationChannelsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1293,6 +1403,4 @@ public com.google.protobuf.Parser getParserForT public com.google.monitoring.v3.ListNotificationChannelsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsRequestOrBuilder.java similarity index 75% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsRequestOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsRequestOrBuilder.java index b65a4dda..92c4fdbb 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/notification_service.proto package com.google.monitoring.v3; -public interface ListNotificationChannelsRequestOrBuilder extends +public interface ListNotificationChannelsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListNotificationChannelsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
@@ -20,11 +38,16 @@ public interface ListNotificationChannelsRequestOrBuilder extends
    * operation.
    * 
* - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
@@ -37,13 +60,17 @@ public interface ListNotificationChannelsRequestOrBuilder extends
    * operation.
    * 
* - * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * If provided, this field specifies the criteria that must be met by
    * notification channels to be included in the response.
@@ -52,10 +79,13 @@ public interface ListNotificationChannelsRequestOrBuilder extends
    * 
* * string filter = 6; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * If provided, this field specifies the criteria that must be met by
    * notification channels to be included in the response.
@@ -64,12 +94,14 @@ public interface ListNotificationChannelsRequestOrBuilder extends
    * 
* * string filter = 6; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * A comma-separated list of fields by which to sort the result. Supports
    * the same set of fields as in `filter`. Entries can be prefixed with
@@ -79,10 +111,13 @@ public interface ListNotificationChannelsRequestOrBuilder extends
    * 
* * string order_by = 7; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * A comma-separated list of fields by which to sort the result. Supports
    * the same set of fields as in `filter`. Entries can be prefixed with
@@ -92,12 +127,14 @@ public interface ListNotificationChannelsRequestOrBuilder extends
    * 
* * string order_by = 7; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); /** + * + * *
    * The maximum number of results to return in a single response. If
    * not set to a positive number, a reasonable value will be chosen by the
@@ -105,11 +142,14 @@ public interface ListNotificationChannelsRequestOrBuilder extends
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * If non-empty, `page_token` must contain a value returned as the
    * `next_page_token` in a previous response to request the next set
@@ -117,10 +157,13 @@ public interface ListNotificationChannelsRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * If non-empty, `page_token` must contain a value returned as the
    * `next_page_token` in a previous response to request the next set
@@ -128,8 +171,8 @@ public interface ListNotificationChannelsRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsResponse.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsResponse.java similarity index 75% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsResponse.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsResponse.java index 187a7aab..42a127ae 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsResponse.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsResponse.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/notification_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `ListNotificationChannels` response.
  * 
* * Protobuf type {@code google.monitoring.v3.ListNotificationChannelsResponse} */ -public final class ListNotificationChannelsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListNotificationChannelsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListNotificationChannelsResponse) ListNotificationChannelsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListNotificationChannelsResponse.newBuilder() to construct. - private ListNotificationChannelsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListNotificationChannelsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListNotificationChannelsResponse() { notificationChannels_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +45,15 @@ private ListNotificationChannelsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListNotificationChannelsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListNotificationChannelsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,40 +73,43 @@ private ListNotificationChannelsResponse( case 0: done = true; break; - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - notificationChannels_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + nextPageToken_ = s; + break; } - notificationChannels_.add( - input.readMessage(com.google.monitoring.v3.NotificationChannel.parser(), extensionRegistry)); - break; - } - case 32: { - - totalSize_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + notificationChannels_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + notificationChannels_.add( + input.readMessage( + com.google.monitoring.v3.NotificationChannel.parser(), extensionRegistry)); + break; + } + case 32: + { + totalSize_ = input.readInt32(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { notificationChannels_ = java.util.Collections.unmodifiableList(notificationChannels_); @@ -97,22 +118,27 @@ private ListNotificationChannelsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_ListNotificationChannelsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_ListNotificationChannelsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_ListNotificationChannelsResponse_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_ListNotificationChannelsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListNotificationChannelsResponse.class, com.google.monitoring.v3.ListNotificationChannelsResponse.Builder.class); + com.google.monitoring.v3.ListNotificationChannelsResponse.class, + com.google.monitoring.v3.ListNotificationChannelsResponse.Builder.class); } public static final int NOTIFICATION_CHANNELS_FIELD_NUMBER = 3; private java.util.List notificationChannels_; /** + * + * *
    * The notification channels defined for the specified project.
    * 
@@ -120,10 +146,13 @@ private ListNotificationChannelsResponse( * repeated .google.monitoring.v3.NotificationChannel notification_channels = 3; */ @java.lang.Override - public java.util.List getNotificationChannelsList() { + public java.util.List + getNotificationChannelsList() { return notificationChannels_; } /** + * + * *
    * The notification channels defined for the specified project.
    * 
@@ -131,11 +160,13 @@ public java.util.List getNotificat * repeated .google.monitoring.v3.NotificationChannel notification_channels = 3; */ @java.lang.Override - public java.util.List + public java.util.List getNotificationChannelsOrBuilderList() { return notificationChannels_; } /** + * + * *
    * The notification channels defined for the specified project.
    * 
@@ -147,6 +178,8 @@ public int getNotificationChannelsCount() { return notificationChannels_.size(); } /** + * + * *
    * The notification channels defined for the specified project.
    * 
@@ -158,6 +191,8 @@ public com.google.monitoring.v3.NotificationChannel getNotificationChannels(int return notificationChannels_.get(index); } /** + * + * *
    * The notification channels defined for the specified project.
    * 
@@ -173,6 +208,8 @@ public com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChan public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * If not empty, indicates that there may be more results that match
    * the request. Use the value in the `page_token` field in a
@@ -181,6 +218,7 @@ public com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChan
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -189,14 +227,15 @@ 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; } } /** + * + * *
    * If not empty, indicates that there may be more results that match
    * the request. Use the value in the `page_token` field in a
@@ -205,16 +244,15 @@ public java.lang.String getNextPageToken() {
    * 
* * 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 { @@ -225,12 +263,15 @@ public java.lang.String getNextPageToken() { public static final int TOTAL_SIZE_FIELD_NUMBER = 4; private int totalSize_; /** + * + * *
    * The total number of notification channels in all pages. This number is only
    * an estimate, and may change in subsequent pages. https://aip.dev/158
    * 
* * int32 total_size = 4; + * * @return The totalSize. */ @java.lang.Override @@ -239,6 +280,7 @@ public int getTotalSize() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -250,8 +292,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } @@ -274,12 +315,11 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } for (int i = 0; i < notificationChannels_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, notificationChannels_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(3, notificationChannels_.get(i)); } if (totalSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, totalSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, totalSize_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -289,19 +329,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.monitoring.v3.ListNotificationChannelsResponse)) { return super.equals(obj); } - com.google.monitoring.v3.ListNotificationChannelsResponse other = (com.google.monitoring.v3.ListNotificationChannelsResponse) obj; + com.google.monitoring.v3.ListNotificationChannelsResponse other = + (com.google.monitoring.v3.ListNotificationChannelsResponse) obj; - if (!getNotificationChannelsList() - .equals(other.getNotificationChannelsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (getTotalSize() - != other.getTotalSize()) return false; + if (!getNotificationChannelsList().equals(other.getNotificationChannelsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (getTotalSize() != other.getTotalSize()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -327,117 +365,127 @@ public int hashCode() { } public static com.google.monitoring.v3.ListNotificationChannelsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListNotificationChannelsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListNotificationChannelsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListNotificationChannelsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListNotificationChannelsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListNotificationChannelsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListNotificationChannelsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ListNotificationChannelsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListNotificationChannelsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListNotificationChannelsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ListNotificationChannelsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListNotificationChannelsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.ListNotificationChannelsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListNotificationChannelsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.ListNotificationChannelsResponse prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.ListNotificationChannelsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 `ListNotificationChannels` response.
    * 
* * Protobuf type {@code google.monitoring.v3.ListNotificationChannelsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListNotificationChannelsResponse) com.google.monitoring.v3.ListNotificationChannelsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_ListNotificationChannelsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_ListNotificationChannelsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_ListNotificationChannelsResponse_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_ListNotificationChannelsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListNotificationChannelsResponse.class, com.google.monitoring.v3.ListNotificationChannelsResponse.Builder.class); + com.google.monitoring.v3.ListNotificationChannelsResponse.class, + com.google.monitoring.v3.ListNotificationChannelsResponse.Builder.class); } // Construct using com.google.monitoring.v3.ListNotificationChannelsResponse.newBuilder() @@ -445,17 +493,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getNotificationChannelsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -473,9 +521,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_ListNotificationChannelsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_ListNotificationChannelsResponse_descriptor; } @java.lang.Override @@ -494,7 +542,8 @@ public com.google.monitoring.v3.ListNotificationChannelsResponse build() { @java.lang.Override public com.google.monitoring.v3.ListNotificationChannelsResponse buildPartial() { - com.google.monitoring.v3.ListNotificationChannelsResponse result = new com.google.monitoring.v3.ListNotificationChannelsResponse(this); + com.google.monitoring.v3.ListNotificationChannelsResponse result = + new com.google.monitoring.v3.ListNotificationChannelsResponse(this); int from_bitField0_ = bitField0_; if (notificationChannelsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -515,38 +564,39 @@ public com.google.monitoring.v3.ListNotificationChannelsResponse 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.monitoring.v3.ListNotificationChannelsResponse) { - return mergeFrom((com.google.monitoring.v3.ListNotificationChannelsResponse)other); + return mergeFrom((com.google.monitoring.v3.ListNotificationChannelsResponse) other); } else { super.mergeFrom(other); return this; @@ -554,7 +604,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.ListNotificationChannelsResponse other) { - if (other == com.google.monitoring.v3.ListNotificationChannelsResponse.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.ListNotificationChannelsResponse.getDefaultInstance()) + return this; if (notificationChannelsBuilder_ == null) { if (!other.notificationChannels_.isEmpty()) { if (notificationChannels_.isEmpty()) { @@ -573,9 +624,10 @@ public Builder mergeFrom(com.google.monitoring.v3.ListNotificationChannelsRespon notificationChannelsBuilder_ = null; notificationChannels_ = other.notificationChannels_; bitField0_ = (bitField0_ & ~0x00000001); - notificationChannelsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getNotificationChannelsFieldBuilder() : null; + notificationChannelsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getNotificationChannelsFieldBuilder() + : null; } else { notificationChannelsBuilder_.addAllMessages(other.notificationChannels_); } @@ -607,7 +659,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.ListNotificationChannelsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.ListNotificationChannelsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -616,28 +669,38 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List notificationChannels_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureNotificationChannelsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - notificationChannels_ = new java.util.ArrayList(notificationChannels_); + notificationChannels_ = + new java.util.ArrayList( + notificationChannels_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.NotificationChannel, com.google.monitoring.v3.NotificationChannel.Builder, com.google.monitoring.v3.NotificationChannelOrBuilder> notificationChannelsBuilder_; + com.google.monitoring.v3.NotificationChannel, + com.google.monitoring.v3.NotificationChannel.Builder, + com.google.monitoring.v3.NotificationChannelOrBuilder> + notificationChannelsBuilder_; /** + * + * *
      * The notification channels defined for the specified project.
      * 
* * repeated .google.monitoring.v3.NotificationChannel notification_channels = 3; */ - public java.util.List getNotificationChannelsList() { + public java.util.List + getNotificationChannelsList() { if (notificationChannelsBuilder_ == null) { return java.util.Collections.unmodifiableList(notificationChannels_); } else { @@ -645,6 +708,8 @@ public java.util.List getNotificat } } /** + * + * *
      * The notification channels defined for the specified project.
      * 
@@ -659,6 +724,8 @@ public int getNotificationChannelsCount() { } } /** + * + * *
      * The notification channels defined for the specified project.
      * 
@@ -673,6 +740,8 @@ public com.google.monitoring.v3.NotificationChannel getNotificationChannels(int } } /** + * + * *
      * The notification channels defined for the specified project.
      * 
@@ -694,6 +763,8 @@ public Builder setNotificationChannels( return this; } /** + * + * *
      * The notification channels defined for the specified project.
      * 
@@ -712,6 +783,8 @@ public Builder setNotificationChannels( return this; } /** + * + * *
      * The notification channels defined for the specified project.
      * 
@@ -732,6 +805,8 @@ public Builder addNotificationChannels(com.google.monitoring.v3.NotificationChan return this; } /** + * + * *
      * The notification channels defined for the specified project.
      * 
@@ -753,6 +828,8 @@ public Builder addNotificationChannels( return this; } /** + * + * *
      * The notification channels defined for the specified project.
      * 
@@ -771,6 +848,8 @@ public Builder addNotificationChannels( return this; } /** + * + * *
      * The notification channels defined for the specified project.
      * 
@@ -789,6 +868,8 @@ public Builder addNotificationChannels( return this; } /** + * + * *
      * The notification channels defined for the specified project.
      * 
@@ -799,8 +880,7 @@ public Builder addAllNotificationChannels( java.lang.Iterable values) { if (notificationChannelsBuilder_ == null) { ensureNotificationChannelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, notificationChannels_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, notificationChannels_); onChanged(); } else { notificationChannelsBuilder_.addAllMessages(values); @@ -808,6 +888,8 @@ public Builder addAllNotificationChannels( return this; } /** + * + * *
      * The notification channels defined for the specified project.
      * 
@@ -825,6 +907,8 @@ public Builder clearNotificationChannels() { return this; } /** + * + * *
      * The notification channels defined for the specified project.
      * 
@@ -842,6 +926,8 @@ public Builder removeNotificationChannels(int index) { return this; } /** + * + * *
      * The notification channels defined for the specified project.
      * 
@@ -853,6 +939,8 @@ public com.google.monitoring.v3.NotificationChannel.Builder getNotificationChann return getNotificationChannelsFieldBuilder().getBuilder(index); } /** + * + * *
      * The notification channels defined for the specified project.
      * 
@@ -862,19 +950,22 @@ public com.google.monitoring.v3.NotificationChannel.Builder getNotificationChann public com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChannelsOrBuilder( int index) { if (notificationChannelsBuilder_ == null) { - return notificationChannels_.get(index); } else { + return notificationChannels_.get(index); + } else { return notificationChannelsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The notification channels defined for the specified project.
      * 
* * repeated .google.monitoring.v3.NotificationChannel notification_channels = 3; */ - public java.util.List - getNotificationChannelsOrBuilderList() { + public java.util.List + getNotificationChannelsOrBuilderList() { if (notificationChannelsBuilder_ != null) { return notificationChannelsBuilder_.getMessageOrBuilderList(); } else { @@ -882,6 +973,8 @@ public com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChan } } /** + * + * *
      * The notification channels defined for the specified project.
      * 
@@ -889,10 +982,12 @@ public com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChan * repeated .google.monitoring.v3.NotificationChannel notification_channels = 3; */ public com.google.monitoring.v3.NotificationChannel.Builder addNotificationChannelsBuilder() { - return getNotificationChannelsFieldBuilder().addBuilder( - com.google.monitoring.v3.NotificationChannel.getDefaultInstance()); + return getNotificationChannelsFieldBuilder() + .addBuilder(com.google.monitoring.v3.NotificationChannel.getDefaultInstance()); } /** + * + * *
      * The notification channels defined for the specified project.
      * 
@@ -901,26 +996,34 @@ public com.google.monitoring.v3.NotificationChannel.Builder addNotificationChann */ public com.google.monitoring.v3.NotificationChannel.Builder addNotificationChannelsBuilder( int index) { - return getNotificationChannelsFieldBuilder().addBuilder( - index, com.google.monitoring.v3.NotificationChannel.getDefaultInstance()); + return getNotificationChannelsFieldBuilder() + .addBuilder(index, com.google.monitoring.v3.NotificationChannel.getDefaultInstance()); } /** + * + * *
      * The notification channels defined for the specified project.
      * 
* * repeated .google.monitoring.v3.NotificationChannel notification_channels = 3; */ - public java.util.List - getNotificationChannelsBuilderList() { + public java.util.List + getNotificationChannelsBuilderList() { return getNotificationChannelsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.NotificationChannel, com.google.monitoring.v3.NotificationChannel.Builder, com.google.monitoring.v3.NotificationChannelOrBuilder> + com.google.monitoring.v3.NotificationChannel, + com.google.monitoring.v3.NotificationChannel.Builder, + com.google.monitoring.v3.NotificationChannelOrBuilder> getNotificationChannelsFieldBuilder() { if (notificationChannelsBuilder_ == null) { - notificationChannelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.NotificationChannel, com.google.monitoring.v3.NotificationChannel.Builder, com.google.monitoring.v3.NotificationChannelOrBuilder>( + notificationChannelsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.monitoring.v3.NotificationChannel, + com.google.monitoring.v3.NotificationChannel.Builder, + com.google.monitoring.v3.NotificationChannelOrBuilder>( notificationChannels_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -932,6 +1035,8 @@ public com.google.monitoring.v3.NotificationChannel.Builder addNotificationChann private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * If not empty, indicates that there may be more results that match
      * the request. Use the value in the `page_token` field in a
@@ -940,13 +1045,13 @@ public com.google.monitoring.v3.NotificationChannel.Builder addNotificationChann
      * 
* * 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; @@ -955,6 +1060,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If not empty, indicates that there may be more results that match
      * the request. Use the value in the `page_token` field in a
@@ -963,15 +1070,14 @@ public java.lang.String getNextPageToken() {
      * 
* * 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,6 +1085,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If not empty, indicates that there may be more results that match
      * the request. Use the value in the `page_token` field in a
@@ -987,20 +1095,22 @@ public java.lang.String getNextPageToken() {
      * 
* * 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; } /** + * + * *
      * If not empty, indicates that there may be more results that match
      * the request. Use the value in the `page_token` field in a
@@ -1009,15 +1119,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * If not empty, indicates that there may be more results that match
      * the request. Use the value in the `page_token` field in a
@@ -1026,29 +1139,32 @@ public Builder clearNextPageToken() {
      * 
* * 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; } - private int totalSize_ ; + private int totalSize_; /** + * + * *
      * The total number of notification channels in all pages. This number is only
      * an estimate, and may change in subsequent pages. https://aip.dev/158
      * 
* * int32 total_size = 4; + * * @return The totalSize. */ @java.lang.Override @@ -1056,39 +1172,45 @@ public int getTotalSize() { return totalSize_; } /** + * + * *
      * The total number of notification channels in all pages. This number is only
      * an estimate, and may change in subsequent pages. https://aip.dev/158
      * 
* * int32 total_size = 4; + * * @param value The totalSize to set. * @return This builder for chaining. */ public Builder setTotalSize(int value) { - + totalSize_ = value; onChanged(); return this; } /** + * + * *
      * The total number of notification channels in all pages. This number is only
      * an estimate, and may change in subsequent pages. https://aip.dev/158
      * 
* * int32 total_size = 4; + * * @return This builder for chaining. */ public Builder clearTotalSize() { - + totalSize_ = 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); } @@ -1098,12 +1220,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListNotificationChannelsResponse) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListNotificationChannelsResponse) private static final com.google.monitoring.v3.ListNotificationChannelsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListNotificationChannelsResponse(); } @@ -1112,16 +1234,16 @@ public static com.google.monitoring.v3.ListNotificationChannelsResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListNotificationChannelsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListNotificationChannelsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListNotificationChannelsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListNotificationChannelsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1136,6 +1258,4 @@ public com.google.protobuf.Parser getParserFor public com.google.monitoring.v3.ListNotificationChannelsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsResponseOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsResponseOrBuilder.java similarity index 73% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsResponseOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsResponseOrBuilder.java index 273b5d37..8ad8b33f 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsResponseOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListNotificationChannelsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/notification_service.proto package com.google.monitoring.v3; -public interface ListNotificationChannelsResponseOrBuilder extends +public interface ListNotificationChannelsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListNotificationChannelsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The notification channels defined for the specified project.
    * 
* * repeated .google.monitoring.v3.NotificationChannel notification_channels = 3; */ - java.util.List - getNotificationChannelsList(); + java.util.List getNotificationChannelsList(); /** + * + * *
    * The notification channels defined for the specified project.
    * 
@@ -25,6 +44,8 @@ public interface ListNotificationChannelsResponseOrBuilder extends */ com.google.monitoring.v3.NotificationChannel getNotificationChannels(int index); /** + * + * *
    * The notification channels defined for the specified project.
    * 
@@ -33,25 +54,30 @@ public interface ListNotificationChannelsResponseOrBuilder extends */ int getNotificationChannelsCount(); /** + * + * *
    * The notification channels defined for the specified project.
    * 
* * repeated .google.monitoring.v3.NotificationChannel notification_channels = 3; */ - java.util.List + java.util.List getNotificationChannelsOrBuilderList(); /** + * + * *
    * The notification channels defined for the specified project.
    * 
* * repeated .google.monitoring.v3.NotificationChannel notification_channels = 3; */ - com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChannelsOrBuilder( - int index); + com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChannelsOrBuilder(int index); /** + * + * *
    * If not empty, indicates that there may be more results that match
    * the request. Use the value in the `page_token` field in a
@@ -60,10 +86,13 @@ com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChannelsOrB
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * If not empty, indicates that there may be more results that match
    * the request. Use the value in the `page_token` field in a
@@ -72,18 +101,21 @@ com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChannelsOrB
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * The total number of notification channels in all pages. This number is only
    * an estimate, and may change in subsequent pages. https://aip.dev/158
    * 
* * int32 total_size = 4; + * * @return The totalSize. */ int getTotalSize(); diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesRequest.java similarity index 73% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesRequest.java index 69e28757..293fbe66 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/service_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `ListServiceLevelObjectives` request.
  * 
* * Protobuf type {@code google.monitoring.v3.ListServiceLevelObjectivesRequest} */ -public final class ListServiceLevelObjectivesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListServiceLevelObjectivesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListServiceLevelObjectivesRequest) ListServiceLevelObjectivesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListServiceLevelObjectivesRequest.newBuilder() to construct. - private ListServiceLevelObjectivesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListServiceLevelObjectivesRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListServiceLevelObjectivesRequest() { parent_ = ""; filter_ = ""; @@ -28,16 +47,15 @@ private ListServiceLevelObjectivesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListServiceLevelObjectivesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListServiceLevelObjectivesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,70 +74,78 @@ private ListServiceLevelObjectivesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 24: { + parent_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 24: + { + pageSize_ = input.readInt32(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 40: { - int rawValue = input.readEnum(); + pageToken_ = s; + break; + } + case 40: + { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + view_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_ListServiceLevelObjectivesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_ListServiceLevelObjectivesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_ListServiceLevelObjectivesRequest_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_ListServiceLevelObjectivesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListServiceLevelObjectivesRequest.class, com.google.monitoring.v3.ListServiceLevelObjectivesRequest.Builder.class); + com.google.monitoring.v3.ListServiceLevelObjectivesRequest.class, + com.google.monitoring.v3.ListServiceLevelObjectivesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Resource name of the parent containing the listed SLOs, either a
    * project or a Monitoring Workspace. The formats are:
@@ -127,7 +153,10 @@ private ListServiceLevelObjectivesRequest(
    *     workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/-
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -136,14 +165,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Resource name of the parent containing the listed SLOs, either a
    * project or a Monitoring Workspace. The formats are:
@@ -151,17 +181,18 @@ public java.lang.String getParent() {
    *     workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/-
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -172,11 +203,14 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** + * + * *
    * A filter specifying what `ServiceLevelObjective`s to return.
    * 
* * string filter = 2; + * * @return The filter. */ @java.lang.Override @@ -185,29 +219,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * A filter specifying what `ServiceLevelObjective`s to return.
    * 
* * string filter = 2; + * * @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 { @@ -218,12 +252,15 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * A non-negative number that is the maximum number of results to return.
    * When 0, use default page size.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -234,6 +271,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** + * + * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -241,6 +280,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -249,14 +289,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -264,16 +305,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -284,6 +324,8 @@ public java.lang.String getPageToken() { public static final int VIEW_FIELD_NUMBER = 5; private int view_; /** + * + * *
    * View of the `ServiceLevelObjective`s to return. If `DEFAULT`, return each
    * `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
@@ -292,12 +334,16 @@ public java.lang.String getPageToken() {
    * 
* * .google.monitoring.v3.ServiceLevelObjective.View view = 5; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * View of the `ServiceLevelObjective`s to return. If `DEFAULT`, return each
    * `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
@@ -306,15 +352,21 @@ public java.lang.String getPageToken() {
    * 
* * .google.monitoring.v3.ServiceLevelObjective.View view = 5; + * * @return The view. */ - @java.lang.Override public com.google.monitoring.v3.ServiceLevelObjective.View getView() { + @java.lang.Override + public com.google.monitoring.v3.ServiceLevelObjective.View getView() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.ServiceLevelObjective.View result = com.google.monitoring.v3.ServiceLevelObjective.View.valueOf(view_); - return result == null ? com.google.monitoring.v3.ServiceLevelObjective.View.UNRECOGNIZED : result; + com.google.monitoring.v3.ServiceLevelObjective.View result = + com.google.monitoring.v3.ServiceLevelObjective.View.valueOf(view_); + return result == null + ? com.google.monitoring.v3.ServiceLevelObjective.View.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -326,8 +378,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -359,15 +410,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); } if (view_ != com.google.monitoring.v3.ServiceLevelObjective.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, view_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -377,21 +426,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.monitoring.v3.ListServiceLevelObjectivesRequest)) { return super.equals(obj); } - com.google.monitoring.v3.ListServiceLevelObjectivesRequest other = (com.google.monitoring.v3.ListServiceLevelObjectivesRequest) obj; + com.google.monitoring.v3.ListServiceLevelObjectivesRequest other = + (com.google.monitoring.v3.ListServiceLevelObjectivesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (view_ != other.view_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -420,117 +466,127 @@ public int hashCode() { } public static com.google.monitoring.v3.ListServiceLevelObjectivesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListServiceLevelObjectivesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListServiceLevelObjectivesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListServiceLevelObjectivesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListServiceLevelObjectivesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListServiceLevelObjectivesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListServiceLevelObjectivesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ListServiceLevelObjectivesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListServiceLevelObjectivesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListServiceLevelObjectivesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ListServiceLevelObjectivesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListServiceLevelObjectivesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.ListServiceLevelObjectivesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListServiceLevelObjectivesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.ListServiceLevelObjectivesRequest prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.ListServiceLevelObjectivesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 `ListServiceLevelObjectives` request.
    * 
* * Protobuf type {@code google.monitoring.v3.ListServiceLevelObjectivesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListServiceLevelObjectivesRequest) com.google.monitoring.v3.ListServiceLevelObjectivesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_ListServiceLevelObjectivesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_ListServiceLevelObjectivesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_ListServiceLevelObjectivesRequest_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_ListServiceLevelObjectivesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListServiceLevelObjectivesRequest.class, com.google.monitoring.v3.ListServiceLevelObjectivesRequest.Builder.class); + com.google.monitoring.v3.ListServiceLevelObjectivesRequest.class, + com.google.monitoring.v3.ListServiceLevelObjectivesRequest.Builder.class); } // Construct using com.google.monitoring.v3.ListServiceLevelObjectivesRequest.newBuilder() @@ -538,16 +594,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -565,9 +620,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_ListServiceLevelObjectivesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_ListServiceLevelObjectivesRequest_descriptor; } @java.lang.Override @@ -586,7 +641,8 @@ public com.google.monitoring.v3.ListServiceLevelObjectivesRequest build() { @java.lang.Override public com.google.monitoring.v3.ListServiceLevelObjectivesRequest buildPartial() { - com.google.monitoring.v3.ListServiceLevelObjectivesRequest result = new com.google.monitoring.v3.ListServiceLevelObjectivesRequest(this); + com.google.monitoring.v3.ListServiceLevelObjectivesRequest result = + new com.google.monitoring.v3.ListServiceLevelObjectivesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -600,38 +656,39 @@ public com.google.monitoring.v3.ListServiceLevelObjectivesRequest 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.monitoring.v3.ListServiceLevelObjectivesRequest) { - return mergeFrom((com.google.monitoring.v3.ListServiceLevelObjectivesRequest)other); + return mergeFrom((com.google.monitoring.v3.ListServiceLevelObjectivesRequest) other); } else { super.mergeFrom(other); return this; @@ -639,7 +696,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.ListServiceLevelObjectivesRequest other) { - if (other == com.google.monitoring.v3.ListServiceLevelObjectivesRequest.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.ListServiceLevelObjectivesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -677,7 +735,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.ListServiceLevelObjectivesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.ListServiceLevelObjectivesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -689,6 +748,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Resource name of the parent containing the listed SLOs, either a
      * project or a Monitoring Workspace. The formats are:
@@ -696,14 +757,16 @@ public Builder mergeFrom(
      *     workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/-
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -712,6 +775,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the parent containing the listed SLOs, either a
      * project or a Monitoring Workspace. The formats are:
@@ -719,16 +784,17 @@ public java.lang.String getParent() {
      *     workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/-
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -736,6 +802,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the parent containing the listed SLOs, either a
      * project or a Monitoring Workspace. The formats are:
@@ -743,21 +811,25 @@ public java.lang.String getParent() {
      *     workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/-
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the parent containing the listed SLOs, either a
      * project or a Monitoring Workspace. The formats are:
@@ -765,16 +837,21 @@ public Builder setParent(
      *     workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/-
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the parent containing the listed SLOs, either a
      * project or a Monitoring Workspace. The formats are:
@@ -782,17 +859,19 @@ public Builder clearParent() {
      *     workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/-
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -800,18 +879,20 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * A filter specifying what `ServiceLevelObjective`s to return.
      * 
* * string filter = 2; + * * @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; @@ -820,20 +901,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * A filter specifying what `ServiceLevelObjective`s to return.
      * 
* * string filter = 2; + * * @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 { @@ -841,67 +923,77 @@ public java.lang.String getFilter() { } } /** + * + * *
      * A filter specifying what `ServiceLevelObjective`s to return.
      * 
* * string filter = 2; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * A filter specifying what `ServiceLevelObjective`s to return.
      * 
* * string filter = 2; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * A filter specifying what `ServiceLevelObjective`s to return.
      * 
* * string filter = 2; + * * @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; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * A non-negative number that is the maximum number of results to return.
      * When 0, use default page size.
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -909,32 +1001,38 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * A non-negative number that is the maximum number of results to return.
      * When 0, use default page size.
      * 
* * 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; } /** + * + * *
      * A non-negative number that is the maximum number of results to return.
      * When 0, use default page size.
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -942,6 +1040,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -949,13 +1049,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -964,6 +1064,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -971,15 +1073,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -987,6 +1088,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -994,20 +1097,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1015,15 +1120,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1031,16 +1139,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1048,6 +1156,8 @@ public Builder setPageTokenBytes( private int view_ = 0; /** + * + * *
      * View of the `ServiceLevelObjective`s to return. If `DEFAULT`, return each
      * `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
@@ -1056,12 +1166,16 @@ public Builder setPageTokenBytes(
      * 
* * .google.monitoring.v3.ServiceLevelObjective.View view = 5; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * View of the `ServiceLevelObjective`s to return. If `DEFAULT`, return each
      * `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
@@ -1070,16 +1184,19 @@ public Builder setPageTokenBytes(
      * 
* * .google.monitoring.v3.ServiceLevelObjective.View view = 5; + * * @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; } /** + * + * *
      * View of the `ServiceLevelObjective`s to return. If `DEFAULT`, return each
      * `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
@@ -1088,15 +1205,21 @@ public Builder setViewValue(int value) {
      * 
* * .google.monitoring.v3.ServiceLevelObjective.View view = 5; + * * @return The view. */ @java.lang.Override public com.google.monitoring.v3.ServiceLevelObjective.View getView() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.ServiceLevelObjective.View result = com.google.monitoring.v3.ServiceLevelObjective.View.valueOf(view_); - return result == null ? com.google.monitoring.v3.ServiceLevelObjective.View.UNRECOGNIZED : result; + com.google.monitoring.v3.ServiceLevelObjective.View result = + com.google.monitoring.v3.ServiceLevelObjective.View.valueOf(view_); + return result == null + ? com.google.monitoring.v3.ServiceLevelObjective.View.UNRECOGNIZED + : result; } /** + * + * *
      * View of the `ServiceLevelObjective`s to return. If `DEFAULT`, return each
      * `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
@@ -1105,6 +1228,7 @@ public com.google.monitoring.v3.ServiceLevelObjective.View getView() {
      * 
* * .google.monitoring.v3.ServiceLevelObjective.View view = 5; + * * @param value The view to set. * @return This builder for chaining. */ @@ -1112,12 +1236,14 @@ public Builder setView(com.google.monitoring.v3.ServiceLevelObjective.View value if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * View of the `ServiceLevelObjective`s to return. If `DEFAULT`, return each
      * `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
@@ -1126,17 +1252,18 @@ public Builder setView(com.google.monitoring.v3.ServiceLevelObjective.View value
      * 
* * .google.monitoring.v3.ServiceLevelObjective.View view = 5; + * * @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); } @@ -1146,12 +1273,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListServiceLevelObjectivesRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListServiceLevelObjectivesRequest) private static final com.google.monitoring.v3.ListServiceLevelObjectivesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListServiceLevelObjectivesRequest(); } @@ -1160,16 +1287,16 @@ public static com.google.monitoring.v3.ListServiceLevelObjectivesRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListServiceLevelObjectivesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListServiceLevelObjectivesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListServiceLevelObjectivesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListServiceLevelObjectivesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1184,6 +1311,4 @@ public com.google.protobuf.Parser getParserFo public com.google.monitoring.v3.ListServiceLevelObjectivesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesRequestOrBuilder.java similarity index 73% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesRequestOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesRequestOrBuilder.java index e42bd70b..a1d79112 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/service_service.proto package com.google.monitoring.v3; -public interface ListServiceLevelObjectivesRequestOrBuilder extends +public interface ListServiceLevelObjectivesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListServiceLevelObjectivesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the parent containing the listed SLOs, either a
    * project or a Monitoring Workspace. The formats are:
@@ -15,11 +33,16 @@ public interface ListServiceLevelObjectivesRequestOrBuilder extends
    *     workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/-
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Resource name of the parent containing the listed SLOs, either a
    * project or a Monitoring Workspace. The formats are:
@@ -27,44 +50,56 @@ public interface ListServiceLevelObjectivesRequestOrBuilder extends
    *     workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/-
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * A filter specifying what `ServiceLevelObjective`s to return.
    * 
* * string filter = 2; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * A filter specifying what `ServiceLevelObjective`s to return.
    * 
* * string filter = 2; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * A non-negative number that is the maximum number of results to return.
    * When 0, use default page size.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -72,10 +107,13 @@ public interface ListServiceLevelObjectivesRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -83,12 +121,14 @@ public interface ListServiceLevelObjectivesRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * View of the `ServiceLevelObjective`s to return. If `DEFAULT`, return each
    * `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
@@ -97,10 +137,13 @@ public interface ListServiceLevelObjectivesRequestOrBuilder extends
    * 
* * .google.monitoring.v3.ServiceLevelObjective.View view = 5; + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * View of the `ServiceLevelObjective`s to return. If `DEFAULT`, return each
    * `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
@@ -109,6 +152,7 @@ public interface ListServiceLevelObjectivesRequestOrBuilder extends
    * 
* * .google.monitoring.v3.ServiceLevelObjective.View view = 5; + * * @return The view. */ com.google.monitoring.v3.ServiceLevelObjective.View getView(); diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesResponse.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesResponse.java similarity index 73% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesResponse.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesResponse.java index b12e363f..a908ca79 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesResponse.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesResponse.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/service_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `ListServiceLevelObjectives` response.
  * 
* * Protobuf type {@code google.monitoring.v3.ListServiceLevelObjectivesResponse} */ -public final class ListServiceLevelObjectivesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListServiceLevelObjectivesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListServiceLevelObjectivesResponse) ListServiceLevelObjectivesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListServiceLevelObjectivesResponse.newBuilder() to construct. - private ListServiceLevelObjectivesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListServiceLevelObjectivesResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListServiceLevelObjectivesResponse() { serviceLevelObjectives_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +45,15 @@ private ListServiceLevelObjectivesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListServiceLevelObjectivesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListServiceLevelObjectivesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,35 +73,38 @@ private ListServiceLevelObjectivesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - serviceLevelObjectives_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + serviceLevelObjectives_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + serviceLevelObjectives_.add( + input.readMessage( + com.google.monitoring.v3.ServiceLevelObjective.parser(), extensionRegistry)); + break; } - serviceLevelObjectives_.add( - input.readMessage(com.google.monitoring.v3.ServiceLevelObjective.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { serviceLevelObjectives_ = java.util.Collections.unmodifiableList(serviceLevelObjectives_); @@ -92,22 +113,27 @@ private ListServiceLevelObjectivesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_ListServiceLevelObjectivesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_ListServiceLevelObjectivesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_ListServiceLevelObjectivesResponse_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_ListServiceLevelObjectivesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListServiceLevelObjectivesResponse.class, com.google.monitoring.v3.ListServiceLevelObjectivesResponse.Builder.class); + com.google.monitoring.v3.ListServiceLevelObjectivesResponse.class, + com.google.monitoring.v3.ListServiceLevelObjectivesResponse.Builder.class); } public static final int SERVICE_LEVEL_OBJECTIVES_FIELD_NUMBER = 1; private java.util.List serviceLevelObjectives_; /** + * + * *
    * The `ServiceLevelObjective`s matching the specified filter.
    * 
@@ -115,10 +141,13 @@ private ListServiceLevelObjectivesResponse( * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; */ @java.lang.Override - public java.util.List getServiceLevelObjectivesList() { + public java.util.List + getServiceLevelObjectivesList() { return serviceLevelObjectives_; } /** + * + * *
    * The `ServiceLevelObjective`s matching the specified filter.
    * 
@@ -126,11 +155,13 @@ public java.util.List getService * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; */ @java.lang.Override - public java.util.List + public java.util.List getServiceLevelObjectivesOrBuilderList() { return serviceLevelObjectives_; } /** + * + * *
    * The `ServiceLevelObjective`s matching the specified filter.
    * 
@@ -142,6 +173,8 @@ public int getServiceLevelObjectivesCount() { return serviceLevelObjectives_.size(); } /** + * + * *
    * The `ServiceLevelObjective`s matching the specified filter.
    * 
@@ -153,6 +186,8 @@ public com.google.monitoring.v3.ServiceLevelObjective getServiceLevelObjectives( return serviceLevelObjectives_.get(index); } /** + * + * *
    * The `ServiceLevelObjective`s matching the specified filter.
    * 
@@ -168,6 +203,8 @@ public com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder getServiceLevelOb public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -175,6 +212,7 @@ public com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder getServiceLevelOb
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -183,14 +221,15 @@ 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; } } /** + * + * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -198,16 +237,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +254,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +266,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < serviceLevelObjectives_.size(); i++) { output.writeMessage(1, serviceLevelObjectives_.get(i)); } @@ -245,8 +283,9 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < serviceLevelObjectives_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, serviceLevelObjectives_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, serviceLevelObjectives_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +298,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.monitoring.v3.ListServiceLevelObjectivesResponse)) { return super.equals(obj); } - com.google.monitoring.v3.ListServiceLevelObjectivesResponse other = (com.google.monitoring.v3.ListServiceLevelObjectivesResponse) obj; + com.google.monitoring.v3.ListServiceLevelObjectivesResponse other = + (com.google.monitoring.v3.ListServiceLevelObjectivesResponse) obj; - if (!getServiceLevelObjectivesList() - .equals(other.getServiceLevelObjectivesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getServiceLevelObjectivesList().equals(other.getServiceLevelObjectivesList())) + return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +332,127 @@ public int hashCode() { } public static com.google.monitoring.v3.ListServiceLevelObjectivesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListServiceLevelObjectivesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListServiceLevelObjectivesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListServiceLevelObjectivesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListServiceLevelObjectivesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListServiceLevelObjectivesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListServiceLevelObjectivesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ListServiceLevelObjectivesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListServiceLevelObjectivesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListServiceLevelObjectivesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ListServiceLevelObjectivesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListServiceLevelObjectivesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.ListServiceLevelObjectivesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListServiceLevelObjectivesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.ListServiceLevelObjectivesResponse prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.ListServiceLevelObjectivesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 `ListServiceLevelObjectives` response.
    * 
* * Protobuf type {@code google.monitoring.v3.ListServiceLevelObjectivesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListServiceLevelObjectivesResponse) com.google.monitoring.v3.ListServiceLevelObjectivesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_ListServiceLevelObjectivesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_ListServiceLevelObjectivesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_ListServiceLevelObjectivesResponse_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_ListServiceLevelObjectivesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListServiceLevelObjectivesResponse.class, com.google.monitoring.v3.ListServiceLevelObjectivesResponse.Builder.class); + com.google.monitoring.v3.ListServiceLevelObjectivesResponse.class, + com.google.monitoring.v3.ListServiceLevelObjectivesResponse.Builder.class); } // Construct using com.google.monitoring.v3.ListServiceLevelObjectivesResponse.newBuilder() @@ -411,17 +460,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getServiceLevelObjectivesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +486,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_ListServiceLevelObjectivesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_ListServiceLevelObjectivesResponse_descriptor; } @java.lang.Override @@ -458,7 +507,8 @@ public com.google.monitoring.v3.ListServiceLevelObjectivesResponse build() { @java.lang.Override public com.google.monitoring.v3.ListServiceLevelObjectivesResponse buildPartial() { - com.google.monitoring.v3.ListServiceLevelObjectivesResponse result = new com.google.monitoring.v3.ListServiceLevelObjectivesResponse(this); + com.google.monitoring.v3.ListServiceLevelObjectivesResponse result = + new com.google.monitoring.v3.ListServiceLevelObjectivesResponse(this); int from_bitField0_ = bitField0_; if (serviceLevelObjectivesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +528,39 @@ public com.google.monitoring.v3.ListServiceLevelObjectivesResponse 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.monitoring.v3.ListServiceLevelObjectivesResponse) { - return mergeFrom((com.google.monitoring.v3.ListServiceLevelObjectivesResponse)other); + return mergeFrom((com.google.monitoring.v3.ListServiceLevelObjectivesResponse) other); } else { super.mergeFrom(other); return this; @@ -517,7 +568,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.ListServiceLevelObjectivesResponse other) { - if (other == com.google.monitoring.v3.ListServiceLevelObjectivesResponse.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.ListServiceLevelObjectivesResponse.getDefaultInstance()) + return this; if (serviceLevelObjectivesBuilder_ == null) { if (!other.serviceLevelObjectives_.isEmpty()) { if (serviceLevelObjectives_.isEmpty()) { @@ -536,9 +588,10 @@ public Builder mergeFrom(com.google.monitoring.v3.ListServiceLevelObjectivesResp serviceLevelObjectivesBuilder_ = null; serviceLevelObjectives_ = other.serviceLevelObjectives_; bitField0_ = (bitField0_ & ~0x00000001); - serviceLevelObjectivesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getServiceLevelObjectivesFieldBuilder() : null; + serviceLevelObjectivesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getServiceLevelObjectivesFieldBuilder() + : null; } else { serviceLevelObjectivesBuilder_.addAllMessages(other.serviceLevelObjectives_); } @@ -567,7 +620,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.ListServiceLevelObjectivesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.ListServiceLevelObjectivesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,28 +630,39 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List serviceLevelObjectives_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureServiceLevelObjectivesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - serviceLevelObjectives_ = new java.util.ArrayList(serviceLevelObjectives_); + serviceLevelObjectives_ = + new java.util.ArrayList( + serviceLevelObjectives_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.ServiceLevelObjective, com.google.monitoring.v3.ServiceLevelObjective.Builder, com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder> serviceLevelObjectivesBuilder_; + com.google.monitoring.v3.ServiceLevelObjective, + com.google.monitoring.v3.ServiceLevelObjective.Builder, + com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder> + serviceLevelObjectivesBuilder_; /** + * + * *
      * The `ServiceLevelObjective`s matching the specified filter.
      * 
* - * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; + * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; + * */ - public java.util.List getServiceLevelObjectivesList() { + public java.util.List + getServiceLevelObjectivesList() { if (serviceLevelObjectivesBuilder_ == null) { return java.util.Collections.unmodifiableList(serviceLevelObjectives_); } else { @@ -605,11 +670,14 @@ public java.util.List getService } } /** + * + * *
      * The `ServiceLevelObjective`s matching the specified filter.
      * 
* - * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; + * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; + * */ public int getServiceLevelObjectivesCount() { if (serviceLevelObjectivesBuilder_ == null) { @@ -619,11 +687,14 @@ public int getServiceLevelObjectivesCount() { } } /** + * + * *
      * The `ServiceLevelObjective`s matching the specified filter.
      * 
* - * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; + * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; + * */ public com.google.monitoring.v3.ServiceLevelObjective getServiceLevelObjectives(int index) { if (serviceLevelObjectivesBuilder_ == null) { @@ -633,11 +704,14 @@ public com.google.monitoring.v3.ServiceLevelObjective getServiceLevelObjectives( } } /** + * + * *
      * The `ServiceLevelObjective`s matching the specified filter.
      * 
* - * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; + * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; + * */ public Builder setServiceLevelObjectives( int index, com.google.monitoring.v3.ServiceLevelObjective value) { @@ -654,11 +728,14 @@ public Builder setServiceLevelObjectives( return this; } /** + * + * *
      * The `ServiceLevelObjective`s matching the specified filter.
      * 
* - * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; + * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; + * */ public Builder setServiceLevelObjectives( int index, com.google.monitoring.v3.ServiceLevelObjective.Builder builderForValue) { @@ -672,11 +749,14 @@ public Builder setServiceLevelObjectives( return this; } /** + * + * *
      * The `ServiceLevelObjective`s matching the specified filter.
      * 
* - * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; + * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; + * */ public Builder addServiceLevelObjectives(com.google.monitoring.v3.ServiceLevelObjective value) { if (serviceLevelObjectivesBuilder_ == null) { @@ -692,11 +772,14 @@ public Builder addServiceLevelObjectives(com.google.monitoring.v3.ServiceLevelOb return this; } /** + * + * *
      * The `ServiceLevelObjective`s matching the specified filter.
      * 
* - * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; + * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; + * */ public Builder addServiceLevelObjectives( int index, com.google.monitoring.v3.ServiceLevelObjective value) { @@ -713,11 +796,14 @@ public Builder addServiceLevelObjectives( return this; } /** + * + * *
      * The `ServiceLevelObjective`s matching the specified filter.
      * 
* - * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; + * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; + * */ public Builder addServiceLevelObjectives( com.google.monitoring.v3.ServiceLevelObjective.Builder builderForValue) { @@ -731,11 +817,14 @@ public Builder addServiceLevelObjectives( return this; } /** + * + * *
      * The `ServiceLevelObjective`s matching the specified filter.
      * 
* - * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; + * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; + * */ public Builder addServiceLevelObjectives( int index, com.google.monitoring.v3.ServiceLevelObjective.Builder builderForValue) { @@ -749,18 +838,20 @@ public Builder addServiceLevelObjectives( return this; } /** + * + * *
      * The `ServiceLevelObjective`s matching the specified filter.
      * 
* - * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; + * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; + * */ public Builder addAllServiceLevelObjectives( java.lang.Iterable values) { if (serviceLevelObjectivesBuilder_ == null) { ensureServiceLevelObjectivesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, serviceLevelObjectives_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, serviceLevelObjectives_); onChanged(); } else { serviceLevelObjectivesBuilder_.addAllMessages(values); @@ -768,11 +859,14 @@ public Builder addAllServiceLevelObjectives( return this; } /** + * + * *
      * The `ServiceLevelObjective`s matching the specified filter.
      * 
* - * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; + * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; + * */ public Builder clearServiceLevelObjectives() { if (serviceLevelObjectivesBuilder_ == null) { @@ -785,11 +879,14 @@ public Builder clearServiceLevelObjectives() { return this; } /** + * + * *
      * The `ServiceLevelObjective`s matching the specified filter.
      * 
* - * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; + * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; + * */ public Builder removeServiceLevelObjectives(int index) { if (serviceLevelObjectivesBuilder_ == null) { @@ -802,39 +899,49 @@ public Builder removeServiceLevelObjectives(int index) { return this; } /** + * + * *
      * The `ServiceLevelObjective`s matching the specified filter.
      * 
* - * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; + * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; + * */ public com.google.monitoring.v3.ServiceLevelObjective.Builder getServiceLevelObjectivesBuilder( int index) { return getServiceLevelObjectivesFieldBuilder().getBuilder(index); } /** + * + * *
      * The `ServiceLevelObjective`s matching the specified filter.
      * 
* - * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; + * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; + * */ - public com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder getServiceLevelObjectivesOrBuilder( - int index) { + public com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder + getServiceLevelObjectivesOrBuilder(int index) { if (serviceLevelObjectivesBuilder_ == null) { - return serviceLevelObjectives_.get(index); } else { + return serviceLevelObjectives_.get(index); + } else { return serviceLevelObjectivesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The `ServiceLevelObjective`s matching the specified filter.
      * 
* - * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; + * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; + * */ - public java.util.List - getServiceLevelObjectivesOrBuilderList() { + public java.util.List + getServiceLevelObjectivesOrBuilderList() { if (serviceLevelObjectivesBuilder_ != null) { return serviceLevelObjectivesBuilder_.getMessageOrBuilderList(); } else { @@ -842,45 +949,61 @@ public com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder getServiceLevelOb } } /** + * + * *
      * The `ServiceLevelObjective`s matching the specified filter.
      * 
* - * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; + * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; + * */ - public com.google.monitoring.v3.ServiceLevelObjective.Builder addServiceLevelObjectivesBuilder() { - return getServiceLevelObjectivesFieldBuilder().addBuilder( - com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance()); + public com.google.monitoring.v3.ServiceLevelObjective.Builder + addServiceLevelObjectivesBuilder() { + return getServiceLevelObjectivesFieldBuilder() + .addBuilder(com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance()); } /** + * + * *
      * The `ServiceLevelObjective`s matching the specified filter.
      * 
* - * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; + * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; + * */ public com.google.monitoring.v3.ServiceLevelObjective.Builder addServiceLevelObjectivesBuilder( int index) { - return getServiceLevelObjectivesFieldBuilder().addBuilder( - index, com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance()); + return getServiceLevelObjectivesFieldBuilder() + .addBuilder(index, com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance()); } /** + * + * *
      * The `ServiceLevelObjective`s matching the specified filter.
      * 
* - * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; + * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; + * */ - public java.util.List - getServiceLevelObjectivesBuilderList() { + public java.util.List + getServiceLevelObjectivesBuilderList() { return getServiceLevelObjectivesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.ServiceLevelObjective, com.google.monitoring.v3.ServiceLevelObjective.Builder, com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder> + com.google.monitoring.v3.ServiceLevelObjective, + com.google.monitoring.v3.ServiceLevelObjective.Builder, + com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder> getServiceLevelObjectivesFieldBuilder() { if (serviceLevelObjectivesBuilder_ == null) { - serviceLevelObjectivesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.ServiceLevelObjective, com.google.monitoring.v3.ServiceLevelObjective.Builder, com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder>( + serviceLevelObjectivesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.monitoring.v3.ServiceLevelObjective, + com.google.monitoring.v3.ServiceLevelObjective.Builder, + com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder>( serviceLevelObjectives_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -892,6 +1015,8 @@ public com.google.monitoring.v3.ServiceLevelObjective.Builder addServiceLevelObj private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -899,13 +1024,13 @@ public com.google.monitoring.v3.ServiceLevelObjective.Builder addServiceLevelObj
      * 
* * 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; @@ -914,6 +1039,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -921,15 +1048,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -937,6 +1063,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -944,20 +1072,22 @@ public java.lang.String getNextPageToken() {
      * 
* * 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; } /** + * + * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -965,15 +1095,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -981,23 +1114,23 @@ public Builder clearNextPageToken() {
      * 
* * 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); } @@ -1007,12 +1140,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListServiceLevelObjectivesResponse) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListServiceLevelObjectivesResponse) private static final com.google.monitoring.v3.ListServiceLevelObjectivesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListServiceLevelObjectivesResponse(); } @@ -1021,16 +1154,16 @@ public static com.google.monitoring.v3.ListServiceLevelObjectivesResponse getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListServiceLevelObjectivesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListServiceLevelObjectivesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListServiceLevelObjectivesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListServiceLevelObjectivesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1045,6 +1178,4 @@ public com.google.protobuf.Parser getParserF public com.google.monitoring.v3.ListServiceLevelObjectivesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesResponseOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesResponseOrBuilder.java similarity index 74% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesResponseOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesResponseOrBuilder.java index 8e3b4609..03df5937 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesResponseOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServiceLevelObjectivesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/service_service.proto package com.google.monitoring.v3; -public interface ListServiceLevelObjectivesResponseOrBuilder extends +public interface ListServiceLevelObjectivesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListServiceLevelObjectivesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The `ServiceLevelObjective`s matching the specified filter.
    * 
* * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; */ - java.util.List - getServiceLevelObjectivesList(); + java.util.List getServiceLevelObjectivesList(); /** + * + * *
    * The `ServiceLevelObjective`s matching the specified filter.
    * 
@@ -25,6 +44,8 @@ public interface ListServiceLevelObjectivesResponseOrBuilder extends */ com.google.monitoring.v3.ServiceLevelObjective getServiceLevelObjectives(int index); /** + * + * *
    * The `ServiceLevelObjective`s matching the specified filter.
    * 
@@ -33,15 +54,19 @@ public interface ListServiceLevelObjectivesResponseOrBuilder extends */ int getServiceLevelObjectivesCount(); /** + * + * *
    * The `ServiceLevelObjective`s matching the specified filter.
    * 
* * repeated .google.monitoring.v3.ServiceLevelObjective service_level_objectives = 1; */ - java.util.List + java.util.List getServiceLevelObjectivesOrBuilderList(); /** + * + * *
    * The `ServiceLevelObjective`s matching the specified filter.
    * 
@@ -52,6 +77,8 @@ com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder getServiceLevelObjective int index); /** + * + * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -59,10 +86,13 @@ com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder getServiceLevelObjective
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -70,8 +100,8 @@ com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder getServiceLevelObjective
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesRequest.java similarity index 76% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesRequest.java index 51ff457d..1f0ac0da 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/service_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `ListServices` request.
  * 
* * Protobuf type {@code google.monitoring.v3.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.monitoring.v3.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() { parent_ = ""; filter_ = ""; @@ -27,16 +45,15 @@ 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; } + private ListServicesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,64 +72,71 @@ private ListServicesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - filter_ = s; - break; - } - case 24: { + parent_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 24: + { + pageSize_ = input.readInt32(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_ListServicesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_ListServicesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_ListServicesRequest_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_ListServicesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListServicesRequest.class, com.google.monitoring.v3.ListServicesRequest.Builder.class); + com.google.monitoring.v3.ListServicesRequest.class, + com.google.monitoring.v3.ListServicesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Resource name of the parent containing the listed services, either a
    * [project](https://cloud.google.com/monitoring/api/v3#project_name) or a
@@ -121,7 +145,10 @@ private ListServicesRequest(
    *     workspaces/[HOST_PROJECT_ID_OR_NUMBER]
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -130,14 +157,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Resource name of the parent containing the listed services, either a
    * [project](https://cloud.google.com/monitoring/api/v3#project_name) or a
@@ -146,17 +174,18 @@ public java.lang.String getParent() {
    *     workspaces/[HOST_PROJECT_ID_OR_NUMBER]
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -167,6 +196,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** + * + * *
    * A filter specifying what `Service`s to return. The filter currently
    * supports the following fields:
@@ -188,6 +219,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 2; + * * @return The filter. */ @java.lang.Override @@ -196,14 +228,15 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * A filter specifying what `Service`s to return. The filter currently
    * supports the following fields:
@@ -225,16 +258,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2; + * * @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 { @@ -245,12 +277,15 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * A non-negative number that is the maximum number of results to return.
    * When 0, use default page size.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -261,6 +296,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** + * + * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -268,6 +305,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -276,14 +314,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -291,16 +330,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -309,6 +347,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -320,8 +359,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -350,8 +388,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -364,21 +401,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.monitoring.v3.ListServicesRequest)) { return super.equals(obj); } - com.google.monitoring.v3.ListServicesRequest other = (com.google.monitoring.v3.ListServicesRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + com.google.monitoring.v3.ListServicesRequest other = + (com.google.monitoring.v3.ListServicesRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -403,118 +437,127 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.ListServicesRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.ListServicesRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.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.monitoring.v3.ListServicesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.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.monitoring.v3.ListServicesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.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.monitoring.v3.ListServicesRequest 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.monitoring.v3.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.monitoring.v3.ListServicesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ListServicesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.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.monitoring.v3.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.monitoring.v3.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.monitoring.v3.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; } /** + * + * *
    * The `ListServices` request.
    * 
* * Protobuf type {@code google.monitoring.v3.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.monitoring.v3.ListServicesRequest) com.google.monitoring.v3.ListServicesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_ListServicesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_ListServicesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_ListServicesRequest_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_ListServicesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListServicesRequest.class, com.google.monitoring.v3.ListServicesRequest.Builder.class); + com.google.monitoring.v3.ListServicesRequest.class, + com.google.monitoring.v3.ListServicesRequest.Builder.class); } // Construct using com.google.monitoring.v3.ListServicesRequest.newBuilder() @@ -522,16 +565,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -547,9 +589,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_ListServicesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_ListServicesRequest_descriptor; } @java.lang.Override @@ -568,7 +610,8 @@ public com.google.monitoring.v3.ListServicesRequest build() { @java.lang.Override public com.google.monitoring.v3.ListServicesRequest buildPartial() { - com.google.monitoring.v3.ListServicesRequest result = new com.google.monitoring.v3.ListServicesRequest(this); + com.google.monitoring.v3.ListServicesRequest result = + new com.google.monitoring.v3.ListServicesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -581,38 +624,39 @@ public com.google.monitoring.v3.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.monitoring.v3.ListServicesRequest) { - return mergeFrom((com.google.monitoring.v3.ListServicesRequest)other); + return mergeFrom((com.google.monitoring.v3.ListServicesRequest) other); } else { super.mergeFrom(other); return this; @@ -667,6 +711,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Resource name of the parent containing the listed services, either a
      * [project](https://cloud.google.com/monitoring/api/v3#project_name) or a
@@ -675,14 +721,16 @@ public Builder mergeFrom(
      *     workspaces/[HOST_PROJECT_ID_OR_NUMBER]
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -691,6 +739,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the parent containing the listed services, either a
      * [project](https://cloud.google.com/monitoring/api/v3#project_name) or a
@@ -699,16 +749,17 @@ public java.lang.String getParent() {
      *     workspaces/[HOST_PROJECT_ID_OR_NUMBER]
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -716,6 +767,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the parent containing the listed services, either a
      * [project](https://cloud.google.com/monitoring/api/v3#project_name) or a
@@ -724,21 +777,25 @@ public java.lang.String getParent() {
      *     workspaces/[HOST_PROJECT_ID_OR_NUMBER]
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the parent containing the listed services, either a
      * [project](https://cloud.google.com/monitoring/api/v3#project_name) or a
@@ -747,16 +804,21 @@ public Builder setParent(
      *     workspaces/[HOST_PROJECT_ID_OR_NUMBER]
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the parent containing the listed services, either a
      * [project](https://cloud.google.com/monitoring/api/v3#project_name) or a
@@ -765,17 +827,19 @@ public Builder clearParent() {
      *     workspaces/[HOST_PROJECT_ID_OR_NUMBER]
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -783,6 +847,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * A filter specifying what `Service`s to return. The filter currently
      * supports the following fields:
@@ -804,13 +870,13 @@ public Builder setParentBytes(
      * 
* * string filter = 2; + * * @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; @@ -819,6 +885,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * A filter specifying what `Service`s to return. The filter currently
      * supports the following fields:
@@ -840,15 +908,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; + * * @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 { @@ -856,6 +923,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * A filter specifying what `Service`s to return. The filter currently
      * supports the following fields:
@@ -877,20 +946,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * A filter specifying what `Service`s to return. The filter currently
      * supports the following fields:
@@ -912,15 +983,18 @@ public Builder setFilter(
      * 
* * string filter = 2; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * A filter specifying what `Service`s to return. The filter currently
      * supports the following fields:
@@ -942,29 +1016,32 @@ public Builder clearFilter() {
      * 
* * string filter = 2; + * * @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; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * A non-negative number that is the maximum number of results to return.
      * When 0, use default page size.
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -972,32 +1049,38 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * A non-negative number that is the maximum number of results to return.
      * When 0, use default page size.
      * 
* * 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; } /** + * + * *
      * A non-negative number that is the maximum number of results to return.
      * When 0, use default page size.
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1005,6 +1088,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1012,13 +1097,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1027,6 +1112,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1034,15 +1121,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1050,6 +1136,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1057,20 +1145,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1078,15 +1168,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -1094,23 +1187,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1120,12 +1213,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListServicesRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListServicesRequest) private static final com.google.monitoring.v3.ListServicesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListServicesRequest(); } @@ -1134,16 +1227,16 @@ public static com.google.monitoring.v3.ListServicesRequest getDefaultInstance() 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 { - return new ListServicesRequest(input, extensionRegistry); - } - }; + 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 { + return new ListServicesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1158,6 +1251,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.ListServicesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesRequestOrBuilder.java similarity index 77% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesRequestOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesRequestOrBuilder.java index 0216730d..733ee04f 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/service_service.proto package com.google.monitoring.v3; -public interface ListServicesRequestOrBuilder extends +public interface ListServicesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListServicesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the parent containing the listed services, either a
    * [project](https://cloud.google.com/monitoring/api/v3#project_name) or a
@@ -16,11 +34,16 @@ public interface ListServicesRequestOrBuilder extends
    *     workspaces/[HOST_PROJECT_ID_OR_NUMBER]
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Resource name of the parent containing the listed services, either a
    * [project](https://cloud.google.com/monitoring/api/v3#project_name) or a
@@ -29,13 +52,17 @@ public interface ListServicesRequestOrBuilder extends
    *     workspaces/[HOST_PROJECT_ID_OR_NUMBER]
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * A filter specifying what `Service`s to return. The filter currently
    * supports the following fields:
@@ -57,10 +84,13 @@ public interface ListServicesRequestOrBuilder extends
    * 
* * string filter = 2; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * A filter specifying what `Service`s to return. The filter currently
    * supports the following fields:
@@ -82,23 +112,28 @@ public interface ListServicesRequestOrBuilder extends
    * 
* * string filter = 2; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * A non-negative number that is the maximum number of results to return.
    * When 0, use default page size.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -106,10 +141,13 @@ public interface ListServicesRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -117,8 +155,8 @@ public interface ListServicesRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesResponse.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesResponse.java similarity index 75% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesResponse.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesResponse.java index d39ff9f8..55eb2776 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesResponse.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/service_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `ListServices` response.
  * 
* * Protobuf type {@code google.monitoring.v3.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.monitoring.v3.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_ = ""; @@ -26,16 +44,15 @@ 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; } + private ListServicesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,35 +72,36 @@ private ListServicesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - services_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + services_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + services_.add( + input.readMessage(com.google.monitoring.v3.Service.parser(), extensionRegistry)); + break; } - services_.add( - input.readMessage(com.google.monitoring.v3.Service.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { services_ = java.util.Collections.unmodifiableList(services_); @@ -92,22 +110,27 @@ private ListServicesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_ListServicesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_ListServicesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_ListServicesResponse_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_ListServicesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListServicesResponse.class, com.google.monitoring.v3.ListServicesResponse.Builder.class); + com.google.monitoring.v3.ListServicesResponse.class, + com.google.monitoring.v3.ListServicesResponse.Builder.class); } public static final int SERVICES_FIELD_NUMBER = 1; private java.util.List services_; /** + * + * *
    * The `Service`s matching the specified filter.
    * 
@@ -119,6 +142,8 @@ public java.util.List getServicesList() { return services_; } /** + * + * *
    * The `Service`s matching the specified filter.
    * 
@@ -126,11 +151,13 @@ public java.util.List getServicesList() { * repeated .google.monitoring.v3.Service services = 1; */ @java.lang.Override - public java.util.List + public java.util.List getServicesOrBuilderList() { return services_; } /** + * + * *
    * The `Service`s matching the specified filter.
    * 
@@ -142,6 +169,8 @@ public int getServicesCount() { return services_.size(); } /** + * + * *
    * The `Service`s matching the specified filter.
    * 
@@ -153,6 +182,8 @@ public com.google.monitoring.v3.Service getServices(int index) { return services_.get(index); } /** + * + * *
    * The `Service`s matching the specified filter.
    * 
@@ -160,14 +191,15 @@ public com.google.monitoring.v3.Service getServices(int index) { * repeated .google.monitoring.v3.Service services = 1; */ @java.lang.Override - public com.google.monitoring.v3.ServiceOrBuilder getServicesOrBuilder( - int index) { + public com.google.monitoring.v3.ServiceOrBuilder getServicesOrBuilder(int index) { return services_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -175,6 +207,7 @@ public com.google.monitoring.v3.ServiceOrBuilder getServicesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -183,14 +216,15 @@ 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; } } /** + * + * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -198,16 +232,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +249,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +261,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < services_.size(); i++) { output.writeMessage(1, services_.get(i)); } @@ -245,8 +278,7 @@ 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_); @@ -259,17 +291,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.ListServicesResponse)) { return super.equals(obj); } - com.google.monitoring.v3.ListServicesResponse other = (com.google.monitoring.v3.ListServicesResponse) obj; + com.google.monitoring.v3.ListServicesResponse other = + (com.google.monitoring.v3.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -292,118 +323,127 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.ListServicesResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.ListServicesResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.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.monitoring.v3.ListServicesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.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.monitoring.v3.ListServicesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.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.monitoring.v3.ListServicesResponse 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.monitoring.v3.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.monitoring.v3.ListServicesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ListServicesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.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.monitoring.v3.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.monitoring.v3.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.monitoring.v3.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; } /** + * + * *
    * The `ListServices` response.
    * 
* * Protobuf type {@code google.monitoring.v3.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.monitoring.v3.ListServicesResponse) com.google.monitoring.v3.ListServicesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_ListServicesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_ListServicesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_ListServicesResponse_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_ListServicesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListServicesResponse.class, com.google.monitoring.v3.ListServicesResponse.Builder.class); + com.google.monitoring.v3.ListServicesResponse.class, + com.google.monitoring.v3.ListServicesResponse.Builder.class); } // Construct using com.google.monitoring.v3.ListServicesResponse.newBuilder() @@ -411,17 +451,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getServicesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +477,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_ListServicesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_ListServicesResponse_descriptor; } @java.lang.Override @@ -458,7 +498,8 @@ public com.google.monitoring.v3.ListServicesResponse build() { @java.lang.Override public com.google.monitoring.v3.ListServicesResponse buildPartial() { - com.google.monitoring.v3.ListServicesResponse result = new com.google.monitoring.v3.ListServicesResponse(this); + com.google.monitoring.v3.ListServicesResponse result = + new com.google.monitoring.v3.ListServicesResponse(this); int from_bitField0_ = bitField0_; if (servicesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +519,39 @@ public com.google.monitoring.v3.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.monitoring.v3.ListServicesResponse) { - return mergeFrom((com.google.monitoring.v3.ListServicesResponse)other); + return mergeFrom((com.google.monitoring.v3.ListServicesResponse) other); } else { super.mergeFrom(other); return this; @@ -536,9 +578,10 @@ public Builder mergeFrom(com.google.monitoring.v3.ListServicesResponse other) { 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_); } @@ -576,21 +619,28 @@ public Builder mergeFrom( } 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_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.Service, com.google.monitoring.v3.Service.Builder, com.google.monitoring.v3.ServiceOrBuilder> servicesBuilder_; + com.google.monitoring.v3.Service, + com.google.monitoring.v3.Service.Builder, + com.google.monitoring.v3.ServiceOrBuilder> + servicesBuilder_; /** + * + * *
      * The `Service`s matching the specified filter.
      * 
@@ -605,6 +655,8 @@ public java.util.List getServicesList() { } } /** + * + * *
      * The `Service`s matching the specified filter.
      * 
@@ -619,6 +671,8 @@ public int getServicesCount() { } } /** + * + * *
      * The `Service`s matching the specified filter.
      * 
@@ -633,14 +687,15 @@ public com.google.monitoring.v3.Service getServices(int index) { } } /** + * + * *
      * The `Service`s matching the specified filter.
      * 
* * repeated .google.monitoring.v3.Service services = 1; */ - public Builder setServices( - int index, com.google.monitoring.v3.Service value) { + public Builder setServices(int index, com.google.monitoring.v3.Service value) { if (servicesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,6 +709,8 @@ public Builder setServices( return this; } /** + * + * *
      * The `Service`s matching the specified filter.
      * 
@@ -672,6 +729,8 @@ public Builder setServices( return this; } /** + * + * *
      * The `Service`s matching the specified filter.
      * 
@@ -692,14 +751,15 @@ public Builder addServices(com.google.monitoring.v3.Service value) { return this; } /** + * + * *
      * The `Service`s matching the specified filter.
      * 
* * repeated .google.monitoring.v3.Service services = 1; */ - public Builder addServices( - int index, com.google.monitoring.v3.Service value) { + public Builder addServices(int index, com.google.monitoring.v3.Service value) { if (servicesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,14 +773,15 @@ public Builder addServices( return this; } /** + * + * *
      * The `Service`s matching the specified filter.
      * 
* * repeated .google.monitoring.v3.Service services = 1; */ - public Builder addServices( - com.google.monitoring.v3.Service.Builder builderForValue) { + public Builder addServices(com.google.monitoring.v3.Service.Builder builderForValue) { if (servicesBuilder_ == null) { ensureServicesIsMutable(); services_.add(builderForValue.build()); @@ -731,6 +792,8 @@ public Builder addServices( return this; } /** + * + * *
      * The `Service`s matching the specified filter.
      * 
@@ -749,6 +812,8 @@ public Builder addServices( return this; } /** + * + * *
      * The `Service`s matching the specified filter.
      * 
@@ -759,8 +824,7 @@ 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); @@ -768,6 +832,8 @@ public Builder addAllServices( return this; } /** + * + * *
      * The `Service`s matching the specified filter.
      * 
@@ -785,6 +851,8 @@ public Builder clearServices() { return this; } /** + * + * *
      * The `Service`s matching the specified filter.
      * 
@@ -802,39 +870,44 @@ public Builder removeServices(int index) { return this; } /** + * + * *
      * The `Service`s matching the specified filter.
      * 
* * repeated .google.monitoring.v3.Service services = 1; */ - public com.google.monitoring.v3.Service.Builder getServicesBuilder( - int index) { + public com.google.monitoring.v3.Service.Builder getServicesBuilder(int index) { return getServicesFieldBuilder().getBuilder(index); } /** + * + * *
      * The `Service`s matching the specified filter.
      * 
* * repeated .google.monitoring.v3.Service services = 1; */ - public com.google.monitoring.v3.ServiceOrBuilder getServicesOrBuilder( - int index) { + public com.google.monitoring.v3.ServiceOrBuilder getServicesOrBuilder(int index) { if (servicesBuilder_ == null) { - return services_.get(index); } else { + return services_.get(index); + } else { return servicesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The `Service`s matching the specified filter.
      * 
* * repeated .google.monitoring.v3.Service services = 1; */ - public java.util.List - getServicesOrBuilderList() { + public java.util.List + getServicesOrBuilderList() { if (servicesBuilder_ != null) { return servicesBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +915,8 @@ public com.google.monitoring.v3.ServiceOrBuilder getServicesOrBuilder( } } /** + * + * *
      * The `Service`s matching the specified filter.
      * 
@@ -849,42 +924,47 @@ public com.google.monitoring.v3.ServiceOrBuilder getServicesOrBuilder( * repeated .google.monitoring.v3.Service services = 1; */ public com.google.monitoring.v3.Service.Builder addServicesBuilder() { - return getServicesFieldBuilder().addBuilder( - com.google.monitoring.v3.Service.getDefaultInstance()); + return getServicesFieldBuilder() + .addBuilder(com.google.monitoring.v3.Service.getDefaultInstance()); } /** + * + * *
      * The `Service`s matching the specified filter.
      * 
* * repeated .google.monitoring.v3.Service services = 1; */ - public com.google.monitoring.v3.Service.Builder addServicesBuilder( - int index) { - return getServicesFieldBuilder().addBuilder( - index, com.google.monitoring.v3.Service.getDefaultInstance()); + public com.google.monitoring.v3.Service.Builder addServicesBuilder(int index) { + return getServicesFieldBuilder() + .addBuilder(index, com.google.monitoring.v3.Service.getDefaultInstance()); } /** + * + * *
      * The `Service`s matching the specified filter.
      * 
* * repeated .google.monitoring.v3.Service services = 1; */ - public java.util.List - getServicesBuilderList() { + public java.util.List getServicesBuilderList() { return getServicesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.Service, com.google.monitoring.v3.Service.Builder, com.google.monitoring.v3.ServiceOrBuilder> + com.google.monitoring.v3.Service, + com.google.monitoring.v3.Service.Builder, + com.google.monitoring.v3.ServiceOrBuilder> getServicesFieldBuilder() { if (servicesBuilder_ == null) { - servicesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.Service, com.google.monitoring.v3.Service.Builder, com.google.monitoring.v3.ServiceOrBuilder>( - services_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + servicesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.monitoring.v3.Service, + com.google.monitoring.v3.Service.Builder, + com.google.monitoring.v3.ServiceOrBuilder>( + services_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); services_ = null; } return servicesBuilder_; @@ -892,6 +972,8 @@ public com.google.monitoring.v3.Service.Builder addServicesBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -899,13 +981,13 @@ public com.google.monitoring.v3.Service.Builder addServicesBuilder(
      * 
* * 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; @@ -914,6 +996,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -921,15 +1005,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -937,6 +1020,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -944,20 +1029,22 @@ public java.lang.String getNextPageToken() {
      * 
* * 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; } /** + * + * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -965,15 +1052,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -981,23 +1071,23 @@ public Builder clearNextPageToken() {
      * 
* * 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); } @@ -1007,12 +1097,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListServicesResponse) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListServicesResponse) private static final com.google.monitoring.v3.ListServicesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListServicesResponse(); } @@ -1021,16 +1111,16 @@ public static com.google.monitoring.v3.ListServicesResponse getDefaultInstance() 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 { - return new ListServicesResponse(input, extensionRegistry); - } - }; + 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 { + return new ListServicesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1045,6 +1135,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.ListServicesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesResponseOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesResponseOrBuilder.java similarity index 68% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesResponseOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesResponseOrBuilder.java index c5573ae9..b5d24acc 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesResponseOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListServicesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/service_service.proto package com.google.monitoring.v3; -public interface ListServicesResponseOrBuilder extends +public interface ListServicesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListServicesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The `Service`s matching the specified filter.
    * 
* * repeated .google.monitoring.v3.Service services = 1; */ - java.util.List - getServicesList(); + java.util.List getServicesList(); /** + * + * *
    * The `Service`s matching the specified filter.
    * 
@@ -25,6 +44,8 @@ public interface ListServicesResponseOrBuilder extends */ com.google.monitoring.v3.Service getServices(int index); /** + * + * *
    * The `Service`s matching the specified filter.
    * 
@@ -33,25 +54,29 @@ public interface ListServicesResponseOrBuilder extends */ int getServicesCount(); /** + * + * *
    * The `Service`s matching the specified filter.
    * 
* * repeated .google.monitoring.v3.Service services = 1; */ - java.util.List - getServicesOrBuilderList(); + java.util.List getServicesOrBuilderList(); /** + * + * *
    * The `Service`s matching the specified filter.
    * 
* * repeated .google.monitoring.v3.Service services = 1; */ - com.google.monitoring.v3.ServiceOrBuilder getServicesOrBuilder( - int index); + com.google.monitoring.v3.ServiceOrBuilder getServicesOrBuilder(int index); /** + * + * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -59,10 +84,13 @@ com.google.monitoring.v3.ServiceOrBuilder getServicesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -70,8 +98,8 @@ com.google.monitoring.v3.ServiceOrBuilder getServicesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesRequest.java similarity index 73% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesRequest.java index 1b183c7c..ef6a587b 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `ListTimeSeries` request.
  * 
* * Protobuf type {@code google.monitoring.v3.ListTimeSeriesRequest} */ -public final class ListTimeSeriesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTimeSeriesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListTimeSeriesRequest) ListTimeSeriesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTimeSeriesRequest.newBuilder() to construct. private ListTimeSeriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTimeSeriesRequest() { name_ = ""; filter_ = ""; @@ -29,16 +47,15 @@ private ListTimeSeriesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTimeSeriesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListTimeSeriesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,122 +74,141 @@ private ListTimeSeriesRequest( case 0: done = true; break; - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 34: { - com.google.monitoring.v3.TimeInterval.Builder subBuilder = null; - if (interval_ != null) { - subBuilder = interval_.toBuilder(); - } - interval_ = input.readMessage(com.google.monitoring.v3.TimeInterval.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(interval_); - interval_ = subBuilder.buildPartial(); + filter_ = s; + break; } - - break; - } - case 42: { - com.google.monitoring.v3.Aggregation.Builder subBuilder = null; - if (aggregation_ != null) { - subBuilder = aggregation_.toBuilder(); + case 34: + { + com.google.monitoring.v3.TimeInterval.Builder subBuilder = null; + if (interval_ != null) { + subBuilder = interval_.toBuilder(); + } + interval_ = + input.readMessage( + com.google.monitoring.v3.TimeInterval.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(interval_); + interval_ = subBuilder.buildPartial(); + } + + break; } - aggregation_ = input.readMessage(com.google.monitoring.v3.Aggregation.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(aggregation_); - aggregation_ = subBuilder.buildPartial(); + case 42: + { + com.google.monitoring.v3.Aggregation.Builder subBuilder = null; + if (aggregation_ != null) { + subBuilder = aggregation_.toBuilder(); + } + aggregation_ = + input.readMessage( + com.google.monitoring.v3.Aggregation.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(aggregation_); + aggregation_ = subBuilder.buildPartial(); + } + + break; } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - - orderBy_ = s; - break; - } - case 56: { - int rawValue = input.readEnum(); - - view_ = rawValue; - break; - } - case 64: { + orderBy_ = s; + break; + } + case 56: + { + int rawValue = input.readEnum(); - pageSize_ = input.readInt32(); - break; - } - case 74: { - java.lang.String s = input.readStringRequireUtf8(); + view_ = rawValue; + break; + } + case 64: + { + pageSize_ = input.readInt32(); + break; + } + case 74: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 82: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 82: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 90: { - com.google.monitoring.v3.Aggregation.Builder subBuilder = null; - if (secondaryAggregation_ != null) { - subBuilder = secondaryAggregation_.toBuilder(); + name_ = s; + break; } - secondaryAggregation_ = input.readMessage(com.google.monitoring.v3.Aggregation.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(secondaryAggregation_); - secondaryAggregation_ = subBuilder.buildPartial(); + case 90: + { + com.google.monitoring.v3.Aggregation.Builder subBuilder = null; + if (secondaryAggregation_ != null) { + subBuilder = secondaryAggregation_.toBuilder(); + } + secondaryAggregation_ = + input.readMessage( + com.google.monitoring.v3.Aggregation.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(secondaryAggregation_); + secondaryAggregation_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListTimeSeriesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_ListTimeSeriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListTimeSeriesRequest_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_ListTimeSeriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListTimeSeriesRequest.class, com.google.monitoring.v3.ListTimeSeriesRequest.Builder.class); + com.google.monitoring.v3.ListTimeSeriesRequest.class, + com.google.monitoring.v3.ListTimeSeriesRequest.Builder.class); } /** + * + * *
    * Controls which fields are returned by `ListTimeSeries`.
    * 
* * Protobuf enum {@code google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView} */ - public enum TimeSeriesView - implements com.google.protobuf.ProtocolMessageEnum { + public enum TimeSeriesView implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Returns the identity of the metric(s), the time series,
      * and the time series data.
@@ -182,6 +218,8 @@ public enum TimeSeriesView
      */
     FULL(0),
     /**
+     *
+     *
      * 
      * Returns the identity of the metric and the time series resource,
      * but not the time series data.
@@ -194,6 +232,8 @@ public enum TimeSeriesView
     ;
 
     /**
+     *
+     *
      * 
      * Returns the identity of the metric(s), the time series,
      * and the time series data.
@@ -203,6 +243,8 @@ public enum TimeSeriesView
      */
     public static final int FULL_VALUE = 0;
     /**
+     *
+     *
      * 
      * Returns the identity of the metric and the time series resource,
      * but not the time series data.
@@ -212,7 +254,6 @@ public enum TimeSeriesView
      */
     public static final int HEADERS_VALUE = 1;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -237,48 +278,47 @@ public static TimeSeriesView valueOf(int value) {
      */
     public static TimeSeriesView forNumber(int value) {
       switch (value) {
-        case 0: return FULL;
-        case 1: return HEADERS;
-        default: return null;
+        case 0:
+          return FULL;
+        case 1:
+          return HEADERS;
+        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<
-        TimeSeriesView> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public TimeSeriesView findValueByNumber(int number) {
-              return TimeSeriesView.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public TimeSeriesView findValueByNumber(int number) {
+            return TimeSeriesView.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.monitoring.v3.ListTimeSeriesRequest.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final TimeSeriesView[] VALUES = values();
 
-    public static TimeSeriesView valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static TimeSeriesView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -298,6 +338,8 @@ private TimeSeriesView(int value) {
   public static final int NAME_FIELD_NUMBER = 10;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name),
    * organization or folder on which to execute the request. The format is:
@@ -306,7 +348,10 @@ private TimeSeriesView(int value) {
    *     folders/[FOLDER_ID]
    * 
* - * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -315,14 +360,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name),
    * organization or folder on which to execute the request. The format is:
@@ -331,17 +377,18 @@ public java.lang.String getName() {
    *     folders/[FOLDER_ID]
    * 
* - * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -352,6 +399,8 @@ public java.lang.String getName() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** + * + * *
    * Required. A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * that specifies which time series should be returned.  The filter must
@@ -362,6 +411,7 @@ public java.lang.String getName() {
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ @java.lang.Override @@ -370,14 +420,15 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Required. A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * that specifies which time series should be returned.  The filter must
@@ -388,16 +439,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2 [(.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 { @@ -408,13 +458,18 @@ public java.lang.String getFilter() { public static final int INTERVAL_FIELD_NUMBER = 4; private com.google.monitoring.v3.TimeInterval interval_; /** + * + * *
    * Required. The time interval for which results should be returned. Only time series
    * that contain data points in the specified interval are included
    * in the response.
    * 
* - * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the interval field is set. */ @java.lang.Override @@ -422,27 +477,38 @@ public boolean hasInterval() { return interval_ != null; } /** + * + * *
    * Required. The time interval for which results should be returned. Only time series
    * that contain data points in the specified interval are included
    * in the response.
    * 
* - * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The interval. */ @java.lang.Override public com.google.monitoring.v3.TimeInterval getInterval() { - return interval_ == null ? com.google.monitoring.v3.TimeInterval.getDefaultInstance() : interval_; + return interval_ == null + ? com.google.monitoring.v3.TimeInterval.getDefaultInstance() + : interval_; } /** + * + * *
    * Required. The time interval for which results should be returned. Only time series
    * that contain data points in the specified interval are included
    * in the response.
    * 
* - * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.monitoring.v3.TimeIntervalOrBuilder getIntervalOrBuilder() { @@ -452,6 +518,8 @@ public com.google.monitoring.v3.TimeIntervalOrBuilder getIntervalOrBuilder() { public static final int AGGREGATION_FIELD_NUMBER = 5; private com.google.monitoring.v3.Aggregation aggregation_; /** + * + * *
    * Specifies the alignment of data points in individual time series as
    * well as how to combine the retrieved time series across specified labels.
@@ -460,6 +528,7 @@ public com.google.monitoring.v3.TimeIntervalOrBuilder getIntervalOrBuilder() {
    * 
* * .google.monitoring.v3.Aggregation aggregation = 5; + * * @return Whether the aggregation field is set. */ @java.lang.Override @@ -467,6 +536,8 @@ public boolean hasAggregation() { return aggregation_ != null; } /** + * + * *
    * Specifies the alignment of data points in individual time series as
    * well as how to combine the retrieved time series across specified labels.
@@ -475,13 +546,18 @@ public boolean hasAggregation() {
    * 
* * .google.monitoring.v3.Aggregation aggregation = 5; + * * @return The aggregation. */ @java.lang.Override public com.google.monitoring.v3.Aggregation getAggregation() { - return aggregation_ == null ? com.google.monitoring.v3.Aggregation.getDefaultInstance() : aggregation_; + return aggregation_ == null + ? com.google.monitoring.v3.Aggregation.getDefaultInstance() + : aggregation_; } /** + * + * *
    * Specifies the alignment of data points in individual time series as
    * well as how to combine the retrieved time series across specified labels.
@@ -499,12 +575,15 @@ public com.google.monitoring.v3.AggregationOrBuilder getAggregationOrBuilder() {
   public static final int SECONDARY_AGGREGATION_FIELD_NUMBER = 11;
   private com.google.monitoring.v3.Aggregation secondaryAggregation_;
   /**
+   *
+   *
    * 
    * Apply a second aggregation after `aggregation` is applied. May only be
    * specified if `aggregation` is specified.
    * 
* * .google.monitoring.v3.Aggregation secondary_aggregation = 11; + * * @return Whether the secondaryAggregation field is set. */ @java.lang.Override @@ -512,19 +591,26 @@ public boolean hasSecondaryAggregation() { return secondaryAggregation_ != null; } /** + * + * *
    * Apply a second aggregation after `aggregation` is applied. May only be
    * specified if `aggregation` is specified.
    * 
* * .google.monitoring.v3.Aggregation secondary_aggregation = 11; + * * @return The secondaryAggregation. */ @java.lang.Override public com.google.monitoring.v3.Aggregation getSecondaryAggregation() { - return secondaryAggregation_ == null ? com.google.monitoring.v3.Aggregation.getDefaultInstance() : secondaryAggregation_; + return secondaryAggregation_ == null + ? com.google.monitoring.v3.Aggregation.getDefaultInstance() + : secondaryAggregation_; } /** + * + * *
    * Apply a second aggregation after `aggregation` is applied. May only be
    * specified if `aggregation` is specified.
@@ -540,12 +626,15 @@ public com.google.monitoring.v3.AggregationOrBuilder getSecondaryAggregationOrBu
   public static final int ORDER_BY_FIELD_NUMBER = 6;
   private volatile java.lang.Object orderBy_;
   /**
+   *
+   *
    * 
    * Unsupported: must be left blank. The points in each time series are
    * currently returned in reverse time order (most recent to oldest).
    * 
* * string order_by = 6; + * * @return The orderBy. */ @java.lang.Override @@ -554,30 +643,30 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Unsupported: must be left blank. The points in each time series are
    * currently returned in reverse time order (most recent to oldest).
    * 
* * string order_by = 6; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -588,33 +677,50 @@ public java.lang.String getOrderBy() { public static final int VIEW_FIELD_NUMBER = 7; private int view_; /** + * + * *
    * Required. Specifies which information is returned about the time series.
    * 
* - * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * Required. Specifies which information is returned about the time series.
    * 
* - * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The view. */ - @java.lang.Override public com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView getView() { + @java.lang.Override + public com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView getView() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView result = com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView.valueOf(view_); - return result == null ? com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView.UNRECOGNIZED : result; + com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView result = + com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView.valueOf(view_); + return result == null + ? com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView.UNRECOGNIZED + : result; } public static final int PAGE_SIZE_FIELD_NUMBER = 8; private int pageSize_; /** + * + * *
    * A positive number that is the maximum number of results to return. If
    * `page_size` is empty or more than 100,000 results, the effective
@@ -624,6 +730,7 @@ public java.lang.String getOrderBy() {
    * 
* * int32 page_size = 8; + * * @return The pageSize. */ @java.lang.Override @@ -634,6 +741,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 9; private volatile java.lang.Object pageToken_; /** + * + * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -641,6 +750,7 @@ public int getPageSize() {
    * 
* * string page_token = 9; + * * @return The pageToken. */ @java.lang.Override @@ -649,14 +759,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -664,16 +775,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 9; + * * @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 { @@ -682,6 +792,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -693,8 +804,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, filter_); } @@ -735,23 +845,19 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (interval_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getInterval()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getInterval()); } if (aggregation_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getAggregation()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getAggregation()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, orderBy_); } if (view_ != com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView.FULL.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, view_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, view_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(8, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, pageToken_); @@ -760,8 +866,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, name_); } if (secondaryAggregation_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getSecondaryAggregation()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(11, getSecondaryAggregation()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -771,39 +877,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.ListTimeSeriesRequest)) { return super.equals(obj); } - com.google.monitoring.v3.ListTimeSeriesRequest other = (com.google.monitoring.v3.ListTimeSeriesRequest) obj; + com.google.monitoring.v3.ListTimeSeriesRequest other = + (com.google.monitoring.v3.ListTimeSeriesRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + if (!getName().equals(other.getName())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (hasInterval() != other.hasInterval()) return false; if (hasInterval()) { - if (!getInterval() - .equals(other.getInterval())) return false; + if (!getInterval().equals(other.getInterval())) return false; } if (hasAggregation() != other.hasAggregation()) return false; if (hasAggregation()) { - if (!getAggregation() - .equals(other.getAggregation())) return false; + if (!getAggregation().equals(other.getAggregation())) return false; } if (hasSecondaryAggregation() != other.hasSecondaryAggregation()) return false; if (hasSecondaryAggregation()) { - if (!getSecondaryAggregation() - .equals(other.getSecondaryAggregation())) return false; + if (!getSecondaryAggregation().equals(other.getSecondaryAggregation())) return false; } - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (view_ != other.view_) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -844,118 +943,127 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.ListTimeSeriesRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.ListTimeSeriesRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListTimeSeriesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListTimeSeriesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListTimeSeriesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListTimeSeriesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListTimeSeriesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListTimeSeriesRequest 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.monitoring.v3.ListTimeSeriesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListTimeSeriesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ListTimeSeriesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListTimeSeriesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.ListTimeSeriesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListTimeSeriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.ListTimeSeriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 `ListTimeSeries` request.
    * 
* * Protobuf type {@code google.monitoring.v3.ListTimeSeriesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListTimeSeriesRequest) com.google.monitoring.v3.ListTimeSeriesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListTimeSeriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_ListTimeSeriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListTimeSeriesRequest_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_ListTimeSeriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListTimeSeriesRequest.class, com.google.monitoring.v3.ListTimeSeriesRequest.Builder.class); + com.google.monitoring.v3.ListTimeSeriesRequest.class, + com.google.monitoring.v3.ListTimeSeriesRequest.Builder.class); } // Construct using com.google.monitoring.v3.ListTimeSeriesRequest.newBuilder() @@ -963,16 +1071,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1010,9 +1117,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListTimeSeriesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_ListTimeSeriesRequest_descriptor; } @java.lang.Override @@ -1031,7 +1138,8 @@ public com.google.monitoring.v3.ListTimeSeriesRequest build() { @java.lang.Override public com.google.monitoring.v3.ListTimeSeriesRequest buildPartial() { - com.google.monitoring.v3.ListTimeSeriesRequest result = new com.google.monitoring.v3.ListTimeSeriesRequest(this); + com.google.monitoring.v3.ListTimeSeriesRequest result = + new com.google.monitoring.v3.ListTimeSeriesRequest(this); result.name_ = name_; result.filter_ = filter_; if (intervalBuilder_ == null) { @@ -1061,38 +1169,39 @@ public com.google.monitoring.v3.ListTimeSeriesRequest 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.monitoring.v3.ListTimeSeriesRequest) { - return mergeFrom((com.google.monitoring.v3.ListTimeSeriesRequest)other); + return mergeFrom((com.google.monitoring.v3.ListTimeSeriesRequest) other); } else { super.mergeFrom(other); return this; @@ -1163,6 +1272,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name),
      * organization or folder on which to execute the request. The format is:
@@ -1171,14 +1282,16 @@ public Builder mergeFrom(
      *     folders/[FOLDER_ID]
      * 
* - * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1187,6 +1300,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name),
      * organization or folder on which to execute the request. The format is:
@@ -1195,16 +1310,17 @@ public java.lang.String getName() {
      *     folders/[FOLDER_ID]
      * 
* - * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1212,6 +1328,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name),
      * organization or folder on which to execute the request. The format is:
@@ -1220,21 +1338,25 @@ public java.lang.String getName() {
      *     folders/[FOLDER_ID]
      * 
* - * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name),
      * organization or folder on which to execute the request. The format is:
@@ -1243,16 +1365,21 @@ public Builder setName(
      *     folders/[FOLDER_ID]
      * 
* - * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name),
      * organization or folder on which to execute the request. The format is:
@@ -1261,17 +1388,19 @@ public Builder clearName() {
      *     folders/[FOLDER_ID]
      * 
* - * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1279,6 +1408,8 @@ public Builder setNameBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Required. A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * that specifies which time series should be returned.  The filter must
@@ -1289,13 +1420,13 @@ public Builder setNameBytes(
      * 
* * string filter = 2 [(.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; @@ -1304,6 +1435,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Required. A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * that specifies which time series should be returned.  The filter must
@@ -1314,15 +1447,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2 [(.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 { @@ -1330,6 +1462,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Required. A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * that specifies which time series should be returned.  The filter must
@@ -1340,20 +1474,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2 [(.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. A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * that specifies which time series should be returned.  The filter must
@@ -1364,15 +1500,18 @@ public Builder setFilter(
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Required. A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * that specifies which time series should be returned.  The filter must
@@ -1383,16 +1522,16 @@ public Builder clearFilter() {
      * 
* * string filter = 2 [(.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; @@ -1400,45 +1539,64 @@ public Builder setFilterBytes( private com.google.monitoring.v3.TimeInterval interval_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TimeInterval, com.google.monitoring.v3.TimeInterval.Builder, com.google.monitoring.v3.TimeIntervalOrBuilder> intervalBuilder_; + com.google.monitoring.v3.TimeInterval, + com.google.monitoring.v3.TimeInterval.Builder, + com.google.monitoring.v3.TimeIntervalOrBuilder> + intervalBuilder_; /** + * + * *
      * Required. The time interval for which results should be returned. Only time series
      * that contain data points in the specified interval are included
      * in the response.
      * 
* - * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the interval field is set. */ public boolean hasInterval() { return intervalBuilder_ != null || interval_ != null; } /** + * + * *
      * Required. The time interval for which results should be returned. Only time series
      * that contain data points in the specified interval are included
      * in the response.
      * 
* - * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The interval. */ public com.google.monitoring.v3.TimeInterval getInterval() { if (intervalBuilder_ == null) { - return interval_ == null ? com.google.monitoring.v3.TimeInterval.getDefaultInstance() : interval_; + return interval_ == null + ? com.google.monitoring.v3.TimeInterval.getDefaultInstance() + : interval_; } else { return intervalBuilder_.getMessage(); } } /** + * + * *
      * Required. The time interval for which results should be returned. Only time series
      * that contain data points in the specified interval are included
      * in the response.
      * 
* - * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInterval(com.google.monitoring.v3.TimeInterval value) { if (intervalBuilder_ == null) { @@ -1454,16 +1612,19 @@ public Builder setInterval(com.google.monitoring.v3.TimeInterval value) { return this; } /** + * + * *
      * Required. The time interval for which results should be returned. Only time series
      * that contain data points in the specified interval are included
      * in the response.
      * 
* - * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setInterval( - com.google.monitoring.v3.TimeInterval.Builder builderForValue) { + public Builder setInterval(com.google.monitoring.v3.TimeInterval.Builder builderForValue) { if (intervalBuilder_ == null) { interval_ = builderForValue.build(); onChanged(); @@ -1474,19 +1635,25 @@ public Builder setInterval( return this; } /** + * + * *
      * Required. The time interval for which results should be returned. Only time series
      * that contain data points in the specified interval are included
      * in the response.
      * 
* - * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeInterval(com.google.monitoring.v3.TimeInterval value) { if (intervalBuilder_ == null) { if (interval_ != null) { interval_ = - com.google.monitoring.v3.TimeInterval.newBuilder(interval_).mergeFrom(value).buildPartial(); + com.google.monitoring.v3.TimeInterval.newBuilder(interval_) + .mergeFrom(value) + .buildPartial(); } else { interval_ = value; } @@ -1498,13 +1665,17 @@ public Builder mergeInterval(com.google.monitoring.v3.TimeInterval value) { return this; } /** + * + * *
      * Required. The time interval for which results should be returned. Only time series
      * that contain data points in the specified interval are included
      * in the response.
      * 
* - * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearInterval() { if (intervalBuilder_ == null) { @@ -1518,54 +1689,70 @@ public Builder clearInterval() { return this; } /** + * + * *
      * Required. The time interval for which results should be returned. Only time series
      * that contain data points in the specified interval are included
      * in the response.
      * 
* - * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.TimeInterval.Builder getIntervalBuilder() { - + onChanged(); return getIntervalFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The time interval for which results should be returned. Only time series
      * that contain data points in the specified interval are included
      * in the response.
      * 
* - * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.TimeIntervalOrBuilder getIntervalOrBuilder() { if (intervalBuilder_ != null) { return intervalBuilder_.getMessageOrBuilder(); } else { - return interval_ == null ? - com.google.monitoring.v3.TimeInterval.getDefaultInstance() : interval_; + return interval_ == null + ? com.google.monitoring.v3.TimeInterval.getDefaultInstance() + : interval_; } } /** + * + * *
      * Required. The time interval for which results should be returned. Only time series
      * that contain data points in the specified interval are included
      * in the response.
      * 
* - * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TimeInterval, com.google.monitoring.v3.TimeInterval.Builder, com.google.monitoring.v3.TimeIntervalOrBuilder> + com.google.monitoring.v3.TimeInterval, + com.google.monitoring.v3.TimeInterval.Builder, + com.google.monitoring.v3.TimeIntervalOrBuilder> getIntervalFieldBuilder() { if (intervalBuilder_ == null) { - intervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TimeInterval, com.google.monitoring.v3.TimeInterval.Builder, com.google.monitoring.v3.TimeIntervalOrBuilder>( - getInterval(), - getParentForChildren(), - isClean()); + intervalBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.TimeInterval, + com.google.monitoring.v3.TimeInterval.Builder, + com.google.monitoring.v3.TimeIntervalOrBuilder>( + getInterval(), getParentForChildren(), isClean()); interval_ = null; } return intervalBuilder_; @@ -1573,8 +1760,13 @@ public com.google.monitoring.v3.TimeIntervalOrBuilder getIntervalOrBuilder() { private com.google.monitoring.v3.Aggregation aggregation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Aggregation, com.google.monitoring.v3.Aggregation.Builder, com.google.monitoring.v3.AggregationOrBuilder> aggregationBuilder_; + com.google.monitoring.v3.Aggregation, + com.google.monitoring.v3.Aggregation.Builder, + com.google.monitoring.v3.AggregationOrBuilder> + aggregationBuilder_; /** + * + * *
      * Specifies the alignment of data points in individual time series as
      * well as how to combine the retrieved time series across specified labels.
@@ -1583,12 +1775,15 @@ public com.google.monitoring.v3.TimeIntervalOrBuilder getIntervalOrBuilder() {
      * 
* * .google.monitoring.v3.Aggregation aggregation = 5; + * * @return Whether the aggregation field is set. */ public boolean hasAggregation() { return aggregationBuilder_ != null || aggregation_ != null; } /** + * + * *
      * Specifies the alignment of data points in individual time series as
      * well as how to combine the retrieved time series across specified labels.
@@ -1597,16 +1792,21 @@ public boolean hasAggregation() {
      * 
* * .google.monitoring.v3.Aggregation aggregation = 5; + * * @return The aggregation. */ public com.google.monitoring.v3.Aggregation getAggregation() { if (aggregationBuilder_ == null) { - return aggregation_ == null ? com.google.monitoring.v3.Aggregation.getDefaultInstance() : aggregation_; + return aggregation_ == null + ? com.google.monitoring.v3.Aggregation.getDefaultInstance() + : aggregation_; } else { return aggregationBuilder_.getMessage(); } } /** + * + * *
      * Specifies the alignment of data points in individual time series as
      * well as how to combine the retrieved time series across specified labels.
@@ -1630,6 +1830,8 @@ public Builder setAggregation(com.google.monitoring.v3.Aggregation value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies the alignment of data points in individual time series as
      * well as how to combine the retrieved time series across specified labels.
@@ -1639,8 +1841,7 @@ public Builder setAggregation(com.google.monitoring.v3.Aggregation value) {
      *
      * .google.monitoring.v3.Aggregation aggregation = 5;
      */
-    public Builder setAggregation(
-        com.google.monitoring.v3.Aggregation.Builder builderForValue) {
+    public Builder setAggregation(com.google.monitoring.v3.Aggregation.Builder builderForValue) {
       if (aggregationBuilder_ == null) {
         aggregation_ = builderForValue.build();
         onChanged();
@@ -1651,6 +1852,8 @@ public Builder setAggregation(
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies the alignment of data points in individual time series as
      * well as how to combine the retrieved time series across specified labels.
@@ -1664,7 +1867,9 @@ public Builder mergeAggregation(com.google.monitoring.v3.Aggregation value) {
       if (aggregationBuilder_ == null) {
         if (aggregation_ != null) {
           aggregation_ =
-            com.google.monitoring.v3.Aggregation.newBuilder(aggregation_).mergeFrom(value).buildPartial();
+              com.google.monitoring.v3.Aggregation.newBuilder(aggregation_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           aggregation_ = value;
         }
@@ -1676,6 +1881,8 @@ public Builder mergeAggregation(com.google.monitoring.v3.Aggregation value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies the alignment of data points in individual time series as
      * well as how to combine the retrieved time series across specified labels.
@@ -1697,6 +1904,8 @@ public Builder clearAggregation() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies the alignment of data points in individual time series as
      * well as how to combine the retrieved time series across specified labels.
@@ -1707,11 +1916,13 @@ public Builder clearAggregation() {
      * .google.monitoring.v3.Aggregation aggregation = 5;
      */
     public com.google.monitoring.v3.Aggregation.Builder getAggregationBuilder() {
-      
+
       onChanged();
       return getAggregationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Specifies the alignment of data points in individual time series as
      * well as how to combine the retrieved time series across specified labels.
@@ -1725,11 +1936,14 @@ public com.google.monitoring.v3.AggregationOrBuilder getAggregationOrBuilder() {
       if (aggregationBuilder_ != null) {
         return aggregationBuilder_.getMessageOrBuilder();
       } else {
-        return aggregation_ == null ?
-            com.google.monitoring.v3.Aggregation.getDefaultInstance() : aggregation_;
+        return aggregation_ == null
+            ? com.google.monitoring.v3.Aggregation.getDefaultInstance()
+            : aggregation_;
       }
     }
     /**
+     *
+     *
      * 
      * Specifies the alignment of data points in individual time series as
      * well as how to combine the retrieved time series across specified labels.
@@ -1740,14 +1954,17 @@ public com.google.monitoring.v3.AggregationOrBuilder getAggregationOrBuilder() {
      * .google.monitoring.v3.Aggregation aggregation = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.monitoring.v3.Aggregation, com.google.monitoring.v3.Aggregation.Builder, com.google.monitoring.v3.AggregationOrBuilder> 
+            com.google.monitoring.v3.Aggregation,
+            com.google.monitoring.v3.Aggregation.Builder,
+            com.google.monitoring.v3.AggregationOrBuilder>
         getAggregationFieldBuilder() {
       if (aggregationBuilder_ == null) {
-        aggregationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.Aggregation, com.google.monitoring.v3.Aggregation.Builder, com.google.monitoring.v3.AggregationOrBuilder>(
-                getAggregation(),
-                getParentForChildren(),
-                isClean());
+        aggregationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.monitoring.v3.Aggregation,
+                com.google.monitoring.v3.Aggregation.Builder,
+                com.google.monitoring.v3.AggregationOrBuilder>(
+                getAggregation(), getParentForChildren(), isClean());
         aggregation_ = null;
       }
       return aggregationBuilder_;
@@ -1755,36 +1972,49 @@ public com.google.monitoring.v3.AggregationOrBuilder getAggregationOrBuilder() {
 
     private com.google.monitoring.v3.Aggregation secondaryAggregation_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.monitoring.v3.Aggregation, com.google.monitoring.v3.Aggregation.Builder, com.google.monitoring.v3.AggregationOrBuilder> secondaryAggregationBuilder_;
+            com.google.monitoring.v3.Aggregation,
+            com.google.monitoring.v3.Aggregation.Builder,
+            com.google.monitoring.v3.AggregationOrBuilder>
+        secondaryAggregationBuilder_;
     /**
+     *
+     *
      * 
      * Apply a second aggregation after `aggregation` is applied. May only be
      * specified if `aggregation` is specified.
      * 
* * .google.monitoring.v3.Aggregation secondary_aggregation = 11; + * * @return Whether the secondaryAggregation field is set. */ public boolean hasSecondaryAggregation() { return secondaryAggregationBuilder_ != null || secondaryAggregation_ != null; } /** + * + * *
      * Apply a second aggregation after `aggregation` is applied. May only be
      * specified if `aggregation` is specified.
      * 
* * .google.monitoring.v3.Aggregation secondary_aggregation = 11; + * * @return The secondaryAggregation. */ public com.google.monitoring.v3.Aggregation getSecondaryAggregation() { if (secondaryAggregationBuilder_ == null) { - return secondaryAggregation_ == null ? com.google.monitoring.v3.Aggregation.getDefaultInstance() : secondaryAggregation_; + return secondaryAggregation_ == null + ? com.google.monitoring.v3.Aggregation.getDefaultInstance() + : secondaryAggregation_; } else { return secondaryAggregationBuilder_.getMessage(); } } /** + * + * *
      * Apply a second aggregation after `aggregation` is applied. May only be
      * specified if `aggregation` is specified.
@@ -1806,6 +2036,8 @@ public Builder setSecondaryAggregation(com.google.monitoring.v3.Aggregation valu
       return this;
     }
     /**
+     *
+     *
      * 
      * Apply a second aggregation after `aggregation` is applied. May only be
      * specified if `aggregation` is specified.
@@ -1825,6 +2057,8 @@ public Builder setSecondaryAggregation(
       return this;
     }
     /**
+     *
+     *
      * 
      * Apply a second aggregation after `aggregation` is applied. May only be
      * specified if `aggregation` is specified.
@@ -1836,7 +2070,9 @@ public Builder mergeSecondaryAggregation(com.google.monitoring.v3.Aggregation va
       if (secondaryAggregationBuilder_ == null) {
         if (secondaryAggregation_ != null) {
           secondaryAggregation_ =
-            com.google.monitoring.v3.Aggregation.newBuilder(secondaryAggregation_).mergeFrom(value).buildPartial();
+              com.google.monitoring.v3.Aggregation.newBuilder(secondaryAggregation_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           secondaryAggregation_ = value;
         }
@@ -1848,6 +2084,8 @@ public Builder mergeSecondaryAggregation(com.google.monitoring.v3.Aggregation va
       return this;
     }
     /**
+     *
+     *
      * 
      * Apply a second aggregation after `aggregation` is applied. May only be
      * specified if `aggregation` is specified.
@@ -1867,6 +2105,8 @@ public Builder clearSecondaryAggregation() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Apply a second aggregation after `aggregation` is applied. May only be
      * specified if `aggregation` is specified.
@@ -1875,11 +2115,13 @@ public Builder clearSecondaryAggregation() {
      * .google.monitoring.v3.Aggregation secondary_aggregation = 11;
      */
     public com.google.monitoring.v3.Aggregation.Builder getSecondaryAggregationBuilder() {
-      
+
       onChanged();
       return getSecondaryAggregationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Apply a second aggregation after `aggregation` is applied. May only be
      * specified if `aggregation` is specified.
@@ -1891,11 +2133,14 @@ public com.google.monitoring.v3.AggregationOrBuilder getSecondaryAggregationOrBu
       if (secondaryAggregationBuilder_ != null) {
         return secondaryAggregationBuilder_.getMessageOrBuilder();
       } else {
-        return secondaryAggregation_ == null ?
-            com.google.monitoring.v3.Aggregation.getDefaultInstance() : secondaryAggregation_;
+        return secondaryAggregation_ == null
+            ? com.google.monitoring.v3.Aggregation.getDefaultInstance()
+            : secondaryAggregation_;
       }
     }
     /**
+     *
+     *
      * 
      * Apply a second aggregation after `aggregation` is applied. May only be
      * specified if `aggregation` is specified.
@@ -1904,14 +2149,17 @@ public com.google.monitoring.v3.AggregationOrBuilder getSecondaryAggregationOrBu
      * .google.monitoring.v3.Aggregation secondary_aggregation = 11;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.monitoring.v3.Aggregation, com.google.monitoring.v3.Aggregation.Builder, com.google.monitoring.v3.AggregationOrBuilder> 
+            com.google.monitoring.v3.Aggregation,
+            com.google.monitoring.v3.Aggregation.Builder,
+            com.google.monitoring.v3.AggregationOrBuilder>
         getSecondaryAggregationFieldBuilder() {
       if (secondaryAggregationBuilder_ == null) {
-        secondaryAggregationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.Aggregation, com.google.monitoring.v3.Aggregation.Builder, com.google.monitoring.v3.AggregationOrBuilder>(
-                getSecondaryAggregation(),
-                getParentForChildren(),
-                isClean());
+        secondaryAggregationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.monitoring.v3.Aggregation,
+                com.google.monitoring.v3.Aggregation.Builder,
+                com.google.monitoring.v3.AggregationOrBuilder>(
+                getSecondaryAggregation(), getParentForChildren(), isClean());
         secondaryAggregation_ = null;
       }
       return secondaryAggregationBuilder_;
@@ -1919,19 +2167,21 @@ public com.google.monitoring.v3.AggregationOrBuilder getSecondaryAggregationOrBu
 
     private java.lang.Object orderBy_ = "";
     /**
+     *
+     *
      * 
      * Unsupported: must be left blank. The points in each time series are
      * currently returned in reverse time order (most recent to oldest).
      * 
* * string order_by = 6; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1940,21 +2190,22 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Unsupported: must be left blank. The points in each time series are
      * currently returned in reverse time order (most recent to oldest).
      * 
* * string order_by = 6; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1962,57 +2213,64 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Unsupported: must be left blank. The points in each time series are
      * currently returned in reverse time order (most recent to oldest).
      * 
* * string order_by = 6; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * Unsupported: must be left blank. The points in each time series are
      * currently returned in reverse time order (most recent to oldest).
      * 
* * string order_by = 6; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * Unsupported: must be left blank. The points in each time series are
      * currently returned in reverse time order (most recent to oldest).
      * 
* * string order_by = 6; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; @@ -2020,51 +2278,75 @@ public Builder setOrderByBytes( private int view_ = 0; /** + * + * *
      * Required. Specifies which information is returned about the time series.
      * 
* - * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * Required. Specifies which information is returned about the time series.
      * 
* - * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @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; } /** + * + * *
      * Required. Specifies which information is returned about the time series.
      * 
* - * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The view. */ @java.lang.Override public com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView getView() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView result = com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView.valueOf(view_); - return result == null ? com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView.UNRECOGNIZED : result; + com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView result = + com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView.valueOf(view_); + return result == null + ? com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView.UNRECOGNIZED + : result; } /** + * + * *
      * Required. Specifies which information is returned about the time series.
      * 
* - * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The view to set. * @return This builder for chaining. */ @@ -2072,28 +2354,35 @@ public Builder setView(com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeries if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Required. Specifies which information is returned about the time series.
      * 
* - * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * A positive number that is the maximum number of results to return. If
      * `page_size` is empty or more than 100,000 results, the effective
@@ -2103,6 +2392,7 @@ public Builder clearView() {
      * 
* * int32 page_size = 8; + * * @return The pageSize. */ @java.lang.Override @@ -2110,6 +2400,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * A positive number that is the maximum number of results to return. If
      * `page_size` is empty or more than 100,000 results, the effective
@@ -2119,16 +2411,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 8; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * A positive number that is the maximum number of results to return. If
      * `page_size` is empty or more than 100,000 results, the effective
@@ -2138,10 +2433,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 8; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -2149,6 +2445,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -2156,13 +2454,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 9; + * * @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; @@ -2171,6 +2469,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -2178,15 +2478,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 9; + * * @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 { @@ -2194,6 +2493,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -2201,20 +2502,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 9; + * * @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; } /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -2222,15 +2525,18 @@ public Builder setPageToken(
      * 
* * string page_token = 9; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -2238,23 +2544,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 9; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2264,12 +2570,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListTimeSeriesRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListTimeSeriesRequest) private static final com.google.monitoring.v3.ListTimeSeriesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListTimeSeriesRequest(); } @@ -2278,16 +2584,16 @@ public static com.google.monitoring.v3.ListTimeSeriesRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTimeSeriesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTimeSeriesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTimeSeriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTimeSeriesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2302,6 +2608,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.ListTimeSeriesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesRequestOrBuilder.java similarity index 78% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesRequestOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesRequestOrBuilder.java index 9dcd69c8..2fc8bc1f 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric_service.proto package com.google.monitoring.v3; -public interface ListTimeSeriesRequestOrBuilder extends +public interface ListTimeSeriesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListTimeSeriesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name),
    * organization or folder on which to execute the request. The format is:
@@ -16,11 +34,16 @@ public interface ListTimeSeriesRequestOrBuilder extends
    *     folders/[FOLDER_ID]
    * 
* - * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name),
    * organization or folder on which to execute the request. The format is:
@@ -29,13 +52,17 @@ public interface ListTimeSeriesRequestOrBuilder extends
    *     folders/[FOLDER_ID]
    * 
* - * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * that specifies which time series should be returned.  The filter must
@@ -46,10 +73,13 @@ public interface ListTimeSeriesRequestOrBuilder extends
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Required. A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * that specifies which time series should be returned.  The filter must
@@ -60,45 +90,61 @@ public interface ListTimeSeriesRequestOrBuilder extends
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Required. The time interval for which results should be returned. Only time series
    * that contain data points in the specified interval are included
    * in the response.
    * 
* - * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the interval field is set. */ boolean hasInterval(); /** + * + * *
    * Required. The time interval for which results should be returned. Only time series
    * that contain data points in the specified interval are included
    * in the response.
    * 
* - * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The interval. */ com.google.monitoring.v3.TimeInterval getInterval(); /** + * + * *
    * Required. The time interval for which results should be returned. Only time series
    * that contain data points in the specified interval are included
    * in the response.
    * 
* - * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.TimeInterval interval = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.monitoring.v3.TimeIntervalOrBuilder getIntervalOrBuilder(); /** + * + * *
    * Specifies the alignment of data points in individual time series as
    * well as how to combine the retrieved time series across specified labels.
@@ -107,10 +153,13 @@ public interface ListTimeSeriesRequestOrBuilder extends
    * 
* * .google.monitoring.v3.Aggregation aggregation = 5; + * * @return Whether the aggregation field is set. */ boolean hasAggregation(); /** + * + * *
    * Specifies the alignment of data points in individual time series as
    * well as how to combine the retrieved time series across specified labels.
@@ -119,10 +168,13 @@ public interface ListTimeSeriesRequestOrBuilder extends
    * 
* * .google.monitoring.v3.Aggregation aggregation = 5; + * * @return The aggregation. */ com.google.monitoring.v3.Aggregation getAggregation(); /** + * + * *
    * Specifies the alignment of data points in individual time series as
    * well as how to combine the retrieved time series across specified labels.
@@ -135,26 +187,34 @@ public interface ListTimeSeriesRequestOrBuilder extends
   com.google.monitoring.v3.AggregationOrBuilder getAggregationOrBuilder();
 
   /**
+   *
+   *
    * 
    * Apply a second aggregation after `aggregation` is applied. May only be
    * specified if `aggregation` is specified.
    * 
* * .google.monitoring.v3.Aggregation secondary_aggregation = 11; + * * @return Whether the secondaryAggregation field is set. */ boolean hasSecondaryAggregation(); /** + * + * *
    * Apply a second aggregation after `aggregation` is applied. May only be
    * specified if `aggregation` is specified.
    * 
* * .google.monitoring.v3.Aggregation secondary_aggregation = 11; + * * @return The secondaryAggregation. */ com.google.monitoring.v3.Aggregation getSecondaryAggregation(); /** + * + * *
    * Apply a second aggregation after `aggregation` is applied. May only be
    * specified if `aggregation` is specified.
@@ -165,47 +225,64 @@ public interface ListTimeSeriesRequestOrBuilder extends
   com.google.monitoring.v3.AggregationOrBuilder getSecondaryAggregationOrBuilder();
 
   /**
+   *
+   *
    * 
    * Unsupported: must be left blank. The points in each time series are
    * currently returned in reverse time order (most recent to oldest).
    * 
* * string order_by = 6; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Unsupported: must be left blank. The points in each time series are
    * currently returned in reverse time order (most recent to oldest).
    * 
* * string order_by = 6; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); /** + * + * *
    * Required. Specifies which information is returned about the time series.
    * 
* - * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * Required. Specifies which information is returned about the time series.
    * 
* - * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The view. */ com.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView getView(); /** + * + * *
    * A positive number that is the maximum number of results to return. If
    * `page_size` is empty or more than 100,000 results, the effective
@@ -215,11 +292,14 @@ public interface ListTimeSeriesRequestOrBuilder extends
    * 
* * int32 page_size = 8; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -227,10 +307,13 @@ public interface ListTimeSeriesRequestOrBuilder extends
    * 
* * string page_token = 9; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -238,8 +321,8 @@ public interface ListTimeSeriesRequestOrBuilder extends
    * 
* * string page_token = 9; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesResponse.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesResponse.java similarity index 78% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesResponse.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesResponse.java index 8d4ce986..44bbc4e6 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesResponse.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `ListTimeSeries` response.
  * 
* * Protobuf type {@code google.monitoring.v3.ListTimeSeriesResponse} */ -public final class ListTimeSeriesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTimeSeriesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListTimeSeriesResponse) ListTimeSeriesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTimeSeriesResponse.newBuilder() to construct. private ListTimeSeriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTimeSeriesResponse() { timeSeries_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -28,16 +46,15 @@ private ListTimeSeriesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTimeSeriesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListTimeSeriesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,50 +74,54 @@ private ListTimeSeriesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - timeSeries_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + timeSeries_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + timeSeries_.add( + input.readMessage( + com.google.monitoring.v3.TimeSeries.parser(), extensionRegistry)); + break; } - timeSeries_.add( - input.readMessage(com.google.monitoring.v3.TimeSeries.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - executionErrors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + nextPageToken_ = s; + break; } - executionErrors_.add( - input.readMessage(com.google.rpc.Status.parser(), extensionRegistry)); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + case 26: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + executionErrors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + executionErrors_.add( + input.readMessage(com.google.rpc.Status.parser(), extensionRegistry)); + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - unit_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + unit_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { timeSeries_ = java.util.Collections.unmodifiableList(timeSeries_); @@ -112,22 +133,27 @@ private ListTimeSeriesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListTimeSeriesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_ListTimeSeriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListTimeSeriesResponse_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_ListTimeSeriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListTimeSeriesResponse.class, com.google.monitoring.v3.ListTimeSeriesResponse.Builder.class); + com.google.monitoring.v3.ListTimeSeriesResponse.class, + com.google.monitoring.v3.ListTimeSeriesResponse.Builder.class); } public static final int TIME_SERIES_FIELD_NUMBER = 1; private java.util.List timeSeries_; /** + * + * *
    * One or more time series that match the filter included in the request.
    * 
@@ -139,6 +165,8 @@ public java.util.List getTimeSeriesList() { return timeSeries_; } /** + * + * *
    * One or more time series that match the filter included in the request.
    * 
@@ -146,11 +174,13 @@ public java.util.List getTimeSeriesList() { * repeated .google.monitoring.v3.TimeSeries time_series = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTimeSeriesOrBuilderList() { return timeSeries_; } /** + * + * *
    * One or more time series that match the filter included in the request.
    * 
@@ -162,6 +192,8 @@ public int getTimeSeriesCount() { return timeSeries_.size(); } /** + * + * *
    * One or more time series that match the filter included in the request.
    * 
@@ -173,6 +205,8 @@ public com.google.monitoring.v3.TimeSeries getTimeSeries(int index) { return timeSeries_.get(index); } /** + * + * *
    * One or more time series that match the filter included in the request.
    * 
@@ -180,14 +214,15 @@ public com.google.monitoring.v3.TimeSeries getTimeSeries(int index) { * repeated .google.monitoring.v3.TimeSeries time_series = 1; */ @java.lang.Override - public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder( - int index) { + public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder(int index) { return timeSeries_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -195,6 +230,7 @@ public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -203,14 +239,15 @@ 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; } } /** + * + * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -218,16 +255,15 @@ public java.lang.String getNextPageToken() {
    * 
* * 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 { @@ -238,6 +274,8 @@ public java.lang.String getNextPageToken() { public static final int EXECUTION_ERRORS_FIELD_NUMBER = 3; private java.util.List executionErrors_; /** + * + * *
    * Query execution errors that may have caused the time series data returned
    * to be incomplete.
@@ -250,6 +288,8 @@ public java.util.List getExecutionErrorsList() {
     return executionErrors_;
   }
   /**
+   *
+   *
    * 
    * Query execution errors that may have caused the time series data returned
    * to be incomplete.
@@ -258,11 +298,13 @@ public java.util.List getExecutionErrorsList() {
    * repeated .google.rpc.Status execution_errors = 3;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getExecutionErrorsOrBuilderList() {
     return executionErrors_;
   }
   /**
+   *
+   *
    * 
    * Query execution errors that may have caused the time series data returned
    * to be incomplete.
@@ -275,6 +317,8 @@ public int getExecutionErrorsCount() {
     return executionErrors_.size();
   }
   /**
+   *
+   *
    * 
    * Query execution errors that may have caused the time series data returned
    * to be incomplete.
@@ -287,6 +331,8 @@ public com.google.rpc.Status getExecutionErrors(int index) {
     return executionErrors_.get(index);
   }
   /**
+   *
+   *
    * 
    * Query execution errors that may have caused the time series data returned
    * to be incomplete.
@@ -295,14 +341,15 @@ public com.google.rpc.Status getExecutionErrors(int index) {
    * repeated .google.rpc.Status execution_errors = 3;
    */
   @java.lang.Override
-  public com.google.rpc.StatusOrBuilder getExecutionErrorsOrBuilder(
-      int index) {
+  public com.google.rpc.StatusOrBuilder getExecutionErrorsOrBuilder(int index) {
     return executionErrors_.get(index);
   }
 
   public static final int UNIT_FIELD_NUMBER = 5;
   private volatile java.lang.Object unit_;
   /**
+   *
+   *
    * 
    * The unit in which all `time_series` point values are reported. `unit`
    * follows the UCUM format for units as seen in
@@ -313,6 +360,7 @@ public com.google.rpc.StatusOrBuilder getExecutionErrorsOrBuilder(
    * 
* * string unit = 5; + * * @return The unit. */ @java.lang.Override @@ -321,14 +369,15 @@ public java.lang.String getUnit() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); unit_ = s; return s; } } /** + * + * *
    * The unit in which all `time_series` point values are reported. `unit`
    * follows the UCUM format for units as seen in
@@ -339,16 +388,15 @@ public java.lang.String getUnit() {
    * 
* * string unit = 5; + * * @return The bytes for unit. */ @java.lang.Override - public com.google.protobuf.ByteString - getUnitBytes() { + public com.google.protobuf.ByteString getUnitBytes() { java.lang.Object ref = unit_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); unit_ = b; return b; } else { @@ -357,6 +405,7 @@ public java.lang.String getUnit() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -368,8 +417,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < timeSeries_.size(); i++) { output.writeMessage(1, timeSeries_.get(i)); } @@ -392,15 +440,13 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < timeSeries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, timeSeries_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, timeSeries_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } for (int i = 0; i < executionErrors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, executionErrors_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, executionErrors_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(unit_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, unit_); @@ -413,21 +459,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.monitoring.v3.ListTimeSeriesResponse)) { return super.equals(obj); } - com.google.monitoring.v3.ListTimeSeriesResponse other = (com.google.monitoring.v3.ListTimeSeriesResponse) obj; + com.google.monitoring.v3.ListTimeSeriesResponse other = + (com.google.monitoring.v3.ListTimeSeriesResponse) obj; - if (!getTimeSeriesList() - .equals(other.getTimeSeriesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getExecutionErrorsList() - .equals(other.getExecutionErrorsList())) return false; - if (!getUnit() - .equals(other.getUnit())) return false; + if (!getTimeSeriesList().equals(other.getTimeSeriesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getExecutionErrorsList().equals(other.getExecutionErrorsList())) return false; + if (!getUnit().equals(other.getUnit())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -456,118 +499,127 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.ListTimeSeriesResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.ListTimeSeriesResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListTimeSeriesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListTimeSeriesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListTimeSeriesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListTimeSeriesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListTimeSeriesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListTimeSeriesResponse 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.monitoring.v3.ListTimeSeriesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListTimeSeriesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ListTimeSeriesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListTimeSeriesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.ListTimeSeriesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListTimeSeriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.ListTimeSeriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 `ListTimeSeries` response.
    * 
* * Protobuf type {@code google.monitoring.v3.ListTimeSeriesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListTimeSeriesResponse) com.google.monitoring.v3.ListTimeSeriesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListTimeSeriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_ListTimeSeriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListTimeSeriesResponse_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_ListTimeSeriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListTimeSeriesResponse.class, com.google.monitoring.v3.ListTimeSeriesResponse.Builder.class); + com.google.monitoring.v3.ListTimeSeriesResponse.class, + com.google.monitoring.v3.ListTimeSeriesResponse.Builder.class); } // Construct using com.google.monitoring.v3.ListTimeSeriesResponse.newBuilder() @@ -575,18 +627,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getTimeSeriesFieldBuilder(); getExecutionErrorsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -610,9 +662,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_ListTimeSeriesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_ListTimeSeriesResponse_descriptor; } @java.lang.Override @@ -631,7 +683,8 @@ public com.google.monitoring.v3.ListTimeSeriesResponse build() { @java.lang.Override public com.google.monitoring.v3.ListTimeSeriesResponse buildPartial() { - com.google.monitoring.v3.ListTimeSeriesResponse result = new com.google.monitoring.v3.ListTimeSeriesResponse(this); + com.google.monitoring.v3.ListTimeSeriesResponse result = + new com.google.monitoring.v3.ListTimeSeriesResponse(this); int from_bitField0_ = bitField0_; if (timeSeriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -661,38 +714,39 @@ public com.google.monitoring.v3.ListTimeSeriesResponse 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.monitoring.v3.ListTimeSeriesResponse) { - return mergeFrom((com.google.monitoring.v3.ListTimeSeriesResponse)other); + return mergeFrom((com.google.monitoring.v3.ListTimeSeriesResponse) other); } else { super.mergeFrom(other); return this; @@ -700,7 +754,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.ListTimeSeriesResponse other) { - if (other == com.google.monitoring.v3.ListTimeSeriesResponse.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.ListTimeSeriesResponse.getDefaultInstance()) + return this; if (timeSeriesBuilder_ == null) { if (!other.timeSeries_.isEmpty()) { if (timeSeries_.isEmpty()) { @@ -719,9 +774,10 @@ public Builder mergeFrom(com.google.monitoring.v3.ListTimeSeriesResponse other) timeSeriesBuilder_ = null; timeSeries_ = other.timeSeries_; bitField0_ = (bitField0_ & ~0x00000001); - timeSeriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTimeSeriesFieldBuilder() : null; + timeSeriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTimeSeriesFieldBuilder() + : null; } else { timeSeriesBuilder_.addAllMessages(other.timeSeries_); } @@ -749,9 +805,10 @@ public Builder mergeFrom(com.google.monitoring.v3.ListTimeSeriesResponse other) executionErrorsBuilder_ = null; executionErrors_ = other.executionErrors_; bitField0_ = (bitField0_ & ~0x00000002); - executionErrorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getExecutionErrorsFieldBuilder() : null; + executionErrorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getExecutionErrorsFieldBuilder() + : null; } else { executionErrorsBuilder_.addAllMessages(other.executionErrors_); } @@ -789,21 +846,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List timeSeries_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTimeSeriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { timeSeries_ = new java.util.ArrayList(timeSeries_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.TimeSeries, com.google.monitoring.v3.TimeSeries.Builder, com.google.monitoring.v3.TimeSeriesOrBuilder> timeSeriesBuilder_; + com.google.monitoring.v3.TimeSeries, + com.google.monitoring.v3.TimeSeries.Builder, + com.google.monitoring.v3.TimeSeriesOrBuilder> + timeSeriesBuilder_; /** + * + * *
      * One or more time series that match the filter included in the request.
      * 
@@ -818,6 +882,8 @@ public java.util.List getTimeSeriesList() { } } /** + * + * *
      * One or more time series that match the filter included in the request.
      * 
@@ -832,6 +898,8 @@ public int getTimeSeriesCount() { } } /** + * + * *
      * One or more time series that match the filter included in the request.
      * 
@@ -846,14 +914,15 @@ public com.google.monitoring.v3.TimeSeries getTimeSeries(int index) { } } /** + * + * *
      * One or more time series that match the filter included in the request.
      * 
* * repeated .google.monitoring.v3.TimeSeries time_series = 1; */ - public Builder setTimeSeries( - int index, com.google.monitoring.v3.TimeSeries value) { + public Builder setTimeSeries(int index, com.google.monitoring.v3.TimeSeries value) { if (timeSeriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -867,6 +936,8 @@ public Builder setTimeSeries( return this; } /** + * + * *
      * One or more time series that match the filter included in the request.
      * 
@@ -885,6 +956,8 @@ public Builder setTimeSeries( return this; } /** + * + * *
      * One or more time series that match the filter included in the request.
      * 
@@ -905,14 +978,15 @@ public Builder addTimeSeries(com.google.monitoring.v3.TimeSeries value) { return this; } /** + * + * *
      * One or more time series that match the filter included in the request.
      * 
* * repeated .google.monitoring.v3.TimeSeries time_series = 1; */ - public Builder addTimeSeries( - int index, com.google.monitoring.v3.TimeSeries value) { + public Builder addTimeSeries(int index, com.google.monitoring.v3.TimeSeries value) { if (timeSeriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -926,14 +1000,15 @@ public Builder addTimeSeries( return this; } /** + * + * *
      * One or more time series that match the filter included in the request.
      * 
* * repeated .google.monitoring.v3.TimeSeries time_series = 1; */ - public Builder addTimeSeries( - com.google.monitoring.v3.TimeSeries.Builder builderForValue) { + public Builder addTimeSeries(com.google.monitoring.v3.TimeSeries.Builder builderForValue) { if (timeSeriesBuilder_ == null) { ensureTimeSeriesIsMutable(); timeSeries_.add(builderForValue.build()); @@ -944,6 +1019,8 @@ public Builder addTimeSeries( return this; } /** + * + * *
      * One or more time series that match the filter included in the request.
      * 
@@ -962,6 +1039,8 @@ public Builder addTimeSeries( return this; } /** + * + * *
      * One or more time series that match the filter included in the request.
      * 
@@ -972,8 +1051,7 @@ public Builder addAllTimeSeries( java.lang.Iterable values) { if (timeSeriesBuilder_ == null) { ensureTimeSeriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, timeSeries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, timeSeries_); onChanged(); } else { timeSeriesBuilder_.addAllMessages(values); @@ -981,6 +1059,8 @@ public Builder addAllTimeSeries( return this; } /** + * + * *
      * One or more time series that match the filter included in the request.
      * 
@@ -998,6 +1078,8 @@ public Builder clearTimeSeries() { return this; } /** + * + * *
      * One or more time series that match the filter included in the request.
      * 
@@ -1015,39 +1097,44 @@ public Builder removeTimeSeries(int index) { return this; } /** + * + * *
      * One or more time series that match the filter included in the request.
      * 
* * repeated .google.monitoring.v3.TimeSeries time_series = 1; */ - public com.google.monitoring.v3.TimeSeries.Builder getTimeSeriesBuilder( - int index) { + public com.google.monitoring.v3.TimeSeries.Builder getTimeSeriesBuilder(int index) { return getTimeSeriesFieldBuilder().getBuilder(index); } /** + * + * *
      * One or more time series that match the filter included in the request.
      * 
* * repeated .google.monitoring.v3.TimeSeries time_series = 1; */ - public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder( - int index) { + public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder(int index) { if (timeSeriesBuilder_ == null) { - return timeSeries_.get(index); } else { + return timeSeries_.get(index); + } else { return timeSeriesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * One or more time series that match the filter included in the request.
      * 
* * repeated .google.monitoring.v3.TimeSeries time_series = 1; */ - public java.util.List - getTimeSeriesOrBuilderList() { + public java.util.List + getTimeSeriesOrBuilderList() { if (timeSeriesBuilder_ != null) { return timeSeriesBuilder_.getMessageOrBuilderList(); } else { @@ -1055,6 +1142,8 @@ public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder( } } /** + * + * *
      * One or more time series that match the filter included in the request.
      * 
@@ -1062,42 +1151,47 @@ public com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder( * repeated .google.monitoring.v3.TimeSeries time_series = 1; */ public com.google.monitoring.v3.TimeSeries.Builder addTimeSeriesBuilder() { - return getTimeSeriesFieldBuilder().addBuilder( - com.google.monitoring.v3.TimeSeries.getDefaultInstance()); + return getTimeSeriesFieldBuilder() + .addBuilder(com.google.monitoring.v3.TimeSeries.getDefaultInstance()); } /** + * + * *
      * One or more time series that match the filter included in the request.
      * 
* * repeated .google.monitoring.v3.TimeSeries time_series = 1; */ - public com.google.monitoring.v3.TimeSeries.Builder addTimeSeriesBuilder( - int index) { - return getTimeSeriesFieldBuilder().addBuilder( - index, com.google.monitoring.v3.TimeSeries.getDefaultInstance()); + public com.google.monitoring.v3.TimeSeries.Builder addTimeSeriesBuilder(int index) { + return getTimeSeriesFieldBuilder() + .addBuilder(index, com.google.monitoring.v3.TimeSeries.getDefaultInstance()); } /** + * + * *
      * One or more time series that match the filter included in the request.
      * 
* * repeated .google.monitoring.v3.TimeSeries time_series = 1; */ - public java.util.List - getTimeSeriesBuilderList() { + public java.util.List getTimeSeriesBuilderList() { return getTimeSeriesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.TimeSeries, com.google.monitoring.v3.TimeSeries.Builder, com.google.monitoring.v3.TimeSeriesOrBuilder> + com.google.monitoring.v3.TimeSeries, + com.google.monitoring.v3.TimeSeries.Builder, + com.google.monitoring.v3.TimeSeriesOrBuilder> getTimeSeriesFieldBuilder() { if (timeSeriesBuilder_ == null) { - timeSeriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.TimeSeries, com.google.monitoring.v3.TimeSeries.Builder, com.google.monitoring.v3.TimeSeriesOrBuilder>( - timeSeries_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + timeSeriesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.monitoring.v3.TimeSeries, + com.google.monitoring.v3.TimeSeries.Builder, + com.google.monitoring.v3.TimeSeriesOrBuilder>( + timeSeries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); timeSeries_ = null; } return timeSeriesBuilder_; @@ -1105,6 +1199,8 @@ public com.google.monitoring.v3.TimeSeries.Builder addTimeSeriesBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -1112,13 +1208,13 @@ public com.google.monitoring.v3.TimeSeries.Builder addTimeSeriesBuilder(
      * 
* * 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; @@ -1127,6 +1223,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -1134,15 +1232,14 @@ public java.lang.String getNextPageToken() {
      * 
* * 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 { @@ -1150,6 +1247,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -1157,20 +1256,22 @@ public java.lang.String getNextPageToken() {
      * 
* * 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; } /** + * + * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -1178,15 +1279,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results,
@@ -1194,34 +1298,38 @@ public Builder clearNextPageToken() {
      * 
* * 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; } private java.util.List executionErrors_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureExecutionErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { executionErrors_ = new java.util.ArrayList(executionErrors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> executionErrorsBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + executionErrorsBuilder_; /** + * + * *
      * Query execution errors that may have caused the time series data returned
      * to be incomplete.
@@ -1237,6 +1345,8 @@ public java.util.List getExecutionErrorsList() {
       }
     }
     /**
+     *
+     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete.
@@ -1252,6 +1362,8 @@ public int getExecutionErrorsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete.
@@ -1267,6 +1379,8 @@ public com.google.rpc.Status getExecutionErrors(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete.
@@ -1274,8 +1388,7 @@ public com.google.rpc.Status getExecutionErrors(int index) {
      *
      * repeated .google.rpc.Status execution_errors = 3;
      */
-    public Builder setExecutionErrors(
-        int index, com.google.rpc.Status value) {
+    public Builder setExecutionErrors(int index, com.google.rpc.Status value) {
       if (executionErrorsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1289,6 +1402,8 @@ public Builder setExecutionErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete.
@@ -1296,8 +1411,7 @@ public Builder setExecutionErrors(
      *
      * repeated .google.rpc.Status execution_errors = 3;
      */
-    public Builder setExecutionErrors(
-        int index, com.google.rpc.Status.Builder builderForValue) {
+    public Builder setExecutionErrors(int index, com.google.rpc.Status.Builder builderForValue) {
       if (executionErrorsBuilder_ == null) {
         ensureExecutionErrorsIsMutable();
         executionErrors_.set(index, builderForValue.build());
@@ -1308,6 +1422,8 @@ public Builder setExecutionErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete.
@@ -1329,6 +1445,8 @@ public Builder addExecutionErrors(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete.
@@ -1336,8 +1454,7 @@ public Builder addExecutionErrors(com.google.rpc.Status value) {
      *
      * repeated .google.rpc.Status execution_errors = 3;
      */
-    public Builder addExecutionErrors(
-        int index, com.google.rpc.Status value) {
+    public Builder addExecutionErrors(int index, com.google.rpc.Status value) {
       if (executionErrorsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1351,6 +1468,8 @@ public Builder addExecutionErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete.
@@ -1358,8 +1477,7 @@ public Builder addExecutionErrors(
      *
      * repeated .google.rpc.Status execution_errors = 3;
      */
-    public Builder addExecutionErrors(
-        com.google.rpc.Status.Builder builderForValue) {
+    public Builder addExecutionErrors(com.google.rpc.Status.Builder builderForValue) {
       if (executionErrorsBuilder_ == null) {
         ensureExecutionErrorsIsMutable();
         executionErrors_.add(builderForValue.build());
@@ -1370,6 +1488,8 @@ public Builder addExecutionErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete.
@@ -1377,8 +1497,7 @@ public Builder addExecutionErrors(
      *
      * repeated .google.rpc.Status execution_errors = 3;
      */
-    public Builder addExecutionErrors(
-        int index, com.google.rpc.Status.Builder builderForValue) {
+    public Builder addExecutionErrors(int index, com.google.rpc.Status.Builder builderForValue) {
       if (executionErrorsBuilder_ == null) {
         ensureExecutionErrorsIsMutable();
         executionErrors_.add(index, builderForValue.build());
@@ -1389,6 +1508,8 @@ public Builder addExecutionErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete.
@@ -1400,8 +1521,7 @@ public Builder addAllExecutionErrors(
         java.lang.Iterable values) {
       if (executionErrorsBuilder_ == null) {
         ensureExecutionErrorsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, executionErrors_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, executionErrors_);
         onChanged();
       } else {
         executionErrorsBuilder_.addAllMessages(values);
@@ -1409,6 +1529,8 @@ public Builder addAllExecutionErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete.
@@ -1427,6 +1549,8 @@ public Builder clearExecutionErrors() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete.
@@ -1445,6 +1569,8 @@ public Builder removeExecutionErrors(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete.
@@ -1452,11 +1578,12 @@ public Builder removeExecutionErrors(int index) {
      *
      * repeated .google.rpc.Status execution_errors = 3;
      */
-    public com.google.rpc.Status.Builder getExecutionErrorsBuilder(
-        int index) {
+    public com.google.rpc.Status.Builder getExecutionErrorsBuilder(int index) {
       return getExecutionErrorsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete.
@@ -1464,14 +1591,16 @@ public com.google.rpc.Status.Builder getExecutionErrorsBuilder(
      *
      * repeated .google.rpc.Status execution_errors = 3;
      */
-    public com.google.rpc.StatusOrBuilder getExecutionErrorsOrBuilder(
-        int index) {
+    public com.google.rpc.StatusOrBuilder getExecutionErrorsOrBuilder(int index) {
       if (executionErrorsBuilder_ == null) {
-        return executionErrors_.get(index);  } else {
+        return executionErrors_.get(index);
+      } else {
         return executionErrorsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete.
@@ -1479,8 +1608,8 @@ public com.google.rpc.StatusOrBuilder getExecutionErrorsOrBuilder(
      *
      * repeated .google.rpc.Status execution_errors = 3;
      */
-    public java.util.List 
-         getExecutionErrorsOrBuilderList() {
+    public java.util.List
+        getExecutionErrorsOrBuilderList() {
       if (executionErrorsBuilder_ != null) {
         return executionErrorsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1488,6 +1617,8 @@ public com.google.rpc.StatusOrBuilder getExecutionErrorsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete.
@@ -1496,10 +1627,12 @@ public com.google.rpc.StatusOrBuilder getExecutionErrorsOrBuilder(
      * repeated .google.rpc.Status execution_errors = 3;
      */
     public com.google.rpc.Status.Builder addExecutionErrorsBuilder() {
-      return getExecutionErrorsFieldBuilder().addBuilder(
-          com.google.rpc.Status.getDefaultInstance());
+      return getExecutionErrorsFieldBuilder()
+          .addBuilder(com.google.rpc.Status.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete.
@@ -1507,12 +1640,13 @@ public com.google.rpc.Status.Builder addExecutionErrorsBuilder() {
      *
      * repeated .google.rpc.Status execution_errors = 3;
      */
-    public com.google.rpc.Status.Builder addExecutionErrorsBuilder(
-        int index) {
-      return getExecutionErrorsFieldBuilder().addBuilder(
-          index, com.google.rpc.Status.getDefaultInstance());
+    public com.google.rpc.Status.Builder addExecutionErrorsBuilder(int index) {
+      return getExecutionErrorsFieldBuilder()
+          .addBuilder(index, com.google.rpc.Status.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete.
@@ -1520,16 +1654,19 @@ public com.google.rpc.Status.Builder addExecutionErrorsBuilder(
      *
      * repeated .google.rpc.Status execution_errors = 3;
      */
-    public java.util.List 
-         getExecutionErrorsBuilderList() {
+    public java.util.List getExecutionErrorsBuilderList() {
       return getExecutionErrorsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> 
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
         getExecutionErrorsFieldBuilder() {
       if (executionErrorsBuilder_ == null) {
-        executionErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
+        executionErrorsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.rpc.Status,
+                com.google.rpc.Status.Builder,
+                com.google.rpc.StatusOrBuilder>(
                 executionErrors_,
                 ((bitField0_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -1541,6 +1678,8 @@ public com.google.rpc.Status.Builder addExecutionErrorsBuilder(
 
     private java.lang.Object unit_ = "";
     /**
+     *
+     *
      * 
      * The unit in which all `time_series` point values are reported. `unit`
      * follows the UCUM format for units as seen in
@@ -1551,13 +1690,13 @@ public com.google.rpc.Status.Builder addExecutionErrorsBuilder(
      * 
* * string unit = 5; + * * @return The unit. */ public java.lang.String getUnit() { java.lang.Object ref = unit_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); unit_ = s; return s; @@ -1566,6 +1705,8 @@ public java.lang.String getUnit() { } } /** + * + * *
      * The unit in which all `time_series` point values are reported. `unit`
      * follows the UCUM format for units as seen in
@@ -1576,15 +1717,14 @@ public java.lang.String getUnit() {
      * 
* * string unit = 5; + * * @return The bytes for unit. */ - public com.google.protobuf.ByteString - getUnitBytes() { + public com.google.protobuf.ByteString getUnitBytes() { java.lang.Object ref = unit_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); unit_ = b; return b; } else { @@ -1592,6 +1732,8 @@ public java.lang.String getUnit() { } } /** + * + * *
      * The unit in which all `time_series` point values are reported. `unit`
      * follows the UCUM format for units as seen in
@@ -1602,20 +1744,22 @@ public java.lang.String getUnit() {
      * 
* * string unit = 5; + * * @param value The unit to set. * @return This builder for chaining. */ - public Builder setUnit( - java.lang.String value) { + public Builder setUnit(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + unit_ = value; onChanged(); return this; } /** + * + * *
      * The unit in which all `time_series` point values are reported. `unit`
      * follows the UCUM format for units as seen in
@@ -1626,15 +1770,18 @@ public Builder setUnit(
      * 
* * string unit = 5; + * * @return This builder for chaining. */ public Builder clearUnit() { - + unit_ = getDefaultInstance().getUnit(); onChanged(); return this; } /** + * + * *
      * The unit in which all `time_series` point values are reported. `unit`
      * follows the UCUM format for units as seen in
@@ -1645,23 +1792,23 @@ public Builder clearUnit() {
      * 
* * string unit = 5; + * * @param value The bytes for unit to set. * @return This builder for chaining. */ - public Builder setUnitBytes( - com.google.protobuf.ByteString value) { + public Builder setUnitBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + unit_ = 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); } @@ -1671,12 +1818,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListTimeSeriesResponse) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListTimeSeriesResponse) private static final com.google.monitoring.v3.ListTimeSeriesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListTimeSeriesResponse(); } @@ -1685,16 +1832,16 @@ public static com.google.monitoring.v3.ListTimeSeriesResponse getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTimeSeriesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTimeSeriesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTimeSeriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTimeSeriesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1709,6 +1856,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.ListTimeSeriesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesResponseOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesResponseOrBuilder.java similarity index 77% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesResponseOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesResponseOrBuilder.java index 98579fd8..b10a78bf 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesResponseOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListTimeSeriesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric_service.proto package com.google.monitoring.v3; -public interface ListTimeSeriesResponseOrBuilder extends +public interface ListTimeSeriesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListTimeSeriesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * One or more time series that match the filter included in the request.
    * 
* * repeated .google.monitoring.v3.TimeSeries time_series = 1; */ - java.util.List - getTimeSeriesList(); + java.util.List getTimeSeriesList(); /** + * + * *
    * One or more time series that match the filter included in the request.
    * 
@@ -25,6 +44,8 @@ public interface ListTimeSeriesResponseOrBuilder extends */ com.google.monitoring.v3.TimeSeries getTimeSeries(int index); /** + * + * *
    * One or more time series that match the filter included in the request.
    * 
@@ -33,25 +54,30 @@ public interface ListTimeSeriesResponseOrBuilder extends */ int getTimeSeriesCount(); /** + * + * *
    * One or more time series that match the filter included in the request.
    * 
* * repeated .google.monitoring.v3.TimeSeries time_series = 1; */ - java.util.List + java.util.List getTimeSeriesOrBuilderList(); /** + * + * *
    * One or more time series that match the filter included in the request.
    * 
* * repeated .google.monitoring.v3.TimeSeries time_series = 1; */ - com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder( - int index); + com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder(int index); /** + * + * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -59,10 +85,13 @@ com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results,
@@ -70,12 +99,14 @@ com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Query execution errors that may have caused the time series data returned
    * to be incomplete.
@@ -83,9 +114,10 @@ com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder(
    *
    * repeated .google.rpc.Status execution_errors = 3;
    */
-  java.util.List 
-      getExecutionErrorsList();
+  java.util.List getExecutionErrorsList();
   /**
+   *
+   *
    * 
    * Query execution errors that may have caused the time series data returned
    * to be incomplete.
@@ -95,6 +127,8 @@ com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder(
    */
   com.google.rpc.Status getExecutionErrors(int index);
   /**
+   *
+   *
    * 
    * Query execution errors that may have caused the time series data returned
    * to be incomplete.
@@ -104,6 +138,8 @@ com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder(
    */
   int getExecutionErrorsCount();
   /**
+   *
+   *
    * 
    * Query execution errors that may have caused the time series data returned
    * to be incomplete.
@@ -111,9 +147,10 @@ com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder(
    *
    * repeated .google.rpc.Status execution_errors = 3;
    */
-  java.util.List 
-      getExecutionErrorsOrBuilderList();
+  java.util.List getExecutionErrorsOrBuilderList();
   /**
+   *
+   *
    * 
    * Query execution errors that may have caused the time series data returned
    * to be incomplete.
@@ -121,10 +158,11 @@ com.google.monitoring.v3.TimeSeriesOrBuilder getTimeSeriesOrBuilder(
    *
    * repeated .google.rpc.Status execution_errors = 3;
    */
-  com.google.rpc.StatusOrBuilder getExecutionErrorsOrBuilder(
-      int index);
+  com.google.rpc.StatusOrBuilder getExecutionErrorsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * The unit in which all `time_series` point values are reported. `unit`
    * follows the UCUM format for units as seen in
@@ -135,10 +173,13 @@ com.google.rpc.StatusOrBuilder getExecutionErrorsOrBuilder(
    * 
* * string unit = 5; + * * @return The unit. */ java.lang.String getUnit(); /** + * + * *
    * The unit in which all `time_series` point values are reported. `unit`
    * follows the UCUM format for units as seen in
@@ -149,8 +190,8 @@ com.google.rpc.StatusOrBuilder getExecutionErrorsOrBuilder(
    * 
* * string unit = 5; + * * @return The bytes for unit. */ - com.google.protobuf.ByteString - getUnitBytes(); + com.google.protobuf.ByteString getUnitBytes(); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequest.java similarity index 70% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequest.java index 12a2c4ac..cbc71099 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/uptime_service.proto package com.google.monitoring.v3; /** + * + * *
  * The protocol for the `ListUptimeCheckConfigs` request.
  * 
* * Protobuf type {@code google.monitoring.v3.ListUptimeCheckConfigsRequest} */ -public final class ListUptimeCheckConfigsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListUptimeCheckConfigsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListUptimeCheckConfigsRequest) ListUptimeCheckConfigsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListUptimeCheckConfigsRequest.newBuilder() to construct. private ListUptimeCheckConfigsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListUptimeCheckConfigsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListUptimeCheckConfigsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListUptimeCheckConfigsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListUptimeCheckConfigsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,65 +71,74 @@ private ListUptimeCheckConfigsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 24: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 24: + { + pageSize_ = input.readInt32(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_ListUptimeCheckConfigsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.UptimeServiceProto + .internal_static_google_monitoring_v3_ListUptimeCheckConfigsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_ListUptimeCheckConfigsRequest_fieldAccessorTable + return com.google.monitoring.v3.UptimeServiceProto + .internal_static_google_monitoring_v3_ListUptimeCheckConfigsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListUptimeCheckConfigsRequest.class, com.google.monitoring.v3.ListUptimeCheckConfigsRequest.Builder.class); + com.google.monitoring.v3.ListUptimeCheckConfigsRequest.class, + com.google.monitoring.v3.ListUptimeCheckConfigsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
    * whose Uptime check configurations are listed. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -121,31 +147,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
    * whose Uptime check configurations are listed. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -156,6 +184,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * The maximum number of results to return in a single response. The server
    * may further constrain the maximum number of results returned in a single
@@ -164,6 +194,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -174,6 +205,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** + * + * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -181,6 +214,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -189,14 +223,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -204,16 +239,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -222,6 +256,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -233,8 +268,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -257,8 +291,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -271,19 +304,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.monitoring.v3.ListUptimeCheckConfigsRequest)) { return super.equals(obj); } - com.google.monitoring.v3.ListUptimeCheckConfigsRequest other = (com.google.monitoring.v3.ListUptimeCheckConfigsRequest) obj; + com.google.monitoring.v3.ListUptimeCheckConfigsRequest other = + (com.google.monitoring.v3.ListUptimeCheckConfigsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -307,117 +338,127 @@ public int hashCode() { } public static com.google.monitoring.v3.ListUptimeCheckConfigsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListUptimeCheckConfigsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListUptimeCheckConfigsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListUptimeCheckConfigsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListUptimeCheckConfigsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListUptimeCheckConfigsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListUptimeCheckConfigsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ListUptimeCheckConfigsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListUptimeCheckConfigsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListUptimeCheckConfigsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ListUptimeCheckConfigsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListUptimeCheckConfigsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.ListUptimeCheckConfigsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListUptimeCheckConfigsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.ListUptimeCheckConfigsRequest prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.ListUptimeCheckConfigsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 protocol for the `ListUptimeCheckConfigs` request.
    * 
* * Protobuf type {@code google.monitoring.v3.ListUptimeCheckConfigsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListUptimeCheckConfigsRequest) com.google.monitoring.v3.ListUptimeCheckConfigsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_ListUptimeCheckConfigsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.UptimeServiceProto + .internal_static_google_monitoring_v3_ListUptimeCheckConfigsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_ListUptimeCheckConfigsRequest_fieldAccessorTable + return com.google.monitoring.v3.UptimeServiceProto + .internal_static_google_monitoring_v3_ListUptimeCheckConfigsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListUptimeCheckConfigsRequest.class, com.google.monitoring.v3.ListUptimeCheckConfigsRequest.Builder.class); + com.google.monitoring.v3.ListUptimeCheckConfigsRequest.class, + com.google.monitoring.v3.ListUptimeCheckConfigsRequest.Builder.class); } // Construct using com.google.monitoring.v3.ListUptimeCheckConfigsRequest.newBuilder() @@ -425,16 +466,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -448,9 +488,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_ListUptimeCheckConfigsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.UptimeServiceProto + .internal_static_google_monitoring_v3_ListUptimeCheckConfigsRequest_descriptor; } @java.lang.Override @@ -469,7 +509,8 @@ public com.google.monitoring.v3.ListUptimeCheckConfigsRequest build() { @java.lang.Override public com.google.monitoring.v3.ListUptimeCheckConfigsRequest buildPartial() { - com.google.monitoring.v3.ListUptimeCheckConfigsRequest result = new com.google.monitoring.v3.ListUptimeCheckConfigsRequest(this); + com.google.monitoring.v3.ListUptimeCheckConfigsRequest result = + new com.google.monitoring.v3.ListUptimeCheckConfigsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -481,38 +522,39 @@ public com.google.monitoring.v3.ListUptimeCheckConfigsRequest 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.monitoring.v3.ListUptimeCheckConfigsRequest) { - return mergeFrom((com.google.monitoring.v3.ListUptimeCheckConfigsRequest)other); + return mergeFrom((com.google.monitoring.v3.ListUptimeCheckConfigsRequest) other); } else { super.mergeFrom(other); return this; @@ -520,7 +562,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.ListUptimeCheckConfigsRequest other) { - if (other == com.google.monitoring.v3.ListUptimeCheckConfigsRequest.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.ListUptimeCheckConfigsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -551,7 +594,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.ListUptimeCheckConfigsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.ListUptimeCheckConfigsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -563,20 +607,24 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
      * whose Uptime check configurations are listed. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -585,22 +633,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
      * whose Uptime check configurations are listed. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -608,67 +659,82 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
      * whose Uptime check configurations are listed. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
      * whose Uptime check configurations are listed. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
      * whose Uptime check configurations are listed. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of results to return in a single response. The server
      * may further constrain the maximum number of results returned in a single
@@ -677,6 +743,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -684,6 +751,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of results to return in a single response. The server
      * may further constrain the maximum number of results returned in a single
@@ -692,16 +761,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of results to return in a single response. The server
      * may further constrain the maximum number of results returned in a single
@@ -710,10 +782,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -721,6 +794,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -728,13 +803,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -743,6 +818,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -750,15 +827,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -766,6 +842,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -773,20 +851,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -794,15 +874,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -810,23 +893,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -836,12 +919,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListUptimeCheckConfigsRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListUptimeCheckConfigsRequest) private static final com.google.monitoring.v3.ListUptimeCheckConfigsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListUptimeCheckConfigsRequest(); } @@ -850,16 +933,16 @@ public static com.google.monitoring.v3.ListUptimeCheckConfigsRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListUptimeCheckConfigsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListUptimeCheckConfigsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListUptimeCheckConfigsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListUptimeCheckConfigsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -874,6 +957,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.monitoring.v3.ListUptimeCheckConfigsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequestOrBuilder.java similarity index 63% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequestOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequestOrBuilder.java index 31627e4b..0d0c0632 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequestOrBuilder.java @@ -1,37 +1,64 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/uptime_service.proto package com.google.monitoring.v3; -public interface ListUptimeCheckConfigsRequestOrBuilder extends +public interface ListUptimeCheckConfigsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListUptimeCheckConfigsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
    * whose Uptime check configurations are listed. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
    * whose Uptime check configurations are listed. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of results to return in a single response. The server
    * may further constrain the maximum number of results returned in a single
@@ -40,11 +67,14 @@ public interface ListUptimeCheckConfigsRequestOrBuilder extends
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -52,10 +82,13 @@ public interface ListUptimeCheckConfigsRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -63,8 +96,8 @@ public interface ListUptimeCheckConfigsRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsResponse.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsResponse.java similarity index 76% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsResponse.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsResponse.java index 75a50c6c..3f99898d 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsResponse.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsResponse.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/uptime_service.proto package com.google.monitoring.v3; /** + * + * *
  * The protocol for the `ListUptimeCheckConfigs` response.
  * 
* * Protobuf type {@code google.monitoring.v3.ListUptimeCheckConfigsResponse} */ -public final class ListUptimeCheckConfigsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListUptimeCheckConfigsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListUptimeCheckConfigsResponse) ListUptimeCheckConfigsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListUptimeCheckConfigsResponse.newBuilder() to construct. - private ListUptimeCheckConfigsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListUptimeCheckConfigsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListUptimeCheckConfigsResponse() { uptimeCheckConfigs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +45,15 @@ private ListUptimeCheckConfigsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListUptimeCheckConfigsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListUptimeCheckConfigsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,40 +73,43 @@ private ListUptimeCheckConfigsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uptimeCheckConfigs_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uptimeCheckConfigs_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + uptimeCheckConfigs_.add( + input.readMessage( + com.google.monitoring.v3.UptimeCheckConfig.parser(), extensionRegistry)); + break; } - uptimeCheckConfigs_.add( - input.readMessage(com.google.monitoring.v3.UptimeCheckConfig.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 24: { - - totalSize_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + case 24: + { + totalSize_ = input.readInt32(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uptimeCheckConfigs_ = java.util.Collections.unmodifiableList(uptimeCheckConfigs_); @@ -97,22 +118,27 @@ private ListUptimeCheckConfigsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_ListUptimeCheckConfigsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.UptimeServiceProto + .internal_static_google_monitoring_v3_ListUptimeCheckConfigsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_ListUptimeCheckConfigsResponse_fieldAccessorTable + return com.google.monitoring.v3.UptimeServiceProto + .internal_static_google_monitoring_v3_ListUptimeCheckConfigsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListUptimeCheckConfigsResponse.class, com.google.monitoring.v3.ListUptimeCheckConfigsResponse.Builder.class); + com.google.monitoring.v3.ListUptimeCheckConfigsResponse.class, + com.google.monitoring.v3.ListUptimeCheckConfigsResponse.Builder.class); } public static final int UPTIME_CHECK_CONFIGS_FIELD_NUMBER = 1; private java.util.List uptimeCheckConfigs_; /** + * + * *
    * The returned Uptime check configurations.
    * 
@@ -124,6 +150,8 @@ public java.util.List getUptimeCheck return uptimeCheckConfigs_; } /** + * + * *
    * The returned Uptime check configurations.
    * 
@@ -131,11 +159,13 @@ public java.util.List getUptimeCheck * repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getUptimeCheckConfigsOrBuilderList() { return uptimeCheckConfigs_; } /** + * + * *
    * The returned Uptime check configurations.
    * 
@@ -147,6 +177,8 @@ public int getUptimeCheckConfigsCount() { return uptimeCheckConfigs_.size(); } /** + * + * *
    * The returned Uptime check configurations.
    * 
@@ -158,6 +190,8 @@ public com.google.monitoring.v3.UptimeCheckConfig getUptimeCheckConfigs(int inde return uptimeCheckConfigs_.get(index); } /** + * + * *
    * The returned Uptime check configurations.
    * 
@@ -173,6 +207,8 @@ public com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigs public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * This field represents the pagination token to retrieve the next page of
    * results. If the value is empty, it means no further results for the
@@ -182,6 +218,7 @@ public com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigs
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -190,14 +227,15 @@ 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; } } /** + * + * *
    * This field represents the pagination token to retrieve the next page of
    * results. If the value is empty, it means no further results for the
@@ -207,16 +245,15 @@ public java.lang.String getNextPageToken() {
    * 
* * 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 { @@ -227,12 +264,15 @@ public java.lang.String getNextPageToken() { public static final int TOTAL_SIZE_FIELD_NUMBER = 3; private int totalSize_; /** + * + * *
    * The total number of Uptime check configurations for the project,
    * irrespective of any pagination.
    * 
* * int32 total_size = 3; + * * @return The totalSize. */ @java.lang.Override @@ -241,6 +281,7 @@ public int getTotalSize() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -252,8 +293,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < uptimeCheckConfigs_.size(); i++) { output.writeMessage(1, uptimeCheckConfigs_.get(i)); } @@ -273,15 +313,14 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < uptimeCheckConfigs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, uptimeCheckConfigs_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, uptimeCheckConfigs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } if (totalSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, totalSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, totalSize_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -291,19 +330,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.monitoring.v3.ListUptimeCheckConfigsResponse)) { return super.equals(obj); } - com.google.monitoring.v3.ListUptimeCheckConfigsResponse other = (com.google.monitoring.v3.ListUptimeCheckConfigsResponse) obj; + com.google.monitoring.v3.ListUptimeCheckConfigsResponse other = + (com.google.monitoring.v3.ListUptimeCheckConfigsResponse) obj; - if (!getUptimeCheckConfigsList() - .equals(other.getUptimeCheckConfigsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (getTotalSize() - != other.getTotalSize()) return false; + if (!getUptimeCheckConfigsList().equals(other.getUptimeCheckConfigsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (getTotalSize() != other.getTotalSize()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -329,117 +366,127 @@ public int hashCode() { } public static com.google.monitoring.v3.ListUptimeCheckConfigsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListUptimeCheckConfigsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListUptimeCheckConfigsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListUptimeCheckConfigsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListUptimeCheckConfigsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListUptimeCheckConfigsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListUptimeCheckConfigsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ListUptimeCheckConfigsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListUptimeCheckConfigsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListUptimeCheckConfigsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ListUptimeCheckConfigsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListUptimeCheckConfigsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.ListUptimeCheckConfigsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListUptimeCheckConfigsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.ListUptimeCheckConfigsResponse prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.ListUptimeCheckConfigsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 protocol for the `ListUptimeCheckConfigs` response.
    * 
* * Protobuf type {@code google.monitoring.v3.ListUptimeCheckConfigsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListUptimeCheckConfigsResponse) com.google.monitoring.v3.ListUptimeCheckConfigsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_ListUptimeCheckConfigsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.UptimeServiceProto + .internal_static_google_monitoring_v3_ListUptimeCheckConfigsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_ListUptimeCheckConfigsResponse_fieldAccessorTable + return com.google.monitoring.v3.UptimeServiceProto + .internal_static_google_monitoring_v3_ListUptimeCheckConfigsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListUptimeCheckConfigsResponse.class, com.google.monitoring.v3.ListUptimeCheckConfigsResponse.Builder.class); + com.google.monitoring.v3.ListUptimeCheckConfigsResponse.class, + com.google.monitoring.v3.ListUptimeCheckConfigsResponse.Builder.class); } // Construct using com.google.monitoring.v3.ListUptimeCheckConfigsResponse.newBuilder() @@ -447,17 +494,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getUptimeCheckConfigsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -475,9 +522,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_ListUptimeCheckConfigsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.UptimeServiceProto + .internal_static_google_monitoring_v3_ListUptimeCheckConfigsResponse_descriptor; } @java.lang.Override @@ -496,7 +543,8 @@ public com.google.monitoring.v3.ListUptimeCheckConfigsResponse build() { @java.lang.Override public com.google.monitoring.v3.ListUptimeCheckConfigsResponse buildPartial() { - com.google.monitoring.v3.ListUptimeCheckConfigsResponse result = new com.google.monitoring.v3.ListUptimeCheckConfigsResponse(this); + com.google.monitoring.v3.ListUptimeCheckConfigsResponse result = + new com.google.monitoring.v3.ListUptimeCheckConfigsResponse(this); int from_bitField0_ = bitField0_; if (uptimeCheckConfigsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -517,38 +565,39 @@ public com.google.monitoring.v3.ListUptimeCheckConfigsResponse 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.monitoring.v3.ListUptimeCheckConfigsResponse) { - return mergeFrom((com.google.monitoring.v3.ListUptimeCheckConfigsResponse)other); + return mergeFrom((com.google.monitoring.v3.ListUptimeCheckConfigsResponse) other); } else { super.mergeFrom(other); return this; @@ -556,7 +605,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.ListUptimeCheckConfigsResponse other) { - if (other == com.google.monitoring.v3.ListUptimeCheckConfigsResponse.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.ListUptimeCheckConfigsResponse.getDefaultInstance()) + return this; if (uptimeCheckConfigsBuilder_ == null) { if (!other.uptimeCheckConfigs_.isEmpty()) { if (uptimeCheckConfigs_.isEmpty()) { @@ -575,9 +625,10 @@ public Builder mergeFrom(com.google.monitoring.v3.ListUptimeCheckConfigsResponse uptimeCheckConfigsBuilder_ = null; uptimeCheckConfigs_ = other.uptimeCheckConfigs_; bitField0_ = (bitField0_ & ~0x00000001); - uptimeCheckConfigsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getUptimeCheckConfigsFieldBuilder() : null; + uptimeCheckConfigsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getUptimeCheckConfigsFieldBuilder() + : null; } else { uptimeCheckConfigsBuilder_.addAllMessages(other.uptimeCheckConfigs_); } @@ -609,7 +660,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.ListUptimeCheckConfigsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.ListUptimeCheckConfigsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -618,21 +670,30 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List uptimeCheckConfigs_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureUptimeCheckConfigsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - uptimeCheckConfigs_ = new java.util.ArrayList(uptimeCheckConfigs_); + uptimeCheckConfigs_ = + new java.util.ArrayList( + uptimeCheckConfigs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig, com.google.monitoring.v3.UptimeCheckConfig.Builder, com.google.monitoring.v3.UptimeCheckConfigOrBuilder> uptimeCheckConfigsBuilder_; + com.google.monitoring.v3.UptimeCheckConfig, + com.google.monitoring.v3.UptimeCheckConfig.Builder, + com.google.monitoring.v3.UptimeCheckConfigOrBuilder> + uptimeCheckConfigsBuilder_; /** + * + * *
      * The returned Uptime check configurations.
      * 
@@ -647,6 +708,8 @@ public java.util.List getUptimeCheck } } /** + * + * *
      * The returned Uptime check configurations.
      * 
@@ -661,6 +724,8 @@ public int getUptimeCheckConfigsCount() { } } /** + * + * *
      * The returned Uptime check configurations.
      * 
@@ -675,6 +740,8 @@ public com.google.monitoring.v3.UptimeCheckConfig getUptimeCheckConfigs(int inde } } /** + * + * *
      * The returned Uptime check configurations.
      * 
@@ -696,6 +763,8 @@ public Builder setUptimeCheckConfigs( return this; } /** + * + * *
      * The returned Uptime check configurations.
      * 
@@ -714,6 +783,8 @@ public Builder setUptimeCheckConfigs( return this; } /** + * + * *
      * The returned Uptime check configurations.
      * 
@@ -734,6 +805,8 @@ public Builder addUptimeCheckConfigs(com.google.monitoring.v3.UptimeCheckConfig return this; } /** + * + * *
      * The returned Uptime check configurations.
      * 
@@ -755,6 +828,8 @@ public Builder addUptimeCheckConfigs( return this; } /** + * + * *
      * The returned Uptime check configurations.
      * 
@@ -773,6 +848,8 @@ public Builder addUptimeCheckConfigs( return this; } /** + * + * *
      * The returned Uptime check configurations.
      * 
@@ -791,6 +868,8 @@ public Builder addUptimeCheckConfigs( return this; } /** + * + * *
      * The returned Uptime check configurations.
      * 
@@ -801,8 +880,7 @@ public Builder addAllUptimeCheckConfigs( java.lang.Iterable values) { if (uptimeCheckConfigsBuilder_ == null) { ensureUptimeCheckConfigsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, uptimeCheckConfigs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uptimeCheckConfigs_); onChanged(); } else { uptimeCheckConfigsBuilder_.addAllMessages(values); @@ -810,6 +888,8 @@ public Builder addAllUptimeCheckConfigs( return this; } /** + * + * *
      * The returned Uptime check configurations.
      * 
@@ -827,6 +907,8 @@ public Builder clearUptimeCheckConfigs() { return this; } /** + * + * *
      * The returned Uptime check configurations.
      * 
@@ -844,6 +926,8 @@ public Builder removeUptimeCheckConfigs(int index) { return this; } /** + * + * *
      * The returned Uptime check configurations.
      * 
@@ -855,6 +939,8 @@ public com.google.monitoring.v3.UptimeCheckConfig.Builder getUptimeCheckConfigsB return getUptimeCheckConfigsFieldBuilder().getBuilder(index); } /** + * + * *
      * The returned Uptime check configurations.
      * 
@@ -864,19 +950,22 @@ public com.google.monitoring.v3.UptimeCheckConfig.Builder getUptimeCheckConfigsB public com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigsOrBuilder( int index) { if (uptimeCheckConfigsBuilder_ == null) { - return uptimeCheckConfigs_.get(index); } else { + return uptimeCheckConfigs_.get(index); + } else { return uptimeCheckConfigsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The returned Uptime check configurations.
      * 
* * repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1; */ - public java.util.List - getUptimeCheckConfigsOrBuilderList() { + public java.util.List + getUptimeCheckConfigsOrBuilderList() { if (uptimeCheckConfigsBuilder_ != null) { return uptimeCheckConfigsBuilder_.getMessageOrBuilderList(); } else { @@ -884,6 +973,8 @@ public com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigs } } /** + * + * *
      * The returned Uptime check configurations.
      * 
@@ -891,10 +982,12 @@ public com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigs * repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1; */ public com.google.monitoring.v3.UptimeCheckConfig.Builder addUptimeCheckConfigsBuilder() { - return getUptimeCheckConfigsFieldBuilder().addBuilder( - com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance()); + return getUptimeCheckConfigsFieldBuilder() + .addBuilder(com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance()); } /** + * + * *
      * The returned Uptime check configurations.
      * 
@@ -903,26 +996,34 @@ public com.google.monitoring.v3.UptimeCheckConfig.Builder addUptimeCheckConfigsB */ public com.google.monitoring.v3.UptimeCheckConfig.Builder addUptimeCheckConfigsBuilder( int index) { - return getUptimeCheckConfigsFieldBuilder().addBuilder( - index, com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance()); + return getUptimeCheckConfigsFieldBuilder() + .addBuilder(index, com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance()); } /** + * + * *
      * The returned Uptime check configurations.
      * 
* * repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1; */ - public java.util.List - getUptimeCheckConfigsBuilderList() { + public java.util.List + getUptimeCheckConfigsBuilderList() { return getUptimeCheckConfigsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig, com.google.monitoring.v3.UptimeCheckConfig.Builder, com.google.monitoring.v3.UptimeCheckConfigOrBuilder> + com.google.monitoring.v3.UptimeCheckConfig, + com.google.monitoring.v3.UptimeCheckConfig.Builder, + com.google.monitoring.v3.UptimeCheckConfigOrBuilder> getUptimeCheckConfigsFieldBuilder() { if (uptimeCheckConfigsBuilder_ == null) { - uptimeCheckConfigsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig, com.google.monitoring.v3.UptimeCheckConfig.Builder, com.google.monitoring.v3.UptimeCheckConfigOrBuilder>( + uptimeCheckConfigsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.monitoring.v3.UptimeCheckConfig, + com.google.monitoring.v3.UptimeCheckConfig.Builder, + com.google.monitoring.v3.UptimeCheckConfigOrBuilder>( uptimeCheckConfigs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -934,6 +1035,8 @@ public com.google.monitoring.v3.UptimeCheckConfig.Builder addUptimeCheckConfigsB private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * This field represents the pagination token to retrieve the next page of
      * results. If the value is empty, it means no further results for the
@@ -943,13 +1046,13 @@ public com.google.monitoring.v3.UptimeCheckConfig.Builder addUptimeCheckConfigsB
      * 
* * 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; @@ -958,6 +1061,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * This field represents the pagination token to retrieve the next page of
      * results. If the value is empty, it means no further results for the
@@ -967,15 +1072,14 @@ public java.lang.String getNextPageToken() {
      * 
* * 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 { @@ -983,6 +1087,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * This field represents the pagination token to retrieve the next page of
      * results. If the value is empty, it means no further results for the
@@ -992,20 +1098,22 @@ public java.lang.String getNextPageToken() {
      * 
* * 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; } /** + * + * *
      * This field represents the pagination token to retrieve the next page of
      * results. If the value is empty, it means no further results for the
@@ -1015,15 +1123,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * This field represents the pagination token to retrieve the next page of
      * results. If the value is empty, it means no further results for the
@@ -1033,29 +1144,32 @@ public Builder clearNextPageToken() {
      * 
* * 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; } - private int totalSize_ ; + private int totalSize_; /** + * + * *
      * The total number of Uptime check configurations for the project,
      * irrespective of any pagination.
      * 
* * int32 total_size = 3; + * * @return The totalSize. */ @java.lang.Override @@ -1063,39 +1177,45 @@ public int getTotalSize() { return totalSize_; } /** + * + * *
      * The total number of Uptime check configurations for the project,
      * irrespective of any pagination.
      * 
* * int32 total_size = 3; + * * @param value The totalSize to set. * @return This builder for chaining. */ public Builder setTotalSize(int value) { - + totalSize_ = value; onChanged(); return this; } /** + * + * *
      * The total number of Uptime check configurations for the project,
      * irrespective of any pagination.
      * 
* * int32 total_size = 3; + * * @return This builder for chaining. */ public Builder clearTotalSize() { - + totalSize_ = 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); } @@ -1105,12 +1225,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListUptimeCheckConfigsResponse) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListUptimeCheckConfigsResponse) private static final com.google.monitoring.v3.ListUptimeCheckConfigsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListUptimeCheckConfigsResponse(); } @@ -1119,16 +1239,16 @@ public static com.google.monitoring.v3.ListUptimeCheckConfigsResponse getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListUptimeCheckConfigsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListUptimeCheckConfigsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListUptimeCheckConfigsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListUptimeCheckConfigsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1143,6 +1263,4 @@ public com.google.protobuf.Parser getParserForTy public com.google.monitoring.v3.ListUptimeCheckConfigsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsResponseOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsResponseOrBuilder.java similarity index 73% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsResponseOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsResponseOrBuilder.java index 38ec45ad..52fd32f6 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsResponseOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/uptime_service.proto package com.google.monitoring.v3; -public interface ListUptimeCheckConfigsResponseOrBuilder extends +public interface ListUptimeCheckConfigsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListUptimeCheckConfigsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The returned Uptime check configurations.
    * 
* * repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1; */ - java.util.List - getUptimeCheckConfigsList(); + java.util.List getUptimeCheckConfigsList(); /** + * + * *
    * The returned Uptime check configurations.
    * 
@@ -25,6 +44,8 @@ public interface ListUptimeCheckConfigsResponseOrBuilder extends */ com.google.monitoring.v3.UptimeCheckConfig getUptimeCheckConfigs(int index); /** + * + * *
    * The returned Uptime check configurations.
    * 
@@ -33,25 +54,30 @@ public interface ListUptimeCheckConfigsResponseOrBuilder extends */ int getUptimeCheckConfigsCount(); /** + * + * *
    * The returned Uptime check configurations.
    * 
* * repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1; */ - java.util.List + java.util.List getUptimeCheckConfigsOrBuilderList(); /** + * + * *
    * The returned Uptime check configurations.
    * 
* * repeated .google.monitoring.v3.UptimeCheckConfig uptime_check_configs = 1; */ - com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigsOrBuilder( - int index); + com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigsOrBuilder(int index); /** + * + * *
    * This field represents the pagination token to retrieve the next page of
    * results. If the value is empty, it means no further results for the
@@ -61,10 +87,13 @@ com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigsOrBuild
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * This field represents the pagination token to retrieve the next page of
    * results. If the value is empty, it means no further results for the
@@ -74,18 +103,21 @@ com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigsOrBuild
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * The total number of Uptime check configurations for the project,
    * irrespective of any pagination.
    * 
* * int32 total_size = 3; + * * @return The totalSize. */ int getTotalSize(); diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsRequest.java similarity index 72% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsRequest.java index 6268fa89..b115b4c3 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/uptime_service.proto package com.google.monitoring.v3; /** + * + * *
  * The protocol for the `ListUptimeCheckIps` request.
  * 
* * Protobuf type {@code google.monitoring.v3.ListUptimeCheckIpsRequest} */ -public final class ListUptimeCheckIpsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListUptimeCheckIpsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListUptimeCheckIpsRequest) ListUptimeCheckIpsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListUptimeCheckIpsRequest.newBuilder() to construct. private ListUptimeCheckIpsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListUptimeCheckIpsRequest() { pageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListUptimeCheckIpsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListUptimeCheckIpsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,52 +70,57 @@ private ListUptimeCheckIpsRequest( case 0: done = true; break; - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_ListUptimeCheckIpsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.UptimeServiceProto + .internal_static_google_monitoring_v3_ListUptimeCheckIpsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_ListUptimeCheckIpsRequest_fieldAccessorTable + return com.google.monitoring.v3.UptimeServiceProto + .internal_static_google_monitoring_v3_ListUptimeCheckIpsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListUptimeCheckIpsRequest.class, com.google.monitoring.v3.ListUptimeCheckIpsRequest.Builder.class); + com.google.monitoring.v3.ListUptimeCheckIpsRequest.class, + com.google.monitoring.v3.ListUptimeCheckIpsRequest.Builder.class); } public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of results to return in a single response. The server
    * may further constrain the maximum number of results returned in a single
@@ -108,6 +130,7 @@ private ListUptimeCheckIpsRequest(
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -118,6 +141,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -126,6 +151,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -134,14 +160,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -150,16 +177,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -168,6 +194,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,8 +206,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (pageSize_ != 0) { output.writeInt32(2, pageSize_); } @@ -197,8 +223,7 @@ public int getSerializedSize() { size = 0; if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -211,17 +236,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.ListUptimeCheckIpsRequest)) { return super.equals(obj); } - com.google.monitoring.v3.ListUptimeCheckIpsRequest other = (com.google.monitoring.v3.ListUptimeCheckIpsRequest) obj; + com.google.monitoring.v3.ListUptimeCheckIpsRequest other = + (com.google.monitoring.v3.ListUptimeCheckIpsRequest) obj; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -243,117 +267,126 @@ public int hashCode() { } public static com.google.monitoring.v3.ListUptimeCheckIpsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListUptimeCheckIpsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListUptimeCheckIpsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListUptimeCheckIpsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListUptimeCheckIpsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListUptimeCheckIpsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListUptimeCheckIpsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ListUptimeCheckIpsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListUptimeCheckIpsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListUptimeCheckIpsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ListUptimeCheckIpsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListUptimeCheckIpsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.ListUptimeCheckIpsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListUptimeCheckIpsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.ListUptimeCheckIpsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 protocol for the `ListUptimeCheckIps` request.
    * 
* * Protobuf type {@code google.monitoring.v3.ListUptimeCheckIpsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListUptimeCheckIpsRequest) com.google.monitoring.v3.ListUptimeCheckIpsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_ListUptimeCheckIpsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.UptimeServiceProto + .internal_static_google_monitoring_v3_ListUptimeCheckIpsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_ListUptimeCheckIpsRequest_fieldAccessorTable + return com.google.monitoring.v3.UptimeServiceProto + .internal_static_google_monitoring_v3_ListUptimeCheckIpsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListUptimeCheckIpsRequest.class, com.google.monitoring.v3.ListUptimeCheckIpsRequest.Builder.class); + com.google.monitoring.v3.ListUptimeCheckIpsRequest.class, + com.google.monitoring.v3.ListUptimeCheckIpsRequest.Builder.class); } // Construct using com.google.monitoring.v3.ListUptimeCheckIpsRequest.newBuilder() @@ -361,16 +394,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -382,9 +414,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_ListUptimeCheckIpsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.UptimeServiceProto + .internal_static_google_monitoring_v3_ListUptimeCheckIpsRequest_descriptor; } @java.lang.Override @@ -403,7 +435,8 @@ public com.google.monitoring.v3.ListUptimeCheckIpsRequest build() { @java.lang.Override public com.google.monitoring.v3.ListUptimeCheckIpsRequest buildPartial() { - com.google.monitoring.v3.ListUptimeCheckIpsRequest result = new com.google.monitoring.v3.ListUptimeCheckIpsRequest(this); + com.google.monitoring.v3.ListUptimeCheckIpsRequest result = + new com.google.monitoring.v3.ListUptimeCheckIpsRequest(this); result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; onBuilt(); @@ -414,38 +447,39 @@ public com.google.monitoring.v3.ListUptimeCheckIpsRequest 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.monitoring.v3.ListUptimeCheckIpsRequest) { - return mergeFrom((com.google.monitoring.v3.ListUptimeCheckIpsRequest)other); + return mergeFrom((com.google.monitoring.v3.ListUptimeCheckIpsRequest) other); } else { super.mergeFrom(other); return this; @@ -453,7 +487,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.ListUptimeCheckIpsRequest other) { - if (other == com.google.monitoring.v3.ListUptimeCheckIpsRequest.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.ListUptimeCheckIpsRequest.getDefaultInstance()) + return this; if (other.getPageSize() != 0) { setPageSize(other.getPageSize()); } @@ -480,7 +515,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.ListUptimeCheckIpsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.ListUptimeCheckIpsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -490,8 +526,10 @@ public Builder mergeFrom( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of results to return in a single response. The server
      * may further constrain the maximum number of results returned in a single
@@ -501,6 +539,7 @@ public Builder mergeFrom(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -508,6 +547,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of results to return in a single response. The server
      * may further constrain the maximum number of results returned in a single
@@ -517,16 +558,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of results to return in a single response. The server
      * may further constrain the maximum number of results returned in a single
@@ -536,10 +580,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -547,6 +592,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -555,13 +602,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -570,6 +617,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -578,15 +627,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -594,6 +642,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -602,20 +652,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -624,15 +676,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -641,23 +696,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -667,12 +722,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListUptimeCheckIpsRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListUptimeCheckIpsRequest) private static final com.google.monitoring.v3.ListUptimeCheckIpsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListUptimeCheckIpsRequest(); } @@ -681,16 +736,16 @@ public static com.google.monitoring.v3.ListUptimeCheckIpsRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListUptimeCheckIpsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListUptimeCheckIpsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListUptimeCheckIpsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListUptimeCheckIpsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -705,6 +760,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.monitoring.v3.ListUptimeCheckIpsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsRequestOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsRequestOrBuilder.java index 216662c7..f88396e3 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/uptime_service.proto package com.google.monitoring.v3; -public interface ListUptimeCheckIpsRequestOrBuilder extends +public interface ListUptimeCheckIpsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListUptimeCheckIpsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The maximum number of results to return in a single response. The server
    * may further constrain the maximum number of results returned in a single
@@ -17,11 +35,14 @@ public interface ListUptimeCheckIpsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -30,10 +51,13 @@ public interface ListUptimeCheckIpsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -42,8 +66,8 @@ public interface ListUptimeCheckIpsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsResponse.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsResponse.java similarity index 76% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsResponse.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsResponse.java index fabd5fcb..68210aed 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsResponse.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/uptime_service.proto package com.google.monitoring.v3; /** + * + * *
  * The protocol for the `ListUptimeCheckIps` response.
  * 
* * Protobuf type {@code google.monitoring.v3.ListUptimeCheckIpsResponse} */ -public final class ListUptimeCheckIpsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListUptimeCheckIpsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.ListUptimeCheckIpsResponse) ListUptimeCheckIpsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListUptimeCheckIpsResponse.newBuilder() to construct. private ListUptimeCheckIpsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListUptimeCheckIpsResponse() { uptimeCheckIps_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListUptimeCheckIpsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListUptimeCheckIpsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListUptimeCheckIpsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,35 +72,37 @@ private ListUptimeCheckIpsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uptimeCheckIps_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uptimeCheckIps_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + uptimeCheckIps_.add( + input.readMessage( + com.google.monitoring.v3.UptimeCheckIp.parser(), extensionRegistry)); + break; } - uptimeCheckIps_.add( - input.readMessage(com.google.monitoring.v3.UptimeCheckIp.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uptimeCheckIps_ = java.util.Collections.unmodifiableList(uptimeCheckIps_); @@ -92,22 +111,27 @@ private ListUptimeCheckIpsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_ListUptimeCheckIpsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.UptimeServiceProto + .internal_static_google_monitoring_v3_ListUptimeCheckIpsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_ListUptimeCheckIpsResponse_fieldAccessorTable + return com.google.monitoring.v3.UptimeServiceProto + .internal_static_google_monitoring_v3_ListUptimeCheckIpsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListUptimeCheckIpsResponse.class, com.google.monitoring.v3.ListUptimeCheckIpsResponse.Builder.class); + com.google.monitoring.v3.ListUptimeCheckIpsResponse.class, + com.google.monitoring.v3.ListUptimeCheckIpsResponse.Builder.class); } public static final int UPTIME_CHECK_IPS_FIELD_NUMBER = 1; private java.util.List uptimeCheckIps_; /** + * + * *
    * The returned list of IP addresses (including region and location) that the
    * checkers run from.
@@ -120,6 +144,8 @@ public java.util.List getUptimeCheckIpsL
     return uptimeCheckIps_;
   }
   /**
+   *
+   *
    * 
    * The returned list of IP addresses (including region and location) that the
    * checkers run from.
@@ -128,11 +154,13 @@ public java.util.List getUptimeCheckIpsL
    * repeated .google.monitoring.v3.UptimeCheckIp uptime_check_ips = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getUptimeCheckIpsOrBuilderList() {
     return uptimeCheckIps_;
   }
   /**
+   *
+   *
    * 
    * The returned list of IP addresses (including region and location) that the
    * checkers run from.
@@ -145,6 +173,8 @@ public int getUptimeCheckIpsCount() {
     return uptimeCheckIps_.size();
   }
   /**
+   *
+   *
    * 
    * The returned list of IP addresses (including region and location) that the
    * checkers run from.
@@ -157,6 +187,8 @@ public com.google.monitoring.v3.UptimeCheckIp getUptimeCheckIps(int index) {
     return uptimeCheckIps_.get(index);
   }
   /**
+   *
+   *
    * 
    * The returned list of IP addresses (including region and location) that the
    * checkers run from.
@@ -165,14 +197,15 @@ public com.google.monitoring.v3.UptimeCheckIp getUptimeCheckIps(int index) {
    * repeated .google.monitoring.v3.UptimeCheckIp uptime_check_ips = 1;
    */
   @java.lang.Override
-  public com.google.monitoring.v3.UptimeCheckIpOrBuilder getUptimeCheckIpsOrBuilder(
-      int index) {
+  public com.google.monitoring.v3.UptimeCheckIpOrBuilder getUptimeCheckIpsOrBuilder(int index) {
     return uptimeCheckIps_.get(index);
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
   private volatile java.lang.Object nextPageToken_;
   /**
+   *
+   *
    * 
    * This field represents the pagination token to retrieve the next page of
    * results. If the value is empty, it means no further results for the
@@ -183,6 +216,7 @@ public com.google.monitoring.v3.UptimeCheckIpOrBuilder getUptimeCheckIpsOrBuilde
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -191,14 +225,15 @@ 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; } } /** + * + * *
    * This field represents the pagination token to retrieve the next page of
    * results. If the value is empty, it means no further results for the
@@ -209,16 +244,15 @@ public java.lang.String getNextPageToken() {
    * 
* * 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 { @@ -227,6 +261,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -238,8 +273,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < uptimeCheckIps_.size(); i++) { output.writeMessage(1, uptimeCheckIps_.get(i)); } @@ -256,8 +290,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < uptimeCheckIps_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, uptimeCheckIps_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, uptimeCheckIps_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -270,17 +303,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.ListUptimeCheckIpsResponse)) { return super.equals(obj); } - com.google.monitoring.v3.ListUptimeCheckIpsResponse other = (com.google.monitoring.v3.ListUptimeCheckIpsResponse) obj; + com.google.monitoring.v3.ListUptimeCheckIpsResponse other = + (com.google.monitoring.v3.ListUptimeCheckIpsResponse) obj; - if (!getUptimeCheckIpsList() - .equals(other.getUptimeCheckIpsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getUptimeCheckIpsList().equals(other.getUptimeCheckIpsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -304,117 +336,126 @@ public int hashCode() { } public static com.google.monitoring.v3.ListUptimeCheckIpsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListUptimeCheckIpsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListUptimeCheckIpsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListUptimeCheckIpsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ListUptimeCheckIpsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ListUptimeCheckIpsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.ListUptimeCheckIpsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ListUptimeCheckIpsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListUptimeCheckIpsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ListUptimeCheckIpsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ListUptimeCheckIpsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListUptimeCheckIpsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.ListUptimeCheckIpsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ListUptimeCheckIpsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.ListUptimeCheckIpsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 protocol for the `ListUptimeCheckIps` response.
    * 
* * Protobuf type {@code google.monitoring.v3.ListUptimeCheckIpsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ListUptimeCheckIpsResponse) com.google.monitoring.v3.ListUptimeCheckIpsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_ListUptimeCheckIpsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.UptimeServiceProto + .internal_static_google_monitoring_v3_ListUptimeCheckIpsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_ListUptimeCheckIpsResponse_fieldAccessorTable + return com.google.monitoring.v3.UptimeServiceProto + .internal_static_google_monitoring_v3_ListUptimeCheckIpsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.ListUptimeCheckIpsResponse.class, com.google.monitoring.v3.ListUptimeCheckIpsResponse.Builder.class); + com.google.monitoring.v3.ListUptimeCheckIpsResponse.class, + com.google.monitoring.v3.ListUptimeCheckIpsResponse.Builder.class); } // Construct using com.google.monitoring.v3.ListUptimeCheckIpsResponse.newBuilder() @@ -422,17 +463,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getUptimeCheckIpsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -448,9 +489,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_ListUptimeCheckIpsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.UptimeServiceProto + .internal_static_google_monitoring_v3_ListUptimeCheckIpsResponse_descriptor; } @java.lang.Override @@ -469,7 +510,8 @@ public com.google.monitoring.v3.ListUptimeCheckIpsResponse build() { @java.lang.Override public com.google.monitoring.v3.ListUptimeCheckIpsResponse buildPartial() { - com.google.monitoring.v3.ListUptimeCheckIpsResponse result = new com.google.monitoring.v3.ListUptimeCheckIpsResponse(this); + com.google.monitoring.v3.ListUptimeCheckIpsResponse result = + new com.google.monitoring.v3.ListUptimeCheckIpsResponse(this); int from_bitField0_ = bitField0_; if (uptimeCheckIpsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -489,38 +531,39 @@ public com.google.monitoring.v3.ListUptimeCheckIpsResponse 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.monitoring.v3.ListUptimeCheckIpsResponse) { - return mergeFrom((com.google.monitoring.v3.ListUptimeCheckIpsResponse)other); + return mergeFrom((com.google.monitoring.v3.ListUptimeCheckIpsResponse) other); } else { super.mergeFrom(other); return this; @@ -528,7 +571,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.ListUptimeCheckIpsResponse other) { - if (other == com.google.monitoring.v3.ListUptimeCheckIpsResponse.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.ListUptimeCheckIpsResponse.getDefaultInstance()) + return this; if (uptimeCheckIpsBuilder_ == null) { if (!other.uptimeCheckIps_.isEmpty()) { if (uptimeCheckIps_.isEmpty()) { @@ -547,9 +591,10 @@ public Builder mergeFrom(com.google.monitoring.v3.ListUptimeCheckIpsResponse oth uptimeCheckIpsBuilder_ = null; uptimeCheckIps_ = other.uptimeCheckIps_; bitField0_ = (bitField0_ & ~0x00000001); - uptimeCheckIpsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getUptimeCheckIpsFieldBuilder() : null; + uptimeCheckIpsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getUptimeCheckIpsFieldBuilder() + : null; } else { uptimeCheckIpsBuilder_.addAllMessages(other.uptimeCheckIps_); } @@ -578,7 +623,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.ListUptimeCheckIpsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.ListUptimeCheckIpsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -587,21 +633,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List uptimeCheckIps_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureUptimeCheckIpsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - uptimeCheckIps_ = new java.util.ArrayList(uptimeCheckIps_); + uptimeCheckIps_ = + new java.util.ArrayList(uptimeCheckIps_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckIp, com.google.monitoring.v3.UptimeCheckIp.Builder, com.google.monitoring.v3.UptimeCheckIpOrBuilder> uptimeCheckIpsBuilder_; + com.google.monitoring.v3.UptimeCheckIp, + com.google.monitoring.v3.UptimeCheckIp.Builder, + com.google.monitoring.v3.UptimeCheckIpOrBuilder> + uptimeCheckIpsBuilder_; /** + * + * *
      * The returned list of IP addresses (including region and location) that the
      * checkers run from.
@@ -617,6 +671,8 @@ public java.util.List getUptimeCheckIpsL
       }
     }
     /**
+     *
+     *
      * 
      * The returned list of IP addresses (including region and location) that the
      * checkers run from.
@@ -632,6 +688,8 @@ public int getUptimeCheckIpsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The returned list of IP addresses (including region and location) that the
      * checkers run from.
@@ -647,6 +705,8 @@ public com.google.monitoring.v3.UptimeCheckIp getUptimeCheckIps(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The returned list of IP addresses (including region and location) that the
      * checkers run from.
@@ -654,8 +714,7 @@ public com.google.monitoring.v3.UptimeCheckIp getUptimeCheckIps(int index) {
      *
      * repeated .google.monitoring.v3.UptimeCheckIp uptime_check_ips = 1;
      */
-    public Builder setUptimeCheckIps(
-        int index, com.google.monitoring.v3.UptimeCheckIp value) {
+    public Builder setUptimeCheckIps(int index, com.google.monitoring.v3.UptimeCheckIp value) {
       if (uptimeCheckIpsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -669,6 +728,8 @@ public Builder setUptimeCheckIps(
       return this;
     }
     /**
+     *
+     *
      * 
      * The returned list of IP addresses (including region and location) that the
      * checkers run from.
@@ -688,6 +749,8 @@ public Builder setUptimeCheckIps(
       return this;
     }
     /**
+     *
+     *
      * 
      * The returned list of IP addresses (including region and location) that the
      * checkers run from.
@@ -709,6 +772,8 @@ public Builder addUptimeCheckIps(com.google.monitoring.v3.UptimeCheckIp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The returned list of IP addresses (including region and location) that the
      * checkers run from.
@@ -716,8 +781,7 @@ public Builder addUptimeCheckIps(com.google.monitoring.v3.UptimeCheckIp value) {
      *
      * repeated .google.monitoring.v3.UptimeCheckIp uptime_check_ips = 1;
      */
-    public Builder addUptimeCheckIps(
-        int index, com.google.monitoring.v3.UptimeCheckIp value) {
+    public Builder addUptimeCheckIps(int index, com.google.monitoring.v3.UptimeCheckIp value) {
       if (uptimeCheckIpsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -731,6 +795,8 @@ public Builder addUptimeCheckIps(
       return this;
     }
     /**
+     *
+     *
      * 
      * The returned list of IP addresses (including region and location) that the
      * checkers run from.
@@ -750,6 +816,8 @@ public Builder addUptimeCheckIps(
       return this;
     }
     /**
+     *
+     *
      * 
      * The returned list of IP addresses (including region and location) that the
      * checkers run from.
@@ -769,6 +837,8 @@ public Builder addUptimeCheckIps(
       return this;
     }
     /**
+     *
+     *
      * 
      * The returned list of IP addresses (including region and location) that the
      * checkers run from.
@@ -780,8 +850,7 @@ public Builder addAllUptimeCheckIps(
         java.lang.Iterable values) {
       if (uptimeCheckIpsBuilder_ == null) {
         ensureUptimeCheckIpsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, uptimeCheckIps_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uptimeCheckIps_);
         onChanged();
       } else {
         uptimeCheckIpsBuilder_.addAllMessages(values);
@@ -789,6 +858,8 @@ public Builder addAllUptimeCheckIps(
       return this;
     }
     /**
+     *
+     *
      * 
      * The returned list of IP addresses (including region and location) that the
      * checkers run from.
@@ -807,6 +878,8 @@ public Builder clearUptimeCheckIps() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The returned list of IP addresses (including region and location) that the
      * checkers run from.
@@ -825,6 +898,8 @@ public Builder removeUptimeCheckIps(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The returned list of IP addresses (including region and location) that the
      * checkers run from.
@@ -832,11 +907,12 @@ public Builder removeUptimeCheckIps(int index) {
      *
      * repeated .google.monitoring.v3.UptimeCheckIp uptime_check_ips = 1;
      */
-    public com.google.monitoring.v3.UptimeCheckIp.Builder getUptimeCheckIpsBuilder(
-        int index) {
+    public com.google.monitoring.v3.UptimeCheckIp.Builder getUptimeCheckIpsBuilder(int index) {
       return getUptimeCheckIpsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The returned list of IP addresses (including region and location) that the
      * checkers run from.
@@ -844,14 +920,16 @@ public com.google.monitoring.v3.UptimeCheckIp.Builder getUptimeCheckIpsBuilder(
      *
      * repeated .google.monitoring.v3.UptimeCheckIp uptime_check_ips = 1;
      */
-    public com.google.monitoring.v3.UptimeCheckIpOrBuilder getUptimeCheckIpsOrBuilder(
-        int index) {
+    public com.google.monitoring.v3.UptimeCheckIpOrBuilder getUptimeCheckIpsOrBuilder(int index) {
       if (uptimeCheckIpsBuilder_ == null) {
-        return uptimeCheckIps_.get(index);  } else {
+        return uptimeCheckIps_.get(index);
+      } else {
         return uptimeCheckIpsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The returned list of IP addresses (including region and location) that the
      * checkers run from.
@@ -859,8 +937,8 @@ public com.google.monitoring.v3.UptimeCheckIpOrBuilder getUptimeCheckIpsOrBuilde
      *
      * repeated .google.monitoring.v3.UptimeCheckIp uptime_check_ips = 1;
      */
-    public java.util.List 
-         getUptimeCheckIpsOrBuilderList() {
+    public java.util.List
+        getUptimeCheckIpsOrBuilderList() {
       if (uptimeCheckIpsBuilder_ != null) {
         return uptimeCheckIpsBuilder_.getMessageOrBuilderList();
       } else {
@@ -868,6 +946,8 @@ public com.google.monitoring.v3.UptimeCheckIpOrBuilder getUptimeCheckIpsOrBuilde
       }
     }
     /**
+     *
+     *
      * 
      * The returned list of IP addresses (including region and location) that the
      * checkers run from.
@@ -876,10 +956,12 @@ public com.google.monitoring.v3.UptimeCheckIpOrBuilder getUptimeCheckIpsOrBuilde
      * repeated .google.monitoring.v3.UptimeCheckIp uptime_check_ips = 1;
      */
     public com.google.monitoring.v3.UptimeCheckIp.Builder addUptimeCheckIpsBuilder() {
-      return getUptimeCheckIpsFieldBuilder().addBuilder(
-          com.google.monitoring.v3.UptimeCheckIp.getDefaultInstance());
+      return getUptimeCheckIpsFieldBuilder()
+          .addBuilder(com.google.monitoring.v3.UptimeCheckIp.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The returned list of IP addresses (including region and location) that the
      * checkers run from.
@@ -887,12 +969,13 @@ public com.google.monitoring.v3.UptimeCheckIp.Builder addUptimeCheckIpsBuilder()
      *
      * repeated .google.monitoring.v3.UptimeCheckIp uptime_check_ips = 1;
      */
-    public com.google.monitoring.v3.UptimeCheckIp.Builder addUptimeCheckIpsBuilder(
-        int index) {
-      return getUptimeCheckIpsFieldBuilder().addBuilder(
-          index, com.google.monitoring.v3.UptimeCheckIp.getDefaultInstance());
+    public com.google.monitoring.v3.UptimeCheckIp.Builder addUptimeCheckIpsBuilder(int index) {
+      return getUptimeCheckIpsFieldBuilder()
+          .addBuilder(index, com.google.monitoring.v3.UptimeCheckIp.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The returned list of IP addresses (including region and location) that the
      * checkers run from.
@@ -900,16 +983,22 @@ public com.google.monitoring.v3.UptimeCheckIp.Builder addUptimeCheckIpsBuilder(
      *
      * repeated .google.monitoring.v3.UptimeCheckIp uptime_check_ips = 1;
      */
-    public java.util.List 
-         getUptimeCheckIpsBuilderList() {
+    public java.util.List
+        getUptimeCheckIpsBuilderList() {
       return getUptimeCheckIpsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.monitoring.v3.UptimeCheckIp, com.google.monitoring.v3.UptimeCheckIp.Builder, com.google.monitoring.v3.UptimeCheckIpOrBuilder> 
+            com.google.monitoring.v3.UptimeCheckIp,
+            com.google.monitoring.v3.UptimeCheckIp.Builder,
+            com.google.monitoring.v3.UptimeCheckIpOrBuilder>
         getUptimeCheckIpsFieldBuilder() {
       if (uptimeCheckIpsBuilder_ == null) {
-        uptimeCheckIpsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.monitoring.v3.UptimeCheckIp, com.google.monitoring.v3.UptimeCheckIp.Builder, com.google.monitoring.v3.UptimeCheckIpOrBuilder>(
+        uptimeCheckIpsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.monitoring.v3.UptimeCheckIp,
+                com.google.monitoring.v3.UptimeCheckIp.Builder,
+                com.google.monitoring.v3.UptimeCheckIpOrBuilder>(
                 uptimeCheckIps_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -921,6 +1010,8 @@ public com.google.monitoring.v3.UptimeCheckIp.Builder addUptimeCheckIpsBuilder(
 
     private java.lang.Object nextPageToken_ = "";
     /**
+     *
+     *
      * 
      * This field represents the pagination token to retrieve the next page of
      * results. If the value is empty, it means no further results for the
@@ -931,13 +1022,13 @@ public com.google.monitoring.v3.UptimeCheckIp.Builder addUptimeCheckIpsBuilder(
      * 
* * 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; @@ -946,6 +1037,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * This field represents the pagination token to retrieve the next page of
      * results. If the value is empty, it means no further results for the
@@ -956,15 +1049,14 @@ public java.lang.String getNextPageToken() {
      * 
* * 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 { @@ -972,6 +1064,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * This field represents the pagination token to retrieve the next page of
      * results. If the value is empty, it means no further results for the
@@ -982,20 +1076,22 @@ public java.lang.String getNextPageToken() {
      * 
* * 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; } /** + * + * *
      * This field represents the pagination token to retrieve the next page of
      * results. If the value is empty, it means no further results for the
@@ -1006,15 +1102,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * This field represents the pagination token to retrieve the next page of
      * results. If the value is empty, it means no further results for the
@@ -1025,23 +1124,23 @@ public Builder clearNextPageToken() {
      * 
* * 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); } @@ -1051,12 +1150,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ListUptimeCheckIpsResponse) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ListUptimeCheckIpsResponse) private static final com.google.monitoring.v3.ListUptimeCheckIpsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ListUptimeCheckIpsResponse(); } @@ -1065,16 +1164,16 @@ public static com.google.monitoring.v3.ListUptimeCheckIpsResponse getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListUptimeCheckIpsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListUptimeCheckIpsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListUptimeCheckIpsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListUptimeCheckIpsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1089,6 +1188,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.monitoring.v3.ListUptimeCheckIpsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsResponseOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsResponseOrBuilder.java similarity index 75% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsResponseOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsResponseOrBuilder.java index e1b6b39e..5b2048ef 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsResponseOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckIpsResponseOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/uptime_service.proto package com.google.monitoring.v3; -public interface ListUptimeCheckIpsResponseOrBuilder extends +public interface ListUptimeCheckIpsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ListUptimeCheckIpsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The returned list of IP addresses (including region and location) that the
    * checkers run from.
@@ -15,9 +33,10 @@ public interface ListUptimeCheckIpsResponseOrBuilder extends
    *
    * repeated .google.monitoring.v3.UptimeCheckIp uptime_check_ips = 1;
    */
-  java.util.List 
-      getUptimeCheckIpsList();
+  java.util.List getUptimeCheckIpsList();
   /**
+   *
+   *
    * 
    * The returned list of IP addresses (including region and location) that the
    * checkers run from.
@@ -27,6 +46,8 @@ public interface ListUptimeCheckIpsResponseOrBuilder extends
    */
   com.google.monitoring.v3.UptimeCheckIp getUptimeCheckIps(int index);
   /**
+   *
+   *
    * 
    * The returned list of IP addresses (including region and location) that the
    * checkers run from.
@@ -36,6 +57,8 @@ public interface ListUptimeCheckIpsResponseOrBuilder extends
    */
   int getUptimeCheckIpsCount();
   /**
+   *
+   *
    * 
    * The returned list of IP addresses (including region and location) that the
    * checkers run from.
@@ -43,9 +66,11 @@ public interface ListUptimeCheckIpsResponseOrBuilder extends
    *
    * repeated .google.monitoring.v3.UptimeCheckIp uptime_check_ips = 1;
    */
-  java.util.List 
+  java.util.List
       getUptimeCheckIpsOrBuilderList();
   /**
+   *
+   *
    * 
    * The returned list of IP addresses (including region and location) that the
    * checkers run from.
@@ -53,10 +78,11 @@ public interface ListUptimeCheckIpsResponseOrBuilder extends
    *
    * repeated .google.monitoring.v3.UptimeCheckIp uptime_check_ips = 1;
    */
-  com.google.monitoring.v3.UptimeCheckIpOrBuilder getUptimeCheckIpsOrBuilder(
-      int index);
+  com.google.monitoring.v3.UptimeCheckIpOrBuilder getUptimeCheckIpsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * This field represents the pagination token to retrieve the next page of
    * results. If the value is empty, it means no further results for the
@@ -67,10 +93,13 @@ com.google.monitoring.v3.UptimeCheckIpOrBuilder getUptimeCheckIpsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * This field represents the pagination token to retrieve the next page of
    * results. If the value is empty, it means no further results for the
@@ -81,8 +110,8 @@ com.google.monitoring.v3.UptimeCheckIpOrBuilder getUptimeCheckIpsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricDescriptorName.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricDescriptorName.java similarity index 100% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricDescriptorName.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricDescriptorName.java diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricProto.java new file mode 100644 index 00000000..a460ab83 --- /dev/null +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricProto.java @@ -0,0 +1,232 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/metric.proto + +package com.google.monitoring.v3; + +public final class MetricProto { + private MetricProto() {} + + 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_monitoring_v3_Point_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_Point_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_TimeSeries_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_TimeSeries_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_TimeSeriesDescriptor_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_TimeSeriesDescriptor_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_TimeSeriesDescriptor_ValueDescriptor_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_TimeSeriesDescriptor_ValueDescriptor_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_TimeSeriesData_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_TimeSeriesData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_TimeSeriesData_PointData_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_TimeSeriesData_PointData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_LabelValue_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_LabelValue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_QueryError_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_QueryError_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_TextLocator_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_TextLocator_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_TextLocator_Position_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_TextLocator_Position_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/monitoring/v3/metric.proto\022\024goo" + + "gle.monitoring.v3\032\035google/api/distributi" + + "on.proto\032\026google/api/label.proto\032\027google" + + "/api/metric.proto\032#google/api/monitored_" + + "resource.proto\032!google/monitoring/v3/com" + + "mon.proto\032\036google/protobuf/duration.prot" + + "o\"n\n\005Point\0224\n\010interval\030\001 \001(\0132\".google.mo" + + "nitoring.v3.TimeInterval\022/\n\005value\030\002 \001(\0132" + + " .google.monitoring.v3.TypedValue\"\317\002\n\nTi" + + "meSeries\022\"\n\006metric\030\001 \001(\0132\022.google.api.Me" + + "tric\022/\n\010resource\030\002 \001(\0132\035.google.api.Moni" + + "toredResource\0227\n\010metadata\030\007 \001(\0132%.google" + + ".api.MonitoredResourceMetadata\022<\n\013metric" + + "_kind\030\003 \001(\0162\'.google.api.MetricDescripto" + + "r.MetricKind\022:\n\nvalue_type\030\004 \001(\0162&.googl" + + "e.api.MetricDescriptor.ValueType\022+\n\006poin" + + "ts\030\005 \003(\0132\033.google.monitoring.v3.Point\022\014\n" + + "\004unit\030\010 \001(\t\"\316\002\n\024TimeSeriesDescriptor\0226\n\021" + + "label_descriptors\030\001 \003(\0132\033.google.api.Lab" + + "elDescriptor\022U\n\021point_descriptors\030\005 \003(\0132" + + ":.google.monitoring.v3.TimeSeriesDescrip" + + "tor.ValueDescriptor\032\246\001\n\017ValueDescriptor\022" + + "\013\n\003key\030\001 \001(\t\022:\n\nvalue_type\030\002 \001(\0162&.googl" + + "e.api.MetricDescriptor.ValueType\022<\n\013metr" + + "ic_kind\030\003 \001(\0162\'.google.api.MetricDescrip" + + "tor.MetricKind\022\014\n\004unit\030\004 \001(\t\"\206\002\n\016TimeSer" + + "iesData\0226\n\014label_values\030\001 \003(\0132 .google.m" + + "onitoring.v3.LabelValue\022B\n\npoint_data\030\002 " + + "\003(\0132..google.monitoring.v3.TimeSeriesDat" + + "a.PointData\032x\n\tPointData\0220\n\006values\030\001 \003(\013" + + "2 .google.monitoring.v3.TypedValue\0229\n\rti" + + "me_interval\030\002 \001(\0132\".google.monitoring.v3" + + ".TimeInterval\"Z\n\nLabelValue\022\024\n\nbool_valu" + + "e\030\001 \001(\010H\000\022\025\n\013int64_value\030\002 \001(\003H\000\022\026\n\014stri" + + "ng_value\030\003 \001(\tH\000B\007\n\005value\"Q\n\nQueryError\022" + + "2\n\007locator\030\001 \001(\0132!.google.monitoring.v3." + + "TextLocator\022\017\n\007message\030\002 \001(\t\"\240\002\n\013TextLoc" + + "ator\022\016\n\006source\030\001 \001(\t\022B\n\016start_position\030\002" + + " \001(\0132*.google.monitoring.v3.TextLocator." + + "Position\022@\n\014end_position\030\003 \001(\0132*.google." + + "monitoring.v3.TextLocator.Position\0229\n\016ne" + + "sted_locator\030\004 \001(\0132!.google.monitoring.v" + + "3.TextLocator\022\026\n\016nesting_reason\030\005 \001(\t\032(\n" + + "\010Position\022\014\n\004line\030\001 \001(\005\022\016\n\006column\030\002 \001(\005B" + + "\303\001\n\030com.google.monitoring.v3B\013MetricProt" + + "oP\001Z>google.golang.org/genproto/googleap" + + "is/monitoring/v3;monitoring\252\002\032Google.Clo" + + "ud.Monitoring.V3\312\002\032Google\\Cloud\\Monitori" + + "ng\\V3\352\002\035Google::Cloud::Monitoring::V3b\006p" + + "roto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.DistributionProto.getDescriptor(), + com.google.api.LabelProto.getDescriptor(), + com.google.api.MetricProto.getDescriptor(), + com.google.api.MonitoredResourceProto.getDescriptor(), + com.google.monitoring.v3.CommonProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + }); + internal_static_google_monitoring_v3_Point_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_monitoring_v3_Point_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_Point_descriptor, + new java.lang.String[] { + "Interval", "Value", + }); + internal_static_google_monitoring_v3_TimeSeries_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_monitoring_v3_TimeSeries_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_TimeSeries_descriptor, + new java.lang.String[] { + "Metric", "Resource", "Metadata", "MetricKind", "ValueType", "Points", "Unit", + }); + internal_static_google_monitoring_v3_TimeSeriesDescriptor_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_monitoring_v3_TimeSeriesDescriptor_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_TimeSeriesDescriptor_descriptor, + new java.lang.String[] { + "LabelDescriptors", "PointDescriptors", + }); + internal_static_google_monitoring_v3_TimeSeriesDescriptor_ValueDescriptor_descriptor = + internal_static_google_monitoring_v3_TimeSeriesDescriptor_descriptor + .getNestedTypes() + .get(0); + internal_static_google_monitoring_v3_TimeSeriesDescriptor_ValueDescriptor_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_TimeSeriesDescriptor_ValueDescriptor_descriptor, + new java.lang.String[] { + "Key", "ValueType", "MetricKind", "Unit", + }); + internal_static_google_monitoring_v3_TimeSeriesData_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_monitoring_v3_TimeSeriesData_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_TimeSeriesData_descriptor, + new java.lang.String[] { + "LabelValues", "PointData", + }); + internal_static_google_monitoring_v3_TimeSeriesData_PointData_descriptor = + internal_static_google_monitoring_v3_TimeSeriesData_descriptor.getNestedTypes().get(0); + internal_static_google_monitoring_v3_TimeSeriesData_PointData_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_TimeSeriesData_PointData_descriptor, + new java.lang.String[] { + "Values", "TimeInterval", + }); + internal_static_google_monitoring_v3_LabelValue_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_monitoring_v3_LabelValue_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_LabelValue_descriptor, + new java.lang.String[] { + "BoolValue", "Int64Value", "StringValue", "Value", + }); + internal_static_google_monitoring_v3_QueryError_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_monitoring_v3_QueryError_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_QueryError_descriptor, + new java.lang.String[] { + "Locator", "Message", + }); + internal_static_google_monitoring_v3_TextLocator_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_monitoring_v3_TextLocator_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_TextLocator_descriptor, + new java.lang.String[] { + "Source", "StartPosition", "EndPosition", "NestedLocator", "NestingReason", + }); + internal_static_google_monitoring_v3_TextLocator_Position_descriptor = + internal_static_google_monitoring_v3_TextLocator_descriptor.getNestedTypes().get(0); + internal_static_google_monitoring_v3_TextLocator_Position_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_TextLocator_Position_descriptor, + new java.lang.String[] { + "Line", "Column", + }); + com.google.api.DistributionProto.getDescriptor(); + com.google.api.LabelProto.getDescriptor(); + com.google.api.MetricProto.getDescriptor(); + com.google.api.MonitoredResourceProto.getDescriptor(); + com.google.monitoring.v3.CommonProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceProto.java new file mode 100644 index 00000000..787f2cd6 --- /dev/null +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricServiceProto.java @@ -0,0 +1,449 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/metric_service.proto + +package com.google.monitoring.v3; + +public final class MetricServiceProto { + private MetricServiceProto() {} + + 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_monitoring_v3_ListMonitoredResourceDescriptorsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_GetMonitoredResourceDescriptorRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_GetMonitoredResourceDescriptorRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_ListMetricDescriptorsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_ListMetricDescriptorsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_ListMetricDescriptorsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_ListMetricDescriptorsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_GetMetricDescriptorRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_GetMetricDescriptorRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_CreateMetricDescriptorRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_CreateMetricDescriptorRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_DeleteMetricDescriptorRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_DeleteMetricDescriptorRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_ListTimeSeriesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_ListTimeSeriesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_ListTimeSeriesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_ListTimeSeriesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_CreateTimeSeriesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_CreateTimeSeriesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_CreateTimeSeriesError_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_CreateTimeSeriesError_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_CreateTimeSeriesSummary_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_CreateTimeSeriesSummary_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_CreateTimeSeriesSummary_Error_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_CreateTimeSeriesSummary_Error_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_QueryTimeSeriesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_QueryTimeSeriesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_QueryTimeSeriesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_QueryTimeSeriesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_QueryErrorList_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_QueryErrorList_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/monitoring/v3/metric_service.pr" + + "oto\022\024google.monitoring.v3\032\034google/api/an" + + "notations.proto\032\027google/api/client.proto" + + "\032\037google/api/field_behavior.proto\032\027googl" + + "e/api/metric.proto\032#google/api/monitored" + + "_resource.proto\032\031google/api/resource.pro" + + "to\032 google/monitoring/v3/alert.proto\032!go" + + "ogle/monitoring/v3/common.proto\032!google/" + + "monitoring/v3/metric.proto\032\036google/proto" + + "buf/duration.proto\032\033google/protobuf/empt" + + "y.proto\032\027google/rpc/status.proto\"\255\001\n\'Lis" + + "tMonitoredResourceDescriptorsRequest\022K\n\004" + + "name\030\005 \001(\tB=\340A\002\372A7\0225monitoring.googleapi" + + "s.com/MonitoredResourceDescriptor\022\016\n\006fil" + + "ter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_tok" + + "en\030\004 \001(\t\"\212\001\n(ListMonitoredResourceDescri" + + "ptorsResponse\022E\n\024resource_descriptors\030\001 " + + "\003(\0132\'.google.api.MonitoredResourceDescri" + + "ptor\022\027\n\017next_page_token\030\002 \001(\t\"t\n%GetMoni" + + "toredResourceDescriptorRequest\022K\n\004name\030\003" + + " \001(\tB=\340A\002\372A7\n5monitoring.googleapis.com/" + + "MonitoredResourceDescriptor\"\227\001\n\034ListMetr" + + "icDescriptorsRequest\022@\n\004name\030\005 \001(\tB2\340A\002\372" + + "A,\022*monitoring.googleapis.com/MetricDesc" + + "riptor\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(" + + "\005\022\022\n\npage_token\030\004 \001(\t\"r\n\035ListMetricDescr" + + "iptorsResponse\0228\n\022metric_descriptors\030\001 \003" + + "(\0132\034.google.api.MetricDescriptor\022\027\n\017next" + + "_page_token\030\002 \001(\t\"^\n\032GetMetricDescriptor" + + "Request\022@\n\004name\030\003 \001(\tB2\340A\002\372A,\n*monitorin" + + "g.googleapis.com/MetricDescriptor\"\237\001\n\035Cr" + + "eateMetricDescriptorRequest\022@\n\004name\030\003 \001(" + + "\tB2\340A\002\372A,\022*monitoring.googleapis.com/Met" + + "ricDescriptor\022<\n\021metric_descriptor\030\002 \001(\013" + + "2\034.google.api.MetricDescriptorB\003\340A\002\"a\n\035D" + + "eleteMetricDescriptorRequest\022@\n\004name\030\003 \001" + + "(\tB2\340A\002\372A,\n*monitoring.googleapis.com/Me" + + "tricDescriptor\"\316\003\n\025ListTimeSeriesRequest" + + "\022:\n\004name\030\n \001(\tB,\340A\002\372A&\022$monitoring.googl" + + "eapis.com/TimeSeries\022\023\n\006filter\030\002 \001(\tB\003\340A" + + "\002\0229\n\010interval\030\004 \001(\0132\".google.monitoring." + + "v3.TimeIntervalB\003\340A\002\0226\n\013aggregation\030\005 \001(" + + "\0132!.google.monitoring.v3.Aggregation\022@\n\025" + + "secondary_aggregation\030\013 \001(\0132!.google.mon" + + "itoring.v3.Aggregation\022\020\n\010order_by\030\006 \001(\t" + + "\022M\n\004view\030\007 \001(\0162:.google.monitoring.v3.Li" + + "stTimeSeriesRequest.TimeSeriesViewB\003\340A\002\022" + + "\021\n\tpage_size\030\010 \001(\005\022\022\n\npage_token\030\t \001(\t\"\'" + + "\n\016TimeSeriesView\022\010\n\004FULL\020\000\022\013\n\007HEADERS\020\001\"" + + "\244\001\n\026ListTimeSeriesResponse\0225\n\013time_serie" + + "s\030\001 \003(\0132 .google.monitoring.v3.TimeSerie" + + "s\022\027\n\017next_page_token\030\002 \001(\t\022,\n\020execution_" + + "errors\030\003 \003(\0132\022.google.rpc.Status\022\014\n\004unit" + + "\030\005 \001(\t\"\230\001\n\027CreateTimeSeriesRequest\022A\n\004na" + + "me\030\003 \001(\tB3\340A\002\372A-\n+cloudresourcemanager.g" + + "oogleapis.com/Project\022:\n\013time_series\030\002 \003" + + "(\0132 .google.monitoring.v3.TimeSeriesB\003\340A" + + "\002\"z\n\025CreateTimeSeriesError\0229\n\013time_serie" + + "s\030\001 \001(\0132 .google.monitoring.v3.TimeSerie" + + "sB\002\030\001\022&\n\006status\030\002 \001(\0132\022.google.rpc.Statu" + + "sB\002\030\001\"\330\001\n\027CreateTimeSeriesSummary\022\031\n\021tot" + + "al_point_count\030\001 \001(\005\022\033\n\023success_point_co" + + "unt\030\002 \001(\005\022C\n\006errors\030\003 \003(\01323.google.monit" + + "oring.v3.CreateTimeSeriesSummary.Error\032@" + + "\n\005Error\022\"\n\006status\030\001 \001(\0132\022.google.rpc.Sta" + + "tus\022\023\n\013point_count\030\002 \001(\005\"f\n\026QueryTimeSer" + + "iesRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\022\n\005query\030\007" + + " \001(\tB\003\340A\002\022\021\n\tpage_size\030\t \001(\005\022\022\n\npage_tok" + + "en\030\n \001(\t\"\352\001\n\027QueryTimeSeriesResponse\022J\n\026" + + "time_series_descriptor\030\010 \001(\0132*.google.mo" + + "nitoring.v3.TimeSeriesDescriptor\022>\n\020time" + + "_series_data\030\t \003(\0132$.google.monitoring.v" + + "3.TimeSeriesData\022\027\n\017next_page_token\030\n \001(" + + "\t\022*\n\016partial_errors\030\013 \003(\0132\022.google.rpc.S" + + "tatus\"Y\n\016QueryErrorList\0220\n\006errors\030\001 \003(\0132" + + " .google.monitoring.v3.QueryError\022\025\n\rerr" + + "or_summary\030\002 \001(\t2\274\017\n\rMetricService\022\344\001\n L" + + "istMonitoredResourceDescriptors\022=.google" + + ".monitoring.v3.ListMonitoredResourceDesc" + + "riptorsRequest\032>.google.monitoring.v3.Li" + + "stMonitoredResourceDescriptorsResponse\"A" + + "\202\323\344\223\0024\0222/v3/{name=projects/*}/monitoredR" + + "esourceDescriptors\332A\004name\022\314\001\n\036GetMonitor" + + "edResourceDescriptor\022;.google.monitoring" + + ".v3.GetMonitoredResourceDescriptorReques" + + "t\032\'.google.api.MonitoredResourceDescript" + + "or\"D\202\323\344\223\0027\0225/v3/{name=projects/*/monitor" + + "edResourceDescriptors/**}\332A\004name\022\270\001\n\025Lis" + + "tMetricDescriptors\0222.google.monitoring.v" + + "3.ListMetricDescriptorsRequest\0323.google." + + "monitoring.v3.ListMetricDescriptorsRespo" + + "nse\"6\202\323\344\223\002)\022\'/v3/{name=projects/*}/metri" + + "cDescriptors\332A\004name\022\240\001\n\023GetMetricDescrip" + + "tor\0220.google.monitoring.v3.GetMetricDesc" + + "riptorRequest\032\034.google.api.MetricDescrip" + + "tor\"9\202\323\344\223\002,\022*/v3/{name=projects/*/metric" + + "Descriptors/**}\332A\004name\022\310\001\n\026CreateMetricD" + + "escriptor\0223.google.monitoring.v3.CreateM" + + "etricDescriptorRequest\032\034.google.api.Metr" + + "icDescriptor\"[\202\323\344\223\002<\"\'/v3/{name=projects" + + "/*}/metricDescriptors:\021metric_descriptor" + + "\332A\026name,metric_descriptor\022\240\001\n\026DeleteMetr" + + "icDescriptor\0223.google.monitoring.v3.Dele" + + "teMetricDescriptorRequest\032\026.google.proto" + + "buf.Empty\"9\202\323\344\223\002,**/v3/{name=projects/*/" + + "metricDescriptors/**}\332A\004name\022\376\001\n\016ListTim" + + "eSeries\022+.google.monitoring.v3.ListTimeS" + + "eriesRequest\032,.google.monitoring.v3.List" + + "TimeSeriesResponse\"\220\001\202\323\344\223\002n\022 /v3/{name=p" + + "rojects/*}/timeSeriesZ\'\022%/v3/{name=organ" + + "izations/*}/timeSeriesZ!\022\037/v3/{name=fold" + + "ers/*}/timeSeries\332A\031name,filter,interval" + + ",view\022\231\001\n\020CreateTimeSeries\022-.google.moni" + + "toring.v3.CreateTimeSeriesRequest\032\026.goog" + + "le.protobuf.Empty\">\202\323\344\223\002%\" /v3/{name=pro" + + "jects/*}/timeSeries:\001*\332A\020name,time_serie" + + "s\022\256\001\n\027CreateServiceTimeSeries\022-.google.m" + + "onitoring.v3.CreateTimeSeriesRequest\032\026.g" + + "oogle.protobuf.Empty\"L\202\323\344\223\0023\"./v3/{name=" + + "projects/*}/timeSeries:createService:\001*\332" + + "A\020name,time_series\032\332\001\312A\031monitoring.googl" + + "eapis.com\322A\272\001https://www.googleapis.com/" + + "auth/cloud-platform,https://www.googleap" + + "is.com/auth/monitoring,https://www.googl" + + "eapis.com/auth/monitoring.read,https://w" + + "ww.googleapis.com/auth/monitoring.writeB" + + "\206\010\n\030com.google.monitoring.v3B\022MetricServ" + + "iceProtoP\001Z>google.golang.org/genproto/g" + + "oogleapis/monitoring/v3;monitoring\252\002\032Goo" + + "gle.Cloud.Monitoring.V3\312\002\032Google\\Cloud\\M" + + "onitoring\\V3\352\002\035Google::Cloud::Monitoring" + + "::V3\352A\360\001\n*monitoring.googleapis.com/Metr" + + "icDescriptor\022;projects/{project}/metricD" + + "escriptors/{metric_descriptor=**}\022Eorgan" + + "izations/{organization}/metricDescriptor" + + "s/{metric_descriptor=**}\0229folders/{folde" + + "r}/metricDescriptors/{metric_descriptor=" + + "**}\022\001* \001\352A\267\002\n5monitoring.googleapis.com/" + + "MonitoredResourceDescriptor\022Oprojects/{p" + + "roject}/monitoredResourceDescriptors/{mo" + + "nitored_resource_descriptor}\022Yorganizati" + + "ons/{organization}/monitoredResourceDesc" + + "riptors/{monitored_resource_descriptor}\022" + + "Mfolders/{folder}/monitoredResourceDescr" + + "iptors/{monitored_resource_descriptor}\022\001" + + "* \001\352AQ\n#monitoring.googleapis.com/Worksp" + + "ace\022\022projects/{project}\022\026workspaces/{wor" + + "kspace}\352A\265\001\n$monitoring.googleapis.com/T" + + "imeSeries\022+projects/{project}/timeSeries" + + "/{time_series}\0225organizations/{organizat" + + "ion}/timeSeries/{time_series}\022)folders/{" + + "folder}/timeSeries/{time_series}b\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.MetricProto.getDescriptor(), + com.google.api.MonitoredResourceProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.monitoring.v3.AlertProto.getDescriptor(), + com.google.monitoring.v3.CommonProto.getDescriptor(), + com.google.monitoring.v3.MetricProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsRequest_descriptor, + new java.lang.String[] { + "Name", "Filter", "PageSize", "PageToken", + }); + internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_ListMonitoredResourceDescriptorsResponse_descriptor, + new java.lang.String[] { + "ResourceDescriptors", "NextPageToken", + }); + internal_static_google_monitoring_v3_GetMonitoredResourceDescriptorRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_monitoring_v3_GetMonitoredResourceDescriptorRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_GetMonitoredResourceDescriptorRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_monitoring_v3_ListMetricDescriptorsRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_monitoring_v3_ListMetricDescriptorsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_ListMetricDescriptorsRequest_descriptor, + new java.lang.String[] { + "Name", "Filter", "PageSize", "PageToken", + }); + internal_static_google_monitoring_v3_ListMetricDescriptorsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_monitoring_v3_ListMetricDescriptorsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_ListMetricDescriptorsResponse_descriptor, + new java.lang.String[] { + "MetricDescriptors", "NextPageToken", + }); + internal_static_google_monitoring_v3_GetMetricDescriptorRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_monitoring_v3_GetMetricDescriptorRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_GetMetricDescriptorRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_monitoring_v3_CreateMetricDescriptorRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_monitoring_v3_CreateMetricDescriptorRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_CreateMetricDescriptorRequest_descriptor, + new java.lang.String[] { + "Name", "MetricDescriptor", + }); + internal_static_google_monitoring_v3_DeleteMetricDescriptorRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_monitoring_v3_DeleteMetricDescriptorRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_DeleteMetricDescriptorRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_monitoring_v3_ListTimeSeriesRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_monitoring_v3_ListTimeSeriesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_ListTimeSeriesRequest_descriptor, + new java.lang.String[] { + "Name", + "Filter", + "Interval", + "Aggregation", + "SecondaryAggregation", + "OrderBy", + "View", + "PageSize", + "PageToken", + }); + internal_static_google_monitoring_v3_ListTimeSeriesResponse_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_monitoring_v3_ListTimeSeriesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_ListTimeSeriesResponse_descriptor, + new java.lang.String[] { + "TimeSeries", "NextPageToken", "ExecutionErrors", "Unit", + }); + internal_static_google_monitoring_v3_CreateTimeSeriesRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_monitoring_v3_CreateTimeSeriesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_CreateTimeSeriesRequest_descriptor, + new java.lang.String[] { + "Name", "TimeSeries", + }); + internal_static_google_monitoring_v3_CreateTimeSeriesError_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_monitoring_v3_CreateTimeSeriesError_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_CreateTimeSeriesError_descriptor, + new java.lang.String[] { + "TimeSeries", "Status", + }); + internal_static_google_monitoring_v3_CreateTimeSeriesSummary_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_monitoring_v3_CreateTimeSeriesSummary_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_CreateTimeSeriesSummary_descriptor, + new java.lang.String[] { + "TotalPointCount", "SuccessPointCount", "Errors", + }); + internal_static_google_monitoring_v3_CreateTimeSeriesSummary_Error_descriptor = + internal_static_google_monitoring_v3_CreateTimeSeriesSummary_descriptor + .getNestedTypes() + .get(0); + internal_static_google_monitoring_v3_CreateTimeSeriesSummary_Error_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_CreateTimeSeriesSummary_Error_descriptor, + new java.lang.String[] { + "Status", "PointCount", + }); + internal_static_google_monitoring_v3_QueryTimeSeriesRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_monitoring_v3_QueryTimeSeriesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_QueryTimeSeriesRequest_descriptor, + new java.lang.String[] { + "Name", "Query", "PageSize", "PageToken", + }); + internal_static_google_monitoring_v3_QueryTimeSeriesResponse_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_monitoring_v3_QueryTimeSeriesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_QueryTimeSeriesResponse_descriptor, + new java.lang.String[] { + "TimeSeriesDescriptor", "TimeSeriesData", "NextPageToken", "PartialErrors", + }); + internal_static_google_monitoring_v3_QueryErrorList_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_monitoring_v3_QueryErrorList_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_QueryErrorList_descriptor, + new java.lang.String[] { + "Errors", "ErrorSummary", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.MetricProto.getDescriptor(); + com.google.api.MonitoredResourceProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.monitoring.v3.AlertProto.getDescriptor(); + com.google.monitoring.v3.CommonProto.getDescriptor(); + com.google.monitoring.v3.MetricProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MonitoredResourceDescriptorName.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MonitoredResourceDescriptorName.java similarity index 100% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MonitoredResourceDescriptorName.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MonitoredResourceDescriptorName.java diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecord.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecord.java similarity index 70% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecord.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecord.java index edcc9aef..ef013956 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecord.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecord.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/mutation_record.proto package com.google.monitoring.v3; /** + * + * *
  * Describes a change made to a configuration.
  * 
* * Protobuf type {@code google.monitoring.v3.MutationRecord} */ -public final class MutationRecord extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MutationRecord extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.MutationRecord) MutationRecordOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MutationRecord.newBuilder() to construct. private MutationRecord(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private MutationRecord() { mutatedBy_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MutationRecord(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private MutationRecord( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,65 +70,73 @@ private MutationRecord( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (mutateTime_ != null) { - subBuilder = mutateTime_.toBuilder(); + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (mutateTime_ != null) { + subBuilder = mutateTime_.toBuilder(); + } + mutateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(mutateTime_); + mutateTime_ = subBuilder.buildPartial(); + } + + break; } - mutateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(mutateTime_); - mutateTime_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - mutatedBy_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + mutatedBy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MutationRecordProto.internal_static_google_monitoring_v3_MutationRecord_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MutationRecordProto + .internal_static_google_monitoring_v3_MutationRecord_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MutationRecordProto.internal_static_google_monitoring_v3_MutationRecord_fieldAccessorTable + return com.google.monitoring.v3.MutationRecordProto + .internal_static_google_monitoring_v3_MutationRecord_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.MutationRecord.class, com.google.monitoring.v3.MutationRecord.Builder.class); + com.google.monitoring.v3.MutationRecord.class, + com.google.monitoring.v3.MutationRecord.Builder.class); } public static final int MUTATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp mutateTime_; /** + * + * *
    * When the change occurred.
    * 
* * .google.protobuf.Timestamp mutate_time = 1; + * * @return Whether the mutateTime field is set. */ @java.lang.Override @@ -119,11 +144,14 @@ public boolean hasMutateTime() { return mutateTime_ != null; } /** + * + * *
    * When the change occurred.
    * 
* * .google.protobuf.Timestamp mutate_time = 1; + * * @return The mutateTime. */ @java.lang.Override @@ -131,6 +159,8 @@ public com.google.protobuf.Timestamp getMutateTime() { return mutateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : mutateTime_; } /** + * + * *
    * When the change occurred.
    * 
@@ -145,11 +175,14 @@ public com.google.protobuf.TimestampOrBuilder getMutateTimeOrBuilder() { public static final int MUTATED_BY_FIELD_NUMBER = 2; private volatile java.lang.Object mutatedBy_; /** + * + * *
    * The email address of the user making the change.
    * 
* * string mutated_by = 2; + * * @return The mutatedBy. */ @java.lang.Override @@ -158,29 +191,29 @@ public java.lang.String getMutatedBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mutatedBy_ = s; return s; } } /** + * + * *
    * The email address of the user making the change.
    * 
* * string mutated_by = 2; + * * @return The bytes for mutatedBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getMutatedByBytes() { + public com.google.protobuf.ByteString getMutatedByBytes() { java.lang.Object ref = mutatedBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); mutatedBy_ = b; return b; } else { @@ -189,6 +222,7 @@ public java.lang.String getMutatedBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,8 +234,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (mutateTime_ != null) { output.writeMessage(1, getMutateTime()); } @@ -218,8 +251,7 @@ public int getSerializedSize() { size = 0; if (mutateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getMutateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMutateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mutatedBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, mutatedBy_); @@ -232,7 +264,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.MutationRecord)) { return super.equals(obj); @@ -241,11 +273,9 @@ public boolean equals(final java.lang.Object obj) { if (hasMutateTime() != other.hasMutateTime()) return false; if (hasMutateTime()) { - if (!getMutateTime() - .equals(other.getMutateTime())) return false; + if (!getMutateTime().equals(other.getMutateTime())) return false; } - if (!getMutatedBy() - .equals(other.getMutatedBy())) return false; + if (!getMutatedBy().equals(other.getMutatedBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -268,118 +298,127 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.MutationRecord parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.MutationRecord parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.MutationRecord parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.MutationRecord parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.MutationRecord parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.MutationRecord parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.MutationRecord parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.MutationRecord 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.monitoring.v3.MutationRecord parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.MutationRecord parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.MutationRecord parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.MutationRecord parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.MutationRecord parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.MutationRecord parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.MutationRecord prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Describes a change made to a configuration.
    * 
* * Protobuf type {@code google.monitoring.v3.MutationRecord} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.MutationRecord) com.google.monitoring.v3.MutationRecordOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MutationRecordProto.internal_static_google_monitoring_v3_MutationRecord_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MutationRecordProto + .internal_static_google_monitoring_v3_MutationRecord_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MutationRecordProto.internal_static_google_monitoring_v3_MutationRecord_fieldAccessorTable + return com.google.monitoring.v3.MutationRecordProto + .internal_static_google_monitoring_v3_MutationRecord_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.MutationRecord.class, com.google.monitoring.v3.MutationRecord.Builder.class); + com.google.monitoring.v3.MutationRecord.class, + com.google.monitoring.v3.MutationRecord.Builder.class); } // Construct using com.google.monitoring.v3.MutationRecord.newBuilder() @@ -387,16 +426,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -412,9 +450,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.MutationRecordProto.internal_static_google_monitoring_v3_MutationRecord_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.MutationRecordProto + .internal_static_google_monitoring_v3_MutationRecord_descriptor; } @java.lang.Override @@ -433,7 +471,8 @@ public com.google.monitoring.v3.MutationRecord build() { @java.lang.Override public com.google.monitoring.v3.MutationRecord buildPartial() { - com.google.monitoring.v3.MutationRecord result = new com.google.monitoring.v3.MutationRecord(this); + com.google.monitoring.v3.MutationRecord result = + new com.google.monitoring.v3.MutationRecord(this); if (mutateTimeBuilder_ == null) { result.mutateTime_ = mutateTime_; } else { @@ -448,38 +487,39 @@ public com.google.monitoring.v3.MutationRecord 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.monitoring.v3.MutationRecord) { - return mergeFrom((com.google.monitoring.v3.MutationRecord)other); + return mergeFrom((com.google.monitoring.v3.MutationRecord) other); } else { super.mergeFrom(other); return this; @@ -526,34 +566,47 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp mutateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> mutateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + mutateTimeBuilder_; /** + * + * *
      * When the change occurred.
      * 
* * .google.protobuf.Timestamp mutate_time = 1; + * * @return Whether the mutateTime field is set. */ public boolean hasMutateTime() { return mutateTimeBuilder_ != null || mutateTime_ != null; } /** + * + * *
      * When the change occurred.
      * 
* * .google.protobuf.Timestamp mutate_time = 1; + * * @return The mutateTime. */ public com.google.protobuf.Timestamp getMutateTime() { if (mutateTimeBuilder_ == null) { - return mutateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : mutateTime_; + return mutateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : mutateTime_; } else { return mutateTimeBuilder_.getMessage(); } } /** + * + * *
      * When the change occurred.
      * 
@@ -574,14 +627,15 @@ public Builder setMutateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * When the change occurred.
      * 
* * .google.protobuf.Timestamp mutate_time = 1; */ - public Builder setMutateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setMutateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (mutateTimeBuilder_ == null) { mutateTime_ = builderForValue.build(); onChanged(); @@ -592,6 +646,8 @@ public Builder setMutateTime( return this; } /** + * + * *
      * When the change occurred.
      * 
@@ -602,7 +658,7 @@ public Builder mergeMutateTime(com.google.protobuf.Timestamp value) { if (mutateTimeBuilder_ == null) { if (mutateTime_ != null) { mutateTime_ = - com.google.protobuf.Timestamp.newBuilder(mutateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(mutateTime_).mergeFrom(value).buildPartial(); } else { mutateTime_ = value; } @@ -614,6 +670,8 @@ public Builder mergeMutateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * When the change occurred.
      * 
@@ -632,6 +690,8 @@ public Builder clearMutateTime() { return this; } /** + * + * *
      * When the change occurred.
      * 
@@ -639,11 +699,13 @@ public Builder clearMutateTime() { * .google.protobuf.Timestamp mutate_time = 1; */ public com.google.protobuf.Timestamp.Builder getMutateTimeBuilder() { - + onChanged(); return getMutateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * When the change occurred.
      * 
@@ -654,11 +716,14 @@ public com.google.protobuf.TimestampOrBuilder getMutateTimeOrBuilder() { if (mutateTimeBuilder_ != null) { return mutateTimeBuilder_.getMessageOrBuilder(); } else { - return mutateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : mutateTime_; + return mutateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : mutateTime_; } } /** + * + * *
      * When the change occurred.
      * 
@@ -666,14 +731,17 @@ public com.google.protobuf.TimestampOrBuilder getMutateTimeOrBuilder() { * .google.protobuf.Timestamp mutate_time = 1; */ 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> getMutateTimeFieldBuilder() { if (mutateTimeBuilder_ == null) { - mutateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getMutateTime(), - getParentForChildren(), - isClean()); + mutateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getMutateTime(), getParentForChildren(), isClean()); mutateTime_ = null; } return mutateTimeBuilder_; @@ -681,18 +749,20 @@ public com.google.protobuf.TimestampOrBuilder getMutateTimeOrBuilder() { private java.lang.Object mutatedBy_ = ""; /** + * + * *
      * The email address of the user making the change.
      * 
* * string mutated_by = 2; + * * @return The mutatedBy. */ public java.lang.String getMutatedBy() { java.lang.Object ref = mutatedBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mutatedBy_ = s; return s; @@ -701,20 +771,21 @@ public java.lang.String getMutatedBy() { } } /** + * + * *
      * The email address of the user making the change.
      * 
* * string mutated_by = 2; + * * @return The bytes for mutatedBy. */ - public com.google.protobuf.ByteString - getMutatedByBytes() { + public com.google.protobuf.ByteString getMutatedByBytes() { java.lang.Object ref = mutatedBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); mutatedBy_ = b; return b; } else { @@ -722,61 +793,68 @@ public java.lang.String getMutatedBy() { } } /** + * + * *
      * The email address of the user making the change.
      * 
* * string mutated_by = 2; + * * @param value The mutatedBy to set. * @return This builder for chaining. */ - public Builder setMutatedBy( - java.lang.String value) { + public Builder setMutatedBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + mutatedBy_ = value; onChanged(); return this; } /** + * + * *
      * The email address of the user making the change.
      * 
* * string mutated_by = 2; + * * @return This builder for chaining. */ public Builder clearMutatedBy() { - + mutatedBy_ = getDefaultInstance().getMutatedBy(); onChanged(); return this; } /** + * + * *
      * The email address of the user making the change.
      * 
* * string mutated_by = 2; + * * @param value The bytes for mutatedBy to set. * @return This builder for chaining. */ - public Builder setMutatedByBytes( - com.google.protobuf.ByteString value) { + public Builder setMutatedByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + mutatedBy_ = 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); } @@ -786,12 +864,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.MutationRecord) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.MutationRecord) private static final com.google.monitoring.v3.MutationRecord DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.MutationRecord(); } @@ -800,16 +878,16 @@ public static com.google.monitoring.v3.MutationRecord getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MutationRecord parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MutationRecord(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MutationRecord parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MutationRecord(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -824,6 +902,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.MutationRecord getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecordOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecordOrBuilder.java similarity index 62% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecordOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecordOrBuilder.java index 74557bc8..c0951f03 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecordOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecordOrBuilder.java @@ -1,31 +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/monitoring/v3/mutation_record.proto package com.google.monitoring.v3; -public interface MutationRecordOrBuilder extends +public interface MutationRecordOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.MutationRecord) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * When the change occurred.
    * 
* * .google.protobuf.Timestamp mutate_time = 1; + * * @return Whether the mutateTime field is set. */ boolean hasMutateTime(); /** + * + * *
    * When the change occurred.
    * 
* * .google.protobuf.Timestamp mutate_time = 1; + * * @return The mutateTime. */ com.google.protobuf.Timestamp getMutateTime(); /** + * + * *
    * When the change occurred.
    * 
@@ -35,22 +59,27 @@ public interface MutationRecordOrBuilder extends com.google.protobuf.TimestampOrBuilder getMutateTimeOrBuilder(); /** + * + * *
    * The email address of the user making the change.
    * 
* * string mutated_by = 2; + * * @return The mutatedBy. */ java.lang.String getMutatedBy(); /** + * + * *
    * The email address of the user making the change.
    * 
* * string mutated_by = 2; + * * @return The bytes for mutatedBy. */ - com.google.protobuf.ByteString - getMutatedByBytes(); + com.google.protobuf.ByteString getMutatedByBytes(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecordProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecordProto.java new file mode 100644 index 00000000..2f14f970 --- /dev/null +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MutationRecordProto.java @@ -0,0 +1,72 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/mutation_record.proto + +package com.google.monitoring.v3; + +public final class MutationRecordProto { + private MutationRecordProto() {} + + 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_monitoring_v3_MutationRecord_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_MutationRecord_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/monitoring/v3/mutation_record.p" + + "roto\022\024google.monitoring.v3\032\037google/proto" + + "buf/timestamp.proto\"U\n\016MutationRecord\022/\n" + + "\013mutate_time\030\001 \001(\0132\032.google.protobuf.Tim" + + "estamp\022\022\n\nmutated_by\030\002 \001(\tB\313\001\n\030com.googl" + + "e.monitoring.v3B\023MutationRecordProtoP\001Z>" + + "google.golang.org/genproto/googleapis/mo" + + "nitoring/v3;monitoring\252\002\032Google.Cloud.Mo" + + "nitoring.V3\312\002\032Google\\Cloud\\Monitoring\\V3" + + "\352\002\035Google::Cloud::Monitoring::V3b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_monitoring_v3_MutationRecord_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_monitoring_v3_MutationRecord_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_MutationRecord_descriptor, + new java.lang.String[] { + "MutateTime", "MutatedBy", + }); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannel.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannel.java similarity index 76% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannel.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannel.java index 13c6acbf..a3b3259c 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannel.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannel.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/notification.proto package com.google.monitoring.v3; /** + * + * *
  * A `NotificationChannel` is a medium through which an alert is
  * delivered when a policy violation is detected. Examples of channels
@@ -14,15 +31,16 @@
  *
  * Protobuf type {@code google.monitoring.v3.NotificationChannel}
  */
-public final class NotificationChannel extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NotificationChannel extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.NotificationChannel)
     NotificationChannelOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NotificationChannel.newBuilder() to construct.
   private NotificationChannel(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private NotificationChannel() {
     type_ = "";
     name_ = "";
@@ -34,16 +52,15 @@ private NotificationChannel() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new NotificationChannel();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private NotificationChannel(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -63,111 +80,125 @@ private NotificationChannel(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            type_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            displayName_ = s;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            description_ = s;
-            break;
-          }
-          case 42: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              labels_ = com.google.protobuf.MapField.newMapField(
-                  LabelsDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+              type_ = s;
+              break;
             }
-            com.google.protobuf.MapEntry
-            labels__ = input.readMessage(
-                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            labels_.getMutableMap().put(
-                labels__.getKey(), labels__.getValue());
-            break;
-          }
-          case 50: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 66: {
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              userLabels_ = com.google.protobuf.MapField.newMapField(
-                  UserLabelsDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000002;
+              displayName_ = s;
+              break;
             }
-            com.google.protobuf.MapEntry
-            userLabels__ = input.readMessage(
-                UserLabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            userLabels_.getMutableMap().put(
-                userLabels__.getKey(), userLabels__.getValue());
-            break;
-          }
-          case 72: {
-            int rawValue = input.readEnum();
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            verificationStatus_ = rawValue;
-            break;
-          }
-          case 90: {
-            com.google.protobuf.BoolValue.Builder subBuilder = null;
-            if (enabled_ != null) {
-              subBuilder = enabled_.toBuilder();
+              description_ = s;
+              break;
             }
-            enabled_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(enabled_);
-              enabled_ = subBuilder.buildPartial();
+          case 42:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                labels_ =
+                    com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
+              }
+              com.google.protobuf.MapEntry labels__ =
+                  input.readMessage(
+                      LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
+              break;
             }
+          case 50:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 98: {
-            com.google.monitoring.v3.MutationRecord.Builder subBuilder = null;
-            if (creationRecord_ != null) {
-              subBuilder = creationRecord_.toBuilder();
+              name_ = s;
+              break;
             }
-            creationRecord_ = input.readMessage(com.google.monitoring.v3.MutationRecord.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(creationRecord_);
-              creationRecord_ = subBuilder.buildPartial();
+          case 66:
+            {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                userLabels_ =
+                    com.google.protobuf.MapField.newMapField(
+                        UserLabelsDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000002;
+              }
+              com.google.protobuf.MapEntry userLabels__ =
+                  input.readMessage(
+                      UserLabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                      extensionRegistry);
+              userLabels_.getMutableMap().put(userLabels__.getKey(), userLabels__.getValue());
+              break;
             }
+          case 72:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 106: {
-            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-              mutationRecords_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000004;
+              verificationStatus_ = rawValue;
+              break;
             }
-            mutationRecords_.add(
-                input.readMessage(com.google.monitoring.v3.MutationRecord.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 90:
+            {
+              com.google.protobuf.BoolValue.Builder subBuilder = null;
+              if (enabled_ != null) {
+                subBuilder = enabled_.toBuilder();
+              }
+              enabled_ =
+                  input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(enabled_);
+                enabled_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
+          case 98:
+            {
+              com.google.monitoring.v3.MutationRecord.Builder subBuilder = null;
+              if (creationRecord_ != null) {
+                subBuilder = creationRecord_.toBuilder();
+              }
+              creationRecord_ =
+                  input.readMessage(
+                      com.google.monitoring.v3.MutationRecord.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(creationRecord_);
+                creationRecord_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
+          case 106:
+            {
+              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                mutationRecords_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000004;
+              }
+              mutationRecords_.add(
+                  input.readMessage(
+                      com.google.monitoring.v3.MutationRecord.parser(), extensionRegistry));
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000004) != 0)) {
         mutationRecords_ = java.util.Collections.unmodifiableList(mutationRecords_);
@@ -176,34 +207,38 @@ private NotificationChannel(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.monitoring.v3.NotificationProto.internal_static_google_monitoring_v3_NotificationChannel_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.monitoring.v3.NotificationProto
+        .internal_static_google_monitoring_v3_NotificationChannel_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 5:
         return internalGetLabels();
       case 8:
         return internalGetUserLabels();
       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.monitoring.v3.NotificationProto.internal_static_google_monitoring_v3_NotificationChannel_fieldAccessorTable
+    return com.google.monitoring.v3.NotificationProto
+        .internal_static_google_monitoring_v3_NotificationChannel_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.NotificationChannel.class, com.google.monitoring.v3.NotificationChannel.Builder.class);
+            com.google.monitoring.v3.NotificationChannel.class,
+            com.google.monitoring.v3.NotificationChannel.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Indicates whether the channel has been verified or not. It is illegal
    * to specify this field in a
@@ -215,9 +250,10 @@ protected com.google.protobuf.MapField internalGetMapField(
    *
    * Protobuf enum {@code google.monitoring.v3.NotificationChannel.VerificationStatus}
    */
-  public enum VerificationStatus
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum VerificationStatus implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Sentinel value used to indicate that the state is unknown, omitted, or
      * is not applicable (as in the case of channels that neither support
@@ -228,6 +264,8 @@ public enum VerificationStatus
      */
     VERIFICATION_STATUS_UNSPECIFIED(0),
     /**
+     *
+     *
      * 
      * The channel has yet to be verified and requires verification to function.
      * Note that this state also applies to the case where the verification
@@ -239,6 +277,8 @@ public enum VerificationStatus
      */
     UNVERIFIED(1),
     /**
+     *
+     *
      * 
      * It has been proven that notifications can be received on this
      * notification channel and that someone on the project has access
@@ -252,6 +292,8 @@ public enum VerificationStatus
     ;
 
     /**
+     *
+     *
      * 
      * Sentinel value used to indicate that the state is unknown, omitted, or
      * is not applicable (as in the case of channels that neither support
@@ -262,6 +304,8 @@ public enum VerificationStatus
      */
     public static final int VERIFICATION_STATUS_UNSPECIFIED_VALUE = 0;
     /**
+     *
+     *
      * 
      * The channel has yet to be verified and requires verification to function.
      * Note that this state also applies to the case where the verification
@@ -273,6 +317,8 @@ public enum VerificationStatus
      */
     public static final int UNVERIFIED_VALUE = 1;
     /**
+     *
+     *
      * 
      * It has been proven that notifications can be received on this
      * notification channel and that someone on the project has access
@@ -283,7 +329,6 @@ public enum VerificationStatus
      */
     public static final int VERIFIED_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -308,10 +353,14 @@ public static VerificationStatus valueOf(int value) {
      */
     public static VerificationStatus forNumber(int value) {
       switch (value) {
-        case 0: return VERIFICATION_STATUS_UNSPECIFIED;
-        case 1: return UNVERIFIED;
-        case 2: return VERIFIED;
-        default: return null;
+        case 0:
+          return VERIFICATION_STATUS_UNSPECIFIED;
+        case 1:
+          return UNVERIFIED;
+        case 2:
+          return VERIFIED;
+        default:
+          return null;
       }
     }
 
@@ -319,28 +368,28 @@ public static VerificationStatus forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        VerificationStatus> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public VerificationStatus findValueByNumber(int number) {
-              return VerificationStatus.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap
+        internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public VerificationStatus findValueByNumber(int number) {
+                return VerificationStatus.forNumber(number);
+              }
+            };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.monitoring.v3.NotificationChannel.getDescriptor().getEnumTypes().get(0);
     }
 
@@ -349,8 +398,7 @@ public VerificationStatus findValueByNumber(int number) {
     public static VerificationStatus 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;
@@ -370,12 +418,15 @@ private VerificationStatus(int value) {
   public static final int TYPE_FIELD_NUMBER = 1;
   private volatile java.lang.Object type_;
   /**
+   *
+   *
    * 
    * The type of the notification channel. This field matches the
    * value of the [NotificationChannelDescriptor.type][google.monitoring.v3.NotificationChannelDescriptor.type] field.
    * 
* * string type = 1; + * * @return The type. */ @java.lang.Override @@ -384,30 +435,30 @@ public java.lang.String getType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } } /** + * + * *
    * The type of the notification channel. This field matches the
    * value of the [NotificationChannelDescriptor.type][google.monitoring.v3.NotificationChannelDescriptor.type] field.
    * 
* * string type = 1; + * * @return The bytes for type. */ @java.lang.Override - public com.google.protobuf.ByteString - getTypeBytes() { + public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); type_ = b; return b; } else { @@ -418,6 +469,8 @@ public java.lang.String getType() { public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** + * + * *
    * The full REST resource name for this channel. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
@@ -425,6 +478,7 @@ public java.lang.String getType() {
    * 
* * string name = 6; + * * @return The name. */ @java.lang.Override @@ -433,14 +487,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The full REST resource name for this channel. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
@@ -448,16 +503,15 @@ public java.lang.String getName() {
    * 
* * string name = 6; + * * @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 { @@ -468,6 +522,8 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object displayName_; /** + * + * *
    * An optional human-readable name for this notification channel. It is
    * recommended that you specify a non-empty and unique name in order to
@@ -476,6 +532,7 @@ public java.lang.String getName() {
    * 
* * string display_name = 3; + * * @return The displayName. */ @java.lang.Override @@ -484,14 +541,15 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * An optional human-readable name for this notification channel. It is
    * recommended that you specify a non-empty and unique name in order to
@@ -500,16 +558,15 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 3; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -520,6 +577,8 @@ public java.lang.String getDisplayName() { public static final int DESCRIPTION_FIELD_NUMBER = 4; private volatile java.lang.Object description_; /** + * + * *
    * An optional human-readable description of this notification channel. This
    * description may provide additional details, beyond the display
@@ -527,6 +586,7 @@ public java.lang.String getDisplayName() {
    * 
* * string description = 4; + * * @return The description. */ @java.lang.Override @@ -535,14 +595,15 @@ 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; } } /** + * + * *
    * An optional human-readable description of this notification channel. This
    * description may provide additional details, beyond the display
@@ -550,16 +611,15 @@ public java.lang.String getDescription() {
    * 
* * string description = 4; + * * @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 { @@ -568,24 +628,23 @@ public java.lang.String getDescription() { } public static final int LABELS_FIELD_NUMBER = 5; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.monitoring.v3.NotificationProto.internal_static_google_monitoring_v3_NotificationChannel_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.monitoring.v3.NotificationProto + .internal_static_google_monitoring_v3_NotificationChannel_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -594,6 +653,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Configuration fields that define the channel and its behavior. The
    * permissible and required labels are specified in the
@@ -603,22 +664,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 5;
    */
-
   @java.lang.Override
-  public boolean containsLabels(
-      java.lang.String key) {
-    if (key == null) { throw new java.lang.NullPointerException(); }
+  public boolean containsLabels(java.lang.String key) {
+    if (key == null) {
+      throw new java.lang.NullPointerException();
+    }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
+   *
+   *
    * 
    * Configuration fields that define the channel and its behavior. The
    * permissible and required labels are specified in the
@@ -629,11 +690,12 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 5;
    */
   @java.lang.Override
-
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * Configuration fields that define the channel and its behavior. The
    * permissible and required labels are specified in the
@@ -644,16 +706,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 5;
    */
   @java.lang.Override
-
-  public java.lang.String getLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new java.lang.NullPointerException(); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new java.lang.NullPointerException();
+    }
+    java.util.Map map = internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Configuration fields that define the channel and its behavior. The
    * permissible and required labels are specified in the
@@ -664,12 +726,11 @@ public java.lang.String getLabelsOrDefault(
    * map<string, string> labels = 5;
    */
   @java.lang.Override
-
-  public java.lang.String getLabelsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new java.lang.NullPointerException(); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new java.lang.NullPointerException();
+    }
+    java.util.Map map = internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -677,24 +738,23 @@ public java.lang.String getLabelsOrThrow(
   }
 
   public static final int USER_LABELS_FIELD_NUMBER = 8;
+
   private static final class UserLabelsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry<
-        java.lang.String, java.lang.String> defaultEntry =
-            com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.monitoring.v3.NotificationProto.internal_static_google_monitoring_v3_NotificationChannel_UserLabelsEntry_descriptor, 
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "");
-  }
-  private com.google.protobuf.MapField<
-      java.lang.String, java.lang.String> userLabels_;
-  private com.google.protobuf.MapField
-  internalGetUserLabels() {
+    static final com.google.protobuf.MapEntry defaultEntry =
+        com.google.protobuf.MapEntry.newDefaultInstance(
+            com.google.monitoring.v3.NotificationProto
+                .internal_static_google_monitoring_v3_NotificationChannel_UserLabelsEntry_descriptor,
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "",
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "");
+  }
+
+  private com.google.protobuf.MapField userLabels_;
+
+  private com.google.protobuf.MapField internalGetUserLabels() {
     if (userLabels_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(
-          UserLabelsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(UserLabelsDefaultEntryHolder.defaultEntry);
     }
     return userLabels_;
   }
@@ -703,6 +763,8 @@ public int getUserLabelsCount() {
     return internalGetUserLabels().getMap().size();
   }
   /**
+   *
+   *
    * 
    * User-supplied key/value data that does not need to conform to
    * the corresponding `NotificationChannelDescriptor`'s schema, unlike
@@ -716,22 +778,22 @@ public int getUserLabelsCount() {
    *
    * map<string, string> user_labels = 8;
    */
-
   @java.lang.Override
-  public boolean containsUserLabels(
-      java.lang.String key) {
-    if (key == null) { throw new java.lang.NullPointerException(); }
+  public boolean containsUserLabels(java.lang.String key) {
+    if (key == null) {
+      throw new java.lang.NullPointerException();
+    }
     return internalGetUserLabels().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getUserLabelsMap()} instead.
-   */
+  /** Use {@link #getUserLabelsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getUserLabels() {
     return getUserLabelsMap();
   }
   /**
+   *
+   *
    * 
    * User-supplied key/value data that does not need to conform to
    * the corresponding `NotificationChannelDescriptor`'s schema, unlike
@@ -746,11 +808,12 @@ public java.util.Map getUserLabels() {
    * map<string, string> user_labels = 8;
    */
   @java.lang.Override
-
   public java.util.Map getUserLabelsMap() {
     return internalGetUserLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * User-supplied key/value data that does not need to conform to
    * the corresponding `NotificationChannelDescriptor`'s schema, unlike
@@ -765,16 +828,17 @@ public java.util.Map getUserLabelsMap() {
    * map<string, string> user_labels = 8;
    */
   @java.lang.Override
-
   public java.lang.String getUserLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new java.lang.NullPointerException(); }
-    java.util.Map map =
-        internalGetUserLabels().getMap();
+      java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new java.lang.NullPointerException();
+    }
+    java.util.Map map = internalGetUserLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * User-supplied key/value data that does not need to conform to
    * the corresponding `NotificationChannelDescriptor`'s schema, unlike
@@ -789,12 +853,11 @@ public java.lang.String getUserLabelsOrDefault(
    * map<string, string> user_labels = 8;
    */
   @java.lang.Override
-
-  public java.lang.String getUserLabelsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new java.lang.NullPointerException(); }
-    java.util.Map map =
-        internalGetUserLabels().getMap();
+  public java.lang.String getUserLabelsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new java.lang.NullPointerException();
+    }
+    java.util.Map map = internalGetUserLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -804,6 +867,8 @@ public java.lang.String getUserLabelsOrThrow(
   public static final int VERIFICATION_STATUS_FIELD_NUMBER = 9;
   private int verificationStatus_;
   /**
+   *
+   *
    * 
    * Indicates whether this channel has been verified or not. On a
    * [`ListNotificationChannels`][google.monitoring.v3.NotificationChannelService.ListNotificationChannels]
@@ -823,13 +888,18 @@ public java.lang.String getUserLabelsOrThrow(
    * [`VerifyNotificationChannel`][google.monitoring.v3.NotificationChannelService.VerifyNotificationChannel].
    * 
* - * .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9; + * .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9; + * + * * @return The enum numeric value on the wire for verificationStatus. */ - @java.lang.Override public int getVerificationStatusValue() { + @java.lang.Override + public int getVerificationStatusValue() { return verificationStatus_; } /** + * + * *
    * Indicates whether this channel has been verified or not. On a
    * [`ListNotificationChannels`][google.monitoring.v3.NotificationChannelService.ListNotificationChannels]
@@ -849,18 +919,27 @@ public java.lang.String getUserLabelsOrThrow(
    * [`VerifyNotificationChannel`][google.monitoring.v3.NotificationChannelService.VerifyNotificationChannel].
    * 
* - * .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9; + * .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9; + * + * * @return The verificationStatus. */ - @java.lang.Override public com.google.monitoring.v3.NotificationChannel.VerificationStatus getVerificationStatus() { + @java.lang.Override + public com.google.monitoring.v3.NotificationChannel.VerificationStatus getVerificationStatus() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.NotificationChannel.VerificationStatus result = com.google.monitoring.v3.NotificationChannel.VerificationStatus.valueOf(verificationStatus_); - return result == null ? com.google.monitoring.v3.NotificationChannel.VerificationStatus.UNRECOGNIZED : result; + com.google.monitoring.v3.NotificationChannel.VerificationStatus result = + com.google.monitoring.v3.NotificationChannel.VerificationStatus.valueOf( + verificationStatus_); + return result == null + ? com.google.monitoring.v3.NotificationChannel.VerificationStatus.UNRECOGNIZED + : result; } public static final int ENABLED_FIELD_NUMBER = 11; private com.google.protobuf.BoolValue enabled_; /** + * + * *
    * Whether notifications are forwarded to the described channel. This makes
    * it possible to disable delivery of notifications to a particular channel
@@ -871,6 +950,7 @@ public java.lang.String getUserLabelsOrThrow(
    * 
* * .google.protobuf.BoolValue enabled = 11; + * * @return Whether the enabled field is set. */ @java.lang.Override @@ -878,6 +958,8 @@ public boolean hasEnabled() { return enabled_ != null; } /** + * + * *
    * Whether notifications are forwarded to the described channel. This makes
    * it possible to disable delivery of notifications to a particular channel
@@ -888,6 +970,7 @@ public boolean hasEnabled() {
    * 
* * .google.protobuf.BoolValue enabled = 11; + * * @return The enabled. */ @java.lang.Override @@ -895,6 +978,8 @@ public com.google.protobuf.BoolValue getEnabled() { return enabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : enabled_; } /** + * + * *
    * Whether notifications are forwarded to the described channel. This makes
    * it possible to disable delivery of notifications to a particular channel
@@ -914,11 +999,14 @@ public com.google.protobuf.BoolValueOrBuilder getEnabledOrBuilder() {
   public static final int CREATION_RECORD_FIELD_NUMBER = 12;
   private com.google.monitoring.v3.MutationRecord creationRecord_;
   /**
+   *
+   *
    * 
    * Record of the creation of this channel.
    * 
* * .google.monitoring.v3.MutationRecord creation_record = 12; + * * @return Whether the creationRecord field is set. */ @java.lang.Override @@ -926,18 +1014,25 @@ public boolean hasCreationRecord() { return creationRecord_ != null; } /** + * + * *
    * Record of the creation of this channel.
    * 
* * .google.monitoring.v3.MutationRecord creation_record = 12; + * * @return The creationRecord. */ @java.lang.Override public com.google.monitoring.v3.MutationRecord getCreationRecord() { - return creationRecord_ == null ? com.google.monitoring.v3.MutationRecord.getDefaultInstance() : creationRecord_; + return creationRecord_ == null + ? com.google.monitoring.v3.MutationRecord.getDefaultInstance() + : creationRecord_; } /** + * + * *
    * Record of the creation of this channel.
    * 
@@ -952,6 +1047,8 @@ public com.google.monitoring.v3.MutationRecordOrBuilder getCreationRecordOrBuild public static final int MUTATION_RECORDS_FIELD_NUMBER = 13; private java.util.List mutationRecords_; /** + * + * *
    * Records of the modification of this channel.
    * 
@@ -963,6 +1060,8 @@ public java.util.List getMutationRecord return mutationRecords_; } /** + * + * *
    * Records of the modification of this channel.
    * 
@@ -970,11 +1069,13 @@ public java.util.List getMutationRecord * repeated .google.monitoring.v3.MutationRecord mutation_records = 13; */ @java.lang.Override - public java.util.List + public java.util.List getMutationRecordsOrBuilderList() { return mutationRecords_; } /** + * + * *
    * Records of the modification of this channel.
    * 
@@ -986,6 +1087,8 @@ public int getMutationRecordsCount() { return mutationRecords_.size(); } /** + * + * *
    * Records of the modification of this channel.
    * 
@@ -997,6 +1100,8 @@ public com.google.monitoring.v3.MutationRecord getMutationRecords(int index) { return mutationRecords_.get(index); } /** + * + * *
    * Records of the modification of this channel.
    * 
@@ -1004,12 +1109,12 @@ public com.google.monitoring.v3.MutationRecord getMutationRecords(int index) { * repeated .google.monitoring.v3.MutationRecord mutation_records = 13; */ @java.lang.Override - public com.google.monitoring.v3.MutationRecordOrBuilder getMutationRecordsOrBuilder( - int index) { + public com.google.monitoring.v3.MutationRecordOrBuilder getMutationRecordsOrBuilder(int index) { return mutationRecords_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1021,8 +1126,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_); } @@ -1032,22 +1136,17 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, description_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 5); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 5); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, name_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetUserLabels(), - UserLabelsDefaultEntryHolder.defaultEntry, - 8); - if (verificationStatus_ != com.google.monitoring.v3.NotificationChannel.VerificationStatus.VERIFICATION_STATUS_UNSPECIFIED.getNumber()) { + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetUserLabels(), UserLabelsDefaultEntryHolder.defaultEntry, 8); + if (verificationStatus_ + != com.google.monitoring.v3.NotificationChannel.VerificationStatus + .VERIFICATION_STATUS_UNSPECIFIED + .getNumber()) { output.writeEnum(9, verificationStatus_); } if (enabled_ != null) { @@ -1077,44 +1176,43 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_); } - for (java.util.Map.Entry entry - : internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, labels__); + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_); } - for (java.util.Map.Entry entry - : internalGetUserLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - userLabels__ = UserLabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, userLabels__); - } - if (verificationStatus_ != com.google.monitoring.v3.NotificationChannel.VerificationStatus.VERIFICATION_STATUS_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(9, verificationStatus_); + for (java.util.Map.Entry entry : + internalGetUserLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry userLabels__ = + UserLabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, userLabels__); + } + if (verificationStatus_ + != com.google.monitoring.v3.NotificationChannel.VerificationStatus + .VERIFICATION_STATUS_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, verificationStatus_); } if (enabled_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getEnabled()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getEnabled()); } if (creationRecord_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getCreationRecord()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getCreationRecord()); } for (int i = 0; i < mutationRecords_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, mutationRecords_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, mutationRecords_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1124,38 +1222,30 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.NotificationChannel)) { return super.equals(obj); } - com.google.monitoring.v3.NotificationChannel other = (com.google.monitoring.v3.NotificationChannel) obj; - - if (!getType() - .equals(other.getType())) return false; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; - if (!internalGetUserLabels().equals( - other.internalGetUserLabels())) return false; + com.google.monitoring.v3.NotificationChannel other = + (com.google.monitoring.v3.NotificationChannel) obj; + + if (!getType().equals(other.getType())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!internalGetUserLabels().equals(other.internalGetUserLabels())) return false; if (verificationStatus_ != other.verificationStatus_) return false; if (hasEnabled() != other.hasEnabled()) return false; if (hasEnabled()) { - if (!getEnabled() - .equals(other.getEnabled())) return false; + if (!getEnabled().equals(other.getEnabled())) return false; } if (hasCreationRecord() != other.hasCreationRecord()) return false; if (hasCreationRecord()) { - if (!getCreationRecord() - .equals(other.getCreationRecord())) return false; + if (!getCreationRecord().equals(other.getCreationRecord())) return false; } - if (!getMutationRecordsList() - .equals(other.getMutationRecordsList())) return false; + if (!getMutationRecordsList().equals(other.getMutationRecordsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1202,97 +1292,104 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.NotificationChannel parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.NotificationChannel parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.NotificationChannel parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.NotificationChannel parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.NotificationChannel parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.NotificationChannel parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.NotificationChannel parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.NotificationChannel 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.monitoring.v3.NotificationChannel parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.NotificationChannel parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.NotificationChannel parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.NotificationChannel parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.NotificationChannel parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.NotificationChannel parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.NotificationChannel prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 `NotificationChannel` is a medium through which an alert is
    * delivered when a policy violation is detected. Examples of channels
@@ -1303,47 +1400,47 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.monitoring.v3.NotificationChannel}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.NotificationChannel)
       com.google.monitoring.v3.NotificationChannelOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.monitoring.v3.NotificationProto.internal_static_google_monitoring_v3_NotificationChannel_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.monitoring.v3.NotificationProto
+          .internal_static_google_monitoring_v3_NotificationChannel_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 5:
           return internalGetLabels();
         case 8:
           return internalGetUserLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 5:
           return internalGetMutableLabels();
         case 8:
           return internalGetMutableUserLabels();
         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.monitoring.v3.NotificationProto.internal_static_google_monitoring_v3_NotificationChannel_fieldAccessorTable
+      return com.google.monitoring.v3.NotificationProto
+          .internal_static_google_monitoring_v3_NotificationChannel_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.NotificationChannel.class, com.google.monitoring.v3.NotificationChannel.Builder.class);
+              com.google.monitoring.v3.NotificationChannel.class,
+              com.google.monitoring.v3.NotificationChannel.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.NotificationChannel.newBuilder()
@@ -1351,17 +1448,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getMutationRecordsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1399,9 +1496,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.monitoring.v3.NotificationProto.internal_static_google_monitoring_v3_NotificationChannel_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.monitoring.v3.NotificationProto
+          .internal_static_google_monitoring_v3_NotificationChannel_descriptor;
     }
 
     @java.lang.Override
@@ -1420,7 +1517,8 @@ public com.google.monitoring.v3.NotificationChannel build() {
 
     @java.lang.Override
     public com.google.monitoring.v3.NotificationChannel buildPartial() {
-      com.google.monitoring.v3.NotificationChannel result = new com.google.monitoring.v3.NotificationChannel(this);
+      com.google.monitoring.v3.NotificationChannel result =
+          new com.google.monitoring.v3.NotificationChannel(this);
       int from_bitField0_ = bitField0_;
       result.type_ = type_;
       result.name_ = name_;
@@ -1458,38 +1556,39 @@ public com.google.monitoring.v3.NotificationChannel 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.monitoring.v3.NotificationChannel) {
-        return mergeFrom((com.google.monitoring.v3.NotificationChannel)other);
+        return mergeFrom((com.google.monitoring.v3.NotificationChannel) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1514,10 +1613,8 @@ public Builder mergeFrom(com.google.monitoring.v3.NotificationChannel other) {
         description_ = other.description_;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
-      internalGetMutableUserLabels().mergeFrom(
-          other.internalGetUserLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableUserLabels().mergeFrom(other.internalGetUserLabels());
       if (other.verificationStatus_ != 0) {
         setVerificationStatusValue(other.getVerificationStatusValue());
       }
@@ -1545,9 +1642,10 @@ public Builder mergeFrom(com.google.monitoring.v3.NotificationChannel other) {
             mutationRecordsBuilder_ = null;
             mutationRecords_ = other.mutationRecords_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            mutationRecordsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getMutationRecordsFieldBuilder() : null;
+            mutationRecordsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getMutationRecordsFieldBuilder()
+                    : null;
           } else {
             mutationRecordsBuilder_.addAllMessages(other.mutationRecords_);
           }
@@ -1581,23 +1679,26 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object type_ = "";
     /**
+     *
+     *
      * 
      * The type of the notification channel. This field matches the
      * value of the [NotificationChannelDescriptor.type][google.monitoring.v3.NotificationChannelDescriptor.type] field.
      * 
* * string type = 1; + * * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; @@ -1606,21 +1707,22 @@ public java.lang.String getType() { } } /** + * + * *
      * The type of the notification channel. This field matches the
      * value of the [NotificationChannelDescriptor.type][google.monitoring.v3.NotificationChannelDescriptor.type] field.
      * 
* * string type = 1; + * * @return The bytes for type. */ - public com.google.protobuf.ByteString - getTypeBytes() { + public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); type_ = b; return b; } else { @@ -1628,57 +1730,64 @@ public java.lang.String getType() { } } /** + * + * *
      * The type of the notification channel. This field matches the
      * value of the [NotificationChannelDescriptor.type][google.monitoring.v3.NotificationChannelDescriptor.type] field.
      * 
* * string type = 1; + * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType( - java.lang.String value) { + public Builder setType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + type_ = value; onChanged(); return this; } /** + * + * *
      * The type of the notification channel. This field matches the
      * value of the [NotificationChannelDescriptor.type][google.monitoring.v3.NotificationChannelDescriptor.type] field.
      * 
* * string type = 1; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = getDefaultInstance().getType(); onChanged(); return this; } /** + * + * *
      * The type of the notification channel. This field matches the
      * value of the [NotificationChannelDescriptor.type][google.monitoring.v3.NotificationChannelDescriptor.type] field.
      * 
* * string type = 1; + * * @param value The bytes for type to set. * @return This builder for chaining. */ - public Builder setTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + type_ = value; onChanged(); return this; @@ -1686,6 +1795,8 @@ public Builder setTypeBytes( private java.lang.Object name_ = ""; /** + * + * *
      * The full REST resource name for this channel. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
@@ -1693,13 +1804,13 @@ public Builder setTypeBytes(
      * 
* * string name = 6; + * * @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; @@ -1708,6 +1819,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The full REST resource name for this channel. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
@@ -1715,15 +1828,14 @@ public java.lang.String getName() {
      * 
* * string name = 6; + * * @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 { @@ -1731,6 +1843,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The full REST resource name for this channel. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
@@ -1738,20 +1852,22 @@ public java.lang.String getName() {
      * 
* * string name = 6; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The full REST resource name for this channel. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
@@ -1759,15 +1875,18 @@ public Builder setName(
      * 
* * string name = 6; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The full REST resource name for this channel. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
@@ -1775,16 +1894,16 @@ public Builder clearName() {
      * 
* * string name = 6; + * * @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; @@ -1792,6 +1911,8 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * An optional human-readable name for this notification channel. It is
      * recommended that you specify a non-empty and unique name in order to
@@ -1800,13 +1921,13 @@ public Builder setNameBytes(
      * 
* * string display_name = 3; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1815,6 +1936,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * An optional human-readable name for this notification channel. It is
      * recommended that you specify a non-empty and unique name in order to
@@ -1823,15 +1946,14 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 3; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -1839,6 +1961,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * An optional human-readable name for this notification channel. It is
      * recommended that you specify a non-empty and unique name in order to
@@ -1847,20 +1971,22 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 3; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * An optional human-readable name for this notification channel. It is
      * recommended that you specify a non-empty and unique name in order to
@@ -1869,15 +1995,18 @@ public Builder setDisplayName(
      * 
* * string display_name = 3; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * An optional human-readable name for this notification channel. It is
      * recommended that you specify a non-empty and unique name in order to
@@ -1886,16 +2015,16 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 3; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1903,6 +2032,8 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * An optional human-readable description of this notification channel. This
      * description may provide additional details, beyond the display
@@ -1910,13 +2041,13 @@ public Builder setDisplayNameBytes(
      * 
* * string description = 4; + * * @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; @@ -1925,6 +2056,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * An optional human-readable description of this notification channel. This
      * description may provide additional details, beyond the display
@@ -1932,15 +2065,14 @@ public java.lang.String getDescription() {
      * 
* * string description = 4; + * * @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 { @@ -1948,6 +2080,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * An optional human-readable description of this notification channel. This
      * description may provide additional details, beyond the display
@@ -1955,20 +2089,22 @@ public java.lang.String getDescription() {
      * 
* * string description = 4; + * * @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; } /** + * + * *
      * An optional human-readable description of this notification channel. This
      * description may provide additional details, beyond the display
@@ -1976,15 +2112,18 @@ public Builder setDescription(
      * 
* * string description = 4; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * An optional human-readable description of this notification channel. This
      * description may provide additional details, beyond the display
@@ -1992,37 +2131,36 @@ public Builder clearDescription() {
      * 
* * string description = 4; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged();; + internalGetMutableLabels() { + onChanged(); + ; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -2034,6 +2172,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Configuration fields that define the channel and its behavior. The
      * permissible and required labels are specified in the
@@ -2043,22 +2183,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 5;
      */
-
     @java.lang.Override
-    public boolean containsLabels(
-        java.lang.String key) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
+    public boolean containsLabels(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getLabelsMap()} instead.
-     */
+    /** Use {@link #getLabelsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
+     *
+     *
      * 
      * Configuration fields that define the channel and its behavior. The
      * permissible and required labels are specified in the
@@ -2069,11 +2209,12 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 5;
      */
     @java.lang.Override
-
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Configuration fields that define the channel and its behavior. The
      * permissible and required labels are specified in the
@@ -2084,16 +2225,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 5;
      */
     @java.lang.Override
-
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      java.util.Map map = internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Configuration fields that define the channel and its behavior. The
      * permissible and required labels are specified in the
@@ -2104,12 +2246,11 @@ public java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 5;
      */
     @java.lang.Override
-
-    public java.lang.String getLabelsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      java.util.Map map = internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -2117,11 +2258,12 @@ public java.lang.String getLabelsOrThrow(
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration fields that define the channel and its behavior. The
      * permissible and required labels are specified in the
@@ -2131,23 +2273,21 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 5;
      */
-
-    public Builder removeLabels(
-        java.lang.String key) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      internalGetMutableLabels().getMutableMap()
-          .remove(key);
+    public Builder removeLabels(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      internalGetMutableLabels().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableLabels() {
+    public java.util.Map getMutableLabels() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Configuration fields that define the channel and its behavior. The
      * permissible and required labels are specified in the
@@ -2157,16 +2297,19 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 5;
      */
-    public Builder putLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      if (value == null) { throw new java.lang.NullPointerException(); }
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+    public Builder putLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      if (value == null) {
+        throw new java.lang.NullPointerException();
+      }
+      internalGetMutableLabels().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration fields that define the channel and its behavior. The
      * permissible and required labels are specified in the
@@ -2176,30 +2319,29 @@ public Builder putLabels(
      *
      * map<string, string> labels = 5;
      */
-
-    public Builder putAllLabels(
-        java.util.Map values) {
-      internalGetMutableLabels().getMutableMap()
-          .putAll(values);
+    public Builder putAllLabels(java.util.Map values) {
+      internalGetMutableLabels().getMutableMap().putAll(values);
       return this;
     }
 
-    private com.google.protobuf.MapField<
-        java.lang.String, java.lang.String> userLabels_;
+    private com.google.protobuf.MapField userLabels_;
+
     private com.google.protobuf.MapField
-    internalGetUserLabels() {
+        internalGetUserLabels() {
       if (userLabels_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             UserLabelsDefaultEntryHolder.defaultEntry);
       }
       return userLabels_;
     }
+
     private com.google.protobuf.MapField
-    internalGetMutableUserLabels() {
-      onChanged();;
+        internalGetMutableUserLabels() {
+      onChanged();
+      ;
       if (userLabels_ == null) {
-        userLabels_ = com.google.protobuf.MapField.newMapField(
-            UserLabelsDefaultEntryHolder.defaultEntry);
+        userLabels_ =
+            com.google.protobuf.MapField.newMapField(UserLabelsDefaultEntryHolder.defaultEntry);
       }
       if (!userLabels_.isMutable()) {
         userLabels_ = userLabels_.copy();
@@ -2211,6 +2353,8 @@ public int getUserLabelsCount() {
       return internalGetUserLabels().getMap().size();
     }
     /**
+     *
+     *
      * 
      * User-supplied key/value data that does not need to conform to
      * the corresponding `NotificationChannelDescriptor`'s schema, unlike
@@ -2224,22 +2368,22 @@ public int getUserLabelsCount() {
      *
      * map<string, string> user_labels = 8;
      */
-
     @java.lang.Override
-    public boolean containsUserLabels(
-        java.lang.String key) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
+    public boolean containsUserLabels(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
       return internalGetUserLabels().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getUserLabelsMap()} instead.
-     */
+    /** Use {@link #getUserLabelsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getUserLabels() {
       return getUserLabelsMap();
     }
     /**
+     *
+     *
      * 
      * User-supplied key/value data that does not need to conform to
      * the corresponding `NotificationChannelDescriptor`'s schema, unlike
@@ -2254,11 +2398,12 @@ public java.util.Map getUserLabels() {
      * map<string, string> user_labels = 8;
      */
     @java.lang.Override
-
     public java.util.Map getUserLabelsMap() {
       return internalGetUserLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * User-supplied key/value data that does not need to conform to
      * the corresponding `NotificationChannelDescriptor`'s schema, unlike
@@ -2273,16 +2418,17 @@ public java.util.Map getUserLabelsMap() {
      * map<string, string> user_labels = 8;
      */
     @java.lang.Override
-
     public java.lang.String getUserLabelsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      java.util.Map map =
-          internalGetUserLabels().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      java.util.Map map = internalGetUserLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * User-supplied key/value data that does not need to conform to
      * the corresponding `NotificationChannelDescriptor`'s schema, unlike
@@ -2297,12 +2443,11 @@ public java.lang.String getUserLabelsOrDefault(
      * map<string, string> user_labels = 8;
      */
     @java.lang.Override
-
-    public java.lang.String getUserLabelsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      java.util.Map map =
-          internalGetUserLabels().getMap();
+    public java.lang.String getUserLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      java.util.Map map = internalGetUserLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -2310,11 +2455,12 @@ public java.lang.String getUserLabelsOrThrow(
     }
 
     public Builder clearUserLabels() {
-      internalGetMutableUserLabels().getMutableMap()
-          .clear();
+      internalGetMutableUserLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * User-supplied key/value data that does not need to conform to
      * the corresponding `NotificationChannelDescriptor`'s schema, unlike
@@ -2328,23 +2474,21 @@ public Builder clearUserLabels() {
      *
      * map<string, string> user_labels = 8;
      */
-
-    public Builder removeUserLabels(
-        java.lang.String key) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      internalGetMutableUserLabels().getMutableMap()
-          .remove(key);
+    public Builder removeUserLabels(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      internalGetMutableUserLabels().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableUserLabels() {
+    public java.util.Map getMutableUserLabels() {
       return internalGetMutableUserLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * User-supplied key/value data that does not need to conform to
      * the corresponding `NotificationChannelDescriptor`'s schema, unlike
@@ -2358,16 +2502,19 @@ public Builder removeUserLabels(
      *
      * map<string, string> user_labels = 8;
      */
-    public Builder putUserLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      if (value == null) { throw new java.lang.NullPointerException(); }
-      internalGetMutableUserLabels().getMutableMap()
-          .put(key, value);
+    public Builder putUserLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      if (value == null) {
+        throw new java.lang.NullPointerException();
+      }
+      internalGetMutableUserLabels().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * User-supplied key/value data that does not need to conform to
      * the corresponding `NotificationChannelDescriptor`'s schema, unlike
@@ -2381,16 +2528,15 @@ public Builder putUserLabels(
      *
      * map<string, string> user_labels = 8;
      */
-
-    public Builder putAllUserLabels(
-        java.util.Map values) {
-      internalGetMutableUserLabels().getMutableMap()
-          .putAll(values);
+    public Builder putAllUserLabels(java.util.Map values) {
+      internalGetMutableUserLabels().getMutableMap().putAll(values);
       return this;
     }
 
     private int verificationStatus_ = 0;
     /**
+     *
+     *
      * 
      * Indicates whether this channel has been verified or not. On a
      * [`ListNotificationChannels`][google.monitoring.v3.NotificationChannelService.ListNotificationChannels]
@@ -2410,13 +2556,18 @@ public Builder putAllUserLabels(
      * [`VerifyNotificationChannel`][google.monitoring.v3.NotificationChannelService.VerifyNotificationChannel].
      * 
* - * .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9; + * .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9; + * + * * @return The enum numeric value on the wire for verificationStatus. */ - @java.lang.Override public int getVerificationStatusValue() { + @java.lang.Override + public int getVerificationStatusValue() { return verificationStatus_; } /** + * + * *
      * Indicates whether this channel has been verified or not. On a
      * [`ListNotificationChannels`][google.monitoring.v3.NotificationChannelService.ListNotificationChannels]
@@ -2436,17 +2587,21 @@ public Builder putAllUserLabels(
      * [`VerifyNotificationChannel`][google.monitoring.v3.NotificationChannelService.VerifyNotificationChannel].
      * 
* - * .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9; + * .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9; + * + * * @param value The enum numeric value on the wire for verificationStatus to set. * @return This builder for chaining. */ public Builder setVerificationStatusValue(int value) { - + verificationStatus_ = value; onChanged(); return this; } /** + * + * *
      * Indicates whether this channel has been verified or not. On a
      * [`ListNotificationChannels`][google.monitoring.v3.NotificationChannelService.ListNotificationChannels]
@@ -2466,16 +2621,24 @@ public Builder setVerificationStatusValue(int value) {
      * [`VerifyNotificationChannel`][google.monitoring.v3.NotificationChannelService.VerifyNotificationChannel].
      * 
* - * .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9; + * .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9; + * + * * @return The verificationStatus. */ @java.lang.Override public com.google.monitoring.v3.NotificationChannel.VerificationStatus getVerificationStatus() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.NotificationChannel.VerificationStatus result = com.google.monitoring.v3.NotificationChannel.VerificationStatus.valueOf(verificationStatus_); - return result == null ? com.google.monitoring.v3.NotificationChannel.VerificationStatus.UNRECOGNIZED : result; + com.google.monitoring.v3.NotificationChannel.VerificationStatus result = + com.google.monitoring.v3.NotificationChannel.VerificationStatus.valueOf( + verificationStatus_); + return result == null + ? com.google.monitoring.v3.NotificationChannel.VerificationStatus.UNRECOGNIZED + : result; } /** + * + * *
      * Indicates whether this channel has been verified or not. On a
      * [`ListNotificationChannels`][google.monitoring.v3.NotificationChannelService.ListNotificationChannels]
@@ -2495,20 +2658,25 @@ public com.google.monitoring.v3.NotificationChannel.VerificationStatus getVerifi
      * [`VerifyNotificationChannel`][google.monitoring.v3.NotificationChannelService.VerifyNotificationChannel].
      * 
* - * .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9; + * .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9; + * + * * @param value The verificationStatus to set. * @return This builder for chaining. */ - public Builder setVerificationStatus(com.google.monitoring.v3.NotificationChannel.VerificationStatus value) { + public Builder setVerificationStatus( + com.google.monitoring.v3.NotificationChannel.VerificationStatus value) { if (value == null) { throw new NullPointerException(); } - + verificationStatus_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Indicates whether this channel has been verified or not. On a
      * [`ListNotificationChannels`][google.monitoring.v3.NotificationChannelService.ListNotificationChannels]
@@ -2528,11 +2696,13 @@ public Builder setVerificationStatus(com.google.monitoring.v3.NotificationChanne
      * [`VerifyNotificationChannel`][google.monitoring.v3.NotificationChannelService.VerifyNotificationChannel].
      * 
* - * .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9; + * .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9; + * + * * @return This builder for chaining. */ public Builder clearVerificationStatus() { - + verificationStatus_ = 0; onChanged(); return this; @@ -2540,8 +2710,13 @@ public Builder clearVerificationStatus() { private com.google.protobuf.BoolValue enabled_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> enabledBuilder_; + com.google.protobuf.BoolValue, + com.google.protobuf.BoolValue.Builder, + com.google.protobuf.BoolValueOrBuilder> + enabledBuilder_; /** + * + * *
      * Whether notifications are forwarded to the described channel. This makes
      * it possible to disable delivery of notifications to a particular channel
@@ -2552,12 +2727,15 @@ public Builder clearVerificationStatus() {
      * 
* * .google.protobuf.BoolValue enabled = 11; + * * @return Whether the enabled field is set. */ public boolean hasEnabled() { return enabledBuilder_ != null || enabled_ != null; } /** + * + * *
      * Whether notifications are forwarded to the described channel. This makes
      * it possible to disable delivery of notifications to a particular channel
@@ -2568,6 +2746,7 @@ public boolean hasEnabled() {
      * 
* * .google.protobuf.BoolValue enabled = 11; + * * @return The enabled. */ public com.google.protobuf.BoolValue getEnabled() { @@ -2578,6 +2757,8 @@ public com.google.protobuf.BoolValue getEnabled() { } } /** + * + * *
      * Whether notifications are forwarded to the described channel. This makes
      * it possible to disable delivery of notifications to a particular channel
@@ -2603,6 +2784,8 @@ public Builder setEnabled(com.google.protobuf.BoolValue value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Whether notifications are forwarded to the described channel. This makes
      * it possible to disable delivery of notifications to a particular channel
@@ -2614,8 +2797,7 @@ public Builder setEnabled(com.google.protobuf.BoolValue value) {
      *
      * .google.protobuf.BoolValue enabled = 11;
      */
-    public Builder setEnabled(
-        com.google.protobuf.BoolValue.Builder builderForValue) {
+    public Builder setEnabled(com.google.protobuf.BoolValue.Builder builderForValue) {
       if (enabledBuilder_ == null) {
         enabled_ = builderForValue.build();
         onChanged();
@@ -2626,6 +2808,8 @@ public Builder setEnabled(
       return this;
     }
     /**
+     *
+     *
      * 
      * Whether notifications are forwarded to the described channel. This makes
      * it possible to disable delivery of notifications to a particular channel
@@ -2641,7 +2825,7 @@ public Builder mergeEnabled(com.google.protobuf.BoolValue value) {
       if (enabledBuilder_ == null) {
         if (enabled_ != null) {
           enabled_ =
-            com.google.protobuf.BoolValue.newBuilder(enabled_).mergeFrom(value).buildPartial();
+              com.google.protobuf.BoolValue.newBuilder(enabled_).mergeFrom(value).buildPartial();
         } else {
           enabled_ = value;
         }
@@ -2653,6 +2837,8 @@ public Builder mergeEnabled(com.google.protobuf.BoolValue value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Whether notifications are forwarded to the described channel. This makes
      * it possible to disable delivery of notifications to a particular channel
@@ -2676,6 +2862,8 @@ public Builder clearEnabled() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Whether notifications are forwarded to the described channel. This makes
      * it possible to disable delivery of notifications to a particular channel
@@ -2688,11 +2876,13 @@ public Builder clearEnabled() {
      * .google.protobuf.BoolValue enabled = 11;
      */
     public com.google.protobuf.BoolValue.Builder getEnabledBuilder() {
-      
+
       onChanged();
       return getEnabledFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Whether notifications are forwarded to the described channel. This makes
      * it possible to disable delivery of notifications to a particular channel
@@ -2708,11 +2898,12 @@ public com.google.protobuf.BoolValueOrBuilder getEnabledOrBuilder() {
       if (enabledBuilder_ != null) {
         return enabledBuilder_.getMessageOrBuilder();
       } else {
-        return enabled_ == null ?
-            com.google.protobuf.BoolValue.getDefaultInstance() : enabled_;
+        return enabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : enabled_;
       }
     }
     /**
+     *
+     *
      * 
      * Whether notifications are forwarded to the described channel. This makes
      * it possible to disable delivery of notifications to a particular channel
@@ -2725,14 +2916,17 @@ public com.google.protobuf.BoolValueOrBuilder getEnabledOrBuilder() {
      * .google.protobuf.BoolValue enabled = 11;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> 
+            com.google.protobuf.BoolValue,
+            com.google.protobuf.BoolValue.Builder,
+            com.google.protobuf.BoolValueOrBuilder>
         getEnabledFieldBuilder() {
       if (enabledBuilder_ == null) {
-        enabledBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
-                getEnabled(),
-                getParentForChildren(),
-                isClean());
+        enabledBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.BoolValue,
+                com.google.protobuf.BoolValue.Builder,
+                com.google.protobuf.BoolValueOrBuilder>(
+                getEnabled(), getParentForChildren(), isClean());
         enabled_ = null;
       }
       return enabledBuilder_;
@@ -2740,34 +2934,47 @@ public com.google.protobuf.BoolValueOrBuilder getEnabledOrBuilder() {
 
     private com.google.monitoring.v3.MutationRecord creationRecord_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.monitoring.v3.MutationRecord, com.google.monitoring.v3.MutationRecord.Builder, com.google.monitoring.v3.MutationRecordOrBuilder> creationRecordBuilder_;
+            com.google.monitoring.v3.MutationRecord,
+            com.google.monitoring.v3.MutationRecord.Builder,
+            com.google.monitoring.v3.MutationRecordOrBuilder>
+        creationRecordBuilder_;
     /**
+     *
+     *
      * 
      * Record of the creation of this channel.
      * 
* * .google.monitoring.v3.MutationRecord creation_record = 12; + * * @return Whether the creationRecord field is set. */ public boolean hasCreationRecord() { return creationRecordBuilder_ != null || creationRecord_ != null; } /** + * + * *
      * Record of the creation of this channel.
      * 
* * .google.monitoring.v3.MutationRecord creation_record = 12; + * * @return The creationRecord. */ public com.google.monitoring.v3.MutationRecord getCreationRecord() { if (creationRecordBuilder_ == null) { - return creationRecord_ == null ? com.google.monitoring.v3.MutationRecord.getDefaultInstance() : creationRecord_; + return creationRecord_ == null + ? com.google.monitoring.v3.MutationRecord.getDefaultInstance() + : creationRecord_; } else { return creationRecordBuilder_.getMessage(); } } /** + * + * *
      * Record of the creation of this channel.
      * 
@@ -2788,6 +2995,8 @@ public Builder setCreationRecord(com.google.monitoring.v3.MutationRecord value) return this; } /** + * + * *
      * Record of the creation of this channel.
      * 
@@ -2806,6 +3015,8 @@ public Builder setCreationRecord( return this; } /** + * + * *
      * Record of the creation of this channel.
      * 
@@ -2816,7 +3027,9 @@ public Builder mergeCreationRecord(com.google.monitoring.v3.MutationRecord value if (creationRecordBuilder_ == null) { if (creationRecord_ != null) { creationRecord_ = - com.google.monitoring.v3.MutationRecord.newBuilder(creationRecord_).mergeFrom(value).buildPartial(); + com.google.monitoring.v3.MutationRecord.newBuilder(creationRecord_) + .mergeFrom(value) + .buildPartial(); } else { creationRecord_ = value; } @@ -2828,6 +3041,8 @@ public Builder mergeCreationRecord(com.google.monitoring.v3.MutationRecord value return this; } /** + * + * *
      * Record of the creation of this channel.
      * 
@@ -2846,6 +3061,8 @@ public Builder clearCreationRecord() { return this; } /** + * + * *
      * Record of the creation of this channel.
      * 
@@ -2853,11 +3070,13 @@ public Builder clearCreationRecord() { * .google.monitoring.v3.MutationRecord creation_record = 12; */ public com.google.monitoring.v3.MutationRecord.Builder getCreationRecordBuilder() { - + onChanged(); return getCreationRecordFieldBuilder().getBuilder(); } /** + * + * *
      * Record of the creation of this channel.
      * 
@@ -2868,11 +3087,14 @@ public com.google.monitoring.v3.MutationRecordOrBuilder getCreationRecordOrBuild if (creationRecordBuilder_ != null) { return creationRecordBuilder_.getMessageOrBuilder(); } else { - return creationRecord_ == null ? - com.google.monitoring.v3.MutationRecord.getDefaultInstance() : creationRecord_; + return creationRecord_ == null + ? com.google.monitoring.v3.MutationRecord.getDefaultInstance() + : creationRecord_; } } /** + * + * *
      * Record of the creation of this channel.
      * 
@@ -2880,32 +3102,42 @@ public com.google.monitoring.v3.MutationRecordOrBuilder getCreationRecordOrBuild * .google.monitoring.v3.MutationRecord creation_record = 12; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.MutationRecord, com.google.monitoring.v3.MutationRecord.Builder, com.google.monitoring.v3.MutationRecordOrBuilder> + com.google.monitoring.v3.MutationRecord, + com.google.monitoring.v3.MutationRecord.Builder, + com.google.monitoring.v3.MutationRecordOrBuilder> getCreationRecordFieldBuilder() { if (creationRecordBuilder_ == null) { - creationRecordBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.MutationRecord, com.google.monitoring.v3.MutationRecord.Builder, com.google.monitoring.v3.MutationRecordOrBuilder>( - getCreationRecord(), - getParentForChildren(), - isClean()); + creationRecordBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.MutationRecord, + com.google.monitoring.v3.MutationRecord.Builder, + com.google.monitoring.v3.MutationRecordOrBuilder>( + getCreationRecord(), getParentForChildren(), isClean()); creationRecord_ = null; } return creationRecordBuilder_; } private java.util.List mutationRecords_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureMutationRecordsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - mutationRecords_ = new java.util.ArrayList(mutationRecords_); + mutationRecords_ = + new java.util.ArrayList(mutationRecords_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.MutationRecord, com.google.monitoring.v3.MutationRecord.Builder, com.google.monitoring.v3.MutationRecordOrBuilder> mutationRecordsBuilder_; + com.google.monitoring.v3.MutationRecord, + com.google.monitoring.v3.MutationRecord.Builder, + com.google.monitoring.v3.MutationRecordOrBuilder> + mutationRecordsBuilder_; /** + * + * *
      * Records of the modification of this channel.
      * 
@@ -2920,6 +3152,8 @@ public java.util.List getMutationRecord } } /** + * + * *
      * Records of the modification of this channel.
      * 
@@ -2934,6 +3168,8 @@ public int getMutationRecordsCount() { } } /** + * + * *
      * Records of the modification of this channel.
      * 
@@ -2948,14 +3184,15 @@ public com.google.monitoring.v3.MutationRecord getMutationRecords(int index) { } } /** + * + * *
      * Records of the modification of this channel.
      * 
* * repeated .google.monitoring.v3.MutationRecord mutation_records = 13; */ - public Builder setMutationRecords( - int index, com.google.monitoring.v3.MutationRecord value) { + public Builder setMutationRecords(int index, com.google.monitoring.v3.MutationRecord value) { if (mutationRecordsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2969,6 +3206,8 @@ public Builder setMutationRecords( return this; } /** + * + * *
      * Records of the modification of this channel.
      * 
@@ -2987,6 +3226,8 @@ public Builder setMutationRecords( return this; } /** + * + * *
      * Records of the modification of this channel.
      * 
@@ -3007,14 +3248,15 @@ public Builder addMutationRecords(com.google.monitoring.v3.MutationRecord value) return this; } /** + * + * *
      * Records of the modification of this channel.
      * 
* * repeated .google.monitoring.v3.MutationRecord mutation_records = 13; */ - public Builder addMutationRecords( - int index, com.google.monitoring.v3.MutationRecord value) { + public Builder addMutationRecords(int index, com.google.monitoring.v3.MutationRecord value) { if (mutationRecordsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3028,6 +3270,8 @@ public Builder addMutationRecords( return this; } /** + * + * *
      * Records of the modification of this channel.
      * 
@@ -3046,6 +3290,8 @@ public Builder addMutationRecords( return this; } /** + * + * *
      * Records of the modification of this channel.
      * 
@@ -3064,6 +3310,8 @@ public Builder addMutationRecords( return this; } /** + * + * *
      * Records of the modification of this channel.
      * 
@@ -3074,8 +3322,7 @@ public Builder addAllMutationRecords( java.lang.Iterable values) { if (mutationRecordsBuilder_ == null) { ensureMutationRecordsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, mutationRecords_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, mutationRecords_); onChanged(); } else { mutationRecordsBuilder_.addAllMessages(values); @@ -3083,6 +3330,8 @@ public Builder addAllMutationRecords( return this; } /** + * + * *
      * Records of the modification of this channel.
      * 
@@ -3100,6 +3349,8 @@ public Builder clearMutationRecords() { return this; } /** + * + * *
      * Records of the modification of this channel.
      * 
@@ -3117,39 +3368,44 @@ public Builder removeMutationRecords(int index) { return this; } /** + * + * *
      * Records of the modification of this channel.
      * 
* * repeated .google.monitoring.v3.MutationRecord mutation_records = 13; */ - public com.google.monitoring.v3.MutationRecord.Builder getMutationRecordsBuilder( - int index) { + public com.google.monitoring.v3.MutationRecord.Builder getMutationRecordsBuilder(int index) { return getMutationRecordsFieldBuilder().getBuilder(index); } /** + * + * *
      * Records of the modification of this channel.
      * 
* * repeated .google.monitoring.v3.MutationRecord mutation_records = 13; */ - public com.google.monitoring.v3.MutationRecordOrBuilder getMutationRecordsOrBuilder( - int index) { + public com.google.monitoring.v3.MutationRecordOrBuilder getMutationRecordsOrBuilder(int index) { if (mutationRecordsBuilder_ == null) { - return mutationRecords_.get(index); } else { + return mutationRecords_.get(index); + } else { return mutationRecordsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Records of the modification of this channel.
      * 
* * repeated .google.monitoring.v3.MutationRecord mutation_records = 13; */ - public java.util.List - getMutationRecordsOrBuilderList() { + public java.util.List + getMutationRecordsOrBuilderList() { if (mutationRecordsBuilder_ != null) { return mutationRecordsBuilder_.getMessageOrBuilderList(); } else { @@ -3157,6 +3413,8 @@ public com.google.monitoring.v3.MutationRecordOrBuilder getMutationRecordsOrBuil } } /** + * + * *
      * Records of the modification of this channel.
      * 
@@ -3164,38 +3422,47 @@ public com.google.monitoring.v3.MutationRecordOrBuilder getMutationRecordsOrBuil * repeated .google.monitoring.v3.MutationRecord mutation_records = 13; */ public com.google.monitoring.v3.MutationRecord.Builder addMutationRecordsBuilder() { - return getMutationRecordsFieldBuilder().addBuilder( - com.google.monitoring.v3.MutationRecord.getDefaultInstance()); + return getMutationRecordsFieldBuilder() + .addBuilder(com.google.monitoring.v3.MutationRecord.getDefaultInstance()); } /** + * + * *
      * Records of the modification of this channel.
      * 
* * repeated .google.monitoring.v3.MutationRecord mutation_records = 13; */ - public com.google.monitoring.v3.MutationRecord.Builder addMutationRecordsBuilder( - int index) { - return getMutationRecordsFieldBuilder().addBuilder( - index, com.google.monitoring.v3.MutationRecord.getDefaultInstance()); + public com.google.monitoring.v3.MutationRecord.Builder addMutationRecordsBuilder(int index) { + return getMutationRecordsFieldBuilder() + .addBuilder(index, com.google.monitoring.v3.MutationRecord.getDefaultInstance()); } /** + * + * *
      * Records of the modification of this channel.
      * 
* * repeated .google.monitoring.v3.MutationRecord mutation_records = 13; */ - public java.util.List - getMutationRecordsBuilderList() { + public java.util.List + getMutationRecordsBuilderList() { return getMutationRecordsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.MutationRecord, com.google.monitoring.v3.MutationRecord.Builder, com.google.monitoring.v3.MutationRecordOrBuilder> + com.google.monitoring.v3.MutationRecord, + com.google.monitoring.v3.MutationRecord.Builder, + com.google.monitoring.v3.MutationRecordOrBuilder> getMutationRecordsFieldBuilder() { if (mutationRecordsBuilder_ == null) { - mutationRecordsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.MutationRecord, com.google.monitoring.v3.MutationRecord.Builder, com.google.monitoring.v3.MutationRecordOrBuilder>( + mutationRecordsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.monitoring.v3.MutationRecord, + com.google.monitoring.v3.MutationRecord.Builder, + com.google.monitoring.v3.MutationRecordOrBuilder>( mutationRecords_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -3204,9 +3471,9 @@ public com.google.monitoring.v3.MutationRecord.Builder addMutationRecordsBuilder } return mutationRecordsBuilder_; } + @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); } @@ -3216,12 +3483,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.NotificationChannel) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.NotificationChannel) private static final com.google.monitoring.v3.NotificationChannel DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.NotificationChannel(); } @@ -3230,16 +3497,16 @@ public static com.google.monitoring.v3.NotificationChannel getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NotificationChannel parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NotificationChannel(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NotificationChannel parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NotificationChannel(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3254,6 +3521,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.NotificationChannel getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptor.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptor.java similarity index 76% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptor.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptor.java index 17d548ae..d42362eb 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptor.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptor.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/notification.proto package com.google.monitoring.v3; /** + * + * *
  * A description of a notification channel. The descriptor includes
  * the properties of the channel and the set of labels or fields that
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.monitoring.v3.NotificationChannelDescriptor}
  */
-public final class NotificationChannelDescriptor extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NotificationChannelDescriptor extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.NotificationChannelDescriptor)
     NotificationChannelDescriptorOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NotificationChannelDescriptor.newBuilder() to construct.
   private NotificationChannelDescriptor(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private NotificationChannelDescriptor() {
     name_ = "";
     type_ = "";
@@ -33,16 +51,15 @@ private NotificationChannelDescriptor() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new NotificationChannelDescriptor();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private NotificationChannelDescriptor(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -62,82 +79,89 @@ private NotificationChannelDescriptor(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            type_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              type_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            displayName_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              displayName_ = s;
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            description_ = s;
-            break;
-          }
-          case 34: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              labels_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              description_ = s;
+              break;
             }
-            labels_.add(
-                input.readMessage(com.google.api.LabelDescriptor.parser(), extensionRegistry));
-            break;
-          }
-          case 40: {
-            int rawValue = input.readEnum();
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              supportedTiers_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000002;
+          case 34:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                labels_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              labels_.add(
+                  input.readMessage(com.google.api.LabelDescriptor.parser(), extensionRegistry));
+              break;
             }
-            supportedTiers_.add(rawValue);
-            break;
-          }
-          case 42: {
-            int length = input.readRawVarint32();
-            int oldLimit = input.pushLimit(length);
-            while(input.getBytesUntilLimit() > 0) {
+          case 40:
+            {
               int rawValue = input.readEnum();
               if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                 supportedTiers_ = new java.util.ArrayList();
                 mutable_bitField0_ |= 0x00000002;
               }
               supportedTiers_.add(rawValue);
+              break;
             }
-            input.popLimit(oldLimit);
-            break;
-          }
-          case 50: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 42:
+            {
+              int length = input.readRawVarint32();
+              int oldLimit = input.pushLimit(length);
+              while (input.getBytesUntilLimit() > 0) {
+                int rawValue = input.readEnum();
+                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                  supportedTiers_ = new java.util.ArrayList();
+                  mutable_bitField0_ |= 0x00000002;
+                }
+                supportedTiers_.add(rawValue);
+              }
+              input.popLimit(oldLimit);
+              break;
+            }
+          case 50:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 56: {
-            int rawValue = input.readEnum();
+              name_ = s;
+              break;
+            }
+          case 56:
+            {
+              int rawValue = input.readEnum();
 
-            launchStage_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              launchStage_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         labels_ = java.util.Collections.unmodifiableList(labels_);
@@ -149,22 +173,27 @@ private NotificationChannelDescriptor(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.monitoring.v3.NotificationProto.internal_static_google_monitoring_v3_NotificationChannelDescriptor_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.monitoring.v3.NotificationProto
+        .internal_static_google_monitoring_v3_NotificationChannelDescriptor_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.monitoring.v3.NotificationProto.internal_static_google_monitoring_v3_NotificationChannelDescriptor_fieldAccessorTable
+    return com.google.monitoring.v3.NotificationProto
+        .internal_static_google_monitoring_v3_NotificationChannelDescriptor_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.NotificationChannelDescriptor.class, com.google.monitoring.v3.NotificationChannelDescriptor.Builder.class);
+            com.google.monitoring.v3.NotificationChannelDescriptor.class,
+            com.google.monitoring.v3.NotificationChannelDescriptor.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 6;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The full REST resource name for this descriptor. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[TYPE]
@@ -172,6 +201,7 @@ private NotificationChannelDescriptor(
    * 
* * string name = 6; + * * @return The name. */ @java.lang.Override @@ -180,14 +210,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The full REST resource name for this descriptor. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[TYPE]
@@ -195,16 +226,15 @@ public java.lang.String getName() {
    * 
* * string name = 6; + * * @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 { @@ -215,6 +245,8 @@ public java.lang.String getName() { public static final int TYPE_FIELD_NUMBER = 1; private volatile java.lang.Object type_; /** + * + * *
    * The type of notification channel, such as "email" and "sms". To view the
    * full list of channels, see
@@ -224,6 +256,7 @@ public java.lang.String getName() {
    * 
* * string type = 1; + * * @return The type. */ @java.lang.Override @@ -232,14 +265,15 @@ public java.lang.String getType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } } /** + * + * *
    * The type of notification channel, such as "email" and "sms". To view the
    * full list of channels, see
@@ -249,16 +283,15 @@ public java.lang.String getType() {
    * 
* * string type = 1; + * * @return The bytes for type. */ @java.lang.Override - public com.google.protobuf.ByteString - getTypeBytes() { + public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); type_ = b; return b; } else { @@ -269,12 +302,15 @@ public java.lang.String getType() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * A human-readable name for the notification channel type.  This
    * form of the name is suitable for a user interface.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -283,30 +319,30 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * A human-readable name for the notification channel type.  This
    * form of the name is suitable for a user interface.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -317,6 +353,8 @@ public java.lang.String getDisplayName() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** + * + * *
    * A human-readable description of the notification channel
    * type. The description may include a description of the properties
@@ -324,6 +362,7 @@ public java.lang.String getDisplayName() {
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -332,14 +371,15 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * A human-readable description of the notification channel
    * type. The description may include a description of the properties
@@ -347,16 +387,15 @@ public java.lang.String getDescription() {
    * 
* * string description = 3; + * * @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 { @@ -367,6 +406,8 @@ public java.lang.String getDescription() { public static final int LABELS_FIELD_NUMBER = 4; private java.util.List labels_; /** + * + * *
    * The set of labels that must be defined to identify a particular
    * channel of the corresponding type. Each label includes a
@@ -380,6 +421,8 @@ public java.util.List getLabelsList() {
     return labels_;
   }
   /**
+   *
+   *
    * 
    * The set of labels that must be defined to identify a particular
    * channel of the corresponding type. Each label includes a
@@ -389,11 +432,13 @@ public java.util.List getLabelsList() {
    * repeated .google.api.LabelDescriptor labels = 4;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getLabelsOrBuilderList() {
     return labels_;
   }
   /**
+   *
+   *
    * 
    * The set of labels that must be defined to identify a particular
    * channel of the corresponding type. Each label includes a
@@ -407,6 +452,8 @@ public int getLabelsCount() {
     return labels_.size();
   }
   /**
+   *
+   *
    * 
    * The set of labels that must be defined to identify a particular
    * channel of the corresponding type. Each label includes a
@@ -420,6 +467,8 @@ public com.google.api.LabelDescriptor getLabels(int index) {
     return labels_.get(index);
   }
   /**
+   *
+   *
    * 
    * The set of labels that must be defined to identify a particular
    * channel of the corresponding type. Each label includes a
@@ -429,122 +478,158 @@ public com.google.api.LabelDescriptor getLabels(int index) {
    * repeated .google.api.LabelDescriptor labels = 4;
    */
   @java.lang.Override
-  public com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(
-      int index) {
+  public com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(int index) {
     return labels_.get(index);
   }
 
   public static final int SUPPORTED_TIERS_FIELD_NUMBER = 5;
   private java.util.List supportedTiers_;
   private static final com.google.protobuf.Internal.ListAdapter.Converter<
-      java.lang.Integer, com.google.monitoring.v3.ServiceTier> supportedTiers_converter_ =
+          java.lang.Integer, com.google.monitoring.v3.ServiceTier>
+      supportedTiers_converter_ =
           new com.google.protobuf.Internal.ListAdapter.Converter<
               java.lang.Integer, com.google.monitoring.v3.ServiceTier>() {
             public com.google.monitoring.v3.ServiceTier convert(java.lang.Integer from) {
               @SuppressWarnings("deprecation")
-              com.google.monitoring.v3.ServiceTier result = com.google.monitoring.v3.ServiceTier.valueOf(from);
+              com.google.monitoring.v3.ServiceTier result =
+                  com.google.monitoring.v3.ServiceTier.valueOf(from);
               return result == null ? com.google.monitoring.v3.ServiceTier.UNRECOGNIZED : result;
             }
           };
   /**
+   *
+   *
    * 
    * The tiers that support this notification channel; the project service tier
    * must be one of the supported_tiers.
    * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * + * * @return A list containing the supportedTiers. */ @java.lang.Override - @java.lang.Deprecated public java.util.List getSupportedTiersList() { + @java.lang.Deprecated + public java.util.List getSupportedTiersList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.monitoring.v3.ServiceTier>(supportedTiers_, supportedTiers_converter_); + java.lang.Integer, com.google.monitoring.v3.ServiceTier>( + supportedTiers_, supportedTiers_converter_); } /** + * + * *
    * The tiers that support this notification channel; the project service tier
    * must be one of the supported_tiers.
    * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * + * * @return The count of supportedTiers. */ @java.lang.Override - @java.lang.Deprecated public int getSupportedTiersCount() { + @java.lang.Deprecated + public int getSupportedTiersCount() { return supportedTiers_.size(); } /** + * + * *
    * The tiers that support this notification channel; the project service tier
    * must be one of the supported_tiers.
    * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * + * * @param index The index of the element to return. * @return The supportedTiers at the given index. */ @java.lang.Override - @java.lang.Deprecated public com.google.monitoring.v3.ServiceTier getSupportedTiers(int index) { + @java.lang.Deprecated + public com.google.monitoring.v3.ServiceTier getSupportedTiers(int index) { return supportedTiers_converter_.convert(supportedTiers_.get(index)); } /** + * + * *
    * The tiers that support this notification channel; the project service tier
    * must be one of the supported_tiers.
    * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * + * * @return A list containing the enum numeric values on the wire for supportedTiers. */ @java.lang.Override - @java.lang.Deprecated public java.util.List - getSupportedTiersValueList() { + @java.lang.Deprecated + public java.util.List getSupportedTiersValueList() { return supportedTiers_; } /** + * + * *
    * The tiers that support this notification channel; the project service tier
    * must be one of the supported_tiers.
    * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedTiers at the given index. */ @java.lang.Override - @java.lang.Deprecated public int getSupportedTiersValue(int index) { + @java.lang.Deprecated + public int getSupportedTiersValue(int index) { return supportedTiers_.get(index); } + private int supportedTiersMemoizedSerializedSize; public static final int LAUNCH_STAGE_FIELD_NUMBER = 7; private int launchStage_; /** + * + * *
    * The product launch stage for channels of this type.
    * 
* * .google.api.LaunchStage launch_stage = 7; + * * @return The enum numeric value on the wire for launchStage. */ - @java.lang.Override public int getLaunchStageValue() { + @java.lang.Override + public int getLaunchStageValue() { return launchStage_; } /** + * + * *
    * The product launch stage for channels of this type.
    * 
* * .google.api.LaunchStage launch_stage = 7; + * * @return The launchStage. */ - @java.lang.Override public com.google.api.LaunchStage getLaunchStage() { + @java.lang.Override + public com.google.api.LaunchStage getLaunchStage() { @SuppressWarnings("deprecation") com.google.api.LaunchStage result = com.google.api.LaunchStage.valueOf(launchStage_); return result == null ? com.google.api.LaunchStage.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -556,8 +641,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_); @@ -603,27 +687,26 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } for (int i = 0; i < labels_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, labels_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels_.get(i)); } { int dataSize = 0; for (int i = 0; i < supportedTiers_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(supportedTiers_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(supportedTiers_.get(i)); } size += dataSize; - if (!getSupportedTiersList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }supportedTiersMemoizedSerializedSize = dataSize; + if (!getSupportedTiersList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + supportedTiersMemoizedSerializedSize = dataSize; } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_); } if (launchStage_ != com.google.api.LaunchStage.LAUNCH_STAGE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, launchStage_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, launchStage_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -633,23 +716,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.monitoring.v3.NotificationChannelDescriptor)) { return super.equals(obj); } - com.google.monitoring.v3.NotificationChannelDescriptor other = (com.google.monitoring.v3.NotificationChannelDescriptor) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getType() - .equals(other.getType())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getLabelsList() - .equals(other.getLabelsList())) return false; + com.google.monitoring.v3.NotificationChannelDescriptor other = + (com.google.monitoring.v3.NotificationChannelDescriptor) obj; + + if (!getName().equals(other.getName())) return false; + if (!getType().equals(other.getType())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getLabelsList().equals(other.getLabelsList())) return false; if (!supportedTiers_.equals(other.supportedTiers_)) return false; if (launchStage_ != other.launchStage_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -687,96 +766,104 @@ public int hashCode() { } public static com.google.monitoring.v3.NotificationChannelDescriptor parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.NotificationChannelDescriptor parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.NotificationChannelDescriptor parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.NotificationChannelDescriptor parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.NotificationChannelDescriptor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.NotificationChannelDescriptor parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.NotificationChannelDescriptor parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.NotificationChannelDescriptor parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.NotificationChannelDescriptor parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.NotificationChannelDescriptor parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.NotificationChannelDescriptor parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.NotificationChannelDescriptor parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.NotificationChannelDescriptor parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.NotificationChannelDescriptor parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.NotificationChannelDescriptor prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.NotificationChannelDescriptor prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 description of a notification channel. The descriptor includes
    * the properties of the channel and the set of labels or fields that
@@ -785,21 +872,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.monitoring.v3.NotificationChannelDescriptor}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.NotificationChannelDescriptor)
       com.google.monitoring.v3.NotificationChannelDescriptorOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.monitoring.v3.NotificationProto.internal_static_google_monitoring_v3_NotificationChannelDescriptor_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.monitoring.v3.NotificationProto
+          .internal_static_google_monitoring_v3_NotificationChannelDescriptor_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.NotificationProto.internal_static_google_monitoring_v3_NotificationChannelDescriptor_fieldAccessorTable
+      return com.google.monitoring.v3.NotificationProto
+          .internal_static_google_monitoring_v3_NotificationChannelDescriptor_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.NotificationChannelDescriptor.class, com.google.monitoring.v3.NotificationChannelDescriptor.Builder.class);
+              com.google.monitoring.v3.NotificationChannelDescriptor.class,
+              com.google.monitoring.v3.NotificationChannelDescriptor.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.NotificationChannelDescriptor.newBuilder()
@@ -807,17 +896,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getLabelsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -843,9 +932,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.monitoring.v3.NotificationProto.internal_static_google_monitoring_v3_NotificationChannelDescriptor_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.monitoring.v3.NotificationProto
+          .internal_static_google_monitoring_v3_NotificationChannelDescriptor_descriptor;
     }
 
     @java.lang.Override
@@ -864,7 +953,8 @@ public com.google.monitoring.v3.NotificationChannelDescriptor build() {
 
     @java.lang.Override
     public com.google.monitoring.v3.NotificationChannelDescriptor buildPartial() {
-      com.google.monitoring.v3.NotificationChannelDescriptor result = new com.google.monitoring.v3.NotificationChannelDescriptor(this);
+      com.google.monitoring.v3.NotificationChannelDescriptor result =
+          new com.google.monitoring.v3.NotificationChannelDescriptor(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.type_ = type_;
@@ -893,38 +983,39 @@ public com.google.monitoring.v3.NotificationChannelDescriptor 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.monitoring.v3.NotificationChannelDescriptor) {
-        return mergeFrom((com.google.monitoring.v3.NotificationChannelDescriptor)other);
+        return mergeFrom((com.google.monitoring.v3.NotificationChannelDescriptor) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -932,7 +1023,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.monitoring.v3.NotificationChannelDescriptor other) {
-      if (other == com.google.monitoring.v3.NotificationChannelDescriptor.getDefaultInstance()) return this;
+      if (other == com.google.monitoring.v3.NotificationChannelDescriptor.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -967,9 +1059,10 @@ public Builder mergeFrom(com.google.monitoring.v3.NotificationChannelDescriptor
             labelsBuilder_ = null;
             labels_ = other.labels_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            labelsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getLabelsFieldBuilder() : null;
+            labelsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getLabelsFieldBuilder()
+                    : null;
           } else {
             labelsBuilder_.addAllMessages(other.labels_);
           }
@@ -1007,7 +1100,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.monitoring.v3.NotificationChannelDescriptor) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.monitoring.v3.NotificationChannelDescriptor) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1016,10 +1110,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The full REST resource name for this descriptor. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[TYPE]
@@ -1027,13 +1124,13 @@ public Builder mergeFrom(
      * 
* * string name = 6; + * * @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; @@ -1042,6 +1139,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The full REST resource name for this descriptor. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[TYPE]
@@ -1049,15 +1148,14 @@ public java.lang.String getName() {
      * 
* * string name = 6; + * * @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 { @@ -1065,6 +1163,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The full REST resource name for this descriptor. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[TYPE]
@@ -1072,20 +1172,22 @@ public java.lang.String getName() {
      * 
* * string name = 6; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The full REST resource name for this descriptor. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[TYPE]
@@ -1093,15 +1195,18 @@ public Builder setName(
      * 
* * string name = 6; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The full REST resource name for this descriptor. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[TYPE]
@@ -1109,16 +1214,16 @@ public Builder clearName() {
      * 
* * string name = 6; + * * @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; @@ -1126,6 +1231,8 @@ public Builder setNameBytes( private java.lang.Object type_ = ""; /** + * + * *
      * The type of notification channel, such as "email" and "sms". To view the
      * full list of channels, see
@@ -1135,13 +1242,13 @@ public Builder setNameBytes(
      * 
* * string type = 1; + * * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; @@ -1150,6 +1257,8 @@ public java.lang.String getType() { } } /** + * + * *
      * The type of notification channel, such as "email" and "sms". To view the
      * full list of channels, see
@@ -1159,15 +1268,14 @@ public java.lang.String getType() {
      * 
* * string type = 1; + * * @return The bytes for type. */ - public com.google.protobuf.ByteString - getTypeBytes() { + public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); type_ = b; return b; } else { @@ -1175,6 +1283,8 @@ public java.lang.String getType() { } } /** + * + * *
      * The type of notification channel, such as "email" and "sms". To view the
      * full list of channels, see
@@ -1184,20 +1294,22 @@ public java.lang.String getType() {
      * 
* * string type = 1; + * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType( - java.lang.String value) { + public Builder setType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + type_ = value; onChanged(); return this; } /** + * + * *
      * The type of notification channel, such as "email" and "sms". To view the
      * full list of channels, see
@@ -1207,15 +1319,18 @@ public Builder setType(
      * 
* * string type = 1; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = getDefaultInstance().getType(); onChanged(); return this; } /** + * + * *
      * The type of notification channel, such as "email" and "sms". To view the
      * full list of channels, see
@@ -1225,16 +1340,16 @@ public Builder clearType() {
      * 
* * string type = 1; + * * @param value The bytes for type to set. * @return This builder for chaining. */ - public Builder setTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + type_ = value; onChanged(); return this; @@ -1242,19 +1357,21 @@ public Builder setTypeBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * A human-readable name for the notification channel type.  This
      * form of the name is suitable for a user interface.
      * 
* * string display_name = 2; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1263,21 +1380,22 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * A human-readable name for the notification channel type.  This
      * form of the name is suitable for a user interface.
      * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -1285,57 +1403,64 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * A human-readable name for the notification channel type.  This
      * form of the name is suitable for a user interface.
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * A human-readable name for the notification channel type.  This
      * form of the name is suitable for a user interface.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * A human-readable name for the notification channel type.  This
      * form of the name is suitable for a user interface.
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1343,6 +1468,8 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * A human-readable description of the notification channel
      * type. The description may include a description of the properties
@@ -1350,13 +1477,13 @@ public Builder setDisplayNameBytes(
      * 
* * string description = 3; + * * @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; @@ -1365,6 +1492,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * A human-readable description of the notification channel
      * type. The description may include a description of the properties
@@ -1372,15 +1501,14 @@ public java.lang.String getDescription() {
      * 
* * string description = 3; + * * @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 { @@ -1388,6 +1516,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * A human-readable description of the notification channel
      * type. The description may include a description of the properties
@@ -1395,20 +1525,22 @@ public java.lang.String getDescription() {
      * 
* * string description = 3; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * A human-readable description of the notification channel
      * type. The description may include a description of the properties
@@ -1416,15 +1548,18 @@ public Builder setDescription(
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * A human-readable description of the notification channel
      * type. The description may include a description of the properties
@@ -1432,34 +1567,40 @@ public Builder clearDescription() {
      * 
* * string description = 3; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } private java.util.List labels_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureLabelsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { labels_ = new java.util.ArrayList(labels_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.LabelDescriptor, com.google.api.LabelDescriptor.Builder, com.google.api.LabelDescriptorOrBuilder> labelsBuilder_; + com.google.api.LabelDescriptor, + com.google.api.LabelDescriptor.Builder, + com.google.api.LabelDescriptorOrBuilder> + labelsBuilder_; /** + * + * *
      * The set of labels that must be defined to identify a particular
      * channel of the corresponding type. Each label includes a
@@ -1476,6 +1617,8 @@ public java.util.List getLabelsList() {
       }
     }
     /**
+     *
+     *
      * 
      * The set of labels that must be defined to identify a particular
      * channel of the corresponding type. Each label includes a
@@ -1492,6 +1635,8 @@ public int getLabelsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The set of labels that must be defined to identify a particular
      * channel of the corresponding type. Each label includes a
@@ -1508,6 +1653,8 @@ public com.google.api.LabelDescriptor getLabels(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The set of labels that must be defined to identify a particular
      * channel of the corresponding type. Each label includes a
@@ -1516,8 +1663,7 @@ public com.google.api.LabelDescriptor getLabels(int index) {
      *
      * repeated .google.api.LabelDescriptor labels = 4;
      */
-    public Builder setLabels(
-        int index, com.google.api.LabelDescriptor value) {
+    public Builder setLabels(int index, com.google.api.LabelDescriptor value) {
       if (labelsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1531,6 +1677,8 @@ public Builder setLabels(
       return this;
     }
     /**
+     *
+     *
      * 
      * The set of labels that must be defined to identify a particular
      * channel of the corresponding type. Each label includes a
@@ -1539,8 +1687,7 @@ public Builder setLabels(
      *
      * repeated .google.api.LabelDescriptor labels = 4;
      */
-    public Builder setLabels(
-        int index, com.google.api.LabelDescriptor.Builder builderForValue) {
+    public Builder setLabels(int index, com.google.api.LabelDescriptor.Builder builderForValue) {
       if (labelsBuilder_ == null) {
         ensureLabelsIsMutable();
         labels_.set(index, builderForValue.build());
@@ -1551,6 +1698,8 @@ public Builder setLabels(
       return this;
     }
     /**
+     *
+     *
      * 
      * The set of labels that must be defined to identify a particular
      * channel of the corresponding type. Each label includes a
@@ -1573,6 +1722,8 @@ public Builder addLabels(com.google.api.LabelDescriptor value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The set of labels that must be defined to identify a particular
      * channel of the corresponding type. Each label includes a
@@ -1581,8 +1732,7 @@ public Builder addLabels(com.google.api.LabelDescriptor value) {
      *
      * repeated .google.api.LabelDescriptor labels = 4;
      */
-    public Builder addLabels(
-        int index, com.google.api.LabelDescriptor value) {
+    public Builder addLabels(int index, com.google.api.LabelDescriptor value) {
       if (labelsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1596,6 +1746,8 @@ public Builder addLabels(
       return this;
     }
     /**
+     *
+     *
      * 
      * The set of labels that must be defined to identify a particular
      * channel of the corresponding type. Each label includes a
@@ -1604,8 +1756,7 @@ public Builder addLabels(
      *
      * repeated .google.api.LabelDescriptor labels = 4;
      */
-    public Builder addLabels(
-        com.google.api.LabelDescriptor.Builder builderForValue) {
+    public Builder addLabels(com.google.api.LabelDescriptor.Builder builderForValue) {
       if (labelsBuilder_ == null) {
         ensureLabelsIsMutable();
         labels_.add(builderForValue.build());
@@ -1616,6 +1767,8 @@ public Builder addLabels(
       return this;
     }
     /**
+     *
+     *
      * 
      * The set of labels that must be defined to identify a particular
      * channel of the corresponding type. Each label includes a
@@ -1624,8 +1777,7 @@ public Builder addLabels(
      *
      * repeated .google.api.LabelDescriptor labels = 4;
      */
-    public Builder addLabels(
-        int index, com.google.api.LabelDescriptor.Builder builderForValue) {
+    public Builder addLabels(int index, com.google.api.LabelDescriptor.Builder builderForValue) {
       if (labelsBuilder_ == null) {
         ensureLabelsIsMutable();
         labels_.add(index, builderForValue.build());
@@ -1636,6 +1788,8 @@ public Builder addLabels(
       return this;
     }
     /**
+     *
+     *
      * 
      * The set of labels that must be defined to identify a particular
      * channel of the corresponding type. Each label includes a
@@ -1648,8 +1802,7 @@ public Builder addAllLabels(
         java.lang.Iterable values) {
       if (labelsBuilder_ == null) {
         ensureLabelsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, labels_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, labels_);
         onChanged();
       } else {
         labelsBuilder_.addAllMessages(values);
@@ -1657,6 +1810,8 @@ public Builder addAllLabels(
       return this;
     }
     /**
+     *
+     *
      * 
      * The set of labels that must be defined to identify a particular
      * channel of the corresponding type. Each label includes a
@@ -1676,6 +1831,8 @@ public Builder clearLabels() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The set of labels that must be defined to identify a particular
      * channel of the corresponding type. Each label includes a
@@ -1695,6 +1852,8 @@ public Builder removeLabels(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The set of labels that must be defined to identify a particular
      * channel of the corresponding type. Each label includes a
@@ -1703,11 +1862,12 @@ public Builder removeLabels(int index) {
      *
      * repeated .google.api.LabelDescriptor labels = 4;
      */
-    public com.google.api.LabelDescriptor.Builder getLabelsBuilder(
-        int index) {
+    public com.google.api.LabelDescriptor.Builder getLabelsBuilder(int index) {
       return getLabelsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The set of labels that must be defined to identify a particular
      * channel of the corresponding type. Each label includes a
@@ -1716,14 +1876,16 @@ public com.google.api.LabelDescriptor.Builder getLabelsBuilder(
      *
      * repeated .google.api.LabelDescriptor labels = 4;
      */
-    public com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(
-        int index) {
+    public com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(int index) {
       if (labelsBuilder_ == null) {
-        return labels_.get(index);  } else {
+        return labels_.get(index);
+      } else {
         return labelsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The set of labels that must be defined to identify a particular
      * channel of the corresponding type. Each label includes a
@@ -1732,8 +1894,8 @@ public com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(
      *
      * repeated .google.api.LabelDescriptor labels = 4;
      */
-    public java.util.List 
-         getLabelsOrBuilderList() {
+    public java.util.List
+        getLabelsOrBuilderList() {
       if (labelsBuilder_ != null) {
         return labelsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1741,6 +1903,8 @@ public com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The set of labels that must be defined to identify a particular
      * channel of the corresponding type. Each label includes a
@@ -1750,10 +1914,12 @@ public com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(
      * repeated .google.api.LabelDescriptor labels = 4;
      */
     public com.google.api.LabelDescriptor.Builder addLabelsBuilder() {
-      return getLabelsFieldBuilder().addBuilder(
-          com.google.api.LabelDescriptor.getDefaultInstance());
+      return getLabelsFieldBuilder()
+          .addBuilder(com.google.api.LabelDescriptor.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The set of labels that must be defined to identify a particular
      * channel of the corresponding type. Each label includes a
@@ -1762,12 +1928,13 @@ public com.google.api.LabelDescriptor.Builder addLabelsBuilder() {
      *
      * repeated .google.api.LabelDescriptor labels = 4;
      */
-    public com.google.api.LabelDescriptor.Builder addLabelsBuilder(
-        int index) {
-      return getLabelsFieldBuilder().addBuilder(
-          index, com.google.api.LabelDescriptor.getDefaultInstance());
+    public com.google.api.LabelDescriptor.Builder addLabelsBuilder(int index) {
+      return getLabelsFieldBuilder()
+          .addBuilder(index, com.google.api.LabelDescriptor.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The set of labels that must be defined to identify a particular
      * channel of the corresponding type. Each label includes a
@@ -1776,27 +1943,29 @@ public com.google.api.LabelDescriptor.Builder addLabelsBuilder(
      *
      * repeated .google.api.LabelDescriptor labels = 4;
      */
-    public java.util.List 
-         getLabelsBuilderList() {
+    public java.util.List getLabelsBuilderList() {
       return getLabelsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.api.LabelDescriptor, com.google.api.LabelDescriptor.Builder, com.google.api.LabelDescriptorOrBuilder> 
+            com.google.api.LabelDescriptor,
+            com.google.api.LabelDescriptor.Builder,
+            com.google.api.LabelDescriptorOrBuilder>
         getLabelsFieldBuilder() {
       if (labelsBuilder_ == null) {
-        labelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.api.LabelDescriptor, com.google.api.LabelDescriptor.Builder, com.google.api.LabelDescriptorOrBuilder>(
-                labels_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        labelsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.api.LabelDescriptor,
+                com.google.api.LabelDescriptor.Builder,
+                com.google.api.LabelDescriptorOrBuilder>(
+                labels_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         labels_ = null;
       }
       return labelsBuilder_;
     }
 
-    private java.util.List supportedTiers_ =
-      java.util.Collections.emptyList();
+    private java.util.List supportedTiers_ = java.util.Collections.emptyList();
+
     private void ensureSupportedTiersIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         supportedTiers_ = new java.util.ArrayList(supportedTiers_);
@@ -1804,56 +1973,76 @@ private void ensureSupportedTiersIsMutable() {
       }
     }
     /**
+     *
+     *
      * 
      * The tiers that support this notification channel; the project service tier
      * must be one of the supported_tiers.
      * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * + * * @return A list containing the supportedTiers. */ - @java.lang.Deprecated public java.util.List getSupportedTiersList() { + @java.lang.Deprecated + public java.util.List getSupportedTiersList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.monitoring.v3.ServiceTier>(supportedTiers_, supportedTiers_converter_); + java.lang.Integer, com.google.monitoring.v3.ServiceTier>( + supportedTiers_, supportedTiers_converter_); } /** + * + * *
      * The tiers that support this notification channel; the project service tier
      * must be one of the supported_tiers.
      * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * + * * @return The count of supportedTiers. */ - @java.lang.Deprecated public int getSupportedTiersCount() { + @java.lang.Deprecated + public int getSupportedTiersCount() { return supportedTiers_.size(); } /** + * + * *
      * The tiers that support this notification channel; the project service tier
      * must be one of the supported_tiers.
      * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * + * * @param index The index of the element to return. * @return The supportedTiers at the given index. */ - @java.lang.Deprecated public com.google.monitoring.v3.ServiceTier getSupportedTiers(int index) { + @java.lang.Deprecated + public com.google.monitoring.v3.ServiceTier getSupportedTiers(int index) { return supportedTiers_converter_.convert(supportedTiers_.get(index)); } /** + * + * *
      * The tiers that support this notification channel; the project service tier
      * must be one of the supported_tiers.
      * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * + * * @param index The index to set the value at. * @param value The supportedTiers to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setSupportedTiers( - int index, com.google.monitoring.v3.ServiceTier value) { + @java.lang.Deprecated + public Builder setSupportedTiers(int index, com.google.monitoring.v3.ServiceTier value) { if (value == null) { throw new NullPointerException(); } @@ -1863,16 +2052,21 @@ private void ensureSupportedTiersIsMutable() { return this; } /** + * + * *
      * The tiers that support this notification channel; the project service tier
      * must be one of the supported_tiers.
      * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * + * * @param value The supportedTiers to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addSupportedTiers(com.google.monitoring.v3.ServiceTier value) { + @java.lang.Deprecated + public Builder addSupportedTiers(com.google.monitoring.v3.ServiceTier value) { if (value == null) { throw new NullPointerException(); } @@ -1882,16 +2076,21 @@ private void ensureSupportedTiersIsMutable() { return this; } /** + * + * *
      * The tiers that support this notification channel; the project service tier
      * must be one of the supported_tiers.
      * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * + * * @param values The supportedTiers to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addAllSupportedTiers( + @java.lang.Deprecated + public Builder addAllSupportedTiers( java.lang.Iterable values) { ensureSupportedTiersIsMutable(); for (com.google.monitoring.v3.ServiceTier value : values) { @@ -1901,92 +2100,119 @@ private void ensureSupportedTiersIsMutable() { return this; } /** + * + * *
      * The tiers that support this notification channel; the project service tier
      * must be one of the supported_tiers.
      * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * + * * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearSupportedTiers() { + @java.lang.Deprecated + public Builder clearSupportedTiers() { supportedTiers_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** + * + * *
      * The tiers that support this notification channel; the project service tier
      * must be one of the supported_tiers.
      * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * + * * @return A list containing the enum numeric values on the wire for supportedTiers. */ - @java.lang.Deprecated public java.util.List - getSupportedTiersValueList() { + @java.lang.Deprecated + public java.util.List getSupportedTiersValueList() { return java.util.Collections.unmodifiableList(supportedTiers_); } /** + * + * *
      * The tiers that support this notification channel; the project service tier
      * must be one of the supported_tiers.
      * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedTiers at the given index. */ - @java.lang.Deprecated public int getSupportedTiersValue(int index) { + @java.lang.Deprecated + public int getSupportedTiersValue(int index) { return supportedTiers_.get(index); } /** + * + * *
      * The tiers that support this notification channel; the project service tier
      * must be one of the supported_tiers.
      * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedTiers at the given index. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setSupportedTiersValue( - int index, int value) { + @java.lang.Deprecated + public Builder setSupportedTiersValue(int index, int value) { ensureSupportedTiersIsMutable(); supportedTiers_.set(index, value); onChanged(); return this; } /** + * + * *
      * The tiers that support this notification channel; the project service tier
      * must be one of the supported_tiers.
      * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * + * * @param value The enum numeric value on the wire for supportedTiers to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addSupportedTiersValue(int value) { + @java.lang.Deprecated + public Builder addSupportedTiersValue(int value) { ensureSupportedTiersIsMutable(); supportedTiers_.add(value); onChanged(); return this; } /** + * + * *
      * The tiers that support this notification channel; the project service tier
      * must be one of the supported_tiers.
      * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * + * * @param values The enum numeric values on the wire for supportedTiers to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addAllSupportedTiersValue( - java.lang.Iterable values) { + @java.lang.Deprecated + public Builder addAllSupportedTiersValue(java.lang.Iterable values) { ensureSupportedTiersIsMutable(); for (int value : values) { supportedTiers_.add(value); @@ -1997,37 +2223,47 @@ private void ensureSupportedTiersIsMutable() { private int launchStage_ = 0; /** + * + * *
      * The product launch stage for channels of this type.
      * 
* * .google.api.LaunchStage launch_stage = 7; + * * @return The enum numeric value on the wire for launchStage. */ - @java.lang.Override public int getLaunchStageValue() { + @java.lang.Override + public int getLaunchStageValue() { return launchStage_; } /** + * + * *
      * The product launch stage for channels of this type.
      * 
* * .google.api.LaunchStage launch_stage = 7; + * * @param value The enum numeric value on the wire for launchStage to set. * @return This builder for chaining. */ public Builder setLaunchStageValue(int value) { - + launchStage_ = value; onChanged(); return this; } /** + * + * *
      * The product launch stage for channels of this type.
      * 
* * .google.api.LaunchStage launch_stage = 7; + * * @return The launchStage. */ @java.lang.Override @@ -2037,11 +2273,14 @@ public com.google.api.LaunchStage getLaunchStage() { return result == null ? com.google.api.LaunchStage.UNRECOGNIZED : result; } /** + * + * *
      * The product launch stage for channels of this type.
      * 
* * .google.api.LaunchStage launch_stage = 7; + * * @param value The launchStage to set. * @return This builder for chaining. */ @@ -2049,28 +2288,31 @@ public Builder setLaunchStage(com.google.api.LaunchStage value) { if (value == null) { throw new NullPointerException(); } - + launchStage_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The product launch stage for channels of this type.
      * 
* * .google.api.LaunchStage launch_stage = 7; + * * @return This builder for chaining. */ public Builder clearLaunchStage() { - + launchStage_ = 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); } @@ -2080,12 +2322,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.NotificationChannelDescriptor) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.NotificationChannelDescriptor) private static final com.google.monitoring.v3.NotificationChannelDescriptor DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.NotificationChannelDescriptor(); } @@ -2094,16 +2336,16 @@ public static com.google.monitoring.v3.NotificationChannelDescriptor getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NotificationChannelDescriptor parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NotificationChannelDescriptor(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NotificationChannelDescriptor parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NotificationChannelDescriptor(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2118,6 +2360,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.monitoring.v3.NotificationChannelDescriptor getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptorName.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptorName.java similarity index 100% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptorName.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptorName.java diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptorOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptorOrBuilder.java similarity index 77% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptorOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptorOrBuilder.java index 3adc9be6..40f0655e 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptorOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelDescriptorOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/notification.proto package com.google.monitoring.v3; -public interface NotificationChannelDescriptorOrBuilder extends +public interface NotificationChannelDescriptorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.NotificationChannelDescriptor) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The full REST resource name for this descriptor. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[TYPE]
@@ -15,10 +33,13 @@ public interface NotificationChannelDescriptorOrBuilder extends
    * 
* * string name = 6; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The full REST resource name for this descriptor. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[TYPE]
@@ -26,12 +47,14 @@ public interface NotificationChannelDescriptorOrBuilder extends
    * 
* * string name = 6; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The type of notification channel, such as "email" and "sms". To view the
    * full list of channels, see
@@ -41,10 +64,13 @@ public interface NotificationChannelDescriptorOrBuilder extends
    * 
* * string type = 1; + * * @return The type. */ java.lang.String getType(); /** + * + * *
    * The type of notification channel, such as "email" and "sms". To view the
    * full list of channels, see
@@ -54,34 +80,41 @@ public interface NotificationChannelDescriptorOrBuilder extends
    * 
* * string type = 1; + * * @return The bytes for type. */ - com.google.protobuf.ByteString - getTypeBytes(); + com.google.protobuf.ByteString getTypeBytes(); /** + * + * *
    * A human-readable name for the notification channel type.  This
    * form of the name is suitable for a user interface.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * A human-readable name for the notification channel type.  This
    * form of the name is suitable for a user interface.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * A human-readable description of the notification channel
    * type. The description may include a description of the properties
@@ -89,10 +122,13 @@ public interface NotificationChannelDescriptorOrBuilder extends
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * A human-readable description of the notification channel
    * type. The description may include a description of the properties
@@ -100,12 +136,14 @@ public interface NotificationChannelDescriptorOrBuilder extends
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * The set of labels that must be defined to identify a particular
    * channel of the corresponding type. Each label includes a
@@ -114,9 +152,10 @@ public interface NotificationChannelDescriptorOrBuilder extends
    *
    * repeated .google.api.LabelDescriptor labels = 4;
    */
-  java.util.List 
-      getLabelsList();
+  java.util.List getLabelsList();
   /**
+   *
+   *
    * 
    * The set of labels that must be defined to identify a particular
    * channel of the corresponding type. Each label includes a
@@ -127,6 +166,8 @@ public interface NotificationChannelDescriptorOrBuilder extends
    */
   com.google.api.LabelDescriptor getLabels(int index);
   /**
+   *
+   *
    * 
    * The set of labels that must be defined to identify a particular
    * channel of the corresponding type. Each label includes a
@@ -137,6 +178,8 @@ public interface NotificationChannelDescriptorOrBuilder extends
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * The set of labels that must be defined to identify a particular
    * channel of the corresponding type. Each label includes a
@@ -145,9 +188,10 @@ public interface NotificationChannelDescriptorOrBuilder extends
    *
    * repeated .google.api.LabelDescriptor labels = 4;
    */
-  java.util.List 
-      getLabelsOrBuilderList();
+  java.util.List getLabelsOrBuilderList();
   /**
+   *
+   *
    * 
    * The set of labels that must be defined to identify a particular
    * channel of the corresponding type. Each label includes a
@@ -156,78 +200,107 @@ public interface NotificationChannelDescriptorOrBuilder extends
    *
    * repeated .google.api.LabelDescriptor labels = 4;
    */
-  com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(
-      int index);
+  com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * The tiers that support this notification channel; the project service tier
    * must be one of the supported_tiers.
    * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * + * * @return A list containing the supportedTiers. */ - @java.lang.Deprecated java.util.List getSupportedTiersList(); + @java.lang.Deprecated + java.util.List getSupportedTiersList(); /** + * + * *
    * The tiers that support this notification channel; the project service tier
    * must be one of the supported_tiers.
    * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * + * * @return The count of supportedTiers. */ - @java.lang.Deprecated int getSupportedTiersCount(); + @java.lang.Deprecated + int getSupportedTiersCount(); /** + * + * *
    * The tiers that support this notification channel; the project service tier
    * must be one of the supported_tiers.
    * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * + * * @param index The index of the element to return. * @return The supportedTiers at the given index. */ - @java.lang.Deprecated com.google.monitoring.v3.ServiceTier getSupportedTiers(int index); + @java.lang.Deprecated + com.google.monitoring.v3.ServiceTier getSupportedTiers(int index); /** + * + * *
    * The tiers that support this notification channel; the project service tier
    * must be one of the supported_tiers.
    * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * + * * @return A list containing the enum numeric values on the wire for supportedTiers. */ - @java.lang.Deprecated java.util.List - getSupportedTiersValueList(); + @java.lang.Deprecated + java.util.List getSupportedTiersValueList(); /** + * + * *
    * The tiers that support this notification channel; the project service tier
    * must be one of the supported_tiers.
    * 
* - * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedTiers at the given index. */ - @java.lang.Deprecated int getSupportedTiersValue(int index); + @java.lang.Deprecated + int getSupportedTiersValue(int index); /** + * + * *
    * The product launch stage for channels of this type.
    * 
* * .google.api.LaunchStage launch_stage = 7; + * * @return The enum numeric value on the wire for launchStage. */ int getLaunchStageValue(); /** + * + * *
    * The product launch stage for channels of this type.
    * 
* * .google.api.LaunchStage launch_stage = 7; + * * @return The launchStage. */ com.google.api.LaunchStage getLaunchStage(); diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelName.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelName.java similarity index 100% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelName.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelName.java diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelOrBuilder.java similarity index 87% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelOrBuilder.java index e6cb7690..c7012842 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationChannelOrBuilder.java @@ -1,35 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/notification.proto package com.google.monitoring.v3; -public interface NotificationChannelOrBuilder extends +public interface NotificationChannelOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.NotificationChannel) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The type of the notification channel. This field matches the
    * value of the [NotificationChannelDescriptor.type][google.monitoring.v3.NotificationChannelDescriptor.type] field.
    * 
* * string type = 1; + * * @return The type. */ java.lang.String getType(); /** + * + * *
    * The type of the notification channel. This field matches the
    * value of the [NotificationChannelDescriptor.type][google.monitoring.v3.NotificationChannelDescriptor.type] field.
    * 
* * string type = 1; + * * @return The bytes for type. */ - com.google.protobuf.ByteString - getTypeBytes(); + com.google.protobuf.ByteString getTypeBytes(); /** + * + * *
    * The full REST resource name for this channel. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
@@ -37,10 +60,13 @@ public interface NotificationChannelOrBuilder extends
    * 
* * string name = 6; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The full REST resource name for this channel. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
@@ -48,12 +74,14 @@ public interface NotificationChannelOrBuilder extends
    * 
* * string name = 6; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * An optional human-readable name for this notification channel. It is
    * recommended that you specify a non-empty and unique name in order to
@@ -62,10 +90,13 @@ public interface NotificationChannelOrBuilder extends
    * 
* * string display_name = 3; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * An optional human-readable name for this notification channel. It is
    * recommended that you specify a non-empty and unique name in order to
@@ -74,12 +105,14 @@ public interface NotificationChannelOrBuilder extends
    * 
* * string display_name = 3; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * An optional human-readable description of this notification channel. This
    * description may provide additional details, beyond the display
@@ -87,10 +120,13 @@ public interface NotificationChannelOrBuilder extends
    * 
* * string description = 4; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * An optional human-readable description of this notification channel. This
    * description may provide additional details, beyond the display
@@ -98,12 +134,14 @@ public interface NotificationChannelOrBuilder extends
    * 
* * string description = 4; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Configuration fields that define the channel and its behavior. The
    * permissible and required labels are specified in the
@@ -115,6 +153,8 @@ public interface NotificationChannelOrBuilder extends
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * Configuration fields that define the channel and its behavior. The
    * permissible and required labels are specified in the
@@ -124,15 +164,13 @@ public interface NotificationChannelOrBuilder extends
    *
    * map<string, string> labels = 5;
    */
-  boolean containsLabels(
-      java.lang.String key);
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  boolean containsLabels(java.lang.String key);
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getLabels();
+  java.util.Map getLabels();
   /**
+   *
+   *
    * 
    * Configuration fields that define the channel and its behavior. The
    * permissible and required labels are specified in the
@@ -142,9 +180,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 5;
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * Configuration fields that define the channel and its behavior. The
    * permissible and required labels are specified in the
@@ -154,11 +193,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 5;
    */
-
-  java.lang.String getLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue);
+  java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Configuration fields that define the channel and its behavior. The
    * permissible and required labels are specified in the
@@ -168,11 +206,11 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 5;
    */
-
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * User-supplied key/value data that does not need to conform to
    * the corresponding `NotificationChannelDescriptor`'s schema, unlike
@@ -188,6 +226,8 @@ java.lang.String getLabelsOrThrow(
    */
   int getUserLabelsCount();
   /**
+   *
+   *
    * 
    * User-supplied key/value data that does not need to conform to
    * the corresponding `NotificationChannelDescriptor`'s schema, unlike
@@ -201,15 +241,13 @@ java.lang.String getLabelsOrThrow(
    *
    * map<string, string> user_labels = 8;
    */
-  boolean containsUserLabels(
-      java.lang.String key);
-  /**
-   * Use {@link #getUserLabelsMap()} instead.
-   */
+  boolean containsUserLabels(java.lang.String key);
+  /** Use {@link #getUserLabelsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getUserLabels();
+  java.util.Map getUserLabels();
   /**
+   *
+   *
    * 
    * User-supplied key/value data that does not need to conform to
    * the corresponding `NotificationChannelDescriptor`'s schema, unlike
@@ -223,9 +261,10 @@ boolean containsUserLabels(
    *
    * map<string, string> user_labels = 8;
    */
-  java.util.Map
-  getUserLabelsMap();
+  java.util.Map getUserLabelsMap();
   /**
+   *
+   *
    * 
    * User-supplied key/value data that does not need to conform to
    * the corresponding `NotificationChannelDescriptor`'s schema, unlike
@@ -239,11 +278,10 @@ boolean containsUserLabels(
    *
    * map<string, string> user_labels = 8;
    */
-
-  java.lang.String getUserLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue);
+  java.lang.String getUserLabelsOrDefault(java.lang.String key, java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * User-supplied key/value data that does not need to conform to
    * the corresponding `NotificationChannelDescriptor`'s schema, unlike
@@ -257,11 +295,11 @@ java.lang.String getUserLabelsOrDefault(
    *
    * map<string, string> user_labels = 8;
    */
-
-  java.lang.String getUserLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getUserLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Indicates whether this channel has been verified or not. On a
    * [`ListNotificationChannels`][google.monitoring.v3.NotificationChannelService.ListNotificationChannels]
@@ -281,11 +319,15 @@ java.lang.String getUserLabelsOrThrow(
    * [`VerifyNotificationChannel`][google.monitoring.v3.NotificationChannelService.VerifyNotificationChannel].
    * 
* - * .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9; + * .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9; + * + * * @return The enum numeric value on the wire for verificationStatus. */ int getVerificationStatusValue(); /** + * + * *
    * Indicates whether this channel has been verified or not. On a
    * [`ListNotificationChannels`][google.monitoring.v3.NotificationChannelService.ListNotificationChannels]
@@ -305,12 +347,16 @@ java.lang.String getUserLabelsOrThrow(
    * [`VerifyNotificationChannel`][google.monitoring.v3.NotificationChannelService.VerifyNotificationChannel].
    * 
* - * .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9; + * .google.monitoring.v3.NotificationChannel.VerificationStatus verification_status = 9; + * + * * @return The verificationStatus. */ com.google.monitoring.v3.NotificationChannel.VerificationStatus getVerificationStatus(); /** + * + * *
    * Whether notifications are forwarded to the described channel. This makes
    * it possible to disable delivery of notifications to a particular channel
@@ -321,10 +367,13 @@ java.lang.String getUserLabelsOrThrow(
    * 
* * .google.protobuf.BoolValue enabled = 11; + * * @return Whether the enabled field is set. */ boolean hasEnabled(); /** + * + * *
    * Whether notifications are forwarded to the described channel. This makes
    * it possible to disable delivery of notifications to a particular channel
@@ -335,10 +384,13 @@ java.lang.String getUserLabelsOrThrow(
    * 
* * .google.protobuf.BoolValue enabled = 11; + * * @return The enabled. */ com.google.protobuf.BoolValue getEnabled(); /** + * + * *
    * Whether notifications are forwarded to the described channel. This makes
    * it possible to disable delivery of notifications to a particular channel
@@ -353,24 +405,32 @@ java.lang.String getUserLabelsOrThrow(
   com.google.protobuf.BoolValueOrBuilder getEnabledOrBuilder();
 
   /**
+   *
+   *
    * 
    * Record of the creation of this channel.
    * 
* * .google.monitoring.v3.MutationRecord creation_record = 12; + * * @return Whether the creationRecord field is set. */ boolean hasCreationRecord(); /** + * + * *
    * Record of the creation of this channel.
    * 
* * .google.monitoring.v3.MutationRecord creation_record = 12; + * * @return The creationRecord. */ com.google.monitoring.v3.MutationRecord getCreationRecord(); /** + * + * *
    * Record of the creation of this channel.
    * 
@@ -380,15 +440,18 @@ java.lang.String getUserLabelsOrThrow( com.google.monitoring.v3.MutationRecordOrBuilder getCreationRecordOrBuilder(); /** + * + * *
    * Records of the modification of this channel.
    * 
* * repeated .google.monitoring.v3.MutationRecord mutation_records = 13; */ - java.util.List - getMutationRecordsList(); + java.util.List getMutationRecordsList(); /** + * + * *
    * Records of the modification of this channel.
    * 
@@ -397,6 +460,8 @@ java.lang.String getUserLabelsOrThrow( */ com.google.monitoring.v3.MutationRecord getMutationRecords(int index); /** + * + * *
    * Records of the modification of this channel.
    * 
@@ -405,21 +470,24 @@ java.lang.String getUserLabelsOrThrow( */ int getMutationRecordsCount(); /** + * + * *
    * Records of the modification of this channel.
    * 
* * repeated .google.monitoring.v3.MutationRecord mutation_records = 13; */ - java.util.List + java.util.List getMutationRecordsOrBuilderList(); /** + * + * *
    * Records of the modification of this channel.
    * 
* * repeated .google.monitoring.v3.MutationRecord mutation_records = 13; */ - com.google.monitoring.v3.MutationRecordOrBuilder getMutationRecordsOrBuilder( - int index); + com.google.monitoring.v3.MutationRecordOrBuilder getMutationRecordsOrBuilder(int index); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationProto.java new file mode 100644 index 00000000..20fca624 --- /dev/null +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationProto.java @@ -0,0 +1,178 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/notification.proto + +package com.google.monitoring.v3; + +public final class NotificationProto { + private NotificationProto() {} + + 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_monitoring_v3_NotificationChannelDescriptor_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_NotificationChannelDescriptor_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_NotificationChannel_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_NotificationChannel_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_NotificationChannel_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_NotificationChannel_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_NotificationChannel_UserLabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_NotificationChannel_UserLabelsEntry_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/monitoring/v3/notification.prot" + + "o\022\024google.monitoring.v3\032\026google/api/labe" + + "l.proto\032\035google/api/launch_stage.proto\032\031" + + "google/api/resource.proto\032!google/monito" + + "ring/v3/common.proto\032*google/monitoring/" + + "v3/mutation_record.proto\032\036google/protobu" + + "f/wrappers.proto\"\245\004\n\035NotificationChannel" + + "Descriptor\022\014\n\004name\030\006 \001(\t\022\014\n\004type\030\001 \001(\t\022\024" + + "\n\014display_name\030\002 \001(\t\022\023\n\013description\030\003 \001(" + + "\t\022+\n\006labels\030\004 \003(\0132\033.google.api.LabelDesc" + + "riptor\022>\n\017supported_tiers\030\005 \003(\0162!.google" + + ".monitoring.v3.ServiceTierB\002\030\001\022-\n\014launch" + + "_stage\030\007 \001(\0162\027.google.api.LaunchStage:\240\002" + + "\352A\234\002\n7monitoring.googleapis.com/Notifica" + + "tionChannelDescriptor\022Fprojects/{project" + + "}/notificationChannelDescriptors/{channe" + + "l_descriptor}\022Porganizations/{organizati" + + "on}/notificationChannelDescriptors/{chan" + + "nel_descriptor}\022Dfolders/{folder}/notifi" + + "cationChannelDescriptors/{channel_descri" + + "ptor}\022\001*\"\266\007\n\023NotificationChannel\022\014\n\004type" + + "\030\001 \001(\t\022\014\n\004name\030\006 \001(\t\022\024\n\014display_name\030\003 \001" + + "(\t\022\023\n\013description\030\004 \001(\t\022E\n\006labels\030\005 \003(\0132" + + "5.google.monitoring.v3.NotificationChann" + + "el.LabelsEntry\022N\n\013user_labels\030\010 \003(\01329.go" + + "ogle.monitoring.v3.NotificationChannel.U" + + "serLabelsEntry\022Y\n\023verification_status\030\t " + + "\001(\0162<.google.monitoring.v3.NotificationC" + + "hannel.VerificationStatus\022+\n\007enabled\030\013 \001" + + "(\0132\032.google.protobuf.BoolValue\022=\n\017creati" + + "on_record\030\014 \001(\0132$.google.monitoring.v3.M" + + "utationRecord\022>\n\020mutation_records\030\r \003(\0132" + + "$.google.monitoring.v3.MutationRecord\032-\n" + + "\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t" + + ":\0028\001\0321\n\017UserLabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" + + "value\030\002 \001(\t:\0028\001\"W\n\022VerificationStatus\022#\n" + + "\037VERIFICATION_STATUS_UNSPECIFIED\020\000\022\016\n\nUN" + + "VERIFIED\020\001\022\014\n\010VERIFIED\020\002:\376\001\352A\372\001\n-monitor" + + "ing.googleapis.com/NotificationChannel\022>" + + "projects/{project}/notificationChannels/" + + "{notification_channel}\022Horganizations/{o" + + "rganization}/notificationChannels/{notif" + + "ication_channel}\022google.golang.org/genproto/" + + "googleapis/monitoring/v3;monitoring\252\002\032Go" + + "ogle.Cloud.Monitoring.V3\312\002\032Google\\Cloud\\" + + "Monitoring\\V3\352\002\035Google::Cloud::Monitorin" + + "g::V3b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.LabelProto.getDescriptor(), + com.google.api.LaunchStageProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.monitoring.v3.CommonProto.getDescriptor(), + com.google.monitoring.v3.MutationRecordProto.getDescriptor(), + com.google.protobuf.WrappersProto.getDescriptor(), + }); + internal_static_google_monitoring_v3_NotificationChannelDescriptor_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_monitoring_v3_NotificationChannelDescriptor_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_NotificationChannelDescriptor_descriptor, + new java.lang.String[] { + "Name", + "Type", + "DisplayName", + "Description", + "Labels", + "SupportedTiers", + "LaunchStage", + }); + internal_static_google_monitoring_v3_NotificationChannel_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_monitoring_v3_NotificationChannel_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_NotificationChannel_descriptor, + new java.lang.String[] { + "Type", + "Name", + "DisplayName", + "Description", + "Labels", + "UserLabels", + "VerificationStatus", + "Enabled", + "CreationRecord", + "MutationRecords", + }); + internal_static_google_monitoring_v3_NotificationChannel_LabelsEntry_descriptor = + internal_static_google_monitoring_v3_NotificationChannel_descriptor.getNestedTypes().get(0); + internal_static_google_monitoring_v3_NotificationChannel_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_NotificationChannel_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_monitoring_v3_NotificationChannel_UserLabelsEntry_descriptor = + internal_static_google_monitoring_v3_NotificationChannel_descriptor.getNestedTypes().get(1); + internal_static_google_monitoring_v3_NotificationChannel_UserLabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_NotificationChannel_UserLabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.LabelProto.getDescriptor(); + com.google.api.LaunchStageProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.monitoring.v3.CommonProto.getDescriptor(); + com.google.monitoring.v3.MutationRecordProto.getDescriptor(); + com.google.protobuf.WrappersProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationServiceProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationServiceProto.java new file mode 100644 index 00000000..87511c52 --- /dev/null +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/NotificationServiceProto.java @@ -0,0 +1,354 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/notification_service.proto + +package com.google.monitoring.v3; + +public final class NotificationServiceProto { + private NotificationServiceProto() {} + + 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_monitoring_v3_ListNotificationChannelDescriptorsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_GetNotificationChannelDescriptorRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_GetNotificationChannelDescriptorRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_CreateNotificationChannelRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_CreateNotificationChannelRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_ListNotificationChannelsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_ListNotificationChannelsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_ListNotificationChannelsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_ListNotificationChannelsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_GetNotificationChannelRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_GetNotificationChannelRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_UpdateNotificationChannelRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_UpdateNotificationChannelRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_DeleteNotificationChannelRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_DeleteNotificationChannelRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_SendNotificationChannelVerificationCodeRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_SendNotificationChannelVerificationCodeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_monitoring_v3_VerifyNotificationChannelRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_VerifyNotificationChannelRequest_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/monitoring/v3/notification_serv" + + "ice.proto\022\024google.monitoring.v3\032\034google/" + + "api/annotations.proto\032\027google/api/client" + + ".proto\032\037google/api/field_behavior.proto\032" + + "\031google/api/resource.proto\032\'google/monit" + + "oring/v3/notification.proto\032\033google/prot" + + "obuf/empty.proto\032 google/protobuf/field_" + + "mask.proto\032\034google/protobuf/struct.proto" + + "\032\037google/protobuf/timestamp.proto\"\241\001\n)Li" + + "stNotificationChannelDescriptorsRequest\022" + + "M\n\004name\030\004 \001(\tB?\340A\002\372A9\0227monitoring.google" + + "apis.com/NotificationChannelDescriptor\022\021" + + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\227\001" + + "\n*ListNotificationChannelDescriptorsResp" + + "onse\022P\n\023channel_descriptors\030\001 \003(\01323.goog" + + "le.monitoring.v3.NotificationChannelDesc" + + "riptor\022\027\n\017next_page_token\030\002 \001(\t\"x\n\'GetNo" + + "tificationChannelDescriptorRequest\022M\n\004na" + + "me\030\003 \001(\tB?\340A\002\372A9\n7monitoring.googleapis." + + "com/NotificationChannelDescriptor\"\265\001\n Cr" + + "eateNotificationChannelRequest\022C\n\004name\030\003" + + " \001(\tB5\340A\002\372A/\022-monitoring.googleapis.com/" + + "NotificationChannel\022L\n\024notification_chan" + + "nel\030\002 \001(\0132).google.monitoring.v3.Notific" + + "ationChannelB\003\340A\002\"\257\001\n\037ListNotificationCh" + + "annelsRequest\022C\n\004name\030\005 \001(\tB5\340A\002\372A/\022-mon" + + "itoring.googleapis.com/NotificationChann" + + "el\022\016\n\006filter\030\006 \001(\t\022\020\n\010order_by\030\007 \001(\t\022\021\n\t" + + "page_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"\231\001\n " + + "ListNotificationChannelsResponse\022H\n\025noti" + + "fication_channels\030\003 \003(\0132).google.monitor" + + "ing.v3.NotificationChannel\022\027\n\017next_page_" + + "token\030\002 \001(\t\022\022\n\ntotal_size\030\004 \001(\005\"d\n\035GetNo" + + "tificationChannelRequest\022C\n\004name\030\003 \001(\tB5" + + "\340A\002\372A/\n-monitoring.googleapis.com/Notifi" + + "cationChannel\"\241\001\n UpdateNotificationChan" + + "nelRequest\022/\n\013update_mask\030\002 \001(\0132\032.google" + + ".protobuf.FieldMask\022L\n\024notification_chan" + + "nel\030\003 \001(\0132).google.monitoring.v3.Notific" + + "ationChannelB\003\340A\002\"v\n DeleteNotificationC" + + "hannelRequest\022C\n\004name\030\003 \001(\tB5\340A\002\372A/\n-mon" + + "itoring.googleapis.com/NotificationChann" + + "el\022\r\n\005force\030\005 \001(\010\"u\n.SendNotificationCha" + + "nnelVerificationCodeRequest\022C\n\004name\030\001 \001(" + + "\tB5\340A\002\372A/\n-monitoring.googleapis.com/Not" + + "ificationChannel\"\245\001\n-GetNotificationChan" + + "nelVerificationCodeRequest\022C\n\004name\030\001 \001(\t" + + "B5\340A\002\372A/\n-monitoring.googleapis.com/Noti" + + "ficationChannel\022/\n\013expire_time\030\002 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\"o\n.GetNotificat" + + "ionChannelVerificationCodeResponse\022\014\n\004co" + + "de\030\001 \001(\t\022/\n\013expire_time\030\002 \001(\0132\032.google.p" + + "rotobuf.Timestamp\"z\n VerifyNotificationC" + + "hannelRequest\022C\n\004name\030\001 \001(\tB5\340A\002\372A/\n-mon" + + "itoring.googleapis.com/NotificationChann" + + "el\022\021\n\004code\030\002 \001(\tB\003\340A\0022\352\022\n\032NotificationCh" + + "annelService\022\354\001\n\"ListNotificationChannel" + + "Descriptors\022?.google.monitoring.v3.ListN" + + "otificationChannelDescriptorsRequest\032@.g" + + "oogle.monitoring.v3.ListNotificationChan" + + "nelDescriptorsResponse\"C\202\323\344\223\0026\0224/v3/{nam" + + "e=projects/*}/notificationChannelDescrip" + + "tors\332A\004name\022\335\001\n GetNotificationChannelDe" + + "scriptor\022=.google.monitoring.v3.GetNotif" + + "icationChannelDescriptorRequest\0323.google" + + ".monitoring.v3.NotificationChannelDescri" + + "ptor\"E\202\323\344\223\0028\0226/v3/{name=projects/*/notif" + + "icationChannelDescriptors/*}\332A\004name\022\304\001\n\030" + + "ListNotificationChannels\0225.google.monito" + + "ring.v3.ListNotificationChannelsRequest\032" + + "6.google.monitoring.v3.ListNotificationC" + + "hannelsResponse\"9\202\323\344\223\002,\022*/v3/{name=proje" + + "cts/*}/notificationChannels\332A\004name\022\265\001\n\026G" + + "etNotificationChannel\0223.google.monitorin" + + "g.v3.GetNotificationChannelRequest\032).goo" + + "gle.monitoring.v3.NotificationChannel\";\202" + + "\323\344\223\002.\022,/v3/{name=projects/*/notification" + + "Channels/*}\332A\004name\022\344\001\n\031CreateNotificatio" + + "nChannel\0226.google.monitoring.v3.CreateNo" + + "tificationChannelRequest\032).google.monito" + + "ring.v3.NotificationChannel\"d\202\323\344\223\002B\"*/v3" + + "/{name=projects/*}/notificationChannels:" + + "\024notification_channel\332A\031name,notificatio" + + "n_channel\022\203\002\n\031UpdateNotificationChannel\022" + + "6.google.monitoring.v3.UpdateNotificatio" + + "nChannelRequest\032).google.monitoring.v3.N" + + "otificationChannel\"\202\001\202\323\344\223\002Y2A/v3/{notifi" + + "cation_channel.name=projects/*/notificat" + + "ionChannels/*}:\024notification_channel\332A u" + + "pdate_mask,notification_channel\022\256\001\n\031Dele" + + "teNotificationChannel\0226.google.monitorin" + + "g.v3.DeleteNotificationChannelRequest\032\026." + + "google.protobuf.Empty\"A\202\323\344\223\002.*,/v3/{name" + + "=projects/*/notificationChannels/*}\332A\nna" + + "me,force\022\334\001\n\'SendNotificationChannelVeri" + + "ficationCode\022D.google.monitoring.v3.Send" + + "NotificationChannelVerificationCodeReque" + + "st\032\026.google.protobuf.Empty\"S\202\323\344\223\002F\"A/v3/" + + "{name=projects/*/notificationChannels/*}" + + ":sendVerificationCode:\001*\332A\004name\022\207\002\n&GetN" + + "otificationChannelVerificationCode\022C.goo" + + "gle.monitoring.v3.GetNotificationChannel" + + "VerificationCodeRequest\032D.google.monitor" + + "ing.v3.GetNotificationChannelVerificatio" + + "nCodeResponse\"R\202\323\344\223\002E\"@/v3/{name=project" + + "s/*/notificationChannels/*}:getVerificat" + + "ionCode:\001*\332A\004name\022\312\001\n\031VerifyNotification" + + "Channel\0226.google.monitoring.v3.VerifyNot" + + "ificationChannelRequest\032).google.monitor" + + "ing.v3.NotificationChannel\"J\202\323\344\223\0028\"3/v3/" + + "{name=projects/*/notificationChannels/*}" + + ":verify:\001*\332A\tname,code\032\251\001\312A\031monitoring.g" + + "oogleapis.com\322A\211\001https://www.googleapis." + + "com/auth/cloud-platform,https://www.goog" + + "leapis.com/auth/monitoring,https://www.g" + + "oogleapis.com/auth/monitoring.readB\320\001\n\030c" + + "om.google.monitoring.v3B\030NotificationSer" + + "viceProtoP\001Z>google.golang.org/genproto/" + + "googleapis/monitoring/v3;monitoring\252\002\032Go" + + "ogle.Cloud.Monitoring.V3\312\002\032Google\\Cloud\\" + + "Monitoring\\V3\352\002\035Google::Cloud::Monitorin" + + "g::V3b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.monitoring.v3.NotificationProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.StructProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsRequest_descriptor, + new java.lang.String[] { + "Name", "PageSize", "PageToken", + }); + internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_ListNotificationChannelDescriptorsResponse_descriptor, + new java.lang.String[] { + "ChannelDescriptors", "NextPageToken", + }); + internal_static_google_monitoring_v3_GetNotificationChannelDescriptorRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_monitoring_v3_GetNotificationChannelDescriptorRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_GetNotificationChannelDescriptorRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_monitoring_v3_CreateNotificationChannelRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_monitoring_v3_CreateNotificationChannelRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_CreateNotificationChannelRequest_descriptor, + new java.lang.String[] { + "Name", "NotificationChannel", + }); + internal_static_google_monitoring_v3_ListNotificationChannelsRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_monitoring_v3_ListNotificationChannelsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_ListNotificationChannelsRequest_descriptor, + new java.lang.String[] { + "Name", "Filter", "OrderBy", "PageSize", "PageToken", + }); + internal_static_google_monitoring_v3_ListNotificationChannelsResponse_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_monitoring_v3_ListNotificationChannelsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_ListNotificationChannelsResponse_descriptor, + new java.lang.String[] { + "NotificationChannels", "NextPageToken", "TotalSize", + }); + internal_static_google_monitoring_v3_GetNotificationChannelRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_monitoring_v3_GetNotificationChannelRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_GetNotificationChannelRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_monitoring_v3_UpdateNotificationChannelRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_monitoring_v3_UpdateNotificationChannelRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_UpdateNotificationChannelRequest_descriptor, + new java.lang.String[] { + "UpdateMask", "NotificationChannel", + }); + internal_static_google_monitoring_v3_DeleteNotificationChannelRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_monitoring_v3_DeleteNotificationChannelRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_DeleteNotificationChannelRequest_descriptor, + new java.lang.String[] { + "Name", "Force", + }); + internal_static_google_monitoring_v3_SendNotificationChannelVerificationCodeRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_monitoring_v3_SendNotificationChannelVerificationCodeRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_SendNotificationChannelVerificationCodeRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeRequest_descriptor, + new java.lang.String[] { + "Name", "ExpireTime", + }); + internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeResponse_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_GetNotificationChannelVerificationCodeResponse_descriptor, + new java.lang.String[] { + "Code", "ExpireTime", + }); + internal_static_google_monitoring_v3_VerifyNotificationChannelRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_monitoring_v3_VerifyNotificationChannelRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_VerifyNotificationChannelRequest_descriptor, + new java.lang.String[] { + "Name", "Code", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.monitoring.v3.NotificationProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.StructProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/OrganizationName.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/OrganizationName.java similarity index 100% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/OrganizationName.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/OrganizationName.java diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Point.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Point.java similarity index 75% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Point.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Point.java index 289bbb4f..c970af95 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Point.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Point.java @@ -1,39 +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/monitoring/v3/metric.proto package com.google.monitoring.v3; /** + * + * *
  * A single data point in a time series.
  * 
* * Protobuf type {@code google.monitoring.v3.Point} */ -public final class Point extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Point extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.Point) PointOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Point.newBuilder() to construct. private Point(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Point() { - } + + private Point() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Point(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Point( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,60 +68,67 @@ private Point( case 0: done = true; break; - case 10: { - com.google.monitoring.v3.TimeInterval.Builder subBuilder = null; - if (interval_ != null) { - subBuilder = interval_.toBuilder(); - } - interval_ = input.readMessage(com.google.monitoring.v3.TimeInterval.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(interval_); - interval_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.monitoring.v3.TimeInterval.Builder subBuilder = null; + if (interval_ != null) { + subBuilder = interval_.toBuilder(); + } + interval_ = + input.readMessage( + com.google.monitoring.v3.TimeInterval.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(interval_); + interval_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.monitoring.v3.TypedValue.Builder subBuilder = null; - if (value_ != null) { - subBuilder = value_.toBuilder(); - } - value_ = input.readMessage(com.google.monitoring.v3.TypedValue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(value_); - value_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.monitoring.v3.TypedValue.Builder subBuilder = null; + if (value_ != null) { + subBuilder = value_.toBuilder(); + } + value_ = + input.readMessage( + com.google.monitoring.v3.TypedValue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(value_); + value_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_Point_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricProto + .internal_static_google_monitoring_v3_Point_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_Point_fieldAccessorTable + return com.google.monitoring.v3.MetricProto + .internal_static_google_monitoring_v3_Point_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.monitoring.v3.Point.class, com.google.monitoring.v3.Point.Builder.class); } @@ -113,6 +136,8 @@ private Point( public static final int INTERVAL_FIELD_NUMBER = 1; private com.google.monitoring.v3.TimeInterval interval_; /** + * + * *
    * The time interval to which the data point applies.  For `GAUGE` metrics,
    * the start time is optional, but if it is supplied, it must equal the
@@ -126,6 +151,7 @@ private Point(
    * 
* * .google.monitoring.v3.TimeInterval interval = 1; + * * @return Whether the interval field is set. */ @java.lang.Override @@ -133,6 +159,8 @@ public boolean hasInterval() { return interval_ != null; } /** + * + * *
    * The time interval to which the data point applies.  For `GAUGE` metrics,
    * the start time is optional, but if it is supplied, it must equal the
@@ -146,13 +174,18 @@ public boolean hasInterval() {
    * 
* * .google.monitoring.v3.TimeInterval interval = 1; + * * @return The interval. */ @java.lang.Override public com.google.monitoring.v3.TimeInterval getInterval() { - return interval_ == null ? com.google.monitoring.v3.TimeInterval.getDefaultInstance() : interval_; + return interval_ == null + ? com.google.monitoring.v3.TimeInterval.getDefaultInstance() + : interval_; } /** + * + * *
    * The time interval to which the data point applies.  For `GAUGE` metrics,
    * the start time is optional, but if it is supplied, it must equal the
@@ -175,11 +208,14 @@ public com.google.monitoring.v3.TimeIntervalOrBuilder getIntervalOrBuilder() {
   public static final int VALUE_FIELD_NUMBER = 2;
   private com.google.monitoring.v3.TypedValue value_;
   /**
+   *
+   *
    * 
    * The value of the data point.
    * 
* * .google.monitoring.v3.TypedValue value = 2; + * * @return Whether the value field is set. */ @java.lang.Override @@ -187,11 +223,14 @@ public boolean hasValue() { return value_ != null; } /** + * + * *
    * The value of the data point.
    * 
* * .google.monitoring.v3.TypedValue value = 2; + * * @return The value. */ @java.lang.Override @@ -199,6 +238,8 @@ public com.google.monitoring.v3.TypedValue getValue() { return value_ == null ? com.google.monitoring.v3.TypedValue.getDefaultInstance() : value_; } /** + * + * *
    * The value of the data point.
    * 
@@ -211,6 +252,7 @@ public com.google.monitoring.v3.TypedValueOrBuilder getValueOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -222,8 +264,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (interval_ != null) { output.writeMessage(1, getInterval()); } @@ -240,12 +281,10 @@ public int getSerializedSize() { size = 0; if (interval_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getInterval()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getInterval()); } if (value_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getValue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getValue()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -255,7 +294,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.Point)) { return super.equals(obj); @@ -264,13 +303,11 @@ public boolean equals(final java.lang.Object obj) { if (hasInterval() != other.hasInterval()) return false; if (hasInterval()) { - if (!getInterval() - .equals(other.getInterval())) return false; + if (!getInterval().equals(other.getInterval())) return false; } if (hasValue() != other.hasValue()) return false; if (hasValue()) { - if (!getValue() - .equals(other.getValue())) return false; + if (!getValue().equals(other.getValue())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -296,116 +333,123 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.Point parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.Point parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.Point parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.Point parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.monitoring.v3.Point parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.Point parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.Point parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.Point parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.Point 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.monitoring.v3.Point parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.Point parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.Point parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.Point parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.monitoring.v3.Point parseFrom(com.google.protobuf.CodedInputStream 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.monitoring.v3.Point parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.Point prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 single data point in a time series.
    * 
* * Protobuf type {@code google.monitoring.v3.Point} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.Point) com.google.monitoring.v3.PointOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_Point_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricProto + .internal_static_google_monitoring_v3_Point_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_Point_fieldAccessorTable + return com.google.monitoring.v3.MetricProto + .internal_static_google_monitoring_v3_Point_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.monitoring.v3.Point.class, com.google.monitoring.v3.Point.Builder.class); } @@ -415,16 +459,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -444,9 +487,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_Point_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.MetricProto + .internal_static_google_monitoring_v3_Point_descriptor; } @java.lang.Override @@ -484,38 +527,39 @@ public com.google.monitoring.v3.Point 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.monitoring.v3.Point) { - return mergeFrom((com.google.monitoring.v3.Point)other); + return mergeFrom((com.google.monitoring.v3.Point) other); } else { super.mergeFrom(other); return this; @@ -561,8 +605,13 @@ public Builder mergeFrom( private com.google.monitoring.v3.TimeInterval interval_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TimeInterval, com.google.monitoring.v3.TimeInterval.Builder, com.google.monitoring.v3.TimeIntervalOrBuilder> intervalBuilder_; + com.google.monitoring.v3.TimeInterval, + com.google.monitoring.v3.TimeInterval.Builder, + com.google.monitoring.v3.TimeIntervalOrBuilder> + intervalBuilder_; /** + * + * *
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time is optional, but if it is supplied, it must equal the
@@ -576,12 +625,15 @@ public Builder mergeFrom(
      * 
* * .google.monitoring.v3.TimeInterval interval = 1; + * * @return Whether the interval field is set. */ public boolean hasInterval() { return intervalBuilder_ != null || interval_ != null; } /** + * + * *
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time is optional, but if it is supplied, it must equal the
@@ -595,16 +647,21 @@ public boolean hasInterval() {
      * 
* * .google.monitoring.v3.TimeInterval interval = 1; + * * @return The interval. */ public com.google.monitoring.v3.TimeInterval getInterval() { if (intervalBuilder_ == null) { - return interval_ == null ? com.google.monitoring.v3.TimeInterval.getDefaultInstance() : interval_; + return interval_ == null + ? com.google.monitoring.v3.TimeInterval.getDefaultInstance() + : interval_; } else { return intervalBuilder_.getMessage(); } } /** + * + * *
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time is optional, but if it is supplied, it must equal the
@@ -633,6 +690,8 @@ public Builder setInterval(com.google.monitoring.v3.TimeInterval value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time is optional, but if it is supplied, it must equal the
@@ -647,8 +706,7 @@ public Builder setInterval(com.google.monitoring.v3.TimeInterval value) {
      *
      * .google.monitoring.v3.TimeInterval interval = 1;
      */
-    public Builder setInterval(
-        com.google.monitoring.v3.TimeInterval.Builder builderForValue) {
+    public Builder setInterval(com.google.monitoring.v3.TimeInterval.Builder builderForValue) {
       if (intervalBuilder_ == null) {
         interval_ = builderForValue.build();
         onChanged();
@@ -659,6 +717,8 @@ public Builder setInterval(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time is optional, but if it is supplied, it must equal the
@@ -677,7 +737,9 @@ public Builder mergeInterval(com.google.monitoring.v3.TimeInterval value) {
       if (intervalBuilder_ == null) {
         if (interval_ != null) {
           interval_ =
-            com.google.monitoring.v3.TimeInterval.newBuilder(interval_).mergeFrom(value).buildPartial();
+              com.google.monitoring.v3.TimeInterval.newBuilder(interval_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           interval_ = value;
         }
@@ -689,6 +751,8 @@ public Builder mergeInterval(com.google.monitoring.v3.TimeInterval value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time is optional, but if it is supplied, it must equal the
@@ -715,6 +779,8 @@ public Builder clearInterval() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time is optional, but if it is supplied, it must equal the
@@ -730,11 +796,13 @@ public Builder clearInterval() {
      * .google.monitoring.v3.TimeInterval interval = 1;
      */
     public com.google.monitoring.v3.TimeInterval.Builder getIntervalBuilder() {
-      
+
       onChanged();
       return getIntervalFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time is optional, but if it is supplied, it must equal the
@@ -753,11 +821,14 @@ public com.google.monitoring.v3.TimeIntervalOrBuilder getIntervalOrBuilder() {
       if (intervalBuilder_ != null) {
         return intervalBuilder_.getMessageOrBuilder();
       } else {
-        return interval_ == null ?
-            com.google.monitoring.v3.TimeInterval.getDefaultInstance() : interval_;
+        return interval_ == null
+            ? com.google.monitoring.v3.TimeInterval.getDefaultInstance()
+            : interval_;
       }
     }
     /**
+     *
+     *
      * 
      * The time interval to which the data point applies.  For `GAUGE` metrics,
      * the start time is optional, but if it is supplied, it must equal the
@@ -773,14 +844,17 @@ public com.google.monitoring.v3.TimeIntervalOrBuilder getIntervalOrBuilder() {
      * .google.monitoring.v3.TimeInterval interval = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.monitoring.v3.TimeInterval, com.google.monitoring.v3.TimeInterval.Builder, com.google.monitoring.v3.TimeIntervalOrBuilder> 
+            com.google.monitoring.v3.TimeInterval,
+            com.google.monitoring.v3.TimeInterval.Builder,
+            com.google.monitoring.v3.TimeIntervalOrBuilder>
         getIntervalFieldBuilder() {
       if (intervalBuilder_ == null) {
-        intervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.TimeInterval, com.google.monitoring.v3.TimeInterval.Builder, com.google.monitoring.v3.TimeIntervalOrBuilder>(
-                getInterval(),
-                getParentForChildren(),
-                isClean());
+        intervalBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.monitoring.v3.TimeInterval,
+                com.google.monitoring.v3.TimeInterval.Builder,
+                com.google.monitoring.v3.TimeIntervalOrBuilder>(
+                getInterval(), getParentForChildren(), isClean());
         interval_ = null;
       }
       return intervalBuilder_;
@@ -788,24 +862,33 @@ public com.google.monitoring.v3.TimeIntervalOrBuilder getIntervalOrBuilder() {
 
     private com.google.monitoring.v3.TypedValue value_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.monitoring.v3.TypedValue, com.google.monitoring.v3.TypedValue.Builder, com.google.monitoring.v3.TypedValueOrBuilder> valueBuilder_;
+            com.google.monitoring.v3.TypedValue,
+            com.google.monitoring.v3.TypedValue.Builder,
+            com.google.monitoring.v3.TypedValueOrBuilder>
+        valueBuilder_;
     /**
+     *
+     *
      * 
      * The value of the data point.
      * 
* * .google.monitoring.v3.TypedValue value = 2; + * * @return Whether the value field is set. */ public boolean hasValue() { return valueBuilder_ != null || value_ != null; } /** + * + * *
      * The value of the data point.
      * 
* * .google.monitoring.v3.TypedValue value = 2; + * * @return The value. */ public com.google.monitoring.v3.TypedValue getValue() { @@ -816,6 +899,8 @@ public com.google.monitoring.v3.TypedValue getValue() { } } /** + * + * *
      * The value of the data point.
      * 
@@ -836,14 +921,15 @@ public Builder setValue(com.google.monitoring.v3.TypedValue value) { return this; } /** + * + * *
      * The value of the data point.
      * 
* * .google.monitoring.v3.TypedValue value = 2; */ - public Builder setValue( - com.google.monitoring.v3.TypedValue.Builder builderForValue) { + public Builder setValue(com.google.monitoring.v3.TypedValue.Builder builderForValue) { if (valueBuilder_ == null) { value_ = builderForValue.build(); onChanged(); @@ -854,6 +940,8 @@ public Builder setValue( return this; } /** + * + * *
      * The value of the data point.
      * 
@@ -864,7 +952,9 @@ public Builder mergeValue(com.google.monitoring.v3.TypedValue value) { if (valueBuilder_ == null) { if (value_ != null) { value_ = - com.google.monitoring.v3.TypedValue.newBuilder(value_).mergeFrom(value).buildPartial(); + com.google.monitoring.v3.TypedValue.newBuilder(value_) + .mergeFrom(value) + .buildPartial(); } else { value_ = value; } @@ -876,6 +966,8 @@ public Builder mergeValue(com.google.monitoring.v3.TypedValue value) { return this; } /** + * + * *
      * The value of the data point.
      * 
@@ -894,6 +986,8 @@ public Builder clearValue() { return this; } /** + * + * *
      * The value of the data point.
      * 
@@ -901,11 +995,13 @@ public Builder clearValue() { * .google.monitoring.v3.TypedValue value = 2; */ public com.google.monitoring.v3.TypedValue.Builder getValueBuilder() { - + onChanged(); return getValueFieldBuilder().getBuilder(); } /** + * + * *
      * The value of the data point.
      * 
@@ -916,11 +1012,12 @@ public com.google.monitoring.v3.TypedValueOrBuilder getValueOrBuilder() { if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilder(); } else { - return value_ == null ? - com.google.monitoring.v3.TypedValue.getDefaultInstance() : value_; + return value_ == null ? com.google.monitoring.v3.TypedValue.getDefaultInstance() : value_; } } /** + * + * *
      * The value of the data point.
      * 
@@ -928,21 +1025,24 @@ public com.google.monitoring.v3.TypedValueOrBuilder getValueOrBuilder() { * .google.monitoring.v3.TypedValue value = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TypedValue, com.google.monitoring.v3.TypedValue.Builder, com.google.monitoring.v3.TypedValueOrBuilder> + com.google.monitoring.v3.TypedValue, + com.google.monitoring.v3.TypedValue.Builder, + com.google.monitoring.v3.TypedValueOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { - valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TypedValue, com.google.monitoring.v3.TypedValue.Builder, com.google.monitoring.v3.TypedValueOrBuilder>( - getValue(), - getParentForChildren(), - isClean()); + valueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.TypedValue, + com.google.monitoring.v3.TypedValue.Builder, + com.google.monitoring.v3.TypedValueOrBuilder>( + getValue(), getParentForChildren(), isClean()); value_ = null; } return valueBuilder_; } + @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); } @@ -952,12 +1052,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.Point) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.Point) private static final com.google.monitoring.v3.Point DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.Point(); } @@ -966,16 +1066,16 @@ public static com.google.monitoring.v3.Point getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Point parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Point(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Point parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Point(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -990,6 +1090,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.Point getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/PointOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/PointOrBuilder.java similarity index 82% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/PointOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/PointOrBuilder.java index 99bac0da..40ce43a0 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/PointOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/PointOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric.proto package com.google.monitoring.v3; -public interface PointOrBuilder extends +public interface PointOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.Point) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The time interval to which the data point applies.  For `GAUGE` metrics,
    * the start time is optional, but if it is supplied, it must equal the
@@ -21,10 +39,13 @@ public interface PointOrBuilder extends
    * 
* * .google.monitoring.v3.TimeInterval interval = 1; + * * @return Whether the interval field is set. */ boolean hasInterval(); /** + * + * *
    * The time interval to which the data point applies.  For `GAUGE` metrics,
    * the start time is optional, but if it is supplied, it must equal the
@@ -38,10 +59,13 @@ public interface PointOrBuilder extends
    * 
* * .google.monitoring.v3.TimeInterval interval = 1; + * * @return The interval. */ com.google.monitoring.v3.TimeInterval getInterval(); /** + * + * *
    * The time interval to which the data point applies.  For `GAUGE` metrics,
    * the start time is optional, but if it is supplied, it must equal the
@@ -59,24 +83,32 @@ public interface PointOrBuilder extends
   com.google.monitoring.v3.TimeIntervalOrBuilder getIntervalOrBuilder();
 
   /**
+   *
+   *
    * 
    * The value of the data point.
    * 
* * .google.monitoring.v3.TypedValue value = 2; + * * @return Whether the value field is set. */ boolean hasValue(); /** + * + * *
    * The value of the data point.
    * 
* * .google.monitoring.v3.TypedValue value = 2; + * * @return The value. */ com.google.monitoring.v3.TypedValue getValue(); /** + * + * *
    * The value of the data point.
    * 
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ProjectName.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ProjectName.java similarity index 100% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ProjectName.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ProjectName.java diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryError.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryError.java similarity index 70% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryError.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryError.java index 54ca8129..dba96cb6 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryError.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryError.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric.proto package com.google.monitoring.v3; /** + * + * *
  * An error associated with a query in the time series query language format.
  * 
* * Protobuf type {@code google.monitoring.v3.QueryError} */ -public final class QueryError extends - com.google.protobuf.GeneratedMessageV3 implements +public final class QueryError extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.QueryError) QueryErrorOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueryError.newBuilder() to construct. private QueryError(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private QueryError() { message_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QueryError(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private QueryError( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,66 +70,75 @@ private QueryError( case 0: done = true; break; - case 10: { - com.google.monitoring.v3.TextLocator.Builder subBuilder = null; - if (locator_ != null) { - subBuilder = locator_.toBuilder(); + case 10: + { + com.google.monitoring.v3.TextLocator.Builder subBuilder = null; + if (locator_ != null) { + subBuilder = locator_.toBuilder(); + } + locator_ = + input.readMessage( + com.google.monitoring.v3.TextLocator.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(locator_); + locator_ = subBuilder.buildPartial(); + } + + break; } - locator_ = input.readMessage(com.google.monitoring.v3.TextLocator.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(locator_); - locator_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - message_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + message_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_QueryError_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricProto + .internal_static_google_monitoring_v3_QueryError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_QueryError_fieldAccessorTable + return com.google.monitoring.v3.MetricProto + .internal_static_google_monitoring_v3_QueryError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.QueryError.class, com.google.monitoring.v3.QueryError.Builder.class); + com.google.monitoring.v3.QueryError.class, + com.google.monitoring.v3.QueryError.Builder.class); } public static final int LOCATOR_FIELD_NUMBER = 1; private com.google.monitoring.v3.TextLocator locator_; /** + * + * *
    * The location of the time series query language text that this error applies
    * to.
    * 
* * .google.monitoring.v3.TextLocator locator = 1; + * * @return Whether the locator field is set. */ @java.lang.Override @@ -120,12 +146,15 @@ public boolean hasLocator() { return locator_ != null; } /** + * + * *
    * The location of the time series query language text that this error applies
    * to.
    * 
* * .google.monitoring.v3.TextLocator locator = 1; + * * @return The locator. */ @java.lang.Override @@ -133,6 +162,8 @@ public com.google.monitoring.v3.TextLocator getLocator() { return locator_ == null ? com.google.monitoring.v3.TextLocator.getDefaultInstance() : locator_; } /** + * + * *
    * The location of the time series query language text that this error applies
    * to.
@@ -148,11 +179,14 @@ public com.google.monitoring.v3.TextLocatorOrBuilder getLocatorOrBuilder() {
   public static final int MESSAGE_FIELD_NUMBER = 2;
   private volatile java.lang.Object message_;
   /**
+   *
+   *
    * 
    * The error message.
    * 
* * string message = 2; + * * @return The message. */ @java.lang.Override @@ -161,29 +195,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; } } /** + * + * *
    * The error message.
    * 
* * string message = 2; + * * @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 { @@ -192,6 +226,7 @@ public java.lang.String getMessage() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,8 +238,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (locator_ != null) { output.writeMessage(1, getLocator()); } @@ -221,8 +255,7 @@ public int getSerializedSize() { size = 0; if (locator_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getLocator()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getLocator()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); @@ -235,7 +268,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.QueryError)) { return super.equals(obj); @@ -244,11 +277,9 @@ public boolean equals(final java.lang.Object obj) { if (hasLocator() != other.hasLocator()) return false; if (hasLocator()) { - if (!getLocator() - .equals(other.getLocator())) return false; + if (!getLocator().equals(other.getLocator())) return false; } - if (!getMessage() - .equals(other.getMessage())) return false; + if (!getMessage().equals(other.getMessage())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -271,118 +302,126 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.QueryError parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.QueryError parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.QueryError parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.QueryError parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.monitoring.v3.QueryError parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.QueryError parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.QueryError parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.QueryError parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.QueryError 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.monitoring.v3.QueryError parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.QueryError parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.QueryError parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.QueryError parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.QueryError parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.QueryError prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * An error associated with a query in the time series query language format.
    * 
* * Protobuf type {@code google.monitoring.v3.QueryError} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.QueryError) com.google.monitoring.v3.QueryErrorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_QueryError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricProto + .internal_static_google_monitoring_v3_QueryError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_QueryError_fieldAccessorTable + return com.google.monitoring.v3.MetricProto + .internal_static_google_monitoring_v3_QueryError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.QueryError.class, com.google.monitoring.v3.QueryError.Builder.class); + com.google.monitoring.v3.QueryError.class, + com.google.monitoring.v3.QueryError.Builder.class); } // Construct using com.google.monitoring.v3.QueryError.newBuilder() @@ -390,16 +429,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -415,9 +453,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_QueryError_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.MetricProto + .internal_static_google_monitoring_v3_QueryError_descriptor; } @java.lang.Override @@ -451,38 +489,39 @@ public com.google.monitoring.v3.QueryError 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.monitoring.v3.QueryError) { - return mergeFrom((com.google.monitoring.v3.QueryError)other); + return mergeFrom((com.google.monitoring.v3.QueryError) other); } else { super.mergeFrom(other); return this; @@ -529,36 +568,49 @@ public Builder mergeFrom( private com.google.monitoring.v3.TextLocator locator_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TextLocator, com.google.monitoring.v3.TextLocator.Builder, com.google.monitoring.v3.TextLocatorOrBuilder> locatorBuilder_; + com.google.monitoring.v3.TextLocator, + com.google.monitoring.v3.TextLocator.Builder, + com.google.monitoring.v3.TextLocatorOrBuilder> + locatorBuilder_; /** + * + * *
      * The location of the time series query language text that this error applies
      * to.
      * 
* * .google.monitoring.v3.TextLocator locator = 1; + * * @return Whether the locator field is set. */ public boolean hasLocator() { return locatorBuilder_ != null || locator_ != null; } /** + * + * *
      * The location of the time series query language text that this error applies
      * to.
      * 
* * .google.monitoring.v3.TextLocator locator = 1; + * * @return The locator. */ public com.google.monitoring.v3.TextLocator getLocator() { if (locatorBuilder_ == null) { - return locator_ == null ? com.google.monitoring.v3.TextLocator.getDefaultInstance() : locator_; + return locator_ == null + ? com.google.monitoring.v3.TextLocator.getDefaultInstance() + : locator_; } else { return locatorBuilder_.getMessage(); } } /** + * + * *
      * The location of the time series query language text that this error applies
      * to.
@@ -580,6 +632,8 @@ public Builder setLocator(com.google.monitoring.v3.TextLocator value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The location of the time series query language text that this error applies
      * to.
@@ -587,8 +641,7 @@ public Builder setLocator(com.google.monitoring.v3.TextLocator value) {
      *
      * .google.monitoring.v3.TextLocator locator = 1;
      */
-    public Builder setLocator(
-        com.google.monitoring.v3.TextLocator.Builder builderForValue) {
+    public Builder setLocator(com.google.monitoring.v3.TextLocator.Builder builderForValue) {
       if (locatorBuilder_ == null) {
         locator_ = builderForValue.build();
         onChanged();
@@ -599,6 +652,8 @@ public Builder setLocator(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location of the time series query language text that this error applies
      * to.
@@ -610,7 +665,9 @@ public Builder mergeLocator(com.google.monitoring.v3.TextLocator value) {
       if (locatorBuilder_ == null) {
         if (locator_ != null) {
           locator_ =
-            com.google.monitoring.v3.TextLocator.newBuilder(locator_).mergeFrom(value).buildPartial();
+              com.google.monitoring.v3.TextLocator.newBuilder(locator_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           locator_ = value;
         }
@@ -622,6 +679,8 @@ public Builder mergeLocator(com.google.monitoring.v3.TextLocator value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The location of the time series query language text that this error applies
      * to.
@@ -641,6 +700,8 @@ public Builder clearLocator() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The location of the time series query language text that this error applies
      * to.
@@ -649,11 +710,13 @@ public Builder clearLocator() {
      * .google.monitoring.v3.TextLocator locator = 1;
      */
     public com.google.monitoring.v3.TextLocator.Builder getLocatorBuilder() {
-      
+
       onChanged();
       return getLocatorFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The location of the time series query language text that this error applies
      * to.
@@ -665,11 +728,14 @@ public com.google.monitoring.v3.TextLocatorOrBuilder getLocatorOrBuilder() {
       if (locatorBuilder_ != null) {
         return locatorBuilder_.getMessageOrBuilder();
       } else {
-        return locator_ == null ?
-            com.google.monitoring.v3.TextLocator.getDefaultInstance() : locator_;
+        return locator_ == null
+            ? com.google.monitoring.v3.TextLocator.getDefaultInstance()
+            : locator_;
       }
     }
     /**
+     *
+     *
      * 
      * The location of the time series query language text that this error applies
      * to.
@@ -678,14 +744,17 @@ public com.google.monitoring.v3.TextLocatorOrBuilder getLocatorOrBuilder() {
      * .google.monitoring.v3.TextLocator locator = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.monitoring.v3.TextLocator, com.google.monitoring.v3.TextLocator.Builder, com.google.monitoring.v3.TextLocatorOrBuilder> 
+            com.google.monitoring.v3.TextLocator,
+            com.google.monitoring.v3.TextLocator.Builder,
+            com.google.monitoring.v3.TextLocatorOrBuilder>
         getLocatorFieldBuilder() {
       if (locatorBuilder_ == null) {
-        locatorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.TextLocator, com.google.monitoring.v3.TextLocator.Builder, com.google.monitoring.v3.TextLocatorOrBuilder>(
-                getLocator(),
-                getParentForChildren(),
-                isClean());
+        locatorBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.monitoring.v3.TextLocator,
+                com.google.monitoring.v3.TextLocator.Builder,
+                com.google.monitoring.v3.TextLocatorOrBuilder>(
+                getLocator(), getParentForChildren(), isClean());
         locator_ = null;
       }
       return locatorBuilder_;
@@ -693,18 +762,20 @@ public com.google.monitoring.v3.TextLocatorOrBuilder getLocatorOrBuilder() {
 
     private java.lang.Object message_ = "";
     /**
+     *
+     *
      * 
      * The error message.
      * 
* * string message = 2; + * * @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; @@ -713,20 +784,21 @@ public java.lang.String getMessage() { } } /** + * + * *
      * The error message.
      * 
* * string message = 2; + * * @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 { @@ -734,61 +806,68 @@ public java.lang.String getMessage() { } } /** + * + * *
      * The error message.
      * 
* * string message = 2; + * * @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; } /** + * + * *
      * The error message.
      * 
* * string message = 2; + * * @return This builder for chaining. */ public Builder clearMessage() { - + message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** + * + * *
      * The error message.
      * 
* * string message = 2; + * * @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); } @@ -798,12 +877,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.QueryError) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.QueryError) private static final com.google.monitoring.v3.QueryError DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.QueryError(); } @@ -812,16 +891,16 @@ public static com.google.monitoring.v3.QueryError getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryError parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QueryError(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryError parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueryError(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -836,6 +915,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.QueryError getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryErrorList.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryErrorList.java similarity index 75% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryErrorList.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryErrorList.java index 846d6419..392274da 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryErrorList.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryErrorList.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric_service.proto package com.google.monitoring.v3; /** + * + * *
  * This is an error detail intended to be used with INVALID_ARGUMENT errors.
  * 
* * Protobuf type {@code google.monitoring.v3.QueryErrorList} */ -public final class QueryErrorList extends - com.google.protobuf.GeneratedMessageV3 implements +public final class QueryErrorList extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.QueryErrorList) QueryErrorListOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueryErrorList.newBuilder() to construct. private QueryErrorList(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private QueryErrorList() { errors_ = java.util.Collections.emptyList(); errorSummary_ = ""; @@ -26,16 +44,15 @@ private QueryErrorList() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QueryErrorList(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private QueryErrorList( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,35 +72,37 @@ private QueryErrorList( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - errors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + errors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + errors_.add( + input.readMessage( + com.google.monitoring.v3.QueryError.parser(), extensionRegistry)); + break; } - errors_.add( - input.readMessage(com.google.monitoring.v3.QueryError.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - errorSummary_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + errorSummary_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { errors_ = java.util.Collections.unmodifiableList(errors_); @@ -92,22 +111,27 @@ private QueryErrorList( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_QueryErrorList_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_QueryErrorList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_QueryErrorList_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_QueryErrorList_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.QueryErrorList.class, com.google.monitoring.v3.QueryErrorList.Builder.class); + com.google.monitoring.v3.QueryErrorList.class, + com.google.monitoring.v3.QueryErrorList.Builder.class); } public static final int ERRORS_FIELD_NUMBER = 1; private java.util.List errors_; /** + * + * *
    * Errors in parsing the time series query language text. The number of errors
    * in the response may be limited.
@@ -120,6 +144,8 @@ public java.util.List getErrorsList() {
     return errors_;
   }
   /**
+   *
+   *
    * 
    * Errors in parsing the time series query language text. The number of errors
    * in the response may be limited.
@@ -128,11 +154,13 @@ public java.util.List getErrorsList() {
    * repeated .google.monitoring.v3.QueryError errors = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getErrorsOrBuilderList() {
     return errors_;
   }
   /**
+   *
+   *
    * 
    * Errors in parsing the time series query language text. The number of errors
    * in the response may be limited.
@@ -145,6 +173,8 @@ public int getErrorsCount() {
     return errors_.size();
   }
   /**
+   *
+   *
    * 
    * Errors in parsing the time series query language text. The number of errors
    * in the response may be limited.
@@ -157,6 +187,8 @@ public com.google.monitoring.v3.QueryError getErrors(int index) {
     return errors_.get(index);
   }
   /**
+   *
+   *
    * 
    * Errors in parsing the time series query language text. The number of errors
    * in the response may be limited.
@@ -165,19 +197,21 @@ public com.google.monitoring.v3.QueryError getErrors(int index) {
    * repeated .google.monitoring.v3.QueryError errors = 1;
    */
   @java.lang.Override
-  public com.google.monitoring.v3.QueryErrorOrBuilder getErrorsOrBuilder(
-      int index) {
+  public com.google.monitoring.v3.QueryErrorOrBuilder getErrorsOrBuilder(int index) {
     return errors_.get(index);
   }
 
   public static final int ERROR_SUMMARY_FIELD_NUMBER = 2;
   private volatile java.lang.Object errorSummary_;
   /**
+   *
+   *
    * 
    * A summary of all the errors.
    * 
* * string error_summary = 2; + * * @return The errorSummary. */ @java.lang.Override @@ -186,29 +220,29 @@ public java.lang.String getErrorSummary() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorSummary_ = s; return s; } } /** + * + * *
    * A summary of all the errors.
    * 
* * string error_summary = 2; + * * @return The bytes for errorSummary. */ @java.lang.Override - public com.google.protobuf.ByteString - getErrorSummaryBytes() { + public com.google.protobuf.ByteString getErrorSummaryBytes() { java.lang.Object ref = errorSummary_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); errorSummary_ = b; return b; } else { @@ -217,6 +251,7 @@ public java.lang.String getErrorSummary() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -228,8 +263,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < errors_.size(); i++) { output.writeMessage(1, errors_.get(i)); } @@ -246,8 +280,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, errors_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorSummary_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, errorSummary_); @@ -260,17 +293,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.monitoring.v3.QueryErrorList)) { return super.equals(obj); } com.google.monitoring.v3.QueryErrorList other = (com.google.monitoring.v3.QueryErrorList) obj; - if (!getErrorsList() - .equals(other.getErrorsList())) return false; - if (!getErrorSummary() - .equals(other.getErrorSummary())) return false; + if (!getErrorsList().equals(other.getErrorsList())) return false; + if (!getErrorSummary().equals(other.getErrorSummary())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,118 +324,127 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.QueryErrorList parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.QueryErrorList parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.QueryErrorList parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.QueryErrorList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.QueryErrorList parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.QueryErrorList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.QueryErrorList parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.QueryErrorList 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.monitoring.v3.QueryErrorList parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.QueryErrorList parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.QueryErrorList parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.QueryErrorList parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.QueryErrorList parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.QueryErrorList parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.QueryErrorList prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * This is an error detail intended to be used with INVALID_ARGUMENT errors.
    * 
* * Protobuf type {@code google.monitoring.v3.QueryErrorList} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.QueryErrorList) com.google.monitoring.v3.QueryErrorListOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_QueryErrorList_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_QueryErrorList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_QueryErrorList_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_QueryErrorList_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.QueryErrorList.class, com.google.monitoring.v3.QueryErrorList.Builder.class); + com.google.monitoring.v3.QueryErrorList.class, + com.google.monitoring.v3.QueryErrorList.Builder.class); } // Construct using com.google.monitoring.v3.QueryErrorList.newBuilder() @@ -412,17 +452,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getErrorsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -438,9 +478,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_QueryErrorList_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_QueryErrorList_descriptor; } @java.lang.Override @@ -459,7 +499,8 @@ public com.google.monitoring.v3.QueryErrorList build() { @java.lang.Override public com.google.monitoring.v3.QueryErrorList buildPartial() { - com.google.monitoring.v3.QueryErrorList result = new com.google.monitoring.v3.QueryErrorList(this); + com.google.monitoring.v3.QueryErrorList result = + new com.google.monitoring.v3.QueryErrorList(this); int from_bitField0_ = bitField0_; if (errorsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -479,38 +520,39 @@ public com.google.monitoring.v3.QueryErrorList 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.monitoring.v3.QueryErrorList) { - return mergeFrom((com.google.monitoring.v3.QueryErrorList)other); + return mergeFrom((com.google.monitoring.v3.QueryErrorList) other); } else { super.mergeFrom(other); return this; @@ -537,9 +579,10 @@ public Builder mergeFrom(com.google.monitoring.v3.QueryErrorList other) { errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000001); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getErrorsFieldBuilder() : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getErrorsFieldBuilder() + : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -577,21 +620,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List errors_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { errors_ = new java.util.ArrayList(errors_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.QueryError, com.google.monitoring.v3.QueryError.Builder, com.google.monitoring.v3.QueryErrorOrBuilder> errorsBuilder_; + com.google.monitoring.v3.QueryError, + com.google.monitoring.v3.QueryError.Builder, + com.google.monitoring.v3.QueryErrorOrBuilder> + errorsBuilder_; /** + * + * *
      * Errors in parsing the time series query language text. The number of errors
      * in the response may be limited.
@@ -607,6 +657,8 @@ public java.util.List getErrorsList() {
       }
     }
     /**
+     *
+     *
      * 
      * Errors in parsing the time series query language text. The number of errors
      * in the response may be limited.
@@ -622,6 +674,8 @@ public int getErrorsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Errors in parsing the time series query language text. The number of errors
      * in the response may be limited.
@@ -637,6 +691,8 @@ public com.google.monitoring.v3.QueryError getErrors(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Errors in parsing the time series query language text. The number of errors
      * in the response may be limited.
@@ -644,8 +700,7 @@ public com.google.monitoring.v3.QueryError getErrors(int index) {
      *
      * repeated .google.monitoring.v3.QueryError errors = 1;
      */
-    public Builder setErrors(
-        int index, com.google.monitoring.v3.QueryError value) {
+    public Builder setErrors(int index, com.google.monitoring.v3.QueryError value) {
       if (errorsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -659,6 +714,8 @@ public Builder setErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Errors in parsing the time series query language text. The number of errors
      * in the response may be limited.
@@ -678,6 +735,8 @@ public Builder setErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Errors in parsing the time series query language text. The number of errors
      * in the response may be limited.
@@ -699,6 +758,8 @@ public Builder addErrors(com.google.monitoring.v3.QueryError value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Errors in parsing the time series query language text. The number of errors
      * in the response may be limited.
@@ -706,8 +767,7 @@ public Builder addErrors(com.google.monitoring.v3.QueryError value) {
      *
      * repeated .google.monitoring.v3.QueryError errors = 1;
      */
-    public Builder addErrors(
-        int index, com.google.monitoring.v3.QueryError value) {
+    public Builder addErrors(int index, com.google.monitoring.v3.QueryError value) {
       if (errorsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -721,6 +781,8 @@ public Builder addErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Errors in parsing the time series query language text. The number of errors
      * in the response may be limited.
@@ -728,8 +790,7 @@ public Builder addErrors(
      *
      * repeated .google.monitoring.v3.QueryError errors = 1;
      */
-    public Builder addErrors(
-        com.google.monitoring.v3.QueryError.Builder builderForValue) {
+    public Builder addErrors(com.google.monitoring.v3.QueryError.Builder builderForValue) {
       if (errorsBuilder_ == null) {
         ensureErrorsIsMutable();
         errors_.add(builderForValue.build());
@@ -740,6 +801,8 @@ public Builder addErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Errors in parsing the time series query language text. The number of errors
      * in the response may be limited.
@@ -759,6 +822,8 @@ public Builder addErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Errors in parsing the time series query language text. The number of errors
      * in the response may be limited.
@@ -770,8 +835,7 @@ public Builder addAllErrors(
         java.lang.Iterable values) {
       if (errorsBuilder_ == null) {
         ensureErrorsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, errors_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_);
         onChanged();
       } else {
         errorsBuilder_.addAllMessages(values);
@@ -779,6 +843,8 @@ public Builder addAllErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Errors in parsing the time series query language text. The number of errors
      * in the response may be limited.
@@ -797,6 +863,8 @@ public Builder clearErrors() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Errors in parsing the time series query language text. The number of errors
      * in the response may be limited.
@@ -815,6 +883,8 @@ public Builder removeErrors(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Errors in parsing the time series query language text. The number of errors
      * in the response may be limited.
@@ -822,11 +892,12 @@ public Builder removeErrors(int index) {
      *
      * repeated .google.monitoring.v3.QueryError errors = 1;
      */
-    public com.google.monitoring.v3.QueryError.Builder getErrorsBuilder(
-        int index) {
+    public com.google.monitoring.v3.QueryError.Builder getErrorsBuilder(int index) {
       return getErrorsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Errors in parsing the time series query language text. The number of errors
      * in the response may be limited.
@@ -834,14 +905,16 @@ public com.google.monitoring.v3.QueryError.Builder getErrorsBuilder(
      *
      * repeated .google.monitoring.v3.QueryError errors = 1;
      */
-    public com.google.monitoring.v3.QueryErrorOrBuilder getErrorsOrBuilder(
-        int index) {
+    public com.google.monitoring.v3.QueryErrorOrBuilder getErrorsOrBuilder(int index) {
       if (errorsBuilder_ == null) {
-        return errors_.get(index);  } else {
+        return errors_.get(index);
+      } else {
         return errorsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Errors in parsing the time series query language text. The number of errors
      * in the response may be limited.
@@ -849,8 +922,8 @@ public com.google.monitoring.v3.QueryErrorOrBuilder getErrorsOrBuilder(
      *
      * repeated .google.monitoring.v3.QueryError errors = 1;
      */
-    public java.util.List 
-         getErrorsOrBuilderList() {
+    public java.util.List
+        getErrorsOrBuilderList() {
       if (errorsBuilder_ != null) {
         return errorsBuilder_.getMessageOrBuilderList();
       } else {
@@ -858,6 +931,8 @@ public com.google.monitoring.v3.QueryErrorOrBuilder getErrorsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Errors in parsing the time series query language text. The number of errors
      * in the response may be limited.
@@ -866,10 +941,12 @@ public com.google.monitoring.v3.QueryErrorOrBuilder getErrorsOrBuilder(
      * repeated .google.monitoring.v3.QueryError errors = 1;
      */
     public com.google.monitoring.v3.QueryError.Builder addErrorsBuilder() {
-      return getErrorsFieldBuilder().addBuilder(
-          com.google.monitoring.v3.QueryError.getDefaultInstance());
+      return getErrorsFieldBuilder()
+          .addBuilder(com.google.monitoring.v3.QueryError.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Errors in parsing the time series query language text. The number of errors
      * in the response may be limited.
@@ -877,12 +954,13 @@ public com.google.monitoring.v3.QueryError.Builder addErrorsBuilder() {
      *
      * repeated .google.monitoring.v3.QueryError errors = 1;
      */
-    public com.google.monitoring.v3.QueryError.Builder addErrorsBuilder(
-        int index) {
-      return getErrorsFieldBuilder().addBuilder(
-          index, com.google.monitoring.v3.QueryError.getDefaultInstance());
+    public com.google.monitoring.v3.QueryError.Builder addErrorsBuilder(int index) {
+      return getErrorsFieldBuilder()
+          .addBuilder(index, com.google.monitoring.v3.QueryError.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Errors in parsing the time series query language text. The number of errors
      * in the response may be limited.
@@ -890,20 +968,22 @@ public com.google.monitoring.v3.QueryError.Builder addErrorsBuilder(
      *
      * repeated .google.monitoring.v3.QueryError errors = 1;
      */
-    public java.util.List 
-         getErrorsBuilderList() {
+    public java.util.List getErrorsBuilderList() {
       return getErrorsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.monitoring.v3.QueryError, com.google.monitoring.v3.QueryError.Builder, com.google.monitoring.v3.QueryErrorOrBuilder> 
+            com.google.monitoring.v3.QueryError,
+            com.google.monitoring.v3.QueryError.Builder,
+            com.google.monitoring.v3.QueryErrorOrBuilder>
         getErrorsFieldBuilder() {
       if (errorsBuilder_ == null) {
-        errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.monitoring.v3.QueryError, com.google.monitoring.v3.QueryError.Builder, com.google.monitoring.v3.QueryErrorOrBuilder>(
-                errors_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        errorsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.monitoring.v3.QueryError,
+                com.google.monitoring.v3.QueryError.Builder,
+                com.google.monitoring.v3.QueryErrorOrBuilder>(
+                errors_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         errors_ = null;
       }
       return errorsBuilder_;
@@ -911,18 +991,20 @@ public com.google.monitoring.v3.QueryError.Builder addErrorsBuilder(
 
     private java.lang.Object errorSummary_ = "";
     /**
+     *
+     *
      * 
      * A summary of all the errors.
      * 
* * string error_summary = 2; + * * @return The errorSummary. */ public java.lang.String getErrorSummary() { java.lang.Object ref = errorSummary_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorSummary_ = s; return s; @@ -931,20 +1013,21 @@ public java.lang.String getErrorSummary() { } } /** + * + * *
      * A summary of all the errors.
      * 
* * string error_summary = 2; + * * @return The bytes for errorSummary. */ - public com.google.protobuf.ByteString - getErrorSummaryBytes() { + public com.google.protobuf.ByteString getErrorSummaryBytes() { java.lang.Object ref = errorSummary_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); errorSummary_ = b; return b; } else { @@ -952,61 +1035,68 @@ public java.lang.String getErrorSummary() { } } /** + * + * *
      * A summary of all the errors.
      * 
* * string error_summary = 2; + * * @param value The errorSummary to set. * @return This builder for chaining. */ - public Builder setErrorSummary( - java.lang.String value) { + public Builder setErrorSummary(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + errorSummary_ = value; onChanged(); return this; } /** + * + * *
      * A summary of all the errors.
      * 
* * string error_summary = 2; + * * @return This builder for chaining. */ public Builder clearErrorSummary() { - + errorSummary_ = getDefaultInstance().getErrorSummary(); onChanged(); return this; } /** + * + * *
      * A summary of all the errors.
      * 
* * string error_summary = 2; + * * @param value The bytes for errorSummary to set. * @return This builder for chaining. */ - public Builder setErrorSummaryBytes( - com.google.protobuf.ByteString value) { + public Builder setErrorSummaryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + errorSummary_ = 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); } @@ -1016,12 +1106,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.QueryErrorList) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.QueryErrorList) private static final com.google.monitoring.v3.QueryErrorList DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.QueryErrorList(); } @@ -1030,16 +1120,16 @@ public static com.google.monitoring.v3.QueryErrorList getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryErrorList parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QueryErrorList(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryErrorList parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueryErrorList(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1054,6 +1144,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.QueryErrorList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryErrorListOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryErrorListOrBuilder.java similarity index 68% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryErrorListOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryErrorListOrBuilder.java index 12dea9a8..96c6fff6 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryErrorListOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryErrorListOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric_service.proto package com.google.monitoring.v3; -public interface QueryErrorListOrBuilder extends +public interface QueryErrorListOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.QueryErrorList) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Errors in parsing the time series query language text. The number of errors
    * in the response may be limited.
@@ -15,9 +33,10 @@ public interface QueryErrorListOrBuilder extends
    *
    * repeated .google.monitoring.v3.QueryError errors = 1;
    */
-  java.util.List 
-      getErrorsList();
+  java.util.List getErrorsList();
   /**
+   *
+   *
    * 
    * Errors in parsing the time series query language text. The number of errors
    * in the response may be limited.
@@ -27,6 +46,8 @@ public interface QueryErrorListOrBuilder extends
    */
   com.google.monitoring.v3.QueryError getErrors(int index);
   /**
+   *
+   *
    * 
    * Errors in parsing the time series query language text. The number of errors
    * in the response may be limited.
@@ -36,6 +57,8 @@ public interface QueryErrorListOrBuilder extends
    */
   int getErrorsCount();
   /**
+   *
+   *
    * 
    * Errors in parsing the time series query language text. The number of errors
    * in the response may be limited.
@@ -43,9 +66,10 @@ public interface QueryErrorListOrBuilder extends
    *
    * repeated .google.monitoring.v3.QueryError errors = 1;
    */
-  java.util.List 
-      getErrorsOrBuilderList();
+  java.util.List getErrorsOrBuilderList();
   /**
+   *
+   *
    * 
    * Errors in parsing the time series query language text. The number of errors
    * in the response may be limited.
@@ -53,26 +77,30 @@ public interface QueryErrorListOrBuilder extends
    *
    * repeated .google.monitoring.v3.QueryError errors = 1;
    */
-  com.google.monitoring.v3.QueryErrorOrBuilder getErrorsOrBuilder(
-      int index);
+  com.google.monitoring.v3.QueryErrorOrBuilder getErrorsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * A summary of all the errors.
    * 
* * string error_summary = 2; + * * @return The errorSummary. */ java.lang.String getErrorSummary(); /** + * + * *
    * A summary of all the errors.
    * 
* * string error_summary = 2; + * * @return The bytes for errorSummary. */ - com.google.protobuf.ByteString - getErrorSummaryBytes(); + com.google.protobuf.ByteString getErrorSummaryBytes(); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryErrorOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryErrorOrBuilder.java similarity index 64% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryErrorOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryErrorOrBuilder.java index 027d9b4e..43c59bc7 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryErrorOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryErrorOrBuilder.java @@ -1,33 +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/monitoring/v3/metric.proto package com.google.monitoring.v3; -public interface QueryErrorOrBuilder extends +public interface QueryErrorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.QueryError) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The location of the time series query language text that this error applies
    * to.
    * 
* * .google.monitoring.v3.TextLocator locator = 1; + * * @return Whether the locator field is set. */ boolean hasLocator(); /** + * + * *
    * The location of the time series query language text that this error applies
    * to.
    * 
* * .google.monitoring.v3.TextLocator locator = 1; + * * @return The locator. */ com.google.monitoring.v3.TextLocator getLocator(); /** + * + * *
    * The location of the time series query language text that this error applies
    * to.
@@ -38,22 +62,27 @@ public interface QueryErrorOrBuilder extends
   com.google.monitoring.v3.TextLocatorOrBuilder getLocatorOrBuilder();
 
   /**
+   *
+   *
    * 
    * The error message.
    * 
* * string message = 2; + * * @return The message. */ java.lang.String getMessage(); /** + * + * *
    * The error message.
    * 
* * string message = 2; + * * @return The bytes for message. */ - com.google.protobuf.ByteString - getMessageBytes(); + com.google.protobuf.ByteString getMessageBytes(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryServiceProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryServiceProto.java new file mode 100644 index 00000000..1d19a150 --- /dev/null +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryServiceProto.java @@ -0,0 +1,84 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/query_service.proto + +package com.google.monitoring.v3; + +public final class QueryServiceProto { + private QueryServiceProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n(google/monitoring/v3/query_service.pro" + + "to\022\024google.monitoring.v3\032\034google/api/ann" + + "otations.proto\032\026google/api/label.proto\032!" + + "google/monitoring/v3/metric.proto\032)googl" + + "e/monitoring/v3/metric_service.proto\032\027go" + + "ogle/api/client.proto2\336\002\n\014QueryService\022\241" + + "\001\n\017QueryTimeSeries\022,.google.monitoring.v" + + "3.QueryTimeSeriesRequest\032-.google.monito" + + "ring.v3.QueryTimeSeriesResponse\"1\202\323\344\223\002+\"" + + "&/v3/{name=projects/*}/timeSeries:query:" + + "\001*\032\251\001\312A\031monitoring.googleapis.com\322A\211\001htt" + + "ps://www.googleapis.com/auth/cloud-platf" + + "orm,https://www.googleapis.com/auth/moni" + + "toring,https://www.googleapis.com/auth/m" + + "onitoring.readB\311\001\n\030com.google.monitoring" + + ".v3B\021QueryServiceProtoP\001Z>google.golang." + + "org/genproto/googleapis/monitoring/v3;mo" + + "nitoring\252\002\032Google.Cloud.Monitoring.V3\312\002\032" + + "Google\\Cloud\\Monitoring\\V3\352\002\035Google::Clo" + + "ud::Monitoring::V3b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.LabelProto.getDescriptor(), + com.google.monitoring.v3.MetricProto.getDescriptor(), + com.google.monitoring.v3.MetricServiceProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.oauthScopes); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.LabelProto.getDescriptor(); + com.google.monitoring.v3.MetricProto.getDescriptor(); + com.google.monitoring.v3.MetricServiceProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesRequest.java similarity index 74% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesRequest.java index e401719b..73bf3690 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `QueryTimeSeries` request.
  * 
* * Protobuf type {@code google.monitoring.v3.QueryTimeSeriesRequest} */ -public final class QueryTimeSeriesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class QueryTimeSeriesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.QueryTimeSeriesRequest) QueryTimeSeriesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueryTimeSeriesRequest.newBuilder() to construct. private QueryTimeSeriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private QueryTimeSeriesRequest() { name_ = ""; query_ = ""; @@ -27,16 +45,15 @@ private QueryTimeSeriesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QueryTimeSeriesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private QueryTimeSeriesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,64 +72,71 @@ private QueryTimeSeriesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); - - query_ = s; - break; - } - case 72: { + name_ = s; + break; + } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 82: { - java.lang.String s = input.readStringRequireUtf8(); + query_ = s; + break; + } + case 72: + { + pageSize_ = input.readInt32(); + break; + } + case 82: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_QueryTimeSeriesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_QueryTimeSeriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_QueryTimeSeriesRequest_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_QueryTimeSeriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.QueryTimeSeriesRequest.class, com.google.monitoring.v3.QueryTimeSeriesRequest.Builder.class); + com.google.monitoring.v3.QueryTimeSeriesRequest.class, + com.google.monitoring.v3.QueryTimeSeriesRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
@@ -120,6 +144,7 @@ private QueryTimeSeriesRequest(
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -128,14 +153,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
@@ -143,16 +169,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -163,6 +188,8 @@ public java.lang.String getName() { public static final int QUERY_FIELD_NUMBER = 7; private volatile java.lang.Object query_; /** + * + * *
    * Required. The query in the [Monitoring Query
    * Language](https://cloud.google.com/monitoring/mql/reference) format.
@@ -170,6 +197,7 @@ public java.lang.String getName() {
    * 
* * string query = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return The query. */ @java.lang.Override @@ -178,14 +206,15 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** + * + * *
    * Required. The query in the [Monitoring Query
    * Language](https://cloud.google.com/monitoring/mql/reference) format.
@@ -193,16 +222,15 @@ public java.lang.String getQuery() {
    * 
* * string query = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); query_ = b; return b; } else { @@ -213,11 +241,14 @@ public java.lang.String getQuery() { public static final int PAGE_SIZE_FIELD_NUMBER = 9; private int pageSize_; /** + * + * *
    * A positive number that is the maximum number of time_series_data to return.
    * 
* * int32 page_size = 9; + * * @return The pageSize. */ @java.lang.Override @@ -228,6 +259,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 10; private volatile java.lang.Object pageToken_; /** + * + * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -235,6 +268,7 @@ public int getPageSize() {
    * 
* * string page_token = 10; + * * @return The pageToken. */ @java.lang.Override @@ -243,14 +277,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -258,16 +293,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 10; + * * @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 { @@ -276,6 +310,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -287,8 +322,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -317,8 +351,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, query_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(9, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, pageToken_); @@ -331,21 +364,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.monitoring.v3.QueryTimeSeriesRequest)) { return super.equals(obj); } - com.google.monitoring.v3.QueryTimeSeriesRequest other = (com.google.monitoring.v3.QueryTimeSeriesRequest) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getQuery() - .equals(other.getQuery())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + com.google.monitoring.v3.QueryTimeSeriesRequest other = + (com.google.monitoring.v3.QueryTimeSeriesRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getQuery().equals(other.getQuery())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -370,118 +400,127 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.QueryTimeSeriesRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.QueryTimeSeriesRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.QueryTimeSeriesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.QueryTimeSeriesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.QueryTimeSeriesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.QueryTimeSeriesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.QueryTimeSeriesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.QueryTimeSeriesRequest 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.monitoring.v3.QueryTimeSeriesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.QueryTimeSeriesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.QueryTimeSeriesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.QueryTimeSeriesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.QueryTimeSeriesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.QueryTimeSeriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.QueryTimeSeriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 `QueryTimeSeries` request.
    * 
* * Protobuf type {@code google.monitoring.v3.QueryTimeSeriesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.QueryTimeSeriesRequest) com.google.monitoring.v3.QueryTimeSeriesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_QueryTimeSeriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_QueryTimeSeriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_QueryTimeSeriesRequest_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_QueryTimeSeriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.QueryTimeSeriesRequest.class, com.google.monitoring.v3.QueryTimeSeriesRequest.Builder.class); + com.google.monitoring.v3.QueryTimeSeriesRequest.class, + com.google.monitoring.v3.QueryTimeSeriesRequest.Builder.class); } // Construct using com.google.monitoring.v3.QueryTimeSeriesRequest.newBuilder() @@ -489,16 +528,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -514,9 +552,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_QueryTimeSeriesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_QueryTimeSeriesRequest_descriptor; } @java.lang.Override @@ -535,7 +573,8 @@ public com.google.monitoring.v3.QueryTimeSeriesRequest build() { @java.lang.Override public com.google.monitoring.v3.QueryTimeSeriesRequest buildPartial() { - com.google.monitoring.v3.QueryTimeSeriesRequest result = new com.google.monitoring.v3.QueryTimeSeriesRequest(this); + com.google.monitoring.v3.QueryTimeSeriesRequest result = + new com.google.monitoring.v3.QueryTimeSeriesRequest(this); result.name_ = name_; result.query_ = query_; result.pageSize_ = pageSize_; @@ -548,38 +587,39 @@ public com.google.monitoring.v3.QueryTimeSeriesRequest 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.monitoring.v3.QueryTimeSeriesRequest) { - return mergeFrom((com.google.monitoring.v3.QueryTimeSeriesRequest)other); + return mergeFrom((com.google.monitoring.v3.QueryTimeSeriesRequest) other); } else { super.mergeFrom(other); return this; @@ -587,7 +627,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.QueryTimeSeriesRequest other) { - if (other == com.google.monitoring.v3.QueryTimeSeriesRequest.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.QueryTimeSeriesRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -634,6 +675,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
@@ -641,13 +684,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -656,6 +699,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
@@ -663,15 +708,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -679,6 +723,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
@@ -686,20 +732,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
@@ -707,15 +755,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
      * which to execute the request. The format is:
@@ -723,16 +774,16 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -740,6 +791,8 @@ public Builder setNameBytes( private java.lang.Object query_ = ""; /** + * + * *
      * Required. The query in the [Monitoring Query
      * Language](https://cloud.google.com/monitoring/mql/reference) format.
@@ -747,13 +800,13 @@ public Builder setNameBytes(
      * 
* * string query = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -762,6 +815,8 @@ public java.lang.String getQuery() { } } /** + * + * *
      * Required. The query in the [Monitoring Query
      * Language](https://cloud.google.com/monitoring/mql/reference) format.
@@ -769,15 +824,14 @@ public java.lang.String getQuery() {
      * 
* * string query = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for query. */ - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); query_ = b; return b; } else { @@ -785,6 +839,8 @@ public java.lang.String getQuery() { } } /** + * + * *
      * Required. The query in the [Monitoring Query
      * Language](https://cloud.google.com/monitoring/mql/reference) format.
@@ -792,20 +848,22 @@ public java.lang.String getQuery() {
      * 
* * string query = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery( - java.lang.String value) { + public Builder setQuery(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; onChanged(); return this; } /** + * + * *
      * Required. The query in the [Monitoring Query
      * Language](https://cloud.google.com/monitoring/mql/reference) format.
@@ -813,15 +871,18 @@ public Builder setQuery(
      * 
* * string query = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearQuery() { - + query_ = getDefaultInstance().getQuery(); onChanged(); return this; } /** + * + * *
      * Required. The query in the [Monitoring Query
      * Language](https://cloud.google.com/monitoring/mql/reference) format.
@@ -829,28 +890,31 @@ public Builder clearQuery() {
      * 
* * string query = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes( - com.google.protobuf.ByteString value) { + public Builder setQueryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * A positive number that is the maximum number of time_series_data to return.
      * 
* * int32 page_size = 9; + * * @return The pageSize. */ @java.lang.Override @@ -858,30 +922,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * A positive number that is the maximum number of time_series_data to return.
      * 
* * int32 page_size = 9; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * A positive number that is the maximum number of time_series_data to return.
      * 
* * int32 page_size = 9; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -889,6 +959,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -896,13 +968,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 10; + * * @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; @@ -911,6 +983,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -918,15 +992,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 10; + * * @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 { @@ -934,6 +1007,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -941,20 +1016,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 10; + * * @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; } /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -962,15 +1039,18 @@ public Builder setPageToken(
      * 
* * string page_token = 10; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * If this field is not empty then it must contain the `nextPageToken` value
      * returned by a previous call to this method.  Using this field causes the
@@ -978,23 +1058,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 10; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1004,12 +1084,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.QueryTimeSeriesRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.QueryTimeSeriesRequest) private static final com.google.monitoring.v3.QueryTimeSeriesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.QueryTimeSeriesRequest(); } @@ -1018,16 +1098,16 @@ public static com.google.monitoring.v3.QueryTimeSeriesRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryTimeSeriesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QueryTimeSeriesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryTimeSeriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueryTimeSeriesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1042,6 +1122,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.QueryTimeSeriesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesRequestOrBuilder.java similarity index 73% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesRequestOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesRequestOrBuilder.java index 2fff1cfe..6efbfe4c 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric_service.proto package com.google.monitoring.v3; -public interface QueryTimeSeriesRequestOrBuilder extends +public interface QueryTimeSeriesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.QueryTimeSeriesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
@@ -15,10 +33,13 @@ public interface QueryTimeSeriesRequestOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
    * which to execute the request. The format is:
@@ -26,12 +47,14 @@ public interface QueryTimeSeriesRequestOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The query in the [Monitoring Query
    * Language](https://cloud.google.com/monitoring/mql/reference) format.
@@ -39,10 +62,13 @@ public interface QueryTimeSeriesRequestOrBuilder extends
    * 
* * string query = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return The query. */ java.lang.String getQuery(); /** + * + * *
    * Required. The query in the [Monitoring Query
    * Language](https://cloud.google.com/monitoring/mql/reference) format.
@@ -50,22 +76,27 @@ public interface QueryTimeSeriesRequestOrBuilder extends
    * 
* * string query = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for query. */ - com.google.protobuf.ByteString - getQueryBytes(); + com.google.protobuf.ByteString getQueryBytes(); /** + * + * *
    * A positive number that is the maximum number of time_series_data to return.
    * 
* * int32 page_size = 9; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -73,10 +104,13 @@ public interface QueryTimeSeriesRequestOrBuilder extends
    * 
* * string page_token = 10; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * If this field is not empty then it must contain the `nextPageToken` value
    * returned by a previous call to this method.  Using this field causes the
@@ -84,8 +118,8 @@ public interface QueryTimeSeriesRequestOrBuilder extends
    * 
* * string page_token = 10; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesResponse.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesResponse.java similarity index 77% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesResponse.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesResponse.java index 506c0a73..0d72b9d7 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesResponse.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `QueryTimeSeries` response.
  * 
* * Protobuf type {@code google.monitoring.v3.QueryTimeSeriesResponse} */ -public final class QueryTimeSeriesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class QueryTimeSeriesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.QueryTimeSeriesResponse) QueryTimeSeriesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueryTimeSeriesResponse.newBuilder() to construct. private QueryTimeSeriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private QueryTimeSeriesResponse() { timeSeriesData_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -27,16 +45,15 @@ private QueryTimeSeriesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QueryTimeSeriesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private QueryTimeSeriesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,57 +73,64 @@ private QueryTimeSeriesResponse( case 0: done = true; break; - case 66: { - com.google.monitoring.v3.TimeSeriesDescriptor.Builder subBuilder = null; - if (timeSeriesDescriptor_ != null) { - subBuilder = timeSeriesDescriptor_.toBuilder(); + case 66: + { + com.google.monitoring.v3.TimeSeriesDescriptor.Builder subBuilder = null; + if (timeSeriesDescriptor_ != null) { + subBuilder = timeSeriesDescriptor_.toBuilder(); + } + timeSeriesDescriptor_ = + input.readMessage( + com.google.monitoring.v3.TimeSeriesDescriptor.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timeSeriesDescriptor_); + timeSeriesDescriptor_ = subBuilder.buildPartial(); + } + + break; } - timeSeriesDescriptor_ = input.readMessage(com.google.monitoring.v3.TimeSeriesDescriptor.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timeSeriesDescriptor_); - timeSeriesDescriptor_ = subBuilder.buildPartial(); + case 74: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + timeSeriesData_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + timeSeriesData_.add( + input.readMessage( + com.google.monitoring.v3.TimeSeriesData.parser(), extensionRegistry)); + break; } + case 82: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 74: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - timeSeriesData_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + nextPageToken_ = s; + break; } - timeSeriesData_.add( - input.readMessage(com.google.monitoring.v3.TimeSeriesData.parser(), extensionRegistry)); - break; - } - case 82: { - java.lang.String s = input.readStringRequireUtf8(); - - nextPageToken_ = s; - break; - } - case 90: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - partialErrors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 90: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + partialErrors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + partialErrors_.add( + input.readMessage(com.google.rpc.Status.parser(), extensionRegistry)); + break; } - partialErrors_.add( - input.readMessage(com.google.rpc.Status.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { timeSeriesData_ = java.util.Collections.unmodifiableList(timeSeriesData_); @@ -118,27 +142,33 @@ private QueryTimeSeriesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_QueryTimeSeriesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_QueryTimeSeriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_QueryTimeSeriesResponse_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_QueryTimeSeriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.QueryTimeSeriesResponse.class, com.google.monitoring.v3.QueryTimeSeriesResponse.Builder.class); + com.google.monitoring.v3.QueryTimeSeriesResponse.class, + com.google.monitoring.v3.QueryTimeSeriesResponse.Builder.class); } public static final int TIME_SERIES_DESCRIPTOR_FIELD_NUMBER = 8; private com.google.monitoring.v3.TimeSeriesDescriptor timeSeriesDescriptor_; /** + * + * *
    * The descriptor for the time series data.
    * 
* * .google.monitoring.v3.TimeSeriesDescriptor time_series_descriptor = 8; + * * @return Whether the timeSeriesDescriptor field is set. */ @java.lang.Override @@ -146,18 +176,25 @@ public boolean hasTimeSeriesDescriptor() { return timeSeriesDescriptor_ != null; } /** + * + * *
    * The descriptor for the time series data.
    * 
* * .google.monitoring.v3.TimeSeriesDescriptor time_series_descriptor = 8; + * * @return The timeSeriesDescriptor. */ @java.lang.Override public com.google.monitoring.v3.TimeSeriesDescriptor getTimeSeriesDescriptor() { - return timeSeriesDescriptor_ == null ? com.google.monitoring.v3.TimeSeriesDescriptor.getDefaultInstance() : timeSeriesDescriptor_; + return timeSeriesDescriptor_ == null + ? com.google.monitoring.v3.TimeSeriesDescriptor.getDefaultInstance() + : timeSeriesDescriptor_; } /** + * + * *
    * The descriptor for the time series data.
    * 
@@ -172,6 +209,8 @@ public com.google.monitoring.v3.TimeSeriesDescriptorOrBuilder getTimeSeriesDescr public static final int TIME_SERIES_DATA_FIELD_NUMBER = 9; private java.util.List timeSeriesData_; /** + * + * *
    * The time series data.
    * 
@@ -183,6 +222,8 @@ public java.util.List getTimeSeriesData return timeSeriesData_; } /** + * + * *
    * The time series data.
    * 
@@ -190,11 +231,13 @@ public java.util.List getTimeSeriesData * repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9; */ @java.lang.Override - public java.util.List + public java.util.List getTimeSeriesDataOrBuilderList() { return timeSeriesData_; } /** + * + * *
    * The time series data.
    * 
@@ -206,6 +249,8 @@ public int getTimeSeriesDataCount() { return timeSeriesData_.size(); } /** + * + * *
    * The time series data.
    * 
@@ -217,6 +262,8 @@ public com.google.monitoring.v3.TimeSeriesData getTimeSeriesData(int index) { return timeSeriesData_.get(index); } /** + * + * *
    * The time series data.
    * 
@@ -224,14 +271,15 @@ public com.google.monitoring.v3.TimeSeriesData getTimeSeriesData(int index) { * repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9; */ @java.lang.Override - public com.google.monitoring.v3.TimeSeriesDataOrBuilder getTimeSeriesDataOrBuilder( - int index) { + public com.google.monitoring.v3.TimeSeriesDataOrBuilder getTimeSeriesDataOrBuilder(int index) { return timeSeriesData_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 10; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results, use that value as
@@ -239,6 +287,7 @@ public com.google.monitoring.v3.TimeSeriesDataOrBuilder getTimeSeriesDataOrBuild
    * 
* * string next_page_token = 10; + * * @return The nextPageToken. */ @java.lang.Override @@ -247,14 +296,15 @@ 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; } } /** + * + * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results, use that value as
@@ -262,16 +312,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 10; + * * @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 { @@ -282,6 +331,8 @@ public java.lang.String getNextPageToken() { public static final int PARTIAL_ERRORS_FIELD_NUMBER = 11; private java.util.List partialErrors_; /** + * + * *
    * Query execution errors that may have caused the time series data returned
    * to be incomplete. The available data will be available in the
@@ -295,6 +346,8 @@ public java.util.List getPartialErrorsList() {
     return partialErrors_;
   }
   /**
+   *
+   *
    * 
    * Query execution errors that may have caused the time series data returned
    * to be incomplete. The available data will be available in the
@@ -304,11 +357,12 @@ public java.util.List getPartialErrorsList() {
    * repeated .google.rpc.Status partial_errors = 11;
    */
   @java.lang.Override
-  public java.util.List 
-      getPartialErrorsOrBuilderList() {
+  public java.util.List getPartialErrorsOrBuilderList() {
     return partialErrors_;
   }
   /**
+   *
+   *
    * 
    * Query execution errors that may have caused the time series data returned
    * to be incomplete. The available data will be available in the
@@ -322,6 +376,8 @@ public int getPartialErrorsCount() {
     return partialErrors_.size();
   }
   /**
+   *
+   *
    * 
    * Query execution errors that may have caused the time series data returned
    * to be incomplete. The available data will be available in the
@@ -335,6 +391,8 @@ public com.google.rpc.Status getPartialErrors(int index) {
     return partialErrors_.get(index);
   }
   /**
+   *
+   *
    * 
    * Query execution errors that may have caused the time series data returned
    * to be incomplete. The available data will be available in the
@@ -344,12 +402,12 @@ public com.google.rpc.Status getPartialErrors(int index) {
    * repeated .google.rpc.Status partial_errors = 11;
    */
   @java.lang.Override
-  public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(
-      int index) {
+  public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(int index) {
     return partialErrors_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -361,8 +419,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (timeSeriesDescriptor_ != null) {
       output.writeMessage(8, getTimeSeriesDescriptor());
     }
@@ -385,19 +442,17 @@ public int getSerializedSize() {
 
     size = 0;
     if (timeSeriesDescriptor_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(8, getTimeSeriesDescriptor());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(8, getTimeSeriesDescriptor());
     }
     for (int i = 0; i < timeSeriesData_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(9, timeSeriesData_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, timeSeriesData_.get(i));
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, nextPageToken_);
     }
     for (int i = 0; i < partialErrors_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(11, partialErrors_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, partialErrors_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -407,24 +462,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.monitoring.v3.QueryTimeSeriesResponse)) {
       return super.equals(obj);
     }
-    com.google.monitoring.v3.QueryTimeSeriesResponse other = (com.google.monitoring.v3.QueryTimeSeriesResponse) obj;
+    com.google.monitoring.v3.QueryTimeSeriesResponse other =
+        (com.google.monitoring.v3.QueryTimeSeriesResponse) obj;
 
     if (hasTimeSeriesDescriptor() != other.hasTimeSeriesDescriptor()) return false;
     if (hasTimeSeriesDescriptor()) {
-      if (!getTimeSeriesDescriptor()
-          .equals(other.getTimeSeriesDescriptor())) return false;
-    }
-    if (!getTimeSeriesDataList()
-        .equals(other.getTimeSeriesDataList())) return false;
-    if (!getNextPageToken()
-        .equals(other.getNextPageToken())) return false;
-    if (!getPartialErrorsList()
-        .equals(other.getPartialErrorsList())) return false;
+      if (!getTimeSeriesDescriptor().equals(other.getTimeSeriesDescriptor())) return false;
+    }
+    if (!getTimeSeriesDataList().equals(other.getTimeSeriesDataList())) return false;
+    if (!getNextPageToken().equals(other.getNextPageToken())) return false;
+    if (!getPartialErrorsList().equals(other.getPartialErrorsList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -455,118 +507,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.monitoring.v3.QueryTimeSeriesResponse parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.monitoring.v3.QueryTimeSeriesResponse parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.monitoring.v3.QueryTimeSeriesResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.monitoring.v3.QueryTimeSeriesResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.monitoring.v3.QueryTimeSeriesResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.monitoring.v3.QueryTimeSeriesResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.monitoring.v3.QueryTimeSeriesResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.monitoring.v3.QueryTimeSeriesResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.monitoring.v3.QueryTimeSeriesResponse parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.monitoring.v3.QueryTimeSeriesResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.monitoring.v3.QueryTimeSeriesResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.monitoring.v3.QueryTimeSeriesResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.monitoring.v3.QueryTimeSeriesResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.monitoring.v3.QueryTimeSeriesResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.monitoring.v3.QueryTimeSeriesResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.monitoring.v3.QueryTimeSeriesResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder 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 `QueryTimeSeries` response.
    * 
* * Protobuf type {@code google.monitoring.v3.QueryTimeSeriesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.QueryTimeSeriesResponse) com.google.monitoring.v3.QueryTimeSeriesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_QueryTimeSeriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_QueryTimeSeriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_QueryTimeSeriesResponse_fieldAccessorTable + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_QueryTimeSeriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.QueryTimeSeriesResponse.class, com.google.monitoring.v3.QueryTimeSeriesResponse.Builder.class); + com.google.monitoring.v3.QueryTimeSeriesResponse.class, + com.google.monitoring.v3.QueryTimeSeriesResponse.Builder.class); } // Construct using com.google.monitoring.v3.QueryTimeSeriesResponse.newBuilder() @@ -574,18 +635,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getTimeSeriesDataFieldBuilder(); getPartialErrorsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -613,9 +674,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.MetricServiceProto.internal_static_google_monitoring_v3_QueryTimeSeriesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.MetricServiceProto + .internal_static_google_monitoring_v3_QueryTimeSeriesResponse_descriptor; } @java.lang.Override @@ -634,7 +695,8 @@ public com.google.monitoring.v3.QueryTimeSeriesResponse build() { @java.lang.Override public com.google.monitoring.v3.QueryTimeSeriesResponse buildPartial() { - com.google.monitoring.v3.QueryTimeSeriesResponse result = new com.google.monitoring.v3.QueryTimeSeriesResponse(this); + com.google.monitoring.v3.QueryTimeSeriesResponse result = + new com.google.monitoring.v3.QueryTimeSeriesResponse(this); int from_bitField0_ = bitField0_; if (timeSeriesDescriptorBuilder_ == null) { result.timeSeriesDescriptor_ = timeSeriesDescriptor_; @@ -668,38 +730,39 @@ public com.google.monitoring.v3.QueryTimeSeriesResponse 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.monitoring.v3.QueryTimeSeriesResponse) { - return mergeFrom((com.google.monitoring.v3.QueryTimeSeriesResponse)other); + return mergeFrom((com.google.monitoring.v3.QueryTimeSeriesResponse) other); } else { super.mergeFrom(other); return this; @@ -707,7 +770,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.QueryTimeSeriesResponse other) { - if (other == com.google.monitoring.v3.QueryTimeSeriesResponse.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.QueryTimeSeriesResponse.getDefaultInstance()) + return this; if (other.hasTimeSeriesDescriptor()) { mergeTimeSeriesDescriptor(other.getTimeSeriesDescriptor()); } @@ -729,9 +793,10 @@ public Builder mergeFrom(com.google.monitoring.v3.QueryTimeSeriesResponse other) timeSeriesDataBuilder_ = null; timeSeriesData_ = other.timeSeriesData_; bitField0_ = (bitField0_ & ~0x00000001); - timeSeriesDataBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTimeSeriesDataFieldBuilder() : null; + timeSeriesDataBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTimeSeriesDataFieldBuilder() + : null; } else { timeSeriesDataBuilder_.addAllMessages(other.timeSeriesData_); } @@ -759,9 +824,10 @@ public Builder mergeFrom(com.google.monitoring.v3.QueryTimeSeriesResponse other) partialErrorsBuilder_ = null; partialErrors_ = other.partialErrors_; bitField0_ = (bitField0_ & ~0x00000002); - partialErrorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPartialErrorsFieldBuilder() : null; + partialErrorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPartialErrorsFieldBuilder() + : null; } else { partialErrorsBuilder_.addAllMessages(other.partialErrors_); } @@ -795,38 +861,52 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private com.google.monitoring.v3.TimeSeriesDescriptor timeSeriesDescriptor_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TimeSeriesDescriptor, com.google.monitoring.v3.TimeSeriesDescriptor.Builder, com.google.monitoring.v3.TimeSeriesDescriptorOrBuilder> timeSeriesDescriptorBuilder_; + com.google.monitoring.v3.TimeSeriesDescriptor, + com.google.monitoring.v3.TimeSeriesDescriptor.Builder, + com.google.monitoring.v3.TimeSeriesDescriptorOrBuilder> + timeSeriesDescriptorBuilder_; /** + * + * *
      * The descriptor for the time series data.
      * 
* * .google.monitoring.v3.TimeSeriesDescriptor time_series_descriptor = 8; + * * @return Whether the timeSeriesDescriptor field is set. */ public boolean hasTimeSeriesDescriptor() { return timeSeriesDescriptorBuilder_ != null || timeSeriesDescriptor_ != null; } /** + * + * *
      * The descriptor for the time series data.
      * 
* * .google.monitoring.v3.TimeSeriesDescriptor time_series_descriptor = 8; + * * @return The timeSeriesDescriptor. */ public com.google.monitoring.v3.TimeSeriesDescriptor getTimeSeriesDescriptor() { if (timeSeriesDescriptorBuilder_ == null) { - return timeSeriesDescriptor_ == null ? com.google.monitoring.v3.TimeSeriesDescriptor.getDefaultInstance() : timeSeriesDescriptor_; + return timeSeriesDescriptor_ == null + ? com.google.monitoring.v3.TimeSeriesDescriptor.getDefaultInstance() + : timeSeriesDescriptor_; } else { return timeSeriesDescriptorBuilder_.getMessage(); } } /** + * + * *
      * The descriptor for the time series data.
      * 
@@ -847,6 +927,8 @@ public Builder setTimeSeriesDescriptor(com.google.monitoring.v3.TimeSeriesDescri return this; } /** + * + * *
      * The descriptor for the time series data.
      * 
@@ -865,6 +947,8 @@ public Builder setTimeSeriesDescriptor( return this; } /** + * + * *
      * The descriptor for the time series data.
      * 
@@ -875,7 +959,9 @@ public Builder mergeTimeSeriesDescriptor(com.google.monitoring.v3.TimeSeriesDesc if (timeSeriesDescriptorBuilder_ == null) { if (timeSeriesDescriptor_ != null) { timeSeriesDescriptor_ = - com.google.monitoring.v3.TimeSeriesDescriptor.newBuilder(timeSeriesDescriptor_).mergeFrom(value).buildPartial(); + com.google.monitoring.v3.TimeSeriesDescriptor.newBuilder(timeSeriesDescriptor_) + .mergeFrom(value) + .buildPartial(); } else { timeSeriesDescriptor_ = value; } @@ -887,6 +973,8 @@ public Builder mergeTimeSeriesDescriptor(com.google.monitoring.v3.TimeSeriesDesc return this; } /** + * + * *
      * The descriptor for the time series data.
      * 
@@ -905,6 +993,8 @@ public Builder clearTimeSeriesDescriptor() { return this; } /** + * + * *
      * The descriptor for the time series data.
      * 
@@ -912,26 +1002,32 @@ public Builder clearTimeSeriesDescriptor() { * .google.monitoring.v3.TimeSeriesDescriptor time_series_descriptor = 8; */ public com.google.monitoring.v3.TimeSeriesDescriptor.Builder getTimeSeriesDescriptorBuilder() { - + onChanged(); return getTimeSeriesDescriptorFieldBuilder().getBuilder(); } /** + * + * *
      * The descriptor for the time series data.
      * 
* * .google.monitoring.v3.TimeSeriesDescriptor time_series_descriptor = 8; */ - public com.google.monitoring.v3.TimeSeriesDescriptorOrBuilder getTimeSeriesDescriptorOrBuilder() { + public com.google.monitoring.v3.TimeSeriesDescriptorOrBuilder + getTimeSeriesDescriptorOrBuilder() { if (timeSeriesDescriptorBuilder_ != null) { return timeSeriesDescriptorBuilder_.getMessageOrBuilder(); } else { - return timeSeriesDescriptor_ == null ? - com.google.monitoring.v3.TimeSeriesDescriptor.getDefaultInstance() : timeSeriesDescriptor_; + return timeSeriesDescriptor_ == null + ? com.google.monitoring.v3.TimeSeriesDescriptor.getDefaultInstance() + : timeSeriesDescriptor_; } } /** + * + * *
      * The descriptor for the time series data.
      * 
@@ -939,32 +1035,42 @@ public com.google.monitoring.v3.TimeSeriesDescriptorOrBuilder getTimeSeriesDescr * .google.monitoring.v3.TimeSeriesDescriptor time_series_descriptor = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TimeSeriesDescriptor, com.google.monitoring.v3.TimeSeriesDescriptor.Builder, com.google.monitoring.v3.TimeSeriesDescriptorOrBuilder> + com.google.monitoring.v3.TimeSeriesDescriptor, + com.google.monitoring.v3.TimeSeriesDescriptor.Builder, + com.google.monitoring.v3.TimeSeriesDescriptorOrBuilder> getTimeSeriesDescriptorFieldBuilder() { if (timeSeriesDescriptorBuilder_ == null) { - timeSeriesDescriptorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TimeSeriesDescriptor, com.google.monitoring.v3.TimeSeriesDescriptor.Builder, com.google.monitoring.v3.TimeSeriesDescriptorOrBuilder>( - getTimeSeriesDescriptor(), - getParentForChildren(), - isClean()); + timeSeriesDescriptorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.TimeSeriesDescriptor, + com.google.monitoring.v3.TimeSeriesDescriptor.Builder, + com.google.monitoring.v3.TimeSeriesDescriptorOrBuilder>( + getTimeSeriesDescriptor(), getParentForChildren(), isClean()); timeSeriesDescriptor_ = null; } return timeSeriesDescriptorBuilder_; } private java.util.List timeSeriesData_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTimeSeriesDataIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - timeSeriesData_ = new java.util.ArrayList(timeSeriesData_); + timeSeriesData_ = + new java.util.ArrayList(timeSeriesData_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.TimeSeriesData, com.google.monitoring.v3.TimeSeriesData.Builder, com.google.monitoring.v3.TimeSeriesDataOrBuilder> timeSeriesDataBuilder_; + com.google.monitoring.v3.TimeSeriesData, + com.google.monitoring.v3.TimeSeriesData.Builder, + com.google.monitoring.v3.TimeSeriesDataOrBuilder> + timeSeriesDataBuilder_; /** + * + * *
      * The time series data.
      * 
@@ -979,6 +1085,8 @@ public java.util.List getTimeSeriesData } } /** + * + * *
      * The time series data.
      * 
@@ -993,6 +1101,8 @@ public int getTimeSeriesDataCount() { } } /** + * + * *
      * The time series data.
      * 
@@ -1007,14 +1117,15 @@ public com.google.monitoring.v3.TimeSeriesData getTimeSeriesData(int index) { } } /** + * + * *
      * The time series data.
      * 
* * repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9; */ - public Builder setTimeSeriesData( - int index, com.google.monitoring.v3.TimeSeriesData value) { + public Builder setTimeSeriesData(int index, com.google.monitoring.v3.TimeSeriesData value) { if (timeSeriesDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1028,6 +1139,8 @@ public Builder setTimeSeriesData( return this; } /** + * + * *
      * The time series data.
      * 
@@ -1046,6 +1159,8 @@ public Builder setTimeSeriesData( return this; } /** + * + * *
      * The time series data.
      * 
@@ -1066,14 +1181,15 @@ public Builder addTimeSeriesData(com.google.monitoring.v3.TimeSeriesData value) return this; } /** + * + * *
      * The time series data.
      * 
* * repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9; */ - public Builder addTimeSeriesData( - int index, com.google.monitoring.v3.TimeSeriesData value) { + public Builder addTimeSeriesData(int index, com.google.monitoring.v3.TimeSeriesData value) { if (timeSeriesDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1087,6 +1203,8 @@ public Builder addTimeSeriesData( return this; } /** + * + * *
      * The time series data.
      * 
@@ -1105,6 +1223,8 @@ public Builder addTimeSeriesData( return this; } /** + * + * *
      * The time series data.
      * 
@@ -1123,6 +1243,8 @@ public Builder addTimeSeriesData( return this; } /** + * + * *
      * The time series data.
      * 
@@ -1133,8 +1255,7 @@ public Builder addAllTimeSeriesData( java.lang.Iterable values) { if (timeSeriesDataBuilder_ == null) { ensureTimeSeriesDataIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, timeSeriesData_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, timeSeriesData_); onChanged(); } else { timeSeriesDataBuilder_.addAllMessages(values); @@ -1142,6 +1263,8 @@ public Builder addAllTimeSeriesData( return this; } /** + * + * *
      * The time series data.
      * 
@@ -1159,6 +1282,8 @@ public Builder clearTimeSeriesData() { return this; } /** + * + * *
      * The time series data.
      * 
@@ -1176,39 +1301,44 @@ public Builder removeTimeSeriesData(int index) { return this; } /** + * + * *
      * The time series data.
      * 
* * repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9; */ - public com.google.monitoring.v3.TimeSeriesData.Builder getTimeSeriesDataBuilder( - int index) { + public com.google.monitoring.v3.TimeSeriesData.Builder getTimeSeriesDataBuilder(int index) { return getTimeSeriesDataFieldBuilder().getBuilder(index); } /** + * + * *
      * The time series data.
      * 
* * repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9; */ - public com.google.monitoring.v3.TimeSeriesDataOrBuilder getTimeSeriesDataOrBuilder( - int index) { + public com.google.monitoring.v3.TimeSeriesDataOrBuilder getTimeSeriesDataOrBuilder(int index) { if (timeSeriesDataBuilder_ == null) { - return timeSeriesData_.get(index); } else { + return timeSeriesData_.get(index); + } else { return timeSeriesDataBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The time series data.
      * 
* * repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9; */ - public java.util.List - getTimeSeriesDataOrBuilderList() { + public java.util.List + getTimeSeriesDataOrBuilderList() { if (timeSeriesDataBuilder_ != null) { return timeSeriesDataBuilder_.getMessageOrBuilderList(); } else { @@ -1216,6 +1346,8 @@ public com.google.monitoring.v3.TimeSeriesDataOrBuilder getTimeSeriesDataOrBuild } } /** + * + * *
      * The time series data.
      * 
@@ -1223,38 +1355,47 @@ public com.google.monitoring.v3.TimeSeriesDataOrBuilder getTimeSeriesDataOrBuild * repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9; */ public com.google.monitoring.v3.TimeSeriesData.Builder addTimeSeriesDataBuilder() { - return getTimeSeriesDataFieldBuilder().addBuilder( - com.google.monitoring.v3.TimeSeriesData.getDefaultInstance()); + return getTimeSeriesDataFieldBuilder() + .addBuilder(com.google.monitoring.v3.TimeSeriesData.getDefaultInstance()); } /** + * + * *
      * The time series data.
      * 
* * repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9; */ - public com.google.monitoring.v3.TimeSeriesData.Builder addTimeSeriesDataBuilder( - int index) { - return getTimeSeriesDataFieldBuilder().addBuilder( - index, com.google.monitoring.v3.TimeSeriesData.getDefaultInstance()); + public com.google.monitoring.v3.TimeSeriesData.Builder addTimeSeriesDataBuilder(int index) { + return getTimeSeriesDataFieldBuilder() + .addBuilder(index, com.google.monitoring.v3.TimeSeriesData.getDefaultInstance()); } /** + * + * *
      * The time series data.
      * 
* * repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9; */ - public java.util.List - getTimeSeriesDataBuilderList() { + public java.util.List + getTimeSeriesDataBuilderList() { return getTimeSeriesDataFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.TimeSeriesData, com.google.monitoring.v3.TimeSeriesData.Builder, com.google.monitoring.v3.TimeSeriesDataOrBuilder> + com.google.monitoring.v3.TimeSeriesData, + com.google.monitoring.v3.TimeSeriesData.Builder, + com.google.monitoring.v3.TimeSeriesDataOrBuilder> getTimeSeriesDataFieldBuilder() { if (timeSeriesDataBuilder_ == null) { - timeSeriesDataBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.TimeSeriesData, com.google.monitoring.v3.TimeSeriesData.Builder, com.google.monitoring.v3.TimeSeriesDataOrBuilder>( + timeSeriesDataBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.monitoring.v3.TimeSeriesData, + com.google.monitoring.v3.TimeSeriesData.Builder, + com.google.monitoring.v3.TimeSeriesDataOrBuilder>( timeSeriesData_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1266,6 +1407,8 @@ public com.google.monitoring.v3.TimeSeriesData.Builder addTimeSeriesDataBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results, use that value as
@@ -1273,13 +1416,13 @@ public com.google.monitoring.v3.TimeSeriesData.Builder addTimeSeriesDataBuilder(
      * 
* * string next_page_token = 10; + * * @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; @@ -1288,6 +1431,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results, use that value as
@@ -1295,15 +1440,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 10; + * * @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 { @@ -1311,6 +1455,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results, use that value as
@@ -1318,20 +1464,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 10; + * * @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; } /** + * + * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results, use that value as
@@ -1339,15 +1487,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 10; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * If there are more results than have been returned, then this field is set
      * to a non-empty value.  To see the additional results, use that value as
@@ -1355,34 +1506,38 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 10; + * * @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; } private java.util.List partialErrors_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePartialErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { partialErrors_ = new java.util.ArrayList(partialErrors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> partialErrorsBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + partialErrorsBuilder_; /** + * + * *
      * Query execution errors that may have caused the time series data returned
      * to be incomplete. The available data will be available in the
@@ -1399,6 +1554,8 @@ public java.util.List getPartialErrorsList() {
       }
     }
     /**
+     *
+     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete. The available data will be available in the
@@ -1415,6 +1572,8 @@ public int getPartialErrorsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete. The available data will be available in the
@@ -1431,6 +1590,8 @@ public com.google.rpc.Status getPartialErrors(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete. The available data will be available in the
@@ -1439,8 +1600,7 @@ public com.google.rpc.Status getPartialErrors(int index) {
      *
      * repeated .google.rpc.Status partial_errors = 11;
      */
-    public Builder setPartialErrors(
-        int index, com.google.rpc.Status value) {
+    public Builder setPartialErrors(int index, com.google.rpc.Status value) {
       if (partialErrorsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1454,6 +1614,8 @@ public Builder setPartialErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete. The available data will be available in the
@@ -1462,8 +1624,7 @@ public Builder setPartialErrors(
      *
      * repeated .google.rpc.Status partial_errors = 11;
      */
-    public Builder setPartialErrors(
-        int index, com.google.rpc.Status.Builder builderForValue) {
+    public Builder setPartialErrors(int index, com.google.rpc.Status.Builder builderForValue) {
       if (partialErrorsBuilder_ == null) {
         ensurePartialErrorsIsMutable();
         partialErrors_.set(index, builderForValue.build());
@@ -1474,6 +1635,8 @@ public Builder setPartialErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete. The available data will be available in the
@@ -1496,6 +1659,8 @@ public Builder addPartialErrors(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete. The available data will be available in the
@@ -1504,8 +1669,7 @@ public Builder addPartialErrors(com.google.rpc.Status value) {
      *
      * repeated .google.rpc.Status partial_errors = 11;
      */
-    public Builder addPartialErrors(
-        int index, com.google.rpc.Status value) {
+    public Builder addPartialErrors(int index, com.google.rpc.Status value) {
       if (partialErrorsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1519,6 +1683,8 @@ public Builder addPartialErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete. The available data will be available in the
@@ -1527,8 +1693,7 @@ public Builder addPartialErrors(
      *
      * repeated .google.rpc.Status partial_errors = 11;
      */
-    public Builder addPartialErrors(
-        com.google.rpc.Status.Builder builderForValue) {
+    public Builder addPartialErrors(com.google.rpc.Status.Builder builderForValue) {
       if (partialErrorsBuilder_ == null) {
         ensurePartialErrorsIsMutable();
         partialErrors_.add(builderForValue.build());
@@ -1539,6 +1704,8 @@ public Builder addPartialErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete. The available data will be available in the
@@ -1547,8 +1714,7 @@ public Builder addPartialErrors(
      *
      * repeated .google.rpc.Status partial_errors = 11;
      */
-    public Builder addPartialErrors(
-        int index, com.google.rpc.Status.Builder builderForValue) {
+    public Builder addPartialErrors(int index, com.google.rpc.Status.Builder builderForValue) {
       if (partialErrorsBuilder_ == null) {
         ensurePartialErrorsIsMutable();
         partialErrors_.add(index, builderForValue.build());
@@ -1559,6 +1725,8 @@ public Builder addPartialErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete. The available data will be available in the
@@ -1567,12 +1735,10 @@ public Builder addPartialErrors(
      *
      * repeated .google.rpc.Status partial_errors = 11;
      */
-    public Builder addAllPartialErrors(
-        java.lang.Iterable values) {
+    public Builder addAllPartialErrors(java.lang.Iterable values) {
       if (partialErrorsBuilder_ == null) {
         ensurePartialErrorsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, partialErrors_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, partialErrors_);
         onChanged();
       } else {
         partialErrorsBuilder_.addAllMessages(values);
@@ -1580,6 +1746,8 @@ public Builder addAllPartialErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete. The available data will be available in the
@@ -1599,6 +1767,8 @@ public Builder clearPartialErrors() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete. The available data will be available in the
@@ -1618,6 +1788,8 @@ public Builder removePartialErrors(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete. The available data will be available in the
@@ -1626,11 +1798,12 @@ public Builder removePartialErrors(int index) {
      *
      * repeated .google.rpc.Status partial_errors = 11;
      */
-    public com.google.rpc.Status.Builder getPartialErrorsBuilder(
-        int index) {
+    public com.google.rpc.Status.Builder getPartialErrorsBuilder(int index) {
       return getPartialErrorsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete. The available data will be available in the
@@ -1639,14 +1812,16 @@ public com.google.rpc.Status.Builder getPartialErrorsBuilder(
      *
      * repeated .google.rpc.Status partial_errors = 11;
      */
-    public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(
-        int index) {
+    public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(int index) {
       if (partialErrorsBuilder_ == null) {
-        return partialErrors_.get(index);  } else {
+        return partialErrors_.get(index);
+      } else {
         return partialErrorsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete. The available data will be available in the
@@ -1655,8 +1830,8 @@ public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(
      *
      * repeated .google.rpc.Status partial_errors = 11;
      */
-    public java.util.List 
-         getPartialErrorsOrBuilderList() {
+    public java.util.List
+        getPartialErrorsOrBuilderList() {
       if (partialErrorsBuilder_ != null) {
         return partialErrorsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1664,6 +1839,8 @@ public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete. The available data will be available in the
@@ -1673,10 +1850,11 @@ public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(
      * repeated .google.rpc.Status partial_errors = 11;
      */
     public com.google.rpc.Status.Builder addPartialErrorsBuilder() {
-      return getPartialErrorsFieldBuilder().addBuilder(
-          com.google.rpc.Status.getDefaultInstance());
+      return getPartialErrorsFieldBuilder().addBuilder(com.google.rpc.Status.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete. The available data will be available in the
@@ -1685,12 +1863,13 @@ public com.google.rpc.Status.Builder addPartialErrorsBuilder() {
      *
      * repeated .google.rpc.Status partial_errors = 11;
      */
-    public com.google.rpc.Status.Builder addPartialErrorsBuilder(
-        int index) {
-      return getPartialErrorsFieldBuilder().addBuilder(
-          index, com.google.rpc.Status.getDefaultInstance());
+    public com.google.rpc.Status.Builder addPartialErrorsBuilder(int index) {
+      return getPartialErrorsFieldBuilder()
+          .addBuilder(index, com.google.rpc.Status.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Query execution errors that may have caused the time series data returned
      * to be incomplete. The available data will be available in the
@@ -1699,16 +1878,19 @@ public com.google.rpc.Status.Builder addPartialErrorsBuilder(
      *
      * repeated .google.rpc.Status partial_errors = 11;
      */
-    public java.util.List 
-         getPartialErrorsBuilderList() {
+    public java.util.List getPartialErrorsBuilderList() {
       return getPartialErrorsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> 
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
         getPartialErrorsFieldBuilder() {
       if (partialErrorsBuilder_ == null) {
-        partialErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
+        partialErrorsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.rpc.Status,
+                com.google.rpc.Status.Builder,
+                com.google.rpc.StatusOrBuilder>(
                 partialErrors_,
                 ((bitField0_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -1717,9 +1899,9 @@ public com.google.rpc.Status.Builder addPartialErrorsBuilder(
       }
       return partialErrorsBuilder_;
     }
+
     @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);
     }
 
@@ -1729,12 +1911,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.monitoring.v3.QueryTimeSeriesResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.monitoring.v3.QueryTimeSeriesResponse)
   private static final com.google.monitoring.v3.QueryTimeSeriesResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.monitoring.v3.QueryTimeSeriesResponse();
   }
@@ -1743,16 +1925,16 @@ public static com.google.monitoring.v3.QueryTimeSeriesResponse getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public QueryTimeSeriesResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new QueryTimeSeriesResponse(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public QueryTimeSeriesResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new QueryTimeSeriesResponse(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1767,6 +1949,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.monitoring.v3.QueryTimeSeriesResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesResponseOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesResponseOrBuilder.java
similarity index 77%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesResponseOrBuilder.java
rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesResponseOrBuilder.java
index 7a90c5db..96d37a5f 100644
--- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesResponseOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/QueryTimeSeriesResponseOrBuilder.java
@@ -1,31 +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/monitoring/v3/metric_service.proto
 
 package com.google.monitoring.v3;
 
-public interface QueryTimeSeriesResponseOrBuilder extends
+public interface QueryTimeSeriesResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.monitoring.v3.QueryTimeSeriesResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The descriptor for the time series data.
    * 
* * .google.monitoring.v3.TimeSeriesDescriptor time_series_descriptor = 8; + * * @return Whether the timeSeriesDescriptor field is set. */ boolean hasTimeSeriesDescriptor(); /** + * + * *
    * The descriptor for the time series data.
    * 
* * .google.monitoring.v3.TimeSeriesDescriptor time_series_descriptor = 8; + * * @return The timeSeriesDescriptor. */ com.google.monitoring.v3.TimeSeriesDescriptor getTimeSeriesDescriptor(); /** + * + * *
    * The descriptor for the time series data.
    * 
@@ -35,15 +59,18 @@ public interface QueryTimeSeriesResponseOrBuilder extends com.google.monitoring.v3.TimeSeriesDescriptorOrBuilder getTimeSeriesDescriptorOrBuilder(); /** + * + * *
    * The time series data.
    * 
* * repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9; */ - java.util.List - getTimeSeriesDataList(); + java.util.List getTimeSeriesDataList(); /** + * + * *
    * The time series data.
    * 
@@ -52,6 +79,8 @@ public interface QueryTimeSeriesResponseOrBuilder extends */ com.google.monitoring.v3.TimeSeriesData getTimeSeriesData(int index); /** + * + * *
    * The time series data.
    * 
@@ -60,25 +89,30 @@ public interface QueryTimeSeriesResponseOrBuilder extends */ int getTimeSeriesDataCount(); /** + * + * *
    * The time series data.
    * 
* * repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9; */ - java.util.List + java.util.List getTimeSeriesDataOrBuilderList(); /** + * + * *
    * The time series data.
    * 
* * repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9; */ - com.google.monitoring.v3.TimeSeriesDataOrBuilder getTimeSeriesDataOrBuilder( - int index); + com.google.monitoring.v3.TimeSeriesDataOrBuilder getTimeSeriesDataOrBuilder(int index); /** + * + * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results, use that value as
@@ -86,10 +120,13 @@ com.google.monitoring.v3.TimeSeriesDataOrBuilder getTimeSeriesDataOrBuilder(
    * 
* * string next_page_token = 10; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * If there are more results than have been returned, then this field is set
    * to a non-empty value.  To see the additional results, use that value as
@@ -97,12 +134,14 @@ com.google.monitoring.v3.TimeSeriesDataOrBuilder getTimeSeriesDataOrBuilder(
    * 
* * string next_page_token = 10; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Query execution errors that may have caused the time series data returned
    * to be incomplete. The available data will be available in the
@@ -111,9 +150,10 @@ com.google.monitoring.v3.TimeSeriesDataOrBuilder getTimeSeriesDataOrBuilder(
    *
    * repeated .google.rpc.Status partial_errors = 11;
    */
-  java.util.List 
-      getPartialErrorsList();
+  java.util.List getPartialErrorsList();
   /**
+   *
+   *
    * 
    * Query execution errors that may have caused the time series data returned
    * to be incomplete. The available data will be available in the
@@ -124,6 +164,8 @@ com.google.monitoring.v3.TimeSeriesDataOrBuilder getTimeSeriesDataOrBuilder(
    */
   com.google.rpc.Status getPartialErrors(int index);
   /**
+   *
+   *
    * 
    * Query execution errors that may have caused the time series data returned
    * to be incomplete. The available data will be available in the
@@ -134,6 +176,8 @@ com.google.monitoring.v3.TimeSeriesDataOrBuilder getTimeSeriesDataOrBuilder(
    */
   int getPartialErrorsCount();
   /**
+   *
+   *
    * 
    * Query execution errors that may have caused the time series data returned
    * to be incomplete. The available data will be available in the
@@ -142,9 +186,10 @@ com.google.monitoring.v3.TimeSeriesDataOrBuilder getTimeSeriesDataOrBuilder(
    *
    * repeated .google.rpc.Status partial_errors = 11;
    */
-  java.util.List 
-      getPartialErrorsOrBuilderList();
+  java.util.List getPartialErrorsOrBuilderList();
   /**
+   *
+   *
    * 
    * Query execution errors that may have caused the time series data returned
    * to be incomplete. The available data will be available in the
@@ -153,6 +198,5 @@ com.google.monitoring.v3.TimeSeriesDataOrBuilder getTimeSeriesDataOrBuilder(
    *
    * repeated .google.rpc.Status partial_errors = 11;
    */
-  com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(
-      int index);
+  com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(int index);
 }
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Range.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Range.java
similarity index 68%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Range.java
rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Range.java
index 85623906..5d580e90 100644
--- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Range.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Range.java
@@ -1,39 +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/monitoring/v3/service.proto
 
 package com.google.monitoring.v3;
 
 /**
+ *
+ *
  * 
  * Range of numerical values within `min` and `max`.
  * 
* * Protobuf type {@code google.monitoring.v3.Range} */ -public final class Range extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Range extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.Range) RangeOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Range.newBuilder() to construct. private Range(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Range() { - } + + private Range() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Range(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Range( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,44 +68,45 @@ private Range( case 0: done = true; break; - case 9: { - - min_ = input.readDouble(); - break; - } - case 17: { - - max_ = input.readDouble(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 9: + { + min_ = input.readDouble(); + break; + } + case 17: + { + max_ = input.readDouble(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Range_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringProto + .internal_static_google_monitoring_v3_Range_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Range_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringProto + .internal_static_google_monitoring_v3_Range_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.monitoring.v3.Range.class, com.google.monitoring.v3.Range.Builder.class); } @@ -97,11 +114,14 @@ private Range( public static final int MIN_FIELD_NUMBER = 1; private double min_; /** + * + * *
    * Range minimum.
    * 
* * double min = 1; + * * @return The min. */ @java.lang.Override @@ -112,11 +132,14 @@ public double getMin() { public static final int MAX_FIELD_NUMBER = 2; private double max_; /** + * + * *
    * Range maximum.
    * 
* * double max = 2; + * * @return The max. */ @java.lang.Override @@ -125,6 +148,7 @@ public double getMax() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -136,8 +160,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (min_ != 0D) { output.writeDouble(1, min_); } @@ -154,12 +177,10 @@ public int getSerializedSize() { size = 0; if (min_ != 0D) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(1, min_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, min_); } if (max_ != 0D) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(2, max_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, max_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -169,7 +190,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.Range)) { return super.equals(obj); @@ -177,11 +198,9 @@ public boolean equals(final java.lang.Object obj) { com.google.monitoring.v3.Range other = (com.google.monitoring.v3.Range) obj; if (java.lang.Double.doubleToLongBits(getMin()) - != java.lang.Double.doubleToLongBits( - other.getMin())) return false; + != java.lang.Double.doubleToLongBits(other.getMin())) return false; if (java.lang.Double.doubleToLongBits(getMax()) - != java.lang.Double.doubleToLongBits( - other.getMax())) return false; + != java.lang.Double.doubleToLongBits(other.getMax())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -194,126 +213,135 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MIN_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getMin())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong(java.lang.Double.doubleToLongBits(getMin())); hash = (37 * hash) + MAX_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getMax())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong(java.lang.Double.doubleToLongBits(getMax())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.monitoring.v3.Range parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.Range parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.Range parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.Range parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.monitoring.v3.Range parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.Range parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.Range parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.Range parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.Range 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.monitoring.v3.Range parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.Range parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.Range parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.Range parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.monitoring.v3.Range parseFrom(com.google.protobuf.CodedInputStream 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.monitoring.v3.Range parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.Range prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Range of numerical values within `min` and `max`.
    * 
* * Protobuf type {@code google.monitoring.v3.Range} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.Range) com.google.monitoring.v3.RangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Range_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringProto + .internal_static_google_monitoring_v3_Range_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Range_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringProto + .internal_static_google_monitoring_v3_Range_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.monitoring.v3.Range.class, com.google.monitoring.v3.Range.Builder.class); } @@ -323,16 +351,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -344,9 +371,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Range_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.ServiceMonitoringProto + .internal_static_google_monitoring_v3_Range_descriptor; } @java.lang.Override @@ -376,38 +403,39 @@ public com.google.monitoring.v3.Range 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.monitoring.v3.Range) { - return mergeFrom((com.google.monitoring.v3.Range)other); + return mergeFrom((com.google.monitoring.v3.Range) other); } else { super.mergeFrom(other); return this; @@ -451,13 +479,16 @@ public Builder mergeFrom( return this; } - private double min_ ; + private double min_; /** + * + * *
      * Range minimum.
      * 
* * double min = 1; + * * @return The min. */ @java.lang.Override @@ -465,42 +496,51 @@ public double getMin() { return min_; } /** + * + * *
      * Range minimum.
      * 
* * double min = 1; + * * @param value The min to set. * @return This builder for chaining. */ public Builder setMin(double value) { - + min_ = value; onChanged(); return this; } /** + * + * *
      * Range minimum.
      * 
* * double min = 1; + * * @return This builder for chaining. */ public Builder clearMin() { - + min_ = 0D; onChanged(); return this; } - private double max_ ; + private double max_; /** + * + * *
      * Range maximum.
      * 
* * double max = 2; + * * @return The max. */ @java.lang.Override @@ -508,37 +548,43 @@ public double getMax() { return max_; } /** + * + * *
      * Range maximum.
      * 
* * double max = 2; + * * @param value The max to set. * @return This builder for chaining. */ public Builder setMax(double value) { - + max_ = value; onChanged(); return this; } /** + * + * *
      * Range maximum.
      * 
* * double max = 2; + * * @return This builder for chaining. */ public Builder clearMax() { - + max_ = 0D; 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); } @@ -548,12 +594,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.Range) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.Range) private static final com.google.monitoring.v3.Range DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.Range(); } @@ -562,16 +608,16 @@ public static com.google.monitoring.v3.Range getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Range parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Range(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Range parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Range(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -586,6 +632,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.Range getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RangeOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RangeOrBuilder.java new file mode 100644 index 00000000..c608b30c --- /dev/null +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RangeOrBuilder.java @@ -0,0 +1,51 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/service.proto + +package com.google.monitoring.v3; + +public interface RangeOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.monitoring.v3.Range) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Range minimum.
+   * 
+ * + * double min = 1; + * + * @return The min. + */ + double getMin(); + + /** + * + * + *
+   * Range maximum.
+   * 
+ * + * double max = 2; + * + * @return The max. + */ + double getMax(); +} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RequestBasedSli.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RequestBasedSli.java similarity index 73% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RequestBasedSli.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RequestBasedSli.java index 4167c4c4..a2e8743e 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RequestBasedSli.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RequestBasedSli.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/service.proto package com.google.monitoring.v3; /** + * + * *
  * Service Level Indicators for which atomic units of service are counted
  * directly.
@@ -11,30 +28,29 @@
  *
  * Protobuf type {@code google.monitoring.v3.RequestBasedSli}
  */
-public final class RequestBasedSli extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RequestBasedSli extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.RequestBasedSli)
     RequestBasedSliOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RequestBasedSli.newBuilder() to construct.
   private RequestBasedSli(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private RequestBasedSli() {
-  }
+
+  private RequestBasedSli() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RequestBasedSli();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RequestBasedSli(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,75 +69,84 @@ private RequestBasedSli(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.monitoring.v3.TimeSeriesRatio.Builder subBuilder = null;
-            if (methodCase_ == 1) {
-              subBuilder = ((com.google.monitoring.v3.TimeSeriesRatio) method_).toBuilder();
+          case 10:
+            {
+              com.google.monitoring.v3.TimeSeriesRatio.Builder subBuilder = null;
+              if (methodCase_ == 1) {
+                subBuilder = ((com.google.monitoring.v3.TimeSeriesRatio) method_).toBuilder();
+              }
+              method_ =
+                  input.readMessage(
+                      com.google.monitoring.v3.TimeSeriesRatio.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.monitoring.v3.TimeSeriesRatio) method_);
+                method_ = subBuilder.buildPartial();
+              }
+              methodCase_ = 1;
+              break;
             }
-            method_ =
-                input.readMessage(com.google.monitoring.v3.TimeSeriesRatio.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.monitoring.v3.TimeSeriesRatio) method_);
-              method_ = subBuilder.buildPartial();
+          case 26:
+            {
+              com.google.monitoring.v3.DistributionCut.Builder subBuilder = null;
+              if (methodCase_ == 3) {
+                subBuilder = ((com.google.monitoring.v3.DistributionCut) method_).toBuilder();
+              }
+              method_ =
+                  input.readMessage(
+                      com.google.monitoring.v3.DistributionCut.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.monitoring.v3.DistributionCut) method_);
+                method_ = subBuilder.buildPartial();
+              }
+              methodCase_ = 3;
+              break;
             }
-            methodCase_ = 1;
-            break;
-          }
-          case 26: {
-            com.google.monitoring.v3.DistributionCut.Builder subBuilder = null;
-            if (methodCase_ == 3) {
-              subBuilder = ((com.google.monitoring.v3.DistributionCut) method_).toBuilder();
-            }
-            method_ =
-                input.readMessage(com.google.monitoring.v3.DistributionCut.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.monitoring.v3.DistributionCut) method_);
-              method_ = subBuilder.buildPartial();
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            methodCase_ = 3;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
-            }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_RequestBasedSli_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.monitoring.v3.ServiceMonitoringProto
+        .internal_static_google_monitoring_v3_RequestBasedSli_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_RequestBasedSli_fieldAccessorTable
+    return com.google.monitoring.v3.ServiceMonitoringProto
+        .internal_static_google_monitoring_v3_RequestBasedSli_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.RequestBasedSli.class, com.google.monitoring.v3.RequestBasedSli.Builder.class);
+            com.google.monitoring.v3.RequestBasedSli.class,
+            com.google.monitoring.v3.RequestBasedSli.Builder.class);
   }
 
   private int methodCase_ = 0;
   private java.lang.Object method_;
+
   public enum MethodCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     GOOD_TOTAL_RATIO(1),
     DISTRIBUTION_CUT(3),
     METHOD_NOT_SET(0);
     private final int value;
+
     private MethodCase(int value) {
       this.value = value;
     }
@@ -137,31 +162,37 @@ public static MethodCase valueOf(int value) {
 
     public static MethodCase forNumber(int value) {
       switch (value) {
-        case 1: return GOOD_TOTAL_RATIO;
-        case 3: return DISTRIBUTION_CUT;
-        case 0: return METHOD_NOT_SET;
-        default: return null;
+        case 1:
+          return GOOD_TOTAL_RATIO;
+        case 3:
+          return DISTRIBUTION_CUT;
+        case 0:
+          return METHOD_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public MethodCase
-  getMethodCase() {
-    return MethodCase.forNumber(
-        methodCase_);
+  public MethodCase getMethodCase() {
+    return MethodCase.forNumber(methodCase_);
   }
 
   public static final int GOOD_TOTAL_RATIO_FIELD_NUMBER = 1;
   /**
+   *
+   *
    * 
    * `good_total_ratio` is used when the ratio of `good_service` to
    * `total_service` is computed from two `TimeSeries`.
    * 
* * .google.monitoring.v3.TimeSeriesRatio good_total_ratio = 1; + * * @return Whether the goodTotalRatio field is set. */ @java.lang.Override @@ -169,22 +200,27 @@ public boolean hasGoodTotalRatio() { return methodCase_ == 1; } /** + * + * *
    * `good_total_ratio` is used when the ratio of `good_service` to
    * `total_service` is computed from two `TimeSeries`.
    * 
* * .google.monitoring.v3.TimeSeriesRatio good_total_ratio = 1; + * * @return The goodTotalRatio. */ @java.lang.Override public com.google.monitoring.v3.TimeSeriesRatio getGoodTotalRatio() { if (methodCase_ == 1) { - return (com.google.monitoring.v3.TimeSeriesRatio) method_; + return (com.google.monitoring.v3.TimeSeriesRatio) method_; } return com.google.monitoring.v3.TimeSeriesRatio.getDefaultInstance(); } /** + * + * *
    * `good_total_ratio` is used when the ratio of `good_service` to
    * `total_service` is computed from two `TimeSeries`.
@@ -195,13 +231,15 @@ public com.google.monitoring.v3.TimeSeriesRatio getGoodTotalRatio() {
   @java.lang.Override
   public com.google.monitoring.v3.TimeSeriesRatioOrBuilder getGoodTotalRatioOrBuilder() {
     if (methodCase_ == 1) {
-       return (com.google.monitoring.v3.TimeSeriesRatio) method_;
+      return (com.google.monitoring.v3.TimeSeriesRatio) method_;
     }
     return com.google.monitoring.v3.TimeSeriesRatio.getDefaultInstance();
   }
 
   public static final int DISTRIBUTION_CUT_FIELD_NUMBER = 3;
   /**
+   *
+   *
    * 
    * `distribution_cut` is used when `good_service` is a count of values
    * aggregated in a `Distribution` that fall into a good range. The
@@ -210,6 +248,7 @@ public com.google.monitoring.v3.TimeSeriesRatioOrBuilder getGoodTotalRatioOrBuil
    * 
* * .google.monitoring.v3.DistributionCut distribution_cut = 3; + * * @return Whether the distributionCut field is set. */ @java.lang.Override @@ -217,6 +256,8 @@ public boolean hasDistributionCut() { return methodCase_ == 3; } /** + * + * *
    * `distribution_cut` is used when `good_service` is a count of values
    * aggregated in a `Distribution` that fall into a good range. The
@@ -225,16 +266,19 @@ public boolean hasDistributionCut() {
    * 
* * .google.monitoring.v3.DistributionCut distribution_cut = 3; + * * @return The distributionCut. */ @java.lang.Override public com.google.monitoring.v3.DistributionCut getDistributionCut() { if (methodCase_ == 3) { - return (com.google.monitoring.v3.DistributionCut) method_; + return (com.google.monitoring.v3.DistributionCut) method_; } return com.google.monitoring.v3.DistributionCut.getDefaultInstance(); } /** + * + * *
    * `distribution_cut` is used when `good_service` is a count of values
    * aggregated in a `Distribution` that fall into a good range. The
@@ -247,12 +291,13 @@ public com.google.monitoring.v3.DistributionCut getDistributionCut() {
   @java.lang.Override
   public com.google.monitoring.v3.DistributionCutOrBuilder getDistributionCutOrBuilder() {
     if (methodCase_ == 3) {
-       return (com.google.monitoring.v3.DistributionCut) method_;
+      return (com.google.monitoring.v3.DistributionCut) method_;
     }
     return com.google.monitoring.v3.DistributionCut.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -264,8 +309,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (methodCase_ == 1) {
       output.writeMessage(1, (com.google.monitoring.v3.TimeSeriesRatio) method_);
     }
@@ -282,12 +326,14 @@ public int getSerializedSize() {
 
     size = 0;
     if (methodCase_ == 1) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, (com.google.monitoring.v3.TimeSeriesRatio) method_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              1, (com.google.monitoring.v3.TimeSeriesRatio) method_);
     }
     if (methodCase_ == 3) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, (com.google.monitoring.v3.DistributionCut) method_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              3, (com.google.monitoring.v3.DistributionCut) method_);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -297,7 +343,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.monitoring.v3.RequestBasedSli)) {
       return super.equals(obj);
@@ -307,12 +353,10 @@ public boolean equals(final java.lang.Object obj) {
     if (!getMethodCase().equals(other.getMethodCase())) return false;
     switch (methodCase_) {
       case 1:
-        if (!getGoodTotalRatio()
-            .equals(other.getGoodTotalRatio())) return false;
+        if (!getGoodTotalRatio().equals(other.getGoodTotalRatio())) return false;
         break;
       case 3:
-        if (!getDistributionCut()
-            .equals(other.getDistributionCut())) return false;
+        if (!getDistributionCut().equals(other.getDistributionCut())) return false;
         break;
       case 0:
       default:
@@ -345,97 +389,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.monitoring.v3.RequestBasedSli parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.monitoring.v3.RequestBasedSli parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.monitoring.v3.RequestBasedSli parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.monitoring.v3.RequestBasedSli parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.monitoring.v3.RequestBasedSli parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.monitoring.v3.RequestBasedSli parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.monitoring.v3.RequestBasedSli parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.monitoring.v3.RequestBasedSli 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.monitoring.v3.RequestBasedSli parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.monitoring.v3.RequestBasedSli parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.monitoring.v3.RequestBasedSli parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.monitoring.v3.RequestBasedSli parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.monitoring.v3.RequestBasedSli parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.monitoring.v3.RequestBasedSli parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.monitoring.v3.RequestBasedSli prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder 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;
   }
   /**
+   *
+   *
    * 
    * Service Level Indicators for which atomic units of service are counted
    * directly.
@@ -443,21 +494,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.monitoring.v3.RequestBasedSli}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.RequestBasedSli)
       com.google.monitoring.v3.RequestBasedSliOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_RequestBasedSli_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.monitoring.v3.ServiceMonitoringProto
+          .internal_static_google_monitoring_v3_RequestBasedSli_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_RequestBasedSli_fieldAccessorTable
+      return com.google.monitoring.v3.ServiceMonitoringProto
+          .internal_static_google_monitoring_v3_RequestBasedSli_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.RequestBasedSli.class, com.google.monitoring.v3.RequestBasedSli.Builder.class);
+              com.google.monitoring.v3.RequestBasedSli.class,
+              com.google.monitoring.v3.RequestBasedSli.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.RequestBasedSli.newBuilder()
@@ -465,16 +518,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -484,9 +536,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_RequestBasedSli_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.monitoring.v3.ServiceMonitoringProto
+          .internal_static_google_monitoring_v3_RequestBasedSli_descriptor;
     }
 
     @java.lang.Override
@@ -505,7 +557,8 @@ public com.google.monitoring.v3.RequestBasedSli build() {
 
     @java.lang.Override
     public com.google.monitoring.v3.RequestBasedSli buildPartial() {
-      com.google.monitoring.v3.RequestBasedSli result = new com.google.monitoring.v3.RequestBasedSli(this);
+      com.google.monitoring.v3.RequestBasedSli result =
+          new com.google.monitoring.v3.RequestBasedSli(this);
       if (methodCase_ == 1) {
         if (goodTotalRatioBuilder_ == null) {
           result.method_ = method_;
@@ -529,38 +582,39 @@ public com.google.monitoring.v3.RequestBasedSli 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.monitoring.v3.RequestBasedSli) {
-        return mergeFrom((com.google.monitoring.v3.RequestBasedSli)other);
+        return mergeFrom((com.google.monitoring.v3.RequestBasedSli) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -570,17 +624,20 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.monitoring.v3.RequestBasedSli other) {
       if (other == com.google.monitoring.v3.RequestBasedSli.getDefaultInstance()) return this;
       switch (other.getMethodCase()) {
-        case GOOD_TOTAL_RATIO: {
-          mergeGoodTotalRatio(other.getGoodTotalRatio());
-          break;
-        }
-        case DISTRIBUTION_CUT: {
-          mergeDistributionCut(other.getDistributionCut());
-          break;
-        }
-        case METHOD_NOT_SET: {
-          break;
-        }
+        case GOOD_TOTAL_RATIO:
+          {
+            mergeGoodTotalRatio(other.getGoodTotalRatio());
+            break;
+          }
+        case DISTRIBUTION_CUT:
+          {
+            mergeDistributionCut(other.getDistributionCut());
+            break;
+          }
+        case METHOD_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -610,12 +667,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int methodCase_ = 0;
     private java.lang.Object method_;
-    public MethodCase
-        getMethodCase() {
-      return MethodCase.forNumber(
-          methodCase_);
+
+    public MethodCase getMethodCase() {
+      return MethodCase.forNumber(methodCase_);
     }
 
     public Builder clearMethod() {
@@ -625,16 +682,21 @@ public Builder clearMethod() {
       return this;
     }
 
-
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.monitoring.v3.TimeSeriesRatio, com.google.monitoring.v3.TimeSeriesRatio.Builder, com.google.monitoring.v3.TimeSeriesRatioOrBuilder> goodTotalRatioBuilder_;
+            com.google.monitoring.v3.TimeSeriesRatio,
+            com.google.monitoring.v3.TimeSeriesRatio.Builder,
+            com.google.monitoring.v3.TimeSeriesRatioOrBuilder>
+        goodTotalRatioBuilder_;
     /**
+     *
+     *
      * 
      * `good_total_ratio` is used when the ratio of `good_service` to
      * `total_service` is computed from two `TimeSeries`.
      * 
* * .google.monitoring.v3.TimeSeriesRatio good_total_ratio = 1; + * * @return Whether the goodTotalRatio field is set. */ @java.lang.Override @@ -642,12 +704,15 @@ public boolean hasGoodTotalRatio() { return methodCase_ == 1; } /** + * + * *
      * `good_total_ratio` is used when the ratio of `good_service` to
      * `total_service` is computed from two `TimeSeries`.
      * 
* * .google.monitoring.v3.TimeSeriesRatio good_total_ratio = 1; + * * @return The goodTotalRatio. */ @java.lang.Override @@ -665,6 +730,8 @@ public com.google.monitoring.v3.TimeSeriesRatio getGoodTotalRatio() { } } /** + * + * *
      * `good_total_ratio` is used when the ratio of `good_service` to
      * `total_service` is computed from two `TimeSeries`.
@@ -686,6 +753,8 @@ public Builder setGoodTotalRatio(com.google.monitoring.v3.TimeSeriesRatio value)
       return this;
     }
     /**
+     *
+     *
      * 
      * `good_total_ratio` is used when the ratio of `good_service` to
      * `total_service` is computed from two `TimeSeries`.
@@ -705,6 +774,8 @@ public Builder setGoodTotalRatio(
       return this;
     }
     /**
+     *
+     *
      * 
      * `good_total_ratio` is used when the ratio of `good_service` to
      * `total_service` is computed from two `TimeSeries`.
@@ -714,10 +785,13 @@ public Builder setGoodTotalRatio(
      */
     public Builder mergeGoodTotalRatio(com.google.monitoring.v3.TimeSeriesRatio value) {
       if (goodTotalRatioBuilder_ == null) {
-        if (methodCase_ == 1 &&
-            method_ != com.google.monitoring.v3.TimeSeriesRatio.getDefaultInstance()) {
-          method_ = com.google.monitoring.v3.TimeSeriesRatio.newBuilder((com.google.monitoring.v3.TimeSeriesRatio) method_)
-              .mergeFrom(value).buildPartial();
+        if (methodCase_ == 1
+            && method_ != com.google.monitoring.v3.TimeSeriesRatio.getDefaultInstance()) {
+          method_ =
+              com.google.monitoring.v3.TimeSeriesRatio.newBuilder(
+                      (com.google.monitoring.v3.TimeSeriesRatio) method_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           method_ = value;
         }
@@ -732,6 +806,8 @@ public Builder mergeGoodTotalRatio(com.google.monitoring.v3.TimeSeriesRatio valu
       return this;
     }
     /**
+     *
+     *
      * 
      * `good_total_ratio` is used when the ratio of `good_service` to
      * `total_service` is computed from two `TimeSeries`.
@@ -756,6 +832,8 @@ public Builder clearGoodTotalRatio() {
       return this;
     }
     /**
+     *
+     *
      * 
      * `good_total_ratio` is used when the ratio of `good_service` to
      * `total_service` is computed from two `TimeSeries`.
@@ -767,6 +845,8 @@ public com.google.monitoring.v3.TimeSeriesRatio.Builder getGoodTotalRatioBuilder
       return getGoodTotalRatioFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * `good_total_ratio` is used when the ratio of `good_service` to
      * `total_service` is computed from two `TimeSeries`.
@@ -786,6 +866,8 @@ public com.google.monitoring.v3.TimeSeriesRatioOrBuilder getGoodTotalRatioOrBuil
       }
     }
     /**
+     *
+     *
      * 
      * `good_total_ratio` is used when the ratio of `good_service` to
      * `total_service` is computed from two `TimeSeries`.
@@ -794,27 +876,38 @@ public com.google.monitoring.v3.TimeSeriesRatioOrBuilder getGoodTotalRatioOrBuil
      * .google.monitoring.v3.TimeSeriesRatio good_total_ratio = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.monitoring.v3.TimeSeriesRatio, com.google.monitoring.v3.TimeSeriesRatio.Builder, com.google.monitoring.v3.TimeSeriesRatioOrBuilder> 
+            com.google.monitoring.v3.TimeSeriesRatio,
+            com.google.monitoring.v3.TimeSeriesRatio.Builder,
+            com.google.monitoring.v3.TimeSeriesRatioOrBuilder>
         getGoodTotalRatioFieldBuilder() {
       if (goodTotalRatioBuilder_ == null) {
         if (!(methodCase_ == 1)) {
           method_ = com.google.monitoring.v3.TimeSeriesRatio.getDefaultInstance();
         }
-        goodTotalRatioBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.TimeSeriesRatio, com.google.monitoring.v3.TimeSeriesRatio.Builder, com.google.monitoring.v3.TimeSeriesRatioOrBuilder>(
+        goodTotalRatioBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.monitoring.v3.TimeSeriesRatio,
+                com.google.monitoring.v3.TimeSeriesRatio.Builder,
+                com.google.monitoring.v3.TimeSeriesRatioOrBuilder>(
                 (com.google.monitoring.v3.TimeSeriesRatio) method_,
                 getParentForChildren(),
                 isClean());
         method_ = null;
       }
       methodCase_ = 1;
-      onChanged();;
+      onChanged();
+      ;
       return goodTotalRatioBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.monitoring.v3.DistributionCut, com.google.monitoring.v3.DistributionCut.Builder, com.google.monitoring.v3.DistributionCutOrBuilder> distributionCutBuilder_;
+            com.google.monitoring.v3.DistributionCut,
+            com.google.monitoring.v3.DistributionCut.Builder,
+            com.google.monitoring.v3.DistributionCutOrBuilder>
+        distributionCutBuilder_;
     /**
+     *
+     *
      * 
      * `distribution_cut` is used when `good_service` is a count of values
      * aggregated in a `Distribution` that fall into a good range. The
@@ -823,6 +916,7 @@ public com.google.monitoring.v3.TimeSeriesRatioOrBuilder getGoodTotalRatioOrBuil
      * 
* * .google.monitoring.v3.DistributionCut distribution_cut = 3; + * * @return Whether the distributionCut field is set. */ @java.lang.Override @@ -830,6 +924,8 @@ public boolean hasDistributionCut() { return methodCase_ == 3; } /** + * + * *
      * `distribution_cut` is used when `good_service` is a count of values
      * aggregated in a `Distribution` that fall into a good range. The
@@ -838,6 +934,7 @@ public boolean hasDistributionCut() {
      * 
* * .google.monitoring.v3.DistributionCut distribution_cut = 3; + * * @return The distributionCut. */ @java.lang.Override @@ -855,6 +952,8 @@ public com.google.monitoring.v3.DistributionCut getDistributionCut() { } } /** + * + * *
      * `distribution_cut` is used when `good_service` is a count of values
      * aggregated in a `Distribution` that fall into a good range. The
@@ -878,6 +977,8 @@ public Builder setDistributionCut(com.google.monitoring.v3.DistributionCut value
       return this;
     }
     /**
+     *
+     *
      * 
      * `distribution_cut` is used when `good_service` is a count of values
      * aggregated in a `Distribution` that fall into a good range. The
@@ -899,6 +1000,8 @@ public Builder setDistributionCut(
       return this;
     }
     /**
+     *
+     *
      * 
      * `distribution_cut` is used when `good_service` is a count of values
      * aggregated in a `Distribution` that fall into a good range. The
@@ -910,10 +1013,13 @@ public Builder setDistributionCut(
      */
     public Builder mergeDistributionCut(com.google.monitoring.v3.DistributionCut value) {
       if (distributionCutBuilder_ == null) {
-        if (methodCase_ == 3 &&
-            method_ != com.google.monitoring.v3.DistributionCut.getDefaultInstance()) {
-          method_ = com.google.monitoring.v3.DistributionCut.newBuilder((com.google.monitoring.v3.DistributionCut) method_)
-              .mergeFrom(value).buildPartial();
+        if (methodCase_ == 3
+            && method_ != com.google.monitoring.v3.DistributionCut.getDefaultInstance()) {
+          method_ =
+              com.google.monitoring.v3.DistributionCut.newBuilder(
+                      (com.google.monitoring.v3.DistributionCut) method_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           method_ = value;
         }
@@ -928,6 +1034,8 @@ public Builder mergeDistributionCut(com.google.monitoring.v3.DistributionCut val
       return this;
     }
     /**
+     *
+     *
      * 
      * `distribution_cut` is used when `good_service` is a count of values
      * aggregated in a `Distribution` that fall into a good range. The
@@ -954,6 +1062,8 @@ public Builder clearDistributionCut() {
       return this;
     }
     /**
+     *
+     *
      * 
      * `distribution_cut` is used when `good_service` is a count of values
      * aggregated in a `Distribution` that fall into a good range. The
@@ -967,6 +1077,8 @@ public com.google.monitoring.v3.DistributionCut.Builder getDistributionCutBuilde
       return getDistributionCutFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * `distribution_cut` is used when `good_service` is a count of values
      * aggregated in a `Distribution` that fall into a good range. The
@@ -988,6 +1100,8 @@ public com.google.monitoring.v3.DistributionCutOrBuilder getDistributionCutOrBui
       }
     }
     /**
+     *
+     *
      * 
      * `distribution_cut` is used when `good_service` is a count of values
      * aggregated in a `Distribution` that fall into a good range. The
@@ -998,26 +1112,32 @@ public com.google.monitoring.v3.DistributionCutOrBuilder getDistributionCutOrBui
      * .google.monitoring.v3.DistributionCut distribution_cut = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.monitoring.v3.DistributionCut, com.google.monitoring.v3.DistributionCut.Builder, com.google.monitoring.v3.DistributionCutOrBuilder> 
+            com.google.monitoring.v3.DistributionCut,
+            com.google.monitoring.v3.DistributionCut.Builder,
+            com.google.monitoring.v3.DistributionCutOrBuilder>
         getDistributionCutFieldBuilder() {
       if (distributionCutBuilder_ == null) {
         if (!(methodCase_ == 3)) {
           method_ = com.google.monitoring.v3.DistributionCut.getDefaultInstance();
         }
-        distributionCutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.DistributionCut, com.google.monitoring.v3.DistributionCut.Builder, com.google.monitoring.v3.DistributionCutOrBuilder>(
+        distributionCutBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.monitoring.v3.DistributionCut,
+                com.google.monitoring.v3.DistributionCut.Builder,
+                com.google.monitoring.v3.DistributionCutOrBuilder>(
                 (com.google.monitoring.v3.DistributionCut) method_,
                 getParentForChildren(),
                 isClean());
         method_ = null;
       }
       methodCase_ = 3;
-      onChanged();;
+      onChanged();
+      ;
       return distributionCutBuilder_;
     }
+
     @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);
     }
 
@@ -1027,12 +1147,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.monitoring.v3.RequestBasedSli)
   }
 
   // @@protoc_insertion_point(class_scope:google.monitoring.v3.RequestBasedSli)
   private static final com.google.monitoring.v3.RequestBasedSli DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.monitoring.v3.RequestBasedSli();
   }
@@ -1041,16 +1161,16 @@ public static com.google.monitoring.v3.RequestBasedSli getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public RequestBasedSli parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new RequestBasedSli(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public RequestBasedSli parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new RequestBasedSli(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1065,6 +1185,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.monitoring.v3.RequestBasedSli getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RequestBasedSliOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RequestBasedSliOrBuilder.java
similarity index 78%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RequestBasedSliOrBuilder.java
rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RequestBasedSliOrBuilder.java
index c2ba910e..a544addf 100644
--- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RequestBasedSliOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/RequestBasedSliOrBuilder.java
@@ -1,33 +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/monitoring/v3/service.proto
 
 package com.google.monitoring.v3;
 
-public interface RequestBasedSliOrBuilder extends
+public interface RequestBasedSliOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.monitoring.v3.RequestBasedSli)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * `good_total_ratio` is used when the ratio of `good_service` to
    * `total_service` is computed from two `TimeSeries`.
    * 
* * .google.monitoring.v3.TimeSeriesRatio good_total_ratio = 1; + * * @return Whether the goodTotalRatio field is set. */ boolean hasGoodTotalRatio(); /** + * + * *
    * `good_total_ratio` is used when the ratio of `good_service` to
    * `total_service` is computed from two `TimeSeries`.
    * 
* * .google.monitoring.v3.TimeSeriesRatio good_total_ratio = 1; + * * @return The goodTotalRatio. */ com.google.monitoring.v3.TimeSeriesRatio getGoodTotalRatio(); /** + * + * *
    * `good_total_ratio` is used when the ratio of `good_service` to
    * `total_service` is computed from two `TimeSeries`.
@@ -38,6 +62,8 @@ public interface RequestBasedSliOrBuilder extends
   com.google.monitoring.v3.TimeSeriesRatioOrBuilder getGoodTotalRatioOrBuilder();
 
   /**
+   *
+   *
    * 
    * `distribution_cut` is used when `good_service` is a count of values
    * aggregated in a `Distribution` that fall into a good range. The
@@ -46,10 +72,13 @@ public interface RequestBasedSliOrBuilder extends
    * 
* * .google.monitoring.v3.DistributionCut distribution_cut = 3; + * * @return Whether the distributionCut field is set. */ boolean hasDistributionCut(); /** + * + * *
    * `distribution_cut` is used when `good_service` is a count of values
    * aggregated in a `Distribution` that fall into a good range. The
@@ -58,10 +87,13 @@ public interface RequestBasedSliOrBuilder extends
    * 
* * .google.monitoring.v3.DistributionCut distribution_cut = 3; + * * @return The distributionCut. */ com.google.monitoring.v3.DistributionCut getDistributionCut(); /** + * + * *
    * `distribution_cut` is used when `good_service` is a count of values
    * aggregated in a `Distribution` that fall into a good range. The
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequest.java
similarity index 58%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequest.java
rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequest.java
index da05748e..6b6ad281 100644
--- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequest.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequest.java
@@ -1,40 +1,59 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/monitoring/v3/notification_service.proto
 
 package com.google.monitoring.v3;
 
 /**
+ *
+ *
  * 
  * The `SendNotificationChannelVerificationCode` request.
  * 
* * Protobuf type {@code google.monitoring.v3.SendNotificationChannelVerificationCodeRequest} */ -public final class SendNotificationChannelVerificationCodeRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SendNotificationChannelVerificationCodeRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.SendNotificationChannelVerificationCodeRequest) SendNotificationChannelVerificationCodeRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SendNotificationChannelVerificationCodeRequest.newBuilder() to construct. - private SendNotificationChannelVerificationCodeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private SendNotificationChannelVerificationCodeRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SendNotificationChannelVerificationCodeRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SendNotificationChannelVerificationCodeRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SendNotificationChannelVerificationCodeRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,52 +72,60 @@ private SendNotificationChannelVerificationCodeRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_SendNotificationChannelVerificationCodeRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_SendNotificationChannelVerificationCodeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_SendNotificationChannelVerificationCodeRequest_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_SendNotificationChannelVerificationCodeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest.class, com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest.Builder.class); + com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest.class, + com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The notification channel to which to send a verification code.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -107,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The notification channel to which to send a verification code.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -138,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -174,15 +203,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.monitoring.v3.SendNotificationChannelVerificationCodeRequest)) { return super.equals(obj); } - com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest other = (com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest) obj; + com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest other = + (com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -202,134 +231,146 @@ public int hashCode() { } public static com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 `SendNotificationChannelVerificationCode` request.
    * 
* * Protobuf type {@code google.monitoring.v3.SendNotificationChannelVerificationCodeRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.SendNotificationChannelVerificationCodeRequest) com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_SendNotificationChannelVerificationCodeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_SendNotificationChannelVerificationCodeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_SendNotificationChannelVerificationCodeRequest_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_SendNotificationChannelVerificationCodeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest.class, com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest.Builder.class); + com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest.class, + com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest.Builder + .class); } - // Construct using com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest.newBuilder() + // Construct using + // com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -339,19 +380,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_SendNotificationChannelVerificationCodeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_SendNotificationChannelVerificationCodeRequest_descriptor; } @java.lang.Override - public com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest getDefaultInstanceForType() { - return com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest.getDefaultInstance(); + public com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest + getDefaultInstanceForType() { + return com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest + .getDefaultInstance(); } @java.lang.Override public com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest build() { - com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest result = buildPartial(); + com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -360,7 +404,8 @@ public com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest b @java.lang.Override public com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest buildPartial() { - com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest result = new com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest(this); + com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest result = + new com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest(this); result.name_ = name_; onBuilt(); return result; @@ -370,46 +415,52 @@ public com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest) { - return mergeFrom((com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest)other); + if (other + instanceof com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest) { + return mergeFrom( + (com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest other) { - if (other == com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest other) { + if (other + == com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -433,7 +484,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -445,18 +498,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The notification channel to which to send a verification code.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -465,20 +522,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The notification channel to which to send a verification code.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -486,61 +546,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The notification channel to which to send a verification code.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The notification channel to which to send a verification code.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The notification channel to which to send a verification code.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -550,44 +623,49 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.SendNotificationChannelVerificationCodeRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.SendNotificationChannelVerificationCodeRequest) - private static final com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest DEFAULT_INSTANCE; + private static final com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest(); + DEFAULT_INSTANCE = + new com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest(); } - public static com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest getDefaultInstance() { + public static com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SendNotificationChannelVerificationCodeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SendNotificationChannelVerificationCodeRequest(input, extensionRegistry); - } - }; + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SendNotificationChannelVerificationCodeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SendNotificationChannelVerificationCodeRequest(input, extensionRegistry); + } + }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser + parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser + getParserForType() { return PARSER; } @java.lang.Override - public com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest getDefaultInstanceForType() { + public com.google.monitoring.v3.SendNotificationChannelVerificationCodeRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequestOrBuilder.java new file mode 100644 index 00000000..e5179539 --- /dev/null +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SendNotificationChannelVerificationCodeRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/monitoring/v3/notification_service.proto + +package com.google.monitoring.v3; + +public interface SendNotificationChannelVerificationCodeRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.monitoring.v3.SendNotificationChannelVerificationCodeRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The notification channel to which to send a verification code.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The notification channel to which to send a verification code.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Service.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Service.java similarity index 74% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Service.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Service.java index 26d9ee82..d1a6026a 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Service.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/Service.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/service.proto package com.google.monitoring.v3; /** + * + * *
  * A `Service` is a discrete, autonomous, and network-accessible unit, designed
  * to solve an individual concern
@@ -14,15 +31,16 @@
  *
  * Protobuf type {@code google.monitoring.v3.Service}
  */
-public final class Service extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Service extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.Service)
     ServiceOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Service.newBuilder() to construct.
   private Service(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Service() {
     name_ = "";
     displayName_ = "";
@@ -30,16 +48,15 @@ private Service() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Service();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Service(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -59,177 +76,204 @@ private Service(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            displayName_ = s;
-            break;
-          }
-          case 50: {
-            com.google.monitoring.v3.Service.Custom.Builder subBuilder = null;
-            if (identifierCase_ == 6) {
-              subBuilder = ((com.google.monitoring.v3.Service.Custom) identifier_).toBuilder();
-            }
-            identifier_ =
-                input.readMessage(com.google.monitoring.v3.Service.Custom.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.monitoring.v3.Service.Custom) identifier_);
-              identifier_ = subBuilder.buildPartial();
-            }
-            identifierCase_ = 6;
-            break;
-          }
-          case 58: {
-            com.google.monitoring.v3.Service.AppEngine.Builder subBuilder = null;
-            if (identifierCase_ == 7) {
-              subBuilder = ((com.google.monitoring.v3.Service.AppEngine) identifier_).toBuilder();
-            }
-            identifier_ =
-                input.readMessage(com.google.monitoring.v3.Service.AppEngine.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.monitoring.v3.Service.AppEngine) identifier_);
-              identifier_ = subBuilder.buildPartial();
-            }
-            identifierCase_ = 7;
-            break;
-          }
-          case 66: {
-            com.google.monitoring.v3.Service.CloudEndpoints.Builder subBuilder = null;
-            if (identifierCase_ == 8) {
-              subBuilder = ((com.google.monitoring.v3.Service.CloudEndpoints) identifier_).toBuilder();
-            }
-            identifier_ =
-                input.readMessage(com.google.monitoring.v3.Service.CloudEndpoints.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.monitoring.v3.Service.CloudEndpoints) identifier_);
-              identifier_ = subBuilder.buildPartial();
-            }
-            identifierCase_ = 8;
-            break;
-          }
-          case 74: {
-            com.google.monitoring.v3.Service.ClusterIstio.Builder subBuilder = null;
-            if (identifierCase_ == 9) {
-              subBuilder = ((com.google.monitoring.v3.Service.ClusterIstio) identifier_).toBuilder();
+              name_ = s;
+              break;
             }
-            identifier_ =
-                input.readMessage(com.google.monitoring.v3.Service.ClusterIstio.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.monitoring.v3.Service.ClusterIstio) identifier_);
-              identifier_ = subBuilder.buildPartial();
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              displayName_ = s;
+              break;
             }
-            identifierCase_ = 9;
-            break;
-          }
-          case 82: {
-            com.google.monitoring.v3.Service.MeshIstio.Builder subBuilder = null;
-            if (identifierCase_ == 10) {
-              subBuilder = ((com.google.monitoring.v3.Service.MeshIstio) identifier_).toBuilder();
+          case 50:
+            {
+              com.google.monitoring.v3.Service.Custom.Builder subBuilder = null;
+              if (identifierCase_ == 6) {
+                subBuilder = ((com.google.monitoring.v3.Service.Custom) identifier_).toBuilder();
+              }
+              identifier_ =
+                  input.readMessage(
+                      com.google.monitoring.v3.Service.Custom.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.monitoring.v3.Service.Custom) identifier_);
+                identifier_ = subBuilder.buildPartial();
+              }
+              identifierCase_ = 6;
+              break;
             }
-            identifier_ =
-                input.readMessage(com.google.monitoring.v3.Service.MeshIstio.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.monitoring.v3.Service.MeshIstio) identifier_);
-              identifier_ = subBuilder.buildPartial();
+          case 58:
+            {
+              com.google.monitoring.v3.Service.AppEngine.Builder subBuilder = null;
+              if (identifierCase_ == 7) {
+                subBuilder = ((com.google.monitoring.v3.Service.AppEngine) identifier_).toBuilder();
+              }
+              identifier_ =
+                  input.readMessage(
+                      com.google.monitoring.v3.Service.AppEngine.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.monitoring.v3.Service.AppEngine) identifier_);
+                identifier_ = subBuilder.buildPartial();
+              }
+              identifierCase_ = 7;
+              break;
             }
-            identifierCase_ = 10;
-            break;
-          }
-          case 90: {
-            com.google.monitoring.v3.Service.IstioCanonicalService.Builder subBuilder = null;
-            if (identifierCase_ == 11) {
-              subBuilder = ((com.google.monitoring.v3.Service.IstioCanonicalService) identifier_).toBuilder();
+          case 66:
+            {
+              com.google.monitoring.v3.Service.CloudEndpoints.Builder subBuilder = null;
+              if (identifierCase_ == 8) {
+                subBuilder =
+                    ((com.google.monitoring.v3.Service.CloudEndpoints) identifier_).toBuilder();
+              }
+              identifier_ =
+                  input.readMessage(
+                      com.google.monitoring.v3.Service.CloudEndpoints.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.monitoring.v3.Service.CloudEndpoints) identifier_);
+                identifier_ = subBuilder.buildPartial();
+              }
+              identifierCase_ = 8;
+              break;
             }
-            identifier_ =
-                input.readMessage(com.google.monitoring.v3.Service.IstioCanonicalService.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.monitoring.v3.Service.IstioCanonicalService) identifier_);
-              identifier_ = subBuilder.buildPartial();
+          case 74:
+            {
+              com.google.monitoring.v3.Service.ClusterIstio.Builder subBuilder = null;
+              if (identifierCase_ == 9) {
+                subBuilder =
+                    ((com.google.monitoring.v3.Service.ClusterIstio) identifier_).toBuilder();
+              }
+              identifier_ =
+                  input.readMessage(
+                      com.google.monitoring.v3.Service.ClusterIstio.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.monitoring.v3.Service.ClusterIstio) identifier_);
+                identifier_ = subBuilder.buildPartial();
+              }
+              identifierCase_ = 9;
+              break;
             }
-            identifierCase_ = 11;
-            break;
-          }
-          case 106: {
-            com.google.monitoring.v3.Service.Telemetry.Builder subBuilder = null;
-            if (telemetry_ != null) {
-              subBuilder = telemetry_.toBuilder();
+          case 82:
+            {
+              com.google.monitoring.v3.Service.MeshIstio.Builder subBuilder = null;
+              if (identifierCase_ == 10) {
+                subBuilder = ((com.google.monitoring.v3.Service.MeshIstio) identifier_).toBuilder();
+              }
+              identifier_ =
+                  input.readMessage(
+                      com.google.monitoring.v3.Service.MeshIstio.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.monitoring.v3.Service.MeshIstio) identifier_);
+                identifier_ = subBuilder.buildPartial();
+              }
+              identifierCase_ = 10;
+              break;
             }
-            telemetry_ = input.readMessage(com.google.monitoring.v3.Service.Telemetry.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(telemetry_);
-              telemetry_ = subBuilder.buildPartial();
+          case 90:
+            {
+              com.google.monitoring.v3.Service.IstioCanonicalService.Builder subBuilder = null;
+              if (identifierCase_ == 11) {
+                subBuilder =
+                    ((com.google.monitoring.v3.Service.IstioCanonicalService) identifier_)
+                        .toBuilder();
+              }
+              identifier_ =
+                  input.readMessage(
+                      com.google.monitoring.v3.Service.IstioCanonicalService.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.monitoring.v3.Service.IstioCanonicalService) identifier_);
+                identifier_ = subBuilder.buildPartial();
+              }
+              identifierCase_ = 11;
+              break;
             }
+          case 106:
+            {
+              com.google.monitoring.v3.Service.Telemetry.Builder subBuilder = null;
+              if (telemetry_ != null) {
+                subBuilder = telemetry_.toBuilder();
+              }
+              telemetry_ =
+                  input.readMessage(
+                      com.google.monitoring.v3.Service.Telemetry.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(telemetry_);
+                telemetry_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 114: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              userLabels_ = com.google.protobuf.MapField.newMapField(
-                  UserLabelsDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+              break;
             }
-            com.google.protobuf.MapEntry
-            userLabels__ = input.readMessage(
-                UserLabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            userLabels_.getMutableMap().put(
-                userLabels__.getKey(), userLabels__.getValue());
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 114:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                userLabels_ =
+                    com.google.protobuf.MapField.newMapField(
+                        UserLabelsDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
+              }
+              com.google.protobuf.MapEntry userLabels__ =
+                  input.readMessage(
+                      UserLabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                      extensionRegistry);
+              userLabels_.getMutableMap().put(userLabels__.getKey(), userLabels__.getValue());
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.monitoring.v3.ServiceMonitoringProto
+        .internal_static_google_monitoring_v3_Service_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 14:
         return internalGetUserLabels();
       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.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_fieldAccessorTable
+    return com.google.monitoring.v3.ServiceMonitoringProto
+        .internal_static_google_monitoring_v3_Service_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.monitoring.v3.Service.class, com.google.monitoring.v3.Service.Builder.class);
   }
 
-  public interface CustomOrBuilder extends
+  public interface CustomOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.monitoring.v3.Service.Custom)
-      com.google.protobuf.MessageOrBuilder {
-  }
+      com.google.protobuf.MessageOrBuilder {}
   /**
+   *
+   *
    * 
    * Custom view of service telemetry. Currently a place-holder pending final
    * design.
@@ -237,30 +281,29 @@ public interface CustomOrBuilder extends
    *
    * Protobuf type {@code google.monitoring.v3.Service.Custom}
    */
-  public static final class Custom extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class Custom extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.monitoring.v3.Service.Custom)
       CustomOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use Custom.newBuilder() to construct.
     private Custom(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private Custom() {
-    }
+
+    private Custom() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new Custom();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private Custom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -279,39 +322,42 @@ private Custom(
             case 0:
               done = true;
               break;
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_Custom_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.monitoring.v3.ServiceMonitoringProto
+          .internal_static_google_monitoring_v3_Service_Custom_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_Custom_fieldAccessorTable
+      return com.google.monitoring.v3.ServiceMonitoringProto
+          .internal_static_google_monitoring_v3_Service_Custom_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.Service.Custom.class, com.google.monitoring.v3.Service.Custom.Builder.class);
+              com.google.monitoring.v3.Service.Custom.class,
+              com.google.monitoring.v3.Service.Custom.Builder.class);
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -323,8 +369,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       unknownFields.writeTo(output);
     }
 
@@ -342,7 +387,7 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.monitoring.v3.Service.Custom)) {
         return super.equals(obj);
@@ -365,88 +410,94 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.monitoring.v3.Service.Custom parseFrom(
-        java.nio.ByteBuffer data)
+    public static com.google.monitoring.v3.Service.Custom parseFrom(java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.monitoring.v3.Service.Custom parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.monitoring.v3.Service.Custom parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.monitoring.v3.Service.Custom parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.monitoring.v3.Service.Custom parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.monitoring.v3.Service.Custom parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.monitoring.v3.Service.Custom 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.monitoring.v3.Service.Custom parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.monitoring.v3.Service.Custom parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.monitoring.v3.Service.Custom parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.monitoring.v3.Service.Custom parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.monitoring.v3.Service.Custom parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.monitoring.v3.Service.Custom parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
+
     public static Builder newBuilder(com.google.monitoring.v3.Service.Custom prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -456,6 +507,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Custom view of service telemetry. Currently a place-holder pending final
      * design.
@@ -463,21 +516,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.monitoring.v3.Service.Custom}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.monitoring.v3.Service.Custom)
         com.google.monitoring.v3.Service.CustomOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_Custom_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.monitoring.v3.ServiceMonitoringProto
+            .internal_static_google_monitoring_v3_Service_Custom_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_Custom_fieldAccessorTable
+        return com.google.monitoring.v3.ServiceMonitoringProto
+            .internal_static_google_monitoring_v3_Service_Custom_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.monitoring.v3.Service.Custom.class, com.google.monitoring.v3.Service.Custom.Builder.class);
+                com.google.monitoring.v3.Service.Custom.class,
+                com.google.monitoring.v3.Service.Custom.Builder.class);
       }
 
       // Construct using com.google.monitoring.v3.Service.Custom.newBuilder()
@@ -485,16 +541,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -502,9 +557,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_Custom_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.monitoring.v3.ServiceMonitoringProto
+            .internal_static_google_monitoring_v3_Service_Custom_descriptor;
       }
 
       @java.lang.Override
@@ -523,7 +578,8 @@ public com.google.monitoring.v3.Service.Custom build() {
 
       @java.lang.Override
       public com.google.monitoring.v3.Service.Custom buildPartial() {
-        com.google.monitoring.v3.Service.Custom result = new com.google.monitoring.v3.Service.Custom(this);
+        com.google.monitoring.v3.Service.Custom result =
+            new com.google.monitoring.v3.Service.Custom(this);
         onBuilt();
         return result;
       }
@@ -532,38 +588,41 @@ public com.google.monitoring.v3.Service.Custom 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.monitoring.v3.Service.Custom) {
-          return mergeFrom((com.google.monitoring.v3.Service.Custom)other);
+          return mergeFrom((com.google.monitoring.v3.Service.Custom) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -600,6 +659,7 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -612,12 +672,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.monitoring.v3.Service.Custom)
     }
 
     // @@protoc_insertion_point(class_scope:google.monitoring.v3.Service.Custom)
     private static final com.google.monitoring.v3.Service.Custom DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.monitoring.v3.Service.Custom();
     }
@@ -626,16 +686,16 @@ public static com.google.monitoring.v3.Service.Custom getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public Custom parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new Custom(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public Custom parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new Custom(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -650,14 +710,16 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.monitoring.v3.Service.Custom getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface AppEngineOrBuilder extends
+  public interface AppEngineOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.monitoring.v3.Service.AppEngine)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The ID of the App Engine module underlying this service. Corresponds to
      * the `module_id` resource label in the `gae_app` monitored resource:
@@ -665,10 +727,13 @@ public interface AppEngineOrBuilder extends
      * 
* * string module_id = 1; + * * @return The moduleId. */ java.lang.String getModuleId(); /** + * + * *
      * The ID of the App Engine module underlying this service. Corresponds to
      * the `module_id` resource label in the `gae_app` monitored resource:
@@ -676,43 +741,45 @@ public interface AppEngineOrBuilder extends
      * 
* * string module_id = 1; + * * @return The bytes for moduleId. */ - com.google.protobuf.ByteString - getModuleIdBytes(); + com.google.protobuf.ByteString getModuleIdBytes(); } /** + * + * *
    * App Engine service. Learn more at https://cloud.google.com/appengine.
    * 
* * Protobuf type {@code google.monitoring.v3.Service.AppEngine} */ - public static final class AppEngine extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class AppEngine extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.Service.AppEngine) AppEngineOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AppEngine.newBuilder() to construct. private AppEngine(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AppEngine() { moduleId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AppEngine(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AppEngine( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -731,47 +798,52 @@ private AppEngine( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - moduleId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + moduleId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_AppEngine_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringProto + .internal_static_google_monitoring_v3_Service_AppEngine_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_AppEngine_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringProto + .internal_static_google_monitoring_v3_Service_AppEngine_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.Service.AppEngine.class, com.google.monitoring.v3.Service.AppEngine.Builder.class); + com.google.monitoring.v3.Service.AppEngine.class, + com.google.monitoring.v3.Service.AppEngine.Builder.class); } public static final int MODULE_ID_FIELD_NUMBER = 1; private volatile java.lang.Object moduleId_; /** + * + * *
      * The ID of the App Engine module underlying this service. Corresponds to
      * the `module_id` resource label in the `gae_app` monitored resource:
@@ -779,6 +851,7 @@ private AppEngine(
      * 
* * string module_id = 1; + * * @return The moduleId. */ @java.lang.Override @@ -787,14 +860,15 @@ public java.lang.String getModuleId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); moduleId_ = s; return s; } } /** + * + * *
      * The ID of the App Engine module underlying this service. Corresponds to
      * the `module_id` resource label in the `gae_app` monitored resource:
@@ -802,16 +876,15 @@ public java.lang.String getModuleId() {
      * 
* * string module_id = 1; + * * @return The bytes for moduleId. */ @java.lang.Override - public com.google.protobuf.ByteString - getModuleIdBytes() { + public com.google.protobuf.ByteString getModuleIdBytes() { java.lang.Object ref = moduleId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); moduleId_ = b; return b; } else { @@ -820,6 +893,7 @@ public java.lang.String getModuleId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -831,8 +905,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(moduleId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, moduleId_); } @@ -856,15 +929,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.monitoring.v3.Service.AppEngine)) { return super.equals(obj); } - com.google.monitoring.v3.Service.AppEngine other = (com.google.monitoring.v3.Service.AppEngine) obj; + com.google.monitoring.v3.Service.AppEngine other = + (com.google.monitoring.v3.Service.AppEngine) obj; - if (!getModuleId() - .equals(other.getModuleId())) return false; + if (!getModuleId().equals(other.getModuleId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -883,88 +956,94 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.Service.AppEngine parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.Service.AppEngine parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.Service.AppEngine parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.Service.AppEngine parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.Service.AppEngine parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.Service.AppEngine parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.Service.AppEngine parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.Service.AppEngine 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.monitoring.v3.Service.AppEngine parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.Service.AppEngine parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.Service.AppEngine parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.Service.AppEngine parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.Service.AppEngine parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.Service.AppEngine parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.Service.AppEngine prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -974,27 +1053,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * App Engine service. Learn more at https://cloud.google.com/appengine.
      * 
* * Protobuf type {@code google.monitoring.v3.Service.AppEngine} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.Service.AppEngine) com.google.monitoring.v3.Service.AppEngineOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_AppEngine_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringProto + .internal_static_google_monitoring_v3_Service_AppEngine_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_AppEngine_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringProto + .internal_static_google_monitoring_v3_Service_AppEngine_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.Service.AppEngine.class, com.google.monitoring.v3.Service.AppEngine.Builder.class); + com.google.monitoring.v3.Service.AppEngine.class, + com.google.monitoring.v3.Service.AppEngine.Builder.class); } // Construct using com.google.monitoring.v3.Service.AppEngine.newBuilder() @@ -1002,16 +1086,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1021,9 +1104,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_AppEngine_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.ServiceMonitoringProto + .internal_static_google_monitoring_v3_Service_AppEngine_descriptor; } @java.lang.Override @@ -1042,7 +1125,8 @@ public com.google.monitoring.v3.Service.AppEngine build() { @java.lang.Override public com.google.monitoring.v3.Service.AppEngine buildPartial() { - com.google.monitoring.v3.Service.AppEngine result = new com.google.monitoring.v3.Service.AppEngine(this); + com.google.monitoring.v3.Service.AppEngine result = + new com.google.monitoring.v3.Service.AppEngine(this); result.moduleId_ = moduleId_; onBuilt(); return result; @@ -1052,38 +1136,41 @@ public com.google.monitoring.v3.Service.AppEngine 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.monitoring.v3.Service.AppEngine) { - return mergeFrom((com.google.monitoring.v3.Service.AppEngine)other); + return mergeFrom((com.google.monitoring.v3.Service.AppEngine) other); } else { super.mergeFrom(other); return this; @@ -1127,6 +1214,8 @@ public Builder mergeFrom( private java.lang.Object moduleId_ = ""; /** + * + * *
        * The ID of the App Engine module underlying this service. Corresponds to
        * the `module_id` resource label in the `gae_app` monitored resource:
@@ -1134,13 +1223,13 @@ public Builder mergeFrom(
        * 
* * string module_id = 1; + * * @return The moduleId. */ public java.lang.String getModuleId() { java.lang.Object ref = moduleId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); moduleId_ = s; return s; @@ -1149,6 +1238,8 @@ public java.lang.String getModuleId() { } } /** + * + * *
        * The ID of the App Engine module underlying this service. Corresponds to
        * the `module_id` resource label in the `gae_app` monitored resource:
@@ -1156,15 +1247,14 @@ public java.lang.String getModuleId() {
        * 
* * string module_id = 1; + * * @return The bytes for moduleId. */ - public com.google.protobuf.ByteString - getModuleIdBytes() { + public com.google.protobuf.ByteString getModuleIdBytes() { java.lang.Object ref = moduleId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); moduleId_ = b; return b; } else { @@ -1172,6 +1262,8 @@ public java.lang.String getModuleId() { } } /** + * + * *
        * The ID of the App Engine module underlying this service. Corresponds to
        * the `module_id` resource label in the `gae_app` monitored resource:
@@ -1179,20 +1271,22 @@ public java.lang.String getModuleId() {
        * 
* * string module_id = 1; + * * @param value The moduleId to set. * @return This builder for chaining. */ - public Builder setModuleId( - java.lang.String value) { + public Builder setModuleId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + moduleId_ = value; onChanged(); return this; } /** + * + * *
        * The ID of the App Engine module underlying this service. Corresponds to
        * the `module_id` resource label in the `gae_app` monitored resource:
@@ -1200,15 +1294,18 @@ public Builder setModuleId(
        * 
* * string module_id = 1; + * * @return This builder for chaining. */ public Builder clearModuleId() { - + moduleId_ = getDefaultInstance().getModuleId(); onChanged(); return this; } /** + * + * *
        * The ID of the App Engine module underlying this service. Corresponds to
        * the `module_id` resource label in the `gae_app` monitored resource:
@@ -1216,20 +1313,21 @@ public Builder clearModuleId() {
        * 
* * string module_id = 1; + * * @param value The bytes for moduleId to set. * @return This builder for chaining. */ - public Builder setModuleIdBytes( - com.google.protobuf.ByteString value) { + public Builder setModuleIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + moduleId_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1242,12 +1340,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.Service.AppEngine) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.Service.AppEngine) private static final com.google.monitoring.v3.Service.AppEngine DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.Service.AppEngine(); } @@ -1256,16 +1354,16 @@ public static com.google.monitoring.v3.Service.AppEngine getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngine parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngine(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngine parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngine(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1280,14 +1378,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.Service.AppEngine getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface CloudEndpointsOrBuilder extends + public interface CloudEndpointsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.Service.CloudEndpoints) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The name of the Cloud Endpoints service underlying this service.
      * Corresponds to the `service` resource label in the `api` monitored
@@ -1295,10 +1395,13 @@ public interface CloudEndpointsOrBuilder extends
      * 
* * string service = 1; + * * @return The service. */ java.lang.String getService(); /** + * + * *
      * The name of the Cloud Endpoints service underlying this service.
      * Corresponds to the `service` resource label in the `api` monitored
@@ -1306,43 +1409,45 @@ public interface CloudEndpointsOrBuilder extends
      * 
* * string service = 1; + * * @return The bytes for service. */ - com.google.protobuf.ByteString - getServiceBytes(); + com.google.protobuf.ByteString getServiceBytes(); } /** + * + * *
    * Cloud Endpoints service. Learn more at https://cloud.google.com/endpoints.
    * 
* * Protobuf type {@code google.monitoring.v3.Service.CloudEndpoints} */ - public static final class CloudEndpoints extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CloudEndpoints extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.Service.CloudEndpoints) CloudEndpointsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CloudEndpoints.newBuilder() to construct. private CloudEndpoints(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CloudEndpoints() { service_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CloudEndpoints(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CloudEndpoints( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1361,47 +1466,52 @@ private CloudEndpoints( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - service_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + service_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_CloudEndpoints_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringProto + .internal_static_google_monitoring_v3_Service_CloudEndpoints_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_CloudEndpoints_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringProto + .internal_static_google_monitoring_v3_Service_CloudEndpoints_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.Service.CloudEndpoints.class, com.google.monitoring.v3.Service.CloudEndpoints.Builder.class); + com.google.monitoring.v3.Service.CloudEndpoints.class, + com.google.monitoring.v3.Service.CloudEndpoints.Builder.class); } public static final int SERVICE_FIELD_NUMBER = 1; private volatile java.lang.Object service_; /** + * + * *
      * The name of the Cloud Endpoints service underlying this service.
      * Corresponds to the `service` resource label in the `api` monitored
@@ -1409,6 +1519,7 @@ private CloudEndpoints(
      * 
* * string service = 1; + * * @return The service. */ @java.lang.Override @@ -1417,14 +1528,15 @@ public java.lang.String getService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; } } /** + * + * *
      * The name of the Cloud Endpoints service underlying this service.
      * Corresponds to the `service` resource label in the `api` monitored
@@ -1432,16 +1544,15 @@ public java.lang.String getService() {
      * 
* * string service = 1; + * * @return The bytes for service. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceBytes() { + public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); service_ = b; return b; } else { @@ -1450,6 +1561,7 @@ public java.lang.String getService() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1461,8 +1573,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, service_); } @@ -1486,15 +1597,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.monitoring.v3.Service.CloudEndpoints)) { return super.equals(obj); } - com.google.monitoring.v3.Service.CloudEndpoints other = (com.google.monitoring.v3.Service.CloudEndpoints) obj; + com.google.monitoring.v3.Service.CloudEndpoints other = + (com.google.monitoring.v3.Service.CloudEndpoints) obj; - if (!getService() - .equals(other.getService())) return false; + if (!getService().equals(other.getService())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1514,87 +1625,93 @@ public int hashCode() { } public static com.google.monitoring.v3.Service.CloudEndpoints parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.Service.CloudEndpoints parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.Service.CloudEndpoints parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.Service.CloudEndpoints parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.Service.CloudEndpoints parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.Service.CloudEndpoints parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.Service.CloudEndpoints parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.Service.CloudEndpoints parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.Service.CloudEndpoints parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.Service.CloudEndpoints parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.Service.CloudEndpoints parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.Service.CloudEndpoints parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.Service.CloudEndpoints parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.Service.CloudEndpoints parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.Service.CloudEndpoints prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1604,27 +1721,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Cloud Endpoints service. Learn more at https://cloud.google.com/endpoints.
      * 
* * Protobuf type {@code google.monitoring.v3.Service.CloudEndpoints} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.Service.CloudEndpoints) com.google.monitoring.v3.Service.CloudEndpointsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_CloudEndpoints_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringProto + .internal_static_google_monitoring_v3_Service_CloudEndpoints_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_CloudEndpoints_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringProto + .internal_static_google_monitoring_v3_Service_CloudEndpoints_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.Service.CloudEndpoints.class, com.google.monitoring.v3.Service.CloudEndpoints.Builder.class); + com.google.monitoring.v3.Service.CloudEndpoints.class, + com.google.monitoring.v3.Service.CloudEndpoints.Builder.class); } // Construct using com.google.monitoring.v3.Service.CloudEndpoints.newBuilder() @@ -1632,16 +1754,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1651,9 +1772,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_CloudEndpoints_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.ServiceMonitoringProto + .internal_static_google_monitoring_v3_Service_CloudEndpoints_descriptor; } @java.lang.Override @@ -1672,7 +1793,8 @@ public com.google.monitoring.v3.Service.CloudEndpoints build() { @java.lang.Override public com.google.monitoring.v3.Service.CloudEndpoints buildPartial() { - com.google.monitoring.v3.Service.CloudEndpoints result = new com.google.monitoring.v3.Service.CloudEndpoints(this); + com.google.monitoring.v3.Service.CloudEndpoints result = + new com.google.monitoring.v3.Service.CloudEndpoints(this); result.service_ = service_; onBuilt(); return result; @@ -1682,38 +1804,41 @@ public com.google.monitoring.v3.Service.CloudEndpoints 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.monitoring.v3.Service.CloudEndpoints) { - return mergeFrom((com.google.monitoring.v3.Service.CloudEndpoints)other); + return mergeFrom((com.google.monitoring.v3.Service.CloudEndpoints) other); } else { super.mergeFrom(other); return this; @@ -1721,7 +1846,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.Service.CloudEndpoints other) { - if (other == com.google.monitoring.v3.Service.CloudEndpoints.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.Service.CloudEndpoints.getDefaultInstance()) + return this; if (!other.getService().isEmpty()) { service_ = other.service_; onChanged(); @@ -1745,7 +1871,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.Service.CloudEndpoints) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.Service.CloudEndpoints) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1757,6 +1884,8 @@ public Builder mergeFrom( private java.lang.Object service_ = ""; /** + * + * *
        * The name of the Cloud Endpoints service underlying this service.
        * Corresponds to the `service` resource label in the `api` monitored
@@ -1764,13 +1893,13 @@ public Builder mergeFrom(
        * 
* * string service = 1; + * * @return The service. */ public java.lang.String getService() { java.lang.Object ref = service_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; @@ -1779,6 +1908,8 @@ public java.lang.String getService() { } } /** + * + * *
        * The name of the Cloud Endpoints service underlying this service.
        * Corresponds to the `service` resource label in the `api` monitored
@@ -1786,15 +1917,14 @@ public java.lang.String getService() {
        * 
* * string service = 1; + * * @return The bytes for service. */ - public com.google.protobuf.ByteString - getServiceBytes() { + public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); service_ = b; return b; } else { @@ -1802,6 +1932,8 @@ public java.lang.String getService() { } } /** + * + * *
        * The name of the Cloud Endpoints service underlying this service.
        * Corresponds to the `service` resource label in the `api` monitored
@@ -1809,20 +1941,22 @@ public java.lang.String getService() {
        * 
* * string service = 1; + * * @param value The service to set. * @return This builder for chaining. */ - public Builder setService( - java.lang.String value) { + public Builder setService(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + service_ = value; onChanged(); return this; } /** + * + * *
        * The name of the Cloud Endpoints service underlying this service.
        * Corresponds to the `service` resource label in the `api` monitored
@@ -1830,15 +1964,18 @@ public Builder setService(
        * 
* * string service = 1; + * * @return This builder for chaining. */ public Builder clearService() { - + service_ = getDefaultInstance().getService(); onChanged(); return this; } /** + * + * *
        * The name of the Cloud Endpoints service underlying this service.
        * Corresponds to the `service` resource label in the `api` monitored
@@ -1846,20 +1983,21 @@ public Builder clearService() {
        * 
* * string service = 1; + * * @param value The bytes for service to set. * @return This builder for chaining. */ - public Builder setServiceBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + service_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1872,12 +2010,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.Service.CloudEndpoints) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.Service.CloudEndpoints) private static final com.google.monitoring.v3.Service.CloudEndpoints DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.Service.CloudEndpoints(); } @@ -1886,16 +2024,16 @@ public static com.google.monitoring.v3.Service.CloudEndpoints getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudEndpoints parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CloudEndpoints(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudEndpoints parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CloudEndpoints(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1910,14 +2048,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.Service.CloudEndpoints getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ClusterIstioOrBuilder extends + public interface ClusterIstioOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.Service.ClusterIstio) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The location of the Kubernetes cluster in which this Istio service is
      * defined. Corresponds to the `location` resource label in `k8s_cluster`
@@ -1925,10 +2065,13 @@ public interface ClusterIstioOrBuilder extends
      * 
* * string location = 1; + * * @return The location. */ java.lang.String getLocation(); /** + * + * *
      * The location of the Kubernetes cluster in which this Istio service is
      * defined. Corresponds to the `location` resource label in `k8s_cluster`
@@ -1936,12 +2079,14 @@ public interface ClusterIstioOrBuilder extends
      * 
* * string location = 1; + * * @return The bytes for location. */ - com.google.protobuf.ByteString - getLocationBytes(); + com.google.protobuf.ByteString getLocationBytes(); /** + * + * *
      * The name of the Kubernetes cluster in which this Istio service is
      * defined. Corresponds to the `cluster_name` resource label in
@@ -1949,10 +2094,13 @@ public interface ClusterIstioOrBuilder extends
      * 
* * string cluster_name = 2; + * * @return The clusterName. */ java.lang.String getClusterName(); /** + * + * *
      * The name of the Kubernetes cluster in which this Istio service is
      * defined. Corresponds to the `cluster_name` resource label in
@@ -1960,56 +2108,68 @@ public interface ClusterIstioOrBuilder extends
      * 
* * string cluster_name = 2; + * * @return The bytes for clusterName. */ - com.google.protobuf.ByteString - getClusterNameBytes(); + com.google.protobuf.ByteString getClusterNameBytes(); /** + * + * *
      * The namespace of the Istio service underlying this service. Corresponds
      * to the `destination_service_namespace` metric label in Istio metrics.
      * 
* * string service_namespace = 3; + * * @return The serviceNamespace. */ java.lang.String getServiceNamespace(); /** + * + * *
      * The namespace of the Istio service underlying this service. Corresponds
      * to the `destination_service_namespace` metric label in Istio metrics.
      * 
* * string service_namespace = 3; + * * @return The bytes for serviceNamespace. */ - com.google.protobuf.ByteString - getServiceNamespaceBytes(); + com.google.protobuf.ByteString getServiceNamespaceBytes(); /** + * + * *
      * The name of the Istio service underlying this service. Corresponds to the
      * `destination_service_name` metric label in Istio metrics.
      * 
* * string service_name = 4; + * * @return The serviceName. */ java.lang.String getServiceName(); /** + * + * *
      * The name of the Istio service underlying this service. Corresponds to the
      * `destination_service_name` metric label in Istio metrics.
      * 
* * string service_name = 4; + * * @return The bytes for serviceName. */ - com.google.protobuf.ByteString - getServiceNameBytes(); + com.google.protobuf.ByteString getServiceNameBytes(); } /** + * + * *
    * Istio service scoped to a single Kubernetes cluster. Learn more at
    * https://istio.io. Clusters running OSS Istio will have their services
@@ -2018,15 +2178,16 @@ public interface ClusterIstioOrBuilder extends
    *
    * Protobuf type {@code google.monitoring.v3.Service.ClusterIstio}
    */
-  public static final class ClusterIstio extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class ClusterIstio extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.monitoring.v3.Service.ClusterIstio)
       ClusterIstioOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use ClusterIstio.newBuilder() to construct.
     private ClusterIstio(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private ClusterIstio() {
       location_ = "";
       clusterName_ = "";
@@ -2036,16 +2197,15 @@ private ClusterIstio() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new ClusterIstio();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private ClusterIstio(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -2064,65 +2224,73 @@ private ClusterIstio(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              location_ = s;
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
+                location_ = s;
+                break;
+              }
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              clusterName_ = s;
-              break;
-            }
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
+                clusterName_ = s;
+                break;
+              }
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              serviceNamespace_ = s;
-              break;
-            }
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
+                serviceNamespace_ = s;
+                break;
+              }
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              serviceName_ = s;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                serviceName_ = s;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_ClusterIstio_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.monitoring.v3.ServiceMonitoringProto
+          .internal_static_google_monitoring_v3_Service_ClusterIstio_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_ClusterIstio_fieldAccessorTable
+      return com.google.monitoring.v3.ServiceMonitoringProto
+          .internal_static_google_monitoring_v3_Service_ClusterIstio_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.Service.ClusterIstio.class, com.google.monitoring.v3.Service.ClusterIstio.Builder.class);
+              com.google.monitoring.v3.Service.ClusterIstio.class,
+              com.google.monitoring.v3.Service.ClusterIstio.Builder.class);
     }
 
     public static final int LOCATION_FIELD_NUMBER = 1;
     private volatile java.lang.Object location_;
     /**
+     *
+     *
      * 
      * The location of the Kubernetes cluster in which this Istio service is
      * defined. Corresponds to the `location` resource label in `k8s_cluster`
@@ -2130,6 +2298,7 @@ private ClusterIstio(
      * 
* * string location = 1; + * * @return The location. */ @java.lang.Override @@ -2138,14 +2307,15 @@ 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; } } /** + * + * *
      * The location of the Kubernetes cluster in which this Istio service is
      * defined. Corresponds to the `location` resource label in `k8s_cluster`
@@ -2153,16 +2323,15 @@ public java.lang.String getLocation() {
      * 
* * 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 { @@ -2173,6 +2342,8 @@ public java.lang.String getLocation() { public static final int CLUSTER_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object clusterName_; /** + * + * *
      * The name of the Kubernetes cluster in which this Istio service is
      * defined. Corresponds to the `cluster_name` resource label in
@@ -2180,6 +2351,7 @@ public java.lang.String getLocation() {
      * 
* * string cluster_name = 2; + * * @return The clusterName. */ @java.lang.Override @@ -2188,14 +2360,15 @@ public java.lang.String getClusterName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterName_ = s; return s; } } /** + * + * *
      * The name of the Kubernetes cluster in which this Istio service is
      * defined. Corresponds to the `cluster_name` resource label in
@@ -2203,16 +2376,15 @@ public java.lang.String getClusterName() {
      * 
* * string cluster_name = 2; + * * @return The bytes for clusterName. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterNameBytes() { + public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterName_ = b; return b; } else { @@ -2223,12 +2395,15 @@ public java.lang.String getClusterName() { public static final int SERVICE_NAMESPACE_FIELD_NUMBER = 3; private volatile java.lang.Object serviceNamespace_; /** + * + * *
      * The namespace of the Istio service underlying this service. Corresponds
      * to the `destination_service_namespace` metric label in Istio metrics.
      * 
* * string service_namespace = 3; + * * @return The serviceNamespace. */ @java.lang.Override @@ -2237,30 +2412,30 @@ public java.lang.String getServiceNamespace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceNamespace_ = s; return s; } } /** + * + * *
      * The namespace of the Istio service underlying this service. Corresponds
      * to the `destination_service_namespace` metric label in Istio metrics.
      * 
* * string service_namespace = 3; + * * @return The bytes for serviceNamespace. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceNamespaceBytes() { + public com.google.protobuf.ByteString getServiceNamespaceBytes() { java.lang.Object ref = serviceNamespace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceNamespace_ = b; return b; } else { @@ -2271,12 +2446,15 @@ public java.lang.String getServiceNamespace() { public static final int SERVICE_NAME_FIELD_NUMBER = 4; private volatile java.lang.Object serviceName_; /** + * + * *
      * The name of the Istio service underlying this service. Corresponds to the
      * `destination_service_name` metric label in Istio metrics.
      * 
* * string service_name = 4; + * * @return The serviceName. */ @java.lang.Override @@ -2285,30 +2463,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; } } /** + * + * *
      * The name of the Istio service underlying this service. Corresponds to the
      * `destination_service_name` metric label in Istio metrics.
      * 
* * string service_name = 4; + * * @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 { @@ -2317,6 +2495,7 @@ public java.lang.String getServiceName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2328,8 +2507,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, location_); } @@ -2371,21 +2549,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.monitoring.v3.Service.ClusterIstio)) { return super.equals(obj); } - com.google.monitoring.v3.Service.ClusterIstio other = (com.google.monitoring.v3.Service.ClusterIstio) obj; + com.google.monitoring.v3.Service.ClusterIstio other = + (com.google.monitoring.v3.Service.ClusterIstio) obj; - if (!getLocation() - .equals(other.getLocation())) return false; - if (!getClusterName() - .equals(other.getClusterName())) return false; - if (!getServiceNamespace() - .equals(other.getServiceNamespace())) return false; - if (!getServiceName() - .equals(other.getServiceName())) return false; + if (!getLocation().equals(other.getLocation())) return false; + if (!getClusterName().equals(other.getClusterName())) return false; + if (!getServiceNamespace().equals(other.getServiceNamespace())) return false; + if (!getServiceName().equals(other.getServiceName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2410,88 +2585,94 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.Service.ClusterIstio parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.Service.ClusterIstio parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.Service.ClusterIstio parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.Service.ClusterIstio parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.Service.ClusterIstio parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.Service.ClusterIstio parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.Service.ClusterIstio parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.Service.ClusterIstio 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.monitoring.v3.Service.ClusterIstio parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.Service.ClusterIstio parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.Service.ClusterIstio parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.Service.ClusterIstio parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.Service.ClusterIstio parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.Service.ClusterIstio parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.Service.ClusterIstio prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2501,6 +2682,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Istio service scoped to a single Kubernetes cluster. Learn more at
      * https://istio.io. Clusters running OSS Istio will have their services
@@ -2509,21 +2692,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.monitoring.v3.Service.ClusterIstio}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.monitoring.v3.Service.ClusterIstio)
         com.google.monitoring.v3.Service.ClusterIstioOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_ClusterIstio_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.monitoring.v3.ServiceMonitoringProto
+            .internal_static_google_monitoring_v3_Service_ClusterIstio_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_ClusterIstio_fieldAccessorTable
+        return com.google.monitoring.v3.ServiceMonitoringProto
+            .internal_static_google_monitoring_v3_Service_ClusterIstio_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.monitoring.v3.Service.ClusterIstio.class, com.google.monitoring.v3.Service.ClusterIstio.Builder.class);
+                com.google.monitoring.v3.Service.ClusterIstio.class,
+                com.google.monitoring.v3.Service.ClusterIstio.Builder.class);
       }
 
       // Construct using com.google.monitoring.v3.Service.ClusterIstio.newBuilder()
@@ -2531,16 +2717,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -2556,9 +2741,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_ClusterIstio_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.monitoring.v3.ServiceMonitoringProto
+            .internal_static_google_monitoring_v3_Service_ClusterIstio_descriptor;
       }
 
       @java.lang.Override
@@ -2577,7 +2762,8 @@ public com.google.monitoring.v3.Service.ClusterIstio build() {
 
       @java.lang.Override
       public com.google.monitoring.v3.Service.ClusterIstio buildPartial() {
-        com.google.monitoring.v3.Service.ClusterIstio result = new com.google.monitoring.v3.Service.ClusterIstio(this);
+        com.google.monitoring.v3.Service.ClusterIstio result =
+            new com.google.monitoring.v3.Service.ClusterIstio(this);
         result.location_ = location_;
         result.clusterName_ = clusterName_;
         result.serviceNamespace_ = serviceNamespace_;
@@ -2590,38 +2776,41 @@ public com.google.monitoring.v3.Service.ClusterIstio 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.monitoring.v3.Service.ClusterIstio) {
-          return mergeFrom((com.google.monitoring.v3.Service.ClusterIstio)other);
+          return mergeFrom((com.google.monitoring.v3.Service.ClusterIstio) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -2629,7 +2818,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.monitoring.v3.Service.ClusterIstio other) {
-        if (other == com.google.monitoring.v3.Service.ClusterIstio.getDefaultInstance()) return this;
+        if (other == com.google.monitoring.v3.Service.ClusterIstio.getDefaultInstance())
+          return this;
         if (!other.getLocation().isEmpty()) {
           location_ = other.location_;
           onChanged();
@@ -2677,6 +2867,8 @@ public Builder mergeFrom(
 
       private java.lang.Object location_ = "";
       /**
+       *
+       *
        * 
        * The location of the Kubernetes cluster in which this Istio service is
        * defined. Corresponds to the `location` resource label in `k8s_cluster`
@@ -2684,13 +2876,13 @@ public Builder mergeFrom(
        * 
* * 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; @@ -2699,6 +2891,8 @@ public java.lang.String getLocation() { } } /** + * + * *
        * The location of the Kubernetes cluster in which this Istio service is
        * defined. Corresponds to the `location` resource label in `k8s_cluster`
@@ -2706,15 +2900,14 @@ public java.lang.String getLocation() {
        * 
* * 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 { @@ -2722,6 +2915,8 @@ public java.lang.String getLocation() { } } /** + * + * *
        * The location of the Kubernetes cluster in which this Istio service is
        * defined. Corresponds to the `location` resource label in `k8s_cluster`
@@ -2729,20 +2924,22 @@ public java.lang.String getLocation() {
        * 
* * 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; } /** + * + * *
        * The location of the Kubernetes cluster in which this Istio service is
        * defined. Corresponds to the `location` resource label in `k8s_cluster`
@@ -2750,15 +2947,18 @@ public Builder setLocation(
        * 
* * string location = 1; + * * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** + * + * *
        * The location of the Kubernetes cluster in which this Istio service is
        * defined. Corresponds to the `location` resource label in `k8s_cluster`
@@ -2766,16 +2966,16 @@ public Builder clearLocation() {
        * 
* * 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; @@ -2783,6 +2983,8 @@ public Builder setLocationBytes( private java.lang.Object clusterName_ = ""; /** + * + * *
        * The name of the Kubernetes cluster in which this Istio service is
        * defined. Corresponds to the `cluster_name` resource label in
@@ -2790,13 +2992,13 @@ public Builder setLocationBytes(
        * 
* * string cluster_name = 2; + * * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterName_ = s; return s; @@ -2805,6 +3007,8 @@ public java.lang.String getClusterName() { } } /** + * + * *
        * The name of the Kubernetes cluster in which this Istio service is
        * defined. Corresponds to the `cluster_name` resource label in
@@ -2812,15 +3016,14 @@ public java.lang.String getClusterName() {
        * 
* * string cluster_name = 2; + * * @return The bytes for clusterName. */ - public com.google.protobuf.ByteString - getClusterNameBytes() { + public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterName_ = b; return b; } else { @@ -2828,6 +3031,8 @@ public java.lang.String getClusterName() { } } /** + * + * *
        * The name of the Kubernetes cluster in which this Istio service is
        * defined. Corresponds to the `cluster_name` resource label in
@@ -2835,20 +3040,22 @@ public java.lang.String getClusterName() {
        * 
* * string cluster_name = 2; + * * @param value The clusterName to set. * @return This builder for chaining. */ - public Builder setClusterName( - java.lang.String value) { + public Builder setClusterName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterName_ = value; onChanged(); return this; } /** + * + * *
        * The name of the Kubernetes cluster in which this Istio service is
        * defined. Corresponds to the `cluster_name` resource label in
@@ -2856,15 +3063,18 @@ public Builder setClusterName(
        * 
* * string cluster_name = 2; + * * @return This builder for chaining. */ public Builder clearClusterName() { - + clusterName_ = getDefaultInstance().getClusterName(); onChanged(); return this; } /** + * + * *
        * The name of the Kubernetes cluster in which this Istio service is
        * defined. Corresponds to the `cluster_name` resource label in
@@ -2872,16 +3082,16 @@ public Builder clearClusterName() {
        * 
* * string cluster_name = 2; + * * @param value The bytes for clusterName to set. * @return This builder for chaining. */ - public Builder setClusterNameBytes( - com.google.protobuf.ByteString value) { + public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterName_ = value; onChanged(); return this; @@ -2889,19 +3099,21 @@ public Builder setClusterNameBytes( private java.lang.Object serviceNamespace_ = ""; /** + * + * *
        * The namespace of the Istio service underlying this service. Corresponds
        * to the `destination_service_namespace` metric label in Istio metrics.
        * 
* * string service_namespace = 3; + * * @return The serviceNamespace. */ public java.lang.String getServiceNamespace() { java.lang.Object ref = serviceNamespace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceNamespace_ = s; return s; @@ -2910,21 +3122,22 @@ public java.lang.String getServiceNamespace() { } } /** + * + * *
        * The namespace of the Istio service underlying this service. Corresponds
        * to the `destination_service_namespace` metric label in Istio metrics.
        * 
* * string service_namespace = 3; + * * @return The bytes for serviceNamespace. */ - public com.google.protobuf.ByteString - getServiceNamespaceBytes() { + public com.google.protobuf.ByteString getServiceNamespaceBytes() { java.lang.Object ref = serviceNamespace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceNamespace_ = b; return b; } else { @@ -2932,57 +3145,64 @@ public java.lang.String getServiceNamespace() { } } /** + * + * *
        * The namespace of the Istio service underlying this service. Corresponds
        * to the `destination_service_namespace` metric label in Istio metrics.
        * 
* * string service_namespace = 3; + * * @param value The serviceNamespace to set. * @return This builder for chaining. */ - public Builder setServiceNamespace( - java.lang.String value) { + public Builder setServiceNamespace(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceNamespace_ = value; onChanged(); return this; } /** + * + * *
        * The namespace of the Istio service underlying this service. Corresponds
        * to the `destination_service_namespace` metric label in Istio metrics.
        * 
* * string service_namespace = 3; + * * @return This builder for chaining. */ public Builder clearServiceNamespace() { - + serviceNamespace_ = getDefaultInstance().getServiceNamespace(); onChanged(); return this; } /** + * + * *
        * The namespace of the Istio service underlying this service. Corresponds
        * to the `destination_service_namespace` metric label in Istio metrics.
        * 
* * string service_namespace = 3; + * * @param value The bytes for serviceNamespace to set. * @return This builder for chaining. */ - public Builder setServiceNamespaceBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceNamespaceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceNamespace_ = value; onChanged(); return this; @@ -2990,19 +3210,21 @@ public Builder setServiceNamespaceBytes( private java.lang.Object serviceName_ = ""; /** + * + * *
        * The name of the Istio service underlying this service. Corresponds to the
        * `destination_service_name` metric label in Istio metrics.
        * 
* * string service_name = 4; + * * @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; @@ -3011,21 +3233,22 @@ public java.lang.String getServiceName() { } } /** + * + * *
        * The name of the Istio service underlying this service. Corresponds to the
        * `destination_service_name` metric label in Istio metrics.
        * 
* * string service_name = 4; + * * @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 { @@ -3033,61 +3256,69 @@ public java.lang.String getServiceName() { } } /** + * + * *
        * The name of the Istio service underlying this service. Corresponds to the
        * `destination_service_name` metric label in Istio metrics.
        * 
* * string service_name = 4; + * * @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 Istio service underlying this service. Corresponds to the
        * `destination_service_name` metric label in Istio metrics.
        * 
* * string service_name = 4; + * * @return This builder for chaining. */ public Builder clearServiceName() { - + serviceName_ = getDefaultInstance().getServiceName(); onChanged(); return this; } /** + * + * *
        * The name of the Istio service underlying this service. Corresponds to the
        * `destination_service_name` metric label in Istio metrics.
        * 
* * string service_name = 4; + * * @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) { @@ -3100,12 +3331,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.Service.ClusterIstio) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.Service.ClusterIstio) private static final com.google.monitoring.v3.Service.ClusterIstio DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.Service.ClusterIstio(); } @@ -3114,16 +3345,16 @@ public static com.google.monitoring.v3.Service.ClusterIstio getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClusterIstio parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ClusterIstio(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClusterIstio parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ClusterIstio(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3138,80 +3369,97 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.Service.ClusterIstio getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface MeshIstioOrBuilder extends + public interface MeshIstioOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.Service.MeshIstio) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Identifier for the mesh in which this Istio service is defined.
      * Corresponds to the `mesh_uid` metric label in Istio metrics.
      * 
* * string mesh_uid = 1; + * * @return The meshUid. */ java.lang.String getMeshUid(); /** + * + * *
      * Identifier for the mesh in which this Istio service is defined.
      * Corresponds to the `mesh_uid` metric label in Istio metrics.
      * 
* * string mesh_uid = 1; + * * @return The bytes for meshUid. */ - com.google.protobuf.ByteString - getMeshUidBytes(); + com.google.protobuf.ByteString getMeshUidBytes(); /** + * + * *
      * The namespace of the Istio service underlying this service. Corresponds
      * to the `destination_service_namespace` metric label in Istio metrics.
      * 
* * string service_namespace = 3; + * * @return The serviceNamespace. */ java.lang.String getServiceNamespace(); /** + * + * *
      * The namespace of the Istio service underlying this service. Corresponds
      * to the `destination_service_namespace` metric label in Istio metrics.
      * 
* * string service_namespace = 3; + * * @return The bytes for serviceNamespace. */ - com.google.protobuf.ByteString - getServiceNamespaceBytes(); + com.google.protobuf.ByteString getServiceNamespaceBytes(); /** + * + * *
      * The name of the Istio service underlying this service. Corresponds to the
      * `destination_service_name` metric label in Istio metrics.
      * 
* * string service_name = 4; + * * @return The serviceName. */ java.lang.String getServiceName(); /** + * + * *
      * The name of the Istio service underlying this service. Corresponds to the
      * `destination_service_name` metric label in Istio metrics.
      * 
* * string service_name = 4; + * * @return The bytes for serviceName. */ - com.google.protobuf.ByteString - getServiceNameBytes(); + com.google.protobuf.ByteString getServiceNameBytes(); } /** + * + * *
    * Istio service scoped to an Istio mesh. Anthos clusters running ASM < 1.6.8
    * will have their services ingested as this type.
@@ -3219,15 +3467,16 @@ public interface MeshIstioOrBuilder extends
    *
    * Protobuf type {@code google.monitoring.v3.Service.MeshIstio}
    */
-  public static final class MeshIstio extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class MeshIstio extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.monitoring.v3.Service.MeshIstio)
       MeshIstioOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use MeshIstio.newBuilder() to construct.
     private MeshIstio(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private MeshIstio() {
       meshUid_ = "";
       serviceNamespace_ = "";
@@ -3236,16 +3485,15 @@ private MeshIstio() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new MeshIstio();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private MeshIstio(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -3264,65 +3512,73 @@ private MeshIstio(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              meshUid_ = s;
-              break;
-            }
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
+                meshUid_ = s;
+                break;
+              }
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              serviceNamespace_ = s;
-              break;
-            }
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
+                serviceNamespace_ = s;
+                break;
+              }
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              serviceName_ = s;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                serviceName_ = s;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_MeshIstio_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.monitoring.v3.ServiceMonitoringProto
+          .internal_static_google_monitoring_v3_Service_MeshIstio_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_MeshIstio_fieldAccessorTable
+      return com.google.monitoring.v3.ServiceMonitoringProto
+          .internal_static_google_monitoring_v3_Service_MeshIstio_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.Service.MeshIstio.class, com.google.monitoring.v3.Service.MeshIstio.Builder.class);
+              com.google.monitoring.v3.Service.MeshIstio.class,
+              com.google.monitoring.v3.Service.MeshIstio.Builder.class);
     }
 
     public static final int MESH_UID_FIELD_NUMBER = 1;
     private volatile java.lang.Object meshUid_;
     /**
+     *
+     *
      * 
      * Identifier for the mesh in which this Istio service is defined.
      * Corresponds to the `mesh_uid` metric label in Istio metrics.
      * 
* * string mesh_uid = 1; + * * @return The meshUid. */ @java.lang.Override @@ -3331,30 +3587,30 @@ public java.lang.String getMeshUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); meshUid_ = s; return s; } } /** + * + * *
      * Identifier for the mesh in which this Istio service is defined.
      * Corresponds to the `mesh_uid` metric label in Istio metrics.
      * 
* * string mesh_uid = 1; + * * @return The bytes for meshUid. */ @java.lang.Override - public com.google.protobuf.ByteString - getMeshUidBytes() { + public com.google.protobuf.ByteString getMeshUidBytes() { java.lang.Object ref = meshUid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); meshUid_ = b; return b; } else { @@ -3365,12 +3621,15 @@ public java.lang.String getMeshUid() { public static final int SERVICE_NAMESPACE_FIELD_NUMBER = 3; private volatile java.lang.Object serviceNamespace_; /** + * + * *
      * The namespace of the Istio service underlying this service. Corresponds
      * to the `destination_service_namespace` metric label in Istio metrics.
      * 
* * string service_namespace = 3; + * * @return The serviceNamespace. */ @java.lang.Override @@ -3379,30 +3638,30 @@ public java.lang.String getServiceNamespace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceNamespace_ = s; return s; } } /** + * + * *
      * The namespace of the Istio service underlying this service. Corresponds
      * to the `destination_service_namespace` metric label in Istio metrics.
      * 
* * string service_namespace = 3; + * * @return The bytes for serviceNamespace. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceNamespaceBytes() { + public com.google.protobuf.ByteString getServiceNamespaceBytes() { java.lang.Object ref = serviceNamespace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceNamespace_ = b; return b; } else { @@ -3413,12 +3672,15 @@ public java.lang.String getServiceNamespace() { public static final int SERVICE_NAME_FIELD_NUMBER = 4; private volatile java.lang.Object serviceName_; /** + * + * *
      * The name of the Istio service underlying this service. Corresponds to the
      * `destination_service_name` metric label in Istio metrics.
      * 
* * string service_name = 4; + * * @return The serviceName. */ @java.lang.Override @@ -3427,30 +3689,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; } } /** + * + * *
      * The name of the Istio service underlying this service. Corresponds to the
      * `destination_service_name` metric label in Istio metrics.
      * 
* * string service_name = 4; + * * @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 { @@ -3459,6 +3721,7 @@ public java.lang.String getServiceName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3470,8 +3733,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(meshUid_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, meshUid_); } @@ -3507,19 +3769,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.monitoring.v3.Service.MeshIstio)) { return super.equals(obj); } - com.google.monitoring.v3.Service.MeshIstio other = (com.google.monitoring.v3.Service.MeshIstio) obj; + com.google.monitoring.v3.Service.MeshIstio other = + (com.google.monitoring.v3.Service.MeshIstio) obj; - if (!getMeshUid() - .equals(other.getMeshUid())) return false; - if (!getServiceNamespace() - .equals(other.getServiceNamespace())) return false; - if (!getServiceName() - .equals(other.getServiceName())) return false; + if (!getMeshUid().equals(other.getMeshUid())) return false; + if (!getServiceNamespace().equals(other.getServiceNamespace())) return false; + if (!getServiceName().equals(other.getServiceName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3542,88 +3802,94 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.Service.MeshIstio parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.Service.MeshIstio parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.Service.MeshIstio parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.Service.MeshIstio parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.Service.MeshIstio parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.Service.MeshIstio parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.Service.MeshIstio parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.Service.MeshIstio 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.monitoring.v3.Service.MeshIstio parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.Service.MeshIstio parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.Service.MeshIstio parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.Service.MeshIstio parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.Service.MeshIstio parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.Service.MeshIstio parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.Service.MeshIstio prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3633,6 +3899,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Istio service scoped to an Istio mesh. Anthos clusters running ASM < 1.6.8
      * will have their services ingested as this type.
@@ -3640,21 +3908,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.monitoring.v3.Service.MeshIstio}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.monitoring.v3.Service.MeshIstio)
         com.google.monitoring.v3.Service.MeshIstioOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_MeshIstio_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.monitoring.v3.ServiceMonitoringProto
+            .internal_static_google_monitoring_v3_Service_MeshIstio_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_MeshIstio_fieldAccessorTable
+        return com.google.monitoring.v3.ServiceMonitoringProto
+            .internal_static_google_monitoring_v3_Service_MeshIstio_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.monitoring.v3.Service.MeshIstio.class, com.google.monitoring.v3.Service.MeshIstio.Builder.class);
+                com.google.monitoring.v3.Service.MeshIstio.class,
+                com.google.monitoring.v3.Service.MeshIstio.Builder.class);
       }
 
       // Construct using com.google.monitoring.v3.Service.MeshIstio.newBuilder()
@@ -3662,16 +3933,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -3685,9 +3955,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_MeshIstio_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.monitoring.v3.ServiceMonitoringProto
+            .internal_static_google_monitoring_v3_Service_MeshIstio_descriptor;
       }
 
       @java.lang.Override
@@ -3706,7 +3976,8 @@ public com.google.monitoring.v3.Service.MeshIstio build() {
 
       @java.lang.Override
       public com.google.monitoring.v3.Service.MeshIstio buildPartial() {
-        com.google.monitoring.v3.Service.MeshIstio result = new com.google.monitoring.v3.Service.MeshIstio(this);
+        com.google.monitoring.v3.Service.MeshIstio result =
+            new com.google.monitoring.v3.Service.MeshIstio(this);
         result.meshUid_ = meshUid_;
         result.serviceNamespace_ = serviceNamespace_;
         result.serviceName_ = serviceName_;
@@ -3718,38 +3989,41 @@ public com.google.monitoring.v3.Service.MeshIstio buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
-      public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+      public Builder addRepeatedField(
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.monitoring.v3.Service.MeshIstio) {
-          return mergeFrom((com.google.monitoring.v3.Service.MeshIstio)other);
+          return mergeFrom((com.google.monitoring.v3.Service.MeshIstio) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -3801,19 +4075,21 @@ public Builder mergeFrom(
 
       private java.lang.Object meshUid_ = "";
       /**
+       *
+       *
        * 
        * Identifier for the mesh in which this Istio service is defined.
        * Corresponds to the `mesh_uid` metric label in Istio metrics.
        * 
* * string mesh_uid = 1; + * * @return The meshUid. */ public java.lang.String getMeshUid() { java.lang.Object ref = meshUid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); meshUid_ = s; return s; @@ -3822,21 +4098,22 @@ public java.lang.String getMeshUid() { } } /** + * + * *
        * Identifier for the mesh in which this Istio service is defined.
        * Corresponds to the `mesh_uid` metric label in Istio metrics.
        * 
* * string mesh_uid = 1; + * * @return The bytes for meshUid. */ - public com.google.protobuf.ByteString - getMeshUidBytes() { + public com.google.protobuf.ByteString getMeshUidBytes() { java.lang.Object ref = meshUid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); meshUid_ = b; return b; } else { @@ -3844,57 +4121,64 @@ public java.lang.String getMeshUid() { } } /** + * + * *
        * Identifier for the mesh in which this Istio service is defined.
        * Corresponds to the `mesh_uid` metric label in Istio metrics.
        * 
* * string mesh_uid = 1; + * * @param value The meshUid to set. * @return This builder for chaining. */ - public Builder setMeshUid( - java.lang.String value) { + public Builder setMeshUid(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + meshUid_ = value; onChanged(); return this; } /** + * + * *
        * Identifier for the mesh in which this Istio service is defined.
        * Corresponds to the `mesh_uid` metric label in Istio metrics.
        * 
* * string mesh_uid = 1; + * * @return This builder for chaining. */ public Builder clearMeshUid() { - + meshUid_ = getDefaultInstance().getMeshUid(); onChanged(); return this; } /** + * + * *
        * Identifier for the mesh in which this Istio service is defined.
        * Corresponds to the `mesh_uid` metric label in Istio metrics.
        * 
* * string mesh_uid = 1; + * * @param value The bytes for meshUid to set. * @return This builder for chaining. */ - public Builder setMeshUidBytes( - com.google.protobuf.ByteString value) { + public Builder setMeshUidBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + meshUid_ = value; onChanged(); return this; @@ -3902,19 +4186,21 @@ public Builder setMeshUidBytes( private java.lang.Object serviceNamespace_ = ""; /** + * + * *
        * The namespace of the Istio service underlying this service. Corresponds
        * to the `destination_service_namespace` metric label in Istio metrics.
        * 
* * string service_namespace = 3; + * * @return The serviceNamespace. */ public java.lang.String getServiceNamespace() { java.lang.Object ref = serviceNamespace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceNamespace_ = s; return s; @@ -3923,21 +4209,22 @@ public java.lang.String getServiceNamespace() { } } /** + * + * *
        * The namespace of the Istio service underlying this service. Corresponds
        * to the `destination_service_namespace` metric label in Istio metrics.
        * 
* * string service_namespace = 3; + * * @return The bytes for serviceNamespace. */ - public com.google.protobuf.ByteString - getServiceNamespaceBytes() { + public com.google.protobuf.ByteString getServiceNamespaceBytes() { java.lang.Object ref = serviceNamespace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceNamespace_ = b; return b; } else { @@ -3945,57 +4232,64 @@ public java.lang.String getServiceNamespace() { } } /** + * + * *
        * The namespace of the Istio service underlying this service. Corresponds
        * to the `destination_service_namespace` metric label in Istio metrics.
        * 
* * string service_namespace = 3; + * * @param value The serviceNamespace to set. * @return This builder for chaining. */ - public Builder setServiceNamespace( - java.lang.String value) { + public Builder setServiceNamespace(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceNamespace_ = value; onChanged(); return this; } /** + * + * *
        * The namespace of the Istio service underlying this service. Corresponds
        * to the `destination_service_namespace` metric label in Istio metrics.
        * 
* * string service_namespace = 3; + * * @return This builder for chaining. */ public Builder clearServiceNamespace() { - + serviceNamespace_ = getDefaultInstance().getServiceNamespace(); onChanged(); return this; } /** + * + * *
        * The namespace of the Istio service underlying this service. Corresponds
        * to the `destination_service_namespace` metric label in Istio metrics.
        * 
* * string service_namespace = 3; + * * @param value The bytes for serviceNamespace to set. * @return This builder for chaining. */ - public Builder setServiceNamespaceBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceNamespaceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceNamespace_ = value; onChanged(); return this; @@ -4003,19 +4297,21 @@ public Builder setServiceNamespaceBytes( private java.lang.Object serviceName_ = ""; /** + * + * *
        * The name of the Istio service underlying this service. Corresponds to the
        * `destination_service_name` metric label in Istio metrics.
        * 
* * string service_name = 4; + * * @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; @@ -4024,21 +4320,22 @@ public java.lang.String getServiceName() { } } /** + * + * *
        * The name of the Istio service underlying this service. Corresponds to the
        * `destination_service_name` metric label in Istio metrics.
        * 
* * string service_name = 4; + * * @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 { @@ -4046,61 +4343,69 @@ public java.lang.String getServiceName() { } } /** + * + * *
        * The name of the Istio service underlying this service. Corresponds to the
        * `destination_service_name` metric label in Istio metrics.
        * 
* * string service_name = 4; + * * @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 Istio service underlying this service. Corresponds to the
        * `destination_service_name` metric label in Istio metrics.
        * 
* * string service_name = 4; + * * @return This builder for chaining. */ public Builder clearServiceName() { - + serviceName_ = getDefaultInstance().getServiceName(); onChanged(); return this; } /** + * + * *
        * The name of the Istio service underlying this service. Corresponds to the
        * `destination_service_name` metric label in Istio metrics.
        * 
* * string service_name = 4; + * * @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) { @@ -4113,12 +4418,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.Service.MeshIstio) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.Service.MeshIstio) private static final com.google.monitoring.v3.Service.MeshIstio DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.Service.MeshIstio(); } @@ -4127,16 +4432,16 @@ public static com.google.monitoring.v3.Service.MeshIstio getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MeshIstio parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MeshIstio(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MeshIstio parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MeshIstio(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4151,14 +4456,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.Service.MeshIstio getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface IstioCanonicalServiceOrBuilder extends + public interface IstioCanonicalServiceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.Service.IstioCanonicalService) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Identifier for the Istio mesh in which this canonical service is defined.
      * Corresponds to the `mesh_uid` metric label in
@@ -4166,10 +4473,13 @@ public interface IstioCanonicalServiceOrBuilder extends
      * 
* * string mesh_uid = 1; + * * @return The meshUid. */ java.lang.String getMeshUid(); /** + * + * *
      * Identifier for the Istio mesh in which this canonical service is defined.
      * Corresponds to the `mesh_uid` metric label in
@@ -4177,12 +4487,14 @@ public interface IstioCanonicalServiceOrBuilder extends
      * 
* * string mesh_uid = 1; + * * @return The bytes for meshUid. */ - com.google.protobuf.ByteString - getMeshUidBytes(); + com.google.protobuf.ByteString getMeshUidBytes(); /** + * + * *
      * The namespace of the canonical service underlying this service.
      * Corresponds to the `destination_canonical_service_namespace` metric
@@ -4191,10 +4503,13 @@ public interface IstioCanonicalServiceOrBuilder extends
      * 
* * string canonical_service_namespace = 3; + * * @return The canonicalServiceNamespace. */ java.lang.String getCanonicalServiceNamespace(); /** + * + * *
      * The namespace of the canonical service underlying this service.
      * Corresponds to the `destination_canonical_service_namespace` metric
@@ -4203,12 +4518,14 @@ public interface IstioCanonicalServiceOrBuilder extends
      * 
* * string canonical_service_namespace = 3; + * * @return The bytes for canonicalServiceNamespace. */ - com.google.protobuf.ByteString - getCanonicalServiceNamespaceBytes(); + com.google.protobuf.ByteString getCanonicalServiceNamespaceBytes(); /** + * + * *
      * The name of the canonical service underlying this service.
      * Corresponds to the `destination_canonical_service_name` metric label in
@@ -4217,10 +4534,13 @@ public interface IstioCanonicalServiceOrBuilder extends
      * 
* * string canonical_service = 4; + * * @return The canonicalService. */ java.lang.String getCanonicalService(); /** + * + * *
      * The name of the canonical service underlying this service.
      * Corresponds to the `destination_canonical_service_name` metric label in
@@ -4229,12 +4549,14 @@ public interface IstioCanonicalServiceOrBuilder extends
      * 
* * string canonical_service = 4; + * * @return The bytes for canonicalService. */ - com.google.protobuf.ByteString - getCanonicalServiceBytes(); + com.google.protobuf.ByteString getCanonicalServiceBytes(); } /** + * + * *
    * Canonical service scoped to an Istio mesh. Anthos clusters running ASM >=
    * 1.6.8 will have their services ingested as this type.
@@ -4242,15 +4564,16 @@ public interface IstioCanonicalServiceOrBuilder extends
    *
    * Protobuf type {@code google.monitoring.v3.Service.IstioCanonicalService}
    */
-  public static final class IstioCanonicalService extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class IstioCanonicalService extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.monitoring.v3.Service.IstioCanonicalService)
       IstioCanonicalServiceOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use IstioCanonicalService.newBuilder() to construct.
     private IstioCanonicalService(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private IstioCanonicalService() {
       meshUid_ = "";
       canonicalServiceNamespace_ = "";
@@ -4259,16 +4582,15 @@ private IstioCanonicalService() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new IstioCanonicalService();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private IstioCanonicalService(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -4287,59 +4609,66 @@ private IstioCanonicalService(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              meshUid_ = s;
-              break;
-            }
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
+                meshUid_ = s;
+                break;
+              }
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              canonicalServiceNamespace_ = s;
-              break;
-            }
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
+                canonicalServiceNamespace_ = s;
+                break;
+              }
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              canonicalService_ = s;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                canonicalService_ = s;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_IstioCanonicalService_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.monitoring.v3.ServiceMonitoringProto
+          .internal_static_google_monitoring_v3_Service_IstioCanonicalService_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_IstioCanonicalService_fieldAccessorTable
+      return com.google.monitoring.v3.ServiceMonitoringProto
+          .internal_static_google_monitoring_v3_Service_IstioCanonicalService_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.Service.IstioCanonicalService.class, com.google.monitoring.v3.Service.IstioCanonicalService.Builder.class);
+              com.google.monitoring.v3.Service.IstioCanonicalService.class,
+              com.google.monitoring.v3.Service.IstioCanonicalService.Builder.class);
     }
 
     public static final int MESH_UID_FIELD_NUMBER = 1;
     private volatile java.lang.Object meshUid_;
     /**
+     *
+     *
      * 
      * Identifier for the Istio mesh in which this canonical service is defined.
      * Corresponds to the `mesh_uid` metric label in
@@ -4347,6 +4676,7 @@ private IstioCanonicalService(
      * 
* * string mesh_uid = 1; + * * @return The meshUid. */ @java.lang.Override @@ -4355,14 +4685,15 @@ public java.lang.String getMeshUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); meshUid_ = s; return s; } } /** + * + * *
      * Identifier for the Istio mesh in which this canonical service is defined.
      * Corresponds to the `mesh_uid` metric label in
@@ -4370,16 +4701,15 @@ public java.lang.String getMeshUid() {
      * 
* * string mesh_uid = 1; + * * @return The bytes for meshUid. */ @java.lang.Override - public com.google.protobuf.ByteString - getMeshUidBytes() { + public com.google.protobuf.ByteString getMeshUidBytes() { java.lang.Object ref = meshUid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); meshUid_ = b; return b; } else { @@ -4390,6 +4720,8 @@ public java.lang.String getMeshUid() { public static final int CANONICAL_SERVICE_NAMESPACE_FIELD_NUMBER = 3; private volatile java.lang.Object canonicalServiceNamespace_; /** + * + * *
      * The namespace of the canonical service underlying this service.
      * Corresponds to the `destination_canonical_service_namespace` metric
@@ -4398,6 +4730,7 @@ public java.lang.String getMeshUid() {
      * 
* * string canonical_service_namespace = 3; + * * @return The canonicalServiceNamespace. */ @java.lang.Override @@ -4406,14 +4739,15 @@ public java.lang.String getCanonicalServiceNamespace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); canonicalServiceNamespace_ = s; return s; } } /** + * + * *
      * The namespace of the canonical service underlying this service.
      * Corresponds to the `destination_canonical_service_namespace` metric
@@ -4422,16 +4756,15 @@ public java.lang.String getCanonicalServiceNamespace() {
      * 
* * string canonical_service_namespace = 3; + * * @return The bytes for canonicalServiceNamespace. */ @java.lang.Override - public com.google.protobuf.ByteString - getCanonicalServiceNamespaceBytes() { + public com.google.protobuf.ByteString getCanonicalServiceNamespaceBytes() { java.lang.Object ref = canonicalServiceNamespace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); canonicalServiceNamespace_ = b; return b; } else { @@ -4442,6 +4775,8 @@ public java.lang.String getCanonicalServiceNamespace() { public static final int CANONICAL_SERVICE_FIELD_NUMBER = 4; private volatile java.lang.Object canonicalService_; /** + * + * *
      * The name of the canonical service underlying this service.
      * Corresponds to the `destination_canonical_service_name` metric label in
@@ -4450,6 +4785,7 @@ public java.lang.String getCanonicalServiceNamespace() {
      * 
* * string canonical_service = 4; + * * @return The canonicalService. */ @java.lang.Override @@ -4458,14 +4794,15 @@ public java.lang.String getCanonicalService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); canonicalService_ = s; return s; } } /** + * + * *
      * The name of the canonical service underlying this service.
      * Corresponds to the `destination_canonical_service_name` metric label in
@@ -4474,16 +4811,15 @@ public java.lang.String getCanonicalService() {
      * 
* * string canonical_service = 4; + * * @return The bytes for canonicalService. */ @java.lang.Override - public com.google.protobuf.ByteString - getCanonicalServiceBytes() { + public com.google.protobuf.ByteString getCanonicalServiceBytes() { java.lang.Object ref = canonicalService_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); canonicalService_ = b; return b; } else { @@ -4492,6 +4828,7 @@ public java.lang.String getCanonicalService() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4503,8 +4840,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(meshUid_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, meshUid_); } @@ -4527,7 +4863,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, meshUid_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(canonicalServiceNamespace_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, canonicalServiceNamespace_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(3, canonicalServiceNamespace_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(canonicalService_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, canonicalService_); @@ -4540,19 +4877,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.monitoring.v3.Service.IstioCanonicalService)) { return super.equals(obj); } - com.google.monitoring.v3.Service.IstioCanonicalService other = (com.google.monitoring.v3.Service.IstioCanonicalService) obj; + com.google.monitoring.v3.Service.IstioCanonicalService other = + (com.google.monitoring.v3.Service.IstioCanonicalService) obj; - if (!getMeshUid() - .equals(other.getMeshUid())) return false; - if (!getCanonicalServiceNamespace() - .equals(other.getCanonicalServiceNamespace())) return false; - if (!getCanonicalService() - .equals(other.getCanonicalService())) return false; + if (!getMeshUid().equals(other.getMeshUid())) return false; + if (!getCanonicalServiceNamespace().equals(other.getCanonicalServiceNamespace())) + return false; + if (!getCanonicalService().equals(other.getCanonicalService())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -4576,87 +4912,94 @@ public int hashCode() { } public static com.google.monitoring.v3.Service.IstioCanonicalService parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.Service.IstioCanonicalService parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.Service.IstioCanonicalService parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.Service.IstioCanonicalService parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.Service.IstioCanonicalService parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.Service.IstioCanonicalService parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.Service.IstioCanonicalService parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.Service.IstioCanonicalService parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.Service.IstioCanonicalService parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.Service.IstioCanonicalService parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.Service.IstioCanonicalService parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.Service.IstioCanonicalService parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.Service.IstioCanonicalService parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.Service.IstioCanonicalService parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.Service.IstioCanonicalService prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.Service.IstioCanonicalService prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4666,6 +5009,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Canonical service scoped to an Istio mesh. Anthos clusters running ASM >=
      * 1.6.8 will have their services ingested as this type.
@@ -4673,21 +5018,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.monitoring.v3.Service.IstioCanonicalService}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.monitoring.v3.Service.IstioCanonicalService)
         com.google.monitoring.v3.Service.IstioCanonicalServiceOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_IstioCanonicalService_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.monitoring.v3.ServiceMonitoringProto
+            .internal_static_google_monitoring_v3_Service_IstioCanonicalService_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_IstioCanonicalService_fieldAccessorTable
+        return com.google.monitoring.v3.ServiceMonitoringProto
+            .internal_static_google_monitoring_v3_Service_IstioCanonicalService_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.monitoring.v3.Service.IstioCanonicalService.class, com.google.monitoring.v3.Service.IstioCanonicalService.Builder.class);
+                com.google.monitoring.v3.Service.IstioCanonicalService.class,
+                com.google.monitoring.v3.Service.IstioCanonicalService.Builder.class);
       }
 
       // Construct using com.google.monitoring.v3.Service.IstioCanonicalService.newBuilder()
@@ -4695,16 +5043,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -4718,9 +5065,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_IstioCanonicalService_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.monitoring.v3.ServiceMonitoringProto
+            .internal_static_google_monitoring_v3_Service_IstioCanonicalService_descriptor;
       }
 
       @java.lang.Override
@@ -4739,7 +5086,8 @@ public com.google.monitoring.v3.Service.IstioCanonicalService build() {
 
       @java.lang.Override
       public com.google.monitoring.v3.Service.IstioCanonicalService buildPartial() {
-        com.google.monitoring.v3.Service.IstioCanonicalService result = new com.google.monitoring.v3.Service.IstioCanonicalService(this);
+        com.google.monitoring.v3.Service.IstioCanonicalService result =
+            new com.google.monitoring.v3.Service.IstioCanonicalService(this);
         result.meshUid_ = meshUid_;
         result.canonicalServiceNamespace_ = canonicalServiceNamespace_;
         result.canonicalService_ = canonicalService_;
@@ -4751,38 +5099,41 @@ public com.google.monitoring.v3.Service.IstioCanonicalService 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.monitoring.v3.Service.IstioCanonicalService) {
-          return mergeFrom((com.google.monitoring.v3.Service.IstioCanonicalService)other);
+          return mergeFrom((com.google.monitoring.v3.Service.IstioCanonicalService) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -4790,7 +5141,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.monitoring.v3.Service.IstioCanonicalService other) {
-        if (other == com.google.monitoring.v3.Service.IstioCanonicalService.getDefaultInstance()) return this;
+        if (other == com.google.monitoring.v3.Service.IstioCanonicalService.getDefaultInstance())
+          return this;
         if (!other.getMeshUid().isEmpty()) {
           meshUid_ = other.meshUid_;
           onChanged();
@@ -4822,7 +5174,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.monitoring.v3.Service.IstioCanonicalService) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.monitoring.v3.Service.IstioCanonicalService) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -4834,6 +5187,8 @@ public Builder mergeFrom(
 
       private java.lang.Object meshUid_ = "";
       /**
+       *
+       *
        * 
        * Identifier for the Istio mesh in which this canonical service is defined.
        * Corresponds to the `mesh_uid` metric label in
@@ -4841,13 +5196,13 @@ public Builder mergeFrom(
        * 
* * string mesh_uid = 1; + * * @return The meshUid. */ public java.lang.String getMeshUid() { java.lang.Object ref = meshUid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); meshUid_ = s; return s; @@ -4856,6 +5211,8 @@ public java.lang.String getMeshUid() { } } /** + * + * *
        * Identifier for the Istio mesh in which this canonical service is defined.
        * Corresponds to the `mesh_uid` metric label in
@@ -4863,15 +5220,14 @@ public java.lang.String getMeshUid() {
        * 
* * string mesh_uid = 1; + * * @return The bytes for meshUid. */ - public com.google.protobuf.ByteString - getMeshUidBytes() { + public com.google.protobuf.ByteString getMeshUidBytes() { java.lang.Object ref = meshUid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); meshUid_ = b; return b; } else { @@ -4879,6 +5235,8 @@ public java.lang.String getMeshUid() { } } /** + * + * *
        * Identifier for the Istio mesh in which this canonical service is defined.
        * Corresponds to the `mesh_uid` metric label in
@@ -4886,20 +5244,22 @@ public java.lang.String getMeshUid() {
        * 
* * string mesh_uid = 1; + * * @param value The meshUid to set. * @return This builder for chaining. */ - public Builder setMeshUid( - java.lang.String value) { + public Builder setMeshUid(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + meshUid_ = value; onChanged(); return this; } /** + * + * *
        * Identifier for the Istio mesh in which this canonical service is defined.
        * Corresponds to the `mesh_uid` metric label in
@@ -4907,15 +5267,18 @@ public Builder setMeshUid(
        * 
* * string mesh_uid = 1; + * * @return This builder for chaining. */ public Builder clearMeshUid() { - + meshUid_ = getDefaultInstance().getMeshUid(); onChanged(); return this; } /** + * + * *
        * Identifier for the Istio mesh in which this canonical service is defined.
        * Corresponds to the `mesh_uid` metric label in
@@ -4923,16 +5286,16 @@ public Builder clearMeshUid() {
        * 
* * string mesh_uid = 1; + * * @param value The bytes for meshUid to set. * @return This builder for chaining. */ - public Builder setMeshUidBytes( - com.google.protobuf.ByteString value) { + public Builder setMeshUidBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + meshUid_ = value; onChanged(); return this; @@ -4940,6 +5303,8 @@ public Builder setMeshUidBytes( private java.lang.Object canonicalServiceNamespace_ = ""; /** + * + * *
        * The namespace of the canonical service underlying this service.
        * Corresponds to the `destination_canonical_service_namespace` metric
@@ -4948,13 +5313,13 @@ public Builder setMeshUidBytes(
        * 
* * string canonical_service_namespace = 3; + * * @return The canonicalServiceNamespace. */ public java.lang.String getCanonicalServiceNamespace() { java.lang.Object ref = canonicalServiceNamespace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); canonicalServiceNamespace_ = s; return s; @@ -4963,6 +5328,8 @@ public java.lang.String getCanonicalServiceNamespace() { } } /** + * + * *
        * The namespace of the canonical service underlying this service.
        * Corresponds to the `destination_canonical_service_namespace` metric
@@ -4971,15 +5338,14 @@ public java.lang.String getCanonicalServiceNamespace() {
        * 
* * string canonical_service_namespace = 3; + * * @return The bytes for canonicalServiceNamespace. */ - public com.google.protobuf.ByteString - getCanonicalServiceNamespaceBytes() { + public com.google.protobuf.ByteString getCanonicalServiceNamespaceBytes() { java.lang.Object ref = canonicalServiceNamespace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); canonicalServiceNamespace_ = b; return b; } else { @@ -4987,6 +5353,8 @@ public java.lang.String getCanonicalServiceNamespace() { } } /** + * + * *
        * The namespace of the canonical service underlying this service.
        * Corresponds to the `destination_canonical_service_namespace` metric
@@ -4995,20 +5363,22 @@ public java.lang.String getCanonicalServiceNamespace() {
        * 
* * string canonical_service_namespace = 3; + * * @param value The canonicalServiceNamespace to set. * @return This builder for chaining. */ - public Builder setCanonicalServiceNamespace( - java.lang.String value) { + public Builder setCanonicalServiceNamespace(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + canonicalServiceNamespace_ = value; onChanged(); return this; } /** + * + * *
        * The namespace of the canonical service underlying this service.
        * Corresponds to the `destination_canonical_service_namespace` metric
@@ -5017,15 +5387,18 @@ public Builder setCanonicalServiceNamespace(
        * 
* * string canonical_service_namespace = 3; + * * @return This builder for chaining. */ public Builder clearCanonicalServiceNamespace() { - + canonicalServiceNamespace_ = getDefaultInstance().getCanonicalServiceNamespace(); onChanged(); return this; } /** + * + * *
        * The namespace of the canonical service underlying this service.
        * Corresponds to the `destination_canonical_service_namespace` metric
@@ -5034,16 +5407,16 @@ public Builder clearCanonicalServiceNamespace() {
        * 
* * string canonical_service_namespace = 3; + * * @param value The bytes for canonicalServiceNamespace to set. * @return This builder for chaining. */ - public Builder setCanonicalServiceNamespaceBytes( - com.google.protobuf.ByteString value) { + public Builder setCanonicalServiceNamespaceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + canonicalServiceNamespace_ = value; onChanged(); return this; @@ -5051,6 +5424,8 @@ public Builder setCanonicalServiceNamespaceBytes( private java.lang.Object canonicalService_ = ""; /** + * + * *
        * The name of the canonical service underlying this service.
        * Corresponds to the `destination_canonical_service_name` metric label in
@@ -5059,13 +5434,13 @@ public Builder setCanonicalServiceNamespaceBytes(
        * 
* * string canonical_service = 4; + * * @return The canonicalService. */ public java.lang.String getCanonicalService() { java.lang.Object ref = canonicalService_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); canonicalService_ = s; return s; @@ -5074,6 +5449,8 @@ public java.lang.String getCanonicalService() { } } /** + * + * *
        * The name of the canonical service underlying this service.
        * Corresponds to the `destination_canonical_service_name` metric label in
@@ -5082,15 +5459,14 @@ public java.lang.String getCanonicalService() {
        * 
* * string canonical_service = 4; + * * @return The bytes for canonicalService. */ - public com.google.protobuf.ByteString - getCanonicalServiceBytes() { + public com.google.protobuf.ByteString getCanonicalServiceBytes() { java.lang.Object ref = canonicalService_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); canonicalService_ = b; return b; } else { @@ -5098,6 +5474,8 @@ public java.lang.String getCanonicalService() { } } /** + * + * *
        * The name of the canonical service underlying this service.
        * Corresponds to the `destination_canonical_service_name` metric label in
@@ -5106,20 +5484,22 @@ public java.lang.String getCanonicalService() {
        * 
* * string canonical_service = 4; + * * @param value The canonicalService to set. * @return This builder for chaining. */ - public Builder setCanonicalService( - java.lang.String value) { + public Builder setCanonicalService(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + canonicalService_ = value; onChanged(); return this; } /** + * + * *
        * The name of the canonical service underlying this service.
        * Corresponds to the `destination_canonical_service_name` metric label in
@@ -5128,15 +5508,18 @@ public Builder setCanonicalService(
        * 
* * string canonical_service = 4; + * * @return This builder for chaining. */ public Builder clearCanonicalService() { - + canonicalService_ = getDefaultInstance().getCanonicalService(); onChanged(); return this; } /** + * + * *
        * The name of the canonical service underlying this service.
        * Corresponds to the `destination_canonical_service_name` metric label in
@@ -5145,20 +5528,21 @@ public Builder clearCanonicalService() {
        * 
* * string canonical_service = 4; + * * @param value The bytes for canonicalService to set. * @return This builder for chaining. */ - public Builder setCanonicalServiceBytes( - com.google.protobuf.ByteString value) { + public Builder setCanonicalServiceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + canonicalService_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5171,12 +5555,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.Service.IstioCanonicalService) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.Service.IstioCanonicalService) private static final com.google.monitoring.v3.Service.IstioCanonicalService DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.Service.IstioCanonicalService(); } @@ -5185,16 +5569,16 @@ public static com.google.monitoring.v3.Service.IstioCanonicalService getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IstioCanonicalService parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IstioCanonicalService(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IstioCanonicalService parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IstioCanonicalService(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5209,67 +5593,74 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.Service.IstioCanonicalService getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface TelemetryOrBuilder extends + public interface TelemetryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.Service.Telemetry) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The full name of the resource that defines this service. Formatted as
      * described in https://cloud.google.com/apis/design/resource_names.
      * 
* * string resource_name = 1; + * * @return The resourceName. */ java.lang.String getResourceName(); /** + * + * *
      * The full name of the resource that defines this service. Formatted as
      * described in https://cloud.google.com/apis/design/resource_names.
      * 
* * string resource_name = 1; + * * @return The bytes for resourceName. */ - com.google.protobuf.ByteString - getResourceNameBytes(); + com.google.protobuf.ByteString getResourceNameBytes(); } /** + * + * *
    * Configuration for how to query telemetry on a Service.
    * 
* * Protobuf type {@code google.monitoring.v3.Service.Telemetry} */ - public static final class Telemetry extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Telemetry extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.Service.Telemetry) TelemetryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Telemetry.newBuilder() to construct. private Telemetry(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Telemetry() { resourceName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Telemetry(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Telemetry( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -5288,53 +5679,59 @@ private Telemetry( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - resourceName_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + resourceName_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_Telemetry_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringProto + .internal_static_google_monitoring_v3_Service_Telemetry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_Telemetry_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringProto + .internal_static_google_monitoring_v3_Service_Telemetry_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.Service.Telemetry.class, com.google.monitoring.v3.Service.Telemetry.Builder.class); + com.google.monitoring.v3.Service.Telemetry.class, + com.google.monitoring.v3.Service.Telemetry.Builder.class); } public static final int RESOURCE_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object resourceName_; /** + * + * *
      * The full name of the resource that defines this service. Formatted as
      * described in https://cloud.google.com/apis/design/resource_names.
      * 
* * string resource_name = 1; + * * @return The resourceName. */ @java.lang.Override @@ -5343,30 +5740,30 @@ public java.lang.String getResourceName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceName_ = s; return s; } } /** + * + * *
      * The full name of the resource that defines this service. Formatted as
      * described in https://cloud.google.com/apis/design/resource_names.
      * 
* * string resource_name = 1; + * * @return The bytes for resourceName. */ @java.lang.Override - public com.google.protobuf.ByteString - getResourceNameBytes() { + public com.google.protobuf.ByteString getResourceNameBytes() { java.lang.Object ref = resourceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceName_ = b; return b; } else { @@ -5375,6 +5772,7 @@ public java.lang.String getResourceName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5386,8 +5784,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceName_); } @@ -5411,15 +5808,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.monitoring.v3.Service.Telemetry)) { return super.equals(obj); } - com.google.monitoring.v3.Service.Telemetry other = (com.google.monitoring.v3.Service.Telemetry) obj; + com.google.monitoring.v3.Service.Telemetry other = + (com.google.monitoring.v3.Service.Telemetry) obj; - if (!getResourceName() - .equals(other.getResourceName())) return false; + if (!getResourceName().equals(other.getResourceName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -5438,88 +5835,94 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.Service.Telemetry parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.Service.Telemetry parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.Service.Telemetry parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.Service.Telemetry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.Service.Telemetry parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.Service.Telemetry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.Service.Telemetry parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.Service.Telemetry 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.monitoring.v3.Service.Telemetry parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.Service.Telemetry parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.Service.Telemetry parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.Service.Telemetry parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.Service.Telemetry parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.Service.Telemetry parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.Service.Telemetry prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5529,27 +5932,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Configuration for how to query telemetry on a Service.
      * 
* * Protobuf type {@code google.monitoring.v3.Service.Telemetry} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.Service.Telemetry) com.google.monitoring.v3.Service.TelemetryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_Telemetry_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringProto + .internal_static_google_monitoring_v3_Service_Telemetry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_Telemetry_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringProto + .internal_static_google_monitoring_v3_Service_Telemetry_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.Service.Telemetry.class, com.google.monitoring.v3.Service.Telemetry.Builder.class); + com.google.monitoring.v3.Service.Telemetry.class, + com.google.monitoring.v3.Service.Telemetry.Builder.class); } // Construct using com.google.monitoring.v3.Service.Telemetry.newBuilder() @@ -5557,16 +5965,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -5576,9 +5983,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_Telemetry_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.ServiceMonitoringProto + .internal_static_google_monitoring_v3_Service_Telemetry_descriptor; } @java.lang.Override @@ -5597,7 +6004,8 @@ public com.google.monitoring.v3.Service.Telemetry build() { @java.lang.Override public com.google.monitoring.v3.Service.Telemetry buildPartial() { - com.google.monitoring.v3.Service.Telemetry result = new com.google.monitoring.v3.Service.Telemetry(this); + com.google.monitoring.v3.Service.Telemetry result = + new com.google.monitoring.v3.Service.Telemetry(this); result.resourceName_ = resourceName_; onBuilt(); return result; @@ -5607,38 +6015,41 @@ public com.google.monitoring.v3.Service.Telemetry 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.monitoring.v3.Service.Telemetry) { - return mergeFrom((com.google.monitoring.v3.Service.Telemetry)other); + return mergeFrom((com.google.monitoring.v3.Service.Telemetry) other); } else { super.mergeFrom(other); return this; @@ -5682,19 +6093,21 @@ public Builder mergeFrom( private java.lang.Object resourceName_ = ""; /** + * + * *
        * The full name of the resource that defines this service. Formatted as
        * described in https://cloud.google.com/apis/design/resource_names.
        * 
* * string resource_name = 1; + * * @return The resourceName. */ public java.lang.String getResourceName() { java.lang.Object ref = resourceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceName_ = s; return s; @@ -5703,21 +6116,22 @@ public java.lang.String getResourceName() { } } /** + * + * *
        * The full name of the resource that defines this service. Formatted as
        * described in https://cloud.google.com/apis/design/resource_names.
        * 
* * string resource_name = 1; + * * @return The bytes for resourceName. */ - public com.google.protobuf.ByteString - getResourceNameBytes() { + public com.google.protobuf.ByteString getResourceNameBytes() { java.lang.Object ref = resourceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceName_ = b; return b; } else { @@ -5725,61 +6139,69 @@ public java.lang.String getResourceName() { } } /** + * + * *
        * The full name of the resource that defines this service. Formatted as
        * described in https://cloud.google.com/apis/design/resource_names.
        * 
* * string resource_name = 1; + * * @param value The resourceName to set. * @return This builder for chaining. */ - public Builder setResourceName( - java.lang.String value) { + public Builder setResourceName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceName_ = value; onChanged(); return this; } /** + * + * *
        * The full name of the resource that defines this service. Formatted as
        * described in https://cloud.google.com/apis/design/resource_names.
        * 
* * string resource_name = 1; + * * @return This builder for chaining. */ public Builder clearResourceName() { - + resourceName_ = getDefaultInstance().getResourceName(); onChanged(); return this; } /** + * + * *
        * The full name of the resource that defines this service. Formatted as
        * described in https://cloud.google.com/apis/design/resource_names.
        * 
* * string resource_name = 1; + * * @param value The bytes for resourceName to set. * @return This builder for chaining. */ - public Builder setResourceNameBytes( - com.google.protobuf.ByteString value) { + public Builder setResourceNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceName_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5792,12 +6214,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.Service.Telemetry) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.Service.Telemetry) private static final com.google.monitoring.v3.Service.Telemetry DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.Service.Telemetry(); } @@ -5806,16 +6228,16 @@ public static com.google.monitoring.v3.Service.Telemetry getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Telemetry parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Telemetry(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Telemetry parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Telemetry(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5830,13 +6252,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.Service.Telemetry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int identifierCase_ = 0; private java.lang.Object identifier_; + public enum IdentifierCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CUSTOM(6), APP_ENGINE(7), @@ -5846,6 +6269,7 @@ public enum IdentifierCase ISTIO_CANONICAL_SERVICE(11), IDENTIFIER_NOT_SET(0); private final int value; + private IdentifierCase(int value) { this.value = value; } @@ -5861,36 +6285,46 @@ public static IdentifierCase valueOf(int value) { public static IdentifierCase forNumber(int value) { switch (value) { - case 6: return CUSTOM; - case 7: return APP_ENGINE; - case 8: return CLOUD_ENDPOINTS; - case 9: return CLUSTER_ISTIO; - case 10: return MESH_ISTIO; - case 11: return ISTIO_CANONICAL_SERVICE; - case 0: return IDENTIFIER_NOT_SET; - default: return null; + case 6: + return CUSTOM; + case 7: + return APP_ENGINE; + case 8: + return CLOUD_ENDPOINTS; + case 9: + return CLUSTER_ISTIO; + case 10: + return MESH_ISTIO; + case 11: + return ISTIO_CANONICAL_SERVICE; + case 0: + return IDENTIFIER_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public IdentifierCase - getIdentifierCase() { - return IdentifierCase.forNumber( - identifierCase_); + public IdentifierCase getIdentifierCase() { + return IdentifierCase.forNumber(identifierCase_); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Resource name for this Service. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -5899,30 +6333,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 for this Service. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_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 { @@ -5933,11 +6367,14 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * Name used for UI elements listing this Service.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -5946,29 +6383,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Name used for UI elements listing this Service.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -5978,11 +6415,14 @@ public java.lang.String getDisplayName() { public static final int CUSTOM_FIELD_NUMBER = 6; /** + * + * *
    * Custom service type.
    * 
* * .google.monitoring.v3.Service.Custom custom = 6; + * * @return Whether the custom field is set. */ @java.lang.Override @@ -5990,21 +6430,26 @@ public boolean hasCustom() { return identifierCase_ == 6; } /** + * + * *
    * Custom service type.
    * 
* * .google.monitoring.v3.Service.Custom custom = 6; + * * @return The custom. */ @java.lang.Override public com.google.monitoring.v3.Service.Custom getCustom() { if (identifierCase_ == 6) { - return (com.google.monitoring.v3.Service.Custom) identifier_; + return (com.google.monitoring.v3.Service.Custom) identifier_; } return com.google.monitoring.v3.Service.Custom.getDefaultInstance(); } /** + * + * *
    * Custom service type.
    * 
@@ -6014,18 +6459,21 @@ public com.google.monitoring.v3.Service.Custom getCustom() { @java.lang.Override public com.google.monitoring.v3.Service.CustomOrBuilder getCustomOrBuilder() { if (identifierCase_ == 6) { - return (com.google.monitoring.v3.Service.Custom) identifier_; + return (com.google.monitoring.v3.Service.Custom) identifier_; } return com.google.monitoring.v3.Service.Custom.getDefaultInstance(); } public static final int APP_ENGINE_FIELD_NUMBER = 7; /** + * + * *
    * Type used for App Engine services.
    * 
* * .google.monitoring.v3.Service.AppEngine app_engine = 7; + * * @return Whether the appEngine field is set. */ @java.lang.Override @@ -6033,21 +6481,26 @@ public boolean hasAppEngine() { return identifierCase_ == 7; } /** + * + * *
    * Type used for App Engine services.
    * 
* * .google.monitoring.v3.Service.AppEngine app_engine = 7; + * * @return The appEngine. */ @java.lang.Override public com.google.monitoring.v3.Service.AppEngine getAppEngine() { if (identifierCase_ == 7) { - return (com.google.monitoring.v3.Service.AppEngine) identifier_; + return (com.google.monitoring.v3.Service.AppEngine) identifier_; } return com.google.monitoring.v3.Service.AppEngine.getDefaultInstance(); } /** + * + * *
    * Type used for App Engine services.
    * 
@@ -6057,18 +6510,21 @@ public com.google.monitoring.v3.Service.AppEngine getAppEngine() { @java.lang.Override public com.google.monitoring.v3.Service.AppEngineOrBuilder getAppEngineOrBuilder() { if (identifierCase_ == 7) { - return (com.google.monitoring.v3.Service.AppEngine) identifier_; + return (com.google.monitoring.v3.Service.AppEngine) identifier_; } return com.google.monitoring.v3.Service.AppEngine.getDefaultInstance(); } public static final int CLOUD_ENDPOINTS_FIELD_NUMBER = 8; /** + * + * *
    * Type used for Cloud Endpoints services.
    * 
* * .google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8; + * * @return Whether the cloudEndpoints field is set. */ @java.lang.Override @@ -6076,21 +6532,26 @@ public boolean hasCloudEndpoints() { return identifierCase_ == 8; } /** + * + * *
    * Type used for Cloud Endpoints services.
    * 
* * .google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8; + * * @return The cloudEndpoints. */ @java.lang.Override public com.google.monitoring.v3.Service.CloudEndpoints getCloudEndpoints() { if (identifierCase_ == 8) { - return (com.google.monitoring.v3.Service.CloudEndpoints) identifier_; + return (com.google.monitoring.v3.Service.CloudEndpoints) identifier_; } return com.google.monitoring.v3.Service.CloudEndpoints.getDefaultInstance(); } /** + * + * *
    * Type used for Cloud Endpoints services.
    * 
@@ -6100,18 +6561,21 @@ public com.google.monitoring.v3.Service.CloudEndpoints getCloudEndpoints() { @java.lang.Override public com.google.monitoring.v3.Service.CloudEndpointsOrBuilder getCloudEndpointsOrBuilder() { if (identifierCase_ == 8) { - return (com.google.monitoring.v3.Service.CloudEndpoints) identifier_; + return (com.google.monitoring.v3.Service.CloudEndpoints) identifier_; } return com.google.monitoring.v3.Service.CloudEndpoints.getDefaultInstance(); } public static final int CLUSTER_ISTIO_FIELD_NUMBER = 9; /** + * + * *
    * Type used for Istio services that live in a Kubernetes cluster.
    * 
* * .google.monitoring.v3.Service.ClusterIstio cluster_istio = 9; + * * @return Whether the clusterIstio field is set. */ @java.lang.Override @@ -6119,21 +6583,26 @@ public boolean hasClusterIstio() { return identifierCase_ == 9; } /** + * + * *
    * Type used for Istio services that live in a Kubernetes cluster.
    * 
* * .google.monitoring.v3.Service.ClusterIstio cluster_istio = 9; + * * @return The clusterIstio. */ @java.lang.Override public com.google.monitoring.v3.Service.ClusterIstio getClusterIstio() { if (identifierCase_ == 9) { - return (com.google.monitoring.v3.Service.ClusterIstio) identifier_; + return (com.google.monitoring.v3.Service.ClusterIstio) identifier_; } return com.google.monitoring.v3.Service.ClusterIstio.getDefaultInstance(); } /** + * + * *
    * Type used for Istio services that live in a Kubernetes cluster.
    * 
@@ -6143,18 +6612,21 @@ public com.google.monitoring.v3.Service.ClusterIstio getClusterIstio() { @java.lang.Override public com.google.monitoring.v3.Service.ClusterIstioOrBuilder getClusterIstioOrBuilder() { if (identifierCase_ == 9) { - return (com.google.monitoring.v3.Service.ClusterIstio) identifier_; + return (com.google.monitoring.v3.Service.ClusterIstio) identifier_; } return com.google.monitoring.v3.Service.ClusterIstio.getDefaultInstance(); } public static final int MESH_ISTIO_FIELD_NUMBER = 10; /** + * + * *
    * Type used for Istio services scoped to an Istio mesh.
    * 
* * .google.monitoring.v3.Service.MeshIstio mesh_istio = 10; + * * @return Whether the meshIstio field is set. */ @java.lang.Override @@ -6162,21 +6634,26 @@ public boolean hasMeshIstio() { return identifierCase_ == 10; } /** + * + * *
    * Type used for Istio services scoped to an Istio mesh.
    * 
* * .google.monitoring.v3.Service.MeshIstio mesh_istio = 10; + * * @return The meshIstio. */ @java.lang.Override public com.google.monitoring.v3.Service.MeshIstio getMeshIstio() { if (identifierCase_ == 10) { - return (com.google.monitoring.v3.Service.MeshIstio) identifier_; + return (com.google.monitoring.v3.Service.MeshIstio) identifier_; } return com.google.monitoring.v3.Service.MeshIstio.getDefaultInstance(); } /** + * + * *
    * Type used for Istio services scoped to an Istio mesh.
    * 
@@ -6186,13 +6663,15 @@ public com.google.monitoring.v3.Service.MeshIstio getMeshIstio() { @java.lang.Override public com.google.monitoring.v3.Service.MeshIstioOrBuilder getMeshIstioOrBuilder() { if (identifierCase_ == 10) { - return (com.google.monitoring.v3.Service.MeshIstio) identifier_; + return (com.google.monitoring.v3.Service.MeshIstio) identifier_; } return com.google.monitoring.v3.Service.MeshIstio.getDefaultInstance(); } public static final int ISTIO_CANONICAL_SERVICE_FIELD_NUMBER = 11; /** + * + * *
    * Type used for canonical services scoped to an Istio mesh.
    * Metrics for Istio are
@@ -6200,6 +6679,7 @@ public com.google.monitoring.v3.Service.MeshIstioOrBuilder getMeshIstioOrBuilder
    * 
* * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; + * * @return Whether the istioCanonicalService field is set. */ @java.lang.Override @@ -6207,6 +6687,8 @@ public boolean hasIstioCanonicalService() { return identifierCase_ == 11; } /** + * + * *
    * Type used for canonical services scoped to an Istio mesh.
    * Metrics for Istio are
@@ -6214,16 +6696,19 @@ public boolean hasIstioCanonicalService() {
    * 
* * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; + * * @return The istioCanonicalService. */ @java.lang.Override public com.google.monitoring.v3.Service.IstioCanonicalService getIstioCanonicalService() { if (identifierCase_ == 11) { - return (com.google.monitoring.v3.Service.IstioCanonicalService) identifier_; + return (com.google.monitoring.v3.Service.IstioCanonicalService) identifier_; } return com.google.monitoring.v3.Service.IstioCanonicalService.getDefaultInstance(); } /** + * + * *
    * Type used for canonical services scoped to an Istio mesh.
    * Metrics for Istio are
@@ -6233,9 +6718,10 @@ public com.google.monitoring.v3.Service.IstioCanonicalService getIstioCanonicalS
    * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11;
    */
   @java.lang.Override
-  public com.google.monitoring.v3.Service.IstioCanonicalServiceOrBuilder getIstioCanonicalServiceOrBuilder() {
+  public com.google.monitoring.v3.Service.IstioCanonicalServiceOrBuilder
+      getIstioCanonicalServiceOrBuilder() {
     if (identifierCase_ == 11) {
-       return (com.google.monitoring.v3.Service.IstioCanonicalService) identifier_;
+      return (com.google.monitoring.v3.Service.IstioCanonicalService) identifier_;
     }
     return com.google.monitoring.v3.Service.IstioCanonicalService.getDefaultInstance();
   }
@@ -6243,11 +6729,14 @@ public com.google.monitoring.v3.Service.IstioCanonicalServiceOrBuilder getIstioC
   public static final int TELEMETRY_FIELD_NUMBER = 13;
   private com.google.monitoring.v3.Service.Telemetry telemetry_;
   /**
+   *
+   *
    * 
    * Configuration for how to query telemetry on a Service.
    * 
* * .google.monitoring.v3.Service.Telemetry telemetry = 13; + * * @return Whether the telemetry field is set. */ @java.lang.Override @@ -6255,18 +6744,25 @@ public boolean hasTelemetry() { return telemetry_ != null; } /** + * + * *
    * Configuration for how to query telemetry on a Service.
    * 
* * .google.monitoring.v3.Service.Telemetry telemetry = 13; + * * @return The telemetry. */ @java.lang.Override public com.google.monitoring.v3.Service.Telemetry getTelemetry() { - return telemetry_ == null ? com.google.monitoring.v3.Service.Telemetry.getDefaultInstance() : telemetry_; + return telemetry_ == null + ? com.google.monitoring.v3.Service.Telemetry.getDefaultInstance() + : telemetry_; } /** + * + * *
    * Configuration for how to query telemetry on a Service.
    * 
@@ -6279,24 +6775,23 @@ public com.google.monitoring.v3.Service.TelemetryOrBuilder getTelemetryOrBuilder } public static final int USER_LABELS_FIELD_NUMBER = 14; + private static final class UserLabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_UserLabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.monitoring.v3.ServiceMonitoringProto + .internal_static_google_monitoring_v3_Service_UserLabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> userLabels_; - private com.google.protobuf.MapField - internalGetUserLabels() { + + private com.google.protobuf.MapField userLabels_; + + private com.google.protobuf.MapField internalGetUserLabels() { if (userLabels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - UserLabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(UserLabelsDefaultEntryHolder.defaultEntry); } return userLabels_; } @@ -6305,6 +6800,8 @@ public int getUserLabelsCount() { return internalGetUserLabels().getMap().size(); } /** + * + * *
    * Labels which have been used to annotate the service. Label keys must start
    * with a letter. Label keys and values may contain lowercase letters,
@@ -6316,22 +6813,22 @@ public int getUserLabelsCount() {
    *
    * map<string, string> user_labels = 14;
    */
-
   @java.lang.Override
-  public boolean containsUserLabels(
-      java.lang.String key) {
-    if (key == null) { throw new java.lang.NullPointerException(); }
+  public boolean containsUserLabels(java.lang.String key) {
+    if (key == null) {
+      throw new java.lang.NullPointerException();
+    }
     return internalGetUserLabels().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getUserLabelsMap()} instead.
-   */
+  /** Use {@link #getUserLabelsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getUserLabels() {
     return getUserLabelsMap();
   }
   /**
+   *
+   *
    * 
    * Labels which have been used to annotate the service. Label keys must start
    * with a letter. Label keys and values may contain lowercase letters,
@@ -6344,11 +6841,12 @@ public java.util.Map getUserLabels() {
    * map<string, string> user_labels = 14;
    */
   @java.lang.Override
-
   public java.util.Map getUserLabelsMap() {
     return internalGetUserLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * Labels which have been used to annotate the service. Label keys must start
    * with a letter. Label keys and values may contain lowercase letters,
@@ -6361,16 +6859,17 @@ public java.util.Map getUserLabelsMap() {
    * map<string, string> user_labels = 14;
    */
   @java.lang.Override
-
   public java.lang.String getUserLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new java.lang.NullPointerException(); }
-    java.util.Map map =
-        internalGetUserLabels().getMap();
+      java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new java.lang.NullPointerException();
+    }
+    java.util.Map map = internalGetUserLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Labels which have been used to annotate the service. Label keys must start
    * with a letter. Label keys and values may contain lowercase letters,
@@ -6383,12 +6882,11 @@ public java.lang.String getUserLabelsOrDefault(
    * map<string, string> user_labels = 14;
    */
   @java.lang.Override
-
-  public java.lang.String getUserLabelsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new java.lang.NullPointerException(); }
-    java.util.Map map =
-        internalGetUserLabels().getMap();
+  public java.lang.String getUserLabelsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new java.lang.NullPointerException();
+    }
+    java.util.Map map = internalGetUserLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -6396,6 +6894,7 @@ public java.lang.String getUserLabelsOrThrow(
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -6407,8 +6906,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -6436,12 +6934,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
     if (telemetry_ != null) {
       output.writeMessage(13, getTelemetry());
     }
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetUserLabels(),
-        UserLabelsDefaultEntryHolder.defaultEntry,
-        14);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetUserLabels(), UserLabelsDefaultEntryHolder.defaultEntry, 14);
     unknownFields.writeTo(output);
   }
 
@@ -6458,42 +6952,47 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_);
     }
     if (identifierCase_ == 6) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, (com.google.monitoring.v3.Service.Custom) identifier_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              6, (com.google.monitoring.v3.Service.Custom) identifier_);
     }
     if (identifierCase_ == 7) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, (com.google.monitoring.v3.Service.AppEngine) identifier_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              7, (com.google.monitoring.v3.Service.AppEngine) identifier_);
     }
     if (identifierCase_ == 8) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(8, (com.google.monitoring.v3.Service.CloudEndpoints) identifier_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              8, (com.google.monitoring.v3.Service.CloudEndpoints) identifier_);
     }
     if (identifierCase_ == 9) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(9, (com.google.monitoring.v3.Service.ClusterIstio) identifier_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              9, (com.google.monitoring.v3.Service.ClusterIstio) identifier_);
     }
     if (identifierCase_ == 10) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(10, (com.google.monitoring.v3.Service.MeshIstio) identifier_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              10, (com.google.monitoring.v3.Service.MeshIstio) identifier_);
     }
     if (identifierCase_ == 11) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(11, (com.google.monitoring.v3.Service.IstioCanonicalService) identifier_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              11, (com.google.monitoring.v3.Service.IstioCanonicalService) identifier_);
     }
     if (telemetry_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(13, getTelemetry());
-    }
-    for (java.util.Map.Entry entry
-         : internalGetUserLabels().getMap().entrySet()) {
-      com.google.protobuf.MapEntry
-      userLabels__ = UserLabelsDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(14, userLabels__);
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getTelemetry());
+    }
+    for (java.util.Map.Entry entry :
+        internalGetUserLabels().getMap().entrySet()) {
+      com.google.protobuf.MapEntry userLabels__ =
+          UserLabelsDefaultEntryHolder.defaultEntry
+              .newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, userLabels__);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -6503,49 +7002,39 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.monitoring.v3.Service)) {
       return super.equals(obj);
     }
     com.google.monitoring.v3.Service other = (com.google.monitoring.v3.Service) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (!getDisplayName()
-        .equals(other.getDisplayName())) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (!getDisplayName().equals(other.getDisplayName())) return false;
     if (hasTelemetry() != other.hasTelemetry()) return false;
     if (hasTelemetry()) {
-      if (!getTelemetry()
-          .equals(other.getTelemetry())) return false;
+      if (!getTelemetry().equals(other.getTelemetry())) return false;
     }
-    if (!internalGetUserLabels().equals(
-        other.internalGetUserLabels())) return false;
+    if (!internalGetUserLabels().equals(other.internalGetUserLabels())) return false;
     if (!getIdentifierCase().equals(other.getIdentifierCase())) return false;
     switch (identifierCase_) {
       case 6:
-        if (!getCustom()
-            .equals(other.getCustom())) return false;
+        if (!getCustom().equals(other.getCustom())) return false;
         break;
       case 7:
-        if (!getAppEngine()
-            .equals(other.getAppEngine())) return false;
+        if (!getAppEngine().equals(other.getAppEngine())) return false;
         break;
       case 8:
-        if (!getCloudEndpoints()
-            .equals(other.getCloudEndpoints())) return false;
+        if (!getCloudEndpoints().equals(other.getCloudEndpoints())) return false;
         break;
       case 9:
-        if (!getClusterIstio()
-            .equals(other.getClusterIstio())) return false;
+        if (!getClusterIstio().equals(other.getClusterIstio())) return false;
         break;
       case 10:
-        if (!getMeshIstio()
-            .equals(other.getMeshIstio())) return false;
+        if (!getMeshIstio().equals(other.getMeshIstio())) return false;
         break;
       case 11:
-        if (!getIstioCanonicalService()
-            .equals(other.getIstioCanonicalService())) return false;
+        if (!getIstioCanonicalService().equals(other.getIstioCanonicalService())) return false;
         break;
       case 0:
       default:
@@ -6606,97 +7095,103 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.monitoring.v3.Service parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.monitoring.v3.Service parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.monitoring.v3.Service parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.monitoring.v3.Service parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.monitoring.v3.Service parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.monitoring.v3.Service parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.monitoring.v3.Service parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.monitoring.v3.Service parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.monitoring.v3.Service 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.monitoring.v3.Service parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.monitoring.v3.Service parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.monitoring.v3.Service parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.monitoring.v3.Service parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.monitoring.v3.Service parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.monitoring.v3.Service prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder 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 `Service` is a discrete, autonomous, and network-accessible unit, designed
    * to solve an individual concern
@@ -6707,43 +7202,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.monitoring.v3.Service}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.Service)
       com.google.monitoring.v3.ServiceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.monitoring.v3.ServiceMonitoringProto
+          .internal_static_google_monitoring_v3_Service_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 14:
           return internalGetUserLabels();
         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 14:
           return internalGetMutableUserLabels();
         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.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_fieldAccessorTable
+      return com.google.monitoring.v3.ServiceMonitoringProto
+          .internal_static_google_monitoring_v3_Service_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.Service.class, com.google.monitoring.v3.Service.Builder.class);
+              com.google.monitoring.v3.Service.class,
+              com.google.monitoring.v3.Service.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.Service.newBuilder()
@@ -6751,16 +7246,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -6781,9 +7275,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_Service_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.monitoring.v3.ServiceMonitoringProto
+          .internal_static_google_monitoring_v3_Service_descriptor;
     }
 
     @java.lang.Override
@@ -6864,38 +7358,39 @@ public com.google.monitoring.v3.Service 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.monitoring.v3.Service) {
-        return mergeFrom((com.google.monitoring.v3.Service)other);
+        return mergeFrom((com.google.monitoring.v3.Service) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -6915,36 +7410,42 @@ public Builder mergeFrom(com.google.monitoring.v3.Service other) {
       if (other.hasTelemetry()) {
         mergeTelemetry(other.getTelemetry());
       }
-      internalGetMutableUserLabels().mergeFrom(
-          other.internalGetUserLabels());
+      internalGetMutableUserLabels().mergeFrom(other.internalGetUserLabels());
       switch (other.getIdentifierCase()) {
-        case CUSTOM: {
-          mergeCustom(other.getCustom());
-          break;
-        }
-        case APP_ENGINE: {
-          mergeAppEngine(other.getAppEngine());
-          break;
-        }
-        case CLOUD_ENDPOINTS: {
-          mergeCloudEndpoints(other.getCloudEndpoints());
-          break;
-        }
-        case CLUSTER_ISTIO: {
-          mergeClusterIstio(other.getClusterIstio());
-          break;
-        }
-        case MESH_ISTIO: {
-          mergeMeshIstio(other.getMeshIstio());
-          break;
-        }
-        case ISTIO_CANONICAL_SERVICE: {
-          mergeIstioCanonicalService(other.getIstioCanonicalService());
-          break;
-        }
-        case IDENTIFIER_NOT_SET: {
-          break;
-        }
+        case CUSTOM:
+          {
+            mergeCustom(other.getCustom());
+            break;
+          }
+        case APP_ENGINE:
+          {
+            mergeAppEngine(other.getAppEngine());
+            break;
+          }
+        case CLOUD_ENDPOINTS:
+          {
+            mergeCloudEndpoints(other.getCloudEndpoints());
+            break;
+          }
+        case CLUSTER_ISTIO:
+          {
+            mergeClusterIstio(other.getClusterIstio());
+            break;
+          }
+        case MESH_ISTIO:
+          {
+            mergeMeshIstio(other.getMeshIstio());
+            break;
+          }
+        case ISTIO_CANONICAL_SERVICE:
+          {
+            mergeIstioCanonicalService(other.getIstioCanonicalService());
+            break;
+          }
+        case IDENTIFIER_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -6974,12 +7475,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int identifierCase_ = 0;
     private java.lang.Object identifier_;
-    public IdentifierCase
-        getIdentifierCase() {
-      return IdentifierCase.forNumber(
-          identifierCase_);
+
+    public IdentifierCase getIdentifierCase() {
+      return IdentifierCase.forNumber(identifierCase_);
     }
 
     public Builder clearIdentifier() {
@@ -6993,19 +7494,21 @@ public Builder clearIdentifier() {
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Resource name for this Service. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_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; @@ -7014,21 +7517,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name for this Service. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_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 { @@ -7036,57 +7540,64 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name for this Service. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_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 for this Service. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Resource name for this Service. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_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; @@ -7094,18 +7605,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Name used for UI elements listing this Service.
      * 
* * string display_name = 2; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -7114,20 +7627,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Name used for UI elements listing this Service.
      * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -7135,67 +7649,80 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Name used for UI elements listing this Service.
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * Name used for UI elements listing this Service.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * Name used for UI elements listing this Service.
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.Custom, com.google.monitoring.v3.Service.Custom.Builder, com.google.monitoring.v3.Service.CustomOrBuilder> customBuilder_; + com.google.monitoring.v3.Service.Custom, + com.google.monitoring.v3.Service.Custom.Builder, + com.google.monitoring.v3.Service.CustomOrBuilder> + customBuilder_; /** + * + * *
      * Custom service type.
      * 
* * .google.monitoring.v3.Service.Custom custom = 6; + * * @return Whether the custom field is set. */ @java.lang.Override @@ -7203,11 +7730,14 @@ public boolean hasCustom() { return identifierCase_ == 6; } /** + * + * *
      * Custom service type.
      * 
* * .google.monitoring.v3.Service.Custom custom = 6; + * * @return The custom. */ @java.lang.Override @@ -7225,6 +7755,8 @@ public com.google.monitoring.v3.Service.Custom getCustom() { } } /** + * + * *
      * Custom service type.
      * 
@@ -7245,14 +7777,15 @@ public Builder setCustom(com.google.monitoring.v3.Service.Custom value) { return this; } /** + * + * *
      * Custom service type.
      * 
* * .google.monitoring.v3.Service.Custom custom = 6; */ - public Builder setCustom( - com.google.monitoring.v3.Service.Custom.Builder builderForValue) { + public Builder setCustom(com.google.monitoring.v3.Service.Custom.Builder builderForValue) { if (customBuilder_ == null) { identifier_ = builderForValue.build(); onChanged(); @@ -7263,6 +7796,8 @@ public Builder setCustom( return this; } /** + * + * *
      * Custom service type.
      * 
@@ -7271,10 +7806,13 @@ public Builder setCustom( */ public Builder mergeCustom(com.google.monitoring.v3.Service.Custom value) { if (customBuilder_ == null) { - if (identifierCase_ == 6 && - identifier_ != com.google.monitoring.v3.Service.Custom.getDefaultInstance()) { - identifier_ = com.google.monitoring.v3.Service.Custom.newBuilder((com.google.monitoring.v3.Service.Custom) identifier_) - .mergeFrom(value).buildPartial(); + if (identifierCase_ == 6 + && identifier_ != com.google.monitoring.v3.Service.Custom.getDefaultInstance()) { + identifier_ = + com.google.monitoring.v3.Service.Custom.newBuilder( + (com.google.monitoring.v3.Service.Custom) identifier_) + .mergeFrom(value) + .buildPartial(); } else { identifier_ = value; } @@ -7289,6 +7827,8 @@ public Builder mergeCustom(com.google.monitoring.v3.Service.Custom value) { return this; } /** + * + * *
      * Custom service type.
      * 
@@ -7312,6 +7852,8 @@ public Builder clearCustom() { return this; } /** + * + * *
      * Custom service type.
      * 
@@ -7322,6 +7864,8 @@ public com.google.monitoring.v3.Service.Custom.Builder getCustomBuilder() { return getCustomFieldBuilder().getBuilder(); } /** + * + * *
      * Custom service type.
      * 
@@ -7340,6 +7884,8 @@ public com.google.monitoring.v3.Service.CustomOrBuilder getCustomOrBuilder() { } } /** + * + * *
      * Custom service type.
      * 
@@ -7347,32 +7893,44 @@ public com.google.monitoring.v3.Service.CustomOrBuilder getCustomOrBuilder() { * .google.monitoring.v3.Service.Custom custom = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.Custom, com.google.monitoring.v3.Service.Custom.Builder, com.google.monitoring.v3.Service.CustomOrBuilder> + com.google.monitoring.v3.Service.Custom, + com.google.monitoring.v3.Service.Custom.Builder, + com.google.monitoring.v3.Service.CustomOrBuilder> getCustomFieldBuilder() { if (customBuilder_ == null) { if (!(identifierCase_ == 6)) { identifier_ = com.google.monitoring.v3.Service.Custom.getDefaultInstance(); } - customBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.Custom, com.google.monitoring.v3.Service.Custom.Builder, com.google.monitoring.v3.Service.CustomOrBuilder>( + customBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.Service.Custom, + com.google.monitoring.v3.Service.Custom.Builder, + com.google.monitoring.v3.Service.CustomOrBuilder>( (com.google.monitoring.v3.Service.Custom) identifier_, getParentForChildren(), isClean()); identifier_ = null; } identifierCase_ = 6; - onChanged();; + onChanged(); + ; return customBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.AppEngine, com.google.monitoring.v3.Service.AppEngine.Builder, com.google.monitoring.v3.Service.AppEngineOrBuilder> appEngineBuilder_; + com.google.monitoring.v3.Service.AppEngine, + com.google.monitoring.v3.Service.AppEngine.Builder, + com.google.monitoring.v3.Service.AppEngineOrBuilder> + appEngineBuilder_; /** + * + * *
      * Type used for App Engine services.
      * 
* * .google.monitoring.v3.Service.AppEngine app_engine = 7; + * * @return Whether the appEngine field is set. */ @java.lang.Override @@ -7380,11 +7938,14 @@ public boolean hasAppEngine() { return identifierCase_ == 7; } /** + * + * *
      * Type used for App Engine services.
      * 
* * .google.monitoring.v3.Service.AppEngine app_engine = 7; + * * @return The appEngine. */ @java.lang.Override @@ -7402,6 +7963,8 @@ public com.google.monitoring.v3.Service.AppEngine getAppEngine() { } } /** + * + * *
      * Type used for App Engine services.
      * 
@@ -7422,6 +7985,8 @@ public Builder setAppEngine(com.google.monitoring.v3.Service.AppEngine value) { return this; } /** + * + * *
      * Type used for App Engine services.
      * 
@@ -7440,6 +8005,8 @@ public Builder setAppEngine( return this; } /** + * + * *
      * Type used for App Engine services.
      * 
@@ -7448,10 +8015,13 @@ public Builder setAppEngine( */ public Builder mergeAppEngine(com.google.monitoring.v3.Service.AppEngine value) { if (appEngineBuilder_ == null) { - if (identifierCase_ == 7 && - identifier_ != com.google.monitoring.v3.Service.AppEngine.getDefaultInstance()) { - identifier_ = com.google.monitoring.v3.Service.AppEngine.newBuilder((com.google.monitoring.v3.Service.AppEngine) identifier_) - .mergeFrom(value).buildPartial(); + if (identifierCase_ == 7 + && identifier_ != com.google.monitoring.v3.Service.AppEngine.getDefaultInstance()) { + identifier_ = + com.google.monitoring.v3.Service.AppEngine.newBuilder( + (com.google.monitoring.v3.Service.AppEngine) identifier_) + .mergeFrom(value) + .buildPartial(); } else { identifier_ = value; } @@ -7466,6 +8036,8 @@ public Builder mergeAppEngine(com.google.monitoring.v3.Service.AppEngine value) return this; } /** + * + * *
      * Type used for App Engine services.
      * 
@@ -7489,6 +8061,8 @@ public Builder clearAppEngine() { return this; } /** + * + * *
      * Type used for App Engine services.
      * 
@@ -7499,6 +8073,8 @@ public com.google.monitoring.v3.Service.AppEngine.Builder getAppEngineBuilder() return getAppEngineFieldBuilder().getBuilder(); } /** + * + * *
      * Type used for App Engine services.
      * 
@@ -7517,6 +8093,8 @@ public com.google.monitoring.v3.Service.AppEngineOrBuilder getAppEngineOrBuilder } } /** + * + * *
      * Type used for App Engine services.
      * 
@@ -7524,32 +8102,44 @@ public com.google.monitoring.v3.Service.AppEngineOrBuilder getAppEngineOrBuilder * .google.monitoring.v3.Service.AppEngine app_engine = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.AppEngine, com.google.monitoring.v3.Service.AppEngine.Builder, com.google.monitoring.v3.Service.AppEngineOrBuilder> + com.google.monitoring.v3.Service.AppEngine, + com.google.monitoring.v3.Service.AppEngine.Builder, + com.google.monitoring.v3.Service.AppEngineOrBuilder> getAppEngineFieldBuilder() { if (appEngineBuilder_ == null) { if (!(identifierCase_ == 7)) { identifier_ = com.google.monitoring.v3.Service.AppEngine.getDefaultInstance(); } - appEngineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.AppEngine, com.google.monitoring.v3.Service.AppEngine.Builder, com.google.monitoring.v3.Service.AppEngineOrBuilder>( + appEngineBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.Service.AppEngine, + com.google.monitoring.v3.Service.AppEngine.Builder, + com.google.monitoring.v3.Service.AppEngineOrBuilder>( (com.google.monitoring.v3.Service.AppEngine) identifier_, getParentForChildren(), isClean()); identifier_ = null; } identifierCase_ = 7; - onChanged();; + onChanged(); + ; return appEngineBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.CloudEndpoints, com.google.monitoring.v3.Service.CloudEndpoints.Builder, com.google.monitoring.v3.Service.CloudEndpointsOrBuilder> cloudEndpointsBuilder_; + com.google.monitoring.v3.Service.CloudEndpoints, + com.google.monitoring.v3.Service.CloudEndpoints.Builder, + com.google.monitoring.v3.Service.CloudEndpointsOrBuilder> + cloudEndpointsBuilder_; /** + * + * *
      * Type used for Cloud Endpoints services.
      * 
* * .google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8; + * * @return Whether the cloudEndpoints field is set. */ @java.lang.Override @@ -7557,11 +8147,14 @@ public boolean hasCloudEndpoints() { return identifierCase_ == 8; } /** + * + * *
      * Type used for Cloud Endpoints services.
      * 
* * .google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8; + * * @return The cloudEndpoints. */ @java.lang.Override @@ -7579,6 +8172,8 @@ public com.google.monitoring.v3.Service.CloudEndpoints getCloudEndpoints() { } } /** + * + * *
      * Type used for Cloud Endpoints services.
      * 
@@ -7599,6 +8194,8 @@ public Builder setCloudEndpoints(com.google.monitoring.v3.Service.CloudEndpoints return this; } /** + * + * *
      * Type used for Cloud Endpoints services.
      * 
@@ -7617,6 +8214,8 @@ public Builder setCloudEndpoints( return this; } /** + * + * *
      * Type used for Cloud Endpoints services.
      * 
@@ -7625,10 +8224,14 @@ public Builder setCloudEndpoints( */ public Builder mergeCloudEndpoints(com.google.monitoring.v3.Service.CloudEndpoints value) { if (cloudEndpointsBuilder_ == null) { - if (identifierCase_ == 8 && - identifier_ != com.google.monitoring.v3.Service.CloudEndpoints.getDefaultInstance()) { - identifier_ = com.google.monitoring.v3.Service.CloudEndpoints.newBuilder((com.google.monitoring.v3.Service.CloudEndpoints) identifier_) - .mergeFrom(value).buildPartial(); + if (identifierCase_ == 8 + && identifier_ + != com.google.monitoring.v3.Service.CloudEndpoints.getDefaultInstance()) { + identifier_ = + com.google.monitoring.v3.Service.CloudEndpoints.newBuilder( + (com.google.monitoring.v3.Service.CloudEndpoints) identifier_) + .mergeFrom(value) + .buildPartial(); } else { identifier_ = value; } @@ -7643,6 +8246,8 @@ public Builder mergeCloudEndpoints(com.google.monitoring.v3.Service.CloudEndpoin return this; } /** + * + * *
      * Type used for Cloud Endpoints services.
      * 
@@ -7666,6 +8271,8 @@ public Builder clearCloudEndpoints() { return this; } /** + * + * *
      * Type used for Cloud Endpoints services.
      * 
@@ -7676,6 +8283,8 @@ public com.google.monitoring.v3.Service.CloudEndpoints.Builder getCloudEndpoints return getCloudEndpointsFieldBuilder().getBuilder(); } /** + * + * *
      * Type used for Cloud Endpoints services.
      * 
@@ -7694,6 +8303,8 @@ public com.google.monitoring.v3.Service.CloudEndpointsOrBuilder getCloudEndpoint } } /** + * + * *
      * Type used for Cloud Endpoints services.
      * 
@@ -7701,32 +8312,44 @@ public com.google.monitoring.v3.Service.CloudEndpointsOrBuilder getCloudEndpoint * .google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.CloudEndpoints, com.google.monitoring.v3.Service.CloudEndpoints.Builder, com.google.monitoring.v3.Service.CloudEndpointsOrBuilder> + com.google.monitoring.v3.Service.CloudEndpoints, + com.google.monitoring.v3.Service.CloudEndpoints.Builder, + com.google.monitoring.v3.Service.CloudEndpointsOrBuilder> getCloudEndpointsFieldBuilder() { if (cloudEndpointsBuilder_ == null) { if (!(identifierCase_ == 8)) { identifier_ = com.google.monitoring.v3.Service.CloudEndpoints.getDefaultInstance(); } - cloudEndpointsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.CloudEndpoints, com.google.monitoring.v3.Service.CloudEndpoints.Builder, com.google.monitoring.v3.Service.CloudEndpointsOrBuilder>( + cloudEndpointsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.Service.CloudEndpoints, + com.google.monitoring.v3.Service.CloudEndpoints.Builder, + com.google.monitoring.v3.Service.CloudEndpointsOrBuilder>( (com.google.monitoring.v3.Service.CloudEndpoints) identifier_, getParentForChildren(), isClean()); identifier_ = null; } identifierCase_ = 8; - onChanged();; + onChanged(); + ; return cloudEndpointsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.ClusterIstio, com.google.monitoring.v3.Service.ClusterIstio.Builder, com.google.monitoring.v3.Service.ClusterIstioOrBuilder> clusterIstioBuilder_; + com.google.monitoring.v3.Service.ClusterIstio, + com.google.monitoring.v3.Service.ClusterIstio.Builder, + com.google.monitoring.v3.Service.ClusterIstioOrBuilder> + clusterIstioBuilder_; /** + * + * *
      * Type used for Istio services that live in a Kubernetes cluster.
      * 
* * .google.monitoring.v3.Service.ClusterIstio cluster_istio = 9; + * * @return Whether the clusterIstio field is set. */ @java.lang.Override @@ -7734,11 +8357,14 @@ public boolean hasClusterIstio() { return identifierCase_ == 9; } /** + * + * *
      * Type used for Istio services that live in a Kubernetes cluster.
      * 
* * .google.monitoring.v3.Service.ClusterIstio cluster_istio = 9; + * * @return The clusterIstio. */ @java.lang.Override @@ -7756,6 +8382,8 @@ public com.google.monitoring.v3.Service.ClusterIstio getClusterIstio() { } } /** + * + * *
      * Type used for Istio services that live in a Kubernetes cluster.
      * 
@@ -7776,6 +8404,8 @@ public Builder setClusterIstio(com.google.monitoring.v3.Service.ClusterIstio val return this; } /** + * + * *
      * Type used for Istio services that live in a Kubernetes cluster.
      * 
@@ -7794,6 +8424,8 @@ public Builder setClusterIstio( return this; } /** + * + * *
      * Type used for Istio services that live in a Kubernetes cluster.
      * 
@@ -7802,10 +8434,13 @@ public Builder setClusterIstio( */ public Builder mergeClusterIstio(com.google.monitoring.v3.Service.ClusterIstio value) { if (clusterIstioBuilder_ == null) { - if (identifierCase_ == 9 && - identifier_ != com.google.monitoring.v3.Service.ClusterIstio.getDefaultInstance()) { - identifier_ = com.google.monitoring.v3.Service.ClusterIstio.newBuilder((com.google.monitoring.v3.Service.ClusterIstio) identifier_) - .mergeFrom(value).buildPartial(); + if (identifierCase_ == 9 + && identifier_ != com.google.monitoring.v3.Service.ClusterIstio.getDefaultInstance()) { + identifier_ = + com.google.monitoring.v3.Service.ClusterIstio.newBuilder( + (com.google.monitoring.v3.Service.ClusterIstio) identifier_) + .mergeFrom(value) + .buildPartial(); } else { identifier_ = value; } @@ -7820,6 +8455,8 @@ public Builder mergeClusterIstio(com.google.monitoring.v3.Service.ClusterIstio v return this; } /** + * + * *
      * Type used for Istio services that live in a Kubernetes cluster.
      * 
@@ -7843,6 +8480,8 @@ public Builder clearClusterIstio() { return this; } /** + * + * *
      * Type used for Istio services that live in a Kubernetes cluster.
      * 
@@ -7853,6 +8492,8 @@ public com.google.monitoring.v3.Service.ClusterIstio.Builder getClusterIstioBuil return getClusterIstioFieldBuilder().getBuilder(); } /** + * + * *
      * Type used for Istio services that live in a Kubernetes cluster.
      * 
@@ -7871,6 +8512,8 @@ public com.google.monitoring.v3.Service.ClusterIstioOrBuilder getClusterIstioOrB } } /** + * + * *
      * Type used for Istio services that live in a Kubernetes cluster.
      * 
@@ -7878,32 +8521,44 @@ public com.google.monitoring.v3.Service.ClusterIstioOrBuilder getClusterIstioOrB * .google.monitoring.v3.Service.ClusterIstio cluster_istio = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.ClusterIstio, com.google.monitoring.v3.Service.ClusterIstio.Builder, com.google.monitoring.v3.Service.ClusterIstioOrBuilder> + com.google.monitoring.v3.Service.ClusterIstio, + com.google.monitoring.v3.Service.ClusterIstio.Builder, + com.google.monitoring.v3.Service.ClusterIstioOrBuilder> getClusterIstioFieldBuilder() { if (clusterIstioBuilder_ == null) { if (!(identifierCase_ == 9)) { identifier_ = com.google.monitoring.v3.Service.ClusterIstio.getDefaultInstance(); } - clusterIstioBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.ClusterIstio, com.google.monitoring.v3.Service.ClusterIstio.Builder, com.google.monitoring.v3.Service.ClusterIstioOrBuilder>( + clusterIstioBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.Service.ClusterIstio, + com.google.monitoring.v3.Service.ClusterIstio.Builder, + com.google.monitoring.v3.Service.ClusterIstioOrBuilder>( (com.google.monitoring.v3.Service.ClusterIstio) identifier_, getParentForChildren(), isClean()); identifier_ = null; } identifierCase_ = 9; - onChanged();; + onChanged(); + ; return clusterIstioBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.MeshIstio, com.google.monitoring.v3.Service.MeshIstio.Builder, com.google.monitoring.v3.Service.MeshIstioOrBuilder> meshIstioBuilder_; + com.google.monitoring.v3.Service.MeshIstio, + com.google.monitoring.v3.Service.MeshIstio.Builder, + com.google.monitoring.v3.Service.MeshIstioOrBuilder> + meshIstioBuilder_; /** + * + * *
      * Type used for Istio services scoped to an Istio mesh.
      * 
* * .google.monitoring.v3.Service.MeshIstio mesh_istio = 10; + * * @return Whether the meshIstio field is set. */ @java.lang.Override @@ -7911,11 +8566,14 @@ public boolean hasMeshIstio() { return identifierCase_ == 10; } /** + * + * *
      * Type used for Istio services scoped to an Istio mesh.
      * 
* * .google.monitoring.v3.Service.MeshIstio mesh_istio = 10; + * * @return The meshIstio. */ @java.lang.Override @@ -7933,6 +8591,8 @@ public com.google.monitoring.v3.Service.MeshIstio getMeshIstio() { } } /** + * + * *
      * Type used for Istio services scoped to an Istio mesh.
      * 
@@ -7953,6 +8613,8 @@ public Builder setMeshIstio(com.google.monitoring.v3.Service.MeshIstio value) { return this; } /** + * + * *
      * Type used for Istio services scoped to an Istio mesh.
      * 
@@ -7971,6 +8633,8 @@ public Builder setMeshIstio( return this; } /** + * + * *
      * Type used for Istio services scoped to an Istio mesh.
      * 
@@ -7979,10 +8643,13 @@ public Builder setMeshIstio( */ public Builder mergeMeshIstio(com.google.monitoring.v3.Service.MeshIstio value) { if (meshIstioBuilder_ == null) { - if (identifierCase_ == 10 && - identifier_ != com.google.monitoring.v3.Service.MeshIstio.getDefaultInstance()) { - identifier_ = com.google.monitoring.v3.Service.MeshIstio.newBuilder((com.google.monitoring.v3.Service.MeshIstio) identifier_) - .mergeFrom(value).buildPartial(); + if (identifierCase_ == 10 + && identifier_ != com.google.monitoring.v3.Service.MeshIstio.getDefaultInstance()) { + identifier_ = + com.google.monitoring.v3.Service.MeshIstio.newBuilder( + (com.google.monitoring.v3.Service.MeshIstio) identifier_) + .mergeFrom(value) + .buildPartial(); } else { identifier_ = value; } @@ -7997,6 +8664,8 @@ public Builder mergeMeshIstio(com.google.monitoring.v3.Service.MeshIstio value) return this; } /** + * + * *
      * Type used for Istio services scoped to an Istio mesh.
      * 
@@ -8020,6 +8689,8 @@ public Builder clearMeshIstio() { return this; } /** + * + * *
      * Type used for Istio services scoped to an Istio mesh.
      * 
@@ -8030,6 +8701,8 @@ public com.google.monitoring.v3.Service.MeshIstio.Builder getMeshIstioBuilder() return getMeshIstioFieldBuilder().getBuilder(); } /** + * + * *
      * Type used for Istio services scoped to an Istio mesh.
      * 
@@ -8048,6 +8721,8 @@ public com.google.monitoring.v3.Service.MeshIstioOrBuilder getMeshIstioOrBuilder } } /** + * + * *
      * Type used for Istio services scoped to an Istio mesh.
      * 
@@ -8055,34 +8730,47 @@ public com.google.monitoring.v3.Service.MeshIstioOrBuilder getMeshIstioOrBuilder * .google.monitoring.v3.Service.MeshIstio mesh_istio = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.MeshIstio, com.google.monitoring.v3.Service.MeshIstio.Builder, com.google.monitoring.v3.Service.MeshIstioOrBuilder> + com.google.monitoring.v3.Service.MeshIstio, + com.google.monitoring.v3.Service.MeshIstio.Builder, + com.google.monitoring.v3.Service.MeshIstioOrBuilder> getMeshIstioFieldBuilder() { if (meshIstioBuilder_ == null) { if (!(identifierCase_ == 10)) { identifier_ = com.google.monitoring.v3.Service.MeshIstio.getDefaultInstance(); } - meshIstioBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.MeshIstio, com.google.monitoring.v3.Service.MeshIstio.Builder, com.google.monitoring.v3.Service.MeshIstioOrBuilder>( + meshIstioBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.Service.MeshIstio, + com.google.monitoring.v3.Service.MeshIstio.Builder, + com.google.monitoring.v3.Service.MeshIstioOrBuilder>( (com.google.monitoring.v3.Service.MeshIstio) identifier_, getParentForChildren(), isClean()); identifier_ = null; } identifierCase_ = 10; - onChanged();; + onChanged(); + ; return meshIstioBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.IstioCanonicalService, com.google.monitoring.v3.Service.IstioCanonicalService.Builder, com.google.monitoring.v3.Service.IstioCanonicalServiceOrBuilder> istioCanonicalServiceBuilder_; + com.google.monitoring.v3.Service.IstioCanonicalService, + com.google.monitoring.v3.Service.IstioCanonicalService.Builder, + com.google.monitoring.v3.Service.IstioCanonicalServiceOrBuilder> + istioCanonicalServiceBuilder_; /** + * + * *
      * Type used for canonical services scoped to an Istio mesh.
      * Metrics for Istio are
      * [documented here](https://istio.io/latest/docs/reference/config/metrics/)
      * 
* - * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; + * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; + * + * * @return Whether the istioCanonicalService field is set. */ @java.lang.Override @@ -8090,13 +8778,17 @@ public boolean hasIstioCanonicalService() { return identifierCase_ == 11; } /** + * + * *
      * Type used for canonical services scoped to an Istio mesh.
      * Metrics for Istio are
      * [documented here](https://istio.io/latest/docs/reference/config/metrics/)
      * 
* - * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; + * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; + * + * * @return The istioCanonicalService. */ @java.lang.Override @@ -8114,15 +8806,19 @@ public com.google.monitoring.v3.Service.IstioCanonicalService getIstioCanonicalS } } /** + * + * *
      * Type used for canonical services scoped to an Istio mesh.
      * Metrics for Istio are
      * [documented here](https://istio.io/latest/docs/reference/config/metrics/)
      * 
* - * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; + * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; + * */ - public Builder setIstioCanonicalService(com.google.monitoring.v3.Service.IstioCanonicalService value) { + public Builder setIstioCanonicalService( + com.google.monitoring.v3.Service.IstioCanonicalService value) { if (istioCanonicalServiceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8136,13 +8832,16 @@ public Builder setIstioCanonicalService(com.google.monitoring.v3.Service.IstioCa return this; } /** + * + * *
      * Type used for canonical services scoped to an Istio mesh.
      * Metrics for Istio are
      * [documented here](https://istio.io/latest/docs/reference/config/metrics/)
      * 
* - * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; + * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; + * */ public Builder setIstioCanonicalService( com.google.monitoring.v3.Service.IstioCanonicalService.Builder builderForValue) { @@ -8156,20 +8855,28 @@ public Builder setIstioCanonicalService( return this; } /** + * + * *
      * Type used for canonical services scoped to an Istio mesh.
      * Metrics for Istio are
      * [documented here](https://istio.io/latest/docs/reference/config/metrics/)
      * 
* - * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; + * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; + * */ - public Builder mergeIstioCanonicalService(com.google.monitoring.v3.Service.IstioCanonicalService value) { + public Builder mergeIstioCanonicalService( + com.google.monitoring.v3.Service.IstioCanonicalService value) { if (istioCanonicalServiceBuilder_ == null) { - if (identifierCase_ == 11 && - identifier_ != com.google.monitoring.v3.Service.IstioCanonicalService.getDefaultInstance()) { - identifier_ = com.google.monitoring.v3.Service.IstioCanonicalService.newBuilder((com.google.monitoring.v3.Service.IstioCanonicalService) identifier_) - .mergeFrom(value).buildPartial(); + if (identifierCase_ == 11 + && identifier_ + != com.google.monitoring.v3.Service.IstioCanonicalService.getDefaultInstance()) { + identifier_ = + com.google.monitoring.v3.Service.IstioCanonicalService.newBuilder( + (com.google.monitoring.v3.Service.IstioCanonicalService) identifier_) + .mergeFrom(value) + .buildPartial(); } else { identifier_ = value; } @@ -8184,13 +8891,16 @@ public Builder mergeIstioCanonicalService(com.google.monitoring.v3.Service.Istio return this; } /** + * + * *
      * Type used for canonical services scoped to an Istio mesh.
      * Metrics for Istio are
      * [documented here](https://istio.io/latest/docs/reference/config/metrics/)
      * 
* - * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; + * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; + * */ public Builder clearIstioCanonicalService() { if (istioCanonicalServiceBuilder_ == null) { @@ -8209,28 +8919,36 @@ public Builder clearIstioCanonicalService() { return this; } /** + * + * *
      * Type used for canonical services scoped to an Istio mesh.
      * Metrics for Istio are
      * [documented here](https://istio.io/latest/docs/reference/config/metrics/)
      * 
* - * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; + * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; + * */ - public com.google.monitoring.v3.Service.IstioCanonicalService.Builder getIstioCanonicalServiceBuilder() { + public com.google.monitoring.v3.Service.IstioCanonicalService.Builder + getIstioCanonicalServiceBuilder() { return getIstioCanonicalServiceFieldBuilder().getBuilder(); } /** + * + * *
      * Type used for canonical services scoped to an Istio mesh.
      * Metrics for Istio are
      * [documented here](https://istio.io/latest/docs/reference/config/metrics/)
      * 
* - * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; + * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; + * */ @java.lang.Override - public com.google.monitoring.v3.Service.IstioCanonicalServiceOrBuilder getIstioCanonicalServiceOrBuilder() { + public com.google.monitoring.v3.Service.IstioCanonicalServiceOrBuilder + getIstioCanonicalServiceOrBuilder() { if ((identifierCase_ == 11) && (istioCanonicalServiceBuilder_ != null)) { return istioCanonicalServiceBuilder_.getMessageOrBuilder(); } else { @@ -8241,63 +8959,85 @@ public com.google.monitoring.v3.Service.IstioCanonicalServiceOrBuilder getIstioC } } /** + * + * *
      * Type used for canonical services scoped to an Istio mesh.
      * Metrics for Istio are
      * [documented here](https://istio.io/latest/docs/reference/config/metrics/)
      * 
* - * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; + * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.IstioCanonicalService, com.google.monitoring.v3.Service.IstioCanonicalService.Builder, com.google.monitoring.v3.Service.IstioCanonicalServiceOrBuilder> + com.google.monitoring.v3.Service.IstioCanonicalService, + com.google.monitoring.v3.Service.IstioCanonicalService.Builder, + com.google.monitoring.v3.Service.IstioCanonicalServiceOrBuilder> getIstioCanonicalServiceFieldBuilder() { if (istioCanonicalServiceBuilder_ == null) { if (!(identifierCase_ == 11)) { identifier_ = com.google.monitoring.v3.Service.IstioCanonicalService.getDefaultInstance(); } - istioCanonicalServiceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.IstioCanonicalService, com.google.monitoring.v3.Service.IstioCanonicalService.Builder, com.google.monitoring.v3.Service.IstioCanonicalServiceOrBuilder>( + istioCanonicalServiceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.Service.IstioCanonicalService, + com.google.monitoring.v3.Service.IstioCanonicalService.Builder, + com.google.monitoring.v3.Service.IstioCanonicalServiceOrBuilder>( (com.google.monitoring.v3.Service.IstioCanonicalService) identifier_, getParentForChildren(), isClean()); identifier_ = null; } identifierCase_ = 11; - onChanged();; + onChanged(); + ; return istioCanonicalServiceBuilder_; } private com.google.monitoring.v3.Service.Telemetry telemetry_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.Telemetry, com.google.monitoring.v3.Service.Telemetry.Builder, com.google.monitoring.v3.Service.TelemetryOrBuilder> telemetryBuilder_; + com.google.monitoring.v3.Service.Telemetry, + com.google.monitoring.v3.Service.Telemetry.Builder, + com.google.monitoring.v3.Service.TelemetryOrBuilder> + telemetryBuilder_; /** + * + * *
      * Configuration for how to query telemetry on a Service.
      * 
* * .google.monitoring.v3.Service.Telemetry telemetry = 13; + * * @return Whether the telemetry field is set. */ public boolean hasTelemetry() { return telemetryBuilder_ != null || telemetry_ != null; } /** + * + * *
      * Configuration for how to query telemetry on a Service.
      * 
* * .google.monitoring.v3.Service.Telemetry telemetry = 13; + * * @return The telemetry. */ public com.google.monitoring.v3.Service.Telemetry getTelemetry() { if (telemetryBuilder_ == null) { - return telemetry_ == null ? com.google.monitoring.v3.Service.Telemetry.getDefaultInstance() : telemetry_; + return telemetry_ == null + ? com.google.monitoring.v3.Service.Telemetry.getDefaultInstance() + : telemetry_; } else { return telemetryBuilder_.getMessage(); } } /** + * + * *
      * Configuration for how to query telemetry on a Service.
      * 
@@ -8318,6 +9058,8 @@ public Builder setTelemetry(com.google.monitoring.v3.Service.Telemetry value) { return this; } /** + * + * *
      * Configuration for how to query telemetry on a Service.
      * 
@@ -8336,6 +9078,8 @@ public Builder setTelemetry( return this; } /** + * + * *
      * Configuration for how to query telemetry on a Service.
      * 
@@ -8346,7 +9090,9 @@ public Builder mergeTelemetry(com.google.monitoring.v3.Service.Telemetry value) if (telemetryBuilder_ == null) { if (telemetry_ != null) { telemetry_ = - com.google.monitoring.v3.Service.Telemetry.newBuilder(telemetry_).mergeFrom(value).buildPartial(); + com.google.monitoring.v3.Service.Telemetry.newBuilder(telemetry_) + .mergeFrom(value) + .buildPartial(); } else { telemetry_ = value; } @@ -8358,6 +9104,8 @@ public Builder mergeTelemetry(com.google.monitoring.v3.Service.Telemetry value) return this; } /** + * + * *
      * Configuration for how to query telemetry on a Service.
      * 
@@ -8376,6 +9124,8 @@ public Builder clearTelemetry() { return this; } /** + * + * *
      * Configuration for how to query telemetry on a Service.
      * 
@@ -8383,11 +9133,13 @@ public Builder clearTelemetry() { * .google.monitoring.v3.Service.Telemetry telemetry = 13; */ public com.google.monitoring.v3.Service.Telemetry.Builder getTelemetryBuilder() { - + onChanged(); return getTelemetryFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for how to query telemetry on a Service.
      * 
@@ -8398,11 +9150,14 @@ public com.google.monitoring.v3.Service.TelemetryOrBuilder getTelemetryOrBuilder if (telemetryBuilder_ != null) { return telemetryBuilder_.getMessageOrBuilder(); } else { - return telemetry_ == null ? - com.google.monitoring.v3.Service.Telemetry.getDefaultInstance() : telemetry_; + return telemetry_ == null + ? com.google.monitoring.v3.Service.Telemetry.getDefaultInstance() + : telemetry_; } } /** + * + * *
      * Configuration for how to query telemetry on a Service.
      * 
@@ -8410,35 +9165,40 @@ public com.google.monitoring.v3.Service.TelemetryOrBuilder getTelemetryOrBuilder * .google.monitoring.v3.Service.Telemetry telemetry = 13; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.Telemetry, com.google.monitoring.v3.Service.Telemetry.Builder, com.google.monitoring.v3.Service.TelemetryOrBuilder> + com.google.monitoring.v3.Service.Telemetry, + com.google.monitoring.v3.Service.Telemetry.Builder, + com.google.monitoring.v3.Service.TelemetryOrBuilder> getTelemetryFieldBuilder() { if (telemetryBuilder_ == null) { - telemetryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service.Telemetry, com.google.monitoring.v3.Service.Telemetry.Builder, com.google.monitoring.v3.Service.TelemetryOrBuilder>( - getTelemetry(), - getParentForChildren(), - isClean()); + telemetryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.Service.Telemetry, + com.google.monitoring.v3.Service.Telemetry.Builder, + com.google.monitoring.v3.Service.TelemetryOrBuilder>( + getTelemetry(), getParentForChildren(), isClean()); telemetry_ = null; } return telemetryBuilder_; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> userLabels_; + private com.google.protobuf.MapField userLabels_; + private com.google.protobuf.MapField - internalGetUserLabels() { + internalGetUserLabels() { if (userLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( UserLabelsDefaultEntryHolder.defaultEntry); } return userLabels_; } + private com.google.protobuf.MapField - internalGetMutableUserLabels() { - onChanged();; + internalGetMutableUserLabels() { + onChanged(); + ; if (userLabels_ == null) { - userLabels_ = com.google.protobuf.MapField.newMapField( - UserLabelsDefaultEntryHolder.defaultEntry); + userLabels_ = + com.google.protobuf.MapField.newMapField(UserLabelsDefaultEntryHolder.defaultEntry); } if (!userLabels_.isMutable()) { userLabels_ = userLabels_.copy(); @@ -8450,6 +9210,8 @@ public int getUserLabelsCount() { return internalGetUserLabels().getMap().size(); } /** + * + * *
      * Labels which have been used to annotate the service. Label keys must start
      * with a letter. Label keys and values may contain lowercase letters,
@@ -8461,22 +9223,22 @@ public int getUserLabelsCount() {
      *
      * map<string, string> user_labels = 14;
      */
-
     @java.lang.Override
-    public boolean containsUserLabels(
-        java.lang.String key) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
+    public boolean containsUserLabels(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
       return internalGetUserLabels().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getUserLabelsMap()} instead.
-     */
+    /** Use {@link #getUserLabelsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getUserLabels() {
       return getUserLabelsMap();
     }
     /**
+     *
+     *
      * 
      * Labels which have been used to annotate the service. Label keys must start
      * with a letter. Label keys and values may contain lowercase letters,
@@ -8489,11 +9251,12 @@ public java.util.Map getUserLabels() {
      * map<string, string> user_labels = 14;
      */
     @java.lang.Override
-
     public java.util.Map getUserLabelsMap() {
       return internalGetUserLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Labels which have been used to annotate the service. Label keys must start
      * with a letter. Label keys and values may contain lowercase letters,
@@ -8506,16 +9269,17 @@ public java.util.Map getUserLabelsMap() {
      * map<string, string> user_labels = 14;
      */
     @java.lang.Override
-
     public java.lang.String getUserLabelsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      java.util.Map map =
-          internalGetUserLabels().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      java.util.Map map = internalGetUserLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Labels which have been used to annotate the service. Label keys must start
      * with a letter. Label keys and values may contain lowercase letters,
@@ -8528,12 +9292,11 @@ public java.lang.String getUserLabelsOrDefault(
      * map<string, string> user_labels = 14;
      */
     @java.lang.Override
-
-    public java.lang.String getUserLabelsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      java.util.Map map =
-          internalGetUserLabels().getMap();
+    public java.lang.String getUserLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      java.util.Map map = internalGetUserLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -8541,11 +9304,12 @@ public java.lang.String getUserLabelsOrThrow(
     }
 
     public Builder clearUserLabels() {
-      internalGetMutableUserLabels().getMutableMap()
-          .clear();
+      internalGetMutableUserLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels which have been used to annotate the service. Label keys must start
      * with a letter. Label keys and values may contain lowercase letters,
@@ -8557,23 +9321,21 @@ public Builder clearUserLabels() {
      *
      * map<string, string> user_labels = 14;
      */
-
-    public Builder removeUserLabels(
-        java.lang.String key) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      internalGetMutableUserLabels().getMutableMap()
-          .remove(key);
+    public Builder removeUserLabels(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      internalGetMutableUserLabels().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableUserLabels() {
+    public java.util.Map getMutableUserLabels() {
       return internalGetMutableUserLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Labels which have been used to annotate the service. Label keys must start
      * with a letter. Label keys and values may contain lowercase letters,
@@ -8585,16 +9347,19 @@ public Builder removeUserLabels(
      *
      * map<string, string> user_labels = 14;
      */
-    public Builder putUserLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      if (value == null) { throw new java.lang.NullPointerException(); }
-      internalGetMutableUserLabels().getMutableMap()
-          .put(key, value);
+    public Builder putUserLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      if (value == null) {
+        throw new java.lang.NullPointerException();
+      }
+      internalGetMutableUserLabels().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels which have been used to annotate the service. Label keys must start
      * with a letter. Label keys and values may contain lowercase letters,
@@ -8606,16 +9371,13 @@ public Builder putUserLabels(
      *
      * map<string, string> user_labels = 14;
      */
-
-    public Builder putAllUserLabels(
-        java.util.Map values) {
-      internalGetMutableUserLabels().getMutableMap()
-          .putAll(values);
+    public Builder putAllUserLabels(java.util.Map values) {
+      internalGetMutableUserLabels().getMutableMap().putAll(values);
       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);
     }
 
@@ -8625,12 +9387,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.monitoring.v3.Service)
   }
 
   // @@protoc_insertion_point(class_scope:google.monitoring.v3.Service)
   private static final com.google.monitoring.v3.Service DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.monitoring.v3.Service();
   }
@@ -8639,16 +9401,16 @@ public static com.google.monitoring.v3.Service getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Service parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new Service(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Service parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new Service(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -8663,6 +9425,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.monitoring.v3.Service getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelIndicator.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelIndicator.java
similarity index 71%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelIndicator.java
rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelIndicator.java
index f67c2f04..446d38bb 100644
--- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelIndicator.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelIndicator.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/monitoring/v3/service.proto
 
 package com.google.monitoring.v3;
 
 /**
+ *
+ *
  * 
  * A Service-Level Indicator (SLI) describes the "performance" of a service. For
  * some services, the SLI is well-defined. In such cases, the SLI can be
@@ -22,30 +39,29 @@
  *
  * Protobuf type {@code google.monitoring.v3.ServiceLevelIndicator}
  */
-public final class ServiceLevelIndicator extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ServiceLevelIndicator extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.ServiceLevelIndicator)
     ServiceLevelIndicatorOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ServiceLevelIndicator.newBuilder() to construct.
   private ServiceLevelIndicator(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private ServiceLevelIndicator() {
-  }
+
+  private ServiceLevelIndicator() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ServiceLevelIndicator();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ServiceLevelIndicator(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -64,90 +80,100 @@ private ServiceLevelIndicator(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.monitoring.v3.RequestBasedSli.Builder subBuilder = null;
-            if (typeCase_ == 1) {
-              subBuilder = ((com.google.monitoring.v3.RequestBasedSli) type_).toBuilder();
-            }
-            type_ =
-                input.readMessage(com.google.monitoring.v3.RequestBasedSli.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.monitoring.v3.RequestBasedSli) type_);
-              type_ = subBuilder.buildPartial();
-            }
-            typeCase_ = 1;
-            break;
-          }
-          case 18: {
-            com.google.monitoring.v3.WindowsBasedSli.Builder subBuilder = null;
-            if (typeCase_ == 2) {
-              subBuilder = ((com.google.monitoring.v3.WindowsBasedSli) type_).toBuilder();
+          case 10:
+            {
+              com.google.monitoring.v3.RequestBasedSli.Builder subBuilder = null;
+              if (typeCase_ == 1) {
+                subBuilder = ((com.google.monitoring.v3.RequestBasedSli) type_).toBuilder();
+              }
+              type_ =
+                  input.readMessage(
+                      com.google.monitoring.v3.RequestBasedSli.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.monitoring.v3.RequestBasedSli) type_);
+                type_ = subBuilder.buildPartial();
+              }
+              typeCase_ = 1;
+              break;
             }
-            type_ =
-                input.readMessage(com.google.monitoring.v3.WindowsBasedSli.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.monitoring.v3.WindowsBasedSli) type_);
-              type_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.monitoring.v3.WindowsBasedSli.Builder subBuilder = null;
+              if (typeCase_ == 2) {
+                subBuilder = ((com.google.monitoring.v3.WindowsBasedSli) type_).toBuilder();
+              }
+              type_ =
+                  input.readMessage(
+                      com.google.monitoring.v3.WindowsBasedSli.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.monitoring.v3.WindowsBasedSli) type_);
+                type_ = subBuilder.buildPartial();
+              }
+              typeCase_ = 2;
+              break;
             }
-            typeCase_ = 2;
-            break;
-          }
-          case 34: {
-            com.google.monitoring.v3.BasicSli.Builder subBuilder = null;
-            if (typeCase_ == 4) {
-              subBuilder = ((com.google.monitoring.v3.BasicSli) type_).toBuilder();
+          case 34:
+            {
+              com.google.monitoring.v3.BasicSli.Builder subBuilder = null;
+              if (typeCase_ == 4) {
+                subBuilder = ((com.google.monitoring.v3.BasicSli) type_).toBuilder();
+              }
+              type_ =
+                  input.readMessage(com.google.monitoring.v3.BasicSli.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.monitoring.v3.BasicSli) type_);
+                type_ = subBuilder.buildPartial();
+              }
+              typeCase_ = 4;
+              break;
             }
-            type_ =
-                input.readMessage(com.google.monitoring.v3.BasicSli.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.monitoring.v3.BasicSli) type_);
-              type_ = subBuilder.buildPartial();
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            typeCase_ = 4;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
-            }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_ServiceLevelIndicator_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.monitoring.v3.ServiceMonitoringProto
+        .internal_static_google_monitoring_v3_ServiceLevelIndicator_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_ServiceLevelIndicator_fieldAccessorTable
+    return com.google.monitoring.v3.ServiceMonitoringProto
+        .internal_static_google_monitoring_v3_ServiceLevelIndicator_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.ServiceLevelIndicator.class, com.google.monitoring.v3.ServiceLevelIndicator.Builder.class);
+            com.google.monitoring.v3.ServiceLevelIndicator.class,
+            com.google.monitoring.v3.ServiceLevelIndicator.Builder.class);
   }
 
   private int typeCase_ = 0;
   private java.lang.Object type_;
+
   public enum TypeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     BASIC_SLI(4),
     REQUEST_BASED(1),
     WINDOWS_BASED(2),
     TYPE_NOT_SET(0);
     private final int value;
+
     private TypeCase(int value) {
       this.value = value;
     }
@@ -163,31 +189,38 @@ public static TypeCase valueOf(int value) {
 
     public static TypeCase forNumber(int value) {
       switch (value) {
-        case 4: return BASIC_SLI;
-        case 1: return REQUEST_BASED;
-        case 2: return WINDOWS_BASED;
-        case 0: return TYPE_NOT_SET;
-        default: return null;
+        case 4:
+          return BASIC_SLI;
+        case 1:
+          return REQUEST_BASED;
+        case 2:
+          return WINDOWS_BASED;
+        case 0:
+          return TYPE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TypeCase
-  getTypeCase() {
-    return TypeCase.forNumber(
-        typeCase_);
+  public TypeCase getTypeCase() {
+    return TypeCase.forNumber(typeCase_);
   }
 
   public static final int BASIC_SLI_FIELD_NUMBER = 4;
   /**
+   *
+   *
    * 
    * Basic SLI on a well-known service type.
    * 
* * .google.monitoring.v3.BasicSli basic_sli = 4; + * * @return Whether the basicSli field is set. */ @java.lang.Override @@ -195,21 +228,26 @@ public boolean hasBasicSli() { return typeCase_ == 4; } /** + * + * *
    * Basic SLI on a well-known service type.
    * 
* * .google.monitoring.v3.BasicSli basic_sli = 4; + * * @return The basicSli. */ @java.lang.Override public com.google.monitoring.v3.BasicSli getBasicSli() { if (typeCase_ == 4) { - return (com.google.monitoring.v3.BasicSli) type_; + return (com.google.monitoring.v3.BasicSli) type_; } return com.google.monitoring.v3.BasicSli.getDefaultInstance(); } /** + * + * *
    * Basic SLI on a well-known service type.
    * 
@@ -219,18 +257,21 @@ public com.google.monitoring.v3.BasicSli getBasicSli() { @java.lang.Override public com.google.monitoring.v3.BasicSliOrBuilder getBasicSliOrBuilder() { if (typeCase_ == 4) { - return (com.google.monitoring.v3.BasicSli) type_; + return (com.google.monitoring.v3.BasicSli) type_; } return com.google.monitoring.v3.BasicSli.getDefaultInstance(); } public static final int REQUEST_BASED_FIELD_NUMBER = 1; /** + * + * *
    * Request-based SLIs
    * 
* * .google.monitoring.v3.RequestBasedSli request_based = 1; + * * @return Whether the requestBased field is set. */ @java.lang.Override @@ -238,21 +279,26 @@ public boolean hasRequestBased() { return typeCase_ == 1; } /** + * + * *
    * Request-based SLIs
    * 
* * .google.monitoring.v3.RequestBasedSli request_based = 1; + * * @return The requestBased. */ @java.lang.Override public com.google.monitoring.v3.RequestBasedSli getRequestBased() { if (typeCase_ == 1) { - return (com.google.monitoring.v3.RequestBasedSli) type_; + return (com.google.monitoring.v3.RequestBasedSli) type_; } return com.google.monitoring.v3.RequestBasedSli.getDefaultInstance(); } /** + * + * *
    * Request-based SLIs
    * 
@@ -262,18 +308,21 @@ public com.google.monitoring.v3.RequestBasedSli getRequestBased() { @java.lang.Override public com.google.monitoring.v3.RequestBasedSliOrBuilder getRequestBasedOrBuilder() { if (typeCase_ == 1) { - return (com.google.monitoring.v3.RequestBasedSli) type_; + return (com.google.monitoring.v3.RequestBasedSli) type_; } return com.google.monitoring.v3.RequestBasedSli.getDefaultInstance(); } public static final int WINDOWS_BASED_FIELD_NUMBER = 2; /** + * + * *
    * Windows-based SLIs
    * 
* * .google.monitoring.v3.WindowsBasedSli windows_based = 2; + * * @return Whether the windowsBased field is set. */ @java.lang.Override @@ -281,21 +330,26 @@ public boolean hasWindowsBased() { return typeCase_ == 2; } /** + * + * *
    * Windows-based SLIs
    * 
* * .google.monitoring.v3.WindowsBasedSli windows_based = 2; + * * @return The windowsBased. */ @java.lang.Override public com.google.monitoring.v3.WindowsBasedSli getWindowsBased() { if (typeCase_ == 2) { - return (com.google.monitoring.v3.WindowsBasedSli) type_; + return (com.google.monitoring.v3.WindowsBasedSli) type_; } return com.google.monitoring.v3.WindowsBasedSli.getDefaultInstance(); } /** + * + * *
    * Windows-based SLIs
    * 
@@ -305,12 +359,13 @@ public com.google.monitoring.v3.WindowsBasedSli getWindowsBased() { @java.lang.Override public com.google.monitoring.v3.WindowsBasedSliOrBuilder getWindowsBasedOrBuilder() { if (typeCase_ == 2) { - return (com.google.monitoring.v3.WindowsBasedSli) type_; + return (com.google.monitoring.v3.WindowsBasedSli) type_; } return com.google.monitoring.v3.WindowsBasedSli.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -322,8 +377,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (typeCase_ == 1) { output.writeMessage(1, (com.google.monitoring.v3.RequestBasedSli) type_); } @@ -343,16 +397,19 @@ public int getSerializedSize() { size = 0; if (typeCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.monitoring.v3.RequestBasedSli) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.monitoring.v3.RequestBasedSli) type_); } if (typeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.monitoring.v3.WindowsBasedSli) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.monitoring.v3.WindowsBasedSli) type_); } if (typeCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.monitoring.v3.BasicSli) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.monitoring.v3.BasicSli) type_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -362,26 +419,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.ServiceLevelIndicator)) { return super.equals(obj); } - com.google.monitoring.v3.ServiceLevelIndicator other = (com.google.monitoring.v3.ServiceLevelIndicator) obj; + com.google.monitoring.v3.ServiceLevelIndicator other = + (com.google.monitoring.v3.ServiceLevelIndicator) obj; if (!getTypeCase().equals(other.getTypeCase())) return false; switch (typeCase_) { case 4: - if (!getBasicSli() - .equals(other.getBasicSli())) return false; + if (!getBasicSli().equals(other.getBasicSli())) return false; break; case 1: - if (!getRequestBased() - .equals(other.getRequestBased())) return false; + if (!getRequestBased().equals(other.getRequestBased())) return false; break; case 2: - if (!getWindowsBased() - .equals(other.getWindowsBased())) return false; + if (!getWindowsBased().equals(other.getWindowsBased())) return false; break; case 0: default: @@ -418,97 +473,104 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.ServiceLevelIndicator parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.ServiceLevelIndicator parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ServiceLevelIndicator parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ServiceLevelIndicator parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ServiceLevelIndicator parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ServiceLevelIndicator parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.ServiceLevelIndicator parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.ServiceLevelIndicator 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.monitoring.v3.ServiceLevelIndicator parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.ServiceLevelIndicator parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.ServiceLevelIndicator parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ServiceLevelIndicator parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.ServiceLevelIndicator parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.ServiceLevelIndicator parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.ServiceLevelIndicator prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 Service-Level Indicator (SLI) describes the "performance" of a service. For
    * some services, the SLI is well-defined. In such cases, the SLI can be
@@ -527,21 +589,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.monitoring.v3.ServiceLevelIndicator}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ServiceLevelIndicator)
       com.google.monitoring.v3.ServiceLevelIndicatorOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_ServiceLevelIndicator_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.monitoring.v3.ServiceMonitoringProto
+          .internal_static_google_monitoring_v3_ServiceLevelIndicator_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_ServiceLevelIndicator_fieldAccessorTable
+      return com.google.monitoring.v3.ServiceMonitoringProto
+          .internal_static_google_monitoring_v3_ServiceLevelIndicator_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.ServiceLevelIndicator.class, com.google.monitoring.v3.ServiceLevelIndicator.Builder.class);
+              com.google.monitoring.v3.ServiceLevelIndicator.class,
+              com.google.monitoring.v3.ServiceLevelIndicator.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.ServiceLevelIndicator.newBuilder()
@@ -549,16 +613,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -568,9 +631,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_ServiceLevelIndicator_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.monitoring.v3.ServiceMonitoringProto
+          .internal_static_google_monitoring_v3_ServiceLevelIndicator_descriptor;
     }
 
     @java.lang.Override
@@ -589,7 +652,8 @@ public com.google.monitoring.v3.ServiceLevelIndicator build() {
 
     @java.lang.Override
     public com.google.monitoring.v3.ServiceLevelIndicator buildPartial() {
-      com.google.monitoring.v3.ServiceLevelIndicator result = new com.google.monitoring.v3.ServiceLevelIndicator(this);
+      com.google.monitoring.v3.ServiceLevelIndicator result =
+          new com.google.monitoring.v3.ServiceLevelIndicator(this);
       if (typeCase_ == 4) {
         if (basicSliBuilder_ == null) {
           result.type_ = type_;
@@ -620,38 +684,39 @@ public com.google.monitoring.v3.ServiceLevelIndicator 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.monitoring.v3.ServiceLevelIndicator) {
-        return mergeFrom((com.google.monitoring.v3.ServiceLevelIndicator)other);
+        return mergeFrom((com.google.monitoring.v3.ServiceLevelIndicator) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -661,21 +726,25 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.monitoring.v3.ServiceLevelIndicator other) {
       if (other == com.google.monitoring.v3.ServiceLevelIndicator.getDefaultInstance()) return this;
       switch (other.getTypeCase()) {
-        case BASIC_SLI: {
-          mergeBasicSli(other.getBasicSli());
-          break;
-        }
-        case REQUEST_BASED: {
-          mergeRequestBased(other.getRequestBased());
-          break;
-        }
-        case WINDOWS_BASED: {
-          mergeWindowsBased(other.getWindowsBased());
-          break;
-        }
-        case TYPE_NOT_SET: {
-          break;
-        }
+        case BASIC_SLI:
+          {
+            mergeBasicSli(other.getBasicSli());
+            break;
+          }
+        case REQUEST_BASED:
+          {
+            mergeRequestBased(other.getRequestBased());
+            break;
+          }
+        case WINDOWS_BASED:
+          {
+            mergeWindowsBased(other.getWindowsBased());
+            break;
+          }
+        case TYPE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -705,12 +774,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int typeCase_ = 0;
     private java.lang.Object type_;
-    public TypeCase
-        getTypeCase() {
-      return TypeCase.forNumber(
-          typeCase_);
+
+    public TypeCase getTypeCase() {
+      return TypeCase.forNumber(typeCase_);
     }
 
     public Builder clearType() {
@@ -720,15 +789,20 @@ public Builder clearType() {
       return this;
     }
 
-
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.monitoring.v3.BasicSli, com.google.monitoring.v3.BasicSli.Builder, com.google.monitoring.v3.BasicSliOrBuilder> basicSliBuilder_;
+            com.google.monitoring.v3.BasicSli,
+            com.google.monitoring.v3.BasicSli.Builder,
+            com.google.monitoring.v3.BasicSliOrBuilder>
+        basicSliBuilder_;
     /**
+     *
+     *
      * 
      * Basic SLI on a well-known service type.
      * 
* * .google.monitoring.v3.BasicSli basic_sli = 4; + * * @return Whether the basicSli field is set. */ @java.lang.Override @@ -736,11 +810,14 @@ public boolean hasBasicSli() { return typeCase_ == 4; } /** + * + * *
      * Basic SLI on a well-known service type.
      * 
* * .google.monitoring.v3.BasicSli basic_sli = 4; + * * @return The basicSli. */ @java.lang.Override @@ -758,6 +835,8 @@ public com.google.monitoring.v3.BasicSli getBasicSli() { } } /** + * + * *
      * Basic SLI on a well-known service type.
      * 
@@ -778,14 +857,15 @@ public Builder setBasicSli(com.google.monitoring.v3.BasicSli value) { return this; } /** + * + * *
      * Basic SLI on a well-known service type.
      * 
* * .google.monitoring.v3.BasicSli basic_sli = 4; */ - public Builder setBasicSli( - com.google.monitoring.v3.BasicSli.Builder builderForValue) { + public Builder setBasicSli(com.google.monitoring.v3.BasicSli.Builder builderForValue) { if (basicSliBuilder_ == null) { type_ = builderForValue.build(); onChanged(); @@ -796,6 +876,8 @@ public Builder setBasicSli( return this; } /** + * + * *
      * Basic SLI on a well-known service type.
      * 
@@ -804,10 +886,12 @@ public Builder setBasicSli( */ public Builder mergeBasicSli(com.google.monitoring.v3.BasicSli value) { if (basicSliBuilder_ == null) { - if (typeCase_ == 4 && - type_ != com.google.monitoring.v3.BasicSli.getDefaultInstance()) { - type_ = com.google.monitoring.v3.BasicSli.newBuilder((com.google.monitoring.v3.BasicSli) type_) - .mergeFrom(value).buildPartial(); + if (typeCase_ == 4 && type_ != com.google.monitoring.v3.BasicSli.getDefaultInstance()) { + type_ = + com.google.monitoring.v3.BasicSli.newBuilder( + (com.google.monitoring.v3.BasicSli) type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -822,6 +906,8 @@ public Builder mergeBasicSli(com.google.monitoring.v3.BasicSli value) { return this; } /** + * + * *
      * Basic SLI on a well-known service type.
      * 
@@ -845,6 +931,8 @@ public Builder clearBasicSli() { return this; } /** + * + * *
      * Basic SLI on a well-known service type.
      * 
@@ -855,6 +943,8 @@ public com.google.monitoring.v3.BasicSli.Builder getBasicSliBuilder() { return getBasicSliFieldBuilder().getBuilder(); } /** + * + * *
      * Basic SLI on a well-known service type.
      * 
@@ -873,6 +963,8 @@ public com.google.monitoring.v3.BasicSliOrBuilder getBasicSliOrBuilder() { } } /** + * + * *
      * Basic SLI on a well-known service type.
      * 
@@ -880,32 +972,42 @@ public com.google.monitoring.v3.BasicSliOrBuilder getBasicSliOrBuilder() { * .google.monitoring.v3.BasicSli basic_sli = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.BasicSli, com.google.monitoring.v3.BasicSli.Builder, com.google.monitoring.v3.BasicSliOrBuilder> + com.google.monitoring.v3.BasicSli, + com.google.monitoring.v3.BasicSli.Builder, + com.google.monitoring.v3.BasicSliOrBuilder> getBasicSliFieldBuilder() { if (basicSliBuilder_ == null) { if (!(typeCase_ == 4)) { type_ = com.google.monitoring.v3.BasicSli.getDefaultInstance(); } - basicSliBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.BasicSli, com.google.monitoring.v3.BasicSli.Builder, com.google.monitoring.v3.BasicSliOrBuilder>( - (com.google.monitoring.v3.BasicSli) type_, - getParentForChildren(), - isClean()); + basicSliBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.BasicSli, + com.google.monitoring.v3.BasicSli.Builder, + com.google.monitoring.v3.BasicSliOrBuilder>( + (com.google.monitoring.v3.BasicSli) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 4; - onChanged();; + onChanged(); + ; return basicSliBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.RequestBasedSli, com.google.monitoring.v3.RequestBasedSli.Builder, com.google.monitoring.v3.RequestBasedSliOrBuilder> requestBasedBuilder_; + com.google.monitoring.v3.RequestBasedSli, + com.google.monitoring.v3.RequestBasedSli.Builder, + com.google.monitoring.v3.RequestBasedSliOrBuilder> + requestBasedBuilder_; /** + * + * *
      * Request-based SLIs
      * 
* * .google.monitoring.v3.RequestBasedSli request_based = 1; + * * @return Whether the requestBased field is set. */ @java.lang.Override @@ -913,11 +1015,14 @@ public boolean hasRequestBased() { return typeCase_ == 1; } /** + * + * *
      * Request-based SLIs
      * 
* * .google.monitoring.v3.RequestBasedSli request_based = 1; + * * @return The requestBased. */ @java.lang.Override @@ -935,6 +1040,8 @@ public com.google.monitoring.v3.RequestBasedSli getRequestBased() { } } /** + * + * *
      * Request-based SLIs
      * 
@@ -955,6 +1062,8 @@ public Builder setRequestBased(com.google.monitoring.v3.RequestBasedSli value) { return this; } /** + * + * *
      * Request-based SLIs
      * 
@@ -973,6 +1082,8 @@ public Builder setRequestBased( return this; } /** + * + * *
      * Request-based SLIs
      * 
@@ -981,10 +1092,13 @@ public Builder setRequestBased( */ public Builder mergeRequestBased(com.google.monitoring.v3.RequestBasedSli value) { if (requestBasedBuilder_ == null) { - if (typeCase_ == 1 && - type_ != com.google.monitoring.v3.RequestBasedSli.getDefaultInstance()) { - type_ = com.google.monitoring.v3.RequestBasedSli.newBuilder((com.google.monitoring.v3.RequestBasedSli) type_) - .mergeFrom(value).buildPartial(); + if (typeCase_ == 1 + && type_ != com.google.monitoring.v3.RequestBasedSli.getDefaultInstance()) { + type_ = + com.google.monitoring.v3.RequestBasedSli.newBuilder( + (com.google.monitoring.v3.RequestBasedSli) type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -999,6 +1113,8 @@ public Builder mergeRequestBased(com.google.monitoring.v3.RequestBasedSli value) return this; } /** + * + * *
      * Request-based SLIs
      * 
@@ -1022,6 +1138,8 @@ public Builder clearRequestBased() { return this; } /** + * + * *
      * Request-based SLIs
      * 
@@ -1032,6 +1150,8 @@ public com.google.monitoring.v3.RequestBasedSli.Builder getRequestBasedBuilder() return getRequestBasedFieldBuilder().getBuilder(); } /** + * + * *
      * Request-based SLIs
      * 
@@ -1050,6 +1170,8 @@ public com.google.monitoring.v3.RequestBasedSliOrBuilder getRequestBasedOrBuilde } } /** + * + * *
      * Request-based SLIs
      * 
@@ -1057,32 +1179,44 @@ public com.google.monitoring.v3.RequestBasedSliOrBuilder getRequestBasedOrBuilde * .google.monitoring.v3.RequestBasedSli request_based = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.RequestBasedSli, com.google.monitoring.v3.RequestBasedSli.Builder, com.google.monitoring.v3.RequestBasedSliOrBuilder> + com.google.monitoring.v3.RequestBasedSli, + com.google.monitoring.v3.RequestBasedSli.Builder, + com.google.monitoring.v3.RequestBasedSliOrBuilder> getRequestBasedFieldBuilder() { if (requestBasedBuilder_ == null) { if (!(typeCase_ == 1)) { type_ = com.google.monitoring.v3.RequestBasedSli.getDefaultInstance(); } - requestBasedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.RequestBasedSli, com.google.monitoring.v3.RequestBasedSli.Builder, com.google.monitoring.v3.RequestBasedSliOrBuilder>( + requestBasedBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.RequestBasedSli, + com.google.monitoring.v3.RequestBasedSli.Builder, + com.google.monitoring.v3.RequestBasedSliOrBuilder>( (com.google.monitoring.v3.RequestBasedSli) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 1; - onChanged();; + onChanged(); + ; return requestBasedBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.WindowsBasedSli, com.google.monitoring.v3.WindowsBasedSli.Builder, com.google.monitoring.v3.WindowsBasedSliOrBuilder> windowsBasedBuilder_; + com.google.monitoring.v3.WindowsBasedSli, + com.google.monitoring.v3.WindowsBasedSli.Builder, + com.google.monitoring.v3.WindowsBasedSliOrBuilder> + windowsBasedBuilder_; /** + * + * *
      * Windows-based SLIs
      * 
* * .google.monitoring.v3.WindowsBasedSli windows_based = 2; + * * @return Whether the windowsBased field is set. */ @java.lang.Override @@ -1090,11 +1224,14 @@ public boolean hasWindowsBased() { return typeCase_ == 2; } /** + * + * *
      * Windows-based SLIs
      * 
* * .google.monitoring.v3.WindowsBasedSli windows_based = 2; + * * @return The windowsBased. */ @java.lang.Override @@ -1112,6 +1249,8 @@ public com.google.monitoring.v3.WindowsBasedSli getWindowsBased() { } } /** + * + * *
      * Windows-based SLIs
      * 
@@ -1132,6 +1271,8 @@ public Builder setWindowsBased(com.google.monitoring.v3.WindowsBasedSli value) { return this; } /** + * + * *
      * Windows-based SLIs
      * 
@@ -1150,6 +1291,8 @@ public Builder setWindowsBased( return this; } /** + * + * *
      * Windows-based SLIs
      * 
@@ -1158,10 +1301,13 @@ public Builder setWindowsBased( */ public Builder mergeWindowsBased(com.google.monitoring.v3.WindowsBasedSli value) { if (windowsBasedBuilder_ == null) { - if (typeCase_ == 2 && - type_ != com.google.monitoring.v3.WindowsBasedSli.getDefaultInstance()) { - type_ = com.google.monitoring.v3.WindowsBasedSli.newBuilder((com.google.monitoring.v3.WindowsBasedSli) type_) - .mergeFrom(value).buildPartial(); + if (typeCase_ == 2 + && type_ != com.google.monitoring.v3.WindowsBasedSli.getDefaultInstance()) { + type_ = + com.google.monitoring.v3.WindowsBasedSli.newBuilder( + (com.google.monitoring.v3.WindowsBasedSli) type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -1176,6 +1322,8 @@ public Builder mergeWindowsBased(com.google.monitoring.v3.WindowsBasedSli value) return this; } /** + * + * *
      * Windows-based SLIs
      * 
@@ -1199,6 +1347,8 @@ public Builder clearWindowsBased() { return this; } /** + * + * *
      * Windows-based SLIs
      * 
@@ -1209,6 +1359,8 @@ public com.google.monitoring.v3.WindowsBasedSli.Builder getWindowsBasedBuilder() return getWindowsBasedFieldBuilder().getBuilder(); } /** + * + * *
      * Windows-based SLIs
      * 
@@ -1227,6 +1379,8 @@ public com.google.monitoring.v3.WindowsBasedSliOrBuilder getWindowsBasedOrBuilde } } /** + * + * *
      * Windows-based SLIs
      * 
@@ -1234,26 +1388,32 @@ public com.google.monitoring.v3.WindowsBasedSliOrBuilder getWindowsBasedOrBuilde * .google.monitoring.v3.WindowsBasedSli windows_based = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.WindowsBasedSli, com.google.monitoring.v3.WindowsBasedSli.Builder, com.google.monitoring.v3.WindowsBasedSliOrBuilder> + com.google.monitoring.v3.WindowsBasedSli, + com.google.monitoring.v3.WindowsBasedSli.Builder, + com.google.monitoring.v3.WindowsBasedSliOrBuilder> getWindowsBasedFieldBuilder() { if (windowsBasedBuilder_ == null) { if (!(typeCase_ == 2)) { type_ = com.google.monitoring.v3.WindowsBasedSli.getDefaultInstance(); } - windowsBasedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.WindowsBasedSli, com.google.monitoring.v3.WindowsBasedSli.Builder, com.google.monitoring.v3.WindowsBasedSliOrBuilder>( + windowsBasedBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.WindowsBasedSli, + com.google.monitoring.v3.WindowsBasedSli.Builder, + com.google.monitoring.v3.WindowsBasedSliOrBuilder>( (com.google.monitoring.v3.WindowsBasedSli) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 2; - onChanged();; + onChanged(); + ; return windowsBasedBuilder_; } + @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); } @@ -1263,12 +1423,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ServiceLevelIndicator) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.ServiceLevelIndicator) private static final com.google.monitoring.v3.ServiceLevelIndicator DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.ServiceLevelIndicator(); } @@ -1277,16 +1437,16 @@ public static com.google.monitoring.v3.ServiceLevelIndicator getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ServiceLevelIndicator parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ServiceLevelIndicator(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ServiceLevelIndicator parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ServiceLevelIndicator(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1301,6 +1461,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.ServiceLevelIndicator getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelIndicatorOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelIndicatorOrBuilder.java similarity index 75% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelIndicatorOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelIndicatorOrBuilder.java index a23eccd7..b9457590 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelIndicatorOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelIndicatorOrBuilder.java @@ -1,31 +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/monitoring/v3/service.proto package com.google.monitoring.v3; -public interface ServiceLevelIndicatorOrBuilder extends +public interface ServiceLevelIndicatorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ServiceLevelIndicator) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Basic SLI on a well-known service type.
    * 
* * .google.monitoring.v3.BasicSli basic_sli = 4; + * * @return Whether the basicSli field is set. */ boolean hasBasicSli(); /** + * + * *
    * Basic SLI on a well-known service type.
    * 
* * .google.monitoring.v3.BasicSli basic_sli = 4; + * * @return The basicSli. */ com.google.monitoring.v3.BasicSli getBasicSli(); /** + * + * *
    * Basic SLI on a well-known service type.
    * 
@@ -35,24 +59,32 @@ public interface ServiceLevelIndicatorOrBuilder extends com.google.monitoring.v3.BasicSliOrBuilder getBasicSliOrBuilder(); /** + * + * *
    * Request-based SLIs
    * 
* * .google.monitoring.v3.RequestBasedSli request_based = 1; + * * @return Whether the requestBased field is set. */ boolean hasRequestBased(); /** + * + * *
    * Request-based SLIs
    * 
* * .google.monitoring.v3.RequestBasedSli request_based = 1; + * * @return The requestBased. */ com.google.monitoring.v3.RequestBasedSli getRequestBased(); /** + * + * *
    * Request-based SLIs
    * 
@@ -62,24 +94,32 @@ public interface ServiceLevelIndicatorOrBuilder extends com.google.monitoring.v3.RequestBasedSliOrBuilder getRequestBasedOrBuilder(); /** + * + * *
    * Windows-based SLIs
    * 
* * .google.monitoring.v3.WindowsBasedSli windows_based = 2; + * * @return Whether the windowsBased field is set. */ boolean hasWindowsBased(); /** + * + * *
    * Windows-based SLIs
    * 
* * .google.monitoring.v3.WindowsBasedSli windows_based = 2; + * * @return The windowsBased. */ com.google.monitoring.v3.WindowsBasedSli getWindowsBased(); /** + * + * *
    * Windows-based SLIs
    * 
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjective.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjective.java similarity index 73% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjective.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjective.java index f263d790..2514d6c2 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjective.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjective.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/service.proto package com.google.monitoring.v3; /** + * + * *
  * A Service-Level Objective (SLO) describes a level of desired good service. It
  * consists of a service-level indicator (SLI), a performance goal, and a period
@@ -15,15 +32,16 @@
  *
  * Protobuf type {@code google.monitoring.v3.ServiceLevelObjective}
  */
-public final class ServiceLevelObjective extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ServiceLevelObjective extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.ServiceLevelObjective)
     ServiceLevelObjectiveOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ServiceLevelObjective.newBuilder() to construct.
   private ServiceLevelObjective(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ServiceLevelObjective() {
     name_ = "";
     displayName_ = "";
@@ -31,16 +49,15 @@ private ServiceLevelObjective() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ServiceLevelObjective();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ServiceLevelObjective(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -60,114 +77,125 @@ private ServiceLevelObjective(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 26: {
-            com.google.monitoring.v3.ServiceLevelIndicator.Builder subBuilder = null;
-            if (serviceLevelIndicator_ != null) {
-              subBuilder = serviceLevelIndicator_.toBuilder();
+              name_ = s;
+              break;
             }
-            serviceLevelIndicator_ = input.readMessage(com.google.monitoring.v3.ServiceLevelIndicator.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(serviceLevelIndicator_);
-              serviceLevelIndicator_ = subBuilder.buildPartial();
+          case 26:
+            {
+              com.google.monitoring.v3.ServiceLevelIndicator.Builder subBuilder = null;
+              if (serviceLevelIndicator_ != null) {
+                subBuilder = serviceLevelIndicator_.toBuilder();
+              }
+              serviceLevelIndicator_ =
+                  input.readMessage(
+                      com.google.monitoring.v3.ServiceLevelIndicator.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(serviceLevelIndicator_);
+                serviceLevelIndicator_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 33: {
-
-            goal_ = input.readDouble();
-            break;
-          }
-          case 42: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (periodCase_ == 5) {
-              subBuilder = ((com.google.protobuf.Duration) period_).toBuilder();
+          case 33:
+            {
+              goal_ = input.readDouble();
+              break;
             }
-            period_ =
-                input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.protobuf.Duration) period_);
-              period_ = subBuilder.buildPartial();
+          case 42:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (periodCase_ == 5) {
+                subBuilder = ((com.google.protobuf.Duration) period_).toBuilder();
+              }
+              period_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.protobuf.Duration) period_);
+                period_ = subBuilder.buildPartial();
+              }
+              periodCase_ = 5;
+              break;
             }
-            periodCase_ = 5;
-            break;
-          }
-          case 48: {
-            int rawValue = input.readEnum();
-            periodCase_ = 6;
-            period_ = rawValue;
-            break;
-          }
-          case 90: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 48:
+            {
+              int rawValue = input.readEnum();
+              periodCase_ = 6;
+              period_ = rawValue;
+              break;
+            }
+          case 90:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            displayName_ = s;
-            break;
-          }
-          case 98: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              userLabels_ = com.google.protobuf.MapField.newMapField(
-                  UserLabelsDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+              displayName_ = s;
+              break;
             }
-            com.google.protobuf.MapEntry
-            userLabels__ = input.readMessage(
-                UserLabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            userLabels_.getMutableMap().put(
-                userLabels__.getKey(), userLabels__.getValue());
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 98:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                userLabels_ =
+                    com.google.protobuf.MapField.newMapField(
+                        UserLabelsDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
+              }
+              com.google.protobuf.MapEntry userLabels__ =
+                  input.readMessage(
+                      UserLabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                      extensionRegistry);
+              userLabels_.getMutableMap().put(userLabels__.getKey(), userLabels__.getValue());
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_ServiceLevelObjective_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.monitoring.v3.ServiceMonitoringProto
+        .internal_static_google_monitoring_v3_ServiceLevelObjective_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 12:
         return internalGetUserLabels();
       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.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_ServiceLevelObjective_fieldAccessorTable
+    return com.google.monitoring.v3.ServiceMonitoringProto
+        .internal_static_google_monitoring_v3_ServiceLevelObjective_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.ServiceLevelObjective.class, com.google.monitoring.v3.ServiceLevelObjective.Builder.class);
+            com.google.monitoring.v3.ServiceLevelObjective.class,
+            com.google.monitoring.v3.ServiceLevelObjective.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * `ServiceLevelObjective.View` determines what form of
    * `ServiceLevelObjective` is returned from `GetServiceLevelObjective`,
@@ -176,9 +204,10 @@ protected com.google.protobuf.MapField internalGetMapField(
    *
    * Protobuf enum {@code google.monitoring.v3.ServiceLevelObjective.View}
    */
-  public enum View
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum View implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Same as FULL.
      * 
@@ -187,6 +216,8 @@ public enum View */ VIEW_UNSPECIFIED(0), /** + * + * *
      * Return the embedded `ServiceLevelIndicator` in the form in which it was
      * defined. If it was defined using a `BasicSli`, return that `BasicSli`.
@@ -196,6 +227,8 @@ public enum View
      */
     FULL(2),
     /**
+     *
+     *
      * 
      * For `ServiceLevelIndicator`s using `BasicSli` articulation, instead
      * return the `ServiceLevelIndicator` with its mode of computation fully
@@ -211,6 +244,8 @@ public enum View
     ;
 
     /**
+     *
+     *
      * 
      * Same as FULL.
      * 
@@ -219,6 +254,8 @@ public enum View */ public static final int VIEW_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Return the embedded `ServiceLevelIndicator` in the form in which it was
      * defined. If it was defined using a `BasicSli`, return that `BasicSli`.
@@ -228,6 +265,8 @@ public enum View
      */
     public static final int FULL_VALUE = 2;
     /**
+     *
+     *
      * 
      * For `ServiceLevelIndicator`s using `BasicSli` articulation, instead
      * return the `ServiceLevelIndicator` with its mode of computation fully
@@ -240,7 +279,6 @@ public enum View
      */
     public static final int EXPLICIT_VALUE = 1;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -265,49 +303,49 @@ public static View valueOf(int value) {
      */
     public static View forNumber(int value) {
       switch (value) {
-        case 0: return VIEW_UNSPECIFIED;
-        case 2: return FULL;
-        case 1: return EXPLICIT;
-        default: return null;
+        case 0:
+          return VIEW_UNSPECIFIED;
+        case 2:
+          return FULL;
+        case 1:
+          return EXPLICIT;
+        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<
-        View> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public View findValueByNumber(int number) {
-              return View.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public View findValueByNumber(int number) {
+            return View.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.monitoring.v3.ServiceLevelObjective.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final View[] VALUES = values();
 
-    public static View valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static View 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;
@@ -326,13 +364,16 @@ private View(int value) {
 
   private int periodCase_ = 0;
   private java.lang.Object period_;
+
   public enum PeriodCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     ROLLING_PERIOD(5),
     CALENDAR_PERIOD(6),
     PERIOD_NOT_SET(0);
     private final int value;
+
     private PeriodCase(int value) {
       this.value = value;
     }
@@ -348,32 +389,38 @@ public static PeriodCase valueOf(int value) {
 
     public static PeriodCase forNumber(int value) {
       switch (value) {
-        case 5: return ROLLING_PERIOD;
-        case 6: return CALENDAR_PERIOD;
-        case 0: return PERIOD_NOT_SET;
-        default: return null;
+        case 5:
+          return ROLLING_PERIOD;
+        case 6:
+          return CALENDAR_PERIOD;
+        case 0:
+          return PERIOD_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public PeriodCase
-  getPeriodCase() {
-    return PeriodCase.forNumber(
-        periodCase_);
+  public PeriodCase getPeriodCase() {
+    return PeriodCase.forNumber(periodCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Resource name for this `ServiceLevelObjective`. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -382,30 +429,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 for this `ServiceLevelObjective`. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
    * 
* * 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 { @@ -416,11 +463,14 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 11; private volatile java.lang.Object displayName_; /** + * + * *
    * Name used for UI elements listing this SLO.
    * 
* * string display_name = 11; + * * @return The displayName. */ @java.lang.Override @@ -429,29 +479,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Name used for UI elements listing this SLO.
    * 
* * string display_name = 11; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -462,6 +512,8 @@ public java.lang.String getDisplayName() { public static final int SERVICE_LEVEL_INDICATOR_FIELD_NUMBER = 3; private com.google.monitoring.v3.ServiceLevelIndicator serviceLevelIndicator_; /** + * + * *
    * The definition of good service, used to measure and calculate the quality
    * of the `Service`'s performance with respect to a single aspect of service
@@ -469,6 +521,7 @@ public java.lang.String getDisplayName() {
    * 
* * .google.monitoring.v3.ServiceLevelIndicator service_level_indicator = 3; + * * @return Whether the serviceLevelIndicator field is set. */ @java.lang.Override @@ -476,6 +529,8 @@ public boolean hasServiceLevelIndicator() { return serviceLevelIndicator_ != null; } /** + * + * *
    * The definition of good service, used to measure and calculate the quality
    * of the `Service`'s performance with respect to a single aspect of service
@@ -483,13 +538,18 @@ public boolean hasServiceLevelIndicator() {
    * 
* * .google.monitoring.v3.ServiceLevelIndicator service_level_indicator = 3; + * * @return The serviceLevelIndicator. */ @java.lang.Override public com.google.monitoring.v3.ServiceLevelIndicator getServiceLevelIndicator() { - return serviceLevelIndicator_ == null ? com.google.monitoring.v3.ServiceLevelIndicator.getDefaultInstance() : serviceLevelIndicator_; + return serviceLevelIndicator_ == null + ? com.google.monitoring.v3.ServiceLevelIndicator.getDefaultInstance() + : serviceLevelIndicator_; } /** + * + * *
    * The definition of good service, used to measure and calculate the quality
    * of the `Service`'s performance with respect to a single aspect of service
@@ -499,19 +559,23 @@ public com.google.monitoring.v3.ServiceLevelIndicator getServiceLevelIndicator()
    * .google.monitoring.v3.ServiceLevelIndicator service_level_indicator = 3;
    */
   @java.lang.Override
-  public com.google.monitoring.v3.ServiceLevelIndicatorOrBuilder getServiceLevelIndicatorOrBuilder() {
+  public com.google.monitoring.v3.ServiceLevelIndicatorOrBuilder
+      getServiceLevelIndicatorOrBuilder() {
     return getServiceLevelIndicator();
   }
 
   public static final int GOAL_FIELD_NUMBER = 4;
   private double goal_;
   /**
+   *
+   *
    * 
    * The fraction of service that must be good in order for this objective to be
    * met. `0 < goal <= 0.999`.
    * 
* * double goal = 4; + * * @return The goal. */ @java.lang.Override @@ -521,12 +585,15 @@ public double getGoal() { public static final int ROLLING_PERIOD_FIELD_NUMBER = 5; /** + * + * *
    * A rolling time period, semantically "in the past `<rolling_period>`".
    * Must be an integer multiple of 1 day no larger than 30 days.
    * 
* * .google.protobuf.Duration rolling_period = 5; + * * @return Whether the rollingPeriod field is set. */ @java.lang.Override @@ -534,22 +601,27 @@ public boolean hasRollingPeriod() { return periodCase_ == 5; } /** + * + * *
    * A rolling time period, semantically "in the past `<rolling_period>`".
    * Must be an integer multiple of 1 day no larger than 30 days.
    * 
* * .google.protobuf.Duration rolling_period = 5; + * * @return The rollingPeriod. */ @java.lang.Override public com.google.protobuf.Duration getRollingPeriod() { if (periodCase_ == 5) { - return (com.google.protobuf.Duration) period_; + return (com.google.protobuf.Duration) period_; } return com.google.protobuf.Duration.getDefaultInstance(); } /** + * + * *
    * A rolling time period, semantically "in the past `<rolling_period>`".
    * Must be an integer multiple of 1 day no larger than 30 days.
@@ -560,13 +632,15 @@ public com.google.protobuf.Duration getRollingPeriod() {
   @java.lang.Override
   public com.google.protobuf.DurationOrBuilder getRollingPeriodOrBuilder() {
     if (periodCase_ == 5) {
-       return (com.google.protobuf.Duration) period_;
+      return (com.google.protobuf.Duration) period_;
     }
     return com.google.protobuf.Duration.getDefaultInstance();
   }
 
   public static final int CALENDAR_PERIOD_FIELD_NUMBER = 6;
   /**
+   *
+   *
    * 
    * A calendar period, semantically "since the start of the current
    * `<calendar_period>`". At this time, only `DAY`, `WEEK`, `FORTNIGHT`, and
@@ -574,12 +648,15 @@ public com.google.protobuf.DurationOrBuilder getRollingPeriodOrBuilder() {
    * 
* * .google.type.CalendarPeriod calendar_period = 6; + * * @return Whether the calendarPeriod field is set. */ public boolean hasCalendarPeriod() { return periodCase_ == 6; } /** + * + * *
    * A calendar period, semantically "since the start of the current
    * `<calendar_period>`". At this time, only `DAY`, `WEEK`, `FORTNIGHT`, and
@@ -587,6 +664,7 @@ public boolean hasCalendarPeriod() {
    * 
* * .google.type.CalendarPeriod calendar_period = 6; + * * @return The enum numeric value on the wire for calendarPeriod. */ public int getCalendarPeriodValue() { @@ -596,6 +674,8 @@ public int getCalendarPeriodValue() { return 0; } /** + * + * *
    * A calendar period, semantically "since the start of the current
    * `<calendar_period>`". At this time, only `DAY`, `WEEK`, `FORTNIGHT`, and
@@ -603,37 +683,37 @@ public int getCalendarPeriodValue() {
    * 
* * .google.type.CalendarPeriod calendar_period = 6; + * * @return The calendarPeriod. */ public com.google.type.CalendarPeriod getCalendarPeriod() { if (periodCase_ == 6) { @SuppressWarnings("deprecation") - com.google.type.CalendarPeriod result = com.google.type.CalendarPeriod.valueOf( - (java.lang.Integer) period_); + com.google.type.CalendarPeriod result = + com.google.type.CalendarPeriod.valueOf((java.lang.Integer) period_); return result == null ? com.google.type.CalendarPeriod.UNRECOGNIZED : result; } return com.google.type.CalendarPeriod.CALENDAR_PERIOD_UNSPECIFIED; } public static final int USER_LABELS_FIELD_NUMBER = 12; + private static final class UserLabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_ServiceLevelObjective_UserLabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.monitoring.v3.ServiceMonitoringProto + .internal_static_google_monitoring_v3_ServiceLevelObjective_UserLabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> userLabels_; - private com.google.protobuf.MapField - internalGetUserLabels() { + + private com.google.protobuf.MapField userLabels_; + + private com.google.protobuf.MapField internalGetUserLabels() { if (userLabels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - UserLabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(UserLabelsDefaultEntryHolder.defaultEntry); } return userLabels_; } @@ -642,6 +722,8 @@ public int getUserLabelsCount() { return internalGetUserLabels().getMap().size(); } /** + * + * *
    * Labels which have been used to annotate the service-level objective. Label
    * keys must start with a letter. Label keys and values may contain lowercase
@@ -653,22 +735,22 @@ public int getUserLabelsCount() {
    *
    * map<string, string> user_labels = 12;
    */
-
   @java.lang.Override
-  public boolean containsUserLabels(
-      java.lang.String key) {
-    if (key == null) { throw new java.lang.NullPointerException(); }
+  public boolean containsUserLabels(java.lang.String key) {
+    if (key == null) {
+      throw new java.lang.NullPointerException();
+    }
     return internalGetUserLabels().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getUserLabelsMap()} instead.
-   */
+  /** Use {@link #getUserLabelsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getUserLabels() {
     return getUserLabelsMap();
   }
   /**
+   *
+   *
    * 
    * Labels which have been used to annotate the service-level objective. Label
    * keys must start with a letter. Label keys and values may contain lowercase
@@ -681,11 +763,12 @@ public java.util.Map getUserLabels() {
    * map<string, string> user_labels = 12;
    */
   @java.lang.Override
-
   public java.util.Map getUserLabelsMap() {
     return internalGetUserLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * Labels which have been used to annotate the service-level objective. Label
    * keys must start with a letter. Label keys and values may contain lowercase
@@ -698,16 +781,17 @@ public java.util.Map getUserLabelsMap() {
    * map<string, string> user_labels = 12;
    */
   @java.lang.Override
-
   public java.lang.String getUserLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new java.lang.NullPointerException(); }
-    java.util.Map map =
-        internalGetUserLabels().getMap();
+      java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new java.lang.NullPointerException();
+    }
+    java.util.Map map = internalGetUserLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Labels which have been used to annotate the service-level objective. Label
    * keys must start with a letter. Label keys and values may contain lowercase
@@ -720,12 +804,11 @@ public java.lang.String getUserLabelsOrDefault(
    * map<string, string> user_labels = 12;
    */
   @java.lang.Override
-
-  public java.lang.String getUserLabelsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new java.lang.NullPointerException(); }
-    java.util.Map map =
-        internalGetUserLabels().getMap();
+  public java.lang.String getUserLabelsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new java.lang.NullPointerException();
+    }
+    java.util.Map map = internalGetUserLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -733,6 +816,7 @@ public java.lang.String getUserLabelsOrThrow(
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -744,8 +828,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -764,12 +847,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 11, displayName_);
     }
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetUserLabels(),
-        UserLabelsDefaultEntryHolder.defaultEntry,
-        12);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetUserLabels(), UserLabelsDefaultEntryHolder.defaultEntry, 12);
     unknownFields.writeTo(output);
   }
 
@@ -783,33 +862,33 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (serviceLevelIndicator_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getServiceLevelIndicator());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(3, getServiceLevelIndicator());
     }
     if (goal_ != 0D) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeDoubleSize(4, goal_);
+      size += com.google.protobuf.CodedOutputStream.computeDoubleSize(4, goal_);
     }
     if (periodCase_ == 5) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, (com.google.protobuf.Duration) period_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              5, (com.google.protobuf.Duration) period_);
     }
     if (periodCase_ == 6) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(6, ((java.lang.Integer) period_));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeEnumSize(6, ((java.lang.Integer) period_));
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, displayName_);
     }
-    for (java.util.Map.Entry entry
-         : internalGetUserLabels().getMap().entrySet()) {
-      com.google.protobuf.MapEntry
-      userLabels__ = UserLabelsDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(12, userLabels__);
+    for (java.util.Map.Entry entry :
+        internalGetUserLabels().getMap().entrySet()) {
+      com.google.protobuf.MapEntry userLabels__ =
+          UserLabelsDefaultEntryHolder.defaultEntry
+              .newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, userLabels__);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -819,36 +898,30 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.monitoring.v3.ServiceLevelObjective)) {
       return super.equals(obj);
     }
-    com.google.monitoring.v3.ServiceLevelObjective other = (com.google.monitoring.v3.ServiceLevelObjective) obj;
+    com.google.monitoring.v3.ServiceLevelObjective other =
+        (com.google.monitoring.v3.ServiceLevelObjective) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (!getDisplayName()
-        .equals(other.getDisplayName())) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (!getDisplayName().equals(other.getDisplayName())) return false;
     if (hasServiceLevelIndicator() != other.hasServiceLevelIndicator()) return false;
     if (hasServiceLevelIndicator()) {
-      if (!getServiceLevelIndicator()
-          .equals(other.getServiceLevelIndicator())) return false;
+      if (!getServiceLevelIndicator().equals(other.getServiceLevelIndicator())) return false;
     }
     if (java.lang.Double.doubleToLongBits(getGoal())
-        != java.lang.Double.doubleToLongBits(
-            other.getGoal())) return false;
-    if (!internalGetUserLabels().equals(
-        other.internalGetUserLabels())) return false;
+        != java.lang.Double.doubleToLongBits(other.getGoal())) return false;
+    if (!internalGetUserLabels().equals(other.internalGetUserLabels())) return false;
     if (!getPeriodCase().equals(other.getPeriodCase())) return false;
     switch (periodCase_) {
       case 5:
-        if (!getRollingPeriod()
-            .equals(other.getRollingPeriod())) return false;
+        if (!getRollingPeriod().equals(other.getRollingPeriod())) return false;
         break;
       case 6:
-        if (getCalendarPeriodValue()
-            != other.getCalendarPeriodValue()) return false;
+        if (getCalendarPeriodValue() != other.getCalendarPeriodValue()) return false;
         break;
       case 0:
       default:
@@ -873,8 +946,9 @@ public int hashCode() {
       hash = (53 * hash) + getServiceLevelIndicator().hashCode();
     }
     hash = (37 * hash) + GOAL_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
-        java.lang.Double.doubleToLongBits(getGoal()));
+    hash =
+        (53 * hash)
+            + com.google.protobuf.Internal.hashLong(java.lang.Double.doubleToLongBits(getGoal()));
     if (!internalGetUserLabels().getMap().isEmpty()) {
       hash = (37 * hash) + USER_LABELS_FIELD_NUMBER;
       hash = (53 * hash) + internalGetUserLabels().hashCode();
@@ -896,97 +970,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.monitoring.v3.ServiceLevelObjective parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.monitoring.v3.ServiceLevelObjective parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.monitoring.v3.ServiceLevelObjective parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.monitoring.v3.ServiceLevelObjective parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.monitoring.v3.ServiceLevelObjective parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.monitoring.v3.ServiceLevelObjective parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.monitoring.v3.ServiceLevelObjective parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.monitoring.v3.ServiceLevelObjective 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.monitoring.v3.ServiceLevelObjective parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.monitoring.v3.ServiceLevelObjective parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.monitoring.v3.ServiceLevelObjective parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.monitoring.v3.ServiceLevelObjective parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.monitoring.v3.ServiceLevelObjective parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.monitoring.v3.ServiceLevelObjective parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.monitoring.v3.ServiceLevelObjective prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder 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 Service-Level Objective (SLO) describes a level of desired good service. It
    * consists of a service-level indicator (SLI), a performance goal, and a period
@@ -998,43 +1079,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.monitoring.v3.ServiceLevelObjective}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.ServiceLevelObjective)
       com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_ServiceLevelObjective_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.monitoring.v3.ServiceMonitoringProto
+          .internal_static_google_monitoring_v3_ServiceLevelObjective_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 12:
           return internalGetUserLabels();
         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 12:
           return internalGetMutableUserLabels();
         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.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_ServiceLevelObjective_fieldAccessorTable
+      return com.google.monitoring.v3.ServiceMonitoringProto
+          .internal_static_google_monitoring_v3_ServiceLevelObjective_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.ServiceLevelObjective.class, com.google.monitoring.v3.ServiceLevelObjective.Builder.class);
+              com.google.monitoring.v3.ServiceLevelObjective.class,
+              com.google.monitoring.v3.ServiceLevelObjective.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.ServiceLevelObjective.newBuilder()
@@ -1042,16 +1123,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1074,9 +1154,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_ServiceLevelObjective_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.monitoring.v3.ServiceMonitoringProto
+          .internal_static_google_monitoring_v3_ServiceLevelObjective_descriptor;
     }
 
     @java.lang.Override
@@ -1095,7 +1175,8 @@ public com.google.monitoring.v3.ServiceLevelObjective build() {
 
     @java.lang.Override
     public com.google.monitoring.v3.ServiceLevelObjective buildPartial() {
-      com.google.monitoring.v3.ServiceLevelObjective result = new com.google.monitoring.v3.ServiceLevelObjective(this);
+      com.google.monitoring.v3.ServiceLevelObjective result =
+          new com.google.monitoring.v3.ServiceLevelObjective(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.displayName_ = displayName_;
@@ -1126,38 +1207,39 @@ public com.google.monitoring.v3.ServiceLevelObjective 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.monitoring.v3.ServiceLevelObjective) {
-        return mergeFrom((com.google.monitoring.v3.ServiceLevelObjective)other);
+        return mergeFrom((com.google.monitoring.v3.ServiceLevelObjective) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1180,20 +1262,22 @@ public Builder mergeFrom(com.google.monitoring.v3.ServiceLevelObjective other) {
       if (other.getGoal() != 0D) {
         setGoal(other.getGoal());
       }
-      internalGetMutableUserLabels().mergeFrom(
-          other.internalGetUserLabels());
+      internalGetMutableUserLabels().mergeFrom(other.internalGetUserLabels());
       switch (other.getPeriodCase()) {
-        case ROLLING_PERIOD: {
-          mergeRollingPeriod(other.getRollingPeriod());
-          break;
-        }
-        case CALENDAR_PERIOD: {
-          setCalendarPeriodValue(other.getCalendarPeriodValue());
-          break;
-        }
-        case PERIOD_NOT_SET: {
-          break;
-        }
+        case ROLLING_PERIOD:
+          {
+            mergeRollingPeriod(other.getRollingPeriod());
+            break;
+          }
+        case CALENDAR_PERIOD:
+          {
+            setCalendarPeriodValue(other.getCalendarPeriodValue());
+            break;
+          }
+        case PERIOD_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1223,12 +1307,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int periodCase_ = 0;
     private java.lang.Object period_;
-    public PeriodCase
-        getPeriodCase() {
-      return PeriodCase.forNumber(
-          periodCase_);
+
+    public PeriodCase getPeriodCase() {
+      return PeriodCase.forNumber(periodCase_);
     }
 
     public Builder clearPeriod() {
@@ -1242,19 +1326,21 @@ public Builder clearPeriod() {
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Resource name for this `ServiceLevelObjective`. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
      * 
* * 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; @@ -1263,21 +1349,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name for this `ServiceLevelObjective`. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
      * 
* * 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 { @@ -1285,57 +1372,64 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name for this `ServiceLevelObjective`. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
      * 
* * 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 for this `ServiceLevelObjective`. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Resource name for this `ServiceLevelObjective`. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
      * 
* * 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; @@ -1343,18 +1437,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Name used for UI elements listing this SLO.
      * 
* * string display_name = 11; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1363,20 +1459,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Name used for UI elements listing this SLO.
      * 
* * string display_name = 11; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -1384,54 +1481,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Name used for UI elements listing this SLO.
      * 
* * string display_name = 11; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * Name used for UI elements listing this SLO.
      * 
* * string display_name = 11; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * Name used for UI elements listing this SLO.
      * 
* * string display_name = 11; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1439,8 +1543,13 @@ public Builder setDisplayNameBytes( private com.google.monitoring.v3.ServiceLevelIndicator serviceLevelIndicator_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.ServiceLevelIndicator, com.google.monitoring.v3.ServiceLevelIndicator.Builder, com.google.monitoring.v3.ServiceLevelIndicatorOrBuilder> serviceLevelIndicatorBuilder_; + com.google.monitoring.v3.ServiceLevelIndicator, + com.google.monitoring.v3.ServiceLevelIndicator.Builder, + com.google.monitoring.v3.ServiceLevelIndicatorOrBuilder> + serviceLevelIndicatorBuilder_; /** + * + * *
      * The definition of good service, used to measure and calculate the quality
      * of the `Service`'s performance with respect to a single aspect of service
@@ -1448,12 +1557,15 @@ public Builder setDisplayNameBytes(
      * 
* * .google.monitoring.v3.ServiceLevelIndicator service_level_indicator = 3; + * * @return Whether the serviceLevelIndicator field is set. */ public boolean hasServiceLevelIndicator() { return serviceLevelIndicatorBuilder_ != null || serviceLevelIndicator_ != null; } /** + * + * *
      * The definition of good service, used to measure and calculate the quality
      * of the `Service`'s performance with respect to a single aspect of service
@@ -1461,16 +1573,21 @@ public boolean hasServiceLevelIndicator() {
      * 
* * .google.monitoring.v3.ServiceLevelIndicator service_level_indicator = 3; + * * @return The serviceLevelIndicator. */ public com.google.monitoring.v3.ServiceLevelIndicator getServiceLevelIndicator() { if (serviceLevelIndicatorBuilder_ == null) { - return serviceLevelIndicator_ == null ? com.google.monitoring.v3.ServiceLevelIndicator.getDefaultInstance() : serviceLevelIndicator_; + return serviceLevelIndicator_ == null + ? com.google.monitoring.v3.ServiceLevelIndicator.getDefaultInstance() + : serviceLevelIndicator_; } else { return serviceLevelIndicatorBuilder_.getMessage(); } } /** + * + * *
      * The definition of good service, used to measure and calculate the quality
      * of the `Service`'s performance with respect to a single aspect of service
@@ -1493,6 +1610,8 @@ public Builder setServiceLevelIndicator(com.google.monitoring.v3.ServiceLevelInd
       return this;
     }
     /**
+     *
+     *
      * 
      * The definition of good service, used to measure and calculate the quality
      * of the `Service`'s performance with respect to a single aspect of service
@@ -1513,6 +1632,8 @@ public Builder setServiceLevelIndicator(
       return this;
     }
     /**
+     *
+     *
      * 
      * The definition of good service, used to measure and calculate the quality
      * of the `Service`'s performance with respect to a single aspect of service
@@ -1521,11 +1642,14 @@ public Builder setServiceLevelIndicator(
      *
      * .google.monitoring.v3.ServiceLevelIndicator service_level_indicator = 3;
      */
-    public Builder mergeServiceLevelIndicator(com.google.monitoring.v3.ServiceLevelIndicator value) {
+    public Builder mergeServiceLevelIndicator(
+        com.google.monitoring.v3.ServiceLevelIndicator value) {
       if (serviceLevelIndicatorBuilder_ == null) {
         if (serviceLevelIndicator_ != null) {
           serviceLevelIndicator_ =
-            com.google.monitoring.v3.ServiceLevelIndicator.newBuilder(serviceLevelIndicator_).mergeFrom(value).buildPartial();
+              com.google.monitoring.v3.ServiceLevelIndicator.newBuilder(serviceLevelIndicator_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           serviceLevelIndicator_ = value;
         }
@@ -1537,6 +1661,8 @@ public Builder mergeServiceLevelIndicator(com.google.monitoring.v3.ServiceLevelI
       return this;
     }
     /**
+     *
+     *
      * 
      * The definition of good service, used to measure and calculate the quality
      * of the `Service`'s performance with respect to a single aspect of service
@@ -1557,6 +1683,8 @@ public Builder clearServiceLevelIndicator() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The definition of good service, used to measure and calculate the quality
      * of the `Service`'s performance with respect to a single aspect of service
@@ -1565,12 +1693,15 @@ public Builder clearServiceLevelIndicator() {
      *
      * .google.monitoring.v3.ServiceLevelIndicator service_level_indicator = 3;
      */
-    public com.google.monitoring.v3.ServiceLevelIndicator.Builder getServiceLevelIndicatorBuilder() {
-      
+    public com.google.monitoring.v3.ServiceLevelIndicator.Builder
+        getServiceLevelIndicatorBuilder() {
+
       onChanged();
       return getServiceLevelIndicatorFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The definition of good service, used to measure and calculate the quality
      * of the `Service`'s performance with respect to a single aspect of service
@@ -1579,15 +1710,19 @@ public com.google.monitoring.v3.ServiceLevelIndicator.Builder getServiceLevelInd
      *
      * .google.monitoring.v3.ServiceLevelIndicator service_level_indicator = 3;
      */
-    public com.google.monitoring.v3.ServiceLevelIndicatorOrBuilder getServiceLevelIndicatorOrBuilder() {
+    public com.google.monitoring.v3.ServiceLevelIndicatorOrBuilder
+        getServiceLevelIndicatorOrBuilder() {
       if (serviceLevelIndicatorBuilder_ != null) {
         return serviceLevelIndicatorBuilder_.getMessageOrBuilder();
       } else {
-        return serviceLevelIndicator_ == null ?
-            com.google.monitoring.v3.ServiceLevelIndicator.getDefaultInstance() : serviceLevelIndicator_;
+        return serviceLevelIndicator_ == null
+            ? com.google.monitoring.v3.ServiceLevelIndicator.getDefaultInstance()
+            : serviceLevelIndicator_;
       }
     }
     /**
+     *
+     *
      * 
      * The definition of good service, used to measure and calculate the quality
      * of the `Service`'s performance with respect to a single aspect of service
@@ -1597,27 +1732,33 @@ public com.google.monitoring.v3.ServiceLevelIndicatorOrBuilder getServiceLevelIn
      * .google.monitoring.v3.ServiceLevelIndicator service_level_indicator = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.monitoring.v3.ServiceLevelIndicator, com.google.monitoring.v3.ServiceLevelIndicator.Builder, com.google.monitoring.v3.ServiceLevelIndicatorOrBuilder> 
+            com.google.monitoring.v3.ServiceLevelIndicator,
+            com.google.monitoring.v3.ServiceLevelIndicator.Builder,
+            com.google.monitoring.v3.ServiceLevelIndicatorOrBuilder>
         getServiceLevelIndicatorFieldBuilder() {
       if (serviceLevelIndicatorBuilder_ == null) {
-        serviceLevelIndicatorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.ServiceLevelIndicator, com.google.monitoring.v3.ServiceLevelIndicator.Builder, com.google.monitoring.v3.ServiceLevelIndicatorOrBuilder>(
-                getServiceLevelIndicator(),
-                getParentForChildren(),
-                isClean());
+        serviceLevelIndicatorBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.monitoring.v3.ServiceLevelIndicator,
+                com.google.monitoring.v3.ServiceLevelIndicator.Builder,
+                com.google.monitoring.v3.ServiceLevelIndicatorOrBuilder>(
+                getServiceLevelIndicator(), getParentForChildren(), isClean());
         serviceLevelIndicator_ = null;
       }
       return serviceLevelIndicatorBuilder_;
     }
 
-    private double goal_ ;
+    private double goal_;
     /**
+     *
+     *
      * 
      * The fraction of service that must be good in order for this objective to be
      * met. `0 < goal <= 0.999`.
      * 
* * double goal = 4; + * * @return The goal. */ @java.lang.Override @@ -1625,46 +1766,58 @@ public double getGoal() { return goal_; } /** + * + * *
      * The fraction of service that must be good in order for this objective to be
      * met. `0 < goal <= 0.999`.
      * 
* * double goal = 4; + * * @param value The goal to set. * @return This builder for chaining. */ public Builder setGoal(double value) { - + goal_ = value; onChanged(); return this; } /** + * + * *
      * The fraction of service that must be good in order for this objective to be
      * met. `0 < goal <= 0.999`.
      * 
* * double goal = 4; + * * @return This builder for chaining. */ public Builder clearGoal() { - + goal_ = 0D; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> rollingPeriodBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + rollingPeriodBuilder_; /** + * + * *
      * A rolling time period, semantically "in the past `<rolling_period>`".
      * Must be an integer multiple of 1 day no larger than 30 days.
      * 
* * .google.protobuf.Duration rolling_period = 5; + * * @return Whether the rollingPeriod field is set. */ @java.lang.Override @@ -1672,12 +1825,15 @@ public boolean hasRollingPeriod() { return periodCase_ == 5; } /** + * + * *
      * A rolling time period, semantically "in the past `<rolling_period>`".
      * Must be an integer multiple of 1 day no larger than 30 days.
      * 
* * .google.protobuf.Duration rolling_period = 5; + * * @return The rollingPeriod. */ @java.lang.Override @@ -1695,6 +1851,8 @@ public com.google.protobuf.Duration getRollingPeriod() { } } /** + * + * *
      * A rolling time period, semantically "in the past `<rolling_period>`".
      * Must be an integer multiple of 1 day no larger than 30 days.
@@ -1716,6 +1874,8 @@ public Builder setRollingPeriod(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A rolling time period, semantically "in the past `<rolling_period>`".
      * Must be an integer multiple of 1 day no larger than 30 days.
@@ -1723,8 +1883,7 @@ public Builder setRollingPeriod(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration rolling_period = 5;
      */
-    public Builder setRollingPeriod(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setRollingPeriod(com.google.protobuf.Duration.Builder builderForValue) {
       if (rollingPeriodBuilder_ == null) {
         period_ = builderForValue.build();
         onChanged();
@@ -1735,6 +1894,8 @@ public Builder setRollingPeriod(
       return this;
     }
     /**
+     *
+     *
      * 
      * A rolling time period, semantically "in the past `<rolling_period>`".
      * Must be an integer multiple of 1 day no larger than 30 days.
@@ -1744,10 +1905,11 @@ public Builder setRollingPeriod(
      */
     public Builder mergeRollingPeriod(com.google.protobuf.Duration value) {
       if (rollingPeriodBuilder_ == null) {
-        if (periodCase_ == 5 &&
-            period_ != com.google.protobuf.Duration.getDefaultInstance()) {
-          period_ = com.google.protobuf.Duration.newBuilder((com.google.protobuf.Duration) period_)
-              .mergeFrom(value).buildPartial();
+        if (periodCase_ == 5 && period_ != com.google.protobuf.Duration.getDefaultInstance()) {
+          period_ =
+              com.google.protobuf.Duration.newBuilder((com.google.protobuf.Duration) period_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           period_ = value;
         }
@@ -1762,6 +1924,8 @@ public Builder mergeRollingPeriod(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A rolling time period, semantically "in the past `<rolling_period>`".
      * Must be an integer multiple of 1 day no larger than 30 days.
@@ -1786,6 +1950,8 @@ public Builder clearRollingPeriod() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A rolling time period, semantically "in the past `<rolling_period>`".
      * Must be an integer multiple of 1 day no larger than 30 days.
@@ -1797,6 +1963,8 @@ public com.google.protobuf.Duration.Builder getRollingPeriodBuilder() {
       return getRollingPeriodFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A rolling time period, semantically "in the past `<rolling_period>`".
      * Must be an integer multiple of 1 day no larger than 30 days.
@@ -1816,6 +1984,8 @@ public com.google.protobuf.DurationOrBuilder getRollingPeriodOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * A rolling time period, semantically "in the past `<rolling_period>`".
      * Must be an integer multiple of 1 day no larger than 30 days.
@@ -1824,25 +1994,31 @@ public com.google.protobuf.DurationOrBuilder getRollingPeriodOrBuilder() {
      * .google.protobuf.Duration rolling_period = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getRollingPeriodFieldBuilder() {
       if (rollingPeriodBuilder_ == null) {
         if (!(periodCase_ == 5)) {
           period_ = com.google.protobuf.Duration.getDefaultInstance();
         }
-        rollingPeriodBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                (com.google.protobuf.Duration) period_,
-                getParentForChildren(),
-                isClean());
+        rollingPeriodBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                (com.google.protobuf.Duration) period_, getParentForChildren(), isClean());
         period_ = null;
       }
       periodCase_ = 5;
-      onChanged();;
+      onChanged();
+      ;
       return rollingPeriodBuilder_;
     }
 
     /**
+     *
+     *
      * 
      * A calendar period, semantically "since the start of the current
      * `<calendar_period>`". At this time, only `DAY`, `WEEK`, `FORTNIGHT`, and
@@ -1850,6 +2026,7 @@ public com.google.protobuf.DurationOrBuilder getRollingPeriodOrBuilder() {
      * 
* * .google.type.CalendarPeriod calendar_period = 6; + * * @return Whether the calendarPeriod field is set. */ @java.lang.Override @@ -1857,6 +2034,8 @@ public boolean hasCalendarPeriod() { return periodCase_ == 6; } /** + * + * *
      * A calendar period, semantically "since the start of the current
      * `<calendar_period>`". At this time, only `DAY`, `WEEK`, `FORTNIGHT`, and
@@ -1864,6 +2043,7 @@ public boolean hasCalendarPeriod() {
      * 
* * .google.type.CalendarPeriod calendar_period = 6; + * * @return The enum numeric value on the wire for calendarPeriod. */ @java.lang.Override @@ -1874,6 +2054,8 @@ public int getCalendarPeriodValue() { return 0; } /** + * + * *
      * A calendar period, semantically "since the start of the current
      * `<calendar_period>`". At this time, only `DAY`, `WEEK`, `FORTNIGHT`, and
@@ -1881,6 +2063,7 @@ public int getCalendarPeriodValue() {
      * 
* * .google.type.CalendarPeriod calendar_period = 6; + * * @param value The enum numeric value on the wire for calendarPeriod to set. * @return This builder for chaining. */ @@ -1891,6 +2074,8 @@ public Builder setCalendarPeriodValue(int value) { return this; } /** + * + * *
      * A calendar period, semantically "since the start of the current
      * `<calendar_period>`". At this time, only `DAY`, `WEEK`, `FORTNIGHT`, and
@@ -1898,19 +2083,22 @@ public Builder setCalendarPeriodValue(int value) {
      * 
* * .google.type.CalendarPeriod calendar_period = 6; + * * @return The calendarPeriod. */ @java.lang.Override public com.google.type.CalendarPeriod getCalendarPeriod() { if (periodCase_ == 6) { @SuppressWarnings("deprecation") - com.google.type.CalendarPeriod result = com.google.type.CalendarPeriod.valueOf( - (java.lang.Integer) period_); + com.google.type.CalendarPeriod result = + com.google.type.CalendarPeriod.valueOf((java.lang.Integer) period_); return result == null ? com.google.type.CalendarPeriod.UNRECOGNIZED : result; } return com.google.type.CalendarPeriod.CALENDAR_PERIOD_UNSPECIFIED; } /** + * + * *
      * A calendar period, semantically "since the start of the current
      * `<calendar_period>`". At this time, only `DAY`, `WEEK`, `FORTNIGHT`, and
@@ -1918,6 +2106,7 @@ public com.google.type.CalendarPeriod getCalendarPeriod() {
      * 
* * .google.type.CalendarPeriod calendar_period = 6; + * * @param value The calendarPeriod to set. * @return This builder for chaining. */ @@ -1931,6 +2120,8 @@ public Builder setCalendarPeriod(com.google.type.CalendarPeriod value) { return this; } /** + * + * *
      * A calendar period, semantically "since the start of the current
      * `<calendar_period>`". At this time, only `DAY`, `WEEK`, `FORTNIGHT`, and
@@ -1938,6 +2129,7 @@ public Builder setCalendarPeriod(com.google.type.CalendarPeriod value) {
      * 
* * .google.type.CalendarPeriod calendar_period = 6; + * * @return This builder for chaining. */ public Builder clearCalendarPeriod() { @@ -1949,22 +2141,24 @@ public Builder clearCalendarPeriod() { return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> userLabels_; + private com.google.protobuf.MapField userLabels_; + private com.google.protobuf.MapField - internalGetUserLabels() { + internalGetUserLabels() { if (userLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( UserLabelsDefaultEntryHolder.defaultEntry); } return userLabels_; } + private com.google.protobuf.MapField - internalGetMutableUserLabels() { - onChanged();; + internalGetMutableUserLabels() { + onChanged(); + ; if (userLabels_ == null) { - userLabels_ = com.google.protobuf.MapField.newMapField( - UserLabelsDefaultEntryHolder.defaultEntry); + userLabels_ = + com.google.protobuf.MapField.newMapField(UserLabelsDefaultEntryHolder.defaultEntry); } if (!userLabels_.isMutable()) { userLabels_ = userLabels_.copy(); @@ -1976,6 +2170,8 @@ public int getUserLabelsCount() { return internalGetUserLabels().getMap().size(); } /** + * + * *
      * Labels which have been used to annotate the service-level objective. Label
      * keys must start with a letter. Label keys and values may contain lowercase
@@ -1987,22 +2183,22 @@ public int getUserLabelsCount() {
      *
      * map<string, string> user_labels = 12;
      */
-
     @java.lang.Override
-    public boolean containsUserLabels(
-        java.lang.String key) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
+    public boolean containsUserLabels(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
       return internalGetUserLabels().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getUserLabelsMap()} instead.
-     */
+    /** Use {@link #getUserLabelsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getUserLabels() {
       return getUserLabelsMap();
     }
     /**
+     *
+     *
      * 
      * Labels which have been used to annotate the service-level objective. Label
      * keys must start with a letter. Label keys and values may contain lowercase
@@ -2015,11 +2211,12 @@ public java.util.Map getUserLabels() {
      * map<string, string> user_labels = 12;
      */
     @java.lang.Override
-
     public java.util.Map getUserLabelsMap() {
       return internalGetUserLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Labels which have been used to annotate the service-level objective. Label
      * keys must start with a letter. Label keys and values may contain lowercase
@@ -2032,16 +2229,17 @@ public java.util.Map getUserLabelsMap() {
      * map<string, string> user_labels = 12;
      */
     @java.lang.Override
-
     public java.lang.String getUserLabelsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      java.util.Map map =
-          internalGetUserLabels().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      java.util.Map map = internalGetUserLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Labels which have been used to annotate the service-level objective. Label
      * keys must start with a letter. Label keys and values may contain lowercase
@@ -2054,12 +2252,11 @@ public java.lang.String getUserLabelsOrDefault(
      * map<string, string> user_labels = 12;
      */
     @java.lang.Override
-
-    public java.lang.String getUserLabelsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      java.util.Map map =
-          internalGetUserLabels().getMap();
+    public java.lang.String getUserLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      java.util.Map map = internalGetUserLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -2067,11 +2264,12 @@ public java.lang.String getUserLabelsOrThrow(
     }
 
     public Builder clearUserLabels() {
-      internalGetMutableUserLabels().getMutableMap()
-          .clear();
+      internalGetMutableUserLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels which have been used to annotate the service-level objective. Label
      * keys must start with a letter. Label keys and values may contain lowercase
@@ -2083,23 +2281,21 @@ public Builder clearUserLabels() {
      *
      * map<string, string> user_labels = 12;
      */
-
-    public Builder removeUserLabels(
-        java.lang.String key) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      internalGetMutableUserLabels().getMutableMap()
-          .remove(key);
+    public Builder removeUserLabels(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      internalGetMutableUserLabels().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableUserLabels() {
+    public java.util.Map getMutableUserLabels() {
       return internalGetMutableUserLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Labels which have been used to annotate the service-level objective. Label
      * keys must start with a letter. Label keys and values may contain lowercase
@@ -2111,16 +2307,19 @@ public Builder removeUserLabels(
      *
      * map<string, string> user_labels = 12;
      */
-    public Builder putUserLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      if (value == null) { throw new java.lang.NullPointerException(); }
-      internalGetMutableUserLabels().getMutableMap()
-          .put(key, value);
+    public Builder putUserLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      if (value == null) {
+        throw new java.lang.NullPointerException();
+      }
+      internalGetMutableUserLabels().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels which have been used to annotate the service-level objective. Label
      * keys must start with a letter. Label keys and values may contain lowercase
@@ -2132,16 +2331,13 @@ public Builder putUserLabels(
      *
      * map<string, string> user_labels = 12;
      */
-
-    public Builder putAllUserLabels(
-        java.util.Map values) {
-      internalGetMutableUserLabels().getMutableMap()
-          .putAll(values);
+    public Builder putAllUserLabels(java.util.Map values) {
+      internalGetMutableUserLabels().getMutableMap().putAll(values);
       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);
     }
 
@@ -2151,12 +2347,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.monitoring.v3.ServiceLevelObjective)
   }
 
   // @@protoc_insertion_point(class_scope:google.monitoring.v3.ServiceLevelObjective)
   private static final com.google.monitoring.v3.ServiceLevelObjective DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.monitoring.v3.ServiceLevelObjective();
   }
@@ -2165,16 +2361,16 @@ public static com.google.monitoring.v3.ServiceLevelObjective getDefaultInstance(
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ServiceLevelObjective parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new ServiceLevelObjective(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ServiceLevelObjective parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new ServiceLevelObjective(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2189,6 +2385,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.monitoring.v3.ServiceLevelObjective getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjectiveName.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjectiveName.java
similarity index 100%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjectiveName.java
rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjectiveName.java
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjectiveOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjectiveOrBuilder.java
similarity index 84%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjectiveOrBuilder.java
rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjectiveOrBuilder.java
index 088b56e6..06529a73 100644
--- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjectiveOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceLevelObjectiveOrBuilder.java
@@ -1,55 +1,83 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/monitoring/v3/service.proto
 
 package com.google.monitoring.v3;
 
-public interface ServiceLevelObjectiveOrBuilder extends
+public interface ServiceLevelObjectiveOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.monitoring.v3.ServiceLevelObjective)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Resource name for this `ServiceLevelObjective`. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Resource name for this `ServiceLevelObjective`. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Name used for UI elements listing this SLO.
    * 
* * string display_name = 11; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Name used for UI elements listing this SLO.
    * 
* * string display_name = 11; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * The definition of good service, used to measure and calculate the quality
    * of the `Service`'s performance with respect to a single aspect of service
@@ -57,10 +85,13 @@ public interface ServiceLevelObjectiveOrBuilder extends
    * 
* * .google.monitoring.v3.ServiceLevelIndicator service_level_indicator = 3; + * * @return Whether the serviceLevelIndicator field is set. */ boolean hasServiceLevelIndicator(); /** + * + * *
    * The definition of good service, used to measure and calculate the quality
    * of the `Service`'s performance with respect to a single aspect of service
@@ -68,10 +99,13 @@ public interface ServiceLevelObjectiveOrBuilder extends
    * 
* * .google.monitoring.v3.ServiceLevelIndicator service_level_indicator = 3; + * * @return The serviceLevelIndicator. */ com.google.monitoring.v3.ServiceLevelIndicator getServiceLevelIndicator(); /** + * + * *
    * The definition of good service, used to measure and calculate the quality
    * of the `Service`'s performance with respect to a single aspect of service
@@ -83,37 +117,48 @@ public interface ServiceLevelObjectiveOrBuilder extends
   com.google.monitoring.v3.ServiceLevelIndicatorOrBuilder getServiceLevelIndicatorOrBuilder();
 
   /**
+   *
+   *
    * 
    * The fraction of service that must be good in order for this objective to be
    * met. `0 < goal <= 0.999`.
    * 
* * double goal = 4; + * * @return The goal. */ double getGoal(); /** + * + * *
    * A rolling time period, semantically "in the past `<rolling_period>`".
    * Must be an integer multiple of 1 day no larger than 30 days.
    * 
* * .google.protobuf.Duration rolling_period = 5; + * * @return Whether the rollingPeriod field is set. */ boolean hasRollingPeriod(); /** + * + * *
    * A rolling time period, semantically "in the past `<rolling_period>`".
    * Must be an integer multiple of 1 day no larger than 30 days.
    * 
* * .google.protobuf.Duration rolling_period = 5; + * * @return The rollingPeriod. */ com.google.protobuf.Duration getRollingPeriod(); /** + * + * *
    * A rolling time period, semantically "in the past `<rolling_period>`".
    * Must be an integer multiple of 1 day no larger than 30 days.
@@ -124,6 +169,8 @@ public interface ServiceLevelObjectiveOrBuilder extends
   com.google.protobuf.DurationOrBuilder getRollingPeriodOrBuilder();
 
   /**
+   *
+   *
    * 
    * A calendar period, semantically "since the start of the current
    * `<calendar_period>`". At this time, only `DAY`, `WEEK`, `FORTNIGHT`, and
@@ -131,10 +178,13 @@ public interface ServiceLevelObjectiveOrBuilder extends
    * 
* * .google.type.CalendarPeriod calendar_period = 6; + * * @return Whether the calendarPeriod field is set. */ boolean hasCalendarPeriod(); /** + * + * *
    * A calendar period, semantically "since the start of the current
    * `<calendar_period>`". At this time, only `DAY`, `WEEK`, `FORTNIGHT`, and
@@ -142,10 +192,13 @@ public interface ServiceLevelObjectiveOrBuilder extends
    * 
* * .google.type.CalendarPeriod calendar_period = 6; + * * @return The enum numeric value on the wire for calendarPeriod. */ int getCalendarPeriodValue(); /** + * + * *
    * A calendar period, semantically "since the start of the current
    * `<calendar_period>`". At this time, only `DAY`, `WEEK`, `FORTNIGHT`, and
@@ -153,11 +206,14 @@ public interface ServiceLevelObjectiveOrBuilder extends
    * 
* * .google.type.CalendarPeriod calendar_period = 6; + * * @return The calendarPeriod. */ com.google.type.CalendarPeriod getCalendarPeriod(); /** + * + * *
    * Labels which have been used to annotate the service-level objective. Label
    * keys must start with a letter. Label keys and values may contain lowercase
@@ -171,6 +227,8 @@ public interface ServiceLevelObjectiveOrBuilder extends
    */
   int getUserLabelsCount();
   /**
+   *
+   *
    * 
    * Labels which have been used to annotate the service-level objective. Label
    * keys must start with a letter. Label keys and values may contain lowercase
@@ -182,15 +240,13 @@ public interface ServiceLevelObjectiveOrBuilder extends
    *
    * map<string, string> user_labels = 12;
    */
-  boolean containsUserLabels(
-      java.lang.String key);
-  /**
-   * Use {@link #getUserLabelsMap()} instead.
-   */
+  boolean containsUserLabels(java.lang.String key);
+  /** Use {@link #getUserLabelsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getUserLabels();
+  java.util.Map getUserLabels();
   /**
+   *
+   *
    * 
    * Labels which have been used to annotate the service-level objective. Label
    * keys must start with a letter. Label keys and values may contain lowercase
@@ -202,9 +258,10 @@ boolean containsUserLabels(
    *
    * map<string, string> user_labels = 12;
    */
-  java.util.Map
-  getUserLabelsMap();
+  java.util.Map getUserLabelsMap();
   /**
+   *
+   *
    * 
    * Labels which have been used to annotate the service-level objective. Label
    * keys must start with a letter. Label keys and values may contain lowercase
@@ -216,11 +273,10 @@ boolean containsUserLabels(
    *
    * map<string, string> user_labels = 12;
    */
-
-  java.lang.String getUserLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue);
+  java.lang.String getUserLabelsOrDefault(java.lang.String key, java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Labels which have been used to annotate the service-level objective. Label
    * keys must start with a letter. Label keys and values may contain lowercase
@@ -232,9 +288,7 @@ java.lang.String getUserLabelsOrDefault(
    *
    * map<string, string> user_labels = 12;
    */
-
-  java.lang.String getUserLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getUserLabelsOrThrow(java.lang.String key);
 
   public com.google.monitoring.v3.ServiceLevelObjective.PeriodCase getPeriodCase();
 }
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringProto.java
new file mode 100644
index 00000000..8f343760
--- /dev/null
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringProto.java
@@ -0,0 +1,448 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/monitoring/v3/service.proto
+
+package com.google.monitoring.v3;
+
+public final class ServiceMonitoringProto {
+  private ServiceMonitoringProto() {}
+
+  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_monitoring_v3_Service_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_Service_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_Service_Custom_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_Service_Custom_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_Service_AppEngine_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_Service_AppEngine_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_Service_CloudEndpoints_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_Service_CloudEndpoints_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_Service_ClusterIstio_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_Service_ClusterIstio_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_Service_MeshIstio_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_Service_MeshIstio_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_Service_IstioCanonicalService_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_Service_IstioCanonicalService_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_Service_Telemetry_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_Service_Telemetry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_Service_UserLabelsEntry_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_Service_UserLabelsEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_ServiceLevelObjective_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_ServiceLevelObjective_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_ServiceLevelObjective_UserLabelsEntry_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_ServiceLevelObjective_UserLabelsEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_ServiceLevelIndicator_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_ServiceLevelIndicator_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_BasicSli_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_BasicSli_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_BasicSli_AvailabilityCriteria_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_BasicSli_AvailabilityCriteria_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_BasicSli_LatencyCriteria_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_BasicSli_LatencyCriteria_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_Range_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_Range_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_RequestBasedSli_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_RequestBasedSli_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_TimeSeriesRatio_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_TimeSeriesRatio_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_DistributionCut_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_DistributionCut_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_WindowsBasedSli_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_WindowsBasedSli_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_WindowsBasedSli_PerformanceThreshold_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_WindowsBasedSli_PerformanceThreshold_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_WindowsBasedSli_MetricRange_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_WindowsBasedSli_MetricRange_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/monitoring/v3/service.proto\022\024go"
+          + "ogle.monitoring.v3\032\037google/api/field_beh"
+          + "avior.proto\032\031google/api/resource.proto\032\036"
+          + "google/protobuf/duration.proto\032\037google/p"
+          + "rotobuf/timestamp.proto\032!google/type/cal"
+          + "endar_period.proto\"\311\t\n\007Service\022\014\n\004name\030\001"
+          + " \001(\t\022\024\n\014display_name\030\002 \001(\t\0226\n\006custom\030\006 \001"
+          + "(\0132$.google.monitoring.v3.Service.Custom"
+          + "H\000\022=\n\napp_engine\030\007 \001(\0132\'.google.monitori"
+          + "ng.v3.Service.AppEngineH\000\022G\n\017cloud_endpo"
+          + "ints\030\010 \001(\0132,.google.monitoring.v3.Servic"
+          + "e.CloudEndpointsH\000\022C\n\rcluster_istio\030\t \001("
+          + "\0132*.google.monitoring.v3.Service.Cluster"
+          + "IstioH\000\022=\n\nmesh_istio\030\n \001(\0132\'.google.mon"
+          + "itoring.v3.Service.MeshIstioH\000\022V\n\027istio_"
+          + "canonical_service\030\013 \001(\01323.google.monitor"
+          + "ing.v3.Service.IstioCanonicalServiceH\000\022:"
+          + "\n\ttelemetry\030\r \001(\0132\'.google.monitoring.v3"
+          + ".Service.Telemetry\022B\n\013user_labels\030\016 \003(\0132"
+          + "-.google.monitoring.v3.Service.UserLabel"
+          + "sEntry\032\010\n\006Custom\032\036\n\tAppEngine\022\021\n\tmodule_"
+          + "id\030\001 \001(\t\032!\n\016CloudEndpoints\022\017\n\007service\030\001 "
+          + "\001(\t\032g\n\014ClusterIstio\022\020\n\010location\030\001 \001(\t\022\024\n"
+          + "\014cluster_name\030\002 \001(\t\022\031\n\021service_namespace"
+          + "\030\003 \001(\t\022\024\n\014service_name\030\004 \001(\t\032N\n\tMeshIsti"
+          + "o\022\020\n\010mesh_uid\030\001 \001(\t\022\031\n\021service_namespace"
+          + "\030\003 \001(\t\022\024\n\014service_name\030\004 \001(\t\032i\n\025IstioCan"
+          + "onicalService\022\020\n\010mesh_uid\030\001 \001(\t\022#\n\033canon"
+          + "ical_service_namespace\030\003 \001(\t\022\031\n\021canonica"
+          + "l_service\030\004 \001(\t\032\"\n\tTelemetry\022\025\n\rresource"
+          + "_name\030\001 \001(\t\0321\n\017UserLabelsEntry\022\013\n\003key\030\001 "
+          + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\247\001\352A\243\001\n!monitorin"
+          + "g.googleapis.com/Service\022%projects/{proj"
+          + "ect}/services/{service}\022/organizations/{"
+          + "organization}/services/{service}\022#folder"
+          + "s/{folder}/services/{service}\022\001*B\014\n\niden"
+          + "tifier\"\226\006\n\025ServiceLevelObjective\022\014\n\004name"
+          + "\030\001 \001(\t\022\024\n\014display_name\030\013 \001(\t\022L\n\027service_"
+          + "level_indicator\030\003 \001(\0132+.google.monitorin"
+          + "g.v3.ServiceLevelIndicator\022\014\n\004goal\030\004 \001(\001"
+          + "\0223\n\016rolling_period\030\005 \001(\0132\031.google.protob"
+          + "uf.DurationH\000\0226\n\017calendar_period\030\006 \001(\0162\033"
+          + ".google.type.CalendarPeriodH\000\022P\n\013user_la"
+          + "bels\030\014 \003(\0132;.google.monitoring.v3.Servic"
+          + "eLevelObjective.UserLabelsEntry\0321\n\017UserL"
+          + "abelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002"
+          + "8\001\"4\n\004View\022\024\n\020VIEW_UNSPECIFIED\020\000\022\010\n\004FULL"
+          + "\020\002\022\014\n\010EXPLICIT\020\001:\312\002\352A\306\002\n/monitoring.goog"
+          + "leapis.com/ServiceLevelObjective\022Vprojec"
+          + "ts/{project}/services/{service}/serviceL"
+          + "evelObjectives/{service_level_objective}"
+          + "\022`organizations/{organization}/services/"
+          + "{service}/serviceLevelObjectives/{servic"
+          + "e_level_objective}\022Tfolders/{folder}/ser"
+          + "vices/{service}/serviceLevelObjectives/{"
+          + "service_level_objective}\022\001* \001B\010\n\006period\""
+          + "\324\001\n\025ServiceLevelIndicator\0223\n\tbasic_sli\030\004"
+          + " \001(\0132\036.google.monitoring.v3.BasicSliH\000\022>"
+          + "\n\rrequest_based\030\001 \001(\0132%.google.monitorin"
+          + "g.v3.RequestBasedSliH\000\022>\n\rwindows_based\030"
+          + "\002 \001(\0132%.google.monitoring.v3.WindowsBase"
+          + "dSliH\000B\006\n\004type\"\266\002\n\010BasicSli\022\016\n\006method\030\007 "
+          + "\003(\t\022\020\n\010location\030\010 \003(\t\022\017\n\007version\030\t \003(\t\022K"
+          + "\n\014availability\030\002 \001(\01323.google.monitoring"
+          + ".v3.BasicSli.AvailabilityCriteriaH\000\022A\n\007l"
+          + "atency\030\003 \001(\0132..google.monitoring.v3.Basi"
+          + "cSli.LatencyCriteriaH\000\032\026\n\024AvailabilityCr"
+          + "iteria\032?\n\017LatencyCriteria\022,\n\tthreshold\030\003"
+          + " \001(\0132\031.google.protobuf.DurationB\016\n\014sli_c"
+          + "riteria\"!\n\005Range\022\013\n\003min\030\001 \001(\001\022\013\n\003max\030\002 \001"
+          + "(\001\"\241\001\n\017RequestBasedSli\022A\n\020good_total_rat"
+          + "io\030\001 \001(\0132%.google.monitoring.v3.TimeSeri"
+          + "esRatioH\000\022A\n\020distribution_cut\030\003 \001(\0132%.go"
+          + "ogle.monitoring.v3.DistributionCutH\000B\010\n\006"
+          + "method\"h\n\017TimeSeriesRatio\022\033\n\023good_servic"
+          + "e_filter\030\004 \001(\t\022\032\n\022bad_service_filter\030\005 \001"
+          + "(\t\022\034\n\024total_service_filter\030\006 \001(\t\"Z\n\017Dist"
+          + "ributionCut\022\033\n\023distribution_filter\030\004 \001(\t"
+          + "\022*\n\005range\030\005 \001(\0132\033.google.monitoring.v3.R"
+          + "ange\"\203\005\n\017WindowsBasedSli\022 \n\026good_bad_met"
+          + "ric_filter\030\005 \001(\tH\000\022`\n\032good_total_ratio_t"
+          + "hreshold\030\002 \001(\0132:.google.monitoring.v3.Wi"
+          + "ndowsBasedSli.PerformanceThresholdH\000\022Q\n\024"
+          + "metric_mean_in_range\030\006 \001(\01321.google.moni"
+          + "toring.v3.WindowsBasedSli.MetricRangeH\000\022"
+          + "P\n\023metric_sum_in_range\030\007 \001(\01321.google.mo"
+          + "nitoring.v3.WindowsBasedSli.MetricRangeH"
+          + "\000\0220\n\rwindow_period\030\004 \001(\0132\031.google.protob"
+          + "uf.Duration\032\260\001\n\024PerformanceThreshold\022<\n\013"
+          + "performance\030\001 \001(\0132%.google.monitoring.v3"
+          + ".RequestBasedSliH\000\022?\n\025basic_sli_performa"
+          + "nce\030\003 \001(\0132\036.google.monitoring.v3.BasicSl"
+          + "iH\000\022\021\n\tthreshold\030\002 \001(\001B\006\n\004type\032N\n\013Metric"
+          + "Range\022\023\n\013time_series\030\001 \001(\t\022*\n\005range\030\004 \001("
+          + "\0132\033.google.monitoring.v3.RangeB\022\n\020window"
+          + "_criterionB\316\001\n\030com.google.monitoring.v3B"
+          + "\026ServiceMonitoringProtoP\001Z>google.golang"
+          + ".org/genproto/googleapis/monitoring/v3;m"
+          + "onitoring\252\002\032Google.Cloud.Monitoring.V3\312\002"
+          + "\032Google\\Cloud\\Monitoring\\V3\352\002\035Google::Cl"
+          + "oud::Monitoring::V3b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.FieldBehaviorProto.getDescriptor(),
+              com.google.api.ResourceProto.getDescriptor(),
+              com.google.protobuf.DurationProto.getDescriptor(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+              com.google.type.CalendarPeriodProto.getDescriptor(),
+            });
+    internal_static_google_monitoring_v3_Service_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_monitoring_v3_Service_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_Service_descriptor,
+            new java.lang.String[] {
+              "Name",
+              "DisplayName",
+              "Custom",
+              "AppEngine",
+              "CloudEndpoints",
+              "ClusterIstio",
+              "MeshIstio",
+              "IstioCanonicalService",
+              "Telemetry",
+              "UserLabels",
+              "Identifier",
+            });
+    internal_static_google_monitoring_v3_Service_Custom_descriptor =
+        internal_static_google_monitoring_v3_Service_descriptor.getNestedTypes().get(0);
+    internal_static_google_monitoring_v3_Service_Custom_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_Service_Custom_descriptor,
+            new java.lang.String[] {});
+    internal_static_google_monitoring_v3_Service_AppEngine_descriptor =
+        internal_static_google_monitoring_v3_Service_descriptor.getNestedTypes().get(1);
+    internal_static_google_monitoring_v3_Service_AppEngine_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_Service_AppEngine_descriptor,
+            new java.lang.String[] {
+              "ModuleId",
+            });
+    internal_static_google_monitoring_v3_Service_CloudEndpoints_descriptor =
+        internal_static_google_monitoring_v3_Service_descriptor.getNestedTypes().get(2);
+    internal_static_google_monitoring_v3_Service_CloudEndpoints_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_Service_CloudEndpoints_descriptor,
+            new java.lang.String[] {
+              "Service",
+            });
+    internal_static_google_monitoring_v3_Service_ClusterIstio_descriptor =
+        internal_static_google_monitoring_v3_Service_descriptor.getNestedTypes().get(3);
+    internal_static_google_monitoring_v3_Service_ClusterIstio_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_Service_ClusterIstio_descriptor,
+            new java.lang.String[] {
+              "Location", "ClusterName", "ServiceNamespace", "ServiceName",
+            });
+    internal_static_google_monitoring_v3_Service_MeshIstio_descriptor =
+        internal_static_google_monitoring_v3_Service_descriptor.getNestedTypes().get(4);
+    internal_static_google_monitoring_v3_Service_MeshIstio_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_Service_MeshIstio_descriptor,
+            new java.lang.String[] {
+              "MeshUid", "ServiceNamespace", "ServiceName",
+            });
+    internal_static_google_monitoring_v3_Service_IstioCanonicalService_descriptor =
+        internal_static_google_monitoring_v3_Service_descriptor.getNestedTypes().get(5);
+    internal_static_google_monitoring_v3_Service_IstioCanonicalService_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_Service_IstioCanonicalService_descriptor,
+            new java.lang.String[] {
+              "MeshUid", "CanonicalServiceNamespace", "CanonicalService",
+            });
+    internal_static_google_monitoring_v3_Service_Telemetry_descriptor =
+        internal_static_google_monitoring_v3_Service_descriptor.getNestedTypes().get(6);
+    internal_static_google_monitoring_v3_Service_Telemetry_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_Service_Telemetry_descriptor,
+            new java.lang.String[] {
+              "ResourceName",
+            });
+    internal_static_google_monitoring_v3_Service_UserLabelsEntry_descriptor =
+        internal_static_google_monitoring_v3_Service_descriptor.getNestedTypes().get(7);
+    internal_static_google_monitoring_v3_Service_UserLabelsEntry_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_Service_UserLabelsEntry_descriptor,
+            new java.lang.String[] {
+              "Key", "Value",
+            });
+    internal_static_google_monitoring_v3_ServiceLevelObjective_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_monitoring_v3_ServiceLevelObjective_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_ServiceLevelObjective_descriptor,
+            new java.lang.String[] {
+              "Name",
+              "DisplayName",
+              "ServiceLevelIndicator",
+              "Goal",
+              "RollingPeriod",
+              "CalendarPeriod",
+              "UserLabels",
+              "Period",
+            });
+    internal_static_google_monitoring_v3_ServiceLevelObjective_UserLabelsEntry_descriptor =
+        internal_static_google_monitoring_v3_ServiceLevelObjective_descriptor
+            .getNestedTypes()
+            .get(0);
+    internal_static_google_monitoring_v3_ServiceLevelObjective_UserLabelsEntry_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_ServiceLevelObjective_UserLabelsEntry_descriptor,
+            new java.lang.String[] {
+              "Key", "Value",
+            });
+    internal_static_google_monitoring_v3_ServiceLevelIndicator_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_monitoring_v3_ServiceLevelIndicator_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_ServiceLevelIndicator_descriptor,
+            new java.lang.String[] {
+              "BasicSli", "RequestBased", "WindowsBased", "Type",
+            });
+    internal_static_google_monitoring_v3_BasicSli_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_monitoring_v3_BasicSli_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_BasicSli_descriptor,
+            new java.lang.String[] {
+              "Method", "Location", "Version", "Availability", "Latency", "SliCriteria",
+            });
+    internal_static_google_monitoring_v3_BasicSli_AvailabilityCriteria_descriptor =
+        internal_static_google_monitoring_v3_BasicSli_descriptor.getNestedTypes().get(0);
+    internal_static_google_monitoring_v3_BasicSli_AvailabilityCriteria_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_BasicSli_AvailabilityCriteria_descriptor,
+            new java.lang.String[] {});
+    internal_static_google_monitoring_v3_BasicSli_LatencyCriteria_descriptor =
+        internal_static_google_monitoring_v3_BasicSli_descriptor.getNestedTypes().get(1);
+    internal_static_google_monitoring_v3_BasicSli_LatencyCriteria_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_BasicSli_LatencyCriteria_descriptor,
+            new java.lang.String[] {
+              "Threshold",
+            });
+    internal_static_google_monitoring_v3_Range_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_monitoring_v3_Range_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_Range_descriptor,
+            new java.lang.String[] {
+              "Min", "Max",
+            });
+    internal_static_google_monitoring_v3_RequestBasedSli_descriptor =
+        getDescriptor().getMessageTypes().get(5);
+    internal_static_google_monitoring_v3_RequestBasedSli_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_RequestBasedSli_descriptor,
+            new java.lang.String[] {
+              "GoodTotalRatio", "DistributionCut", "Method",
+            });
+    internal_static_google_monitoring_v3_TimeSeriesRatio_descriptor =
+        getDescriptor().getMessageTypes().get(6);
+    internal_static_google_monitoring_v3_TimeSeriesRatio_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_TimeSeriesRatio_descriptor,
+            new java.lang.String[] {
+              "GoodServiceFilter", "BadServiceFilter", "TotalServiceFilter",
+            });
+    internal_static_google_monitoring_v3_DistributionCut_descriptor =
+        getDescriptor().getMessageTypes().get(7);
+    internal_static_google_monitoring_v3_DistributionCut_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_DistributionCut_descriptor,
+            new java.lang.String[] {
+              "DistributionFilter", "Range",
+            });
+    internal_static_google_monitoring_v3_WindowsBasedSli_descriptor =
+        getDescriptor().getMessageTypes().get(8);
+    internal_static_google_monitoring_v3_WindowsBasedSli_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_WindowsBasedSli_descriptor,
+            new java.lang.String[] {
+              "GoodBadMetricFilter",
+              "GoodTotalRatioThreshold",
+              "MetricMeanInRange",
+              "MetricSumInRange",
+              "WindowPeriod",
+              "WindowCriterion",
+            });
+    internal_static_google_monitoring_v3_WindowsBasedSli_PerformanceThreshold_descriptor =
+        internal_static_google_monitoring_v3_WindowsBasedSli_descriptor.getNestedTypes().get(0);
+    internal_static_google_monitoring_v3_WindowsBasedSli_PerformanceThreshold_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_WindowsBasedSli_PerformanceThreshold_descriptor,
+            new java.lang.String[] {
+              "Performance", "BasicSliPerformance", "Threshold", "Type",
+            });
+    internal_static_google_monitoring_v3_WindowsBasedSli_MetricRange_descriptor =
+        internal_static_google_monitoring_v3_WindowsBasedSli_descriptor.getNestedTypes().get(1);
+    internal_static_google_monitoring_v3_WindowsBasedSli_MetricRange_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_WindowsBasedSli_MetricRange_descriptor,
+            new java.lang.String[] {
+              "TimeSeries", "Range",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ResourceProto.resource);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.protobuf.DurationProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+    com.google.type.CalendarPeriodProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringServiceProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringServiceProto.java
new file mode 100644
index 00000000..0228f04f
--- /dev/null
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceMonitoringServiceProto.java
@@ -0,0 +1,322 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/monitoring/v3/service_service.proto
+
+package com.google.monitoring.v3;
+
+public final class ServiceMonitoringServiceProto {
+  private ServiceMonitoringServiceProto() {}
+
+  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_monitoring_v3_CreateServiceRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_CreateServiceRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_GetServiceRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_GetServiceRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_ListServicesRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_ListServicesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_ListServicesResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_ListServicesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_UpdateServiceRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_UpdateServiceRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_DeleteServiceRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_DeleteServiceRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_CreateServiceLevelObjectiveRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_CreateServiceLevelObjectiveRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_GetServiceLevelObjectiveRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_GetServiceLevelObjectiveRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_ListServiceLevelObjectivesRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_ListServiceLevelObjectivesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_ListServiceLevelObjectivesResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_ListServiceLevelObjectivesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_UpdateServiceLevelObjectiveRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_UpdateServiceLevelObjectiveRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_DeleteServiceLevelObjectiveRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_DeleteServiceLevelObjectiveRequest_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/monitoring/v3/service_service.p"
+          + "roto\022\024google.monitoring.v3\032\034google/api/a"
+          + "nnotations.proto\032\027google/api/client.prot"
+          + "o\032\037google/api/field_behavior.proto\032\031goog"
+          + "le/api/resource.proto\032\"google/monitoring"
+          + "/v3/service.proto\032\033google/protobuf/empty"
+          + ".proto\032 google/protobuf/field_mask.proto"
+          + "\"\232\001\n\024CreateServiceRequest\0229\n\006parent\030\001 \001("
+          + "\tB)\340A\002\372A#\022!monitoring.googleapis.com/Ser"
+          + "vice\022\022\n\nservice_id\030\003 \001(\t\0223\n\007service\030\002 \001("
+          + "\0132\035.google.monitoring.v3.ServiceB\003\340A\002\"L\n"
+          + "\021GetServiceRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#"
+          + "\n!monitoring.googleapis.com/Service\"\207\001\n\023"
+          + "ListServicesRequest\0229\n\006parent\030\001 \001(\tB)\340A\002"
+          + "\372A#\022!monitoring.googleapis.com/Service\022\016"
+          + "\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npag"
+          + "e_token\030\004 \001(\t\"`\n\024ListServicesResponse\022/\n"
+          + "\010services\030\001 \003(\0132\035.google.monitoring.v3.S"
+          + "ervice\022\027\n\017next_page_token\030\002 \001(\t\"|\n\024Updat"
+          + "eServiceRequest\0223\n\007service\030\001 \001(\0132\035.googl"
+          + "e.monitoring.v3.ServiceB\003\340A\002\022/\n\013update_m"
+          + "ask\030\002 \001(\0132\032.google.protobuf.FieldMask\"O\n"
+          + "\024DeleteServiceRequest\0227\n\004name\030\001 \001(\tB)\340A\002"
+          + "\372A#\n!monitoring.googleapis.com/Service\"\326"
+          + "\001\n\"CreateServiceLevelObjectiveRequest\0229\n"
+          + "\006parent\030\001 \001(\tB)\340A\002\372A#\n!monitoring.google"
+          + "apis.com/Service\022\"\n\032service_level_object"
+          + "ive_id\030\003 \001(\t\022Q\n\027service_level_objective\030"
+          + "\002 \001(\0132+.google.monitoring.v3.ServiceLeve"
+          + "lObjectiveB\003\340A\002\"\250\001\n\037GetServiceLevelObjec"
+          + "tiveRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/monit"
+          + "oring.googleapis.com/ServiceLevelObjecti"
+          + "ve\022>\n\004view\030\002 \001(\01620.google.monitoring.v3."
+          + "ServiceLevelObjective.View\"\325\001\n!ListServi"
+          + "ceLevelObjectivesRequest\0229\n\006parent\030\001 \001(\t"
+          + "B)\340A\002\372A#\n!monitoring.googleapis.com/Serv"
+          + "ice\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022"
+          + "\n\npage_token\030\004 \001(\t\022>\n\004view\030\005 \001(\01620.googl"
+          + "e.monitoring.v3.ServiceLevelObjective.Vi"
+          + "ew\"\214\001\n\"ListServiceLevelObjectivesRespons"
+          + "e\022M\n\030service_level_objectives\030\001 \003(\0132+.go"
+          + "ogle.monitoring.v3.ServiceLevelObjective"
+          + "\022\027\n\017next_page_token\030\002 \001(\t\"\250\001\n\"UpdateServ"
+          + "iceLevelObjectiveRequest\022Q\n\027service_leve"
+          + "l_objective\030\001 \001(\0132+.google.monitoring.v3"
+          + ".ServiceLevelObjectiveB\003\340A\002\022/\n\013update_ma"
+          + "sk\030\002 \001(\0132\032.google.protobuf.FieldMask\"k\n\""
+          + "DeleteServiceLevelObjectiveRequest\022E\n\004na"
+          + "me\030\001 \001(\tB7\340A\002\372A1\n/monitoring.googleapis."
+          + "com/ServiceLevelObjective2\352\017\n\030ServiceMon"
+          + "itoringService\022\227\001\n\rCreateService\022*.googl"
+          + "e.monitoring.v3.CreateServiceRequest\032\035.g"
+          + "oogle.monitoring.v3.Service\";\202\323\344\223\002$\"\031/v3"
+          + "/{parent=*/*}/services:\007service\332A\016parent"
+          + ",service\022~\n\nGetService\022\'.google.monitori"
+          + "ng.v3.GetServiceRequest\032\035.google.monitor"
+          + "ing.v3.Service\"(\202\323\344\223\002\033\022\031/v3/{name=*/*/se"
+          + "rvices/*}\332A\004name\022\221\001\n\014ListServices\022).goog"
+          + "le.monitoring.v3.ListServicesRequest\032*.g"
+          + "oogle.monitoring.v3.ListServicesResponse"
+          + "\"*\202\323\344\223\002\033\022\031/v3/{parent=*/*}/services\332A\006pa"
+          + "rent\022\230\001\n\rUpdateService\022*.google.monitori"
+          + "ng.v3.UpdateServiceRequest\032\035.google.moni"
+          + "toring.v3.Service\"<\202\323\344\223\002,2!/v3/{service."
+          + "name=*/*/services/*}:\007service\332A\007service\022"
+          + "}\n\rDeleteService\022*.google.monitoring.v3."
+          + "DeleteServiceRequest\032\026.google.protobuf.E"
+          + "mpty\"(\202\323\344\223\002\033*\031/v3/{name=*/*/services/*}\332"
+          + "A\004name\022\372\001\n\033CreateServiceLevelObjective\0228"
+          + ".google.monitoring.v3.CreateServiceLevel"
+          + "ObjectiveRequest\032+.google.monitoring.v3."
+          + "ServiceLevelObjective\"t\202\323\344\223\002M\"2/v3/{pare"
+          + "nt=*/*/services/*}/serviceLevelObjective"
+          + "s:\027service_level_objective\332A\036parent,serv"
+          + "ice_level_objective\022\301\001\n\030GetServiceLevelO"
+          + "bjective\0225.google.monitoring.v3.GetServi"
+          + "ceLevelObjectiveRequest\032+.google.monitor"
+          + "ing.v3.ServiceLevelObjective\"A\202\323\344\223\0024\0222/v"
+          + "3/{name=*/*/services/*/serviceLevelObjec"
+          + "tives/*}\332A\004name\022\324\001\n\032ListServiceLevelObje"
+          + "ctives\0227.google.monitoring.v3.ListServic"
+          + "eLevelObjectivesRequest\0328.google.monitor"
+          + "ing.v3.ListServiceLevelObjectivesRespons"
+          + "e\"C\202\323\344\223\0024\0222/v3/{parent=*/*/services/*}/s"
+          + "erviceLevelObjectives\332A\006parent\022\214\002\n\033Updat"
+          + "eServiceLevelObjective\0228.google.monitori"
+          + "ng.v3.UpdateServiceLevelObjectiveRequest"
+          + "\032+.google.monitoring.v3.ServiceLevelObje"
+          + "ctive\"\205\001\202\323\344\223\002e2J/v3/{service_level_objec"
+          + "tive.name=*/*/services/*/serviceLevelObj"
+          + "ectives/*}:\027service_level_objective\332A\027se"
+          + "rvice_level_objective\022\262\001\n\033DeleteServiceL"
+          + "evelObjective\0228.google.monitoring.v3.Del"
+          + "eteServiceLevelObjectiveRequest\032\026.google"
+          + ".protobuf.Empty\"A\202\323\344\223\0024*2/v3/{name=*/*/s"
+          + "ervices/*/serviceLevelObjectives/*}\332A\004na"
+          + "me\032\251\001\312A\031monitoring.googleapis.com\322A\211\001htt"
+          + "ps://www.googleapis.com/auth/cloud-platf"
+          + "orm,https://www.googleapis.com/auth/moni"
+          + "toring,https://www.googleapis.com/auth/m"
+          + "onitoring.readB\325\001\n\030com.google.monitoring"
+          + ".v3B\035ServiceMonitoringServiceProtoP\001Z>go"
+          + "ogle.golang.org/genproto/googleapis/moni"
+          + "toring/v3;monitoring\252\002\032Google.Cloud.Moni"
+          + "toring.V3\312\002\032Google\\Cloud\\Monitoring\\V3\352\002"
+          + "\035Google::Cloud::Monitoring::V3b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.AnnotationsProto.getDescriptor(),
+              com.google.api.ClientProto.getDescriptor(),
+              com.google.api.FieldBehaviorProto.getDescriptor(),
+              com.google.api.ResourceProto.getDescriptor(),
+              com.google.monitoring.v3.ServiceMonitoringProto.getDescriptor(),
+              com.google.protobuf.EmptyProto.getDescriptor(),
+              com.google.protobuf.FieldMaskProto.getDescriptor(),
+            });
+    internal_static_google_monitoring_v3_CreateServiceRequest_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_monitoring_v3_CreateServiceRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_CreateServiceRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "ServiceId", "Service",
+            });
+    internal_static_google_monitoring_v3_GetServiceRequest_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_monitoring_v3_GetServiceRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_GetServiceRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_monitoring_v3_ListServicesRequest_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_monitoring_v3_ListServicesRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_ListServicesRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "Filter", "PageSize", "PageToken",
+            });
+    internal_static_google_monitoring_v3_ListServicesResponse_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_monitoring_v3_ListServicesResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_ListServicesResponse_descriptor,
+            new java.lang.String[] {
+              "Services", "NextPageToken",
+            });
+    internal_static_google_monitoring_v3_UpdateServiceRequest_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_monitoring_v3_UpdateServiceRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_UpdateServiceRequest_descriptor,
+            new java.lang.String[] {
+              "Service", "UpdateMask",
+            });
+    internal_static_google_monitoring_v3_DeleteServiceRequest_descriptor =
+        getDescriptor().getMessageTypes().get(5);
+    internal_static_google_monitoring_v3_DeleteServiceRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_DeleteServiceRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_monitoring_v3_CreateServiceLevelObjectiveRequest_descriptor =
+        getDescriptor().getMessageTypes().get(6);
+    internal_static_google_monitoring_v3_CreateServiceLevelObjectiveRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_CreateServiceLevelObjectiveRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "ServiceLevelObjectiveId", "ServiceLevelObjective",
+            });
+    internal_static_google_monitoring_v3_GetServiceLevelObjectiveRequest_descriptor =
+        getDescriptor().getMessageTypes().get(7);
+    internal_static_google_monitoring_v3_GetServiceLevelObjectiveRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_GetServiceLevelObjectiveRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "View",
+            });
+    internal_static_google_monitoring_v3_ListServiceLevelObjectivesRequest_descriptor =
+        getDescriptor().getMessageTypes().get(8);
+    internal_static_google_monitoring_v3_ListServiceLevelObjectivesRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_ListServiceLevelObjectivesRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "Filter", "PageSize", "PageToken", "View",
+            });
+    internal_static_google_monitoring_v3_ListServiceLevelObjectivesResponse_descriptor =
+        getDescriptor().getMessageTypes().get(9);
+    internal_static_google_monitoring_v3_ListServiceLevelObjectivesResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_ListServiceLevelObjectivesResponse_descriptor,
+            new java.lang.String[] {
+              "ServiceLevelObjectives", "NextPageToken",
+            });
+    internal_static_google_monitoring_v3_UpdateServiceLevelObjectiveRequest_descriptor =
+        getDescriptor().getMessageTypes().get(10);
+    internal_static_google_monitoring_v3_UpdateServiceLevelObjectiveRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_UpdateServiceLevelObjectiveRequest_descriptor,
+            new java.lang.String[] {
+              "ServiceLevelObjective", "UpdateMask",
+            });
+    internal_static_google_monitoring_v3_DeleteServiceLevelObjectiveRequest_descriptor =
+        getDescriptor().getMessageTypes().get(11);
+    internal_static_google_monitoring_v3_DeleteServiceLevelObjectiveRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_DeleteServiceLevelObjectiveRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.methodSignature);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    registry.add(com.google.api.ResourceProto.resourceReference);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.ClientProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.monitoring.v3.ServiceMonitoringProto.getDescriptor();
+    com.google.protobuf.EmptyProto.getDescriptor();
+    com.google.protobuf.FieldMaskProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceName.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceName.java
similarity index 100%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceName.java
rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceName.java
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceOrBuilder.java
similarity index 85%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceOrBuilder.java
rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceOrBuilder.java
index 887c9b5d..5362c0a9 100644
--- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceOrBuilder.java
@@ -1,73 +1,107 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/monitoring/v3/service.proto
 
 package com.google.monitoring.v3;
 
-public interface ServiceOrBuilder extends
+public interface ServiceOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.monitoring.v3.Service)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Resource name for this Service. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Resource name for this Service. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Name used for UI elements listing this Service.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Name used for UI elements listing this Service.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Custom service type.
    * 
* * .google.monitoring.v3.Service.Custom custom = 6; + * * @return Whether the custom field is set. */ boolean hasCustom(); /** + * + * *
    * Custom service type.
    * 
* * .google.monitoring.v3.Service.Custom custom = 6; + * * @return The custom. */ com.google.monitoring.v3.Service.Custom getCustom(); /** + * + * *
    * Custom service type.
    * 
@@ -77,24 +111,32 @@ public interface ServiceOrBuilder extends com.google.monitoring.v3.Service.CustomOrBuilder getCustomOrBuilder(); /** + * + * *
    * Type used for App Engine services.
    * 
* * .google.monitoring.v3.Service.AppEngine app_engine = 7; + * * @return Whether the appEngine field is set. */ boolean hasAppEngine(); /** + * + * *
    * Type used for App Engine services.
    * 
* * .google.monitoring.v3.Service.AppEngine app_engine = 7; + * * @return The appEngine. */ com.google.monitoring.v3.Service.AppEngine getAppEngine(); /** + * + * *
    * Type used for App Engine services.
    * 
@@ -104,24 +146,32 @@ public interface ServiceOrBuilder extends com.google.monitoring.v3.Service.AppEngineOrBuilder getAppEngineOrBuilder(); /** + * + * *
    * Type used for Cloud Endpoints services.
    * 
* * .google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8; + * * @return Whether the cloudEndpoints field is set. */ boolean hasCloudEndpoints(); /** + * + * *
    * Type used for Cloud Endpoints services.
    * 
* * .google.monitoring.v3.Service.CloudEndpoints cloud_endpoints = 8; + * * @return The cloudEndpoints. */ com.google.monitoring.v3.Service.CloudEndpoints getCloudEndpoints(); /** + * + * *
    * Type used for Cloud Endpoints services.
    * 
@@ -131,24 +181,32 @@ public interface ServiceOrBuilder extends com.google.monitoring.v3.Service.CloudEndpointsOrBuilder getCloudEndpointsOrBuilder(); /** + * + * *
    * Type used for Istio services that live in a Kubernetes cluster.
    * 
* * .google.monitoring.v3.Service.ClusterIstio cluster_istio = 9; + * * @return Whether the clusterIstio field is set. */ boolean hasClusterIstio(); /** + * + * *
    * Type used for Istio services that live in a Kubernetes cluster.
    * 
* * .google.monitoring.v3.Service.ClusterIstio cluster_istio = 9; + * * @return The clusterIstio. */ com.google.monitoring.v3.Service.ClusterIstio getClusterIstio(); /** + * + * *
    * Type used for Istio services that live in a Kubernetes cluster.
    * 
@@ -158,24 +216,32 @@ public interface ServiceOrBuilder extends com.google.monitoring.v3.Service.ClusterIstioOrBuilder getClusterIstioOrBuilder(); /** + * + * *
    * Type used for Istio services scoped to an Istio mesh.
    * 
* * .google.monitoring.v3.Service.MeshIstio mesh_istio = 10; + * * @return Whether the meshIstio field is set. */ boolean hasMeshIstio(); /** + * + * *
    * Type used for Istio services scoped to an Istio mesh.
    * 
* * .google.monitoring.v3.Service.MeshIstio mesh_istio = 10; + * * @return The meshIstio. */ com.google.monitoring.v3.Service.MeshIstio getMeshIstio(); /** + * + * *
    * Type used for Istio services scoped to an Istio mesh.
    * 
@@ -185,6 +251,8 @@ public interface ServiceOrBuilder extends com.google.monitoring.v3.Service.MeshIstioOrBuilder getMeshIstioOrBuilder(); /** + * + * *
    * Type used for canonical services scoped to an Istio mesh.
    * Metrics for Istio are
@@ -192,10 +260,13 @@ public interface ServiceOrBuilder extends
    * 
* * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; + * * @return Whether the istioCanonicalService field is set. */ boolean hasIstioCanonicalService(); /** + * + * *
    * Type used for canonical services scoped to an Istio mesh.
    * Metrics for Istio are
@@ -203,10 +274,13 @@ public interface ServiceOrBuilder extends
    * 
* * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11; + * * @return The istioCanonicalService. */ com.google.monitoring.v3.Service.IstioCanonicalService getIstioCanonicalService(); /** + * + * *
    * Type used for canonical services scoped to an Istio mesh.
    * Metrics for Istio are
@@ -215,27 +289,36 @@ public interface ServiceOrBuilder extends
    *
    * .google.monitoring.v3.Service.IstioCanonicalService istio_canonical_service = 11;
    */
-  com.google.monitoring.v3.Service.IstioCanonicalServiceOrBuilder getIstioCanonicalServiceOrBuilder();
+  com.google.monitoring.v3.Service.IstioCanonicalServiceOrBuilder
+      getIstioCanonicalServiceOrBuilder();
 
   /**
+   *
+   *
    * 
    * Configuration for how to query telemetry on a Service.
    * 
* * .google.monitoring.v3.Service.Telemetry telemetry = 13; + * * @return Whether the telemetry field is set. */ boolean hasTelemetry(); /** + * + * *
    * Configuration for how to query telemetry on a Service.
    * 
* * .google.monitoring.v3.Service.Telemetry telemetry = 13; + * * @return The telemetry. */ com.google.monitoring.v3.Service.Telemetry getTelemetry(); /** + * + * *
    * Configuration for how to query telemetry on a Service.
    * 
@@ -245,6 +328,8 @@ public interface ServiceOrBuilder extends com.google.monitoring.v3.Service.TelemetryOrBuilder getTelemetryOrBuilder(); /** + * + * *
    * Labels which have been used to annotate the service. Label keys must start
    * with a letter. Label keys and values may contain lowercase letters,
@@ -258,6 +343,8 @@ public interface ServiceOrBuilder extends
    */
   int getUserLabelsCount();
   /**
+   *
+   *
    * 
    * Labels which have been used to annotate the service. Label keys must start
    * with a letter. Label keys and values may contain lowercase letters,
@@ -269,15 +356,13 @@ public interface ServiceOrBuilder extends
    *
    * map<string, string> user_labels = 14;
    */
-  boolean containsUserLabels(
-      java.lang.String key);
-  /**
-   * Use {@link #getUserLabelsMap()} instead.
-   */
+  boolean containsUserLabels(java.lang.String key);
+  /** Use {@link #getUserLabelsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getUserLabels();
+  java.util.Map getUserLabels();
   /**
+   *
+   *
    * 
    * Labels which have been used to annotate the service. Label keys must start
    * with a letter. Label keys and values may contain lowercase letters,
@@ -289,9 +374,10 @@ boolean containsUserLabels(
    *
    * map<string, string> user_labels = 14;
    */
-  java.util.Map
-  getUserLabelsMap();
+  java.util.Map getUserLabelsMap();
   /**
+   *
+   *
    * 
    * Labels which have been used to annotate the service. Label keys must start
    * with a letter. Label keys and values may contain lowercase letters,
@@ -303,11 +389,10 @@ boolean containsUserLabels(
    *
    * map<string, string> user_labels = 14;
    */
-
-  java.lang.String getUserLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue);
+  java.lang.String getUserLabelsOrDefault(java.lang.String key, java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Labels which have been used to annotate the service. Label keys must start
    * with a letter. Label keys and values may contain lowercase letters,
@@ -319,9 +404,7 @@ java.lang.String getUserLabelsOrDefault(
    *
    * map<string, string> user_labels = 14;
    */
-
-  java.lang.String getUserLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getUserLabelsOrThrow(java.lang.String key);
 
   public com.google.monitoring.v3.Service.IdentifierCase getIdentifierCase();
 }
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceTier.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceTier.java
similarity index 74%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceTier.java
rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceTier.java
index c7ed7786..725342a9 100644
--- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceTier.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ServiceTier.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/monitoring/v3/common.proto
 
 package com.google.monitoring.v3;
 
 /**
+ *
+ *
  * 
  * The tier of service for a Workspace. Please see the
  * [service tiers
@@ -13,9 +30,11 @@
  *
  * Protobuf enum {@code google.monitoring.v3.ServiceTier}
  */
-@java.lang.Deprecated public enum ServiceTier
-    implements com.google.protobuf.ProtocolMessageEnum {
+@java.lang.Deprecated
+public enum ServiceTier implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * An invalid sentinel value, used to indicate that a tier has not
    * been provided explicitly.
@@ -25,6 +44,8 @@
    */
   SERVICE_TIER_UNSPECIFIED(0),
   /**
+   *
+   *
    * 
    * The Stackdriver Basic tier, a free tier of service that provides basic
    * features, a moderate allotment of logs, and access to built-in metrics.
@@ -37,6 +58,8 @@
    */
   SERVICE_TIER_BASIC(1),
   /**
+   *
+   *
    * 
    * The Stackdriver Premium tier, a higher, more expensive tier of service
    * that provides access to all Stackdriver features, lets you use Stackdriver
@@ -52,6 +75,8 @@
   ;
 
   /**
+   *
+   *
    * 
    * An invalid sentinel value, used to indicate that a tier has not
    * been provided explicitly.
@@ -61,6 +86,8 @@
    */
   public static final int SERVICE_TIER_UNSPECIFIED_VALUE = 0;
   /**
+   *
+   *
    * 
    * The Stackdriver Basic tier, a free tier of service that provides basic
    * features, a moderate allotment of logs, and access to built-in metrics.
@@ -73,6 +100,8 @@
    */
   public static final int SERVICE_TIER_BASIC_VALUE = 1;
   /**
+   *
+   *
    * 
    * The Stackdriver Premium tier, a higher, more expensive tier of service
    * that provides access to all Stackdriver features, lets you use Stackdriver
@@ -85,7 +114,6 @@
    */
   public static final int SERVICE_TIER_PREMIUM_VALUE = 2;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -110,49 +138,49 @@ public static ServiceTier valueOf(int value) {
    */
   public static ServiceTier forNumber(int value) {
     switch (value) {
-      case 0: return SERVICE_TIER_UNSPECIFIED;
-      case 1: return SERVICE_TIER_BASIC;
-      case 2: return SERVICE_TIER_PREMIUM;
-      default: return null;
+      case 0:
+        return SERVICE_TIER_UNSPECIFIED;
+      case 1:
+        return SERVICE_TIER_BASIC;
+      case 2:
+        return SERVICE_TIER_PREMIUM;
+      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<
-      ServiceTier> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public ServiceTier findValueByNumber(int number) {
-            return ServiceTier.forNumber(number);
-          }
-        };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+
+  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+      new com.google.protobuf.Internal.EnumLiteMap() {
+        public ServiceTier findValueByNumber(int number) {
+          return ServiceTier.forNumber(number);
+        }
+      };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.monitoring.v3.CommonProto.getDescriptor().getEnumTypes().get(1);
   }
 
   private static final ServiceTier[] VALUES = values();
 
-  public static ServiceTier valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static ServiceTier 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;
@@ -168,4 +196,3 @@ private ServiceTier(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.monitoring.v3.ServiceTier)
 }
-
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContext.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContext.java
similarity index 72%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContext.java
rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContext.java
index ce50f1fd..01790c9c 100644
--- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContext.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContext.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/monitoring/v3/span_context.proto
 
 package com.google.monitoring.v3;
 
 /**
+ *
+ *
  * 
  * The context of a span. This is attached to an
  * [Exemplar][google.api.Distribution.Exemplar]
@@ -14,31 +31,31 @@
  *
  * Protobuf type {@code google.monitoring.v3.SpanContext}
  */
-public final class SpanContext extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class SpanContext extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.SpanContext)
     SpanContextOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use SpanContext.newBuilder() to construct.
   private SpanContext(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private SpanContext() {
     spanName_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SpanContext();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private SpanContext(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,47 +74,52 @@ private SpanContext(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            spanName_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              spanName_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.monitoring.v3.SpanContextProto.internal_static_google_monitoring_v3_SpanContext_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.monitoring.v3.SpanContextProto
+        .internal_static_google_monitoring_v3_SpanContext_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.monitoring.v3.SpanContextProto.internal_static_google_monitoring_v3_SpanContext_fieldAccessorTable
+    return com.google.monitoring.v3.SpanContextProto
+        .internal_static_google_monitoring_v3_SpanContext_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.SpanContext.class, com.google.monitoring.v3.SpanContext.Builder.class);
+            com.google.monitoring.v3.SpanContext.class,
+            com.google.monitoring.v3.SpanContext.Builder.class);
   }
 
   public static final int SPAN_NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object spanName_;
   /**
+   *
+   *
    * 
    * The resource name of the span. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]
@@ -108,6 +130,7 @@ private SpanContext(
    * 
* * string span_name = 1; + * * @return The spanName. */ @java.lang.Override @@ -116,14 +139,15 @@ public java.lang.String getSpanName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); spanName_ = s; return s; } } /** + * + * *
    * The resource name of the span. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]
@@ -134,16 +158,15 @@ public java.lang.String getSpanName() {
    * 
* * string span_name = 1; + * * @return The bytes for spanName. */ @java.lang.Override - public com.google.protobuf.ByteString - getSpanNameBytes() { + public com.google.protobuf.ByteString getSpanNameBytes() { java.lang.Object ref = spanName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); spanName_ = b; return b; } else { @@ -152,6 +175,7 @@ public java.lang.String getSpanName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -163,8 +187,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(spanName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, spanName_); } @@ -188,15 +211,14 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.SpanContext)) { return super.equals(obj); } com.google.monitoring.v3.SpanContext other = (com.google.monitoring.v3.SpanContext) obj; - if (!getSpanName() - .equals(other.getSpanName())) return false; + if (!getSpanName().equals(other.getSpanName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -215,97 +237,103 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.SpanContext parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.SpanContext parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.SpanContext parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.SpanContext parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.monitoring.v3.SpanContext parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.SpanContext parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.SpanContext parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.SpanContext parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.SpanContext 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.monitoring.v3.SpanContext parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.SpanContext parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.SpanContext parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.SpanContext parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.SpanContext parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.SpanContext prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 context of a span. This is attached to an
    * [Exemplar][google.api.Distribution.Exemplar]
@@ -316,21 +344,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.monitoring.v3.SpanContext}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.SpanContext)
       com.google.monitoring.v3.SpanContextOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.monitoring.v3.SpanContextProto.internal_static_google_monitoring_v3_SpanContext_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.monitoring.v3.SpanContextProto
+          .internal_static_google_monitoring_v3_SpanContext_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.SpanContextProto.internal_static_google_monitoring_v3_SpanContext_fieldAccessorTable
+      return com.google.monitoring.v3.SpanContextProto
+          .internal_static_google_monitoring_v3_SpanContext_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.SpanContext.class, com.google.monitoring.v3.SpanContext.Builder.class);
+              com.google.monitoring.v3.SpanContext.class,
+              com.google.monitoring.v3.SpanContext.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.SpanContext.newBuilder()
@@ -338,16 +368,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -357,9 +386,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.monitoring.v3.SpanContextProto.internal_static_google_monitoring_v3_SpanContext_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.monitoring.v3.SpanContextProto
+          .internal_static_google_monitoring_v3_SpanContext_descriptor;
     }
 
     @java.lang.Override
@@ -388,38 +417,39 @@ public com.google.monitoring.v3.SpanContext 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.monitoring.v3.SpanContext) {
-        return mergeFrom((com.google.monitoring.v3.SpanContext)other);
+        return mergeFrom((com.google.monitoring.v3.SpanContext) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -463,6 +493,8 @@ public Builder mergeFrom(
 
     private java.lang.Object spanName_ = "";
     /**
+     *
+     *
      * 
      * The resource name of the span. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]
@@ -473,13 +505,13 @@ public Builder mergeFrom(
      * 
* * string span_name = 1; + * * @return The spanName. */ public java.lang.String getSpanName() { java.lang.Object ref = spanName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); spanName_ = s; return s; @@ -488,6 +520,8 @@ public java.lang.String getSpanName() { } } /** + * + * *
      * The resource name of the span. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]
@@ -498,15 +532,14 @@ public java.lang.String getSpanName() {
      * 
* * string span_name = 1; + * * @return The bytes for spanName. */ - public com.google.protobuf.ByteString - getSpanNameBytes() { + public com.google.protobuf.ByteString getSpanNameBytes() { java.lang.Object ref = spanName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); spanName_ = b; return b; } else { @@ -514,6 +547,8 @@ public java.lang.String getSpanName() { } } /** + * + * *
      * The resource name of the span. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]
@@ -524,20 +559,22 @@ public java.lang.String getSpanName() {
      * 
* * string span_name = 1; + * * @param value The spanName to set. * @return This builder for chaining. */ - public Builder setSpanName( - java.lang.String value) { + public Builder setSpanName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + spanName_ = value; onChanged(); return this; } /** + * + * *
      * The resource name of the span. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]
@@ -548,15 +585,18 @@ public Builder setSpanName(
      * 
* * string span_name = 1; + * * @return This builder for chaining. */ public Builder clearSpanName() { - + spanName_ = getDefaultInstance().getSpanName(); onChanged(); return this; } /** + * + * *
      * The resource name of the span. The format is:
      *     projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]
@@ -567,23 +607,23 @@ public Builder clearSpanName() {
      * 
* * string span_name = 1; + * * @param value The bytes for spanName to set. * @return This builder for chaining. */ - public Builder setSpanNameBytes( - com.google.protobuf.ByteString value) { + public Builder setSpanNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + spanName_ = 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); } @@ -593,12 +633,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.SpanContext) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.SpanContext) private static final com.google.monitoring.v3.SpanContext DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.SpanContext(); } @@ -607,16 +647,16 @@ public static com.google.monitoring.v3.SpanContext getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpanContext parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SpanContext(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpanContext parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SpanContext(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -631,6 +671,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.SpanContext getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContextOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContextOrBuilder.java similarity index 64% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContextOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContextOrBuilder.java index 0a35a097..a444343f 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContextOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContextOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/span_context.proto package com.google.monitoring.v3; -public interface SpanContextOrBuilder extends +public interface SpanContextOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.SpanContext) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The resource name of the span. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]
@@ -18,10 +36,13 @@ public interface SpanContextOrBuilder extends
    * 
* * string span_name = 1; + * * @return The spanName. */ java.lang.String getSpanName(); /** + * + * *
    * The resource name of the span. The format is:
    *     projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]
@@ -32,8 +53,8 @@ public interface SpanContextOrBuilder extends
    * 
* * string span_name = 1; + * * @return The bytes for spanName. */ - com.google.protobuf.ByteString - getSpanNameBytes(); + com.google.protobuf.ByteString getSpanNameBytes(); } diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContextProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContextProto.java new file mode 100644 index 00000000..d6d5b203 --- /dev/null +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/SpanContextProto.java @@ -0,0 +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/monitoring/v3/span_context.proto + +package com.google.monitoring.v3; + +public final class SpanContextProto { + private SpanContextProto() {} + + 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_monitoring_v3_SpanContext_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_monitoring_v3_SpanContext_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/monitoring/v3/span_context.prot" + + "o\022\024google.monitoring.v3\" \n\013SpanContext\022\021" + + "\n\tspan_name\030\001 \001(\tB\310\001\n\030com.google.monitor" + + "ing.v3B\020SpanContextProtoP\001Z>google.golan" + + "g.org/genproto/googleapis/monitoring/v3;" + + "monitoring\252\002\032Google.Cloud.Monitoring.V3\312" + + "\002\032Google\\Cloud\\Monitoring\\V3\352\002\035Google::C" + + "loud::Monitoring::V3b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + internal_static_google_monitoring_v3_SpanContext_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_monitoring_v3_SpanContext_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_monitoring_v3_SpanContext_descriptor, + new java.lang.String[] { + "SpanName", + }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TextLocator.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TextLocator.java similarity index 75% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TextLocator.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TextLocator.java index 8f86672e..46a435e9 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TextLocator.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TextLocator.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric.proto package com.google.monitoring.v3; /** + * + * *
  * A locator for text. Indicates a particular part of the text of a request or
  * of an object referenced in the request.
@@ -24,15 +41,16 @@
  *
  * Protobuf type {@code google.monitoring.v3.TextLocator}
  */
-public final class TextLocator extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TextLocator extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.TextLocator)
     TextLocatorOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TextLocator.newBuilder() to construct.
   private TextLocator(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private TextLocator() {
     source_ = "";
     nestingReason_ = "";
@@ -40,16 +58,15 @@ private TextLocator() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TextLocator();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private TextLocator(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -68,145 +85,166 @@ private TextLocator(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            source_ = s;
-            break;
-          }
-          case 18: {
-            com.google.monitoring.v3.TextLocator.Position.Builder subBuilder = null;
-            if (startPosition_ != null) {
-              subBuilder = startPosition_.toBuilder();
-            }
-            startPosition_ = input.readMessage(com.google.monitoring.v3.TextLocator.Position.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(startPosition_);
-              startPosition_ = subBuilder.buildPartial();
+              source_ = s;
+              break;
             }
+          case 18:
+            {
+              com.google.monitoring.v3.TextLocator.Position.Builder subBuilder = null;
+              if (startPosition_ != null) {
+                subBuilder = startPosition_.toBuilder();
+              }
+              startPosition_ =
+                  input.readMessage(
+                      com.google.monitoring.v3.TextLocator.Position.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(startPosition_);
+                startPosition_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 26: {
-            com.google.monitoring.v3.TextLocator.Position.Builder subBuilder = null;
-            if (endPosition_ != null) {
-              subBuilder = endPosition_.toBuilder();
-            }
-            endPosition_ = input.readMessage(com.google.monitoring.v3.TextLocator.Position.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(endPosition_);
-              endPosition_ = subBuilder.buildPartial();
+              break;
             }
+          case 26:
+            {
+              com.google.monitoring.v3.TextLocator.Position.Builder subBuilder = null;
+              if (endPosition_ != null) {
+                subBuilder = endPosition_.toBuilder();
+              }
+              endPosition_ =
+                  input.readMessage(
+                      com.google.monitoring.v3.TextLocator.Position.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(endPosition_);
+                endPosition_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 34: {
-            com.google.monitoring.v3.TextLocator.Builder subBuilder = null;
-            if (nestedLocator_ != null) {
-              subBuilder = nestedLocator_.toBuilder();
-            }
-            nestedLocator_ = input.readMessage(com.google.monitoring.v3.TextLocator.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(nestedLocator_);
-              nestedLocator_ = subBuilder.buildPartial();
+              break;
             }
+          case 34:
+            {
+              com.google.monitoring.v3.TextLocator.Builder subBuilder = null;
+              if (nestedLocator_ != null) {
+                subBuilder = nestedLocator_.toBuilder();
+              }
+              nestedLocator_ =
+                  input.readMessage(
+                      com.google.monitoring.v3.TextLocator.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(nestedLocator_);
+                nestedLocator_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 42: {
-            java.lang.String s = input.readStringRequireUtf8();
+              break;
+            }
+          case 42:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            nestingReason_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              nestingReason_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TextLocator_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.monitoring.v3.MetricProto
+        .internal_static_google_monitoring_v3_TextLocator_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TextLocator_fieldAccessorTable
+    return com.google.monitoring.v3.MetricProto
+        .internal_static_google_monitoring_v3_TextLocator_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.TextLocator.class, com.google.monitoring.v3.TextLocator.Builder.class);
+            com.google.monitoring.v3.TextLocator.class,
+            com.google.monitoring.v3.TextLocator.Builder.class);
   }
 
-  public interface PositionOrBuilder extends
+  public interface PositionOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.monitoring.v3.TextLocator.Position)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The line, starting with 1, where the byte is positioned.
      * 
* * int32 line = 1; + * * @return The line. */ int getLine(); /** + * + * *
      * The column within the line, starting with 1, where the byte is
      * positioned. This is a byte index even though the text is UTF-8.
      * 
* * int32 column = 2; + * * @return The column. */ int getColumn(); } /** + * + * *
    * The position of a byte within the text.
    * 
* * Protobuf type {@code google.monitoring.v3.TextLocator.Position} */ - public static final class Position extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Position extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.TextLocator.Position) PositionOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Position.newBuilder() to construct. private Position(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Position() { - } + + private Position() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Position(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Position( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -225,56 +263,61 @@ private Position( case 0: done = true; break; - case 8: { - - line_ = input.readInt32(); - break; - } - case 16: { - - column_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + line_ = input.readInt32(); + break; + } + case 16: + { + column_ = input.readInt32(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TextLocator_Position_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricProto + .internal_static_google_monitoring_v3_TextLocator_Position_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TextLocator_Position_fieldAccessorTable + return com.google.monitoring.v3.MetricProto + .internal_static_google_monitoring_v3_TextLocator_Position_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.TextLocator.Position.class, com.google.monitoring.v3.TextLocator.Position.Builder.class); + com.google.monitoring.v3.TextLocator.Position.class, + com.google.monitoring.v3.TextLocator.Position.Builder.class); } public static final int LINE_FIELD_NUMBER = 1; private int line_; /** + * + * *
      * The line, starting with 1, where the byte is positioned.
      * 
* * int32 line = 1; + * * @return The line. */ @java.lang.Override @@ -285,12 +328,15 @@ public int getLine() { public static final int COLUMN_FIELD_NUMBER = 2; private int column_; /** + * + * *
      * The column within the line, starting with 1, where the byte is
      * positioned. This is a byte index even though the text is UTF-8.
      * 
* * int32 column = 2; + * * @return The column. */ @java.lang.Override @@ -299,6 +345,7 @@ public int getColumn() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -310,8 +357,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (line_ != 0) { output.writeInt32(1, line_); } @@ -328,12 +374,10 @@ public int getSerializedSize() { size = 0; if (line_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, line_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, line_); } if (column_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, column_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, column_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -343,17 +387,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.TextLocator.Position)) { return super.equals(obj); } - com.google.monitoring.v3.TextLocator.Position other = (com.google.monitoring.v3.TextLocator.Position) obj; + com.google.monitoring.v3.TextLocator.Position other = + (com.google.monitoring.v3.TextLocator.Position) obj; - if (getLine() - != other.getLine()) return false; - if (getColumn() - != other.getColumn()) return false; + if (getLine() != other.getLine()) return false; + if (getColumn() != other.getColumn()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -374,88 +417,94 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.TextLocator.Position parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.TextLocator.Position parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.TextLocator.Position parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.TextLocator.Position parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.TextLocator.Position parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.TextLocator.Position parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.TextLocator.Position parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.TextLocator.Position 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.monitoring.v3.TextLocator.Position parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.TextLocator.Position parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.TextLocator.Position parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.TextLocator.Position parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.TextLocator.Position parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.TextLocator.Position parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.TextLocator.Position prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -465,27 +514,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * The position of a byte within the text.
      * 
* * Protobuf type {@code google.monitoring.v3.TextLocator.Position} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.TextLocator.Position) com.google.monitoring.v3.TextLocator.PositionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TextLocator_Position_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricProto + .internal_static_google_monitoring_v3_TextLocator_Position_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TextLocator_Position_fieldAccessorTable + return com.google.monitoring.v3.MetricProto + .internal_static_google_monitoring_v3_TextLocator_Position_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.TextLocator.Position.class, com.google.monitoring.v3.TextLocator.Position.Builder.class); + com.google.monitoring.v3.TextLocator.Position.class, + com.google.monitoring.v3.TextLocator.Position.Builder.class); } // Construct using com.google.monitoring.v3.TextLocator.Position.newBuilder() @@ -493,16 +547,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -514,9 +567,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TextLocator_Position_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.MetricProto + .internal_static_google_monitoring_v3_TextLocator_Position_descriptor; } @java.lang.Override @@ -535,7 +588,8 @@ public com.google.monitoring.v3.TextLocator.Position build() { @java.lang.Override public com.google.monitoring.v3.TextLocator.Position buildPartial() { - com.google.monitoring.v3.TextLocator.Position result = new com.google.monitoring.v3.TextLocator.Position(this); + com.google.monitoring.v3.TextLocator.Position result = + new com.google.monitoring.v3.TextLocator.Position(this); result.line_ = line_; result.column_ = column_; onBuilt(); @@ -546,38 +600,41 @@ public com.google.monitoring.v3.TextLocator.Position 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.monitoring.v3.TextLocator.Position) { - return mergeFrom((com.google.monitoring.v3.TextLocator.Position)other); + return mergeFrom((com.google.monitoring.v3.TextLocator.Position) other); } else { super.mergeFrom(other); return this; @@ -585,7 +642,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.TextLocator.Position other) { - if (other == com.google.monitoring.v3.TextLocator.Position.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.TextLocator.Position.getDefaultInstance()) + return this; if (other.getLine() != 0) { setLine(other.getLine()); } @@ -621,13 +679,16 @@ public Builder mergeFrom( return this; } - private int line_ ; + private int line_; /** + * + * *
        * The line, starting with 1, where the byte is positioned.
        * 
* * int32 line = 1; + * * @return The line. */ @java.lang.Override @@ -635,43 +696,52 @@ public int getLine() { return line_; } /** + * + * *
        * The line, starting with 1, where the byte is positioned.
        * 
* * int32 line = 1; + * * @param value The line to set. * @return This builder for chaining. */ public Builder setLine(int value) { - + line_ = value; onChanged(); return this; } /** + * + * *
        * The line, starting with 1, where the byte is positioned.
        * 
* * int32 line = 1; + * * @return This builder for chaining. */ public Builder clearLine() { - + line_ = 0; onChanged(); return this; } - private int column_ ; + private int column_; /** + * + * *
        * The column within the line, starting with 1, where the byte is
        * positioned. This is a byte index even though the text is UTF-8.
        * 
* * int32 column = 2; + * * @return The column. */ @java.lang.Override @@ -679,36 +749,43 @@ public int getColumn() { return column_; } /** + * + * *
        * The column within the line, starting with 1, where the byte is
        * positioned. This is a byte index even though the text is UTF-8.
        * 
* * int32 column = 2; + * * @param value The column to set. * @return This builder for chaining. */ public Builder setColumn(int value) { - + column_ = value; onChanged(); return this; } /** + * + * *
        * The column within the line, starting with 1, where the byte is
        * positioned. This is a byte index even though the text is UTF-8.
        * 
* * int32 column = 2; + * * @return This builder for chaining. */ public Builder clearColumn() { - + column_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -721,12 +798,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.TextLocator.Position) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.TextLocator.Position) private static final com.google.monitoring.v3.TextLocator.Position DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.TextLocator.Position(); } @@ -735,16 +812,16 @@ public static com.google.monitoring.v3.TextLocator.Position getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Position parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Position(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Position parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Position(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -759,12 +836,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.TextLocator.Position getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int SOURCE_FIELD_NUMBER = 1; private volatile java.lang.Object source_; /** + * + * *
    * The source of the text. The source may be a field in the request, in which
    * case its format is the format of the
@@ -776,6 +854,7 @@ public com.google.monitoring.v3.TextLocator.Position getDefaultInstanceForType()
    * 
* * string source = 1; + * * @return The source. */ @java.lang.Override @@ -784,14 +863,15 @@ public java.lang.String getSource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); source_ = s; return s; } } /** + * + * *
    * The source of the text. The source may be a field in the request, in which
    * case its format is the format of the
@@ -803,16 +883,15 @@ public java.lang.String getSource() {
    * 
* * string source = 1; + * * @return The bytes for source. */ @java.lang.Override - public com.google.protobuf.ByteString - getSourceBytes() { + public com.google.protobuf.ByteString getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); source_ = b; return b; } else { @@ -823,11 +902,14 @@ public java.lang.String getSource() { public static final int START_POSITION_FIELD_NUMBER = 2; private com.google.monitoring.v3.TextLocator.Position startPosition_; /** + * + * *
    * The position of the first byte within the text.
    * 
* * .google.monitoring.v3.TextLocator.Position start_position = 2; + * * @return Whether the startPosition field is set. */ @java.lang.Override @@ -835,18 +917,25 @@ public boolean hasStartPosition() { return startPosition_ != null; } /** + * + * *
    * The position of the first byte within the text.
    * 
* * .google.monitoring.v3.TextLocator.Position start_position = 2; + * * @return The startPosition. */ @java.lang.Override public com.google.monitoring.v3.TextLocator.Position getStartPosition() { - return startPosition_ == null ? com.google.monitoring.v3.TextLocator.Position.getDefaultInstance() : startPosition_; + return startPosition_ == null + ? com.google.monitoring.v3.TextLocator.Position.getDefaultInstance() + : startPosition_; } /** + * + * *
    * The position of the first byte within the text.
    * 
@@ -861,11 +950,14 @@ public com.google.monitoring.v3.TextLocator.PositionOrBuilder getStartPositionOr public static final int END_POSITION_FIELD_NUMBER = 3; private com.google.monitoring.v3.TextLocator.Position endPosition_; /** + * + * *
    * The position of the last byte within the text.
    * 
* * .google.monitoring.v3.TextLocator.Position end_position = 3; + * * @return Whether the endPosition field is set. */ @java.lang.Override @@ -873,18 +965,25 @@ public boolean hasEndPosition() { return endPosition_ != null; } /** + * + * *
    * The position of the last byte within the text.
    * 
* * .google.monitoring.v3.TextLocator.Position end_position = 3; + * * @return The endPosition. */ @java.lang.Override public com.google.monitoring.v3.TextLocator.Position getEndPosition() { - return endPosition_ == null ? com.google.monitoring.v3.TextLocator.Position.getDefaultInstance() : endPosition_; + return endPosition_ == null + ? com.google.monitoring.v3.TextLocator.Position.getDefaultInstance() + : endPosition_; } /** + * + * *
    * The position of the last byte within the text.
    * 
@@ -899,6 +998,8 @@ public com.google.monitoring.v3.TextLocator.PositionOrBuilder getEndPositionOrBu public static final int NESTED_LOCATOR_FIELD_NUMBER = 4; private com.google.monitoring.v3.TextLocator nestedLocator_; /** + * + * *
    * If `source`, `start_position`, and `end_position` describe a call on
    * some object (e.g. a macro in the time series query language text) and a
@@ -907,6 +1008,7 @@ public com.google.monitoring.v3.TextLocator.PositionOrBuilder getEndPositionOrBu
    * 
* * .google.monitoring.v3.TextLocator nested_locator = 4; + * * @return Whether the nestedLocator field is set. */ @java.lang.Override @@ -914,6 +1016,8 @@ public boolean hasNestedLocator() { return nestedLocator_ != null; } /** + * + * *
    * If `source`, `start_position`, and `end_position` describe a call on
    * some object (e.g. a macro in the time series query language text) and a
@@ -922,13 +1026,18 @@ public boolean hasNestedLocator() {
    * 
* * .google.monitoring.v3.TextLocator nested_locator = 4; + * * @return The nestedLocator. */ @java.lang.Override public com.google.monitoring.v3.TextLocator getNestedLocator() { - return nestedLocator_ == null ? com.google.monitoring.v3.TextLocator.getDefaultInstance() : nestedLocator_; + return nestedLocator_ == null + ? com.google.monitoring.v3.TextLocator.getDefaultInstance() + : nestedLocator_; } /** + * + * *
    * If `source`, `start_position`, and `end_position` describe a call on
    * some object (e.g. a macro in the time series query language text) and a
@@ -946,6 +1055,8 @@ public com.google.monitoring.v3.TextLocatorOrBuilder getNestedLocatorOrBuilder()
   public static final int NESTING_REASON_FIELD_NUMBER = 5;
   private volatile java.lang.Object nestingReason_;
   /**
+   *
+   *
    * 
    * When `nested_locator` is set, this field gives the reason for the nesting.
    * Usually, the reason is a macro invocation. In that case, the macro name
@@ -956,6 +1067,7 @@ public com.google.monitoring.v3.TextLocatorOrBuilder getNestedLocatorOrBuilder()
    * 
* * string nesting_reason = 5; + * * @return The nestingReason. */ @java.lang.Override @@ -964,14 +1076,15 @@ public java.lang.String getNestingReason() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nestingReason_ = s; return s; } } /** + * + * *
    * When `nested_locator` is set, this field gives the reason for the nesting.
    * Usually, the reason is a macro invocation. In that case, the macro name
@@ -982,16 +1095,15 @@ public java.lang.String getNestingReason() {
    * 
* * string nesting_reason = 5; + * * @return The bytes for nestingReason. */ @java.lang.Override - public com.google.protobuf.ByteString - getNestingReasonBytes() { + public com.google.protobuf.ByteString getNestingReasonBytes() { java.lang.Object ref = nestingReason_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nestingReason_ = b; return b; } else { @@ -1000,6 +1112,7 @@ public java.lang.String getNestingReason() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1011,8 +1124,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(source_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, source_); } @@ -1041,16 +1153,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, source_); } if (startPosition_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getStartPosition()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartPosition()); } if (endPosition_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getEndPosition()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndPosition()); } if (nestedLocator_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getNestedLocator()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getNestedLocator()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nestingReason_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, nestingReason_); @@ -1063,32 +1172,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.TextLocator)) { return super.equals(obj); } com.google.monitoring.v3.TextLocator other = (com.google.monitoring.v3.TextLocator) obj; - if (!getSource() - .equals(other.getSource())) return false; + if (!getSource().equals(other.getSource())) return false; if (hasStartPosition() != other.hasStartPosition()) return false; if (hasStartPosition()) { - if (!getStartPosition() - .equals(other.getStartPosition())) return false; + if (!getStartPosition().equals(other.getStartPosition())) return false; } if (hasEndPosition() != other.hasEndPosition()) return false; if (hasEndPosition()) { - if (!getEndPosition() - .equals(other.getEndPosition())) return false; + if (!getEndPosition().equals(other.getEndPosition())) return false; } if (hasNestedLocator() != other.hasNestedLocator()) return false; if (hasNestedLocator()) { - if (!getNestedLocator() - .equals(other.getNestedLocator())) return false; + if (!getNestedLocator().equals(other.getNestedLocator())) return false; } - if (!getNestingReason() - .equals(other.getNestingReason())) return false; + if (!getNestingReason().equals(other.getNestingReason())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1121,97 +1225,103 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.TextLocator parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.TextLocator parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.TextLocator parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.TextLocator parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.monitoring.v3.TextLocator parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.TextLocator parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.TextLocator parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.TextLocator parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.TextLocator 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.monitoring.v3.TextLocator parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.TextLocator parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.TextLocator parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.TextLocator parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.TextLocator parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.TextLocator prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 locator for text. Indicates a particular part of the text of a request or
    * of an object referenced in the request.
@@ -1232,21 +1342,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.monitoring.v3.TextLocator}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.TextLocator)
       com.google.monitoring.v3.TextLocatorOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TextLocator_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.monitoring.v3.MetricProto
+          .internal_static_google_monitoring_v3_TextLocator_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TextLocator_fieldAccessorTable
+      return com.google.monitoring.v3.MetricProto
+          .internal_static_google_monitoring_v3_TextLocator_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.TextLocator.class, com.google.monitoring.v3.TextLocator.Builder.class);
+              com.google.monitoring.v3.TextLocator.class,
+              com.google.monitoring.v3.TextLocator.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.TextLocator.newBuilder()
@@ -1254,16 +1366,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1293,9 +1404,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TextLocator_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.monitoring.v3.MetricProto
+          .internal_static_google_monitoring_v3_TextLocator_descriptor;
     }
 
     @java.lang.Override
@@ -1340,38 +1451,39 @@ public com.google.monitoring.v3.TextLocator 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.monitoring.v3.TextLocator) {
-        return mergeFrom((com.google.monitoring.v3.TextLocator)other);
+        return mergeFrom((com.google.monitoring.v3.TextLocator) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1428,6 +1540,8 @@ public Builder mergeFrom(
 
     private java.lang.Object source_ = "";
     /**
+     *
+     *
      * 
      * The source of the text. The source may be a field in the request, in which
      * case its format is the format of the
@@ -1439,13 +1553,13 @@ public Builder mergeFrom(
      * 
* * string source = 1; + * * @return The source. */ public java.lang.String getSource() { java.lang.Object ref = source_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); source_ = s; return s; @@ -1454,6 +1568,8 @@ public java.lang.String getSource() { } } /** + * + * *
      * The source of the text. The source may be a field in the request, in which
      * case its format is the format of the
@@ -1465,15 +1581,14 @@ public java.lang.String getSource() {
      * 
* * string source = 1; + * * @return The bytes for source. */ - public com.google.protobuf.ByteString - getSourceBytes() { + public com.google.protobuf.ByteString getSourceBytes() { java.lang.Object ref = source_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); source_ = b; return b; } else { @@ -1481,6 +1596,8 @@ public java.lang.String getSource() { } } /** + * + * *
      * The source of the text. The source may be a field in the request, in which
      * case its format is the format of the
@@ -1492,20 +1609,22 @@ public java.lang.String getSource() {
      * 
* * string source = 1; + * * @param value The source to set. * @return This builder for chaining. */ - public Builder setSource( - java.lang.String value) { + public Builder setSource(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + source_ = value; onChanged(); return this; } /** + * + * *
      * The source of the text. The source may be a field in the request, in which
      * case its format is the format of the
@@ -1517,15 +1636,18 @@ public Builder setSource(
      * 
* * string source = 1; + * * @return This builder for chaining. */ public Builder clearSource() { - + source_ = getDefaultInstance().getSource(); onChanged(); return this; } /** + * + * *
      * The source of the text. The source may be a field in the request, in which
      * case its format is the format of the
@@ -1537,16 +1659,16 @@ public Builder clearSource() {
      * 
* * string source = 1; + * * @param value The bytes for source to set. * @return This builder for chaining. */ - public Builder setSourceBytes( - com.google.protobuf.ByteString value) { + public Builder setSourceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + source_ = value; onChanged(); return this; @@ -1554,34 +1676,47 @@ public Builder setSourceBytes( private com.google.monitoring.v3.TextLocator.Position startPosition_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TextLocator.Position, com.google.monitoring.v3.TextLocator.Position.Builder, com.google.monitoring.v3.TextLocator.PositionOrBuilder> startPositionBuilder_; + com.google.monitoring.v3.TextLocator.Position, + com.google.monitoring.v3.TextLocator.Position.Builder, + com.google.monitoring.v3.TextLocator.PositionOrBuilder> + startPositionBuilder_; /** + * + * *
      * The position of the first byte within the text.
      * 
* * .google.monitoring.v3.TextLocator.Position start_position = 2; + * * @return Whether the startPosition field is set. */ public boolean hasStartPosition() { return startPositionBuilder_ != null || startPosition_ != null; } /** + * + * *
      * The position of the first byte within the text.
      * 
* * .google.monitoring.v3.TextLocator.Position start_position = 2; + * * @return The startPosition. */ public com.google.monitoring.v3.TextLocator.Position getStartPosition() { if (startPositionBuilder_ == null) { - return startPosition_ == null ? com.google.monitoring.v3.TextLocator.Position.getDefaultInstance() : startPosition_; + return startPosition_ == null + ? com.google.monitoring.v3.TextLocator.Position.getDefaultInstance() + : startPosition_; } else { return startPositionBuilder_.getMessage(); } } /** + * + * *
      * The position of the first byte within the text.
      * 
@@ -1602,6 +1737,8 @@ public Builder setStartPosition(com.google.monitoring.v3.TextLocator.Position va return this; } /** + * + * *
      * The position of the first byte within the text.
      * 
@@ -1620,6 +1757,8 @@ public Builder setStartPosition( return this; } /** + * + * *
      * The position of the first byte within the text.
      * 
@@ -1630,7 +1769,9 @@ public Builder mergeStartPosition(com.google.monitoring.v3.TextLocator.Position if (startPositionBuilder_ == null) { if (startPosition_ != null) { startPosition_ = - com.google.monitoring.v3.TextLocator.Position.newBuilder(startPosition_).mergeFrom(value).buildPartial(); + com.google.monitoring.v3.TextLocator.Position.newBuilder(startPosition_) + .mergeFrom(value) + .buildPartial(); } else { startPosition_ = value; } @@ -1642,6 +1783,8 @@ public Builder mergeStartPosition(com.google.monitoring.v3.TextLocator.Position return this; } /** + * + * *
      * The position of the first byte within the text.
      * 
@@ -1660,6 +1803,8 @@ public Builder clearStartPosition() { return this; } /** + * + * *
      * The position of the first byte within the text.
      * 
@@ -1667,11 +1812,13 @@ public Builder clearStartPosition() { * .google.monitoring.v3.TextLocator.Position start_position = 2; */ public com.google.monitoring.v3.TextLocator.Position.Builder getStartPositionBuilder() { - + onChanged(); return getStartPositionFieldBuilder().getBuilder(); } /** + * + * *
      * The position of the first byte within the text.
      * 
@@ -1682,11 +1829,14 @@ public com.google.monitoring.v3.TextLocator.PositionOrBuilder getStartPositionOr if (startPositionBuilder_ != null) { return startPositionBuilder_.getMessageOrBuilder(); } else { - return startPosition_ == null ? - com.google.monitoring.v3.TextLocator.Position.getDefaultInstance() : startPosition_; + return startPosition_ == null + ? com.google.monitoring.v3.TextLocator.Position.getDefaultInstance() + : startPosition_; } } /** + * + * *
      * The position of the first byte within the text.
      * 
@@ -1694,14 +1844,17 @@ public com.google.monitoring.v3.TextLocator.PositionOrBuilder getStartPositionOr * .google.monitoring.v3.TextLocator.Position start_position = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TextLocator.Position, com.google.monitoring.v3.TextLocator.Position.Builder, com.google.monitoring.v3.TextLocator.PositionOrBuilder> + com.google.monitoring.v3.TextLocator.Position, + com.google.monitoring.v3.TextLocator.Position.Builder, + com.google.monitoring.v3.TextLocator.PositionOrBuilder> getStartPositionFieldBuilder() { if (startPositionBuilder_ == null) { - startPositionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TextLocator.Position, com.google.monitoring.v3.TextLocator.Position.Builder, com.google.monitoring.v3.TextLocator.PositionOrBuilder>( - getStartPosition(), - getParentForChildren(), - isClean()); + startPositionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.TextLocator.Position, + com.google.monitoring.v3.TextLocator.Position.Builder, + com.google.monitoring.v3.TextLocator.PositionOrBuilder>( + getStartPosition(), getParentForChildren(), isClean()); startPosition_ = null; } return startPositionBuilder_; @@ -1709,34 +1862,47 @@ public com.google.monitoring.v3.TextLocator.PositionOrBuilder getStartPositionOr private com.google.monitoring.v3.TextLocator.Position endPosition_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TextLocator.Position, com.google.monitoring.v3.TextLocator.Position.Builder, com.google.monitoring.v3.TextLocator.PositionOrBuilder> endPositionBuilder_; + com.google.monitoring.v3.TextLocator.Position, + com.google.monitoring.v3.TextLocator.Position.Builder, + com.google.monitoring.v3.TextLocator.PositionOrBuilder> + endPositionBuilder_; /** + * + * *
      * The position of the last byte within the text.
      * 
* * .google.monitoring.v3.TextLocator.Position end_position = 3; + * * @return Whether the endPosition field is set. */ public boolean hasEndPosition() { return endPositionBuilder_ != null || endPosition_ != null; } /** + * + * *
      * The position of the last byte within the text.
      * 
* * .google.monitoring.v3.TextLocator.Position end_position = 3; + * * @return The endPosition. */ public com.google.monitoring.v3.TextLocator.Position getEndPosition() { if (endPositionBuilder_ == null) { - return endPosition_ == null ? com.google.monitoring.v3.TextLocator.Position.getDefaultInstance() : endPosition_; + return endPosition_ == null + ? com.google.monitoring.v3.TextLocator.Position.getDefaultInstance() + : endPosition_; } else { return endPositionBuilder_.getMessage(); } } /** + * + * *
      * The position of the last byte within the text.
      * 
@@ -1757,6 +1923,8 @@ public Builder setEndPosition(com.google.monitoring.v3.TextLocator.Position valu return this; } /** + * + * *
      * The position of the last byte within the text.
      * 
@@ -1775,6 +1943,8 @@ public Builder setEndPosition( return this; } /** + * + * *
      * The position of the last byte within the text.
      * 
@@ -1785,7 +1955,9 @@ public Builder mergeEndPosition(com.google.monitoring.v3.TextLocator.Position va if (endPositionBuilder_ == null) { if (endPosition_ != null) { endPosition_ = - com.google.monitoring.v3.TextLocator.Position.newBuilder(endPosition_).mergeFrom(value).buildPartial(); + com.google.monitoring.v3.TextLocator.Position.newBuilder(endPosition_) + .mergeFrom(value) + .buildPartial(); } else { endPosition_ = value; } @@ -1797,6 +1969,8 @@ public Builder mergeEndPosition(com.google.monitoring.v3.TextLocator.Position va return this; } /** + * + * *
      * The position of the last byte within the text.
      * 
@@ -1815,6 +1989,8 @@ public Builder clearEndPosition() { return this; } /** + * + * *
      * The position of the last byte within the text.
      * 
@@ -1822,11 +1998,13 @@ public Builder clearEndPosition() { * .google.monitoring.v3.TextLocator.Position end_position = 3; */ public com.google.monitoring.v3.TextLocator.Position.Builder getEndPositionBuilder() { - + onChanged(); return getEndPositionFieldBuilder().getBuilder(); } /** + * + * *
      * The position of the last byte within the text.
      * 
@@ -1837,11 +2015,14 @@ public com.google.monitoring.v3.TextLocator.PositionOrBuilder getEndPositionOrBu if (endPositionBuilder_ != null) { return endPositionBuilder_.getMessageOrBuilder(); } else { - return endPosition_ == null ? - com.google.monitoring.v3.TextLocator.Position.getDefaultInstance() : endPosition_; + return endPosition_ == null + ? com.google.monitoring.v3.TextLocator.Position.getDefaultInstance() + : endPosition_; } } /** + * + * *
      * The position of the last byte within the text.
      * 
@@ -1849,14 +2030,17 @@ public com.google.monitoring.v3.TextLocator.PositionOrBuilder getEndPositionOrBu * .google.monitoring.v3.TextLocator.Position end_position = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TextLocator.Position, com.google.monitoring.v3.TextLocator.Position.Builder, com.google.monitoring.v3.TextLocator.PositionOrBuilder> + com.google.monitoring.v3.TextLocator.Position, + com.google.monitoring.v3.TextLocator.Position.Builder, + com.google.monitoring.v3.TextLocator.PositionOrBuilder> getEndPositionFieldBuilder() { if (endPositionBuilder_ == null) { - endPositionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TextLocator.Position, com.google.monitoring.v3.TextLocator.Position.Builder, com.google.monitoring.v3.TextLocator.PositionOrBuilder>( - getEndPosition(), - getParentForChildren(), - isClean()); + endPositionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.TextLocator.Position, + com.google.monitoring.v3.TextLocator.Position.Builder, + com.google.monitoring.v3.TextLocator.PositionOrBuilder>( + getEndPosition(), getParentForChildren(), isClean()); endPosition_ = null; } return endPositionBuilder_; @@ -1864,8 +2048,13 @@ public com.google.monitoring.v3.TextLocator.PositionOrBuilder getEndPositionOrBu private com.google.monitoring.v3.TextLocator nestedLocator_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TextLocator, com.google.monitoring.v3.TextLocator.Builder, com.google.monitoring.v3.TextLocatorOrBuilder> nestedLocatorBuilder_; + com.google.monitoring.v3.TextLocator, + com.google.monitoring.v3.TextLocator.Builder, + com.google.monitoring.v3.TextLocatorOrBuilder> + nestedLocatorBuilder_; /** + * + * *
      * If `source`, `start_position`, and `end_position` describe a call on
      * some object (e.g. a macro in the time series query language text) and a
@@ -1874,12 +2063,15 @@ public com.google.monitoring.v3.TextLocator.PositionOrBuilder getEndPositionOrBu
      * 
* * .google.monitoring.v3.TextLocator nested_locator = 4; + * * @return Whether the nestedLocator field is set. */ public boolean hasNestedLocator() { return nestedLocatorBuilder_ != null || nestedLocator_ != null; } /** + * + * *
      * If `source`, `start_position`, and `end_position` describe a call on
      * some object (e.g. a macro in the time series query language text) and a
@@ -1888,16 +2080,21 @@ public boolean hasNestedLocator() {
      * 
* * .google.monitoring.v3.TextLocator nested_locator = 4; + * * @return The nestedLocator. */ public com.google.monitoring.v3.TextLocator getNestedLocator() { if (nestedLocatorBuilder_ == null) { - return nestedLocator_ == null ? com.google.monitoring.v3.TextLocator.getDefaultInstance() : nestedLocator_; + return nestedLocator_ == null + ? com.google.monitoring.v3.TextLocator.getDefaultInstance() + : nestedLocator_; } else { return nestedLocatorBuilder_.getMessage(); } } /** + * + * *
      * If `source`, `start_position`, and `end_position` describe a call on
      * some object (e.g. a macro in the time series query language text) and a
@@ -1921,6 +2118,8 @@ public Builder setNestedLocator(com.google.monitoring.v3.TextLocator value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If `source`, `start_position`, and `end_position` describe a call on
      * some object (e.g. a macro in the time series query language text) and a
@@ -1930,8 +2129,7 @@ public Builder setNestedLocator(com.google.monitoring.v3.TextLocator value) {
      *
      * .google.monitoring.v3.TextLocator nested_locator = 4;
      */
-    public Builder setNestedLocator(
-        com.google.monitoring.v3.TextLocator.Builder builderForValue) {
+    public Builder setNestedLocator(com.google.monitoring.v3.TextLocator.Builder builderForValue) {
       if (nestedLocatorBuilder_ == null) {
         nestedLocator_ = builderForValue.build();
         onChanged();
@@ -1942,6 +2140,8 @@ public Builder setNestedLocator(
       return this;
     }
     /**
+     *
+     *
      * 
      * If `source`, `start_position`, and `end_position` describe a call on
      * some object (e.g. a macro in the time series query language text) and a
@@ -1955,7 +2155,9 @@ public Builder mergeNestedLocator(com.google.monitoring.v3.TextLocator value) {
       if (nestedLocatorBuilder_ == null) {
         if (nestedLocator_ != null) {
           nestedLocator_ =
-            com.google.monitoring.v3.TextLocator.newBuilder(nestedLocator_).mergeFrom(value).buildPartial();
+              com.google.monitoring.v3.TextLocator.newBuilder(nestedLocator_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           nestedLocator_ = value;
         }
@@ -1967,6 +2169,8 @@ public Builder mergeNestedLocator(com.google.monitoring.v3.TextLocator value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If `source`, `start_position`, and `end_position` describe a call on
      * some object (e.g. a macro in the time series query language text) and a
@@ -1988,6 +2192,8 @@ public Builder clearNestedLocator() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If `source`, `start_position`, and `end_position` describe a call on
      * some object (e.g. a macro in the time series query language text) and a
@@ -1998,11 +2204,13 @@ public Builder clearNestedLocator() {
      * .google.monitoring.v3.TextLocator nested_locator = 4;
      */
     public com.google.monitoring.v3.TextLocator.Builder getNestedLocatorBuilder() {
-      
+
       onChanged();
       return getNestedLocatorFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If `source`, `start_position`, and `end_position` describe a call on
      * some object (e.g. a macro in the time series query language text) and a
@@ -2016,11 +2224,14 @@ public com.google.monitoring.v3.TextLocatorOrBuilder getNestedLocatorOrBuilder()
       if (nestedLocatorBuilder_ != null) {
         return nestedLocatorBuilder_.getMessageOrBuilder();
       } else {
-        return nestedLocator_ == null ?
-            com.google.monitoring.v3.TextLocator.getDefaultInstance() : nestedLocator_;
+        return nestedLocator_ == null
+            ? com.google.monitoring.v3.TextLocator.getDefaultInstance()
+            : nestedLocator_;
       }
     }
     /**
+     *
+     *
      * 
      * If `source`, `start_position`, and `end_position` describe a call on
      * some object (e.g. a macro in the time series query language text) and a
@@ -2031,14 +2242,17 @@ public com.google.monitoring.v3.TextLocatorOrBuilder getNestedLocatorOrBuilder()
      * .google.monitoring.v3.TextLocator nested_locator = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.monitoring.v3.TextLocator, com.google.monitoring.v3.TextLocator.Builder, com.google.monitoring.v3.TextLocatorOrBuilder> 
+            com.google.monitoring.v3.TextLocator,
+            com.google.monitoring.v3.TextLocator.Builder,
+            com.google.monitoring.v3.TextLocatorOrBuilder>
         getNestedLocatorFieldBuilder() {
       if (nestedLocatorBuilder_ == null) {
-        nestedLocatorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.TextLocator, com.google.monitoring.v3.TextLocator.Builder, com.google.monitoring.v3.TextLocatorOrBuilder>(
-                getNestedLocator(),
-                getParentForChildren(),
-                isClean());
+        nestedLocatorBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.monitoring.v3.TextLocator,
+                com.google.monitoring.v3.TextLocator.Builder,
+                com.google.monitoring.v3.TextLocatorOrBuilder>(
+                getNestedLocator(), getParentForChildren(), isClean());
         nestedLocator_ = null;
       }
       return nestedLocatorBuilder_;
@@ -2046,6 +2260,8 @@ public com.google.monitoring.v3.TextLocatorOrBuilder getNestedLocatorOrBuilder()
 
     private java.lang.Object nestingReason_ = "";
     /**
+     *
+     *
      * 
      * When `nested_locator` is set, this field gives the reason for the nesting.
      * Usually, the reason is a macro invocation. In that case, the macro name
@@ -2056,13 +2272,13 @@ public com.google.monitoring.v3.TextLocatorOrBuilder getNestedLocatorOrBuilder()
      * 
* * string nesting_reason = 5; + * * @return The nestingReason. */ public java.lang.String getNestingReason() { java.lang.Object ref = nestingReason_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nestingReason_ = s; return s; @@ -2071,6 +2287,8 @@ public java.lang.String getNestingReason() { } } /** + * + * *
      * When `nested_locator` is set, this field gives the reason for the nesting.
      * Usually, the reason is a macro invocation. In that case, the macro name
@@ -2081,15 +2299,14 @@ public java.lang.String getNestingReason() {
      * 
* * string nesting_reason = 5; + * * @return The bytes for nestingReason. */ - public com.google.protobuf.ByteString - getNestingReasonBytes() { + public com.google.protobuf.ByteString getNestingReasonBytes() { java.lang.Object ref = nestingReason_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nestingReason_ = b; return b; } else { @@ -2097,6 +2314,8 @@ public java.lang.String getNestingReason() { } } /** + * + * *
      * When `nested_locator` is set, this field gives the reason for the nesting.
      * Usually, the reason is a macro invocation. In that case, the macro name
@@ -2107,20 +2326,22 @@ public java.lang.String getNestingReason() {
      * 
* * string nesting_reason = 5; + * * @param value The nestingReason to set. * @return This builder for chaining. */ - public Builder setNestingReason( - java.lang.String value) { + public Builder setNestingReason(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nestingReason_ = value; onChanged(); return this; } /** + * + * *
      * When `nested_locator` is set, this field gives the reason for the nesting.
      * Usually, the reason is a macro invocation. In that case, the macro name
@@ -2131,15 +2352,18 @@ public Builder setNestingReason(
      * 
* * string nesting_reason = 5; + * * @return This builder for chaining. */ public Builder clearNestingReason() { - + nestingReason_ = getDefaultInstance().getNestingReason(); onChanged(); return this; } /** + * + * *
      * When `nested_locator` is set, this field gives the reason for the nesting.
      * Usually, the reason is a macro invocation. In that case, the macro name
@@ -2150,23 +2374,23 @@ public Builder clearNestingReason() {
      * 
* * string nesting_reason = 5; + * * @param value The bytes for nestingReason to set. * @return This builder for chaining. */ - public Builder setNestingReasonBytes( - com.google.protobuf.ByteString value) { + public Builder setNestingReasonBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nestingReason_ = 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); } @@ -2176,12 +2400,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.TextLocator) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.TextLocator) private static final com.google.monitoring.v3.TextLocator DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.TextLocator(); } @@ -2190,16 +2414,16 @@ public static com.google.monitoring.v3.TextLocator getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TextLocator parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TextLocator(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TextLocator parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TextLocator(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2214,6 +2438,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.TextLocator getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TextLocatorOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TextLocatorOrBuilder.java similarity index 85% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TextLocatorOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TextLocatorOrBuilder.java index cbf6e25a..4e8f1960 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TextLocatorOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TextLocatorOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric.proto package com.google.monitoring.v3; -public interface TextLocatorOrBuilder extends +public interface TextLocatorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.TextLocator) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The source of the text. The source may be a field in the request, in which
    * case its format is the format of the
@@ -19,10 +37,13 @@ public interface TextLocatorOrBuilder extends
    * 
* * string source = 1; + * * @return The source. */ java.lang.String getSource(); /** + * + * *
    * The source of the text. The source may be a field in the request, in which
    * case its format is the format of the
@@ -34,30 +55,38 @@ public interface TextLocatorOrBuilder extends
    * 
* * string source = 1; + * * @return The bytes for source. */ - com.google.protobuf.ByteString - getSourceBytes(); + com.google.protobuf.ByteString getSourceBytes(); /** + * + * *
    * The position of the first byte within the text.
    * 
* * .google.monitoring.v3.TextLocator.Position start_position = 2; + * * @return Whether the startPosition field is set. */ boolean hasStartPosition(); /** + * + * *
    * The position of the first byte within the text.
    * 
* * .google.monitoring.v3.TextLocator.Position start_position = 2; + * * @return The startPosition. */ com.google.monitoring.v3.TextLocator.Position getStartPosition(); /** + * + * *
    * The position of the first byte within the text.
    * 
@@ -67,24 +96,32 @@ public interface TextLocatorOrBuilder extends com.google.monitoring.v3.TextLocator.PositionOrBuilder getStartPositionOrBuilder(); /** + * + * *
    * The position of the last byte within the text.
    * 
* * .google.monitoring.v3.TextLocator.Position end_position = 3; + * * @return Whether the endPosition field is set. */ boolean hasEndPosition(); /** + * + * *
    * The position of the last byte within the text.
    * 
* * .google.monitoring.v3.TextLocator.Position end_position = 3; + * * @return The endPosition. */ com.google.monitoring.v3.TextLocator.Position getEndPosition(); /** + * + * *
    * The position of the last byte within the text.
    * 
@@ -94,6 +131,8 @@ public interface TextLocatorOrBuilder extends com.google.monitoring.v3.TextLocator.PositionOrBuilder getEndPositionOrBuilder(); /** + * + * *
    * If `source`, `start_position`, and `end_position` describe a call on
    * some object (e.g. a macro in the time series query language text) and a
@@ -102,10 +141,13 @@ public interface TextLocatorOrBuilder extends
    * 
* * .google.monitoring.v3.TextLocator nested_locator = 4; + * * @return Whether the nestedLocator field is set. */ boolean hasNestedLocator(); /** + * + * *
    * If `source`, `start_position`, and `end_position` describe a call on
    * some object (e.g. a macro in the time series query language text) and a
@@ -114,10 +156,13 @@ public interface TextLocatorOrBuilder extends
    * 
* * .google.monitoring.v3.TextLocator nested_locator = 4; + * * @return The nestedLocator. */ com.google.monitoring.v3.TextLocator getNestedLocator(); /** + * + * *
    * If `source`, `start_position`, and `end_position` describe a call on
    * some object (e.g. a macro in the time series query language text) and a
@@ -130,6 +175,8 @@ public interface TextLocatorOrBuilder extends
   com.google.monitoring.v3.TextLocatorOrBuilder getNestedLocatorOrBuilder();
 
   /**
+   *
+   *
    * 
    * When `nested_locator` is set, this field gives the reason for the nesting.
    * Usually, the reason is a macro invocation. In that case, the macro name
@@ -140,10 +187,13 @@ public interface TextLocatorOrBuilder extends
    * 
* * string nesting_reason = 5; + * * @return The nestingReason. */ java.lang.String getNestingReason(); /** + * + * *
    * When `nested_locator` is set, this field gives the reason for the nesting.
    * Usually, the reason is a macro invocation. In that case, the macro name
@@ -154,8 +204,8 @@ public interface TextLocatorOrBuilder extends
    * 
* * string nesting_reason = 5; + * * @return The bytes for nestingReason. */ - com.google.protobuf.ByteString - getNestingReasonBytes(); + com.google.protobuf.ByteString getNestingReasonBytes(); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeInterval.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeInterval.java similarity index 75% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeInterval.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeInterval.java index 985c4027..a4c1100f 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeInterval.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeInterval.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/common.proto package com.google.monitoring.v3; /** + * + * *
  * A closed time interval. It extends from the start time to the end time, and includes both: `[startTime, endTime]`. Valid time intervals depend on the [`MetricKind`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors#MetricKind) of the metric value. The end time must not be earlier than the start time. When writing data points, the start time must not be more than 25 hours in the past and the end time must not be more than five minutes in the future.
  * * For `GAUGE` metrics, the `startTime` value is technically optional; if
@@ -33,30 +50,29 @@
  *
  * Protobuf type {@code google.monitoring.v3.TimeInterval}
  */
-public final class TimeInterval extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TimeInterval extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.TimeInterval)
     TimeIntervalOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TimeInterval.newBuilder() to construct.
   private TimeInterval(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private TimeInterval() {
-  }
+
+  private TimeInterval() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TimeInterval();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private TimeInterval(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -75,72 +91,81 @@ private TimeInterval(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (startTime_ != null) {
-              subBuilder = startTime_.toBuilder();
-            }
-            startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(startTime_);
-              startTime_ = subBuilder.buildPartial();
-            }
+          case 10:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (startTime_ != null) {
+                subBuilder = startTime_.toBuilder();
+              }
+              startTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(startTime_);
+                startTime_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (endTime_ != null) {
-              subBuilder = endTime_.toBuilder();
-            }
-            endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(endTime_);
-              endTime_ = subBuilder.buildPartial();
+              break;
             }
+          case 18:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (endTime_ != null) {
+                subBuilder = endTime_.toBuilder();
+              }
+              endTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(endTime_);
+                endTime_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.monitoring.v3.CommonProto.internal_static_google_monitoring_v3_TimeInterval_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.monitoring.v3.CommonProto
+        .internal_static_google_monitoring_v3_TimeInterval_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.monitoring.v3.CommonProto.internal_static_google_monitoring_v3_TimeInterval_fieldAccessorTable
+    return com.google.monitoring.v3.CommonProto
+        .internal_static_google_monitoring_v3_TimeInterval_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.TimeInterval.class, com.google.monitoring.v3.TimeInterval.Builder.class);
+            com.google.monitoring.v3.TimeInterval.class,
+            com.google.monitoring.v3.TimeInterval.Builder.class);
   }
 
   public static final int END_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Timestamp endTime_;
   /**
+   *
+   *
    * 
    * Required. The end of the time interval.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -148,11 +173,14 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * Required. The end of the time interval.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ @java.lang.Override @@ -160,6 +188,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * Required. The end of the time interval.
    * 
@@ -174,6 +204,8 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int START_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp startTime_; /** + * + * *
    * Optional. The beginning of the time interval.  The default value
    * for the start time is the end time. The start time must not be
@@ -181,6 +213,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -188,6 +221,8 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * Optional. The beginning of the time interval.  The default value
    * for the start time is the end time. The start time must not be
@@ -195,6 +230,7 @@ public boolean hasStartTime() {
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ @java.lang.Override @@ -202,6 +238,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * Optional. The beginning of the time interval.  The default value
    * for the start time is the end time. The start time must not be
@@ -216,6 +254,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -227,8 +266,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (startTime_ != null) {
       output.writeMessage(1, getStartTime());
     }
@@ -245,12 +283,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (startTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getStartTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime());
     }
     if (endTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getEndTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -260,7 +296,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.monitoring.v3.TimeInterval)) {
       return super.equals(obj);
@@ -269,13 +305,11 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime()
-          .equals(other.getEndTime())) return false;
+      if (!getEndTime().equals(other.getEndTime())) 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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -301,97 +335,103 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.monitoring.v3.TimeInterval parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.monitoring.v3.TimeInterval parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.monitoring.v3.TimeInterval parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.monitoring.v3.TimeInterval parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.monitoring.v3.TimeInterval parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.monitoring.v3.TimeInterval parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.monitoring.v3.TimeInterval parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.monitoring.v3.TimeInterval parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.monitoring.v3.TimeInterval 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.monitoring.v3.TimeInterval parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.monitoring.v3.TimeInterval parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.monitoring.v3.TimeInterval parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.monitoring.v3.TimeInterval parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.monitoring.v3.TimeInterval parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.monitoring.v3.TimeInterval prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder 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 closed time interval. It extends from the start time to the end time, and includes both: `[startTime, endTime]`. Valid time intervals depend on the [`MetricKind`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors#MetricKind) of the metric value. The end time must not be earlier than the start time. When writing data points, the start time must not be more than 25 hours in the past and the end time must not be more than five minutes in the future.
    * * For `GAUGE` metrics, the `startTime` value is technically optional; if
@@ -421,21 +461,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.monitoring.v3.TimeInterval}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.TimeInterval)
       com.google.monitoring.v3.TimeIntervalOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.monitoring.v3.CommonProto.internal_static_google_monitoring_v3_TimeInterval_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.monitoring.v3.CommonProto
+          .internal_static_google_monitoring_v3_TimeInterval_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.CommonProto.internal_static_google_monitoring_v3_TimeInterval_fieldAccessorTable
+      return com.google.monitoring.v3.CommonProto
+          .internal_static_google_monitoring_v3_TimeInterval_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.TimeInterval.class, com.google.monitoring.v3.TimeInterval.Builder.class);
+              com.google.monitoring.v3.TimeInterval.class,
+              com.google.monitoring.v3.TimeInterval.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.TimeInterval.newBuilder()
@@ -443,16 +485,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -472,9 +513,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.monitoring.v3.CommonProto.internal_static_google_monitoring_v3_TimeInterval_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.monitoring.v3.CommonProto
+          .internal_static_google_monitoring_v3_TimeInterval_descriptor;
     }
 
     @java.lang.Override
@@ -493,7 +534,8 @@ public com.google.monitoring.v3.TimeInterval build() {
 
     @java.lang.Override
     public com.google.monitoring.v3.TimeInterval buildPartial() {
-      com.google.monitoring.v3.TimeInterval result = new com.google.monitoring.v3.TimeInterval(this);
+      com.google.monitoring.v3.TimeInterval result =
+          new com.google.monitoring.v3.TimeInterval(this);
       if (endTimeBuilder_ == null) {
         result.endTime_ = endTime_;
       } else {
@@ -512,38 +554,39 @@ public com.google.monitoring.v3.TimeInterval 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.monitoring.v3.TimeInterval) {
-        return mergeFrom((com.google.monitoring.v3.TimeInterval)other);
+        return mergeFrom((com.google.monitoring.v3.TimeInterval) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -589,24 +632,33 @@ public Builder mergeFrom(
 
     private com.google.protobuf.Timestamp endTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        endTimeBuilder_;
     /**
+     *
+     *
      * 
      * Required. The end of the time interval.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * Required. The end of the time interval.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -617,6 +669,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * Required. The end of the time interval.
      * 
@@ -637,14 +691,15 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. The end of the time interval.
      * 
* * .google.protobuf.Timestamp end_time = 2; */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -655,6 +710,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * Required. The end of the time interval.
      * 
@@ -665,7 +722,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -677,6 +734,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. The end of the time interval.
      * 
@@ -695,6 +754,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * Required. The end of the time interval.
      * 
@@ -702,11 +763,13 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 2; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The end of the time interval.
      * 
@@ -717,11 +780,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * Required. The end of the time interval.
      * 
@@ -729,14 +793,17 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_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> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEndTime(), - getParentForChildren(), - isClean()); + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; @@ -744,8 +811,13 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + startTimeBuilder_; /** + * + * *
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
@@ -753,12 +825,15 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
@@ -766,6 +841,7 @@ public boolean hasStartTime() {
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -776,6 +852,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
@@ -798,6 +876,8 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
@@ -806,8 +886,7 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp start_time = 1;
      */
-    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();
@@ -818,6 +897,8 @@ public Builder setStartTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
@@ -830,7 +911,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;
         }
@@ -842,6 +923,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
@@ -862,6 +945,8 @@ public Builder clearStartTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
@@ -871,11 +956,13 @@ public Builder clearStartTime() {
      * .google.protobuf.Timestamp start_time = 1;
      */
     public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
-      
+
       onChanged();
       return getStartTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
@@ -888,11 +975,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
       if (startTimeBuilder_ != null) {
         return startTimeBuilder_.getMessageOrBuilder();
       } else {
-        return startTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
+        return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Optional. The beginning of the time interval.  The default value
      * for the start time is the end time. The start time must not be
@@ -902,21 +990,24 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * .google.protobuf.Timestamp start_time = 1;
      */
     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);
     }
 
@@ -926,12 +1017,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.monitoring.v3.TimeInterval)
   }
 
   // @@protoc_insertion_point(class_scope:google.monitoring.v3.TimeInterval)
   private static final com.google.monitoring.v3.TimeInterval DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.monitoring.v3.TimeInterval();
   }
@@ -940,16 +1031,16 @@ public static com.google.monitoring.v3.TimeInterval getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public TimeInterval parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new TimeInterval(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public TimeInterval parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new TimeInterval(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -964,6 +1055,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.monitoring.v3.TimeInterval getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeIntervalOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeIntervalOrBuilder.java
similarity index 72%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeIntervalOrBuilder.java
rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeIntervalOrBuilder.java
index 8a2e0ea0..ef0d945f 100644
--- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeIntervalOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeIntervalOrBuilder.java
@@ -1,31 +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/monitoring/v3/common.proto
 
 package com.google.monitoring.v3;
 
-public interface TimeIntervalOrBuilder extends
+public interface TimeIntervalOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.monitoring.v3.TimeInterval)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The end of the time interval.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Required. The end of the time interval.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * Required. The end of the time interval.
    * 
@@ -35,6 +59,8 @@ public interface TimeIntervalOrBuilder extends com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * Optional. The beginning of the time interval.  The default value
    * for the start time is the end time. The start time must not be
@@ -42,10 +68,13 @@ public interface TimeIntervalOrBuilder extends
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * Optional. The beginning of the time interval.  The default value
    * for the start time is the end time. The start time must not be
@@ -53,10 +82,13 @@ public interface TimeIntervalOrBuilder extends
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * Optional. The beginning of the time interval.  The default value
    * for the start time is the end time. The start time must not be
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeries.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeries.java
similarity index 80%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeries.java
rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeries.java
index df714e66..a4eb9103 100644
--- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeries.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeries.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/monitoring/v3/metric.proto
 
 package com.google.monitoring.v3;
 
 /**
+ *
+ *
  * 
  * A collection of data points that describes the time-varying values
  * of a metric. A time series is identified by a combination of a
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.monitoring.v3.TimeSeries}
  */
-public final class TimeSeries extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TimeSeries extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.TimeSeries)
     TimeSeriesOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TimeSeries.newBuilder() to construct.
   private TimeSeries(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private TimeSeries() {
     metricKind_ = 0;
     valueType_ = 0;
@@ -31,16 +49,15 @@ private TimeSeries() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TimeSeries();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private TimeSeries(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -60,86 +77,95 @@ private TimeSeries(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.api.Metric.Builder subBuilder = null;
-            if (metric_ != null) {
-              subBuilder = metric_.toBuilder();
+          case 10:
+            {
+              com.google.api.Metric.Builder subBuilder = null;
+              if (metric_ != null) {
+                subBuilder = metric_.toBuilder();
+              }
+              metric_ = input.readMessage(com.google.api.Metric.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(metric_);
+                metric_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            metric_ = input.readMessage(com.google.api.Metric.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(metric_);
-              metric_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.api.MonitoredResource.Builder subBuilder = null;
+              if (resource_ != null) {
+                subBuilder = resource_.toBuilder();
+              }
+              resource_ =
+                  input.readMessage(com.google.api.MonitoredResource.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(resource_);
+                resource_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 24:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 18: {
-            com.google.api.MonitoredResource.Builder subBuilder = null;
-            if (resource_ != null) {
-              subBuilder = resource_.toBuilder();
-            }
-            resource_ = input.readMessage(com.google.api.MonitoredResource.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(resource_);
-              resource_ = subBuilder.buildPartial();
+              metricKind_ = rawValue;
+              break;
             }
+          case 32:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 24: {
-            int rawValue = input.readEnum();
-
-            metricKind_ = rawValue;
-            break;
-          }
-          case 32: {
-            int rawValue = input.readEnum();
-
-            valueType_ = rawValue;
-            break;
-          }
-          case 42: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              points_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              valueType_ = rawValue;
+              break;
             }
-            points_.add(
-                input.readMessage(com.google.monitoring.v3.Point.parser(), extensionRegistry));
-            break;
-          }
-          case 58: {
-            com.google.api.MonitoredResourceMetadata.Builder subBuilder = null;
-            if (metadata_ != null) {
-              subBuilder = metadata_.toBuilder();
+          case 42:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                points_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              points_.add(
+                  input.readMessage(com.google.monitoring.v3.Point.parser(), extensionRegistry));
+              break;
             }
-            metadata_ = input.readMessage(com.google.api.MonitoredResourceMetadata.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(metadata_);
-              metadata_ = subBuilder.buildPartial();
+          case 58:
+            {
+              com.google.api.MonitoredResourceMetadata.Builder subBuilder = null;
+              if (metadata_ != null) {
+                subBuilder = metadata_.toBuilder();
+              }
+              metadata_ =
+                  input.readMessage(
+                      com.google.api.MonitoredResourceMetadata.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(metadata_);
+                metadata_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 66:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 66: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            unit_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              unit_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         points_ = java.util.Collections.unmodifiableList(points_);
@@ -148,28 +174,34 @@ private TimeSeries(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeries_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.monitoring.v3.MetricProto
+        .internal_static_google_monitoring_v3_TimeSeries_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeries_fieldAccessorTable
+    return com.google.monitoring.v3.MetricProto
+        .internal_static_google_monitoring_v3_TimeSeries_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.TimeSeries.class, com.google.monitoring.v3.TimeSeries.Builder.class);
+            com.google.monitoring.v3.TimeSeries.class,
+            com.google.monitoring.v3.TimeSeries.Builder.class);
   }
 
   public static final int METRIC_FIELD_NUMBER = 1;
   private com.google.api.Metric metric_;
   /**
+   *
+   *
    * 
    * The associated metric. A fully-specified metric used to identify the time
    * series.
    * 
* * .google.api.Metric metric = 1; + * * @return Whether the metric field is set. */ @java.lang.Override @@ -177,12 +209,15 @@ public boolean hasMetric() { return metric_ != null; } /** + * + * *
    * The associated metric. A fully-specified metric used to identify the time
    * series.
    * 
* * .google.api.Metric metric = 1; + * * @return The metric. */ @java.lang.Override @@ -190,6 +225,8 @@ public com.google.api.Metric getMetric() { return metric_ == null ? com.google.api.Metric.getDefaultInstance() : metric_; } /** + * + * *
    * The associated metric. A fully-specified metric used to identify the time
    * series.
@@ -205,6 +242,8 @@ public com.google.api.MetricOrBuilder getMetricOrBuilder() {
   public static final int RESOURCE_FIELD_NUMBER = 2;
   private com.google.api.MonitoredResource resource_;
   /**
+   *
+   *
    * 
    * The associated monitored resource.  Custom metrics can use only certain
    * monitored resource types in their time series data. For more information,
@@ -213,6 +252,7 @@ public com.google.api.MetricOrBuilder getMetricOrBuilder() {
    * 
* * .google.api.MonitoredResource resource = 2; + * * @return Whether the resource field is set. */ @java.lang.Override @@ -220,6 +260,8 @@ public boolean hasResource() { return resource_ != null; } /** + * + * *
    * The associated monitored resource.  Custom metrics can use only certain
    * monitored resource types in their time series data. For more information,
@@ -228,6 +270,7 @@ public boolean hasResource() {
    * 
* * .google.api.MonitoredResource resource = 2; + * * @return The resource. */ @java.lang.Override @@ -235,6 +278,8 @@ public com.google.api.MonitoredResource getResource() { return resource_ == null ? com.google.api.MonitoredResource.getDefaultInstance() : resource_; } /** + * + * *
    * The associated monitored resource.  Custom metrics can use only certain
    * monitored resource types in their time series data. For more information,
@@ -252,6 +297,8 @@ public com.google.api.MonitoredResourceOrBuilder getResourceOrBuilder() {
   public static final int METADATA_FIELD_NUMBER = 7;
   private com.google.api.MonitoredResourceMetadata metadata_;
   /**
+   *
+   *
    * 
    * Output only. The associated monitored resource metadata. When reading a
    * time series, this field will include metadata labels that are explicitly
@@ -259,6 +306,7 @@ public com.google.api.MonitoredResourceOrBuilder getResourceOrBuilder() {
    * 
* * .google.api.MonitoredResourceMetadata metadata = 7; + * * @return Whether the metadata field is set. */ @java.lang.Override @@ -266,6 +314,8 @@ public boolean hasMetadata() { return metadata_ != null; } /** + * + * *
    * Output only. The associated monitored resource metadata. When reading a
    * time series, this field will include metadata labels that are explicitly
@@ -273,13 +323,18 @@ public boolean hasMetadata() {
    * 
* * .google.api.MonitoredResourceMetadata metadata = 7; + * * @return The metadata. */ @java.lang.Override public com.google.api.MonitoredResourceMetadata getMetadata() { - return metadata_ == null ? com.google.api.MonitoredResourceMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.api.MonitoredResourceMetadata.getDefaultInstance() + : metadata_; } /** + * + * *
    * Output only. The associated monitored resource metadata. When reading a
    * time series, this field will include metadata labels that are explicitly
@@ -296,6 +351,8 @@ public com.google.api.MonitoredResourceMetadataOrBuilder getMetadataOrBuilder()
   public static final int METRIC_KIND_FIELD_NUMBER = 3;
   private int metricKind_;
   /**
+   *
+   *
    * 
    * The metric kind of the time series. When listing time series, this metric
    * kind might be different from the metric kind of the associated metric if
@@ -308,12 +365,16 @@ public com.google.api.MonitoredResourceMetadataOrBuilder getMetadataOrBuilder()
    * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; + * * @return The enum numeric value on the wire for metricKind. */ - @java.lang.Override public int getMetricKindValue() { + @java.lang.Override + public int getMetricKindValue() { return metricKind_; } /** + * + * *
    * The metric kind of the time series. When listing time series, this metric
    * kind might be different from the metric kind of the associated metric if
@@ -326,17 +387,22 @@ public com.google.api.MonitoredResourceMetadataOrBuilder getMetadataOrBuilder()
    * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; + * * @return The metricKind. */ - @java.lang.Override public com.google.api.MetricDescriptor.MetricKind getMetricKind() { + @java.lang.Override + public com.google.api.MetricDescriptor.MetricKind getMetricKind() { @SuppressWarnings("deprecation") - com.google.api.MetricDescriptor.MetricKind result = com.google.api.MetricDescriptor.MetricKind.valueOf(metricKind_); + com.google.api.MetricDescriptor.MetricKind result = + com.google.api.MetricDescriptor.MetricKind.valueOf(metricKind_); return result == null ? com.google.api.MetricDescriptor.MetricKind.UNRECOGNIZED : result; } public static final int VALUE_TYPE_FIELD_NUMBER = 4; private int valueType_; /** + * + * *
    * The value type of the time series. When listing time series, this value
    * type might be different from the value type of the associated metric if
@@ -346,12 +412,16 @@ public com.google.api.MonitoredResourceMetadataOrBuilder getMetadataOrBuilder()
    * 
* * .google.api.MetricDescriptor.ValueType value_type = 4; + * * @return The enum numeric value on the wire for valueType. */ - @java.lang.Override public int getValueTypeValue() { + @java.lang.Override + public int getValueTypeValue() { return valueType_; } /** + * + * *
    * The value type of the time series. When listing time series, this value
    * type might be different from the value type of the associated metric if
@@ -361,17 +431,22 @@ public com.google.api.MonitoredResourceMetadataOrBuilder getMetadataOrBuilder()
    * 
* * .google.api.MetricDescriptor.ValueType value_type = 4; + * * @return The valueType. */ - @java.lang.Override public com.google.api.MetricDescriptor.ValueType getValueType() { + @java.lang.Override + public com.google.api.MetricDescriptor.ValueType getValueType() { @SuppressWarnings("deprecation") - com.google.api.MetricDescriptor.ValueType result = com.google.api.MetricDescriptor.ValueType.valueOf(valueType_); + com.google.api.MetricDescriptor.ValueType result = + com.google.api.MetricDescriptor.ValueType.valueOf(valueType_); return result == null ? com.google.api.MetricDescriptor.ValueType.UNRECOGNIZED : result; } public static final int POINTS_FIELD_NUMBER = 5; private java.util.List points_; /** + * + * *
    * The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -389,6 +464,8 @@ public java.util.List getPointsList() {
     return points_;
   }
   /**
+   *
+   *
    * 
    * The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -402,11 +479,13 @@ public java.util.List getPointsList() {
    * repeated .google.monitoring.v3.Point points = 5;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getPointsOrBuilderList() {
     return points_;
   }
   /**
+   *
+   *
    * 
    * The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -424,6 +503,8 @@ public int getPointsCount() {
     return points_.size();
   }
   /**
+   *
+   *
    * 
    * The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -441,6 +522,8 @@ public com.google.monitoring.v3.Point getPoints(int index) {
     return points_.get(index);
   }
   /**
+   *
+   *
    * 
    * The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -454,14 +537,15 @@ public com.google.monitoring.v3.Point getPoints(int index) {
    * repeated .google.monitoring.v3.Point points = 5;
    */
   @java.lang.Override
-  public com.google.monitoring.v3.PointOrBuilder getPointsOrBuilder(
-      int index) {
+  public com.google.monitoring.v3.PointOrBuilder getPointsOrBuilder(int index) {
     return points_.get(index);
   }
 
   public static final int UNIT_FIELD_NUMBER = 8;
   private volatile java.lang.Object unit_;
   /**
+   *
+   *
    * 
    * The units in which the metric value is reported. It is only applicable
    * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
@@ -469,6 +553,7 @@ public com.google.monitoring.v3.PointOrBuilder getPointsOrBuilder(
    * 
* * string unit = 8; + * * @return The unit. */ @java.lang.Override @@ -477,14 +562,15 @@ public java.lang.String getUnit() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); unit_ = s; return s; } } /** + * + * *
    * The units in which the metric value is reported. It is only applicable
    * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
@@ -492,16 +578,15 @@ public java.lang.String getUnit() {
    * 
* * string unit = 8; + * * @return The bytes for unit. */ @java.lang.Override - public com.google.protobuf.ByteString - getUnitBytes() { + public com.google.protobuf.ByteString getUnitBytes() { java.lang.Object ref = unit_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); unit_ = b; return b; } else { @@ -510,6 +595,7 @@ public java.lang.String getUnit() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -521,18 +607,19 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (metric_ != null) { output.writeMessage(1, getMetric()); } if (resource_ != null) { output.writeMessage(2, getResource()); } - if (metricKind_ != com.google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.getNumber()) { + if (metricKind_ + != com.google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.getNumber()) { output.writeEnum(3, metricKind_); } - if (valueType_ != com.google.api.MetricDescriptor.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { + if (valueType_ + != com.google.api.MetricDescriptor.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(4, valueType_); } for (int i = 0; i < points_.size(); i++) { @@ -554,28 +641,24 @@ public int getSerializedSize() { size = 0; if (metric_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getMetric()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMetric()); } if (resource_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getResource()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getResource()); } - if (metricKind_ != com.google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, metricKind_); + if (metricKind_ + != com.google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, metricKind_); } - if (valueType_ != com.google.api.MetricDescriptor.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, valueType_); + if (valueType_ + != com.google.api.MetricDescriptor.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, valueType_); } for (int i = 0; i < points_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, points_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, points_.get(i)); } if (metadata_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getMetadata()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getMetadata()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(unit_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, unit_); @@ -588,7 +671,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.TimeSeries)) { return super.equals(obj); @@ -597,25 +680,20 @@ public boolean equals(final java.lang.Object obj) { if (hasMetric() != other.hasMetric()) return false; if (hasMetric()) { - if (!getMetric() - .equals(other.getMetric())) return false; + if (!getMetric().equals(other.getMetric())) return false; } if (hasResource() != other.hasResource()) return false; if (hasResource()) { - if (!getResource() - .equals(other.getResource())) return false; + if (!getResource().equals(other.getResource())) return false; } if (hasMetadata() != other.hasMetadata()) return false; if (hasMetadata()) { - if (!getMetadata() - .equals(other.getMetadata())) return false; + if (!getMetadata().equals(other.getMetadata())) return false; } if (metricKind_ != other.metricKind_) return false; if (valueType_ != other.valueType_) return false; - if (!getPointsList() - .equals(other.getPointsList())) return false; - if (!getUnit() - .equals(other.getUnit())) return false; + if (!getPointsList().equals(other.getPointsList())) return false; + if (!getUnit().equals(other.getUnit())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -654,97 +732,103 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.TimeSeries parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.TimeSeries parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.TimeSeries parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.TimeSeries parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.monitoring.v3.TimeSeries parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.TimeSeries parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.TimeSeries parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.TimeSeries parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.TimeSeries 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.monitoring.v3.TimeSeries parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.TimeSeries parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.TimeSeries parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.TimeSeries parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.TimeSeries parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.TimeSeries prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 collection of data points that describes the time-varying values
    * of a metric. A time series is identified by a combination of a
@@ -754,21 +838,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.monitoring.v3.TimeSeries}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.TimeSeries)
       com.google.monitoring.v3.TimeSeriesOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeries_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.monitoring.v3.MetricProto
+          .internal_static_google_monitoring_v3_TimeSeries_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeries_fieldAccessorTable
+      return com.google.monitoring.v3.MetricProto
+          .internal_static_google_monitoring_v3_TimeSeries_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.TimeSeries.class, com.google.monitoring.v3.TimeSeries.Builder.class);
+              com.google.monitoring.v3.TimeSeries.class,
+              com.google.monitoring.v3.TimeSeries.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.TimeSeries.newBuilder()
@@ -776,17 +862,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getPointsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -824,9 +910,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeries_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.monitoring.v3.MetricProto
+          .internal_static_google_monitoring_v3_TimeSeries_descriptor;
     }
 
     @java.lang.Override
@@ -882,38 +968,39 @@ public com.google.monitoring.v3.TimeSeries 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.monitoring.v3.TimeSeries) {
-        return mergeFrom((com.google.monitoring.v3.TimeSeries)other);
+        return mergeFrom((com.google.monitoring.v3.TimeSeries) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -955,9 +1042,10 @@ public Builder mergeFrom(com.google.monitoring.v3.TimeSeries other) {
             pointsBuilder_ = null;
             points_ = other.points_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            pointsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getPointsFieldBuilder() : null;
+            pointsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getPointsFieldBuilder()
+                    : null;
           } else {
             pointsBuilder_.addAllMessages(other.points_);
           }
@@ -995,30 +1083,38 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private com.google.api.Metric metric_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.api.Metric, com.google.api.Metric.Builder, com.google.api.MetricOrBuilder> metricBuilder_;
+            com.google.api.Metric, com.google.api.Metric.Builder, com.google.api.MetricOrBuilder>
+        metricBuilder_;
     /**
+     *
+     *
      * 
      * The associated metric. A fully-specified metric used to identify the time
      * series.
      * 
* * .google.api.Metric metric = 1; + * * @return Whether the metric field is set. */ public boolean hasMetric() { return metricBuilder_ != null || metric_ != null; } /** + * + * *
      * The associated metric. A fully-specified metric used to identify the time
      * series.
      * 
* * .google.api.Metric metric = 1; + * * @return The metric. */ public com.google.api.Metric getMetric() { @@ -1029,6 +1125,8 @@ public com.google.api.Metric getMetric() { } } /** + * + * *
      * The associated metric. A fully-specified metric used to identify the time
      * series.
@@ -1050,6 +1148,8 @@ public Builder setMetric(com.google.api.Metric value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The associated metric. A fully-specified metric used to identify the time
      * series.
@@ -1057,8 +1157,7 @@ public Builder setMetric(com.google.api.Metric value) {
      *
      * .google.api.Metric metric = 1;
      */
-    public Builder setMetric(
-        com.google.api.Metric.Builder builderForValue) {
+    public Builder setMetric(com.google.api.Metric.Builder builderForValue) {
       if (metricBuilder_ == null) {
         metric_ = builderForValue.build();
         onChanged();
@@ -1069,6 +1168,8 @@ public Builder setMetric(
       return this;
     }
     /**
+     *
+     *
      * 
      * The associated metric. A fully-specified metric used to identify the time
      * series.
@@ -1079,8 +1180,7 @@ public Builder setMetric(
     public Builder mergeMetric(com.google.api.Metric value) {
       if (metricBuilder_ == null) {
         if (metric_ != null) {
-          metric_ =
-            com.google.api.Metric.newBuilder(metric_).mergeFrom(value).buildPartial();
+          metric_ = com.google.api.Metric.newBuilder(metric_).mergeFrom(value).buildPartial();
         } else {
           metric_ = value;
         }
@@ -1092,6 +1192,8 @@ public Builder mergeMetric(com.google.api.Metric value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The associated metric. A fully-specified metric used to identify the time
      * series.
@@ -1111,6 +1213,8 @@ public Builder clearMetric() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The associated metric. A fully-specified metric used to identify the time
      * series.
@@ -1119,11 +1223,13 @@ public Builder clearMetric() {
      * .google.api.Metric metric = 1;
      */
     public com.google.api.Metric.Builder getMetricBuilder() {
-      
+
       onChanged();
       return getMetricFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The associated metric. A fully-specified metric used to identify the time
      * series.
@@ -1135,11 +1241,12 @@ public com.google.api.MetricOrBuilder getMetricOrBuilder() {
       if (metricBuilder_ != null) {
         return metricBuilder_.getMessageOrBuilder();
       } else {
-        return metric_ == null ?
-            com.google.api.Metric.getDefaultInstance() : metric_;
+        return metric_ == null ? com.google.api.Metric.getDefaultInstance() : metric_;
       }
     }
     /**
+     *
+     *
      * 
      * The associated metric. A fully-specified metric used to identify the time
      * series.
@@ -1148,14 +1255,14 @@ public com.google.api.MetricOrBuilder getMetricOrBuilder() {
      * .google.api.Metric metric = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.api.Metric, com.google.api.Metric.Builder, com.google.api.MetricOrBuilder> 
+            com.google.api.Metric, com.google.api.Metric.Builder, com.google.api.MetricOrBuilder>
         getMetricFieldBuilder() {
       if (metricBuilder_ == null) {
-        metricBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.api.Metric, com.google.api.Metric.Builder, com.google.api.MetricOrBuilder>(
-                getMetric(),
-                getParentForChildren(),
-                isClean());
+        metricBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.api.Metric,
+                com.google.api.Metric.Builder,
+                com.google.api.MetricOrBuilder>(getMetric(), getParentForChildren(), isClean());
         metric_ = null;
       }
       return metricBuilder_;
@@ -1163,8 +1270,13 @@ public com.google.api.MetricOrBuilder getMetricOrBuilder() {
 
     private com.google.api.MonitoredResource resource_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.api.MonitoredResource, com.google.api.MonitoredResource.Builder, com.google.api.MonitoredResourceOrBuilder> resourceBuilder_;
+            com.google.api.MonitoredResource,
+            com.google.api.MonitoredResource.Builder,
+            com.google.api.MonitoredResourceOrBuilder>
+        resourceBuilder_;
     /**
+     *
+     *
      * 
      * The associated monitored resource.  Custom metrics can use only certain
      * monitored resource types in their time series data. For more information,
@@ -1173,12 +1285,15 @@ public com.google.api.MetricOrBuilder getMetricOrBuilder() {
      * 
* * .google.api.MonitoredResource resource = 2; + * * @return Whether the resource field is set. */ public boolean hasResource() { return resourceBuilder_ != null || resource_ != null; } /** + * + * *
      * The associated monitored resource.  Custom metrics can use only certain
      * monitored resource types in their time series data. For more information,
@@ -1187,16 +1302,21 @@ public boolean hasResource() {
      * 
* * .google.api.MonitoredResource resource = 2; + * * @return The resource. */ public com.google.api.MonitoredResource getResource() { if (resourceBuilder_ == null) { - return resource_ == null ? com.google.api.MonitoredResource.getDefaultInstance() : resource_; + return resource_ == null + ? com.google.api.MonitoredResource.getDefaultInstance() + : resource_; } else { return resourceBuilder_.getMessage(); } } /** + * + * *
      * The associated monitored resource.  Custom metrics can use only certain
      * monitored resource types in their time series data. For more information,
@@ -1220,6 +1340,8 @@ public Builder setResource(com.google.api.MonitoredResource value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The associated monitored resource.  Custom metrics can use only certain
      * monitored resource types in their time series data. For more information,
@@ -1229,8 +1351,7 @@ public Builder setResource(com.google.api.MonitoredResource value) {
      *
      * .google.api.MonitoredResource resource = 2;
      */
-    public Builder setResource(
-        com.google.api.MonitoredResource.Builder builderForValue) {
+    public Builder setResource(com.google.api.MonitoredResource.Builder builderForValue) {
       if (resourceBuilder_ == null) {
         resource_ = builderForValue.build();
         onChanged();
@@ -1241,6 +1362,8 @@ public Builder setResource(
       return this;
     }
     /**
+     *
+     *
      * 
      * The associated monitored resource.  Custom metrics can use only certain
      * monitored resource types in their time series data. For more information,
@@ -1254,7 +1377,9 @@ public Builder mergeResource(com.google.api.MonitoredResource value) {
       if (resourceBuilder_ == null) {
         if (resource_ != null) {
           resource_ =
-            com.google.api.MonitoredResource.newBuilder(resource_).mergeFrom(value).buildPartial();
+              com.google.api.MonitoredResource.newBuilder(resource_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           resource_ = value;
         }
@@ -1266,6 +1391,8 @@ public Builder mergeResource(com.google.api.MonitoredResource value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The associated monitored resource.  Custom metrics can use only certain
      * monitored resource types in their time series data. For more information,
@@ -1287,6 +1414,8 @@ public Builder clearResource() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The associated monitored resource.  Custom metrics can use only certain
      * monitored resource types in their time series data. For more information,
@@ -1297,11 +1426,13 @@ public Builder clearResource() {
      * .google.api.MonitoredResource resource = 2;
      */
     public com.google.api.MonitoredResource.Builder getResourceBuilder() {
-      
+
       onChanged();
       return getResourceFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The associated monitored resource.  Custom metrics can use only certain
      * monitored resource types in their time series data. For more information,
@@ -1315,11 +1446,14 @@ public com.google.api.MonitoredResourceOrBuilder getResourceOrBuilder() {
       if (resourceBuilder_ != null) {
         return resourceBuilder_.getMessageOrBuilder();
       } else {
-        return resource_ == null ?
-            com.google.api.MonitoredResource.getDefaultInstance() : resource_;
+        return resource_ == null
+            ? com.google.api.MonitoredResource.getDefaultInstance()
+            : resource_;
       }
     }
     /**
+     *
+     *
      * 
      * The associated monitored resource.  Custom metrics can use only certain
      * monitored resource types in their time series data. For more information,
@@ -1330,14 +1464,17 @@ public com.google.api.MonitoredResourceOrBuilder getResourceOrBuilder() {
      * .google.api.MonitoredResource resource = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.api.MonitoredResource, com.google.api.MonitoredResource.Builder, com.google.api.MonitoredResourceOrBuilder> 
+            com.google.api.MonitoredResource,
+            com.google.api.MonitoredResource.Builder,
+            com.google.api.MonitoredResourceOrBuilder>
         getResourceFieldBuilder() {
       if (resourceBuilder_ == null) {
-        resourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.api.MonitoredResource, com.google.api.MonitoredResource.Builder, com.google.api.MonitoredResourceOrBuilder>(
-                getResource(),
-                getParentForChildren(),
-                isClean());
+        resourceBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.api.MonitoredResource,
+                com.google.api.MonitoredResource.Builder,
+                com.google.api.MonitoredResourceOrBuilder>(
+                getResource(), getParentForChildren(), isClean());
         resource_ = null;
       }
       return resourceBuilder_;
@@ -1345,8 +1482,13 @@ public com.google.api.MonitoredResourceOrBuilder getResourceOrBuilder() {
 
     private com.google.api.MonitoredResourceMetadata metadata_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.api.MonitoredResourceMetadata, com.google.api.MonitoredResourceMetadata.Builder, com.google.api.MonitoredResourceMetadataOrBuilder> metadataBuilder_;
+            com.google.api.MonitoredResourceMetadata,
+            com.google.api.MonitoredResourceMetadata.Builder,
+            com.google.api.MonitoredResourceMetadataOrBuilder>
+        metadataBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The associated monitored resource metadata. When reading a
      * time series, this field will include metadata labels that are explicitly
@@ -1354,12 +1496,15 @@ public com.google.api.MonitoredResourceOrBuilder getResourceOrBuilder() {
      * 
* * .google.api.MonitoredResourceMetadata metadata = 7; + * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** + * + * *
      * Output only. The associated monitored resource metadata. When reading a
      * time series, this field will include metadata labels that are explicitly
@@ -1367,16 +1512,21 @@ public boolean hasMetadata() {
      * 
* * .google.api.MonitoredResourceMetadata metadata = 7; + * * @return The metadata. */ public com.google.api.MonitoredResourceMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null ? com.google.api.MonitoredResourceMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.api.MonitoredResourceMetadata.getDefaultInstance() + : metadata_; } else { return metadataBuilder_.getMessage(); } } /** + * + * *
      * Output only. The associated monitored resource metadata. When reading a
      * time series, this field will include metadata labels that are explicitly
@@ -1399,6 +1549,8 @@ public Builder setMetadata(com.google.api.MonitoredResourceMetadata value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The associated monitored resource metadata. When reading a
      * time series, this field will include metadata labels that are explicitly
@@ -1407,8 +1559,7 @@ public Builder setMetadata(com.google.api.MonitoredResourceMetadata value) {
      *
      * .google.api.MonitoredResourceMetadata metadata = 7;
      */
-    public Builder setMetadata(
-        com.google.api.MonitoredResourceMetadata.Builder builderForValue) {
+    public Builder setMetadata(com.google.api.MonitoredResourceMetadata.Builder builderForValue) {
       if (metadataBuilder_ == null) {
         metadata_ = builderForValue.build();
         onChanged();
@@ -1419,6 +1570,8 @@ public Builder setMetadata(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The associated monitored resource metadata. When reading a
      * time series, this field will include metadata labels that are explicitly
@@ -1431,7 +1584,9 @@ public Builder mergeMetadata(com.google.api.MonitoredResourceMetadata value) {
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-            com.google.api.MonitoredResourceMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
+              com.google.api.MonitoredResourceMetadata.newBuilder(metadata_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           metadata_ = value;
         }
@@ -1443,6 +1598,8 @@ public Builder mergeMetadata(com.google.api.MonitoredResourceMetadata value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The associated monitored resource metadata. When reading a
      * time series, this field will include metadata labels that are explicitly
@@ -1463,6 +1620,8 @@ public Builder clearMetadata() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The associated monitored resource metadata. When reading a
      * time series, this field will include metadata labels that are explicitly
@@ -1472,11 +1631,13 @@ public Builder clearMetadata() {
      * .google.api.MonitoredResourceMetadata metadata = 7;
      */
     public com.google.api.MonitoredResourceMetadata.Builder getMetadataBuilder() {
-      
+
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The associated monitored resource metadata. When reading a
      * time series, this field will include metadata labels that are explicitly
@@ -1489,11 +1650,14 @@ public com.google.api.MonitoredResourceMetadataOrBuilder getMetadataOrBuilder()
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null ?
-            com.google.api.MonitoredResourceMetadata.getDefaultInstance() : metadata_;
+        return metadata_ == null
+            ? com.google.api.MonitoredResourceMetadata.getDefaultInstance()
+            : metadata_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The associated monitored resource metadata. When reading a
      * time series, this field will include metadata labels that are explicitly
@@ -1503,14 +1667,17 @@ public com.google.api.MonitoredResourceMetadataOrBuilder getMetadataOrBuilder()
      * .google.api.MonitoredResourceMetadata metadata = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.api.MonitoredResourceMetadata, com.google.api.MonitoredResourceMetadata.Builder, com.google.api.MonitoredResourceMetadataOrBuilder> 
+            com.google.api.MonitoredResourceMetadata,
+            com.google.api.MonitoredResourceMetadata.Builder,
+            com.google.api.MonitoredResourceMetadataOrBuilder>
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.api.MonitoredResourceMetadata, com.google.api.MonitoredResourceMetadata.Builder, com.google.api.MonitoredResourceMetadataOrBuilder>(
-                getMetadata(),
-                getParentForChildren(),
-                isClean());
+        metadataBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.api.MonitoredResourceMetadata,
+                com.google.api.MonitoredResourceMetadata.Builder,
+                com.google.api.MonitoredResourceMetadataOrBuilder>(
+                getMetadata(), getParentForChildren(), isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
@@ -1518,6 +1685,8 @@ public com.google.api.MonitoredResourceMetadataOrBuilder getMetadataOrBuilder()
 
     private int metricKind_ = 0;
     /**
+     *
+     *
      * 
      * The metric kind of the time series. When listing time series, this metric
      * kind might be different from the metric kind of the associated metric if
@@ -1530,12 +1699,16 @@ public com.google.api.MonitoredResourceMetadataOrBuilder getMetadataOrBuilder()
      * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; + * * @return The enum numeric value on the wire for metricKind. */ - @java.lang.Override public int getMetricKindValue() { + @java.lang.Override + public int getMetricKindValue() { return metricKind_; } /** + * + * *
      * The metric kind of the time series. When listing time series, this metric
      * kind might be different from the metric kind of the associated metric if
@@ -1548,16 +1721,19 @@ public com.google.api.MonitoredResourceMetadataOrBuilder getMetadataOrBuilder()
      * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; + * * @param value The enum numeric value on the wire for metricKind to set. * @return This builder for chaining. */ public Builder setMetricKindValue(int value) { - + metricKind_ = value; onChanged(); return this; } /** + * + * *
      * The metric kind of the time series. When listing time series, this metric
      * kind might be different from the metric kind of the associated metric if
@@ -1570,15 +1746,19 @@ public Builder setMetricKindValue(int value) {
      * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; + * * @return The metricKind. */ @java.lang.Override public com.google.api.MetricDescriptor.MetricKind getMetricKind() { @SuppressWarnings("deprecation") - com.google.api.MetricDescriptor.MetricKind result = com.google.api.MetricDescriptor.MetricKind.valueOf(metricKind_); + com.google.api.MetricDescriptor.MetricKind result = + com.google.api.MetricDescriptor.MetricKind.valueOf(metricKind_); return result == null ? com.google.api.MetricDescriptor.MetricKind.UNRECOGNIZED : result; } /** + * + * *
      * The metric kind of the time series. When listing time series, this metric
      * kind might be different from the metric kind of the associated metric if
@@ -1591,6 +1771,7 @@ public com.google.api.MetricDescriptor.MetricKind getMetricKind() {
      * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; + * * @param value The metricKind to set. * @return This builder for chaining. */ @@ -1598,12 +1779,14 @@ public Builder setMetricKind(com.google.api.MetricDescriptor.MetricKind value) { if (value == null) { throw new NullPointerException(); } - + metricKind_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The metric kind of the time series. When listing time series, this metric
      * kind might be different from the metric kind of the associated metric if
@@ -1616,10 +1799,11 @@ public Builder setMetricKind(com.google.api.MetricDescriptor.MetricKind value) {
      * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; + * * @return This builder for chaining. */ public Builder clearMetricKind() { - + metricKind_ = 0; onChanged(); return this; @@ -1627,6 +1811,8 @@ public Builder clearMetricKind() { private int valueType_ = 0; /** + * + * *
      * The value type of the time series. When listing time series, this value
      * type might be different from the value type of the associated metric if
@@ -1636,12 +1822,16 @@ public Builder clearMetricKind() {
      * 
* * .google.api.MetricDescriptor.ValueType value_type = 4; + * * @return The enum numeric value on the wire for valueType. */ - @java.lang.Override public int getValueTypeValue() { + @java.lang.Override + public int getValueTypeValue() { return valueType_; } /** + * + * *
      * The value type of the time series. When listing time series, this value
      * type might be different from the value type of the associated metric if
@@ -1651,16 +1841,19 @@ public Builder clearMetricKind() {
      * 
* * .google.api.MetricDescriptor.ValueType value_type = 4; + * * @param value The enum numeric value on the wire for valueType to set. * @return This builder for chaining. */ public Builder setValueTypeValue(int value) { - + valueType_ = value; onChanged(); return this; } /** + * + * *
      * The value type of the time series. When listing time series, this value
      * type might be different from the value type of the associated metric if
@@ -1670,15 +1863,19 @@ public Builder setValueTypeValue(int value) {
      * 
* * .google.api.MetricDescriptor.ValueType value_type = 4; + * * @return The valueType. */ @java.lang.Override public com.google.api.MetricDescriptor.ValueType getValueType() { @SuppressWarnings("deprecation") - com.google.api.MetricDescriptor.ValueType result = com.google.api.MetricDescriptor.ValueType.valueOf(valueType_); + com.google.api.MetricDescriptor.ValueType result = + com.google.api.MetricDescriptor.ValueType.valueOf(valueType_); return result == null ? com.google.api.MetricDescriptor.ValueType.UNRECOGNIZED : result; } /** + * + * *
      * The value type of the time series. When listing time series, this value
      * type might be different from the value type of the associated metric if
@@ -1688,6 +1885,7 @@ public com.google.api.MetricDescriptor.ValueType getValueType() {
      * 
* * .google.api.MetricDescriptor.ValueType value_type = 4; + * * @param value The valueType to set. * @return This builder for chaining. */ @@ -1695,12 +1893,14 @@ public Builder setValueType(com.google.api.MetricDescriptor.ValueType value) { if (value == null) { throw new NullPointerException(); } - + valueType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The value type of the time series. When listing time series, this value
      * type might be different from the value type of the associated metric if
@@ -1710,28 +1910,35 @@ public Builder setValueType(com.google.api.MetricDescriptor.ValueType value) {
      * 
* * .google.api.MetricDescriptor.ValueType value_type = 4; + * * @return This builder for chaining. */ public Builder clearValueType() { - + valueType_ = 0; onChanged(); return this; } private java.util.List points_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePointsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { points_ = new java.util.ArrayList(points_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.Point, com.google.monitoring.v3.Point.Builder, com.google.monitoring.v3.PointOrBuilder> pointsBuilder_; + com.google.monitoring.v3.Point, + com.google.monitoring.v3.Point.Builder, + com.google.monitoring.v3.PointOrBuilder> + pointsBuilder_; /** + * + * *
      * The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1752,6 +1959,8 @@ public java.util.List getPointsList() {
       }
     }
     /**
+     *
+     *
      * 
      * The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1772,6 +1981,8 @@ public int getPointsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1792,6 +2003,8 @@ public com.google.monitoring.v3.Point getPoints(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1804,8 +2017,7 @@ public com.google.monitoring.v3.Point getPoints(int index) {
      *
      * repeated .google.monitoring.v3.Point points = 5;
      */
-    public Builder setPoints(
-        int index, com.google.monitoring.v3.Point value) {
+    public Builder setPoints(int index, com.google.monitoring.v3.Point value) {
       if (pointsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1819,6 +2031,8 @@ public Builder setPoints(
       return this;
     }
     /**
+     *
+     *
      * 
      * The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1831,8 +2045,7 @@ public Builder setPoints(
      *
      * repeated .google.monitoring.v3.Point points = 5;
      */
-    public Builder setPoints(
-        int index, com.google.monitoring.v3.Point.Builder builderForValue) {
+    public Builder setPoints(int index, com.google.monitoring.v3.Point.Builder builderForValue) {
       if (pointsBuilder_ == null) {
         ensurePointsIsMutable();
         points_.set(index, builderForValue.build());
@@ -1843,6 +2056,8 @@ public Builder setPoints(
       return this;
     }
     /**
+     *
+     *
      * 
      * The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1869,6 +2084,8 @@ public Builder addPoints(com.google.monitoring.v3.Point value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1881,8 +2098,7 @@ public Builder addPoints(com.google.monitoring.v3.Point value) {
      *
      * repeated .google.monitoring.v3.Point points = 5;
      */
-    public Builder addPoints(
-        int index, com.google.monitoring.v3.Point value) {
+    public Builder addPoints(int index, com.google.monitoring.v3.Point value) {
       if (pointsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1896,6 +2112,8 @@ public Builder addPoints(
       return this;
     }
     /**
+     *
+     *
      * 
      * The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1908,8 +2126,7 @@ public Builder addPoints(
      *
      * repeated .google.monitoring.v3.Point points = 5;
      */
-    public Builder addPoints(
-        com.google.monitoring.v3.Point.Builder builderForValue) {
+    public Builder addPoints(com.google.monitoring.v3.Point.Builder builderForValue) {
       if (pointsBuilder_ == null) {
         ensurePointsIsMutable();
         points_.add(builderForValue.build());
@@ -1920,6 +2137,8 @@ public Builder addPoints(
       return this;
     }
     /**
+     *
+     *
      * 
      * The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1932,8 +2151,7 @@ public Builder addPoints(
      *
      * repeated .google.monitoring.v3.Point points = 5;
      */
-    public Builder addPoints(
-        int index, com.google.monitoring.v3.Point.Builder builderForValue) {
+    public Builder addPoints(int index, com.google.monitoring.v3.Point.Builder builderForValue) {
       if (pointsBuilder_ == null) {
         ensurePointsIsMutable();
         points_.add(index, builderForValue.build());
@@ -1944,6 +2162,8 @@ public Builder addPoints(
       return this;
     }
     /**
+     *
+     *
      * 
      * The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1960,8 +2180,7 @@ public Builder addAllPoints(
         java.lang.Iterable values) {
       if (pointsBuilder_ == null) {
         ensurePointsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, points_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, points_);
         onChanged();
       } else {
         pointsBuilder_.addAllMessages(values);
@@ -1969,6 +2188,8 @@ public Builder addAllPoints(
       return this;
     }
     /**
+     *
+     *
      * 
      * The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -1992,6 +2213,8 @@ public Builder clearPoints() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -2015,6 +2238,8 @@ public Builder removePoints(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -2027,11 +2252,12 @@ public Builder removePoints(int index) {
      *
      * repeated .google.monitoring.v3.Point points = 5;
      */
-    public com.google.monitoring.v3.Point.Builder getPointsBuilder(
-        int index) {
+    public com.google.monitoring.v3.Point.Builder getPointsBuilder(int index) {
       return getPointsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -2044,14 +2270,16 @@ public com.google.monitoring.v3.Point.Builder getPointsBuilder(
      *
      * repeated .google.monitoring.v3.Point points = 5;
      */
-    public com.google.monitoring.v3.PointOrBuilder getPointsOrBuilder(
-        int index) {
+    public com.google.monitoring.v3.PointOrBuilder getPointsOrBuilder(int index) {
       if (pointsBuilder_ == null) {
-        return points_.get(index);  } else {
+        return points_.get(index);
+      } else {
         return pointsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -2064,8 +2292,8 @@ public com.google.monitoring.v3.PointOrBuilder getPointsOrBuilder(
      *
      * repeated .google.monitoring.v3.Point points = 5;
      */
-    public java.util.List 
-         getPointsOrBuilderList() {
+    public java.util.List
+        getPointsOrBuilderList() {
       if (pointsBuilder_ != null) {
         return pointsBuilder_.getMessageOrBuilderList();
       } else {
@@ -2073,6 +2301,8 @@ public com.google.monitoring.v3.PointOrBuilder getPointsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -2086,10 +2316,12 @@ public com.google.monitoring.v3.PointOrBuilder getPointsOrBuilder(
      * repeated .google.monitoring.v3.Point points = 5;
      */
     public com.google.monitoring.v3.Point.Builder addPointsBuilder() {
-      return getPointsFieldBuilder().addBuilder(
-          com.google.monitoring.v3.Point.getDefaultInstance());
+      return getPointsFieldBuilder()
+          .addBuilder(com.google.monitoring.v3.Point.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -2102,12 +2334,13 @@ public com.google.monitoring.v3.Point.Builder addPointsBuilder() {
      *
      * repeated .google.monitoring.v3.Point points = 5;
      */
-    public com.google.monitoring.v3.Point.Builder addPointsBuilder(
-        int index) {
-      return getPointsFieldBuilder().addBuilder(
-          index, com.google.monitoring.v3.Point.getDefaultInstance());
+    public com.google.monitoring.v3.Point.Builder addPointsBuilder(int index) {
+      return getPointsFieldBuilder()
+          .addBuilder(index, com.google.monitoring.v3.Point.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The data points of this time series. When listing time series, points are
      * returned in reverse time order.
@@ -2120,20 +2353,22 @@ public com.google.monitoring.v3.Point.Builder addPointsBuilder(
      *
      * repeated .google.monitoring.v3.Point points = 5;
      */
-    public java.util.List 
-         getPointsBuilderList() {
+    public java.util.List getPointsBuilderList() {
       return getPointsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.monitoring.v3.Point, com.google.monitoring.v3.Point.Builder, com.google.monitoring.v3.PointOrBuilder> 
+            com.google.monitoring.v3.Point,
+            com.google.monitoring.v3.Point.Builder,
+            com.google.monitoring.v3.PointOrBuilder>
         getPointsFieldBuilder() {
       if (pointsBuilder_ == null) {
-        pointsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.monitoring.v3.Point, com.google.monitoring.v3.Point.Builder, com.google.monitoring.v3.PointOrBuilder>(
-                points_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        pointsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.monitoring.v3.Point,
+                com.google.monitoring.v3.Point.Builder,
+                com.google.monitoring.v3.PointOrBuilder>(
+                points_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         points_ = null;
       }
       return pointsBuilder_;
@@ -2141,6 +2376,8 @@ public com.google.monitoring.v3.Point.Builder addPointsBuilder(
 
     private java.lang.Object unit_ = "";
     /**
+     *
+     *
      * 
      * The units in which the metric value is reported. It is only applicable
      * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
@@ -2148,13 +2385,13 @@ public com.google.monitoring.v3.Point.Builder addPointsBuilder(
      * 
* * string unit = 8; + * * @return The unit. */ public java.lang.String getUnit() { java.lang.Object ref = unit_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); unit_ = s; return s; @@ -2163,6 +2400,8 @@ public java.lang.String getUnit() { } } /** + * + * *
      * The units in which the metric value is reported. It is only applicable
      * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
@@ -2170,15 +2409,14 @@ public java.lang.String getUnit() {
      * 
* * string unit = 8; + * * @return The bytes for unit. */ - public com.google.protobuf.ByteString - getUnitBytes() { + public com.google.protobuf.ByteString getUnitBytes() { java.lang.Object ref = unit_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); unit_ = b; return b; } else { @@ -2186,6 +2424,8 @@ public java.lang.String getUnit() { } } /** + * + * *
      * The units in which the metric value is reported. It is only applicable
      * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
@@ -2193,20 +2433,22 @@ public java.lang.String getUnit() {
      * 
* * string unit = 8; + * * @param value The unit to set. * @return This builder for chaining. */ - public Builder setUnit( - java.lang.String value) { + public Builder setUnit(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + unit_ = value; onChanged(); return this; } /** + * + * *
      * The units in which the metric value is reported. It is only applicable
      * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
@@ -2214,15 +2456,18 @@ public Builder setUnit(
      * 
* * string unit = 8; + * * @return This builder for chaining. */ public Builder clearUnit() { - + unit_ = getDefaultInstance().getUnit(); onChanged(); return this; } /** + * + * *
      * The units in which the metric value is reported. It is only applicable
      * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
@@ -2230,23 +2475,23 @@ public Builder clearUnit() {
      * 
* * string unit = 8; + * * @param value The bytes for unit to set. * @return This builder for chaining. */ - public Builder setUnitBytes( - com.google.protobuf.ByteString value) { + public Builder setUnitBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + unit_ = 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); } @@ -2256,12 +2501,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.TimeSeries) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.TimeSeries) private static final com.google.monitoring.v3.TimeSeries DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.TimeSeries(); } @@ -2270,16 +2515,16 @@ public static com.google.monitoring.v3.TimeSeries getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimeSeries parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TimeSeries(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimeSeries parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TimeSeries(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2294,6 +2539,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.TimeSeries getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesData.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesData.java similarity index 78% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesData.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesData.java index f519d3b5..a18cf932 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesData.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesData.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric.proto package com.google.monitoring.v3; /** + * + * *
  * Represents the values of a time series associated with a
  * TimeSeriesDescriptor.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.monitoring.v3.TimeSeriesData}
  */
-public final class TimeSeriesData extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TimeSeriesData extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.TimeSeriesData)
     TimeSeriesDataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TimeSeriesData.newBuilder() to construct.
   private TimeSeriesData(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private TimeSeriesData() {
     labelValues_ = java.util.Collections.emptyList();
     pointData_ = java.util.Collections.emptyList();
@@ -27,16 +45,15 @@ private TimeSeriesData() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TimeSeriesData();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private TimeSeriesData(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,38 +73,43 @@ private TimeSeriesData(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              labelValues_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                labelValues_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              labelValues_.add(
+                  input.readMessage(
+                      com.google.monitoring.v3.LabelValue.parser(), extensionRegistry));
+              break;
             }
-            labelValues_.add(
-                input.readMessage(com.google.monitoring.v3.LabelValue.parser(), extensionRegistry));
-            break;
-          }
-          case 18: {
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              pointData_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000002;
+          case 18:
+            {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                pointData_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000002;
+              }
+              pointData_.add(
+                  input.readMessage(
+                      com.google.monitoring.v3.TimeSeriesData.PointData.parser(),
+                      extensionRegistry));
+              break;
             }
-            pointData_.add(
-                input.readMessage(com.google.monitoring.v3.TimeSeriesData.PointData.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         labelValues_ = java.util.Collections.unmodifiableList(labelValues_);
@@ -99,33 +121,40 @@ private TimeSeriesData(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeriesData_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.monitoring.v3.MetricProto
+        .internal_static_google_monitoring_v3_TimeSeriesData_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeriesData_fieldAccessorTable
+    return com.google.monitoring.v3.MetricProto
+        .internal_static_google_monitoring_v3_TimeSeriesData_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.TimeSeriesData.class, com.google.monitoring.v3.TimeSeriesData.Builder.class);
+            com.google.monitoring.v3.TimeSeriesData.class,
+            com.google.monitoring.v3.TimeSeriesData.Builder.class);
   }
 
-  public interface PointDataOrBuilder extends
+  public interface PointDataOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.monitoring.v3.TimeSeriesData.PointData)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The values that make up the point.
      * 
* * repeated .google.monitoring.v3.TypedValue values = 1; */ - java.util.List - getValuesList(); + java.util.List getValuesList(); /** + * + * *
      * The values that make up the point.
      * 
@@ -134,6 +163,8 @@ public interface PointDataOrBuilder extends */ com.google.monitoring.v3.TypedValue getValues(int index); /** + * + * *
      * The values that make up the point.
      * 
@@ -142,43 +173,53 @@ public interface PointDataOrBuilder extends */ int getValuesCount(); /** + * + * *
      * The values that make up the point.
      * 
* * repeated .google.monitoring.v3.TypedValue values = 1; */ - java.util.List - getValuesOrBuilderList(); + java.util.List getValuesOrBuilderList(); /** + * + * *
      * The values that make up the point.
      * 
* * repeated .google.monitoring.v3.TypedValue values = 1; */ - com.google.monitoring.v3.TypedValueOrBuilder getValuesOrBuilder( - int index); + com.google.monitoring.v3.TypedValueOrBuilder getValuesOrBuilder(int index); /** + * + * *
      * The time interval associated with the point.
      * 
* * .google.monitoring.v3.TimeInterval time_interval = 2; + * * @return Whether the timeInterval field is set. */ boolean hasTimeInterval(); /** + * + * *
      * The time interval associated with the point.
      * 
* * .google.monitoring.v3.TimeInterval time_interval = 2; + * * @return The timeInterval. */ com.google.monitoring.v3.TimeInterval getTimeInterval(); /** + * + * *
      * The time interval associated with the point.
      * 
@@ -188,6 +229,8 @@ com.google.monitoring.v3.TypedValueOrBuilder getValuesOrBuilder( com.google.monitoring.v3.TimeIntervalOrBuilder getTimeIntervalOrBuilder(); } /** + * + * *
    * A point's value columns and time interval. Each point has one or more
    * point values corresponding to the entries in `point_descriptors` field in
@@ -196,31 +239,31 @@ com.google.monitoring.v3.TypedValueOrBuilder getValuesOrBuilder(
    *
    * Protobuf type {@code google.monitoring.v3.TimeSeriesData.PointData}
    */
-  public static final class PointData extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class PointData extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.monitoring.v3.TimeSeriesData.PointData)
       PointDataOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use PointData.newBuilder() to construct.
     private PointData(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private PointData() {
       values_ = 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 PointData();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private PointData(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -240,42 +283,46 @@ private PointData(
             case 0:
               done = true;
               break;
-            case 10: {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                values_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
+            case 10:
+              {
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  values_ = new java.util.ArrayList();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                values_.add(
+                    input.readMessage(
+                        com.google.monitoring.v3.TypedValue.parser(), extensionRegistry));
+                break;
               }
-              values_.add(
-                  input.readMessage(com.google.monitoring.v3.TypedValue.parser(), extensionRegistry));
-              break;
-            }
-            case 18: {
-              com.google.monitoring.v3.TimeInterval.Builder subBuilder = null;
-              if (timeInterval_ != null) {
-                subBuilder = timeInterval_.toBuilder();
+            case 18:
+              {
+                com.google.monitoring.v3.TimeInterval.Builder subBuilder = null;
+                if (timeInterval_ != null) {
+                  subBuilder = timeInterval_.toBuilder();
+                }
+                timeInterval_ =
+                    input.readMessage(
+                        com.google.monitoring.v3.TimeInterval.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(timeInterval_);
+                  timeInterval_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
-              timeInterval_ = input.readMessage(com.google.monitoring.v3.TimeInterval.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(timeInterval_);
-                timeInterval_ = subBuilder.buildPartial();
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           values_ = java.util.Collections.unmodifiableList(values_);
@@ -284,22 +331,27 @@ private PointData(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeriesData_PointData_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.monitoring.v3.MetricProto
+          .internal_static_google_monitoring_v3_TimeSeriesData_PointData_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeriesData_PointData_fieldAccessorTable
+      return com.google.monitoring.v3.MetricProto
+          .internal_static_google_monitoring_v3_TimeSeriesData_PointData_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.TimeSeriesData.PointData.class, com.google.monitoring.v3.TimeSeriesData.PointData.Builder.class);
+              com.google.monitoring.v3.TimeSeriesData.PointData.class,
+              com.google.monitoring.v3.TimeSeriesData.PointData.Builder.class);
     }
 
     public static final int VALUES_FIELD_NUMBER = 1;
     private java.util.List values_;
     /**
+     *
+     *
      * 
      * The values that make up the point.
      * 
@@ -311,6 +363,8 @@ public java.util.List getValuesList() { return values_; } /** + * + * *
      * The values that make up the point.
      * 
@@ -318,11 +372,13 @@ public java.util.List getValuesList() { * repeated .google.monitoring.v3.TypedValue values = 1; */ @java.lang.Override - public java.util.List + public java.util.List getValuesOrBuilderList() { return values_; } /** + * + * *
      * The values that make up the point.
      * 
@@ -334,6 +390,8 @@ public int getValuesCount() { return values_.size(); } /** + * + * *
      * The values that make up the point.
      * 
@@ -345,6 +403,8 @@ public com.google.monitoring.v3.TypedValue getValues(int index) { return values_.get(index); } /** + * + * *
      * The values that make up the point.
      * 
@@ -352,19 +412,21 @@ public com.google.monitoring.v3.TypedValue getValues(int index) { * repeated .google.monitoring.v3.TypedValue values = 1; */ @java.lang.Override - public com.google.monitoring.v3.TypedValueOrBuilder getValuesOrBuilder( - int index) { + public com.google.monitoring.v3.TypedValueOrBuilder getValuesOrBuilder(int index) { return values_.get(index); } public static final int TIME_INTERVAL_FIELD_NUMBER = 2; private com.google.monitoring.v3.TimeInterval timeInterval_; /** + * + * *
      * The time interval associated with the point.
      * 
* * .google.monitoring.v3.TimeInterval time_interval = 2; + * * @return Whether the timeInterval field is set. */ @java.lang.Override @@ -372,18 +434,25 @@ public boolean hasTimeInterval() { return timeInterval_ != null; } /** + * + * *
      * The time interval associated with the point.
      * 
* * .google.monitoring.v3.TimeInterval time_interval = 2; + * * @return The timeInterval. */ @java.lang.Override public com.google.monitoring.v3.TimeInterval getTimeInterval() { - return timeInterval_ == null ? com.google.monitoring.v3.TimeInterval.getDefaultInstance() : timeInterval_; + return timeInterval_ == null + ? com.google.monitoring.v3.TimeInterval.getDefaultInstance() + : timeInterval_; } /** + * + * *
      * The time interval associated with the point.
      * 
@@ -396,6 +465,7 @@ public com.google.monitoring.v3.TimeIntervalOrBuilder getTimeIntervalOrBuilder() } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -407,8 +477,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < values_.size(); i++) { output.writeMessage(1, values_.get(i)); } @@ -425,12 +494,10 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < values_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, values_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, values_.get(i)); } if (timeInterval_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTimeInterval()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTimeInterval()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -440,19 +507,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.monitoring.v3.TimeSeriesData.PointData)) { return super.equals(obj); } - com.google.monitoring.v3.TimeSeriesData.PointData other = (com.google.monitoring.v3.TimeSeriesData.PointData) obj; + com.google.monitoring.v3.TimeSeriesData.PointData other = + (com.google.monitoring.v3.TimeSeriesData.PointData) obj; - if (!getValuesList() - .equals(other.getValuesList())) return false; + if (!getValuesList().equals(other.getValuesList())) return false; if (hasTimeInterval() != other.hasTimeInterval()) return false; if (hasTimeInterval()) { - if (!getTimeInterval() - .equals(other.getTimeInterval())) return false; + if (!getTimeInterval().equals(other.getTimeInterval())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -479,87 +545,93 @@ public int hashCode() { } public static com.google.monitoring.v3.TimeSeriesData.PointData parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.TimeSeriesData.PointData parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.TimeSeriesData.PointData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.TimeSeriesData.PointData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.TimeSeriesData.PointData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.TimeSeriesData.PointData parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.TimeSeriesData.PointData parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.TimeSeriesData.PointData parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.TimeSeriesData.PointData parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.TimeSeriesData.PointData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.TimeSeriesData.PointData parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.TimeSeriesData.PointData parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.TimeSeriesData.PointData parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.TimeSeriesData.PointData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.TimeSeriesData.PointData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -569,6 +641,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A point's value columns and time interval. Each point has one or more
      * point values corresponding to the entries in `point_descriptors` field in
@@ -577,21 +651,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.monitoring.v3.TimeSeriesData.PointData}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.monitoring.v3.TimeSeriesData.PointData)
         com.google.monitoring.v3.TimeSeriesData.PointDataOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeriesData_PointData_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.monitoring.v3.MetricProto
+            .internal_static_google_monitoring_v3_TimeSeriesData_PointData_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeriesData_PointData_fieldAccessorTable
+        return com.google.monitoring.v3.MetricProto
+            .internal_static_google_monitoring_v3_TimeSeriesData_PointData_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.monitoring.v3.TimeSeriesData.PointData.class, com.google.monitoring.v3.TimeSeriesData.PointData.Builder.class);
+                com.google.monitoring.v3.TimeSeriesData.PointData.class,
+                com.google.monitoring.v3.TimeSeriesData.PointData.Builder.class);
       }
 
       // Construct using com.google.monitoring.v3.TimeSeriesData.PointData.newBuilder()
@@ -599,17 +676,17 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
           getValuesFieldBuilder();
         }
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -629,9 +706,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeriesData_PointData_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.monitoring.v3.MetricProto
+            .internal_static_google_monitoring_v3_TimeSeriesData_PointData_descriptor;
       }
 
       @java.lang.Override
@@ -650,7 +727,8 @@ public com.google.monitoring.v3.TimeSeriesData.PointData build() {
 
       @java.lang.Override
       public com.google.monitoring.v3.TimeSeriesData.PointData buildPartial() {
-        com.google.monitoring.v3.TimeSeriesData.PointData result = new com.google.monitoring.v3.TimeSeriesData.PointData(this);
+        com.google.monitoring.v3.TimeSeriesData.PointData result =
+            new com.google.monitoring.v3.TimeSeriesData.PointData(this);
         int from_bitField0_ = bitField0_;
         if (valuesBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
@@ -674,38 +752,41 @@ public com.google.monitoring.v3.TimeSeriesData.PointData 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.monitoring.v3.TimeSeriesData.PointData) {
-          return mergeFrom((com.google.monitoring.v3.TimeSeriesData.PointData)other);
+          return mergeFrom((com.google.monitoring.v3.TimeSeriesData.PointData) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -713,7 +794,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.monitoring.v3.TimeSeriesData.PointData other) {
-        if (other == com.google.monitoring.v3.TimeSeriesData.PointData.getDefaultInstance()) return this;
+        if (other == com.google.monitoring.v3.TimeSeriesData.PointData.getDefaultInstance())
+          return this;
         if (valuesBuilder_ == null) {
           if (!other.values_.isEmpty()) {
             if (values_.isEmpty()) {
@@ -732,9 +814,10 @@ public Builder mergeFrom(com.google.monitoring.v3.TimeSeriesData.PointData other
               valuesBuilder_ = null;
               values_ = other.values_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              valuesBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getValuesFieldBuilder() : null;
+              valuesBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getValuesFieldBuilder()
+                      : null;
             } else {
               valuesBuilder_.addAllMessages(other.values_);
             }
@@ -762,7 +845,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.monitoring.v3.TimeSeriesData.PointData) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.monitoring.v3.TimeSeriesData.PointData) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -771,21 +855,28 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
       private java.util.List values_ =
-        java.util.Collections.emptyList();
+          java.util.Collections.emptyList();
+
       private void ensureValuesIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
           values_ = new java.util.ArrayList(values_);
           bitField0_ |= 0x00000001;
-         }
+        }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.monitoring.v3.TypedValue, com.google.monitoring.v3.TypedValue.Builder, com.google.monitoring.v3.TypedValueOrBuilder> valuesBuilder_;
+              com.google.monitoring.v3.TypedValue,
+              com.google.monitoring.v3.TypedValue.Builder,
+              com.google.monitoring.v3.TypedValueOrBuilder>
+          valuesBuilder_;
 
       /**
+       *
+       *
        * 
        * The values that make up the point.
        * 
@@ -800,6 +891,8 @@ public java.util.List getValuesList() { } } /** + * + * *
        * The values that make up the point.
        * 
@@ -814,6 +907,8 @@ public int getValuesCount() { } } /** + * + * *
        * The values that make up the point.
        * 
@@ -828,14 +923,15 @@ public com.google.monitoring.v3.TypedValue getValues(int index) { } } /** + * + * *
        * The values that make up the point.
        * 
* * repeated .google.monitoring.v3.TypedValue values = 1; */ - public Builder setValues( - int index, com.google.monitoring.v3.TypedValue value) { + public Builder setValues(int index, com.google.monitoring.v3.TypedValue value) { if (valuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -849,6 +945,8 @@ public Builder setValues( return this; } /** + * + * *
        * The values that make up the point.
        * 
@@ -867,6 +965,8 @@ public Builder setValues( return this; } /** + * + * *
        * The values that make up the point.
        * 
@@ -887,14 +987,15 @@ public Builder addValues(com.google.monitoring.v3.TypedValue value) { return this; } /** + * + * *
        * The values that make up the point.
        * 
* * repeated .google.monitoring.v3.TypedValue values = 1; */ - public Builder addValues( - int index, com.google.monitoring.v3.TypedValue value) { + public Builder addValues(int index, com.google.monitoring.v3.TypedValue value) { if (valuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -908,14 +1009,15 @@ public Builder addValues( return this; } /** + * + * *
        * The values that make up the point.
        * 
* * repeated .google.monitoring.v3.TypedValue values = 1; */ - public Builder addValues( - com.google.monitoring.v3.TypedValue.Builder builderForValue) { + public Builder addValues(com.google.monitoring.v3.TypedValue.Builder builderForValue) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); values_.add(builderForValue.build()); @@ -926,6 +1028,8 @@ public Builder addValues( return this; } /** + * + * *
        * The values that make up the point.
        * 
@@ -944,6 +1048,8 @@ public Builder addValues( return this; } /** + * + * *
        * The values that make up the point.
        * 
@@ -954,8 +1060,7 @@ public Builder addAllValues( java.lang.Iterable values) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, values_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_); onChanged(); } else { valuesBuilder_.addAllMessages(values); @@ -963,6 +1068,8 @@ public Builder addAllValues( return this; } /** + * + * *
        * The values that make up the point.
        * 
@@ -980,6 +1087,8 @@ public Builder clearValues() { return this; } /** + * + * *
        * The values that make up the point.
        * 
@@ -997,39 +1106,44 @@ public Builder removeValues(int index) { return this; } /** + * + * *
        * The values that make up the point.
        * 
* * repeated .google.monitoring.v3.TypedValue values = 1; */ - public com.google.monitoring.v3.TypedValue.Builder getValuesBuilder( - int index) { + public com.google.monitoring.v3.TypedValue.Builder getValuesBuilder(int index) { return getValuesFieldBuilder().getBuilder(index); } /** + * + * *
        * The values that make up the point.
        * 
* * repeated .google.monitoring.v3.TypedValue values = 1; */ - public com.google.monitoring.v3.TypedValueOrBuilder getValuesOrBuilder( - int index) { + public com.google.monitoring.v3.TypedValueOrBuilder getValuesOrBuilder(int index) { if (valuesBuilder_ == null) { - return values_.get(index); } else { + return values_.get(index); + } else { return valuesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * The values that make up the point.
        * 
* * repeated .google.monitoring.v3.TypedValue values = 1; */ - public java.util.List - getValuesOrBuilderList() { + public java.util.List + getValuesOrBuilderList() { if (valuesBuilder_ != null) { return valuesBuilder_.getMessageOrBuilderList(); } else { @@ -1037,6 +1151,8 @@ public com.google.monitoring.v3.TypedValueOrBuilder getValuesOrBuilder( } } /** + * + * *
        * The values that make up the point.
        * 
@@ -1044,42 +1160,47 @@ public com.google.monitoring.v3.TypedValueOrBuilder getValuesOrBuilder( * repeated .google.monitoring.v3.TypedValue values = 1; */ public com.google.monitoring.v3.TypedValue.Builder addValuesBuilder() { - return getValuesFieldBuilder().addBuilder( - com.google.monitoring.v3.TypedValue.getDefaultInstance()); + return getValuesFieldBuilder() + .addBuilder(com.google.monitoring.v3.TypedValue.getDefaultInstance()); } /** + * + * *
        * The values that make up the point.
        * 
* * repeated .google.monitoring.v3.TypedValue values = 1; */ - public com.google.monitoring.v3.TypedValue.Builder addValuesBuilder( - int index) { - return getValuesFieldBuilder().addBuilder( - index, com.google.monitoring.v3.TypedValue.getDefaultInstance()); + public com.google.monitoring.v3.TypedValue.Builder addValuesBuilder(int index) { + return getValuesFieldBuilder() + .addBuilder(index, com.google.monitoring.v3.TypedValue.getDefaultInstance()); } /** + * + * *
        * The values that make up the point.
        * 
* * repeated .google.monitoring.v3.TypedValue values = 1; */ - public java.util.List - getValuesBuilderList() { + public java.util.List getValuesBuilderList() { return getValuesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.TypedValue, com.google.monitoring.v3.TypedValue.Builder, com.google.monitoring.v3.TypedValueOrBuilder> + com.google.monitoring.v3.TypedValue, + com.google.monitoring.v3.TypedValue.Builder, + com.google.monitoring.v3.TypedValueOrBuilder> getValuesFieldBuilder() { if (valuesBuilder_ == null) { - valuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.TypedValue, com.google.monitoring.v3.TypedValue.Builder, com.google.monitoring.v3.TypedValueOrBuilder>( - values_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + valuesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.monitoring.v3.TypedValue, + com.google.monitoring.v3.TypedValue.Builder, + com.google.monitoring.v3.TypedValueOrBuilder>( + values_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); values_ = null; } return valuesBuilder_; @@ -1087,34 +1208,47 @@ public com.google.monitoring.v3.TypedValue.Builder addValuesBuilder( private com.google.monitoring.v3.TimeInterval timeInterval_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TimeInterval, com.google.monitoring.v3.TimeInterval.Builder, com.google.monitoring.v3.TimeIntervalOrBuilder> timeIntervalBuilder_; + com.google.monitoring.v3.TimeInterval, + com.google.monitoring.v3.TimeInterval.Builder, + com.google.monitoring.v3.TimeIntervalOrBuilder> + timeIntervalBuilder_; /** + * + * *
        * The time interval associated with the point.
        * 
* * .google.monitoring.v3.TimeInterval time_interval = 2; + * * @return Whether the timeInterval field is set. */ public boolean hasTimeInterval() { return timeIntervalBuilder_ != null || timeInterval_ != null; } /** + * + * *
        * The time interval associated with the point.
        * 
* * .google.monitoring.v3.TimeInterval time_interval = 2; + * * @return The timeInterval. */ public com.google.monitoring.v3.TimeInterval getTimeInterval() { if (timeIntervalBuilder_ == null) { - return timeInterval_ == null ? com.google.monitoring.v3.TimeInterval.getDefaultInstance() : timeInterval_; + return timeInterval_ == null + ? com.google.monitoring.v3.TimeInterval.getDefaultInstance() + : timeInterval_; } else { return timeIntervalBuilder_.getMessage(); } } /** + * + * *
        * The time interval associated with the point.
        * 
@@ -1135,6 +1269,8 @@ public Builder setTimeInterval(com.google.monitoring.v3.TimeInterval value) { return this; } /** + * + * *
        * The time interval associated with the point.
        * 
@@ -1153,6 +1289,8 @@ public Builder setTimeInterval( return this; } /** + * + * *
        * The time interval associated with the point.
        * 
@@ -1163,7 +1301,9 @@ public Builder mergeTimeInterval(com.google.monitoring.v3.TimeInterval value) { if (timeIntervalBuilder_ == null) { if (timeInterval_ != null) { timeInterval_ = - com.google.monitoring.v3.TimeInterval.newBuilder(timeInterval_).mergeFrom(value).buildPartial(); + com.google.monitoring.v3.TimeInterval.newBuilder(timeInterval_) + .mergeFrom(value) + .buildPartial(); } else { timeInterval_ = value; } @@ -1175,6 +1315,8 @@ public Builder mergeTimeInterval(com.google.monitoring.v3.TimeInterval value) { return this; } /** + * + * *
        * The time interval associated with the point.
        * 
@@ -1193,6 +1335,8 @@ public Builder clearTimeInterval() { return this; } /** + * + * *
        * The time interval associated with the point.
        * 
@@ -1200,11 +1344,13 @@ public Builder clearTimeInterval() { * .google.monitoring.v3.TimeInterval time_interval = 2; */ public com.google.monitoring.v3.TimeInterval.Builder getTimeIntervalBuilder() { - + onChanged(); return getTimeIntervalFieldBuilder().getBuilder(); } /** + * + * *
        * The time interval associated with the point.
        * 
@@ -1215,11 +1361,14 @@ public com.google.monitoring.v3.TimeIntervalOrBuilder getTimeIntervalOrBuilder() if (timeIntervalBuilder_ != null) { return timeIntervalBuilder_.getMessageOrBuilder(); } else { - return timeInterval_ == null ? - com.google.monitoring.v3.TimeInterval.getDefaultInstance() : timeInterval_; + return timeInterval_ == null + ? com.google.monitoring.v3.TimeInterval.getDefaultInstance() + : timeInterval_; } } /** + * + * *
        * The time interval associated with the point.
        * 
@@ -1227,18 +1376,22 @@ public com.google.monitoring.v3.TimeIntervalOrBuilder getTimeIntervalOrBuilder() * .google.monitoring.v3.TimeInterval time_interval = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TimeInterval, com.google.monitoring.v3.TimeInterval.Builder, com.google.monitoring.v3.TimeIntervalOrBuilder> + com.google.monitoring.v3.TimeInterval, + com.google.monitoring.v3.TimeInterval.Builder, + com.google.monitoring.v3.TimeIntervalOrBuilder> getTimeIntervalFieldBuilder() { if (timeIntervalBuilder_ == null) { - timeIntervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.TimeInterval, com.google.monitoring.v3.TimeInterval.Builder, com.google.monitoring.v3.TimeIntervalOrBuilder>( - getTimeInterval(), - getParentForChildren(), - isClean()); + timeIntervalBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.TimeInterval, + com.google.monitoring.v3.TimeInterval.Builder, + com.google.monitoring.v3.TimeIntervalOrBuilder>( + getTimeInterval(), getParentForChildren(), isClean()); timeInterval_ = null; } return timeIntervalBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1251,12 +1404,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.TimeSeriesData.PointData) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.TimeSeriesData.PointData) private static final com.google.monitoring.v3.TimeSeriesData.PointData DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.TimeSeriesData.PointData(); } @@ -1265,16 +1418,16 @@ public static com.google.monitoring.v3.TimeSeriesData.PointData getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PointData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PointData(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PointData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PointData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1289,12 +1442,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.TimeSeriesData.PointData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int LABEL_VALUES_FIELD_NUMBER = 1; private java.util.List labelValues_; /** + * + * *
    * The values of the labels in the time series identifier, given in the same
    * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -1309,6 +1463,8 @@ public java.util.List getLabelValuesList()
     return labelValues_;
   }
   /**
+   *
+   *
    * 
    * The values of the labels in the time series identifier, given in the same
    * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -1319,11 +1475,13 @@ public java.util.List getLabelValuesList()
    * repeated .google.monitoring.v3.LabelValue label_values = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getLabelValuesOrBuilderList() {
     return labelValues_;
   }
   /**
+   *
+   *
    * 
    * The values of the labels in the time series identifier, given in the same
    * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -1338,6 +1496,8 @@ public int getLabelValuesCount() {
     return labelValues_.size();
   }
   /**
+   *
+   *
    * 
    * The values of the labels in the time series identifier, given in the same
    * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -1352,6 +1512,8 @@ public com.google.monitoring.v3.LabelValue getLabelValues(int index) {
     return labelValues_.get(index);
   }
   /**
+   *
+   *
    * 
    * The values of the labels in the time series identifier, given in the same
    * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -1362,14 +1524,15 @@ public com.google.monitoring.v3.LabelValue getLabelValues(int index) {
    * repeated .google.monitoring.v3.LabelValue label_values = 1;
    */
   @java.lang.Override
-  public com.google.monitoring.v3.LabelValueOrBuilder getLabelValuesOrBuilder(
-      int index) {
+  public com.google.monitoring.v3.LabelValueOrBuilder getLabelValuesOrBuilder(int index) {
     return labelValues_.get(index);
   }
 
   public static final int POINT_DATA_FIELD_NUMBER = 2;
   private java.util.List pointData_;
   /**
+   *
+   *
    * 
    * The points in the time series.
    * 
@@ -1381,6 +1544,8 @@ public java.util.List getPoin return pointData_; } /** + * + * *
    * The points in the time series.
    * 
@@ -1388,11 +1553,13 @@ public java.util.List getPoin * repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2; */ @java.lang.Override - public java.util.List + public java.util.List getPointDataOrBuilderList() { return pointData_; } /** + * + * *
    * The points in the time series.
    * 
@@ -1404,6 +1571,8 @@ public int getPointDataCount() { return pointData_.size(); } /** + * + * *
    * The points in the time series.
    * 
@@ -1415,6 +1584,8 @@ public com.google.monitoring.v3.TimeSeriesData.PointData getPointData(int index) return pointData_.get(index); } /** + * + * *
    * The points in the time series.
    * 
@@ -1428,6 +1599,7 @@ public com.google.monitoring.v3.TimeSeriesData.PointDataOrBuilder getPointDataOr } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1439,8 +1611,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < labelValues_.size(); i++) { output.writeMessage(1, labelValues_.get(i)); } @@ -1457,12 +1628,10 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < labelValues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, labelValues_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, labelValues_.get(i)); } for (int i = 0; i < pointData_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, pointData_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, pointData_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1472,17 +1641,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.monitoring.v3.TimeSeriesData)) { return super.equals(obj); } com.google.monitoring.v3.TimeSeriesData other = (com.google.monitoring.v3.TimeSeriesData) obj; - if (!getLabelValuesList() - .equals(other.getLabelValuesList())) return false; - if (!getPointDataList() - .equals(other.getPointDataList())) return false; + if (!getLabelValuesList().equals(other.getLabelValuesList())) return false; + if (!getPointDataList().equals(other.getPointDataList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1507,97 +1674,104 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.TimeSeriesData parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.TimeSeriesData parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.TimeSeriesData parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.TimeSeriesData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.TimeSeriesData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.TimeSeriesData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.TimeSeriesData parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.TimeSeriesData 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.monitoring.v3.TimeSeriesData parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.TimeSeriesData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.TimeSeriesData parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.TimeSeriesData parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.TimeSeriesData parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.TimeSeriesData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.TimeSeriesData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents the values of a time series associated with a
    * TimeSeriesDescriptor.
@@ -1605,21 +1779,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.monitoring.v3.TimeSeriesData}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.TimeSeriesData)
       com.google.monitoring.v3.TimeSeriesDataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeriesData_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.monitoring.v3.MetricProto
+          .internal_static_google_monitoring_v3_TimeSeriesData_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeriesData_fieldAccessorTable
+      return com.google.monitoring.v3.MetricProto
+          .internal_static_google_monitoring_v3_TimeSeriesData_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.TimeSeriesData.class, com.google.monitoring.v3.TimeSeriesData.Builder.class);
+              com.google.monitoring.v3.TimeSeriesData.class,
+              com.google.monitoring.v3.TimeSeriesData.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.TimeSeriesData.newBuilder()
@@ -1627,18 +1803,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getLabelValuesFieldBuilder();
         getPointDataFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1658,9 +1834,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeriesData_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.monitoring.v3.MetricProto
+          .internal_static_google_monitoring_v3_TimeSeriesData_descriptor;
     }
 
     @java.lang.Override
@@ -1679,7 +1855,8 @@ public com.google.monitoring.v3.TimeSeriesData build() {
 
     @java.lang.Override
     public com.google.monitoring.v3.TimeSeriesData buildPartial() {
-      com.google.monitoring.v3.TimeSeriesData result = new com.google.monitoring.v3.TimeSeriesData(this);
+      com.google.monitoring.v3.TimeSeriesData result =
+          new com.google.monitoring.v3.TimeSeriesData(this);
       int from_bitField0_ = bitField0_;
       if (labelValuesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -1707,38 +1884,39 @@ public com.google.monitoring.v3.TimeSeriesData 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.monitoring.v3.TimeSeriesData) {
-        return mergeFrom((com.google.monitoring.v3.TimeSeriesData)other);
+        return mergeFrom((com.google.monitoring.v3.TimeSeriesData) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1765,9 +1943,10 @@ public Builder mergeFrom(com.google.monitoring.v3.TimeSeriesData other) {
             labelValuesBuilder_ = null;
             labelValues_ = other.labelValues_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            labelValuesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getLabelValuesFieldBuilder() : null;
+            labelValuesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getLabelValuesFieldBuilder()
+                    : null;
           } else {
             labelValuesBuilder_.addAllMessages(other.labelValues_);
           }
@@ -1791,9 +1970,10 @@ public Builder mergeFrom(com.google.monitoring.v3.TimeSeriesData other) {
             pointDataBuilder_ = null;
             pointData_ = other.pointData_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            pointDataBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getPointDataFieldBuilder() : null;
+            pointDataBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getPointDataFieldBuilder()
+                    : null;
           } else {
             pointDataBuilder_.addAllMessages(other.pointData_);
           }
@@ -1827,21 +2007,28 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List labelValues_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureLabelValuesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         labelValues_ = new java.util.ArrayList(labelValues_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.monitoring.v3.LabelValue, com.google.monitoring.v3.LabelValue.Builder, com.google.monitoring.v3.LabelValueOrBuilder> labelValuesBuilder_;
+            com.google.monitoring.v3.LabelValue,
+            com.google.monitoring.v3.LabelValue.Builder,
+            com.google.monitoring.v3.LabelValueOrBuilder>
+        labelValuesBuilder_;
 
     /**
+     *
+     *
      * 
      * The values of the labels in the time series identifier, given in the same
      * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -1859,6 +2046,8 @@ public java.util.List getLabelValuesList()
       }
     }
     /**
+     *
+     *
      * 
      * The values of the labels in the time series identifier, given in the same
      * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -1876,6 +2065,8 @@ public int getLabelValuesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The values of the labels in the time series identifier, given in the same
      * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -1893,6 +2084,8 @@ public com.google.monitoring.v3.LabelValue getLabelValues(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The values of the labels in the time series identifier, given in the same
      * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -1902,8 +2095,7 @@ public com.google.monitoring.v3.LabelValue getLabelValues(int index) {
      *
      * repeated .google.monitoring.v3.LabelValue label_values = 1;
      */
-    public Builder setLabelValues(
-        int index, com.google.monitoring.v3.LabelValue value) {
+    public Builder setLabelValues(int index, com.google.monitoring.v3.LabelValue value) {
       if (labelValuesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1917,6 +2109,8 @@ public Builder setLabelValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * The values of the labels in the time series identifier, given in the same
      * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -1938,6 +2132,8 @@ public Builder setLabelValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * The values of the labels in the time series identifier, given in the same
      * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -1961,6 +2157,8 @@ public Builder addLabelValues(com.google.monitoring.v3.LabelValue value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The values of the labels in the time series identifier, given in the same
      * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -1970,8 +2168,7 @@ public Builder addLabelValues(com.google.monitoring.v3.LabelValue value) {
      *
      * repeated .google.monitoring.v3.LabelValue label_values = 1;
      */
-    public Builder addLabelValues(
-        int index, com.google.monitoring.v3.LabelValue value) {
+    public Builder addLabelValues(int index, com.google.monitoring.v3.LabelValue value) {
       if (labelValuesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1985,6 +2182,8 @@ public Builder addLabelValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * The values of the labels in the time series identifier, given in the same
      * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -1994,8 +2193,7 @@ public Builder addLabelValues(
      *
      * repeated .google.monitoring.v3.LabelValue label_values = 1;
      */
-    public Builder addLabelValues(
-        com.google.monitoring.v3.LabelValue.Builder builderForValue) {
+    public Builder addLabelValues(com.google.monitoring.v3.LabelValue.Builder builderForValue) {
       if (labelValuesBuilder_ == null) {
         ensureLabelValuesIsMutable();
         labelValues_.add(builderForValue.build());
@@ -2006,6 +2204,8 @@ public Builder addLabelValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * The values of the labels in the time series identifier, given in the same
      * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -2027,6 +2227,8 @@ public Builder addLabelValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * The values of the labels in the time series identifier, given in the same
      * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -2040,8 +2242,7 @@ public Builder addAllLabelValues(
         java.lang.Iterable values) {
       if (labelValuesBuilder_ == null) {
         ensureLabelValuesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, labelValues_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, labelValues_);
         onChanged();
       } else {
         labelValuesBuilder_.addAllMessages(values);
@@ -2049,6 +2250,8 @@ public Builder addAllLabelValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * The values of the labels in the time series identifier, given in the same
      * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -2069,6 +2272,8 @@ public Builder clearLabelValues() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The values of the labels in the time series identifier, given in the same
      * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -2089,6 +2294,8 @@ public Builder removeLabelValues(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The values of the labels in the time series identifier, given in the same
      * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -2098,11 +2305,12 @@ public Builder removeLabelValues(int index) {
      *
      * repeated .google.monitoring.v3.LabelValue label_values = 1;
      */
-    public com.google.monitoring.v3.LabelValue.Builder getLabelValuesBuilder(
-        int index) {
+    public com.google.monitoring.v3.LabelValue.Builder getLabelValuesBuilder(int index) {
       return getLabelValuesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The values of the labels in the time series identifier, given in the same
      * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -2112,14 +2320,16 @@ public com.google.monitoring.v3.LabelValue.Builder getLabelValuesBuilder(
      *
      * repeated .google.monitoring.v3.LabelValue label_values = 1;
      */
-    public com.google.monitoring.v3.LabelValueOrBuilder getLabelValuesOrBuilder(
-        int index) {
+    public com.google.monitoring.v3.LabelValueOrBuilder getLabelValuesOrBuilder(int index) {
       if (labelValuesBuilder_ == null) {
-        return labelValues_.get(index);  } else {
+        return labelValues_.get(index);
+      } else {
         return labelValuesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The values of the labels in the time series identifier, given in the same
      * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -2129,8 +2339,8 @@ public com.google.monitoring.v3.LabelValueOrBuilder getLabelValuesOrBuilder(
      *
      * repeated .google.monitoring.v3.LabelValue label_values = 1;
      */
-    public java.util.List 
-         getLabelValuesOrBuilderList() {
+    public java.util.List
+        getLabelValuesOrBuilderList() {
       if (labelValuesBuilder_ != null) {
         return labelValuesBuilder_.getMessageOrBuilderList();
       } else {
@@ -2138,6 +2348,8 @@ public com.google.monitoring.v3.LabelValueOrBuilder getLabelValuesOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The values of the labels in the time series identifier, given in the same
      * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -2148,10 +2360,12 @@ public com.google.monitoring.v3.LabelValueOrBuilder getLabelValuesOrBuilder(
      * repeated .google.monitoring.v3.LabelValue label_values = 1;
      */
     public com.google.monitoring.v3.LabelValue.Builder addLabelValuesBuilder() {
-      return getLabelValuesFieldBuilder().addBuilder(
-          com.google.monitoring.v3.LabelValue.getDefaultInstance());
+      return getLabelValuesFieldBuilder()
+          .addBuilder(com.google.monitoring.v3.LabelValue.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The values of the labels in the time series identifier, given in the same
      * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -2161,12 +2375,13 @@ public com.google.monitoring.v3.LabelValue.Builder addLabelValuesBuilder() {
      *
      * repeated .google.monitoring.v3.LabelValue label_values = 1;
      */
-    public com.google.monitoring.v3.LabelValue.Builder addLabelValuesBuilder(
-        int index) {
-      return getLabelValuesFieldBuilder().addBuilder(
-          index, com.google.monitoring.v3.LabelValue.getDefaultInstance());
+    public com.google.monitoring.v3.LabelValue.Builder addLabelValuesBuilder(int index) {
+      return getLabelValuesFieldBuilder()
+          .addBuilder(index, com.google.monitoring.v3.LabelValue.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The values of the labels in the time series identifier, given in the same
      * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -2176,38 +2391,47 @@ public com.google.monitoring.v3.LabelValue.Builder addLabelValuesBuilder(
      *
      * repeated .google.monitoring.v3.LabelValue label_values = 1;
      */
-    public java.util.List 
-         getLabelValuesBuilderList() {
+    public java.util.List getLabelValuesBuilderList() {
       return getLabelValuesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.monitoring.v3.LabelValue, com.google.monitoring.v3.LabelValue.Builder, com.google.monitoring.v3.LabelValueOrBuilder> 
+            com.google.monitoring.v3.LabelValue,
+            com.google.monitoring.v3.LabelValue.Builder,
+            com.google.monitoring.v3.LabelValueOrBuilder>
         getLabelValuesFieldBuilder() {
       if (labelValuesBuilder_ == null) {
-        labelValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.monitoring.v3.LabelValue, com.google.monitoring.v3.LabelValue.Builder, com.google.monitoring.v3.LabelValueOrBuilder>(
-                labelValues_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        labelValuesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.monitoring.v3.LabelValue,
+                com.google.monitoring.v3.LabelValue.Builder,
+                com.google.monitoring.v3.LabelValueOrBuilder>(
+                labelValues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         labelValues_ = null;
       }
       return labelValuesBuilder_;
     }
 
     private java.util.List pointData_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensurePointDataIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
-        pointData_ = new java.util.ArrayList(pointData_);
+        pointData_ =
+            new java.util.ArrayList(pointData_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.monitoring.v3.TimeSeriesData.PointData, com.google.monitoring.v3.TimeSeriesData.PointData.Builder, com.google.monitoring.v3.TimeSeriesData.PointDataOrBuilder> pointDataBuilder_;
+            com.google.monitoring.v3.TimeSeriesData.PointData,
+            com.google.monitoring.v3.TimeSeriesData.PointData.Builder,
+            com.google.monitoring.v3.TimeSeriesData.PointDataOrBuilder>
+        pointDataBuilder_;
 
     /**
+     *
+     *
      * 
      * The points in the time series.
      * 
@@ -2222,6 +2446,8 @@ public java.util.List getPoin } } /** + * + * *
      * The points in the time series.
      * 
@@ -2236,6 +2462,8 @@ public int getPointDataCount() { } } /** + * + * *
      * The points in the time series.
      * 
@@ -2250,6 +2478,8 @@ public com.google.monitoring.v3.TimeSeriesData.PointData getPointData(int index) } } /** + * + * *
      * The points in the time series.
      * 
@@ -2271,6 +2501,8 @@ public Builder setPointData( return this; } /** + * + * *
      * The points in the time series.
      * 
@@ -2289,6 +2521,8 @@ public Builder setPointData( return this; } /** + * + * *
      * The points in the time series.
      * 
@@ -2309,6 +2543,8 @@ public Builder addPointData(com.google.monitoring.v3.TimeSeriesData.PointData va return this; } /** + * + * *
      * The points in the time series.
      * 
@@ -2330,6 +2566,8 @@ public Builder addPointData( return this; } /** + * + * *
      * The points in the time series.
      * 
@@ -2348,6 +2586,8 @@ public Builder addPointData( return this; } /** + * + * *
      * The points in the time series.
      * 
@@ -2366,6 +2606,8 @@ public Builder addPointData( return this; } /** + * + * *
      * The points in the time series.
      * 
@@ -2376,8 +2618,7 @@ public Builder addAllPointData( java.lang.Iterable values) { if (pointDataBuilder_ == null) { ensurePointDataIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, pointData_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pointData_); onChanged(); } else { pointDataBuilder_.addAllMessages(values); @@ -2385,6 +2626,8 @@ public Builder addAllPointData( return this; } /** + * + * *
      * The points in the time series.
      * 
@@ -2402,6 +2645,8 @@ public Builder clearPointData() { return this; } /** + * + * *
      * The points in the time series.
      * 
@@ -2419,6 +2664,8 @@ public Builder removePointData(int index) { return this; } /** + * + * *
      * The points in the time series.
      * 
@@ -2430,6 +2677,8 @@ public com.google.monitoring.v3.TimeSeriesData.PointData.Builder getPointDataBui return getPointDataFieldBuilder().getBuilder(index); } /** + * + * *
      * The points in the time series.
      * 
@@ -2439,19 +2688,22 @@ public com.google.monitoring.v3.TimeSeriesData.PointData.Builder getPointDataBui public com.google.monitoring.v3.TimeSeriesData.PointDataOrBuilder getPointDataOrBuilder( int index) { if (pointDataBuilder_ == null) { - return pointData_.get(index); } else { + return pointData_.get(index); + } else { return pointDataBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The points in the time series.
      * 
* * repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2; */ - public java.util.List - getPointDataOrBuilderList() { + public java.util.List + getPointDataOrBuilderList() { if (pointDataBuilder_ != null) { return pointDataBuilder_.getMessageOrBuilderList(); } else { @@ -2459,6 +2711,8 @@ public com.google.monitoring.v3.TimeSeriesData.PointDataOrBuilder getPointDataOr } } /** + * + * *
      * The points in the time series.
      * 
@@ -2466,10 +2720,12 @@ public com.google.monitoring.v3.TimeSeriesData.PointDataOrBuilder getPointDataOr * repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2; */ public com.google.monitoring.v3.TimeSeriesData.PointData.Builder addPointDataBuilder() { - return getPointDataFieldBuilder().addBuilder( - com.google.monitoring.v3.TimeSeriesData.PointData.getDefaultInstance()); + return getPointDataFieldBuilder() + .addBuilder(com.google.monitoring.v3.TimeSeriesData.PointData.getDefaultInstance()); } /** + * + * *
      * The points in the time series.
      * 
@@ -2478,37 +2734,43 @@ public com.google.monitoring.v3.TimeSeriesData.PointData.Builder addPointDataBui */ public com.google.monitoring.v3.TimeSeriesData.PointData.Builder addPointDataBuilder( int index) { - return getPointDataFieldBuilder().addBuilder( - index, com.google.monitoring.v3.TimeSeriesData.PointData.getDefaultInstance()); + return getPointDataFieldBuilder() + .addBuilder( + index, com.google.monitoring.v3.TimeSeriesData.PointData.getDefaultInstance()); } /** + * + * *
      * The points in the time series.
      * 
* * repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2; */ - public java.util.List - getPointDataBuilderList() { + public java.util.List + getPointDataBuilderList() { return getPointDataFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.TimeSeriesData.PointData, com.google.monitoring.v3.TimeSeriesData.PointData.Builder, com.google.monitoring.v3.TimeSeriesData.PointDataOrBuilder> + com.google.monitoring.v3.TimeSeriesData.PointData, + com.google.monitoring.v3.TimeSeriesData.PointData.Builder, + com.google.monitoring.v3.TimeSeriesData.PointDataOrBuilder> getPointDataFieldBuilder() { if (pointDataBuilder_ == null) { - pointDataBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.TimeSeriesData.PointData, com.google.monitoring.v3.TimeSeriesData.PointData.Builder, com.google.monitoring.v3.TimeSeriesData.PointDataOrBuilder>( - pointData_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + pointDataBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.monitoring.v3.TimeSeriesData.PointData, + com.google.monitoring.v3.TimeSeriesData.PointData.Builder, + com.google.monitoring.v3.TimeSeriesData.PointDataOrBuilder>( + pointData_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); pointData_ = null; } return pointDataBuilder_; } + @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); } @@ -2518,12 +2780,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.TimeSeriesData) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.TimeSeriesData) private static final com.google.monitoring.v3.TimeSeriesData DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.TimeSeriesData(); } @@ -2532,16 +2794,16 @@ public static com.google.monitoring.v3.TimeSeriesData getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimeSeriesData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TimeSeriesData(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimeSeriesData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TimeSeriesData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2556,6 +2818,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.TimeSeriesData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesDataOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesDataOrBuilder.java similarity index 80% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesDataOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesDataOrBuilder.java index 35fa4f98..7032d258 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesDataOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesDataOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric.proto package com.google.monitoring.v3; -public interface TimeSeriesDataOrBuilder extends +public interface TimeSeriesDataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.TimeSeriesData) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The values of the labels in the time series identifier, given in the same
    * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -17,9 +35,10 @@ public interface TimeSeriesDataOrBuilder extends
    *
    * repeated .google.monitoring.v3.LabelValue label_values = 1;
    */
-  java.util.List 
-      getLabelValuesList();
+  java.util.List getLabelValuesList();
   /**
+   *
+   *
    * 
    * The values of the labels in the time series identifier, given in the same
    * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -31,6 +50,8 @@ public interface TimeSeriesDataOrBuilder extends
    */
   com.google.monitoring.v3.LabelValue getLabelValues(int index);
   /**
+   *
+   *
    * 
    * The values of the labels in the time series identifier, given in the same
    * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -42,6 +63,8 @@ public interface TimeSeriesDataOrBuilder extends
    */
   int getLabelValuesCount();
   /**
+   *
+   *
    * 
    * The values of the labels in the time series identifier, given in the same
    * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -51,9 +74,11 @@ public interface TimeSeriesDataOrBuilder extends
    *
    * repeated .google.monitoring.v3.LabelValue label_values = 1;
    */
-  java.util.List 
+  java.util.List
       getLabelValuesOrBuilderList();
   /**
+   *
+   *
    * 
    * The values of the labels in the time series identifier, given in the same
    * order as the `label_descriptors` field of the TimeSeriesDescriptor
@@ -63,19 +88,21 @@ public interface TimeSeriesDataOrBuilder extends
    *
    * repeated .google.monitoring.v3.LabelValue label_values = 1;
    */
-  com.google.monitoring.v3.LabelValueOrBuilder getLabelValuesOrBuilder(
-      int index);
+  com.google.monitoring.v3.LabelValueOrBuilder getLabelValuesOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * The points in the time series.
    * 
* * repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2; */ - java.util.List - getPointDataList(); + java.util.List getPointDataList(); /** + * + * *
    * The points in the time series.
    * 
@@ -84,6 +111,8 @@ com.google.monitoring.v3.LabelValueOrBuilder getLabelValuesOrBuilder( */ com.google.monitoring.v3.TimeSeriesData.PointData getPointData(int index); /** + * + * *
    * The points in the time series.
    * 
@@ -92,21 +121,24 @@ com.google.monitoring.v3.LabelValueOrBuilder getLabelValuesOrBuilder( */ int getPointDataCount(); /** + * + * *
    * The points in the time series.
    * 
* * repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2; */ - java.util.List + java.util.List getPointDataOrBuilderList(); /** + * + * *
    * The points in the time series.
    * 
* * repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2; */ - com.google.monitoring.v3.TimeSeriesData.PointDataOrBuilder getPointDataOrBuilder( - int index); + com.google.monitoring.v3.TimeSeriesData.PointDataOrBuilder getPointDataOrBuilder(int index); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesDescriptor.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesDescriptor.java similarity index 71% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesDescriptor.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesDescriptor.java index ff293616..93b5f3e5 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesDescriptor.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesDescriptor.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric.proto package com.google.monitoring.v3; /** + * + * *
  * A descriptor for the labels and points in a time series.
  * 
* * Protobuf type {@code google.monitoring.v3.TimeSeriesDescriptor} */ -public final class TimeSeriesDescriptor extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TimeSeriesDescriptor extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.TimeSeriesDescriptor) TimeSeriesDescriptorOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TimeSeriesDescriptor.newBuilder() to construct. private TimeSeriesDescriptor(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TimeSeriesDescriptor() { labelDescriptors_ = java.util.Collections.emptyList(); pointDescriptors_ = java.util.Collections.emptyList(); @@ -26,16 +44,15 @@ private TimeSeriesDescriptor() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TimeSeriesDescriptor(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TimeSeriesDescriptor( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,38 +72,43 @@ private TimeSeriesDescriptor( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labelDescriptors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labelDescriptors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + labelDescriptors_.add( + input.readMessage(com.google.api.LabelDescriptor.parser(), extensionRegistry)); + break; } - labelDescriptors_.add( - input.readMessage(com.google.api.LabelDescriptor.parser(), extensionRegistry)); - break; - } - case 42: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - pointDescriptors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 42: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + pointDescriptors_ = + new java.util.ArrayList< + com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor>(); + mutable_bitField0_ |= 0x00000002; + } + pointDescriptors_.add( + input.readMessage( + com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.parser(), + extensionRegistry)); + break; } - pointDescriptors_.add( - input.readMessage(com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { labelDescriptors_ = java.util.Collections.unmodifiableList(labelDescriptors_); @@ -98,82 +120,105 @@ private TimeSeriesDescriptor( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeriesDescriptor_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricProto + .internal_static_google_monitoring_v3_TimeSeriesDescriptor_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeriesDescriptor_fieldAccessorTable + return com.google.monitoring.v3.MetricProto + .internal_static_google_monitoring_v3_TimeSeriesDescriptor_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.TimeSeriesDescriptor.class, com.google.monitoring.v3.TimeSeriesDescriptor.Builder.class); + com.google.monitoring.v3.TimeSeriesDescriptor.class, + com.google.monitoring.v3.TimeSeriesDescriptor.Builder.class); } - public interface ValueDescriptorOrBuilder extends + public interface ValueDescriptorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The value key.
      * 
* * string key = 1; + * * @return The key. */ java.lang.String getKey(); /** + * + * *
      * The value key.
      * 
* * string key = 1; + * * @return The bytes for key. */ - com.google.protobuf.ByteString - getKeyBytes(); + com.google.protobuf.ByteString getKeyBytes(); /** + * + * *
      * The value type.
      * 
* * .google.api.MetricDescriptor.ValueType value_type = 2; + * * @return The enum numeric value on the wire for valueType. */ int getValueTypeValue(); /** + * + * *
      * The value type.
      * 
* * .google.api.MetricDescriptor.ValueType value_type = 2; + * * @return The valueType. */ com.google.api.MetricDescriptor.ValueType getValueType(); /** + * + * *
      * The value stream kind.
      * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; + * * @return The enum numeric value on the wire for metricKind. */ int getMetricKindValue(); /** + * + * *
      * The value stream kind.
      * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; + * * @return The metricKind. */ com.google.api.MetricDescriptor.MetricKind getMetricKind(); /** + * + * *
      * The unit in which `time_series` point values are reported. `unit`
      * follows the UCUM format for units as seen in
@@ -182,10 +227,13 @@ public interface ValueDescriptorOrBuilder extends
      * 
* * string unit = 4; + * * @return The unit. */ java.lang.String getUnit(); /** + * + * *
      * The unit in which `time_series` point values are reported. `unit`
      * follows the UCUM format for units as seen in
@@ -194,27 +242,30 @@ public interface ValueDescriptorOrBuilder extends
      * 
* * string unit = 4; + * * @return The bytes for unit. */ - com.google.protobuf.ByteString - getUnitBytes(); + com.google.protobuf.ByteString getUnitBytes(); } /** + * + * *
    * A descriptor for the value columns in a data point.
    * 
* * Protobuf type {@code google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor} */ - public static final class ValueDescriptor extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ValueDescriptor extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor) ValueDescriptorOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ValueDescriptor.newBuilder() to construct. private ValueDescriptor(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ValueDescriptor() { key_ = ""; valueType_ = 0; @@ -224,16 +275,15 @@ private ValueDescriptor() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ValueDescriptor(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ValueDescriptor( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -252,70 +302,79 @@ private ValueDescriptor( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - key_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + key_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - valueType_ = rawValue; - break; - } - case 24: { - int rawValue = input.readEnum(); + valueType_ = rawValue; + break; + } + case 24: + { + int rawValue = input.readEnum(); - metricKind_ = rawValue; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + metricKind_ = rawValue; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - unit_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + unit_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeriesDescriptor_ValueDescriptor_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricProto + .internal_static_google_monitoring_v3_TimeSeriesDescriptor_ValueDescriptor_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeriesDescriptor_ValueDescriptor_fieldAccessorTable + return com.google.monitoring.v3.MetricProto + .internal_static_google_monitoring_v3_TimeSeriesDescriptor_ValueDescriptor_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.class, com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder.class); + com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.class, + com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder.class); } public static final int KEY_FIELD_NUMBER = 1; private volatile java.lang.Object key_; /** + * + * *
      * The value key.
      * 
* * string key = 1; + * * @return The key. */ @java.lang.Override @@ -324,29 +383,29 @@ public java.lang.String getKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; } } /** + * + * *
      * The value key.
      * 
* * string key = 1; + * * @return The bytes for key. */ @java.lang.Override - public com.google.protobuf.ByteString - getKeyBytes() { + public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); key_ = b; return b; } else { @@ -357,60 +416,80 @@ public java.lang.String getKey() { public static final int VALUE_TYPE_FIELD_NUMBER = 2; private int valueType_; /** + * + * *
      * The value type.
      * 
* * .google.api.MetricDescriptor.ValueType value_type = 2; + * * @return The enum numeric value on the wire for valueType. */ - @java.lang.Override public int getValueTypeValue() { + @java.lang.Override + public int getValueTypeValue() { return valueType_; } /** + * + * *
      * The value type.
      * 
* * .google.api.MetricDescriptor.ValueType value_type = 2; + * * @return The valueType. */ - @java.lang.Override public com.google.api.MetricDescriptor.ValueType getValueType() { + @java.lang.Override + public com.google.api.MetricDescriptor.ValueType getValueType() { @SuppressWarnings("deprecation") - com.google.api.MetricDescriptor.ValueType result = com.google.api.MetricDescriptor.ValueType.valueOf(valueType_); + com.google.api.MetricDescriptor.ValueType result = + com.google.api.MetricDescriptor.ValueType.valueOf(valueType_); return result == null ? com.google.api.MetricDescriptor.ValueType.UNRECOGNIZED : result; } public static final int METRIC_KIND_FIELD_NUMBER = 3; private int metricKind_; /** + * + * *
      * The value stream kind.
      * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; + * * @return The enum numeric value on the wire for metricKind. */ - @java.lang.Override public int getMetricKindValue() { + @java.lang.Override + public int getMetricKindValue() { return metricKind_; } /** + * + * *
      * The value stream kind.
      * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; + * * @return The metricKind. */ - @java.lang.Override public com.google.api.MetricDescriptor.MetricKind getMetricKind() { + @java.lang.Override + public com.google.api.MetricDescriptor.MetricKind getMetricKind() { @SuppressWarnings("deprecation") - com.google.api.MetricDescriptor.MetricKind result = com.google.api.MetricDescriptor.MetricKind.valueOf(metricKind_); + com.google.api.MetricDescriptor.MetricKind result = + com.google.api.MetricDescriptor.MetricKind.valueOf(metricKind_); return result == null ? com.google.api.MetricDescriptor.MetricKind.UNRECOGNIZED : result; } public static final int UNIT_FIELD_NUMBER = 4; private volatile java.lang.Object unit_; /** + * + * *
      * The unit in which `time_series` point values are reported. `unit`
      * follows the UCUM format for units as seen in
@@ -419,6 +498,7 @@ public java.lang.String getKey() {
      * 
* * string unit = 4; + * * @return The unit. */ @java.lang.Override @@ -427,14 +507,15 @@ public java.lang.String getUnit() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); unit_ = s; return s; } } /** + * + * *
      * The unit in which `time_series` point values are reported. `unit`
      * follows the UCUM format for units as seen in
@@ -443,16 +524,15 @@ public java.lang.String getUnit() {
      * 
* * string unit = 4; + * * @return The bytes for unit. */ @java.lang.Override - public com.google.protobuf.ByteString - getUnitBytes() { + public com.google.protobuf.ByteString getUnitBytes() { java.lang.Object ref = unit_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); unit_ = b; return b; } else { @@ -461,6 +541,7 @@ public java.lang.String getUnit() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -472,15 +553,16 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); } - if (valueType_ != com.google.api.MetricDescriptor.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { + if (valueType_ + != com.google.api.MetricDescriptor.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, valueType_); } - if (metricKind_ != com.google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.getNumber()) { + if (metricKind_ + != com.google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.getNumber()) { output.writeEnum(3, metricKind_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(unit_)) { @@ -498,13 +580,13 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_); } - if (valueType_ != com.google.api.MetricDescriptor.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, valueType_); + if (valueType_ + != com.google.api.MetricDescriptor.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, valueType_); } - if (metricKind_ != com.google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, metricKind_); + if (metricKind_ + != com.google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, metricKind_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(unit_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, unit_); @@ -517,19 +599,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.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor)) { return super.equals(obj); } - com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor other = (com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor) obj; + com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor other = + (com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor) obj; - if (!getKey() - .equals(other.getKey())) return false; + if (!getKey().equals(other.getKey())) return false; if (valueType_ != other.valueType_) return false; if (metricKind_ != other.metricKind_) return false; - if (!getUnit() - .equals(other.getUnit())) return false; + if (!getUnit().equals(other.getUnit())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -555,87 +636,94 @@ public int hashCode() { } public static com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -645,27 +733,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A descriptor for the value columns in a data point.
      * 
* * Protobuf type {@code google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor) com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeriesDescriptor_ValueDescriptor_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricProto + .internal_static_google_monitoring_v3_TimeSeriesDescriptor_ValueDescriptor_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeriesDescriptor_ValueDescriptor_fieldAccessorTable + return com.google.monitoring.v3.MetricProto + .internal_static_google_monitoring_v3_TimeSeriesDescriptor_ValueDescriptor_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.class, com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder.class); + com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.class, + com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder.class); } // Construct using com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.newBuilder() @@ -673,16 +766,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -698,13 +790,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeriesDescriptor_ValueDescriptor_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.MetricProto + .internal_static_google_monitoring_v3_TimeSeriesDescriptor_ValueDescriptor_descriptor; } @java.lang.Override - public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor getDefaultInstanceForType() { + public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor + getDefaultInstanceForType() { return com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.getDefaultInstance(); } @@ -719,7 +812,8 @@ public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor build() { @java.lang.Override public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor buildPartial() { - com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor result = new com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor(this); + com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor result = + new com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor(this); result.key_ = key_; result.valueType_ = valueType_; result.metricKind_ = metricKind_; @@ -732,46 +826,52 @@ public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor) { - return mergeFrom((com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor)other); + return mergeFrom((com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor other) { - if (other == com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor other) { + if (other + == com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.getDefaultInstance()) + return this; if (!other.getKey().isEmpty()) { key_ = other.key_; onChanged(); @@ -805,7 +905,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -817,18 +919,20 @@ public Builder mergeFrom( private java.lang.Object key_ = ""; /** + * + * *
        * The value key.
        * 
* * string key = 1; + * * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; @@ -837,20 +941,21 @@ public java.lang.String getKey() { } } /** + * + * *
        * The value key.
        * 
* * string key = 1; + * * @return The bytes for key. */ - public com.google.protobuf.ByteString - getKeyBytes() { + public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); key_ = b; return b; } else { @@ -858,54 +963,61 @@ public java.lang.String getKey() { } } /** + * + * *
        * The value key.
        * 
* * string key = 1; + * * @param value The key to set. * @return This builder for chaining. */ - public Builder setKey( - java.lang.String value) { + public Builder setKey(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + key_ = value; onChanged(); return this; } /** + * + * *
        * The value key.
        * 
* * string key = 1; + * * @return This builder for chaining. */ public Builder clearKey() { - + key_ = getDefaultInstance().getKey(); onChanged(); return this; } /** + * + * *
        * The value key.
        * 
* * string key = 1; + * * @param value The bytes for key to set. * @return This builder for chaining. */ - public Builder setKeyBytes( - com.google.protobuf.ByteString value) { + public Builder setKeyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + key_ = value; onChanged(); return this; @@ -913,51 +1025,65 @@ public Builder setKeyBytes( private int valueType_ = 0; /** + * + * *
        * The value type.
        * 
* * .google.api.MetricDescriptor.ValueType value_type = 2; + * * @return The enum numeric value on the wire for valueType. */ - @java.lang.Override public int getValueTypeValue() { + @java.lang.Override + public int getValueTypeValue() { return valueType_; } /** + * + * *
        * The value type.
        * 
* * .google.api.MetricDescriptor.ValueType value_type = 2; + * * @param value The enum numeric value on the wire for valueType to set. * @return This builder for chaining. */ public Builder setValueTypeValue(int value) { - + valueType_ = value; onChanged(); return this; } /** + * + * *
        * The value type.
        * 
* * .google.api.MetricDescriptor.ValueType value_type = 2; + * * @return The valueType. */ @java.lang.Override public com.google.api.MetricDescriptor.ValueType getValueType() { @SuppressWarnings("deprecation") - com.google.api.MetricDescriptor.ValueType result = com.google.api.MetricDescriptor.ValueType.valueOf(valueType_); + com.google.api.MetricDescriptor.ValueType result = + com.google.api.MetricDescriptor.ValueType.valueOf(valueType_); return result == null ? com.google.api.MetricDescriptor.ValueType.UNRECOGNIZED : result; } /** + * + * *
        * The value type.
        * 
* * .google.api.MetricDescriptor.ValueType value_type = 2; + * * @param value The valueType to set. * @return This builder for chaining. */ @@ -965,21 +1091,24 @@ public Builder setValueType(com.google.api.MetricDescriptor.ValueType value) { if (value == null) { throw new NullPointerException(); } - + valueType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The value type.
        * 
* * .google.api.MetricDescriptor.ValueType value_type = 2; + * * @return This builder for chaining. */ public Builder clearValueType() { - + valueType_ = 0; onChanged(); return this; @@ -987,51 +1116,65 @@ public Builder clearValueType() { private int metricKind_ = 0; /** + * + * *
        * The value stream kind.
        * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; + * * @return The enum numeric value on the wire for metricKind. */ - @java.lang.Override public int getMetricKindValue() { + @java.lang.Override + public int getMetricKindValue() { return metricKind_; } /** + * + * *
        * The value stream kind.
        * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; + * * @param value The enum numeric value on the wire for metricKind to set. * @return This builder for chaining. */ public Builder setMetricKindValue(int value) { - + metricKind_ = value; onChanged(); return this; } /** + * + * *
        * The value stream kind.
        * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; + * * @return The metricKind. */ @java.lang.Override public com.google.api.MetricDescriptor.MetricKind getMetricKind() { @SuppressWarnings("deprecation") - com.google.api.MetricDescriptor.MetricKind result = com.google.api.MetricDescriptor.MetricKind.valueOf(metricKind_); + com.google.api.MetricDescriptor.MetricKind result = + com.google.api.MetricDescriptor.MetricKind.valueOf(metricKind_); return result == null ? com.google.api.MetricDescriptor.MetricKind.UNRECOGNIZED : result; } /** + * + * *
        * The value stream kind.
        * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; + * * @param value The metricKind to set. * @return This builder for chaining. */ @@ -1039,21 +1182,24 @@ public Builder setMetricKind(com.google.api.MetricDescriptor.MetricKind value) { if (value == null) { throw new NullPointerException(); } - + metricKind_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The value stream kind.
        * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; + * * @return This builder for chaining. */ public Builder clearMetricKind() { - + metricKind_ = 0; onChanged(); return this; @@ -1061,6 +1207,8 @@ public Builder clearMetricKind() { private java.lang.Object unit_ = ""; /** + * + * *
        * The unit in which `time_series` point values are reported. `unit`
        * follows the UCUM format for units as seen in
@@ -1069,13 +1217,13 @@ public Builder clearMetricKind() {
        * 
* * string unit = 4; + * * @return The unit. */ public java.lang.String getUnit() { java.lang.Object ref = unit_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); unit_ = s; return s; @@ -1084,6 +1232,8 @@ public java.lang.String getUnit() { } } /** + * + * *
        * The unit in which `time_series` point values are reported. `unit`
        * follows the UCUM format for units as seen in
@@ -1092,15 +1242,14 @@ public java.lang.String getUnit() {
        * 
* * string unit = 4; + * * @return The bytes for unit. */ - public com.google.protobuf.ByteString - getUnitBytes() { + public com.google.protobuf.ByteString getUnitBytes() { java.lang.Object ref = unit_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); unit_ = b; return b; } else { @@ -1108,6 +1257,8 @@ public java.lang.String getUnit() { } } /** + * + * *
        * The unit in which `time_series` point values are reported. `unit`
        * follows the UCUM format for units as seen in
@@ -1116,20 +1267,22 @@ public java.lang.String getUnit() {
        * 
* * string unit = 4; + * * @param value The unit to set. * @return This builder for chaining. */ - public Builder setUnit( - java.lang.String value) { + public Builder setUnit(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + unit_ = value; onChanged(); return this; } /** + * + * *
        * The unit in which `time_series` point values are reported. `unit`
        * follows the UCUM format for units as seen in
@@ -1138,15 +1291,18 @@ public Builder setUnit(
        * 
* * string unit = 4; + * * @return This builder for chaining. */ public Builder clearUnit() { - + unit_ = getDefaultInstance().getUnit(); onChanged(); return this; } /** + * + * *
        * The unit in which `time_series` point values are reported. `unit`
        * follows the UCUM format for units as seen in
@@ -1155,20 +1311,21 @@ public Builder clearUnit() {
        * 
* * string unit = 4; + * * @param value The bytes for unit to set. * @return This builder for chaining. */ - public Builder setUnitBytes( - com.google.protobuf.ByteString value) { + public Builder setUnitBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + unit_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1181,30 +1338,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor) - private static final com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor DEFAULT_INSTANCE; + private static final com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor(); } - public static com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor getDefaultInstance() { + public static com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ValueDescriptor parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ValueDescriptor(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ValueDescriptor parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ValueDescriptor(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1216,15 +1375,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor getDefaultInstanceForType() { + public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int LABEL_DESCRIPTORS_FIELD_NUMBER = 1; private java.util.List labelDescriptors_; /** + * + * *
    * Descriptors for the labels.
    * 
@@ -1236,6 +1397,8 @@ public java.util.List getLabelDescriptorsList() return labelDescriptors_; } /** + * + * *
    * Descriptors for the labels.
    * 
@@ -1243,11 +1406,13 @@ public java.util.List getLabelDescriptorsList() * repeated .google.api.LabelDescriptor label_descriptors = 1; */ @java.lang.Override - public java.util.List + public java.util.List getLabelDescriptorsOrBuilderList() { return labelDescriptors_; } /** + * + * *
    * Descriptors for the labels.
    * 
@@ -1259,6 +1424,8 @@ public int getLabelDescriptorsCount() { return labelDescriptors_.size(); } /** + * + * *
    * Descriptors for the labels.
    * 
@@ -1270,6 +1437,8 @@ public com.google.api.LabelDescriptor getLabelDescriptors(int index) { return labelDescriptors_.get(index); } /** + * + * *
    * Descriptors for the labels.
    * 
@@ -1277,72 +1446,96 @@ public com.google.api.LabelDescriptor getLabelDescriptors(int index) { * repeated .google.api.LabelDescriptor label_descriptors = 1; */ @java.lang.Override - public com.google.api.LabelDescriptorOrBuilder getLabelDescriptorsOrBuilder( - int index) { + public com.google.api.LabelDescriptorOrBuilder getLabelDescriptorsOrBuilder(int index) { return labelDescriptors_.get(index); } public static final int POINT_DESCRIPTORS_FIELD_NUMBER = 5; - private java.util.List pointDescriptors_; + private java.util.List + pointDescriptors_; /** + * + * *
    * Descriptors for the point data value columns.
    * 
* - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * */ @java.lang.Override - public java.util.List getPointDescriptorsList() { + public java.util.List + getPointDescriptorsList() { return pointDescriptors_; } /** + * + * *
    * Descriptors for the point data value columns.
    * 
* - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptorOrBuilder> getPointDescriptorsOrBuilderList() { return pointDescriptors_; } /** + * + * *
    * Descriptors for the point data value columns.
    * 
* - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * */ @java.lang.Override public int getPointDescriptorsCount() { return pointDescriptors_.size(); } /** + * + * *
    * Descriptors for the point data value columns.
    * 
* - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * */ @java.lang.Override - public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor getPointDescriptors(int index) { + public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor getPointDescriptors( + int index) { return pointDescriptors_.get(index); } /** + * + * *
    * Descriptors for the point data value columns.
    * 
* - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * */ @java.lang.Override - public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptorOrBuilder getPointDescriptorsOrBuilder( - int index) { + public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptorOrBuilder + getPointDescriptorsOrBuilder(int index) { return pointDescriptors_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1354,8 +1547,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < labelDescriptors_.size(); i++) { output.writeMessage(1, labelDescriptors_.get(i)); } @@ -1372,12 +1564,10 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < labelDescriptors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, labelDescriptors_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, labelDescriptors_.get(i)); } for (int i = 0; i < pointDescriptors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, pointDescriptors_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, pointDescriptors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1387,17 +1577,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.TimeSeriesDescriptor)) { return super.equals(obj); } - com.google.monitoring.v3.TimeSeriesDescriptor other = (com.google.monitoring.v3.TimeSeriesDescriptor) obj; + com.google.monitoring.v3.TimeSeriesDescriptor other = + (com.google.monitoring.v3.TimeSeriesDescriptor) obj; - if (!getLabelDescriptorsList() - .equals(other.getLabelDescriptorsList())) return false; - if (!getPointDescriptorsList() - .equals(other.getPointDescriptorsList())) return false; + if (!getLabelDescriptorsList().equals(other.getLabelDescriptorsList())) return false; + if (!getPointDescriptorsList().equals(other.getPointDescriptorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1422,118 +1611,127 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.TimeSeriesDescriptor parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.TimeSeriesDescriptor parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.TimeSeriesDescriptor parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.TimeSeriesDescriptor parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.TimeSeriesDescriptor parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.TimeSeriesDescriptor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.TimeSeriesDescriptor parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.TimeSeriesDescriptor 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.monitoring.v3.TimeSeriesDescriptor parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.TimeSeriesDescriptor parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.TimeSeriesDescriptor parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.TimeSeriesDescriptor parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.TimeSeriesDescriptor parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.TimeSeriesDescriptor parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.TimeSeriesDescriptor prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 descriptor for the labels and points in a time series.
    * 
* * Protobuf type {@code google.monitoring.v3.TimeSeriesDescriptor} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.TimeSeriesDescriptor) com.google.monitoring.v3.TimeSeriesDescriptorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeriesDescriptor_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.MetricProto + .internal_static_google_monitoring_v3_TimeSeriesDescriptor_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeriesDescriptor_fieldAccessorTable + return com.google.monitoring.v3.MetricProto + .internal_static_google_monitoring_v3_TimeSeriesDescriptor_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.TimeSeriesDescriptor.class, com.google.monitoring.v3.TimeSeriesDescriptor.Builder.class); + com.google.monitoring.v3.TimeSeriesDescriptor.class, + com.google.monitoring.v3.TimeSeriesDescriptor.Builder.class); } // Construct using com.google.monitoring.v3.TimeSeriesDescriptor.newBuilder() @@ -1541,18 +1739,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getLabelDescriptorsFieldBuilder(); getPointDescriptorsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1572,9 +1770,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.MetricProto.internal_static_google_monitoring_v3_TimeSeriesDescriptor_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.MetricProto + .internal_static_google_monitoring_v3_TimeSeriesDescriptor_descriptor; } @java.lang.Override @@ -1593,7 +1791,8 @@ public com.google.monitoring.v3.TimeSeriesDescriptor build() { @java.lang.Override public com.google.monitoring.v3.TimeSeriesDescriptor buildPartial() { - com.google.monitoring.v3.TimeSeriesDescriptor result = new com.google.monitoring.v3.TimeSeriesDescriptor(this); + com.google.monitoring.v3.TimeSeriesDescriptor result = + new com.google.monitoring.v3.TimeSeriesDescriptor(this); int from_bitField0_ = bitField0_; if (labelDescriptorsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1621,38 +1820,39 @@ public com.google.monitoring.v3.TimeSeriesDescriptor 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.monitoring.v3.TimeSeriesDescriptor) { - return mergeFrom((com.google.monitoring.v3.TimeSeriesDescriptor)other); + return mergeFrom((com.google.monitoring.v3.TimeSeriesDescriptor) other); } else { super.mergeFrom(other); return this; @@ -1679,9 +1879,10 @@ public Builder mergeFrom(com.google.monitoring.v3.TimeSeriesDescriptor other) { labelDescriptorsBuilder_ = null; labelDescriptors_ = other.labelDescriptors_; bitField0_ = (bitField0_ & ~0x00000001); - labelDescriptorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getLabelDescriptorsFieldBuilder() : null; + labelDescriptorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getLabelDescriptorsFieldBuilder() + : null; } else { labelDescriptorsBuilder_.addAllMessages(other.labelDescriptors_); } @@ -1705,9 +1906,10 @@ public Builder mergeFrom(com.google.monitoring.v3.TimeSeriesDescriptor other) { pointDescriptorsBuilder_ = null; pointDescriptors_ = other.pointDescriptors_; bitField0_ = (bitField0_ & ~0x00000002); - pointDescriptorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPointDescriptorsFieldBuilder() : null; + pointDescriptorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPointDescriptorsFieldBuilder() + : null; } else { pointDescriptorsBuilder_.addAllMessages(other.pointDescriptors_); } @@ -1741,21 +1943,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List labelDescriptors_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureLabelDescriptorsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - labelDescriptors_ = new java.util.ArrayList(labelDescriptors_); + labelDescriptors_ = + new java.util.ArrayList(labelDescriptors_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.LabelDescriptor, com.google.api.LabelDescriptor.Builder, com.google.api.LabelDescriptorOrBuilder> labelDescriptorsBuilder_; + com.google.api.LabelDescriptor, + com.google.api.LabelDescriptor.Builder, + com.google.api.LabelDescriptorOrBuilder> + labelDescriptorsBuilder_; /** + * + * *
      * Descriptors for the labels.
      * 
@@ -1770,6 +1980,8 @@ public java.util.List getLabelDescriptorsList() } } /** + * + * *
      * Descriptors for the labels.
      * 
@@ -1784,6 +1996,8 @@ public int getLabelDescriptorsCount() { } } /** + * + * *
      * Descriptors for the labels.
      * 
@@ -1798,14 +2012,15 @@ public com.google.api.LabelDescriptor getLabelDescriptors(int index) { } } /** + * + * *
      * Descriptors for the labels.
      * 
* * repeated .google.api.LabelDescriptor label_descriptors = 1; */ - public Builder setLabelDescriptors( - int index, com.google.api.LabelDescriptor value) { + public Builder setLabelDescriptors(int index, com.google.api.LabelDescriptor value) { if (labelDescriptorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1819,6 +2034,8 @@ public Builder setLabelDescriptors( return this; } /** + * + * *
      * Descriptors for the labels.
      * 
@@ -1837,6 +2054,8 @@ public Builder setLabelDescriptors( return this; } /** + * + * *
      * Descriptors for the labels.
      * 
@@ -1857,14 +2076,15 @@ public Builder addLabelDescriptors(com.google.api.LabelDescriptor value) { return this; } /** + * + * *
      * Descriptors for the labels.
      * 
* * repeated .google.api.LabelDescriptor label_descriptors = 1; */ - public Builder addLabelDescriptors( - int index, com.google.api.LabelDescriptor value) { + public Builder addLabelDescriptors(int index, com.google.api.LabelDescriptor value) { if (labelDescriptorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1878,14 +2098,15 @@ public Builder addLabelDescriptors( return this; } /** + * + * *
      * Descriptors for the labels.
      * 
* * repeated .google.api.LabelDescriptor label_descriptors = 1; */ - public Builder addLabelDescriptors( - com.google.api.LabelDescriptor.Builder builderForValue) { + public Builder addLabelDescriptors(com.google.api.LabelDescriptor.Builder builderForValue) { if (labelDescriptorsBuilder_ == null) { ensureLabelDescriptorsIsMutable(); labelDescriptors_.add(builderForValue.build()); @@ -1896,6 +2117,8 @@ public Builder addLabelDescriptors( return this; } /** + * + * *
      * Descriptors for the labels.
      * 
@@ -1914,6 +2137,8 @@ public Builder addLabelDescriptors( return this; } /** + * + * *
      * Descriptors for the labels.
      * 
@@ -1924,8 +2149,7 @@ public Builder addAllLabelDescriptors( java.lang.Iterable values) { if (labelDescriptorsBuilder_ == null) { ensureLabelDescriptorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, labelDescriptors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, labelDescriptors_); onChanged(); } else { labelDescriptorsBuilder_.addAllMessages(values); @@ -1933,6 +2157,8 @@ public Builder addAllLabelDescriptors( return this; } /** + * + * *
      * Descriptors for the labels.
      * 
@@ -1950,6 +2176,8 @@ public Builder clearLabelDescriptors() { return this; } /** + * + * *
      * Descriptors for the labels.
      * 
@@ -1967,39 +2195,44 @@ public Builder removeLabelDescriptors(int index) { return this; } /** + * + * *
      * Descriptors for the labels.
      * 
* * repeated .google.api.LabelDescriptor label_descriptors = 1; */ - public com.google.api.LabelDescriptor.Builder getLabelDescriptorsBuilder( - int index) { + public com.google.api.LabelDescriptor.Builder getLabelDescriptorsBuilder(int index) { return getLabelDescriptorsFieldBuilder().getBuilder(index); } /** + * + * *
      * Descriptors for the labels.
      * 
* * repeated .google.api.LabelDescriptor label_descriptors = 1; */ - public com.google.api.LabelDescriptorOrBuilder getLabelDescriptorsOrBuilder( - int index) { + public com.google.api.LabelDescriptorOrBuilder getLabelDescriptorsOrBuilder(int index) { if (labelDescriptorsBuilder_ == null) { - return labelDescriptors_.get(index); } else { + return labelDescriptors_.get(index); + } else { return labelDescriptorsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Descriptors for the labels.
      * 
* * repeated .google.api.LabelDescriptor label_descriptors = 1; */ - public java.util.List - getLabelDescriptorsOrBuilderList() { + public java.util.List + getLabelDescriptorsOrBuilderList() { if (labelDescriptorsBuilder_ != null) { return labelDescriptorsBuilder_.getMessageOrBuilderList(); } else { @@ -2007,6 +2240,8 @@ public com.google.api.LabelDescriptorOrBuilder getLabelDescriptorsOrBuilder( } } /** + * + * *
      * Descriptors for the labels.
      * 
@@ -2014,38 +2249,46 @@ public com.google.api.LabelDescriptorOrBuilder getLabelDescriptorsOrBuilder( * repeated .google.api.LabelDescriptor label_descriptors = 1; */ public com.google.api.LabelDescriptor.Builder addLabelDescriptorsBuilder() { - return getLabelDescriptorsFieldBuilder().addBuilder( - com.google.api.LabelDescriptor.getDefaultInstance()); + return getLabelDescriptorsFieldBuilder() + .addBuilder(com.google.api.LabelDescriptor.getDefaultInstance()); } /** + * + * *
      * Descriptors for the labels.
      * 
* * repeated .google.api.LabelDescriptor label_descriptors = 1; */ - public com.google.api.LabelDescriptor.Builder addLabelDescriptorsBuilder( - int index) { - return getLabelDescriptorsFieldBuilder().addBuilder( - index, com.google.api.LabelDescriptor.getDefaultInstance()); + public com.google.api.LabelDescriptor.Builder addLabelDescriptorsBuilder(int index) { + return getLabelDescriptorsFieldBuilder() + .addBuilder(index, com.google.api.LabelDescriptor.getDefaultInstance()); } /** + * + * *
      * Descriptors for the labels.
      * 
* * repeated .google.api.LabelDescriptor label_descriptors = 1; */ - public java.util.List - getLabelDescriptorsBuilderList() { + public java.util.List getLabelDescriptorsBuilderList() { return getLabelDescriptorsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.LabelDescriptor, com.google.api.LabelDescriptor.Builder, com.google.api.LabelDescriptorOrBuilder> + com.google.api.LabelDescriptor, + com.google.api.LabelDescriptor.Builder, + com.google.api.LabelDescriptorOrBuilder> getLabelDescriptorsFieldBuilder() { if (labelDescriptorsBuilder_ == null) { - labelDescriptorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.api.LabelDescriptor, com.google.api.LabelDescriptor.Builder, com.google.api.LabelDescriptorOrBuilder>( + labelDescriptorsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.api.LabelDescriptor, + com.google.api.LabelDescriptor.Builder, + com.google.api.LabelDescriptorOrBuilder>( labelDescriptors_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2055,26 +2298,37 @@ public com.google.api.LabelDescriptor.Builder addLabelDescriptorsBuilder( return labelDescriptorsBuilder_; } - private java.util.List pointDescriptors_ = - java.util.Collections.emptyList(); + private java.util.List + pointDescriptors_ = java.util.Collections.emptyList(); + private void ensurePointDescriptorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - pointDescriptors_ = new java.util.ArrayList(pointDescriptors_); + pointDescriptors_ = + new java.util.ArrayList( + pointDescriptors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor, com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder, com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptorOrBuilder> pointDescriptorsBuilder_; + com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor, + com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder, + com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptorOrBuilder> + pointDescriptorsBuilder_; /** + * + * *
      * Descriptors for the point data value columns.
      * 
* - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * */ - public java.util.List getPointDescriptorsList() { + public java.util.List + getPointDescriptorsList() { if (pointDescriptorsBuilder_ == null) { return java.util.Collections.unmodifiableList(pointDescriptors_); } else { @@ -2082,11 +2336,15 @@ public java.util.List * Descriptors for the point data value columns. *
* - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * */ public int getPointDescriptorsCount() { if (pointDescriptorsBuilder_ == null) { @@ -2096,13 +2354,18 @@ public int getPointDescriptorsCount() { } } /** + * + * *
      * Descriptors for the point data value columns.
      * 
* - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * */ - public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor getPointDescriptors(int index) { + public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor getPointDescriptors( + int index) { if (pointDescriptorsBuilder_ == null) { return pointDescriptors_.get(index); } else { @@ -2110,11 +2373,15 @@ public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor getPointDes } } /** + * + * *
      * Descriptors for the point data value columns.
      * 
* - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * */ public Builder setPointDescriptors( int index, com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor value) { @@ -2131,14 +2398,19 @@ public Builder setPointDescriptors( return this; } /** + * + * *
      * Descriptors for the point data value columns.
      * 
* - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * */ public Builder setPointDescriptors( - int index, com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder builderForValue) { + int index, + com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder builderForValue) { if (pointDescriptorsBuilder_ == null) { ensurePointDescriptorsIsMutable(); pointDescriptors_.set(index, builderForValue.build()); @@ -2149,13 +2421,18 @@ public Builder setPointDescriptors( return this; } /** + * + * *
      * Descriptors for the point data value columns.
      * 
* - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * */ - public Builder addPointDescriptors(com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor value) { + public Builder addPointDescriptors( + com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor value) { if (pointDescriptorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2169,11 +2446,15 @@ public Builder addPointDescriptors(com.google.monitoring.v3.TimeSeriesDescriptor return this; } /** + * + * *
      * Descriptors for the point data value columns.
      * 
* - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * */ public Builder addPointDescriptors( int index, com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor value) { @@ -2190,11 +2471,15 @@ public Builder addPointDescriptors( return this; } /** + * + * *
      * Descriptors for the point data value columns.
      * 
* - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * */ public Builder addPointDescriptors( com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder builderForValue) { @@ -2208,14 +2493,19 @@ public Builder addPointDescriptors( return this; } /** + * + * *
      * Descriptors for the point data value columns.
      * 
* - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * */ public Builder addPointDescriptors( - int index, com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder builderForValue) { + int index, + com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder builderForValue) { if (pointDescriptorsBuilder_ == null) { ensurePointDescriptorsIsMutable(); pointDescriptors_.add(index, builderForValue.build()); @@ -2226,18 +2516,22 @@ public Builder addPointDescriptors( return this; } /** + * + * *
      * Descriptors for the point data value columns.
      * 
* - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * */ public Builder addAllPointDescriptors( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (pointDescriptorsBuilder_ == null) { ensurePointDescriptorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, pointDescriptors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pointDescriptors_); onChanged(); } else { pointDescriptorsBuilder_.addAllMessages(values); @@ -2245,11 +2539,15 @@ public Builder addAllPointDescriptors( return this; } /** + * + * *
      * Descriptors for the point data value columns.
      * 
* - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * */ public Builder clearPointDescriptors() { if (pointDescriptorsBuilder_ == null) { @@ -2262,11 +2560,15 @@ public Builder clearPointDescriptors() { return this; } /** + * + * *
      * Descriptors for the point data value columns.
      * 
* - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * */ public Builder removePointDescriptors(int index) { if (pointDescriptorsBuilder_ == null) { @@ -2279,39 +2581,53 @@ public Builder removePointDescriptors(int index) { return this; } /** + * + * *
      * Descriptors for the point data value columns.
      * 
* - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * */ - public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder getPointDescriptorsBuilder( - int index) { + public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder + getPointDescriptorsBuilder(int index) { return getPointDescriptorsFieldBuilder().getBuilder(index); } /** + * + * *
      * Descriptors for the point data value columns.
      * 
* - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * */ - public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptorOrBuilder getPointDescriptorsOrBuilder( - int index) { + public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptorOrBuilder + getPointDescriptorsOrBuilder(int index) { if (pointDescriptorsBuilder_ == null) { - return pointDescriptors_.get(index); } else { + return pointDescriptors_.get(index); + } else { return pointDescriptorsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Descriptors for the point data value columns.
      * 
* - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * */ - public java.util.List - getPointDescriptorsOrBuilderList() { + public java.util.List< + ? extends com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptorOrBuilder> + getPointDescriptorsOrBuilderList() { if (pointDescriptorsBuilder_ != null) { return pointDescriptorsBuilder_.getMessageOrBuilderList(); } else { @@ -2319,45 +2635,67 @@ public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptorOrBuilder ge } } /** + * + * *
      * Descriptors for the point data value columns.
      * 
* - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * */ - public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder addPointDescriptorsBuilder() { - return getPointDescriptorsFieldBuilder().addBuilder( - com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.getDefaultInstance()); + public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder + addPointDescriptorsBuilder() { + return getPointDescriptorsFieldBuilder() + .addBuilder( + com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.getDefaultInstance()); } /** + * + * *
      * Descriptors for the point data value columns.
      * 
* - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * */ - public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder addPointDescriptorsBuilder( - int index) { - return getPointDescriptorsFieldBuilder().addBuilder( - index, com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.getDefaultInstance()); + public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder + addPointDescriptorsBuilder(int index) { + return getPointDescriptorsFieldBuilder() + .addBuilder( + index, + com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.getDefaultInstance()); } /** + * + * *
      * Descriptors for the point data value columns.
      * 
* - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * */ - public java.util.List - getPointDescriptorsBuilderList() { + public java.util.List + getPointDescriptorsBuilderList() { return getPointDescriptorsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor, com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder, com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptorOrBuilder> + com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor, + com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder, + com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptorOrBuilder> getPointDescriptorsFieldBuilder() { if (pointDescriptorsBuilder_ == null) { - pointDescriptorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor, com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder, com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptorOrBuilder>( + pointDescriptorsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor, + com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder, + com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptorOrBuilder>( pointDescriptors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -2366,9 +2704,9 @@ public com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor.Builder add } return pointDescriptorsBuilder_; } + @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); } @@ -2378,12 +2716,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.TimeSeriesDescriptor) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.TimeSeriesDescriptor) private static final com.google.monitoring.v3.TimeSeriesDescriptor DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.TimeSeriesDescriptor(); } @@ -2392,16 +2730,16 @@ public static com.google.monitoring.v3.TimeSeriesDescriptor getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimeSeriesDescriptor parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TimeSeriesDescriptor(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimeSeriesDescriptor parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TimeSeriesDescriptor(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2416,6 +2754,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.TimeSeriesDescriptor getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesDescriptorOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesDescriptorOrBuilder.java similarity index 57% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesDescriptorOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesDescriptorOrBuilder.java index 28e2af71..8c8fa7aa 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesDescriptorOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesDescriptorOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/metric.proto package com.google.monitoring.v3; -public interface TimeSeriesDescriptorOrBuilder extends +public interface TimeSeriesDescriptorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.TimeSeriesDescriptor) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Descriptors for the labels.
    * 
* * repeated .google.api.LabelDescriptor label_descriptors = 1; */ - java.util.List - getLabelDescriptorsList(); + java.util.List getLabelDescriptorsList(); /** + * + * *
    * Descriptors for the labels.
    * 
@@ -25,6 +44,8 @@ public interface TimeSeriesDescriptorOrBuilder extends */ com.google.api.LabelDescriptor getLabelDescriptors(int index); /** + * + * *
    * Descriptors for the labels.
    * 
@@ -33,65 +54,88 @@ public interface TimeSeriesDescriptorOrBuilder extends */ int getLabelDescriptorsCount(); /** + * + * *
    * Descriptors for the labels.
    * 
* * repeated .google.api.LabelDescriptor label_descriptors = 1; */ - java.util.List + java.util.List getLabelDescriptorsOrBuilderList(); /** + * + * *
    * Descriptors for the labels.
    * 
* * repeated .google.api.LabelDescriptor label_descriptors = 1; */ - com.google.api.LabelDescriptorOrBuilder getLabelDescriptorsOrBuilder( - int index); + com.google.api.LabelDescriptorOrBuilder getLabelDescriptorsOrBuilder(int index); /** + * + * *
    * Descriptors for the point data value columns.
    * 
* - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * */ - java.util.List + java.util.List getPointDescriptorsList(); /** + * + * *
    * Descriptors for the point data value columns.
    * 
* - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * */ com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor getPointDescriptors(int index); /** + * + * *
    * Descriptors for the point data value columns.
    * 
* - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * */ int getPointDescriptorsCount(); /** + * + * *
    * Descriptors for the point data value columns.
    * 
* - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * */ - java.util.List + java.util.List getPointDescriptorsOrBuilderList(); /** + * + * *
    * Descriptors for the point data value columns.
    * 
* - * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * + * repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5; + * */ - com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptorOrBuilder getPointDescriptorsOrBuilder( - int index); + com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptorOrBuilder + getPointDescriptorsOrBuilder(int index); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesName.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesName.java similarity index 100% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesName.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesName.java diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesOrBuilder.java similarity index 90% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesOrBuilder.java index 7fad1de2..96072eb6 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesOrBuilder.java @@ -1,33 +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/monitoring/v3/metric.proto package com.google.monitoring.v3; -public interface TimeSeriesOrBuilder extends +public interface TimeSeriesOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.TimeSeries) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The associated metric. A fully-specified metric used to identify the time
    * series.
    * 
* * .google.api.Metric metric = 1; + * * @return Whether the metric field is set. */ boolean hasMetric(); /** + * + * *
    * The associated metric. A fully-specified metric used to identify the time
    * series.
    * 
* * .google.api.Metric metric = 1; + * * @return The metric. */ com.google.api.Metric getMetric(); /** + * + * *
    * The associated metric. A fully-specified metric used to identify the time
    * series.
@@ -38,6 +62,8 @@ public interface TimeSeriesOrBuilder extends
   com.google.api.MetricOrBuilder getMetricOrBuilder();
 
   /**
+   *
+   *
    * 
    * The associated monitored resource.  Custom metrics can use only certain
    * monitored resource types in their time series data. For more information,
@@ -46,10 +72,13 @@ public interface TimeSeriesOrBuilder extends
    * 
* * .google.api.MonitoredResource resource = 2; + * * @return Whether the resource field is set. */ boolean hasResource(); /** + * + * *
    * The associated monitored resource.  Custom metrics can use only certain
    * monitored resource types in their time series data. For more information,
@@ -58,10 +87,13 @@ public interface TimeSeriesOrBuilder extends
    * 
* * .google.api.MonitoredResource resource = 2; + * * @return The resource. */ com.google.api.MonitoredResource getResource(); /** + * + * *
    * The associated monitored resource.  Custom metrics can use only certain
    * monitored resource types in their time series data. For more information,
@@ -74,6 +106,8 @@ public interface TimeSeriesOrBuilder extends
   com.google.api.MonitoredResourceOrBuilder getResourceOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The associated monitored resource metadata. When reading a
    * time series, this field will include metadata labels that are explicitly
@@ -81,10 +115,13 @@ public interface TimeSeriesOrBuilder extends
    * 
* * .google.api.MonitoredResourceMetadata metadata = 7; + * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** + * + * *
    * Output only. The associated monitored resource metadata. When reading a
    * time series, this field will include metadata labels that are explicitly
@@ -92,10 +129,13 @@ public interface TimeSeriesOrBuilder extends
    * 
* * .google.api.MonitoredResourceMetadata metadata = 7; + * * @return The metadata. */ com.google.api.MonitoredResourceMetadata getMetadata(); /** + * + * *
    * Output only. The associated monitored resource metadata. When reading a
    * time series, this field will include metadata labels that are explicitly
@@ -107,6 +147,8 @@ public interface TimeSeriesOrBuilder extends
   com.google.api.MonitoredResourceMetadataOrBuilder getMetadataOrBuilder();
 
   /**
+   *
+   *
    * 
    * The metric kind of the time series. When listing time series, this metric
    * kind might be different from the metric kind of the associated metric if
@@ -119,10 +161,13 @@ public interface TimeSeriesOrBuilder extends
    * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; + * * @return The enum numeric value on the wire for metricKind. */ int getMetricKindValue(); /** + * + * *
    * The metric kind of the time series. When listing time series, this metric
    * kind might be different from the metric kind of the associated metric if
@@ -135,11 +180,14 @@ public interface TimeSeriesOrBuilder extends
    * 
* * .google.api.MetricDescriptor.MetricKind metric_kind = 3; + * * @return The metricKind. */ com.google.api.MetricDescriptor.MetricKind getMetricKind(); /** + * + * *
    * The value type of the time series. When listing time series, this value
    * type might be different from the value type of the associated metric if
@@ -149,10 +197,13 @@ public interface TimeSeriesOrBuilder extends
    * 
* * .google.api.MetricDescriptor.ValueType value_type = 4; + * * @return The enum numeric value on the wire for valueType. */ int getValueTypeValue(); /** + * + * *
    * The value type of the time series. When listing time series, this value
    * type might be different from the value type of the associated metric if
@@ -162,11 +213,14 @@ public interface TimeSeriesOrBuilder extends
    * 
* * .google.api.MetricDescriptor.ValueType value_type = 4; + * * @return The valueType. */ com.google.api.MetricDescriptor.ValueType getValueType(); /** + * + * *
    * The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -179,9 +233,10 @@ public interface TimeSeriesOrBuilder extends
    *
    * repeated .google.monitoring.v3.Point points = 5;
    */
-  java.util.List 
-      getPointsList();
+  java.util.List getPointsList();
   /**
+   *
+   *
    * 
    * The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -196,6 +251,8 @@ public interface TimeSeriesOrBuilder extends
    */
   com.google.monitoring.v3.Point getPoints(int index);
   /**
+   *
+   *
    * 
    * The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -210,6 +267,8 @@ public interface TimeSeriesOrBuilder extends
    */
   int getPointsCount();
   /**
+   *
+   *
    * 
    * The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -222,9 +281,10 @@ public interface TimeSeriesOrBuilder extends
    *
    * repeated .google.monitoring.v3.Point points = 5;
    */
-  java.util.List 
-      getPointsOrBuilderList();
+  java.util.List getPointsOrBuilderList();
   /**
+   *
+   *
    * 
    * The data points of this time series. When listing time series, points are
    * returned in reverse time order.
@@ -237,10 +297,11 @@ public interface TimeSeriesOrBuilder extends
    *
    * repeated .google.monitoring.v3.Point points = 5;
    */
-  com.google.monitoring.v3.PointOrBuilder getPointsOrBuilder(
-      int index);
+  com.google.monitoring.v3.PointOrBuilder getPointsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * The units in which the metric value is reported. It is only applicable
    * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
@@ -248,10 +309,13 @@ com.google.monitoring.v3.PointOrBuilder getPointsOrBuilder(
    * 
* * string unit = 8; + * * @return The unit. */ java.lang.String getUnit(); /** + * + * *
    * The units in which the metric value is reported. It is only applicable
    * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
@@ -259,8 +323,8 @@ com.google.monitoring.v3.PointOrBuilder getPointsOrBuilder(
    * 
* * string unit = 8; + * * @return The bytes for unit. */ - com.google.protobuf.ByteString - getUnitBytes(); + com.google.protobuf.ByteString getUnitBytes(); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesRatio.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesRatio.java similarity index 76% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesRatio.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesRatio.java index cd18f655..dfef860f 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesRatio.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesRatio.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/service.proto package com.google.monitoring.v3; /** + * + * *
  * A `TimeSeriesRatio` specifies two `TimeSeries` to use for computing the
  * `good_service / total_service` ratio. The specified `TimeSeries` must have
@@ -15,15 +32,16 @@
  *
  * Protobuf type {@code google.monitoring.v3.TimeSeriesRatio}
  */
-public final class TimeSeriesRatio extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TimeSeriesRatio extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.TimeSeriesRatio)
     TimeSeriesRatioOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TimeSeriesRatio.newBuilder() to construct.
   private TimeSeriesRatio(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private TimeSeriesRatio() {
     goodServiceFilter_ = "";
     badServiceFilter_ = "";
@@ -32,16 +50,15 @@ private TimeSeriesRatio() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TimeSeriesRatio();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private TimeSeriesRatio(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -60,59 +77,66 @@ private TimeSeriesRatio(
           case 0:
             done = true;
             break;
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            goodServiceFilter_ = s;
-            break;
-          }
-          case 42: {
-            java.lang.String s = input.readStringRequireUtf8();
+              goodServiceFilter_ = s;
+              break;
+            }
+          case 42:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            badServiceFilter_ = s;
-            break;
-          }
-          case 50: {
-            java.lang.String s = input.readStringRequireUtf8();
+              badServiceFilter_ = s;
+              break;
+            }
+          case 50:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            totalServiceFilter_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              totalServiceFilter_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_TimeSeriesRatio_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.monitoring.v3.ServiceMonitoringProto
+        .internal_static_google_monitoring_v3_TimeSeriesRatio_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_TimeSeriesRatio_fieldAccessorTable
+    return com.google.monitoring.v3.ServiceMonitoringProto
+        .internal_static_google_monitoring_v3_TimeSeriesRatio_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.TimeSeriesRatio.class, com.google.monitoring.v3.TimeSeriesRatio.Builder.class);
+            com.google.monitoring.v3.TimeSeriesRatio.class,
+            com.google.monitoring.v3.TimeSeriesRatio.Builder.class);
   }
 
   public static final int GOOD_SERVICE_FILTER_FIELD_NUMBER = 4;
   private volatile java.lang.Object goodServiceFilter_;
   /**
+   *
+   *
    * 
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` quantifying good service provided. Must have
@@ -121,6 +145,7 @@ private TimeSeriesRatio(
    * 
* * string good_service_filter = 4; + * * @return The goodServiceFilter. */ @java.lang.Override @@ -129,14 +154,15 @@ public java.lang.String getGoodServiceFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); goodServiceFilter_ = s; return s; } } /** + * + * *
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` quantifying good service provided. Must have
@@ -145,16 +171,15 @@ public java.lang.String getGoodServiceFilter() {
    * 
* * string good_service_filter = 4; + * * @return The bytes for goodServiceFilter. */ @java.lang.Override - public com.google.protobuf.ByteString - getGoodServiceFilterBytes() { + public com.google.protobuf.ByteString getGoodServiceFilterBytes() { java.lang.Object ref = goodServiceFilter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); goodServiceFilter_ = b; return b; } else { @@ -165,6 +190,8 @@ public java.lang.String getGoodServiceFilter() { public static final int BAD_SERVICE_FILTER_FIELD_NUMBER = 5; private volatile java.lang.Object badServiceFilter_; /** + * + * *
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` quantifying bad service, either demanded service
@@ -174,6 +201,7 @@ public java.lang.String getGoodServiceFilter() {
    * 
* * string bad_service_filter = 5; + * * @return The badServiceFilter. */ @java.lang.Override @@ -182,14 +210,15 @@ public java.lang.String getBadServiceFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); badServiceFilter_ = s; return s; } } /** + * + * *
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` quantifying bad service, either demanded service
@@ -199,16 +228,15 @@ public java.lang.String getBadServiceFilter() {
    * 
* * string bad_service_filter = 5; + * * @return The bytes for badServiceFilter. */ @java.lang.Override - public com.google.protobuf.ByteString - getBadServiceFilterBytes() { + public com.google.protobuf.ByteString getBadServiceFilterBytes() { java.lang.Object ref = badServiceFilter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); badServiceFilter_ = b; return b; } else { @@ -219,6 +247,8 @@ public java.lang.String getBadServiceFilter() { public static final int TOTAL_SERVICE_FILTER_FIELD_NUMBER = 6; private volatile java.lang.Object totalServiceFilter_; /** + * + * *
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` quantifying total demanded service. Must have
@@ -227,6 +257,7 @@ public java.lang.String getBadServiceFilter() {
    * 
* * string total_service_filter = 6; + * * @return The totalServiceFilter. */ @java.lang.Override @@ -235,14 +266,15 @@ public java.lang.String getTotalServiceFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); totalServiceFilter_ = s; return s; } } /** + * + * *
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` quantifying total demanded service. Must have
@@ -251,16 +283,15 @@ public java.lang.String getTotalServiceFilter() {
    * 
* * string total_service_filter = 6; + * * @return The bytes for totalServiceFilter. */ @java.lang.Override - public com.google.protobuf.ByteString - getTotalServiceFilterBytes() { + public com.google.protobuf.ByteString getTotalServiceFilterBytes() { java.lang.Object ref = totalServiceFilter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); totalServiceFilter_ = b; return b; } else { @@ -269,6 +300,7 @@ public java.lang.String getTotalServiceFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -280,8 +312,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(goodServiceFilter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, goodServiceFilter_); } @@ -317,19 +348,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.TimeSeriesRatio)) { return super.equals(obj); } com.google.monitoring.v3.TimeSeriesRatio other = (com.google.monitoring.v3.TimeSeriesRatio) obj; - if (!getGoodServiceFilter() - .equals(other.getGoodServiceFilter())) return false; - if (!getBadServiceFilter() - .equals(other.getBadServiceFilter())) return false; - if (!getTotalServiceFilter() - .equals(other.getTotalServiceFilter())) return false; + if (!getGoodServiceFilter().equals(other.getGoodServiceFilter())) return false; + if (!getBadServiceFilter().equals(other.getBadServiceFilter())) return false; + if (!getTotalServiceFilter().equals(other.getTotalServiceFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -352,97 +380,104 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.TimeSeriesRatio parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.TimeSeriesRatio parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.TimeSeriesRatio parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.TimeSeriesRatio parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.TimeSeriesRatio parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.TimeSeriesRatio parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.TimeSeriesRatio parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.TimeSeriesRatio 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.monitoring.v3.TimeSeriesRatio parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.TimeSeriesRatio parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.TimeSeriesRatio parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.TimeSeriesRatio parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.TimeSeriesRatio parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.TimeSeriesRatio parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.TimeSeriesRatio prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 `TimeSeriesRatio` specifies two `TimeSeries` to use for computing the
    * `good_service / total_service` ratio. The specified `TimeSeries` must have
@@ -454,21 +489,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.monitoring.v3.TimeSeriesRatio}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.TimeSeriesRatio)
       com.google.monitoring.v3.TimeSeriesRatioOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_TimeSeriesRatio_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.monitoring.v3.ServiceMonitoringProto
+          .internal_static_google_monitoring_v3_TimeSeriesRatio_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_TimeSeriesRatio_fieldAccessorTable
+      return com.google.monitoring.v3.ServiceMonitoringProto
+          .internal_static_google_monitoring_v3_TimeSeriesRatio_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.TimeSeriesRatio.class, com.google.monitoring.v3.TimeSeriesRatio.Builder.class);
+              com.google.monitoring.v3.TimeSeriesRatio.class,
+              com.google.monitoring.v3.TimeSeriesRatio.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.TimeSeriesRatio.newBuilder()
@@ -476,16 +513,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -499,9 +535,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_TimeSeriesRatio_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.monitoring.v3.ServiceMonitoringProto
+          .internal_static_google_monitoring_v3_TimeSeriesRatio_descriptor;
     }
 
     @java.lang.Override
@@ -520,7 +556,8 @@ public com.google.monitoring.v3.TimeSeriesRatio build() {
 
     @java.lang.Override
     public com.google.monitoring.v3.TimeSeriesRatio buildPartial() {
-      com.google.monitoring.v3.TimeSeriesRatio result = new com.google.monitoring.v3.TimeSeriesRatio(this);
+      com.google.monitoring.v3.TimeSeriesRatio result =
+          new com.google.monitoring.v3.TimeSeriesRatio(this);
       result.goodServiceFilter_ = goodServiceFilter_;
       result.badServiceFilter_ = badServiceFilter_;
       result.totalServiceFilter_ = totalServiceFilter_;
@@ -532,38 +569,39 @@ public com.google.monitoring.v3.TimeSeriesRatio 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.monitoring.v3.TimeSeriesRatio) {
-        return mergeFrom((com.google.monitoring.v3.TimeSeriesRatio)other);
+        return mergeFrom((com.google.monitoring.v3.TimeSeriesRatio) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -615,6 +653,8 @@ public Builder mergeFrom(
 
     private java.lang.Object goodServiceFilter_ = "";
     /**
+     *
+     *
      * 
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` quantifying good service provided. Must have
@@ -623,13 +663,13 @@ public Builder mergeFrom(
      * 
* * string good_service_filter = 4; + * * @return The goodServiceFilter. */ public java.lang.String getGoodServiceFilter() { java.lang.Object ref = goodServiceFilter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); goodServiceFilter_ = s; return s; @@ -638,6 +678,8 @@ public java.lang.String getGoodServiceFilter() { } } /** + * + * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` quantifying good service provided. Must have
@@ -646,15 +688,14 @@ public java.lang.String getGoodServiceFilter() {
      * 
* * string good_service_filter = 4; + * * @return The bytes for goodServiceFilter. */ - public com.google.protobuf.ByteString - getGoodServiceFilterBytes() { + public com.google.protobuf.ByteString getGoodServiceFilterBytes() { java.lang.Object ref = goodServiceFilter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); goodServiceFilter_ = b; return b; } else { @@ -662,6 +703,8 @@ public java.lang.String getGoodServiceFilter() { } } /** + * + * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` quantifying good service provided. Must have
@@ -670,20 +713,22 @@ public java.lang.String getGoodServiceFilter() {
      * 
* * string good_service_filter = 4; + * * @param value The goodServiceFilter to set. * @return This builder for chaining. */ - public Builder setGoodServiceFilter( - java.lang.String value) { + public Builder setGoodServiceFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + goodServiceFilter_ = value; onChanged(); return this; } /** + * + * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` quantifying good service provided. Must have
@@ -692,15 +737,18 @@ public Builder setGoodServiceFilter(
      * 
* * string good_service_filter = 4; + * * @return This builder for chaining. */ public Builder clearGoodServiceFilter() { - + goodServiceFilter_ = getDefaultInstance().getGoodServiceFilter(); onChanged(); return this; } /** + * + * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` quantifying good service provided. Must have
@@ -709,16 +757,16 @@ public Builder clearGoodServiceFilter() {
      * 
* * string good_service_filter = 4; + * * @param value The bytes for goodServiceFilter to set. * @return This builder for chaining. */ - public Builder setGoodServiceFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setGoodServiceFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + goodServiceFilter_ = value; onChanged(); return this; @@ -726,6 +774,8 @@ public Builder setGoodServiceFilterBytes( private java.lang.Object badServiceFilter_ = ""; /** + * + * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` quantifying bad service, either demanded service
@@ -735,13 +785,13 @@ public Builder setGoodServiceFilterBytes(
      * 
* * string bad_service_filter = 5; + * * @return The badServiceFilter. */ public java.lang.String getBadServiceFilter() { java.lang.Object ref = badServiceFilter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); badServiceFilter_ = s; return s; @@ -750,6 +800,8 @@ public java.lang.String getBadServiceFilter() { } } /** + * + * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` quantifying bad service, either demanded service
@@ -759,15 +811,14 @@ public java.lang.String getBadServiceFilter() {
      * 
* * string bad_service_filter = 5; + * * @return The bytes for badServiceFilter. */ - public com.google.protobuf.ByteString - getBadServiceFilterBytes() { + public com.google.protobuf.ByteString getBadServiceFilterBytes() { java.lang.Object ref = badServiceFilter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); badServiceFilter_ = b; return b; } else { @@ -775,6 +826,8 @@ public java.lang.String getBadServiceFilter() { } } /** + * + * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` quantifying bad service, either demanded service
@@ -784,20 +837,22 @@ public java.lang.String getBadServiceFilter() {
      * 
* * string bad_service_filter = 5; + * * @param value The badServiceFilter to set. * @return This builder for chaining. */ - public Builder setBadServiceFilter( - java.lang.String value) { + public Builder setBadServiceFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + badServiceFilter_ = value; onChanged(); return this; } /** + * + * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` quantifying bad service, either demanded service
@@ -807,15 +862,18 @@ public Builder setBadServiceFilter(
      * 
* * string bad_service_filter = 5; + * * @return This builder for chaining. */ public Builder clearBadServiceFilter() { - + badServiceFilter_ = getDefaultInstance().getBadServiceFilter(); onChanged(); return this; } /** + * + * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` quantifying bad service, either demanded service
@@ -825,16 +883,16 @@ public Builder clearBadServiceFilter() {
      * 
* * string bad_service_filter = 5; + * * @param value The bytes for badServiceFilter to set. * @return This builder for chaining. */ - public Builder setBadServiceFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setBadServiceFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + badServiceFilter_ = value; onChanged(); return this; @@ -842,6 +900,8 @@ public Builder setBadServiceFilterBytes( private java.lang.Object totalServiceFilter_ = ""; /** + * + * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` quantifying total demanded service. Must have
@@ -850,13 +910,13 @@ public Builder setBadServiceFilterBytes(
      * 
* * string total_service_filter = 6; + * * @return The totalServiceFilter. */ public java.lang.String getTotalServiceFilter() { java.lang.Object ref = totalServiceFilter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); totalServiceFilter_ = s; return s; @@ -865,6 +925,8 @@ public java.lang.String getTotalServiceFilter() { } } /** + * + * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` quantifying total demanded service. Must have
@@ -873,15 +935,14 @@ public java.lang.String getTotalServiceFilter() {
      * 
* * string total_service_filter = 6; + * * @return The bytes for totalServiceFilter. */ - public com.google.protobuf.ByteString - getTotalServiceFilterBytes() { + public com.google.protobuf.ByteString getTotalServiceFilterBytes() { java.lang.Object ref = totalServiceFilter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); totalServiceFilter_ = b; return b; } else { @@ -889,6 +950,8 @@ public java.lang.String getTotalServiceFilter() { } } /** + * + * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` quantifying total demanded service. Must have
@@ -897,20 +960,22 @@ public java.lang.String getTotalServiceFilter() {
      * 
* * string total_service_filter = 6; + * * @param value The totalServiceFilter to set. * @return This builder for chaining. */ - public Builder setTotalServiceFilter( - java.lang.String value) { + public Builder setTotalServiceFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + totalServiceFilter_ = value; onChanged(); return this; } /** + * + * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` quantifying total demanded service. Must have
@@ -919,15 +984,18 @@ public Builder setTotalServiceFilter(
      * 
* * string total_service_filter = 6; + * * @return This builder for chaining. */ public Builder clearTotalServiceFilter() { - + totalServiceFilter_ = getDefaultInstance().getTotalServiceFilter(); onChanged(); return this; } /** + * + * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` quantifying total demanded service. Must have
@@ -936,23 +1004,23 @@ public Builder clearTotalServiceFilter() {
      * 
* * string total_service_filter = 6; + * * @param value The bytes for totalServiceFilter to set. * @return This builder for chaining. */ - public Builder setTotalServiceFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setTotalServiceFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + totalServiceFilter_ = 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); } @@ -962,12 +1030,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.TimeSeriesRatio) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.TimeSeriesRatio) private static final com.google.monitoring.v3.TimeSeriesRatio DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.TimeSeriesRatio(); } @@ -976,16 +1044,16 @@ public static com.google.monitoring.v3.TimeSeriesRatio getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimeSeriesRatio parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TimeSeriesRatio(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimeSeriesRatio parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TimeSeriesRatio(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1000,6 +1068,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.TimeSeriesRatio getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesRatioOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesRatioOrBuilder.java similarity index 76% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesRatioOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesRatioOrBuilder.java index 019f08e7..79089c71 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesRatioOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeSeriesRatioOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/service.proto package com.google.monitoring.v3; -public interface TimeSeriesRatioOrBuilder extends +public interface TimeSeriesRatioOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.TimeSeriesRatio) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` quantifying good service provided. Must have
@@ -16,10 +34,13 @@ public interface TimeSeriesRatioOrBuilder extends
    * 
* * string good_service_filter = 4; + * * @return The goodServiceFilter. */ java.lang.String getGoodServiceFilter(); /** + * + * *
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` quantifying good service provided. Must have
@@ -28,12 +49,14 @@ public interface TimeSeriesRatioOrBuilder extends
    * 
* * string good_service_filter = 4; + * * @return The bytes for goodServiceFilter. */ - com.google.protobuf.ByteString - getGoodServiceFilterBytes(); + com.google.protobuf.ByteString getGoodServiceFilterBytes(); /** + * + * *
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` quantifying bad service, either demanded service
@@ -43,10 +66,13 @@ public interface TimeSeriesRatioOrBuilder extends
    * 
* * string bad_service_filter = 5; + * * @return The badServiceFilter. */ java.lang.String getBadServiceFilter(); /** + * + * *
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` quantifying bad service, either demanded service
@@ -56,12 +82,14 @@ public interface TimeSeriesRatioOrBuilder extends
    * 
* * string bad_service_filter = 5; + * * @return The bytes for badServiceFilter. */ - com.google.protobuf.ByteString - getBadServiceFilterBytes(); + com.google.protobuf.ByteString getBadServiceFilterBytes(); /** + * + * *
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` quantifying total demanded service. Must have
@@ -70,10 +98,13 @@ public interface TimeSeriesRatioOrBuilder extends
    * 
* * string total_service_filter = 6; + * * @return The totalServiceFilter. */ java.lang.String getTotalServiceFilter(); /** + * + * *
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` quantifying total demanded service. Must have
@@ -82,8 +113,8 @@ public interface TimeSeriesRatioOrBuilder extends
    * 
* * string total_service_filter = 6; + * * @return The bytes for totalServiceFilter. */ - com.google.protobuf.ByteString - getTotalServiceFilterBytes(); + com.google.protobuf.ByteString getTotalServiceFilterBytes(); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TypedValue.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TypedValue.java similarity index 72% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TypedValue.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TypedValue.java index f4578889..052e07c2 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TypedValue.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TypedValue.java @@ -1,39 +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/monitoring/v3/common.proto package com.google.monitoring.v3; /** + * + * *
  * A single strongly-typed value.
  * 
* * Protobuf type {@code google.monitoring.v3.TypedValue} */ -public final class TypedValue extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TypedValue extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.TypedValue) TypedValueOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TypedValue.newBuilder() to construct. private TypedValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TypedValue() { - } + + private TypedValue() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TypedValue(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TypedValue( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,77 +68,85 @@ private TypedValue( case 0: done = true; break; - case 8: { - valueCase_ = 1; - value_ = input.readBool(); - break; - } - case 16: { - valueCase_ = 2; - value_ = input.readInt64(); - break; - } - case 25: { - valueCase_ = 3; - value_ = input.readDouble(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - valueCase_ = 4; - value_ = s; - break; - } - case 42: { - com.google.api.Distribution.Builder subBuilder = null; - if (valueCase_ == 5) { - subBuilder = ((com.google.api.Distribution) value_).toBuilder(); + case 8: + { + valueCase_ = 1; + value_ = input.readBool(); + break; } - value_ = - input.readMessage(com.google.api.Distribution.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.api.Distribution) value_); - value_ = subBuilder.buildPartial(); + case 16: + { + valueCase_ = 2; + value_ = input.readInt64(); + break; } - valueCase_ = 5; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 25: + { + valueCase_ = 3; + value_ = input.readDouble(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + valueCase_ = 4; + value_ = s; + break; + } + case 42: + { + com.google.api.Distribution.Builder subBuilder = null; + if (valueCase_ == 5) { + subBuilder = ((com.google.api.Distribution) value_).toBuilder(); + } + value_ = input.readMessage(com.google.api.Distribution.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.api.Distribution) value_); + value_ = subBuilder.buildPartial(); + } + valueCase_ = 5; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.CommonProto.internal_static_google_monitoring_v3_TypedValue_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.CommonProto + .internal_static_google_monitoring_v3_TypedValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.CommonProto.internal_static_google_monitoring_v3_TypedValue_fieldAccessorTable + return com.google.monitoring.v3.CommonProto + .internal_static_google_monitoring_v3_TypedValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.TypedValue.class, com.google.monitoring.v3.TypedValue.Builder.class); + com.google.monitoring.v3.TypedValue.class, + com.google.monitoring.v3.TypedValue.Builder.class); } private int valueCase_ = 0; private java.lang.Object value_; + public enum ValueCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BOOL_VALUE(1), INT64_VALUE(2), @@ -131,6 +155,7 @@ public enum ValueCase DISTRIBUTION_VALUE(5), VALUE_NOT_SET(0); private final int value; + private ValueCase(int value) { this.value = value; } @@ -146,33 +171,42 @@ public static ValueCase valueOf(int value) { public static ValueCase forNumber(int value) { switch (value) { - case 1: return BOOL_VALUE; - case 2: return INT64_VALUE; - case 3: return DOUBLE_VALUE; - case 4: return STRING_VALUE; - case 5: return DISTRIBUTION_VALUE; - case 0: return VALUE_NOT_SET; - default: return null; + case 1: + return BOOL_VALUE; + case 2: + return INT64_VALUE; + case 3: + return DOUBLE_VALUE; + case 4: + return STRING_VALUE; + case 5: + return DISTRIBUTION_VALUE; + case 0: + return VALUE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ValueCase - getValueCase() { - return ValueCase.forNumber( - valueCase_); + public ValueCase getValueCase() { + return ValueCase.forNumber(valueCase_); } public static final int BOOL_VALUE_FIELD_NUMBER = 1; /** + * + * *
    * A Boolean value: `true` or `false`.
    * 
* * bool bool_value = 1; + * * @return Whether the boolValue field is set. */ @java.lang.Override @@ -180,11 +214,14 @@ public boolean hasBoolValue() { return valueCase_ == 1; } /** + * + * *
    * A Boolean value: `true` or `false`.
    * 
* * bool bool_value = 1; + * * @return The boolValue. */ @java.lang.Override @@ -197,11 +234,14 @@ public boolean getBoolValue() { public static final int INT64_VALUE_FIELD_NUMBER = 2; /** + * + * *
    * A 64-bit integer. Its range is approximately &plusmn;9.2x10<sup>18</sup>.
    * 
* * int64 int64_value = 2; + * * @return Whether the int64Value field is set. */ @java.lang.Override @@ -209,11 +249,14 @@ public boolean hasInt64Value() { return valueCase_ == 2; } /** + * + * *
    * A 64-bit integer. Its range is approximately &plusmn;9.2x10<sup>18</sup>.
    * 
* * int64 int64_value = 2; + * * @return The int64Value. */ @java.lang.Override @@ -226,6 +269,8 @@ public long getInt64Value() { public static final int DOUBLE_VALUE_FIELD_NUMBER = 3; /** + * + * *
    * A 64-bit double-precision floating-point number. Its magnitude
    * is approximately &plusmn;10<sup>&plusmn;300</sup> and it has 16
@@ -233,6 +278,7 @@ public long getInt64Value() {
    * 
* * double double_value = 3; + * * @return Whether the doubleValue field is set. */ @java.lang.Override @@ -240,6 +286,8 @@ public boolean hasDoubleValue() { return valueCase_ == 3; } /** + * + * *
    * A 64-bit double-precision floating-point number. Its magnitude
    * is approximately &plusmn;10<sup>&plusmn;300</sup> and it has 16
@@ -247,6 +295,7 @@ public boolean hasDoubleValue() {
    * 
* * double double_value = 3; + * * @return The doubleValue. */ @java.lang.Override @@ -259,22 +308,28 @@ public double getDoubleValue() { public static final int STRING_VALUE_FIELD_NUMBER = 4; /** + * + * *
    * A variable-length string value.
    * 
* * string string_value = 4; + * * @return Whether the stringValue field is set. */ public boolean hasStringValue() { return valueCase_ == 4; } /** + * + * *
    * A variable-length string value.
    * 
* * string string_value = 4; + * * @return The stringValue. */ public java.lang.String getStringValue() { @@ -285,8 +340,7 @@ public java.lang.String getStringValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueCase_ == 4) { value_ = s; @@ -295,23 +349,24 @@ public java.lang.String getStringValue() { } } /** + * + * *
    * A variable-length string value.
    * 
* * string string_value = 4; + * * @return The bytes for stringValue. */ - public com.google.protobuf.ByteString - getStringValueBytes() { + public com.google.protobuf.ByteString getStringValueBytes() { java.lang.Object ref = ""; if (valueCase_ == 4) { ref = value_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (valueCase_ == 4) { value_ = b; } @@ -323,11 +378,14 @@ public java.lang.String getStringValue() { public static final int DISTRIBUTION_VALUE_FIELD_NUMBER = 5; /** + * + * *
    * A distribution value.
    * 
* * .google.api.Distribution distribution_value = 5; + * * @return Whether the distributionValue field is set. */ @java.lang.Override @@ -335,21 +393,26 @@ public boolean hasDistributionValue() { return valueCase_ == 5; } /** + * + * *
    * A distribution value.
    * 
* * .google.api.Distribution distribution_value = 5; + * * @return The distributionValue. */ @java.lang.Override public com.google.api.Distribution getDistributionValue() { if (valueCase_ == 5) { - return (com.google.api.Distribution) value_; + return (com.google.api.Distribution) value_; } return com.google.api.Distribution.getDefaultInstance(); } /** + * + * *
    * A distribution value.
    * 
@@ -359,12 +422,13 @@ public com.google.api.Distribution getDistributionValue() { @java.lang.Override public com.google.api.DistributionOrBuilder getDistributionValueOrBuilder() { if (valueCase_ == 5) { - return (com.google.api.Distribution) value_; + return (com.google.api.Distribution) value_; } return com.google.api.Distribution.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -376,19 +440,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 (valueCase_ == 1) { - output.writeBool( - 1, (boolean)((java.lang.Boolean) value_)); + output.writeBool(1, (boolean) ((java.lang.Boolean) value_)); } if (valueCase_ == 2) { - output.writeInt64( - 2, (long)((java.lang.Long) value_)); + output.writeInt64(2, (long) ((java.lang.Long) value_)); } if (valueCase_ == 3) { - output.writeDouble( - 3, (double)((java.lang.Double) value_)); + output.writeDouble(3, (double) ((java.lang.Double) value_)); } if (valueCase_ == 4) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, value_); @@ -406,26 +466,27 @@ public int getSerializedSize() { size = 0; if (valueCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize( - 1, (boolean)((java.lang.Boolean) value_)); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 1, (boolean) ((java.lang.Boolean) value_)); } if (valueCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size( - 2, (long)((java.lang.Long) value_)); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 2, (long) ((java.lang.Long) value_)); } if (valueCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize( - 3, (double)((java.lang.Double) value_)); + size += + com.google.protobuf.CodedOutputStream.computeDoubleSize( + 3, (double) ((java.lang.Double) value_)); } if (valueCase_ == 4) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, value_); } if (valueCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.api.Distribution) value_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.api.Distribution) value_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -435,7 +496,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.TypedValue)) { return super.equals(obj); @@ -445,25 +506,20 @@ public boolean equals(final java.lang.Object obj) { if (!getValueCase().equals(other.getValueCase())) return false; switch (valueCase_) { case 1: - if (getBoolValue() - != other.getBoolValue()) return false; + if (getBoolValue() != other.getBoolValue()) return false; break; case 2: - if (getInt64Value() - != other.getInt64Value()) return false; + if (getInt64Value() != other.getInt64Value()) return false; break; case 3: if (java.lang.Double.doubleToLongBits(getDoubleValue()) - != java.lang.Double.doubleToLongBits( - other.getDoubleValue())) return false; + != java.lang.Double.doubleToLongBits(other.getDoubleValue())) return false; break; case 4: - if (!getStringValue() - .equals(other.getStringValue())) return false; + if (!getStringValue().equals(other.getStringValue())) return false; break; case 5: - if (!getDistributionValue() - .equals(other.getDistributionValue())) return false; + if (!getDistributionValue().equals(other.getDistributionValue())) return false; break; case 0: default: @@ -482,18 +538,18 @@ public int hashCode() { switch (valueCase_) { case 1: hash = (37 * hash) + BOOL_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getBoolValue()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBoolValue()); break; case 2: hash = (37 * hash) + INT64_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getInt64Value()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getInt64Value()); break; case 3: hash = (37 * hash) + DOUBLE_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getDoubleValue())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDoubleValue())); break; case 4: hash = (37 * hash) + STRING_VALUE_FIELD_NUMBER; @@ -511,118 +567,126 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.TypedValue parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.TypedValue parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.TypedValue parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.TypedValue parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.monitoring.v3.TypedValue parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.TypedValue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.TypedValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.TypedValue parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.TypedValue 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.monitoring.v3.TypedValue parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.TypedValue parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.TypedValue parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.TypedValue parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.TypedValue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.TypedValue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 single strongly-typed value.
    * 
* * Protobuf type {@code google.monitoring.v3.TypedValue} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.TypedValue) com.google.monitoring.v3.TypedValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.CommonProto.internal_static_google_monitoring_v3_TypedValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.CommonProto + .internal_static_google_monitoring_v3_TypedValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.CommonProto.internal_static_google_monitoring_v3_TypedValue_fieldAccessorTable + return com.google.monitoring.v3.CommonProto + .internal_static_google_monitoring_v3_TypedValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.TypedValue.class, com.google.monitoring.v3.TypedValue.Builder.class); + com.google.monitoring.v3.TypedValue.class, + com.google.monitoring.v3.TypedValue.Builder.class); } // Construct using com.google.monitoring.v3.TypedValue.newBuilder() @@ -630,16 +694,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -649,9 +712,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.CommonProto.internal_static_google_monitoring_v3_TypedValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.CommonProto + .internal_static_google_monitoring_v3_TypedValue_descriptor; } @java.lang.Override @@ -699,38 +762,39 @@ public com.google.monitoring.v3.TypedValue 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.monitoring.v3.TypedValue) { - return mergeFrom((com.google.monitoring.v3.TypedValue)other); + return mergeFrom((com.google.monitoring.v3.TypedValue) other); } else { super.mergeFrom(other); return this; @@ -740,31 +804,37 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.monitoring.v3.TypedValue other) { if (other == com.google.monitoring.v3.TypedValue.getDefaultInstance()) return this; switch (other.getValueCase()) { - case BOOL_VALUE: { - setBoolValue(other.getBoolValue()); - break; - } - case INT64_VALUE: { - setInt64Value(other.getInt64Value()); - break; - } - case DOUBLE_VALUE: { - setDoubleValue(other.getDoubleValue()); - break; - } - case STRING_VALUE: { - valueCase_ = 4; - value_ = other.value_; - onChanged(); - break; - } - case DISTRIBUTION_VALUE: { - mergeDistributionValue(other.getDistributionValue()); - break; - } - case VALUE_NOT_SET: { - break; - } + case BOOL_VALUE: + { + setBoolValue(other.getBoolValue()); + break; + } + case INT64_VALUE: + { + setInt64Value(other.getInt64Value()); + break; + } + case DOUBLE_VALUE: + { + setDoubleValue(other.getDoubleValue()); + break; + } + case STRING_VALUE: + { + valueCase_ = 4; + value_ = other.value_; + onChanged(); + break; + } + case DISTRIBUTION_VALUE: + { + mergeDistributionValue(other.getDistributionValue()); + break; + } + case VALUE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -794,12 +864,12 @@ public Builder mergeFrom( } return this; } + private int valueCase_ = 0; private java.lang.Object value_; - public ValueCase - getValueCase() { - return ValueCase.forNumber( - valueCase_); + + public ValueCase getValueCase() { + return ValueCase.forNumber(valueCase_); } public Builder clearValue() { @@ -809,24 +879,29 @@ public Builder clearValue() { return this; } - /** + * + * *
      * A Boolean value: `true` or `false`.
      * 
* * bool bool_value = 1; + * * @return Whether the boolValue field is set. */ public boolean hasBoolValue() { return valueCase_ == 1; } /** + * + * *
      * A Boolean value: `true` or `false`.
      * 
* * bool bool_value = 1; + * * @return The boolValue. */ public boolean getBoolValue() { @@ -836,11 +911,14 @@ public boolean getBoolValue() { return false; } /** + * + * *
      * A Boolean value: `true` or `false`.
      * 
* * bool bool_value = 1; + * * @param value The boolValue to set. * @return This builder for chaining. */ @@ -851,11 +929,14 @@ public Builder setBoolValue(boolean value) { return this; } /** + * + * *
      * A Boolean value: `true` or `false`.
      * 
* * bool bool_value = 1; + * * @return This builder for chaining. */ public Builder clearBoolValue() { @@ -868,22 +949,28 @@ public Builder clearBoolValue() { } /** + * + * *
      * A 64-bit integer. Its range is approximately &plusmn;9.2x10<sup>18</sup>.
      * 
* * int64 int64_value = 2; + * * @return Whether the int64Value field is set. */ public boolean hasInt64Value() { return valueCase_ == 2; } /** + * + * *
      * A 64-bit integer. Its range is approximately &plusmn;9.2x10<sup>18</sup>.
      * 
* * int64 int64_value = 2; + * * @return The int64Value. */ public long getInt64Value() { @@ -893,11 +980,14 @@ public long getInt64Value() { return 0L; } /** + * + * *
      * A 64-bit integer. Its range is approximately &plusmn;9.2x10<sup>18</sup>.
      * 
* * int64 int64_value = 2; + * * @param value The int64Value to set. * @return This builder for chaining. */ @@ -908,11 +998,14 @@ public Builder setInt64Value(long value) { return this; } /** + * + * *
      * A 64-bit integer. Its range is approximately &plusmn;9.2x10<sup>18</sup>.
      * 
* * int64 int64_value = 2; + * * @return This builder for chaining. */ public Builder clearInt64Value() { @@ -925,6 +1018,8 @@ public Builder clearInt64Value() { } /** + * + * *
      * A 64-bit double-precision floating-point number. Its magnitude
      * is approximately &plusmn;10<sup>&plusmn;300</sup> and it has 16
@@ -932,12 +1027,15 @@ public Builder clearInt64Value() {
      * 
* * double double_value = 3; + * * @return Whether the doubleValue field is set. */ public boolean hasDoubleValue() { return valueCase_ == 3; } /** + * + * *
      * A 64-bit double-precision floating-point number. Its magnitude
      * is approximately &plusmn;10<sup>&plusmn;300</sup> and it has 16
@@ -945,6 +1043,7 @@ public boolean hasDoubleValue() {
      * 
* * double double_value = 3; + * * @return The doubleValue. */ public double getDoubleValue() { @@ -954,6 +1053,8 @@ public double getDoubleValue() { return 0D; } /** + * + * *
      * A 64-bit double-precision floating-point number. Its magnitude
      * is approximately &plusmn;10<sup>&plusmn;300</sup> and it has 16
@@ -961,6 +1062,7 @@ public double getDoubleValue() {
      * 
* * double double_value = 3; + * * @param value The doubleValue to set. * @return This builder for chaining. */ @@ -971,6 +1073,8 @@ public Builder setDoubleValue(double value) { return this; } /** + * + * *
      * A 64-bit double-precision floating-point number. Its magnitude
      * is approximately &plusmn;10<sup>&plusmn;300</sup> and it has 16
@@ -978,6 +1082,7 @@ public Builder setDoubleValue(double value) {
      * 
* * double double_value = 3; + * * @return This builder for chaining. */ public Builder clearDoubleValue() { @@ -990,11 +1095,14 @@ public Builder clearDoubleValue() { } /** + * + * *
      * A variable-length string value.
      * 
* * string string_value = 4; + * * @return Whether the stringValue field is set. */ @java.lang.Override @@ -1002,11 +1110,14 @@ public boolean hasStringValue() { return valueCase_ == 4; } /** + * + * *
      * A variable-length string value.
      * 
* * string string_value = 4; + * * @return The stringValue. */ @java.lang.Override @@ -1016,8 +1127,7 @@ public java.lang.String getStringValue() { ref = value_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueCase_ == 4) { value_ = s; @@ -1028,24 +1138,25 @@ public java.lang.String getStringValue() { } } /** + * + * *
      * A variable-length string value.
      * 
* * string string_value = 4; + * * @return The bytes for stringValue. */ @java.lang.Override - public com.google.protobuf.ByteString - getStringValueBytes() { + public com.google.protobuf.ByteString getStringValueBytes() { java.lang.Object ref = ""; if (valueCase_ == 4) { ref = value_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (valueCase_ == 4) { value_ = b; } @@ -1055,30 +1166,35 @@ public java.lang.String getStringValue() { } } /** + * + * *
      * A variable-length string value.
      * 
* * string string_value = 4; + * * @param value The stringValue to set. * @return This builder for chaining. */ - public Builder setStringValue( - java.lang.String value) { + public Builder setStringValue(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - valueCase_ = 4; + throw new NullPointerException(); + } + valueCase_ = 4; value_ = value; onChanged(); return this; } /** + * + * *
      * A variable-length string value.
      * 
* * string string_value = 4; + * * @return This builder for chaining. */ public Builder clearStringValue() { @@ -1090,20 +1206,22 @@ public Builder clearStringValue() { return this; } /** + * + * *
      * A variable-length string value.
      * 
* * string string_value = 4; + * * @param value The bytes for stringValue to set. * @return This builder for chaining. */ - public Builder setStringValueBytes( - com.google.protobuf.ByteString value) { + public Builder setStringValueBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); valueCase_ = 4; value_ = value; onChanged(); @@ -1111,13 +1229,19 @@ public Builder setStringValueBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.Distribution, com.google.api.Distribution.Builder, com.google.api.DistributionOrBuilder> distributionValueBuilder_; + com.google.api.Distribution, + com.google.api.Distribution.Builder, + com.google.api.DistributionOrBuilder> + distributionValueBuilder_; /** + * + * *
      * A distribution value.
      * 
* * .google.api.Distribution distribution_value = 5; + * * @return Whether the distributionValue field is set. */ @java.lang.Override @@ -1125,11 +1249,14 @@ public boolean hasDistributionValue() { return valueCase_ == 5; } /** + * + * *
      * A distribution value.
      * 
* * .google.api.Distribution distribution_value = 5; + * * @return The distributionValue. */ @java.lang.Override @@ -1147,6 +1274,8 @@ public com.google.api.Distribution getDistributionValue() { } } /** + * + * *
      * A distribution value.
      * 
@@ -1167,14 +1296,15 @@ public Builder setDistributionValue(com.google.api.Distribution value) { return this; } /** + * + * *
      * A distribution value.
      * 
* * .google.api.Distribution distribution_value = 5; */ - public Builder setDistributionValue( - com.google.api.Distribution.Builder builderForValue) { + public Builder setDistributionValue(com.google.api.Distribution.Builder builderForValue) { if (distributionValueBuilder_ == null) { value_ = builderForValue.build(); onChanged(); @@ -1185,6 +1315,8 @@ public Builder setDistributionValue( return this; } /** + * + * *
      * A distribution value.
      * 
@@ -1193,10 +1325,11 @@ public Builder setDistributionValue( */ public Builder mergeDistributionValue(com.google.api.Distribution value) { if (distributionValueBuilder_ == null) { - if (valueCase_ == 5 && - value_ != com.google.api.Distribution.getDefaultInstance()) { - value_ = com.google.api.Distribution.newBuilder((com.google.api.Distribution) value_) - .mergeFrom(value).buildPartial(); + if (valueCase_ == 5 && value_ != com.google.api.Distribution.getDefaultInstance()) { + value_ = + com.google.api.Distribution.newBuilder((com.google.api.Distribution) value_) + .mergeFrom(value) + .buildPartial(); } else { value_ = value; } @@ -1211,6 +1344,8 @@ public Builder mergeDistributionValue(com.google.api.Distribution value) { return this; } /** + * + * *
      * A distribution value.
      * 
@@ -1234,6 +1369,8 @@ public Builder clearDistributionValue() { return this; } /** + * + * *
      * A distribution value.
      * 
@@ -1244,6 +1381,8 @@ public com.google.api.Distribution.Builder getDistributionValueBuilder() { return getDistributionValueFieldBuilder().getBuilder(); } /** + * + * *
      * A distribution value.
      * 
@@ -1262,6 +1401,8 @@ public com.google.api.DistributionOrBuilder getDistributionValueOrBuilder() { } } /** + * + * *
      * A distribution value.
      * 
@@ -1269,26 +1410,30 @@ public com.google.api.DistributionOrBuilder getDistributionValueOrBuilder() { * .google.api.Distribution distribution_value = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.Distribution, com.google.api.Distribution.Builder, com.google.api.DistributionOrBuilder> + com.google.api.Distribution, + com.google.api.Distribution.Builder, + com.google.api.DistributionOrBuilder> getDistributionValueFieldBuilder() { if (distributionValueBuilder_ == null) { if (!(valueCase_ == 5)) { value_ = com.google.api.Distribution.getDefaultInstance(); } - distributionValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.api.Distribution, com.google.api.Distribution.Builder, com.google.api.DistributionOrBuilder>( - (com.google.api.Distribution) value_, - getParentForChildren(), - isClean()); + distributionValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.api.Distribution, + com.google.api.Distribution.Builder, + com.google.api.DistributionOrBuilder>( + (com.google.api.Distribution) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 5; - onChanged();; + onChanged(); + ; return distributionValueBuilder_; } + @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); } @@ -1298,12 +1443,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.TypedValue) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.TypedValue) private static final com.google.monitoring.v3.TypedValue DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.TypedValue(); } @@ -1312,16 +1457,16 @@ public static com.google.monitoring.v3.TypedValue getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TypedValue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TypedValue(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TypedValue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TypedValue(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1336,6 +1481,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.TypedValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TypedValueOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TypedValueOrBuilder.java similarity index 77% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TypedValueOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TypedValueOrBuilder.java index cd86759f..b7b3bc08 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TypedValueOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TypedValueOrBuilder.java @@ -1,51 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/common.proto package com.google.monitoring.v3; -public interface TypedValueOrBuilder extends +public interface TypedValueOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.TypedValue) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A Boolean value: `true` or `false`.
    * 
* * bool bool_value = 1; + * * @return Whether the boolValue field is set. */ boolean hasBoolValue(); /** + * + * *
    * A Boolean value: `true` or `false`.
    * 
* * bool bool_value = 1; + * * @return The boolValue. */ boolean getBoolValue(); /** + * + * *
    * A 64-bit integer. Its range is approximately &plusmn;9.2x10<sup>18</sup>.
    * 
* * int64 int64_value = 2; + * * @return Whether the int64Value field is set. */ boolean hasInt64Value(); /** + * + * *
    * A 64-bit integer. Its range is approximately &plusmn;9.2x10<sup>18</sup>.
    * 
* * int64 int64_value = 2; + * * @return The int64Value. */ long getInt64Value(); /** + * + * *
    * A 64-bit double-precision floating-point number. Its magnitude
    * is approximately &plusmn;10<sup>&plusmn;300</sup> and it has 16
@@ -53,10 +83,13 @@ public interface TypedValueOrBuilder extends
    * 
* * double double_value = 3; + * * @return Whether the doubleValue field is set. */ boolean hasDoubleValue(); /** + * + * *
    * A 64-bit double-precision floating-point number. Its magnitude
    * is approximately &plusmn;10<sup>&plusmn;300</sup> and it has 16
@@ -64,58 +97,75 @@ public interface TypedValueOrBuilder extends
    * 
* * double double_value = 3; + * * @return The doubleValue. */ double getDoubleValue(); /** + * + * *
    * A variable-length string value.
    * 
* * string string_value = 4; + * * @return Whether the stringValue field is set. */ boolean hasStringValue(); /** + * + * *
    * A variable-length string value.
    * 
* * string string_value = 4; + * * @return The stringValue. */ java.lang.String getStringValue(); /** + * + * *
    * A variable-length string value.
    * 
* * string string_value = 4; + * * @return The bytes for stringValue. */ - com.google.protobuf.ByteString - getStringValueBytes(); + com.google.protobuf.ByteString getStringValueBytes(); /** + * + * *
    * A distribution value.
    * 
* * .google.api.Distribution distribution_value = 5; + * * @return Whether the distributionValue field is set. */ boolean hasDistributionValue(); /** + * + * *
    * A distribution value.
    * 
* * .google.api.Distribution distribution_value = 5; + * * @return The distributionValue. */ com.google.api.Distribution getDistributionValue(); /** + * + * *
    * A distribution value.
    * 
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateAlertPolicyRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateAlertPolicyRequest.java similarity index 77% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateAlertPolicyRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateAlertPolicyRequest.java index e4883763..bbfae509 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateAlertPolicyRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateAlertPolicyRequest.java @@ -1,39 +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/monitoring/v3/alert_service.proto package com.google.monitoring.v3; /** + * + * *
  * The protocol for the `UpdateAlertPolicy` request.
  * 
* * Protobuf type {@code google.monitoring.v3.UpdateAlertPolicyRequest} */ -public final class UpdateAlertPolicyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateAlertPolicyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.UpdateAlertPolicyRequest) UpdateAlertPolicyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateAlertPolicyRequest.newBuilder() to construct. private UpdateAlertPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateAlertPolicyRequest() { - } + + private UpdateAlertPolicyRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateAlertPolicyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateAlertPolicyRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,67 +68,76 @@ private UpdateAlertPolicyRequest( case 0: done = true; break; - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.monitoring.v3.AlertPolicy.Builder subBuilder = null; - if (alertPolicy_ != null) { - subBuilder = alertPolicy_.toBuilder(); - } - alertPolicy_ = input.readMessage(com.google.monitoring.v3.AlertPolicy.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(alertPolicy_); - alertPolicy_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.monitoring.v3.AlertPolicy.Builder subBuilder = null; + if (alertPolicy_ != null) { + subBuilder = alertPolicy_.toBuilder(); + } + alertPolicy_ = + input.readMessage( + com.google.monitoring.v3.AlertPolicy.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(alertPolicy_); + alertPolicy_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_UpdateAlertPolicyRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.AlertServiceProto + .internal_static_google_monitoring_v3_UpdateAlertPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_UpdateAlertPolicyRequest_fieldAccessorTable + return com.google.monitoring.v3.AlertServiceProto + .internal_static_google_monitoring_v3_UpdateAlertPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.UpdateAlertPolicyRequest.class, com.google.monitoring.v3.UpdateAlertPolicyRequest.Builder.class); + com.google.monitoring.v3.UpdateAlertPolicyRequest.class, + com.google.monitoring.v3.UpdateAlertPolicyRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Optional. A list of alerting policy field names. If this field is not
    * empty, each listed field in the existing alerting policy is set to the
@@ -135,6 +160,7 @@ private UpdateAlertPolicyRequest(
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -142,6 +168,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Optional. A list of alerting policy field names. If this field is not
    * empty, each listed field in the existing alerting policy is set to the
@@ -164,6 +192,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -171,6 +200,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Optional. A list of alerting policy field names. If this field is not
    * empty, each listed field in the existing alerting policy is set to the
@@ -202,6 +233,8 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   public static final int ALERT_POLICY_FIELD_NUMBER = 3;
   private com.google.monitoring.v3.AlertPolicy alertPolicy_;
   /**
+   *
+   *
    * 
    * Required. The updated alerting policy or the updated values for the
    * fields listed in `update_mask`.
@@ -209,7 +242,10 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
    * not in `update_mask` are ignored.
    * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the alertPolicy field is set. */ @java.lang.Override @@ -217,6 +253,8 @@ public boolean hasAlertPolicy() { return alertPolicy_ != null; } /** + * + * *
    * Required. The updated alerting policy or the updated values for the
    * fields listed in `update_mask`.
@@ -224,14 +262,21 @@ public boolean hasAlertPolicy() {
    * not in `update_mask` are ignored.
    * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The alertPolicy. */ @java.lang.Override public com.google.monitoring.v3.AlertPolicy getAlertPolicy() { - return alertPolicy_ == null ? com.google.monitoring.v3.AlertPolicy.getDefaultInstance() : alertPolicy_; + return alertPolicy_ == null + ? com.google.monitoring.v3.AlertPolicy.getDefaultInstance() + : alertPolicy_; } /** + * + * *
    * Required. The updated alerting policy or the updated values for the
    * fields listed in `update_mask`.
@@ -239,7 +284,9 @@ public com.google.monitoring.v3.AlertPolicy getAlertPolicy() {
    * not in `update_mask` are ignored.
    * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPolicyOrBuilder() { @@ -247,6 +294,7 @@ public com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPolicyOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -258,8 +306,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(2, getUpdateMask()); } @@ -276,12 +323,10 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } if (alertPolicy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getAlertPolicy()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getAlertPolicy()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -291,22 +336,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.monitoring.v3.UpdateAlertPolicyRequest)) { return super.equals(obj); } - com.google.monitoring.v3.UpdateAlertPolicyRequest other = (com.google.monitoring.v3.UpdateAlertPolicyRequest) obj; + com.google.monitoring.v3.UpdateAlertPolicyRequest other = + (com.google.monitoring.v3.UpdateAlertPolicyRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasAlertPolicy() != other.hasAlertPolicy()) return false; if (hasAlertPolicy()) { - if (!getAlertPolicy() - .equals(other.getAlertPolicy())) return false; + if (!getAlertPolicy().equals(other.getAlertPolicy())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -333,117 +377,126 @@ public int hashCode() { } public static com.google.monitoring.v3.UpdateAlertPolicyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.UpdateAlertPolicyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.UpdateAlertPolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.UpdateAlertPolicyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.UpdateAlertPolicyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.UpdateAlertPolicyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.UpdateAlertPolicyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.UpdateAlertPolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.UpdateAlertPolicyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.UpdateAlertPolicyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.UpdateAlertPolicyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.UpdateAlertPolicyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.UpdateAlertPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.UpdateAlertPolicyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.UpdateAlertPolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 protocol for the `UpdateAlertPolicy` request.
    * 
* * Protobuf type {@code google.monitoring.v3.UpdateAlertPolicyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.UpdateAlertPolicyRequest) com.google.monitoring.v3.UpdateAlertPolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_UpdateAlertPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.AlertServiceProto + .internal_static_google_monitoring_v3_UpdateAlertPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_UpdateAlertPolicyRequest_fieldAccessorTable + return com.google.monitoring.v3.AlertServiceProto + .internal_static_google_monitoring_v3_UpdateAlertPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.UpdateAlertPolicyRequest.class, com.google.monitoring.v3.UpdateAlertPolicyRequest.Builder.class); + com.google.monitoring.v3.UpdateAlertPolicyRequest.class, + com.google.monitoring.v3.UpdateAlertPolicyRequest.Builder.class); } // Construct using com.google.monitoring.v3.UpdateAlertPolicyRequest.newBuilder() @@ -451,16 +504,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -480,9 +532,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.AlertServiceProto.internal_static_google_monitoring_v3_UpdateAlertPolicyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.AlertServiceProto + .internal_static_google_monitoring_v3_UpdateAlertPolicyRequest_descriptor; } @java.lang.Override @@ -501,7 +553,8 @@ public com.google.monitoring.v3.UpdateAlertPolicyRequest build() { @java.lang.Override public com.google.monitoring.v3.UpdateAlertPolicyRequest buildPartial() { - com.google.monitoring.v3.UpdateAlertPolicyRequest result = new com.google.monitoring.v3.UpdateAlertPolicyRequest(this); + com.google.monitoring.v3.UpdateAlertPolicyRequest result = + new com.google.monitoring.v3.UpdateAlertPolicyRequest(this); if (updateMaskBuilder_ == null) { result.updateMask_ = updateMask_; } else { @@ -520,38 +573,39 @@ public com.google.monitoring.v3.UpdateAlertPolicyRequest 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.monitoring.v3.UpdateAlertPolicyRequest) { - return mergeFrom((com.google.monitoring.v3.UpdateAlertPolicyRequest)other); + return mergeFrom((com.google.monitoring.v3.UpdateAlertPolicyRequest) other); } else { super.mergeFrom(other); return this; @@ -559,7 +613,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.UpdateAlertPolicyRequest other) { - if (other == com.google.monitoring.v3.UpdateAlertPolicyRequest.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.UpdateAlertPolicyRequest.getDefaultInstance()) + return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -585,7 +640,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.UpdateAlertPolicyRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.UpdateAlertPolicyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -597,8 +653,13 @@ public Builder mergeFrom( private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Optional. A list of alerting policy field names. If this field is not
      * empty, each listed field in the existing alerting policy is set to the
@@ -621,12 +682,15 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Optional. A list of alerting policy field names. If this field is not
      * empty, each listed field in the existing alerting policy is set to the
@@ -649,16 +713,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Optional. A list of alerting policy field names. If this field is not
      * empty, each listed field in the existing alerting policy is set to the
@@ -696,6 +765,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. A list of alerting policy field names. If this field is not
      * empty, each listed field in the existing alerting policy is set to the
@@ -719,8 +790,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -731,6 +801,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. A list of alerting policy field names. If this field is not
      * empty, each listed field in the existing alerting policy is set to the
@@ -758,7 +830,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -770,6 +842,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. A list of alerting policy field names. If this field is not
      * empty, each listed field in the existing alerting policy is set to the
@@ -805,6 +879,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. A list of alerting policy field names. If this field is not
      * empty, each listed field in the existing alerting policy is set to the
@@ -829,11 +905,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Optional. A list of alerting policy field names. If this field is not
      * empty, each listed field in the existing alerting policy is set to the
@@ -861,11 +939,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * Optional. A list of alerting policy field names. If this field is not
      * empty, each listed field in the existing alerting policy is set to the
@@ -890,14 +971,17 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
@@ -905,8 +989,13 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
 
     private com.google.monitoring.v3.AlertPolicy alertPolicy_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.monitoring.v3.AlertPolicy, com.google.monitoring.v3.AlertPolicy.Builder, com.google.monitoring.v3.AlertPolicyOrBuilder> alertPolicyBuilder_;
+            com.google.monitoring.v3.AlertPolicy,
+            com.google.monitoring.v3.AlertPolicy.Builder,
+            com.google.monitoring.v3.AlertPolicyOrBuilder>
+        alertPolicyBuilder_;
     /**
+     *
+     *
      * 
      * Required. The updated alerting policy or the updated values for the
      * fields listed in `update_mask`.
@@ -914,13 +1003,18 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * not in `update_mask` are ignored.
      * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the alertPolicy field is set. */ public boolean hasAlertPolicy() { return alertPolicyBuilder_ != null || alertPolicy_ != null; } /** + * + * *
      * Required. The updated alerting policy or the updated values for the
      * fields listed in `update_mask`.
@@ -928,17 +1022,24 @@ public boolean hasAlertPolicy() {
      * not in `update_mask` are ignored.
      * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The alertPolicy. */ public com.google.monitoring.v3.AlertPolicy getAlertPolicy() { if (alertPolicyBuilder_ == null) { - return alertPolicy_ == null ? com.google.monitoring.v3.AlertPolicy.getDefaultInstance() : alertPolicy_; + return alertPolicy_ == null + ? com.google.monitoring.v3.AlertPolicy.getDefaultInstance() + : alertPolicy_; } else { return alertPolicyBuilder_.getMessage(); } } /** + * + * *
      * Required. The updated alerting policy or the updated values for the
      * fields listed in `update_mask`.
@@ -946,7 +1047,9 @@ public com.google.monitoring.v3.AlertPolicy getAlertPolicy() {
      * not in `update_mask` are ignored.
      * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAlertPolicy(com.google.monitoring.v3.AlertPolicy value) { if (alertPolicyBuilder_ == null) { @@ -962,6 +1065,8 @@ public Builder setAlertPolicy(com.google.monitoring.v3.AlertPolicy value) { return this; } /** + * + * *
      * Required. The updated alerting policy or the updated values for the
      * fields listed in `update_mask`.
@@ -969,10 +1074,11 @@ public Builder setAlertPolicy(com.google.monitoring.v3.AlertPolicy value) {
      * not in `update_mask` are ignored.
      * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setAlertPolicy( - com.google.monitoring.v3.AlertPolicy.Builder builderForValue) { + public Builder setAlertPolicy(com.google.monitoring.v3.AlertPolicy.Builder builderForValue) { if (alertPolicyBuilder_ == null) { alertPolicy_ = builderForValue.build(); onChanged(); @@ -983,6 +1089,8 @@ public Builder setAlertPolicy( return this; } /** + * + * *
      * Required. The updated alerting policy or the updated values for the
      * fields listed in `update_mask`.
@@ -990,13 +1098,17 @@ public Builder setAlertPolicy(
      * not in `update_mask` are ignored.
      * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAlertPolicy(com.google.monitoring.v3.AlertPolicy value) { if (alertPolicyBuilder_ == null) { if (alertPolicy_ != null) { alertPolicy_ = - com.google.monitoring.v3.AlertPolicy.newBuilder(alertPolicy_).mergeFrom(value).buildPartial(); + com.google.monitoring.v3.AlertPolicy.newBuilder(alertPolicy_) + .mergeFrom(value) + .buildPartial(); } else { alertPolicy_ = value; } @@ -1008,6 +1120,8 @@ public Builder mergeAlertPolicy(com.google.monitoring.v3.AlertPolicy value) { return this; } /** + * + * *
      * Required. The updated alerting policy or the updated values for the
      * fields listed in `update_mask`.
@@ -1015,7 +1129,9 @@ public Builder mergeAlertPolicy(com.google.monitoring.v3.AlertPolicy value) {
      * not in `update_mask` are ignored.
      * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAlertPolicy() { if (alertPolicyBuilder_ == null) { @@ -1029,6 +1145,8 @@ public Builder clearAlertPolicy() { return this; } /** + * + * *
      * Required. The updated alerting policy or the updated values for the
      * fields listed in `update_mask`.
@@ -1036,14 +1154,18 @@ public Builder clearAlertPolicy() {
      * not in `update_mask` are ignored.
      * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.AlertPolicy.Builder getAlertPolicyBuilder() { - + onChanged(); return getAlertPolicyFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The updated alerting policy or the updated values for the
      * fields listed in `update_mask`.
@@ -1051,17 +1173,22 @@ public com.google.monitoring.v3.AlertPolicy.Builder getAlertPolicyBuilder() {
      * not in `update_mask` are ignored.
      * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPolicyOrBuilder() { if (alertPolicyBuilder_ != null) { return alertPolicyBuilder_.getMessageOrBuilder(); } else { - return alertPolicy_ == null ? - com.google.monitoring.v3.AlertPolicy.getDefaultInstance() : alertPolicy_; + return alertPolicy_ == null + ? com.google.monitoring.v3.AlertPolicy.getDefaultInstance() + : alertPolicy_; } } /** + * + * *
      * Required. The updated alerting policy or the updated values for the
      * fields listed in `update_mask`.
@@ -1069,24 +1196,29 @@ public com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPolicyOrBuilder() {
      * not in `update_mask` are ignored.
      * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy, com.google.monitoring.v3.AlertPolicy.Builder, com.google.monitoring.v3.AlertPolicyOrBuilder> + com.google.monitoring.v3.AlertPolicy, + com.google.monitoring.v3.AlertPolicy.Builder, + com.google.monitoring.v3.AlertPolicyOrBuilder> getAlertPolicyFieldBuilder() { if (alertPolicyBuilder_ == null) { - alertPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.AlertPolicy, com.google.monitoring.v3.AlertPolicy.Builder, com.google.monitoring.v3.AlertPolicyOrBuilder>( - getAlertPolicy(), - getParentForChildren(), - isClean()); + alertPolicyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.AlertPolicy, + com.google.monitoring.v3.AlertPolicy.Builder, + com.google.monitoring.v3.AlertPolicyOrBuilder>( + getAlertPolicy(), getParentForChildren(), isClean()); alertPolicy_ = null; } return alertPolicyBuilder_; } + @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); } @@ -1096,12 +1228,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.UpdateAlertPolicyRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.UpdateAlertPolicyRequest) private static final com.google.monitoring.v3.UpdateAlertPolicyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.UpdateAlertPolicyRequest(); } @@ -1110,16 +1242,16 @@ public static com.google.monitoring.v3.UpdateAlertPolicyRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateAlertPolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateAlertPolicyRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateAlertPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateAlertPolicyRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1134,6 +1266,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.UpdateAlertPolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateAlertPolicyRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateAlertPolicyRequestOrBuilder.java similarity index 83% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateAlertPolicyRequestOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateAlertPolicyRequestOrBuilder.java index 3559a7a3..67acc36f 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateAlertPolicyRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateAlertPolicyRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/alert_service.proto package com.google.monitoring.v3; -public interface UpdateAlertPolicyRequestOrBuilder extends +public interface UpdateAlertPolicyRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.UpdateAlertPolicyRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. A list of alerting policy field names. If this field is not
    * empty, each listed field in the existing alerting policy is set to the
@@ -30,10 +48,13 @@ public interface UpdateAlertPolicyRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Optional. A list of alerting policy field names. If this field is not
    * empty, each listed field in the existing alerting policy is set to the
@@ -56,10 +77,13 @@ public interface UpdateAlertPolicyRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Optional. A list of alerting policy field names. If this field is not
    * empty, each listed field in the existing alerting policy is set to the
@@ -86,6 +110,8 @@ public interface UpdateAlertPolicyRequestOrBuilder extends
   com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder();
 
   /**
+   *
+   *
    * 
    * Required. The updated alerting policy or the updated values for the
    * fields listed in `update_mask`.
@@ -93,11 +119,16 @@ public interface UpdateAlertPolicyRequestOrBuilder extends
    * not in `update_mask` are ignored.
    * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the alertPolicy field is set. */ boolean hasAlertPolicy(); /** + * + * *
    * Required. The updated alerting policy or the updated values for the
    * fields listed in `update_mask`.
@@ -105,11 +136,16 @@ public interface UpdateAlertPolicyRequestOrBuilder extends
    * not in `update_mask` are ignored.
    * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The alertPolicy. */ com.google.monitoring.v3.AlertPolicy getAlertPolicy(); /** + * + * *
    * Required. The updated alerting policy or the updated values for the
    * fields listed in `update_mask`.
@@ -117,7 +153,9 @@ public interface UpdateAlertPolicyRequestOrBuilder extends
    * not in `update_mask` are ignored.
    * 
* - * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.monitoring.v3.AlertPolicyOrBuilder getAlertPolicyOrBuilder(); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateGroupRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateGroupRequest.java similarity index 72% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateGroupRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateGroupRequest.java index 21aa1044..e9cc2675 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateGroupRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateGroupRequest.java @@ -1,39 +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/monitoring/v3/group_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `UpdateGroup` request.
  * 
* * Protobuf type {@code google.monitoring.v3.UpdateGroupRequest} */ -public final class UpdateGroupRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateGroupRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.UpdateGroupRequest) UpdateGroupRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateGroupRequest.newBuilder() to construct. private UpdateGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateGroupRequest() { - } + + private UpdateGroupRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateGroupRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateGroupRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,65 +68,72 @@ private UpdateGroupRequest( case 0: done = true; break; - case 18: { - com.google.monitoring.v3.Group.Builder subBuilder = null; - if (group_ != null) { - subBuilder = group_.toBuilder(); + case 18: + { + com.google.monitoring.v3.Group.Builder subBuilder = null; + if (group_ != null) { + subBuilder = group_.toBuilder(); + } + group_ = + input.readMessage(com.google.monitoring.v3.Group.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(group_); + group_ = subBuilder.buildPartial(); + } + + break; } - group_ = input.readMessage(com.google.monitoring.v3.Group.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(group_); - group_ = subBuilder.buildPartial(); + case 24: + { + validateOnly_ = input.readBool(); + break; } - - break; - } - case 24: { - - validateOnly_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_UpdateGroupRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.GroupServiceProto + .internal_static_google_monitoring_v3_UpdateGroupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_UpdateGroupRequest_fieldAccessorTable + return com.google.monitoring.v3.GroupServiceProto + .internal_static_google_monitoring_v3_UpdateGroupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.UpdateGroupRequest.class, com.google.monitoring.v3.UpdateGroupRequest.Builder.class); + com.google.monitoring.v3.UpdateGroupRequest.class, + com.google.monitoring.v3.UpdateGroupRequest.Builder.class); } public static final int GROUP_FIELD_NUMBER = 2; private com.google.monitoring.v3.Group group_; /** + * + * *
    * Required. The new definition of the group.  All fields of the existing group,
    * excepting `name`, are replaced with the corresponding fields of this group.
    * 
* * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the group field is set. */ @java.lang.Override @@ -118,12 +141,15 @@ public boolean hasGroup() { return group_ != null; } /** + * + * *
    * Required. The new definition of the group.  All fields of the existing group,
    * excepting `name`, are replaced with the corresponding fields of this group.
    * 
* * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The group. */ @java.lang.Override @@ -131,6 +157,8 @@ public com.google.monitoring.v3.Group getGroup() { return group_ == null ? com.google.monitoring.v3.Group.getDefaultInstance() : group_; } /** + * + * *
    * Required. The new definition of the group.  All fields of the existing group,
    * excepting `name`, are replaced with the corresponding fields of this group.
@@ -146,11 +174,14 @@ public com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder() {
   public static final int VALIDATE_ONLY_FIELD_NUMBER = 3;
   private boolean validateOnly_;
   /**
+   *
+   *
    * 
    * If true, validate this request but do not update the existing group.
    * 
* * bool validate_only = 3; + * * @return The validateOnly. */ @java.lang.Override @@ -159,6 +190,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -170,8 +202,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (group_ != null) { output.writeMessage(2, getGroup()); } @@ -188,12 +219,10 @@ public int getSerializedSize() { size = 0; if (group_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getGroup()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getGroup()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -203,20 +232,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.monitoring.v3.UpdateGroupRequest)) { return super.equals(obj); } - com.google.monitoring.v3.UpdateGroupRequest other = (com.google.monitoring.v3.UpdateGroupRequest) obj; + com.google.monitoring.v3.UpdateGroupRequest other = + (com.google.monitoring.v3.UpdateGroupRequest) obj; if (hasGroup() != other.hasGroup()) return false; if (hasGroup()) { - if (!getGroup() - .equals(other.getGroup())) return false; + if (!getGroup().equals(other.getGroup())) return false; } - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,125 +261,133 @@ public int hashCode() { hash = (53 * hash) + getGroup().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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.monitoring.v3.UpdateGroupRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.UpdateGroupRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.UpdateGroupRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.UpdateGroupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.UpdateGroupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.UpdateGroupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.UpdateGroupRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.UpdateGroupRequest 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.monitoring.v3.UpdateGroupRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.UpdateGroupRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.UpdateGroupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.UpdateGroupRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.UpdateGroupRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.UpdateGroupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.UpdateGroupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 `UpdateGroup` request.
    * 
* * Protobuf type {@code google.monitoring.v3.UpdateGroupRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.UpdateGroupRequest) com.google.monitoring.v3.UpdateGroupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_UpdateGroupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.GroupServiceProto + .internal_static_google_monitoring_v3_UpdateGroupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_UpdateGroupRequest_fieldAccessorTable + return com.google.monitoring.v3.GroupServiceProto + .internal_static_google_monitoring_v3_UpdateGroupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.UpdateGroupRequest.class, com.google.monitoring.v3.UpdateGroupRequest.Builder.class); + com.google.monitoring.v3.UpdateGroupRequest.class, + com.google.monitoring.v3.UpdateGroupRequest.Builder.class); } // Construct using com.google.monitoring.v3.UpdateGroupRequest.newBuilder() @@ -359,16 +395,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -384,9 +419,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.GroupServiceProto.internal_static_google_monitoring_v3_UpdateGroupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.GroupServiceProto + .internal_static_google_monitoring_v3_UpdateGroupRequest_descriptor; } @java.lang.Override @@ -405,7 +440,8 @@ public com.google.monitoring.v3.UpdateGroupRequest build() { @java.lang.Override public com.google.monitoring.v3.UpdateGroupRequest buildPartial() { - com.google.monitoring.v3.UpdateGroupRequest result = new com.google.monitoring.v3.UpdateGroupRequest(this); + com.google.monitoring.v3.UpdateGroupRequest result = + new com.google.monitoring.v3.UpdateGroupRequest(this); if (groupBuilder_ == null) { result.group_ = group_; } else { @@ -420,38 +456,39 @@ public com.google.monitoring.v3.UpdateGroupRequest 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.monitoring.v3.UpdateGroupRequest) { - return mergeFrom((com.google.monitoring.v3.UpdateGroupRequest)other); + return mergeFrom((com.google.monitoring.v3.UpdateGroupRequest) other); } else { super.mergeFrom(other); return this; @@ -497,26 +534,35 @@ public Builder mergeFrom( private com.google.monitoring.v3.Group group_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Group, com.google.monitoring.v3.Group.Builder, com.google.monitoring.v3.GroupOrBuilder> groupBuilder_; + com.google.monitoring.v3.Group, + com.google.monitoring.v3.Group.Builder, + com.google.monitoring.v3.GroupOrBuilder> + groupBuilder_; /** + * + * *
      * Required. The new definition of the group.  All fields of the existing group,
      * excepting `name`, are replaced with the corresponding fields of this group.
      * 
* * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the group field is set. */ public boolean hasGroup() { return groupBuilder_ != null || group_ != null; } /** + * + * *
      * Required. The new definition of the group.  All fields of the existing group,
      * excepting `name`, are replaced with the corresponding fields of this group.
      * 
* * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The group. */ public com.google.monitoring.v3.Group getGroup() { @@ -527,6 +573,8 @@ public com.google.monitoring.v3.Group getGroup() { } } /** + * + * *
      * Required. The new definition of the group.  All fields of the existing group,
      * excepting `name`, are replaced with the corresponding fields of this group.
@@ -548,6 +596,8 @@ public Builder setGroup(com.google.monitoring.v3.Group value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. The new definition of the group.  All fields of the existing group,
      * excepting `name`, are replaced with the corresponding fields of this group.
@@ -555,8 +605,7 @@ public Builder setGroup(com.google.monitoring.v3.Group value) {
      *
      * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED];
      */
-    public Builder setGroup(
-        com.google.monitoring.v3.Group.Builder builderForValue) {
+    public Builder setGroup(com.google.monitoring.v3.Group.Builder builderForValue) {
       if (groupBuilder_ == null) {
         group_ = builderForValue.build();
         onChanged();
@@ -567,6 +616,8 @@ public Builder setGroup(
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. The new definition of the group.  All fields of the existing group,
      * excepting `name`, are replaced with the corresponding fields of this group.
@@ -578,7 +629,7 @@ public Builder mergeGroup(com.google.monitoring.v3.Group value) {
       if (groupBuilder_ == null) {
         if (group_ != null) {
           group_ =
-            com.google.monitoring.v3.Group.newBuilder(group_).mergeFrom(value).buildPartial();
+              com.google.monitoring.v3.Group.newBuilder(group_).mergeFrom(value).buildPartial();
         } else {
           group_ = value;
         }
@@ -590,6 +641,8 @@ public Builder mergeGroup(com.google.monitoring.v3.Group value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. The new definition of the group.  All fields of the existing group,
      * excepting `name`, are replaced with the corresponding fields of this group.
@@ -609,6 +662,8 @@ public Builder clearGroup() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. The new definition of the group.  All fields of the existing group,
      * excepting `name`, are replaced with the corresponding fields of this group.
@@ -617,11 +672,13 @@ public Builder clearGroup() {
      * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED];
      */
     public com.google.monitoring.v3.Group.Builder getGroupBuilder() {
-      
+
       onChanged();
       return getGroupFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Required. The new definition of the group.  All fields of the existing group,
      * excepting `name`, are replaced with the corresponding fields of this group.
@@ -633,11 +690,12 @@ public com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder() {
       if (groupBuilder_ != null) {
         return groupBuilder_.getMessageOrBuilder();
       } else {
-        return group_ == null ?
-            com.google.monitoring.v3.Group.getDefaultInstance() : group_;
+        return group_ == null ? com.google.monitoring.v3.Group.getDefaultInstance() : group_;
       }
     }
     /**
+     *
+     *
      * 
      * Required. The new definition of the group.  All fields of the existing group,
      * excepting `name`, are replaced with the corresponding fields of this group.
@@ -646,26 +704,32 @@ public com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder() {
      * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.monitoring.v3.Group, com.google.monitoring.v3.Group.Builder, com.google.monitoring.v3.GroupOrBuilder> 
+            com.google.monitoring.v3.Group,
+            com.google.monitoring.v3.Group.Builder,
+            com.google.monitoring.v3.GroupOrBuilder>
         getGroupFieldBuilder() {
       if (groupBuilder_ == null) {
-        groupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.Group, com.google.monitoring.v3.Group.Builder, com.google.monitoring.v3.GroupOrBuilder>(
-                getGroup(),
-                getParentForChildren(),
-                isClean());
+        groupBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.monitoring.v3.Group,
+                com.google.monitoring.v3.Group.Builder,
+                com.google.monitoring.v3.GroupOrBuilder>(
+                getGroup(), getParentForChildren(), isClean());
         group_ = null;
       }
       return groupBuilder_;
     }
 
-    private boolean validateOnly_ ;
+    private boolean validateOnly_;
     /**
+     *
+     *
      * 
      * If true, validate this request but do not update the existing group.
      * 
* * bool validate_only = 3; + * * @return The validateOnly. */ @java.lang.Override @@ -673,37 +737,43 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * If true, validate this request but do not update the existing group.
      * 
* * bool validate_only = 3; + * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** + * + * *
      * If true, validate this request but do not update the existing group.
      * 
* * bool validate_only = 3; + * * @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); } @@ -713,12 +783,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.UpdateGroupRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.UpdateGroupRequest) private static final com.google.monitoring.v3.UpdateGroupRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.UpdateGroupRequest(); } @@ -727,16 +797,16 @@ public static com.google.monitoring.v3.UpdateGroupRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateGroupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateGroupRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateGroupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateGroupRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -751,6 +821,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.UpdateGroupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateGroupRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateGroupRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateGroupRequestOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateGroupRequestOrBuilder.java index 4ea723dd..9b1914a6 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateGroupRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateGroupRequestOrBuilder.java @@ -1,33 +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/monitoring/v3/group_service.proto package com.google.monitoring.v3; -public interface UpdateGroupRequestOrBuilder extends +public interface UpdateGroupRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.UpdateGroupRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The new definition of the group.  All fields of the existing group,
    * excepting `name`, are replaced with the corresponding fields of this group.
    * 
* * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the group field is set. */ boolean hasGroup(); /** + * + * *
    * Required. The new definition of the group.  All fields of the existing group,
    * excepting `name`, are replaced with the corresponding fields of this group.
    * 
* * .google.monitoring.v3.Group group = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The group. */ com.google.monitoring.v3.Group getGroup(); /** + * + * *
    * Required. The new definition of the group.  All fields of the existing group,
    * excepting `name`, are replaced with the corresponding fields of this group.
@@ -38,11 +62,14 @@ public interface UpdateGroupRequestOrBuilder extends
   com.google.monitoring.v3.GroupOrBuilder getGroupOrBuilder();
 
   /**
+   *
+   *
    * 
    * If true, validate this request but do not update the existing group.
    * 
* * bool validate_only = 3; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateNotificationChannelRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateNotificationChannelRequest.java similarity index 66% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateNotificationChannelRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateNotificationChannelRequest.java index cf58286f..59c48aca 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateNotificationChannelRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateNotificationChannelRequest.java @@ -1,39 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/notification_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `UpdateNotificationChannel` request.
  * 
* * Protobuf type {@code google.monitoring.v3.UpdateNotificationChannelRequest} */ -public final class UpdateNotificationChannelRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateNotificationChannelRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.UpdateNotificationChannelRequest) UpdateNotificationChannelRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateNotificationChannelRequest.newBuilder() to construct. - private UpdateNotificationChannelRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateNotificationChannelRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateNotificationChannelRequest() { - } + + private UpdateNotificationChannelRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateNotificationChannelRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateNotificationChannelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,72 +69,82 @@ private UpdateNotificationChannelRequest( case 0: done = true; break; - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.monitoring.v3.NotificationChannel.Builder subBuilder = null; - if (notificationChannel_ != null) { - subBuilder = notificationChannel_.toBuilder(); - } - notificationChannel_ = input.readMessage(com.google.monitoring.v3.NotificationChannel.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(notificationChannel_); - notificationChannel_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.monitoring.v3.NotificationChannel.Builder subBuilder = null; + if (notificationChannel_ != null) { + subBuilder = notificationChannel_.toBuilder(); + } + notificationChannel_ = + input.readMessage( + com.google.monitoring.v3.NotificationChannel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(notificationChannel_); + notificationChannel_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_UpdateNotificationChannelRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_UpdateNotificationChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_UpdateNotificationChannelRequest_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_UpdateNotificationChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.UpdateNotificationChannelRequest.class, com.google.monitoring.v3.UpdateNotificationChannelRequest.Builder.class); + com.google.monitoring.v3.UpdateNotificationChannelRequest.class, + com.google.monitoring.v3.UpdateNotificationChannelRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * The fields to update.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -125,11 +152,14 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The fields to update.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -137,6 +167,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The fields to update.
    * 
@@ -151,6 +183,8 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int NOTIFICATION_CHANNEL_FIELD_NUMBER = 3; private com.google.monitoring.v3.NotificationChannel notificationChannel_; /** + * + * *
    * Required. A description of the changes to be applied to the specified
    * notification channel. The description must provide a definition for
@@ -158,7 +192,10 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
    * included in the `update_mask`.
    * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the notificationChannel field is set. */ @java.lang.Override @@ -166,6 +203,8 @@ public boolean hasNotificationChannel() { return notificationChannel_ != null; } /** + * + * *
    * Required. A description of the changes to be applied to the specified
    * notification channel. The description must provide a definition for
@@ -173,14 +212,21 @@ public boolean hasNotificationChannel() {
    * included in the `update_mask`.
    * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The notificationChannel. */ @java.lang.Override public com.google.monitoring.v3.NotificationChannel getNotificationChannel() { - return notificationChannel_ == null ? com.google.monitoring.v3.NotificationChannel.getDefaultInstance() : notificationChannel_; + return notificationChannel_ == null + ? com.google.monitoring.v3.NotificationChannel.getDefaultInstance() + : notificationChannel_; } /** + * + * *
    * Required. A description of the changes to be applied to the specified
    * notification channel. The description must provide a definition for
@@ -188,7 +234,9 @@ public com.google.monitoring.v3.NotificationChannel getNotificationChannel() {
    * included in the `update_mask`.
    * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChannelOrBuilder() { @@ -196,6 +244,7 @@ public com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChan } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,8 +256,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(2, getUpdateMask()); } @@ -225,12 +273,10 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } if (notificationChannel_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getNotificationChannel()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getNotificationChannel()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -240,22 +286,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.monitoring.v3.UpdateNotificationChannelRequest)) { return super.equals(obj); } - com.google.monitoring.v3.UpdateNotificationChannelRequest other = (com.google.monitoring.v3.UpdateNotificationChannelRequest) obj; + com.google.monitoring.v3.UpdateNotificationChannelRequest other = + (com.google.monitoring.v3.UpdateNotificationChannelRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasNotificationChannel() != other.hasNotificationChannel()) return false; if (hasNotificationChannel()) { - if (!getNotificationChannel() - .equals(other.getNotificationChannel())) return false; + if (!getNotificationChannel().equals(other.getNotificationChannel())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -282,117 +327,127 @@ public int hashCode() { } public static com.google.monitoring.v3.UpdateNotificationChannelRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.UpdateNotificationChannelRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.UpdateNotificationChannelRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.UpdateNotificationChannelRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.UpdateNotificationChannelRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.UpdateNotificationChannelRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.UpdateNotificationChannelRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.UpdateNotificationChannelRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.UpdateNotificationChannelRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.UpdateNotificationChannelRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.UpdateNotificationChannelRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.UpdateNotificationChannelRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.UpdateNotificationChannelRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.UpdateNotificationChannelRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.UpdateNotificationChannelRequest prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.UpdateNotificationChannelRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 `UpdateNotificationChannel` request.
    * 
* * Protobuf type {@code google.monitoring.v3.UpdateNotificationChannelRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.UpdateNotificationChannelRequest) com.google.monitoring.v3.UpdateNotificationChannelRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_UpdateNotificationChannelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_UpdateNotificationChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_UpdateNotificationChannelRequest_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_UpdateNotificationChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.UpdateNotificationChannelRequest.class, com.google.monitoring.v3.UpdateNotificationChannelRequest.Builder.class); + com.google.monitoring.v3.UpdateNotificationChannelRequest.class, + com.google.monitoring.v3.UpdateNotificationChannelRequest.Builder.class); } // Construct using com.google.monitoring.v3.UpdateNotificationChannelRequest.newBuilder() @@ -400,16 +455,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -429,9 +483,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_UpdateNotificationChannelRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_UpdateNotificationChannelRequest_descriptor; } @java.lang.Override @@ -450,7 +504,8 @@ public com.google.monitoring.v3.UpdateNotificationChannelRequest build() { @java.lang.Override public com.google.monitoring.v3.UpdateNotificationChannelRequest buildPartial() { - com.google.monitoring.v3.UpdateNotificationChannelRequest result = new com.google.monitoring.v3.UpdateNotificationChannelRequest(this); + com.google.monitoring.v3.UpdateNotificationChannelRequest result = + new com.google.monitoring.v3.UpdateNotificationChannelRequest(this); if (updateMaskBuilder_ == null) { result.updateMask_ = updateMask_; } else { @@ -469,38 +524,39 @@ public com.google.monitoring.v3.UpdateNotificationChannelRequest 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.monitoring.v3.UpdateNotificationChannelRequest) { - return mergeFrom((com.google.monitoring.v3.UpdateNotificationChannelRequest)other); + return mergeFrom((com.google.monitoring.v3.UpdateNotificationChannelRequest) other); } else { super.mergeFrom(other); return this; @@ -508,7 +564,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.UpdateNotificationChannelRequest other) { - if (other == com.google.monitoring.v3.UpdateNotificationChannelRequest.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.UpdateNotificationChannelRequest.getDefaultInstance()) + return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -534,7 +591,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.UpdateNotificationChannelRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.UpdateNotificationChannelRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -546,34 +604,47 @@ public Builder mergeFrom( private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * The fields to update.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * The fields to update.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * The fields to update.
      * 
@@ -594,14 +665,15 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The fields to update.
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -612,6 +684,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * The fields to update.
      * 
@@ -622,7 +696,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -634,6 +708,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The fields to update.
      * 
@@ -652,6 +728,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * The fields to update.
      * 
@@ -659,11 +737,13 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * The fields to update.
      * 
@@ -674,11 +754,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * The fields to update.
      * 
@@ -686,14 +769,17 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; @@ -701,8 +787,13 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.monitoring.v3.NotificationChannel notificationChannel_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.NotificationChannel, com.google.monitoring.v3.NotificationChannel.Builder, com.google.monitoring.v3.NotificationChannelOrBuilder> notificationChannelBuilder_; + com.google.monitoring.v3.NotificationChannel, + com.google.monitoring.v3.NotificationChannel.Builder, + com.google.monitoring.v3.NotificationChannelOrBuilder> + notificationChannelBuilder_; /** + * + * *
      * Required. A description of the changes to be applied to the specified
      * notification channel. The description must provide a definition for
@@ -710,13 +801,18 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * included in the `update_mask`.
      * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the notificationChannel field is set. */ public boolean hasNotificationChannel() { return notificationChannelBuilder_ != null || notificationChannel_ != null; } /** + * + * *
      * Required. A description of the changes to be applied to the specified
      * notification channel. The description must provide a definition for
@@ -724,17 +820,24 @@ public boolean hasNotificationChannel() {
      * included in the `update_mask`.
      * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The notificationChannel. */ public com.google.monitoring.v3.NotificationChannel getNotificationChannel() { if (notificationChannelBuilder_ == null) { - return notificationChannel_ == null ? com.google.monitoring.v3.NotificationChannel.getDefaultInstance() : notificationChannel_; + return notificationChannel_ == null + ? com.google.monitoring.v3.NotificationChannel.getDefaultInstance() + : notificationChannel_; } else { return notificationChannelBuilder_.getMessage(); } } /** + * + * *
      * Required. A description of the changes to be applied to the specified
      * notification channel. The description must provide a definition for
@@ -742,7 +845,9 @@ public com.google.monitoring.v3.NotificationChannel getNotificationChannel() {
      * included in the `update_mask`.
      * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setNotificationChannel(com.google.monitoring.v3.NotificationChannel value) { if (notificationChannelBuilder_ == null) { @@ -758,6 +863,8 @@ public Builder setNotificationChannel(com.google.monitoring.v3.NotificationChann return this; } /** + * + * *
      * Required. A description of the changes to be applied to the specified
      * notification channel. The description must provide a definition for
@@ -765,7 +872,9 @@ public Builder setNotificationChannel(com.google.monitoring.v3.NotificationChann
      * included in the `update_mask`.
      * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setNotificationChannel( com.google.monitoring.v3.NotificationChannel.Builder builderForValue) { @@ -779,6 +888,8 @@ public Builder setNotificationChannel( return this; } /** + * + * *
      * Required. A description of the changes to be applied to the specified
      * notification channel. The description must provide a definition for
@@ -786,13 +897,17 @@ public Builder setNotificationChannel(
      * included in the `update_mask`.
      * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeNotificationChannel(com.google.monitoring.v3.NotificationChannel value) { if (notificationChannelBuilder_ == null) { if (notificationChannel_ != null) { notificationChannel_ = - com.google.monitoring.v3.NotificationChannel.newBuilder(notificationChannel_).mergeFrom(value).buildPartial(); + com.google.monitoring.v3.NotificationChannel.newBuilder(notificationChannel_) + .mergeFrom(value) + .buildPartial(); } else { notificationChannel_ = value; } @@ -804,6 +919,8 @@ public Builder mergeNotificationChannel(com.google.monitoring.v3.NotificationCha return this; } /** + * + * *
      * Required. A description of the changes to be applied to the specified
      * notification channel. The description must provide a definition for
@@ -811,7 +928,9 @@ public Builder mergeNotificationChannel(com.google.monitoring.v3.NotificationCha
      * included in the `update_mask`.
      * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearNotificationChannel() { if (notificationChannelBuilder_ == null) { @@ -825,6 +944,8 @@ public Builder clearNotificationChannel() { return this; } /** + * + * *
      * Required. A description of the changes to be applied to the specified
      * notification channel. The description must provide a definition for
@@ -832,14 +953,18 @@ public Builder clearNotificationChannel() {
      * included in the `update_mask`.
      * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.NotificationChannel.Builder getNotificationChannelBuilder() { - + onChanged(); return getNotificationChannelFieldBuilder().getBuilder(); } /** + * + * *
      * Required. A description of the changes to be applied to the specified
      * notification channel. The description must provide a definition for
@@ -847,17 +972,22 @@ public com.google.monitoring.v3.NotificationChannel.Builder getNotificationChann
      * included in the `update_mask`.
      * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChannelOrBuilder() { if (notificationChannelBuilder_ != null) { return notificationChannelBuilder_.getMessageOrBuilder(); } else { - return notificationChannel_ == null ? - com.google.monitoring.v3.NotificationChannel.getDefaultInstance() : notificationChannel_; + return notificationChannel_ == null + ? com.google.monitoring.v3.NotificationChannel.getDefaultInstance() + : notificationChannel_; } } /** + * + * *
      * Required. A description of the changes to be applied to the specified
      * notification channel. The description must provide a definition for
@@ -865,24 +995,29 @@ public com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChan
      * included in the `update_mask`.
      * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.NotificationChannel, com.google.monitoring.v3.NotificationChannel.Builder, com.google.monitoring.v3.NotificationChannelOrBuilder> + com.google.monitoring.v3.NotificationChannel, + com.google.monitoring.v3.NotificationChannel.Builder, + com.google.monitoring.v3.NotificationChannelOrBuilder> getNotificationChannelFieldBuilder() { if (notificationChannelBuilder_ == null) { - notificationChannelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.NotificationChannel, com.google.monitoring.v3.NotificationChannel.Builder, com.google.monitoring.v3.NotificationChannelOrBuilder>( - getNotificationChannel(), - getParentForChildren(), - isClean()); + notificationChannelBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.NotificationChannel, + com.google.monitoring.v3.NotificationChannel.Builder, + com.google.monitoring.v3.NotificationChannelOrBuilder>( + getNotificationChannel(), getParentForChildren(), isClean()); notificationChannel_ = null; } return notificationChannelBuilder_; } + @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); } @@ -892,12 +1027,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.UpdateNotificationChannelRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.UpdateNotificationChannelRequest) private static final com.google.monitoring.v3.UpdateNotificationChannelRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.UpdateNotificationChannelRequest(); } @@ -906,16 +1041,16 @@ public static com.google.monitoring.v3.UpdateNotificationChannelRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateNotificationChannelRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateNotificationChannelRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateNotificationChannelRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateNotificationChannelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -930,6 +1065,4 @@ public com.google.protobuf.Parser getParserFor public com.google.monitoring.v3.UpdateNotificationChannelRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateNotificationChannelRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateNotificationChannelRequestOrBuilder.java similarity index 64% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateNotificationChannelRequestOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateNotificationChannelRequestOrBuilder.java index d2168eae..e1260fdf 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateNotificationChannelRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateNotificationChannelRequestOrBuilder.java @@ -1,31 +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/monitoring/v3/notification_service.proto package com.google.monitoring.v3; -public interface UpdateNotificationChannelRequestOrBuilder extends +public interface UpdateNotificationChannelRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.UpdateNotificationChannelRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The fields to update.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * The fields to update.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * The fields to update.
    * 
@@ -35,6 +59,8 @@ public interface UpdateNotificationChannelRequestOrBuilder extends com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** + * + * *
    * Required. A description of the changes to be applied to the specified
    * notification channel. The description must provide a definition for
@@ -42,11 +68,16 @@ public interface UpdateNotificationChannelRequestOrBuilder extends
    * included in the `update_mask`.
    * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the notificationChannel field is set. */ boolean hasNotificationChannel(); /** + * + * *
    * Required. A description of the changes to be applied to the specified
    * notification channel. The description must provide a definition for
@@ -54,11 +85,16 @@ public interface UpdateNotificationChannelRequestOrBuilder extends
    * included in the `update_mask`.
    * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The notificationChannel. */ com.google.monitoring.v3.NotificationChannel getNotificationChannel(); /** + * + * *
    * Required. A description of the changes to be applied to the specified
    * notification channel. The description must provide a definition for
@@ -66,7 +102,9 @@ public interface UpdateNotificationChannelRequestOrBuilder extends
    * included in the `update_mask`.
    * 
* - * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.NotificationChannel notification_channel = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.monitoring.v3.NotificationChannelOrBuilder getNotificationChannelOrBuilder(); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceLevelObjectiveRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceLevelObjectiveRequest.java similarity index 65% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceLevelObjectiveRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceLevelObjectiveRequest.java index 264efa9b..8c0d3593 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceLevelObjectiveRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceLevelObjectiveRequest.java @@ -1,39 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/service_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `UpdateServiceLevelObjective` request.
  * 
* * Protobuf type {@code google.monitoring.v3.UpdateServiceLevelObjectiveRequest} */ -public final class UpdateServiceLevelObjectiveRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateServiceLevelObjectiveRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.UpdateServiceLevelObjectiveRequest) UpdateServiceLevelObjectiveRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateServiceLevelObjectiveRequest.newBuilder() to construct. - private UpdateServiceLevelObjectiveRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateServiceLevelObjectiveRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateServiceLevelObjectiveRequest() { - } + + private UpdateServiceLevelObjectiveRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateServiceLevelObjectiveRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateServiceLevelObjectiveRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,73 +69,85 @@ private UpdateServiceLevelObjectiveRequest( case 0: done = true; break; - case 10: { - com.google.monitoring.v3.ServiceLevelObjective.Builder subBuilder = null; - if (serviceLevelObjective_ != null) { - subBuilder = serviceLevelObjective_.toBuilder(); - } - serviceLevelObjective_ = input.readMessage(com.google.monitoring.v3.ServiceLevelObjective.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(serviceLevelObjective_); - serviceLevelObjective_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.monitoring.v3.ServiceLevelObjective.Builder subBuilder = null; + if (serviceLevelObjective_ != null) { + subBuilder = serviceLevelObjective_.toBuilder(); + } + serviceLevelObjective_ = + input.readMessage( + com.google.monitoring.v3.ServiceLevelObjective.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(serviceLevelObjective_); + serviceLevelObjective_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_UpdateServiceLevelObjectiveRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_UpdateServiceLevelObjectiveRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_UpdateServiceLevelObjectiveRequest_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_UpdateServiceLevelObjectiveRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest.class, com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest.Builder.class); + com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest.class, + com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest.Builder.class); } public static final int SERVICE_LEVEL_OBJECTIVE_FIELD_NUMBER = 1; private com.google.monitoring.v3.ServiceLevelObjective serviceLevelObjective_; /** + * + * *
    * Required. The `ServiceLevelObjective` to draw updates from.
    * The given `name` specifies the resource to update.
    * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the serviceLevelObjective field is set. */ @java.lang.Override @@ -126,39 +155,54 @@ public boolean hasServiceLevelObjective() { return serviceLevelObjective_ != null; } /** + * + * *
    * Required. The `ServiceLevelObjective` to draw updates from.
    * The given `name` specifies the resource to update.
    * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The serviceLevelObjective. */ @java.lang.Override public com.google.monitoring.v3.ServiceLevelObjective getServiceLevelObjective() { - return serviceLevelObjective_ == null ? com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance() : serviceLevelObjective_; + return serviceLevelObjective_ == null + ? com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance() + : serviceLevelObjective_; } /** + * + * *
    * Required. The `ServiceLevelObjective` to draw updates from.
    * The given `name` specifies the resource to update.
    * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder getServiceLevelObjectiveOrBuilder() { + public com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder + getServiceLevelObjectiveOrBuilder() { return getServiceLevelObjective(); } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * A set of field paths defining which fields to use for the update.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -166,11 +210,14 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * A set of field paths defining which fields to use for the update.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -178,6 +225,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * A set of field paths defining which fields to use for the update.
    * 
@@ -190,6 +239,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,8 +251,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (serviceLevelObjective_ != null) { output.writeMessage(1, getServiceLevelObjective()); } @@ -219,12 +268,11 @@ public int getSerializedSize() { size = 0; if (serviceLevelObjective_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getServiceLevelObjective()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, getServiceLevelObjective()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -234,22 +282,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.monitoring.v3.UpdateServiceLevelObjectiveRequest)) { return super.equals(obj); } - com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest other = (com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest) obj; + com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest other = + (com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest) obj; if (hasServiceLevelObjective() != other.hasServiceLevelObjective()) return false; if (hasServiceLevelObjective()) { - if (!getServiceLevelObjective() - .equals(other.getServiceLevelObjective())) return false; + if (!getServiceLevelObjective().equals(other.getServiceLevelObjective())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -276,117 +323,127 @@ public int hashCode() { } public static com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 `UpdateServiceLevelObjective` request.
    * 
* * Protobuf type {@code google.monitoring.v3.UpdateServiceLevelObjectiveRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.UpdateServiceLevelObjectiveRequest) com.google.monitoring.v3.UpdateServiceLevelObjectiveRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_UpdateServiceLevelObjectiveRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_UpdateServiceLevelObjectiveRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_UpdateServiceLevelObjectiveRequest_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_UpdateServiceLevelObjectiveRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest.class, com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest.Builder.class); + com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest.class, + com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest.Builder.class); } // Construct using com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest.newBuilder() @@ -394,16 +451,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -423,9 +479,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_UpdateServiceLevelObjectiveRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_UpdateServiceLevelObjectiveRequest_descriptor; } @java.lang.Override @@ -444,7 +500,8 @@ public com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest build() { @java.lang.Override public com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest buildPartial() { - com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest result = new com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest(this); + com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest result = + new com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest(this); if (serviceLevelObjectiveBuilder_ == null) { result.serviceLevelObjective_ = serviceLevelObjective_; } else { @@ -463,38 +520,39 @@ public com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest 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.monitoring.v3.UpdateServiceLevelObjectiveRequest) { - return mergeFrom((com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest)other); + return mergeFrom((com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest) other); } else { super.mergeFrom(other); return this; @@ -502,7 +560,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest other) { - if (other == com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest.getDefaultInstance()) + return this; if (other.hasServiceLevelObjective()) { mergeServiceLevelObjective(other.getServiceLevelObjective()); } @@ -528,7 +587,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -540,42 +600,61 @@ public Builder mergeFrom( private com.google.monitoring.v3.ServiceLevelObjective serviceLevelObjective_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.ServiceLevelObjective, com.google.monitoring.v3.ServiceLevelObjective.Builder, com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder> serviceLevelObjectiveBuilder_; + com.google.monitoring.v3.ServiceLevelObjective, + com.google.monitoring.v3.ServiceLevelObjective.Builder, + com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder> + serviceLevelObjectiveBuilder_; /** + * + * *
      * Required. The `ServiceLevelObjective` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the serviceLevelObjective field is set. */ public boolean hasServiceLevelObjective() { return serviceLevelObjectiveBuilder_ != null || serviceLevelObjective_ != null; } /** + * + * *
      * Required. The `ServiceLevelObjective` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The serviceLevelObjective. */ public com.google.monitoring.v3.ServiceLevelObjective getServiceLevelObjective() { if (serviceLevelObjectiveBuilder_ == null) { - return serviceLevelObjective_ == null ? com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance() : serviceLevelObjective_; + return serviceLevelObjective_ == null + ? com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance() + : serviceLevelObjective_; } else { return serviceLevelObjectiveBuilder_.getMessage(); } } /** + * + * *
      * Required. The `ServiceLevelObjective` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setServiceLevelObjective(com.google.monitoring.v3.ServiceLevelObjective value) { if (serviceLevelObjectiveBuilder_ == null) { @@ -591,12 +670,16 @@ public Builder setServiceLevelObjective(com.google.monitoring.v3.ServiceLevelObj return this; } /** + * + * *
      * Required. The `ServiceLevelObjective` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setServiceLevelObjective( com.google.monitoring.v3.ServiceLevelObjective.Builder builderForValue) { @@ -610,18 +693,25 @@ public Builder setServiceLevelObjective( return this; } /** + * + * *
      * Required. The `ServiceLevelObjective` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeServiceLevelObjective(com.google.monitoring.v3.ServiceLevelObjective value) { + public Builder mergeServiceLevelObjective( + com.google.monitoring.v3.ServiceLevelObjective value) { if (serviceLevelObjectiveBuilder_ == null) { if (serviceLevelObjective_ != null) { serviceLevelObjective_ = - com.google.monitoring.v3.ServiceLevelObjective.newBuilder(serviceLevelObjective_).mergeFrom(value).buildPartial(); + com.google.monitoring.v3.ServiceLevelObjective.newBuilder(serviceLevelObjective_) + .mergeFrom(value) + .buildPartial(); } else { serviceLevelObjective_ = value; } @@ -633,12 +723,16 @@ public Builder mergeServiceLevelObjective(com.google.monitoring.v3.ServiceLevelO return this; } /** + * + * *
      * Required. The `ServiceLevelObjective` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearServiceLevelObjective() { if (serviceLevelObjectiveBuilder_ == null) { @@ -652,51 +746,69 @@ public Builder clearServiceLevelObjective() { return this; } /** + * + * *
      * Required. The `ServiceLevelObjective` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.monitoring.v3.ServiceLevelObjective.Builder getServiceLevelObjectiveBuilder() { - + public com.google.monitoring.v3.ServiceLevelObjective.Builder + getServiceLevelObjectiveBuilder() { + onChanged(); return getServiceLevelObjectiveFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The `ServiceLevelObjective` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder getServiceLevelObjectiveOrBuilder() { + public com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder + getServiceLevelObjectiveOrBuilder() { if (serviceLevelObjectiveBuilder_ != null) { return serviceLevelObjectiveBuilder_.getMessageOrBuilder(); } else { - return serviceLevelObjective_ == null ? - com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance() : serviceLevelObjective_; + return serviceLevelObjective_ == null + ? com.google.monitoring.v3.ServiceLevelObjective.getDefaultInstance() + : serviceLevelObjective_; } } /** + * + * *
      * Required. The `ServiceLevelObjective` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.ServiceLevelObjective, com.google.monitoring.v3.ServiceLevelObjective.Builder, com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder> + com.google.monitoring.v3.ServiceLevelObjective, + com.google.monitoring.v3.ServiceLevelObjective.Builder, + com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder> getServiceLevelObjectiveFieldBuilder() { if (serviceLevelObjectiveBuilder_ == null) { - serviceLevelObjectiveBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.ServiceLevelObjective, com.google.monitoring.v3.ServiceLevelObjective.Builder, com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder>( - getServiceLevelObjective(), - getParentForChildren(), - isClean()); + serviceLevelObjectiveBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.ServiceLevelObjective, + com.google.monitoring.v3.ServiceLevelObjective.Builder, + com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder>( + getServiceLevelObjective(), getParentForChildren(), isClean()); serviceLevelObjective_ = null; } return serviceLevelObjectiveBuilder_; @@ -704,34 +816,47 @@ public com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder getServiceLevelOb private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * A set of field paths defining which fields to use for the update.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * A set of field paths defining which fields to use for the update.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * A set of field paths defining which fields to use for the update.
      * 
@@ -752,14 +877,15 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * A set of field paths defining which fields to use for the update.
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -770,6 +896,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * A set of field paths defining which fields to use for the update.
      * 
@@ -780,7 +908,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -792,6 +920,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * A set of field paths defining which fields to use for the update.
      * 
@@ -810,6 +940,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * A set of field paths defining which fields to use for the update.
      * 
@@ -817,11 +949,13 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * A set of field paths defining which fields to use for the update.
      * 
@@ -832,11 +966,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * A set of field paths defining which fields to use for the update.
      * 
@@ -844,21 +981,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -868,12 +1008,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.UpdateServiceLevelObjectiveRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.UpdateServiceLevelObjectiveRequest) private static final com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest(); } @@ -882,16 +1022,16 @@ public static com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateServiceLevelObjectiveRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateServiceLevelObjectiveRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateServiceLevelObjectiveRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateServiceLevelObjectiveRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -906,6 +1046,4 @@ public com.google.protobuf.Parser getParserF public com.google.monitoring.v3.UpdateServiceLevelObjectiveRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceLevelObjectiveRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceLevelObjectiveRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceLevelObjectiveRequestOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceLevelObjectiveRequestOrBuilder.java index a4b20583..5ff861b6 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceLevelObjectiveRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceLevelObjectiveRequestOrBuilder.java @@ -1,61 +1,99 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/service_service.proto package com.google.monitoring.v3; -public interface UpdateServiceLevelObjectiveRequestOrBuilder extends +public interface UpdateServiceLevelObjectiveRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.UpdateServiceLevelObjectiveRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The `ServiceLevelObjective` to draw updates from.
    * The given `name` specifies the resource to update.
    * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the serviceLevelObjective field is set. */ boolean hasServiceLevelObjective(); /** + * + * *
    * Required. The `ServiceLevelObjective` to draw updates from.
    * The given `name` specifies the resource to update.
    * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The serviceLevelObjective. */ com.google.monitoring.v3.ServiceLevelObjective getServiceLevelObjective(); /** + * + * *
    * Required. The `ServiceLevelObjective` to draw updates from.
    * The given `name` specifies the resource to update.
    * 
* - * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.monitoring.v3.ServiceLevelObjectiveOrBuilder getServiceLevelObjectiveOrBuilder(); /** + * + * *
    * A set of field paths defining which fields to use for the update.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * A set of field paths defining which fields to use for the update.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * A set of field paths defining which fields to use for the update.
    * 
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceRequest.java similarity index 71% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceRequest.java index 24993134..22ffae36 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceRequest.java @@ -1,39 +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/monitoring/v3/service_service.proto package com.google.monitoring.v3; /** + * + * *
  * The `UpdateService` request.
  * 
* * Protobuf type {@code google.monitoring.v3.UpdateServiceRequest} */ -public final class UpdateServiceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateServiceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.UpdateServiceRequest) UpdateServiceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateServiceRequest.newBuilder() to construct. private UpdateServiceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateServiceRequest() { - } + + private UpdateServiceRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateServiceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateServiceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,73 +68,83 @@ private UpdateServiceRequest( case 0: done = true; break; - case 10: { - com.google.monitoring.v3.Service.Builder subBuilder = null; - if (service_ != null) { - subBuilder = service_.toBuilder(); - } - service_ = input.readMessage(com.google.monitoring.v3.Service.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(service_); - service_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); + case 10: + { + com.google.monitoring.v3.Service.Builder subBuilder = null; + if (service_ != null) { + subBuilder = service_.toBuilder(); + } + service_ = + input.readMessage(com.google.monitoring.v3.Service.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(service_); + service_ = subBuilder.buildPartial(); + } + + break; } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_UpdateServiceRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_UpdateServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_UpdateServiceRequest_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_UpdateServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.UpdateServiceRequest.class, com.google.monitoring.v3.UpdateServiceRequest.Builder.class); + com.google.monitoring.v3.UpdateServiceRequest.class, + com.google.monitoring.v3.UpdateServiceRequest.Builder.class); } public static final int SERVICE_FIELD_NUMBER = 1; private com.google.monitoring.v3.Service service_; /** + * + * *
    * Required. The `Service` to draw updates from.
    * The given `name` specifies the resource to update.
    * 
* - * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the service field is set. */ @java.lang.Override @@ -126,12 +152,16 @@ public boolean hasService() { return service_ != null; } /** + * + * *
    * Required. The `Service` to draw updates from.
    * The given `name` specifies the resource to update.
    * 
* - * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The service. */ @java.lang.Override @@ -139,12 +169,15 @@ public com.google.monitoring.v3.Service getService() { return service_ == null ? com.google.monitoring.v3.Service.getDefaultInstance() : service_; } /** + * + * *
    * Required. The `Service` to draw updates from.
    * The given `name` specifies the resource to update.
    * 
* - * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.monitoring.v3.ServiceOrBuilder getServiceOrBuilder() { @@ -154,11 +187,14 @@ public com.google.monitoring.v3.ServiceOrBuilder getServiceOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * A set of field paths defining which fields to use for the update.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -166,11 +202,14 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * A set of field paths defining which fields to use for the update.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -178,6 +217,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * A set of field paths defining which fields to use for the update.
    * 
@@ -190,6 +231,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,8 +243,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (service_ != null) { output.writeMessage(1, getService()); } @@ -219,12 +260,10 @@ public int getSerializedSize() { size = 0; if (service_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getService()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getService()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -234,22 +273,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.monitoring.v3.UpdateServiceRequest)) { return super.equals(obj); } - com.google.monitoring.v3.UpdateServiceRequest other = (com.google.monitoring.v3.UpdateServiceRequest) obj; + com.google.monitoring.v3.UpdateServiceRequest other = + (com.google.monitoring.v3.UpdateServiceRequest) obj; if (hasService() != other.hasService()) return false; if (hasService()) { - if (!getService() - .equals(other.getService())) return false; + if (!getService().equals(other.getService())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -275,118 +313,127 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.UpdateServiceRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.UpdateServiceRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.UpdateServiceRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.UpdateServiceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.UpdateServiceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.UpdateServiceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.UpdateServiceRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.UpdateServiceRequest 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.monitoring.v3.UpdateServiceRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.UpdateServiceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.UpdateServiceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.UpdateServiceRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.UpdateServiceRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.UpdateServiceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.UpdateServiceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 `UpdateService` request.
    * 
* * Protobuf type {@code google.monitoring.v3.UpdateServiceRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.UpdateServiceRequest) com.google.monitoring.v3.UpdateServiceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_UpdateServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_UpdateServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_UpdateServiceRequest_fieldAccessorTable + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_UpdateServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.UpdateServiceRequest.class, com.google.monitoring.v3.UpdateServiceRequest.Builder.class); + com.google.monitoring.v3.UpdateServiceRequest.class, + com.google.monitoring.v3.UpdateServiceRequest.Builder.class); } // Construct using com.google.monitoring.v3.UpdateServiceRequest.newBuilder() @@ -394,16 +441,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -423,9 +469,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.ServiceMonitoringServiceProto.internal_static_google_monitoring_v3_UpdateServiceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.ServiceMonitoringServiceProto + .internal_static_google_monitoring_v3_UpdateServiceRequest_descriptor; } @java.lang.Override @@ -444,7 +490,8 @@ public com.google.monitoring.v3.UpdateServiceRequest build() { @java.lang.Override public com.google.monitoring.v3.UpdateServiceRequest buildPartial() { - com.google.monitoring.v3.UpdateServiceRequest result = new com.google.monitoring.v3.UpdateServiceRequest(this); + com.google.monitoring.v3.UpdateServiceRequest result = + new com.google.monitoring.v3.UpdateServiceRequest(this); if (serviceBuilder_ == null) { result.service_ = service_; } else { @@ -463,38 +510,39 @@ public com.google.monitoring.v3.UpdateServiceRequest 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.monitoring.v3.UpdateServiceRequest) { - return mergeFrom((com.google.monitoring.v3.UpdateServiceRequest)other); + return mergeFrom((com.google.monitoring.v3.UpdateServiceRequest) other); } else { super.mergeFrom(other); return this; @@ -540,26 +588,37 @@ public Builder mergeFrom( private com.google.monitoring.v3.Service service_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service, com.google.monitoring.v3.Service.Builder, com.google.monitoring.v3.ServiceOrBuilder> serviceBuilder_; + com.google.monitoring.v3.Service, + com.google.monitoring.v3.Service.Builder, + com.google.monitoring.v3.ServiceOrBuilder> + serviceBuilder_; /** + * + * *
      * Required. The `Service` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the service field is set. */ public boolean hasService() { return serviceBuilder_ != null || service_ != null; } /** + * + * *
      * Required. The `Service` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The service. */ public com.google.monitoring.v3.Service getService() { @@ -570,12 +629,15 @@ public com.google.monitoring.v3.Service getService() { } } /** + * + * *
      * Required. The `Service` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setService(com.google.monitoring.v3.Service value) { if (serviceBuilder_ == null) { @@ -591,15 +653,17 @@ public Builder setService(com.google.monitoring.v3.Service value) { return this; } /** + * + * *
      * Required. The `Service` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setService( - com.google.monitoring.v3.Service.Builder builderForValue) { + public Builder setService(com.google.monitoring.v3.Service.Builder builderForValue) { if (serviceBuilder_ == null) { service_ = builderForValue.build(); onChanged(); @@ -610,18 +674,21 @@ public Builder setService( return this; } /** + * + * *
      * Required. The `Service` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeService(com.google.monitoring.v3.Service value) { if (serviceBuilder_ == null) { if (service_ != null) { service_ = - com.google.monitoring.v3.Service.newBuilder(service_).mergeFrom(value).buildPartial(); + com.google.monitoring.v3.Service.newBuilder(service_).mergeFrom(value).buildPartial(); } else { service_ = value; } @@ -633,12 +700,15 @@ public Builder mergeService(com.google.monitoring.v3.Service value) { return this; } /** + * + * *
      * Required. The `Service` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearService() { if (serviceBuilder_ == null) { @@ -652,51 +722,62 @@ public Builder clearService() { return this; } /** + * + * *
      * Required. The `Service` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.Service.Builder getServiceBuilder() { - + onChanged(); return getServiceFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The `Service` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.ServiceOrBuilder getServiceOrBuilder() { if (serviceBuilder_ != null) { return serviceBuilder_.getMessageOrBuilder(); } else { - return service_ == null ? - com.google.monitoring.v3.Service.getDefaultInstance() : service_; + return service_ == null ? com.google.monitoring.v3.Service.getDefaultInstance() : service_; } } /** + * + * *
      * Required. The `Service` to draw updates from.
      * The given `name` specifies the resource to update.
      * 
* - * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service, com.google.monitoring.v3.Service.Builder, com.google.monitoring.v3.ServiceOrBuilder> + com.google.monitoring.v3.Service, + com.google.monitoring.v3.Service.Builder, + com.google.monitoring.v3.ServiceOrBuilder> getServiceFieldBuilder() { if (serviceBuilder_ == null) { - serviceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Service, com.google.monitoring.v3.Service.Builder, com.google.monitoring.v3.ServiceOrBuilder>( - getService(), - getParentForChildren(), - isClean()); + serviceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.Service, + com.google.monitoring.v3.Service.Builder, + com.google.monitoring.v3.ServiceOrBuilder>( + getService(), getParentForChildren(), isClean()); service_ = null; } return serviceBuilder_; @@ -704,34 +785,47 @@ public com.google.monitoring.v3.ServiceOrBuilder getServiceOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * A set of field paths defining which fields to use for the update.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * A set of field paths defining which fields to use for the update.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * A set of field paths defining which fields to use for the update.
      * 
@@ -752,14 +846,15 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * A set of field paths defining which fields to use for the update.
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -770,6 +865,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * A set of field paths defining which fields to use for the update.
      * 
@@ -780,7 +877,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -792,6 +889,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * A set of field paths defining which fields to use for the update.
      * 
@@ -810,6 +909,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * A set of field paths defining which fields to use for the update.
      * 
@@ -817,11 +918,13 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * A set of field paths defining which fields to use for the update.
      * 
@@ -832,11 +935,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * A set of field paths defining which fields to use for the update.
      * 
@@ -844,21 +950,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -868,12 +977,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.UpdateServiceRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.UpdateServiceRequest) private static final com.google.monitoring.v3.UpdateServiceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.UpdateServiceRequest(); } @@ -882,16 +991,16 @@ public static com.google.monitoring.v3.UpdateServiceRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateServiceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateServiceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateServiceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateServiceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -906,6 +1015,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.UpdateServiceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceRequestOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceRequestOrBuilder.java index 18152641..aae850cd 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateServiceRequestOrBuilder.java @@ -1,61 +1,96 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/service_service.proto package com.google.monitoring.v3; -public interface UpdateServiceRequestOrBuilder extends +public interface UpdateServiceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.UpdateServiceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The `Service` to draw updates from.
    * The given `name` specifies the resource to update.
    * 
* - * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the service field is set. */ boolean hasService(); /** + * + * *
    * Required. The `Service` to draw updates from.
    * The given `name` specifies the resource to update.
    * 
* - * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The service. */ com.google.monitoring.v3.Service getService(); /** + * + * *
    * Required. The `Service` to draw updates from.
    * The given `name` specifies the resource to update.
    * 
* - * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.monitoring.v3.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.monitoring.v3.ServiceOrBuilder getServiceOrBuilder(); /** + * + * *
    * A set of field paths defining which fields to use for the update.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * A set of field paths defining which fields to use for the update.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * A set of field paths defining which fields to use for the update.
    * 
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateUptimeCheckConfigRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateUptimeCheckConfigRequest.java similarity index 72% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateUptimeCheckConfigRequest.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateUptimeCheckConfigRequest.java index 7cef21d6..dc9ac054 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateUptimeCheckConfigRequest.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateUptimeCheckConfigRequest.java @@ -1,39 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/uptime_service.proto package com.google.monitoring.v3; /** + * + * *
  * The protocol for the `UpdateUptimeCheckConfig` request.
  * 
* * Protobuf type {@code google.monitoring.v3.UpdateUptimeCheckConfigRequest} */ -public final class UpdateUptimeCheckConfigRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateUptimeCheckConfigRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.UpdateUptimeCheckConfigRequest) UpdateUptimeCheckConfigRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateUptimeCheckConfigRequest.newBuilder() to construct. - private UpdateUptimeCheckConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateUptimeCheckConfigRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateUptimeCheckConfigRequest() { - } + + private UpdateUptimeCheckConfigRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateUptimeCheckConfigRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateUptimeCheckConfigRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,67 +69,76 @@ private UpdateUptimeCheckConfigRequest( case 0: done = true; break; - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.monitoring.v3.UptimeCheckConfig.Builder subBuilder = null; - if (uptimeCheckConfig_ != null) { - subBuilder = uptimeCheckConfig_.toBuilder(); - } - uptimeCheckConfig_ = input.readMessage(com.google.monitoring.v3.UptimeCheckConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(uptimeCheckConfig_); - uptimeCheckConfig_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.monitoring.v3.UptimeCheckConfig.Builder subBuilder = null; + if (uptimeCheckConfig_ != null) { + subBuilder = uptimeCheckConfig_.toBuilder(); + } + uptimeCheckConfig_ = + input.readMessage( + com.google.monitoring.v3.UptimeCheckConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(uptimeCheckConfig_); + uptimeCheckConfig_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_UpdateUptimeCheckConfigRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.UptimeServiceProto + .internal_static_google_monitoring_v3_UpdateUptimeCheckConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_UpdateUptimeCheckConfigRequest_fieldAccessorTable + return com.google.monitoring.v3.UptimeServiceProto + .internal_static_google_monitoring_v3_UpdateUptimeCheckConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.UpdateUptimeCheckConfigRequest.class, com.google.monitoring.v3.UpdateUptimeCheckConfigRequest.Builder.class); + com.google.monitoring.v3.UpdateUptimeCheckConfigRequest.class, + com.google.monitoring.v3.UpdateUptimeCheckConfigRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Optional. If present, only the listed fields in the current Uptime check
    * configuration are updated with values from the new configuration. If this
@@ -121,6 +147,7 @@ private UpdateUptimeCheckConfigRequest(
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -128,6 +155,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Optional. If present, only the listed fields in the current Uptime check
    * configuration are updated with values from the new configuration. If this
@@ -136,6 +165,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -143,6 +173,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Optional. If present, only the listed fields in the current Uptime check
    * configuration are updated with values from the new configuration. If this
@@ -160,6 +192,8 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   public static final int UPTIME_CHECK_CONFIG_FIELD_NUMBER = 3;
   private com.google.monitoring.v3.UptimeCheckConfig uptimeCheckConfig_;
   /**
+   *
+   *
    * 
    * Required. If an `updateMask` has been specified, this field gives
    * the values for the set of fields mentioned in the `updateMask`. If an
@@ -173,7 +207,10 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
    * `selected_regions`.
    * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the uptimeCheckConfig field is set. */ @java.lang.Override @@ -181,6 +218,8 @@ public boolean hasUptimeCheckConfig() { return uptimeCheckConfig_ != null; } /** + * + * *
    * Required. If an `updateMask` has been specified, this field gives
    * the values for the set of fields mentioned in the `updateMask`. If an
@@ -194,14 +233,21 @@ public boolean hasUptimeCheckConfig() {
    * `selected_regions`.
    * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The uptimeCheckConfig. */ @java.lang.Override public com.google.monitoring.v3.UptimeCheckConfig getUptimeCheckConfig() { - return uptimeCheckConfig_ == null ? com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance() : uptimeCheckConfig_; + return uptimeCheckConfig_ == null + ? com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance() + : uptimeCheckConfig_; } /** + * + * *
    * Required. If an `updateMask` has been specified, this field gives
    * the values for the set of fields mentioned in the `updateMask`. If an
@@ -215,7 +261,9 @@ public com.google.monitoring.v3.UptimeCheckConfig getUptimeCheckConfig() {
    * `selected_regions`.
    * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigOrBuilder() { @@ -223,6 +271,7 @@ public com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigO } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -234,8 +283,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(2, getUpdateMask()); } @@ -252,12 +300,10 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } if (uptimeCheckConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUptimeCheckConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUptimeCheckConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -267,22 +313,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.monitoring.v3.UpdateUptimeCheckConfigRequest)) { return super.equals(obj); } - com.google.monitoring.v3.UpdateUptimeCheckConfigRequest other = (com.google.monitoring.v3.UpdateUptimeCheckConfigRequest) obj; + com.google.monitoring.v3.UpdateUptimeCheckConfigRequest other = + (com.google.monitoring.v3.UpdateUptimeCheckConfigRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasUptimeCheckConfig() != other.hasUptimeCheckConfig()) return false; if (hasUptimeCheckConfig()) { - if (!getUptimeCheckConfig() - .equals(other.getUptimeCheckConfig())) return false; + if (!getUptimeCheckConfig().equals(other.getUptimeCheckConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -309,117 +354,127 @@ public int hashCode() { } public static com.google.monitoring.v3.UpdateUptimeCheckConfigRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.UpdateUptimeCheckConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.UpdateUptimeCheckConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.UpdateUptimeCheckConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.UpdateUptimeCheckConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.UpdateUptimeCheckConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.UpdateUptimeCheckConfigRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.UpdateUptimeCheckConfigRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.UpdateUptimeCheckConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.UpdateUptimeCheckConfigRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.UpdateUptimeCheckConfigRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.UpdateUptimeCheckConfigRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.UpdateUptimeCheckConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.UpdateUptimeCheckConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.UpdateUptimeCheckConfigRequest prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.UpdateUptimeCheckConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 protocol for the `UpdateUptimeCheckConfig` request.
    * 
* * Protobuf type {@code google.monitoring.v3.UpdateUptimeCheckConfigRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.UpdateUptimeCheckConfigRequest) com.google.monitoring.v3.UpdateUptimeCheckConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_UpdateUptimeCheckConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.UptimeServiceProto + .internal_static_google_monitoring_v3_UpdateUptimeCheckConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_UpdateUptimeCheckConfigRequest_fieldAccessorTable + return com.google.monitoring.v3.UptimeServiceProto + .internal_static_google_monitoring_v3_UpdateUptimeCheckConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.UpdateUptimeCheckConfigRequest.class, com.google.monitoring.v3.UpdateUptimeCheckConfigRequest.Builder.class); + com.google.monitoring.v3.UpdateUptimeCheckConfigRequest.class, + com.google.monitoring.v3.UpdateUptimeCheckConfigRequest.Builder.class); } // Construct using com.google.monitoring.v3.UpdateUptimeCheckConfigRequest.newBuilder() @@ -427,16 +482,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -456,9 +510,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.UptimeServiceProto.internal_static_google_monitoring_v3_UpdateUptimeCheckConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.UptimeServiceProto + .internal_static_google_monitoring_v3_UpdateUptimeCheckConfigRequest_descriptor; } @java.lang.Override @@ -477,7 +531,8 @@ public com.google.monitoring.v3.UpdateUptimeCheckConfigRequest build() { @java.lang.Override public com.google.monitoring.v3.UpdateUptimeCheckConfigRequest buildPartial() { - com.google.monitoring.v3.UpdateUptimeCheckConfigRequest result = new com.google.monitoring.v3.UpdateUptimeCheckConfigRequest(this); + com.google.monitoring.v3.UpdateUptimeCheckConfigRequest result = + new com.google.monitoring.v3.UpdateUptimeCheckConfigRequest(this); if (updateMaskBuilder_ == null) { result.updateMask_ = updateMask_; } else { @@ -496,38 +551,39 @@ public com.google.monitoring.v3.UpdateUptimeCheckConfigRequest 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.monitoring.v3.UpdateUptimeCheckConfigRequest) { - return mergeFrom((com.google.monitoring.v3.UpdateUptimeCheckConfigRequest)other); + return mergeFrom((com.google.monitoring.v3.UpdateUptimeCheckConfigRequest) other); } else { super.mergeFrom(other); return this; @@ -535,7 +591,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.UpdateUptimeCheckConfigRequest other) { - if (other == com.google.monitoring.v3.UpdateUptimeCheckConfigRequest.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.UpdateUptimeCheckConfigRequest.getDefaultInstance()) + return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -561,7 +618,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.UpdateUptimeCheckConfigRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.UpdateUptimeCheckConfigRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -573,8 +631,13 @@ public Builder mergeFrom( private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Optional. If present, only the listed fields in the current Uptime check
      * configuration are updated with values from the new configuration. If this
@@ -583,12 +646,15 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Optional. If present, only the listed fields in the current Uptime check
      * configuration are updated with values from the new configuration. If this
@@ -597,16 +663,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Optional. If present, only the listed fields in the current Uptime check
      * configuration are updated with values from the new configuration. If this
@@ -630,6 +701,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. If present, only the listed fields in the current Uptime check
      * configuration are updated with values from the new configuration. If this
@@ -639,8 +712,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -651,6 +723,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. If present, only the listed fields in the current Uptime check
      * configuration are updated with values from the new configuration. If this
@@ -664,7 +738,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -676,6 +750,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. If present, only the listed fields in the current Uptime check
      * configuration are updated with values from the new configuration. If this
@@ -697,6 +773,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. If present, only the listed fields in the current Uptime check
      * configuration are updated with values from the new configuration. If this
@@ -707,11 +785,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Optional. If present, only the listed fields in the current Uptime check
      * configuration are updated with values from the new configuration. If this
@@ -725,11 +805,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * Optional. If present, only the listed fields in the current Uptime check
      * configuration are updated with values from the new configuration. If this
@@ -740,14 +823,17 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
@@ -755,8 +841,13 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
 
     private com.google.monitoring.v3.UptimeCheckConfig uptimeCheckConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.monitoring.v3.UptimeCheckConfig, com.google.monitoring.v3.UptimeCheckConfig.Builder, com.google.monitoring.v3.UptimeCheckConfigOrBuilder> uptimeCheckConfigBuilder_;
+            com.google.monitoring.v3.UptimeCheckConfig,
+            com.google.monitoring.v3.UptimeCheckConfig.Builder,
+            com.google.monitoring.v3.UptimeCheckConfigOrBuilder>
+        uptimeCheckConfigBuilder_;
     /**
+     *
+     *
      * 
      * Required. If an `updateMask` has been specified, this field gives
      * the values for the set of fields mentioned in the `updateMask`. If an
@@ -770,13 +861,18 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * `selected_regions`.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the uptimeCheckConfig field is set. */ public boolean hasUptimeCheckConfig() { return uptimeCheckConfigBuilder_ != null || uptimeCheckConfig_ != null; } /** + * + * *
      * Required. If an `updateMask` has been specified, this field gives
      * the values for the set of fields mentioned in the `updateMask`. If an
@@ -790,17 +886,24 @@ public boolean hasUptimeCheckConfig() {
      * `selected_regions`.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The uptimeCheckConfig. */ public com.google.monitoring.v3.UptimeCheckConfig getUptimeCheckConfig() { if (uptimeCheckConfigBuilder_ == null) { - return uptimeCheckConfig_ == null ? com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance() : uptimeCheckConfig_; + return uptimeCheckConfig_ == null + ? com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance() + : uptimeCheckConfig_; } else { return uptimeCheckConfigBuilder_.getMessage(); } } /** + * + * *
      * Required. If an `updateMask` has been specified, this field gives
      * the values for the set of fields mentioned in the `updateMask`. If an
@@ -814,7 +917,9 @@ public com.google.monitoring.v3.UptimeCheckConfig getUptimeCheckConfig() {
      * `selected_regions`.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUptimeCheckConfig(com.google.monitoring.v3.UptimeCheckConfig value) { if (uptimeCheckConfigBuilder_ == null) { @@ -830,6 +935,8 @@ public Builder setUptimeCheckConfig(com.google.monitoring.v3.UptimeCheckConfig v return this; } /** + * + * *
      * Required. If an `updateMask` has been specified, this field gives
      * the values for the set of fields mentioned in the `updateMask`. If an
@@ -843,7 +950,9 @@ public Builder setUptimeCheckConfig(com.google.monitoring.v3.UptimeCheckConfig v
      * `selected_regions`.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUptimeCheckConfig( com.google.monitoring.v3.UptimeCheckConfig.Builder builderForValue) { @@ -857,6 +966,8 @@ public Builder setUptimeCheckConfig( return this; } /** + * + * *
      * Required. If an `updateMask` has been specified, this field gives
      * the values for the set of fields mentioned in the `updateMask`. If an
@@ -870,13 +981,17 @@ public Builder setUptimeCheckConfig(
      * `selected_regions`.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUptimeCheckConfig(com.google.monitoring.v3.UptimeCheckConfig value) { if (uptimeCheckConfigBuilder_ == null) { if (uptimeCheckConfig_ != null) { uptimeCheckConfig_ = - com.google.monitoring.v3.UptimeCheckConfig.newBuilder(uptimeCheckConfig_).mergeFrom(value).buildPartial(); + com.google.monitoring.v3.UptimeCheckConfig.newBuilder(uptimeCheckConfig_) + .mergeFrom(value) + .buildPartial(); } else { uptimeCheckConfig_ = value; } @@ -888,6 +1003,8 @@ public Builder mergeUptimeCheckConfig(com.google.monitoring.v3.UptimeCheckConfig return this; } /** + * + * *
      * Required. If an `updateMask` has been specified, this field gives
      * the values for the set of fields mentioned in the `updateMask`. If an
@@ -901,7 +1018,9 @@ public Builder mergeUptimeCheckConfig(com.google.monitoring.v3.UptimeCheckConfig
      * `selected_regions`.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUptimeCheckConfig() { if (uptimeCheckConfigBuilder_ == null) { @@ -915,6 +1034,8 @@ public Builder clearUptimeCheckConfig() { return this; } /** + * + * *
      * Required. If an `updateMask` has been specified, this field gives
      * the values for the set of fields mentioned in the `updateMask`. If an
@@ -928,14 +1049,18 @@ public Builder clearUptimeCheckConfig() {
      * `selected_regions`.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.UptimeCheckConfig.Builder getUptimeCheckConfigBuilder() { - + onChanged(); return getUptimeCheckConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Required. If an `updateMask` has been specified, this field gives
      * the values for the set of fields mentioned in the `updateMask`. If an
@@ -949,17 +1074,22 @@ public com.google.monitoring.v3.UptimeCheckConfig.Builder getUptimeCheckConfigBu
      * `selected_regions`.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigOrBuilder() { if (uptimeCheckConfigBuilder_ != null) { return uptimeCheckConfigBuilder_.getMessageOrBuilder(); } else { - return uptimeCheckConfig_ == null ? - com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance() : uptimeCheckConfig_; + return uptimeCheckConfig_ == null + ? com.google.monitoring.v3.UptimeCheckConfig.getDefaultInstance() + : uptimeCheckConfig_; } } /** + * + * *
      * Required. If an `updateMask` has been specified, this field gives
      * the values for the set of fields mentioned in the `updateMask`. If an
@@ -973,24 +1103,29 @@ public com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigO
      * `selected_regions`.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig, com.google.monitoring.v3.UptimeCheckConfig.Builder, com.google.monitoring.v3.UptimeCheckConfigOrBuilder> + com.google.monitoring.v3.UptimeCheckConfig, + com.google.monitoring.v3.UptimeCheckConfig.Builder, + com.google.monitoring.v3.UptimeCheckConfigOrBuilder> getUptimeCheckConfigFieldBuilder() { if (uptimeCheckConfigBuilder_ == null) { - uptimeCheckConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig, com.google.monitoring.v3.UptimeCheckConfig.Builder, com.google.monitoring.v3.UptimeCheckConfigOrBuilder>( - getUptimeCheckConfig(), - getParentForChildren(), - isClean()); + uptimeCheckConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.UptimeCheckConfig, + com.google.monitoring.v3.UptimeCheckConfig.Builder, + com.google.monitoring.v3.UptimeCheckConfigOrBuilder>( + getUptimeCheckConfig(), getParentForChildren(), isClean()); uptimeCheckConfig_ = null; } return uptimeCheckConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1000,12 +1135,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.UpdateUptimeCheckConfigRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.UpdateUptimeCheckConfigRequest) private static final com.google.monitoring.v3.UpdateUptimeCheckConfigRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.UpdateUptimeCheckConfigRequest(); } @@ -1014,16 +1149,16 @@ public static com.google.monitoring.v3.UpdateUptimeCheckConfigRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateUptimeCheckConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateUptimeCheckConfigRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateUptimeCheckConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateUptimeCheckConfigRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1038,6 +1173,4 @@ public com.google.protobuf.Parser getParserForTy public com.google.monitoring.v3.UpdateUptimeCheckConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateUptimeCheckConfigRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateUptimeCheckConfigRequestOrBuilder.java similarity index 77% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateUptimeCheckConfigRequestOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateUptimeCheckConfigRequestOrBuilder.java index 87a1c212..f1e23340 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateUptimeCheckConfigRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UpdateUptimeCheckConfigRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/uptime_service.proto package com.google.monitoring.v3; -public interface UpdateUptimeCheckConfigRequestOrBuilder extends +public interface UpdateUptimeCheckConfigRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.UpdateUptimeCheckConfigRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. If present, only the listed fields in the current Uptime check
    * configuration are updated with values from the new configuration. If this
@@ -16,10 +34,13 @@ public interface UpdateUptimeCheckConfigRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Optional. If present, only the listed fields in the current Uptime check
    * configuration are updated with values from the new configuration. If this
@@ -28,10 +49,13 @@ public interface UpdateUptimeCheckConfigRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Optional. If present, only the listed fields in the current Uptime check
    * configuration are updated with values from the new configuration. If this
@@ -44,6 +68,8 @@ public interface UpdateUptimeCheckConfigRequestOrBuilder extends
   com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder();
 
   /**
+   *
+   *
    * 
    * Required. If an `updateMask` has been specified, this field gives
    * the values for the set of fields mentioned in the `updateMask`. If an
@@ -57,11 +83,16 @@ public interface UpdateUptimeCheckConfigRequestOrBuilder extends
    * `selected_regions`.
    * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the uptimeCheckConfig field is set. */ boolean hasUptimeCheckConfig(); /** + * + * *
    * Required. If an `updateMask` has been specified, this field gives
    * the values for the set of fields mentioned in the `updateMask`. If an
@@ -75,11 +106,16 @@ public interface UpdateUptimeCheckConfigRequestOrBuilder extends
    * `selected_regions`.
    * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The uptimeCheckConfig. */ com.google.monitoring.v3.UptimeCheckConfig getUptimeCheckConfig(); /** + * + * *
    * Required. If an `updateMask` has been specified, this field gives
    * the values for the set of fields mentioned in the `updateMask`. If an
@@ -93,7 +129,9 @@ public interface UpdateUptimeCheckConfigRequestOrBuilder extends
    * `selected_regions`.
    * 
* - * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.monitoring.v3.UptimeCheckConfigOrBuilder getUptimeCheckConfigOrBuilder(); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfig.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfig.java similarity index 74% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfig.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfig.java index d84b79cf..77ea5494 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfig.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/uptime.proto package com.google.monitoring.v3; /** + * + * *
  * This message configures which resources and services to monitor for
  * availability.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.monitoring.v3.UptimeCheckConfig}
  */
-public final class UptimeCheckConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UptimeCheckConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.UptimeCheckConfig)
     UptimeCheckConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UptimeCheckConfig.newBuilder() to construct.
   private UptimeCheckConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private UptimeCheckConfig() {
     name_ = "";
     displayName_ = "";
@@ -30,16 +48,15 @@ private UptimeCheckConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UptimeCheckConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private UptimeCheckConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -59,160 +76,193 @@ private UptimeCheckConfig(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            displayName_ = s;
-            break;
-          }
-          case 26: {
-            com.google.api.MonitoredResource.Builder subBuilder = null;
-            if (resourceCase_ == 3) {
-              subBuilder = ((com.google.api.MonitoredResource) resource_).toBuilder();
-            }
-            resource_ =
-                input.readMessage(com.google.api.MonitoredResource.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.api.MonitoredResource) resource_);
-              resource_ = subBuilder.buildPartial();
-            }
-            resourceCase_ = 3;
-            break;
-          }
-          case 34: {
-            com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.Builder subBuilder = null;
-            if (resourceCase_ == 4) {
-              subBuilder = ((com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup) resource_).toBuilder();
-            }
-            resource_ =
-                input.readMessage(com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup) resource_);
-              resource_ = subBuilder.buildPartial();
-            }
-            resourceCase_ = 4;
-            break;
-          }
-          case 42: {
-            com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.Builder subBuilder = null;
-            if (checkRequestTypeCase_ == 5) {
-              subBuilder = ((com.google.monitoring.v3.UptimeCheckConfig.HttpCheck) checkRequestType_).toBuilder();
+              name_ = s;
+              break;
             }
-            checkRequestType_ =
-                input.readMessage(com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.monitoring.v3.UptimeCheckConfig.HttpCheck) checkRequestType_);
-              checkRequestType_ = subBuilder.buildPartial();
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              displayName_ = s;
+              break;
             }
-            checkRequestTypeCase_ = 5;
-            break;
-          }
-          case 50: {
-            com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.Builder subBuilder = null;
-            if (checkRequestTypeCase_ == 6) {
-              subBuilder = ((com.google.monitoring.v3.UptimeCheckConfig.TcpCheck) checkRequestType_).toBuilder();
+          case 26:
+            {
+              com.google.api.MonitoredResource.Builder subBuilder = null;
+              if (resourceCase_ == 3) {
+                subBuilder = ((com.google.api.MonitoredResource) resource_).toBuilder();
+              }
+              resource_ =
+                  input.readMessage(com.google.api.MonitoredResource.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.api.MonitoredResource) resource_);
+                resource_ = subBuilder.buildPartial();
+              }
+              resourceCase_ = 3;
+              break;
             }
-            checkRequestType_ =
-                input.readMessage(com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.monitoring.v3.UptimeCheckConfig.TcpCheck) checkRequestType_);
-              checkRequestType_ = subBuilder.buildPartial();
+          case 34:
+            {
+              com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.Builder subBuilder = null;
+              if (resourceCase_ == 4) {
+                subBuilder =
+                    ((com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup) resource_)
+                        .toBuilder();
+              }
+              resource_ =
+                  input.readMessage(
+                      com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup) resource_);
+                resource_ = subBuilder.buildPartial();
+              }
+              resourceCase_ = 4;
+              break;
             }
-            checkRequestTypeCase_ = 6;
-            break;
-          }
-          case 58: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (period_ != null) {
-              subBuilder = period_.toBuilder();
+          case 42:
+            {
+              com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.Builder subBuilder = null;
+              if (checkRequestTypeCase_ == 5) {
+                subBuilder =
+                    ((com.google.monitoring.v3.UptimeCheckConfig.HttpCheck) checkRequestType_)
+                        .toBuilder();
+              }
+              checkRequestType_ =
+                  input.readMessage(
+                      com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.monitoring.v3.UptimeCheckConfig.HttpCheck) checkRequestType_);
+                checkRequestType_ = subBuilder.buildPartial();
+              }
+              checkRequestTypeCase_ = 5;
+              break;
             }
-            period_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(period_);
-              period_ = subBuilder.buildPartial();
+          case 50:
+            {
+              com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.Builder subBuilder = null;
+              if (checkRequestTypeCase_ == 6) {
+                subBuilder =
+                    ((com.google.monitoring.v3.UptimeCheckConfig.TcpCheck) checkRequestType_)
+                        .toBuilder();
+              }
+              checkRequestType_ =
+                  input.readMessage(
+                      com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.monitoring.v3.UptimeCheckConfig.TcpCheck) checkRequestType_);
+                checkRequestType_ = subBuilder.buildPartial();
+              }
+              checkRequestTypeCase_ = 6;
+              break;
             }
+          case 58:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (period_ != null) {
+                subBuilder = period_.toBuilder();
+              }
+              period_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(period_);
+                period_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 66: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (timeout_ != null) {
-              subBuilder = timeout_.toBuilder();
-            }
-            timeout_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(timeout_);
-              timeout_ = subBuilder.buildPartial();
+              break;
             }
+          case 66:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (timeout_ != null) {
+                subBuilder = timeout_.toBuilder();
+              }
+              timeout_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(timeout_);
+                timeout_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 74: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              contentMatchers_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              break;
             }
-            contentMatchers_.add(
-                input.readMessage(com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.parser(), extensionRegistry));
-            break;
-          }
-          case 80: {
-            int rawValue = input.readEnum();
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              selectedRegions_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000002;
+          case 74:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                contentMatchers_ =
+                    new java.util.ArrayList<
+                        com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              contentMatchers_.add(
+                  input.readMessage(
+                      com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.parser(),
+                      extensionRegistry));
+              break;
             }
-            selectedRegions_.add(rawValue);
-            break;
-          }
-          case 82: {
-            int length = input.readRawVarint32();
-            int oldLimit = input.pushLimit(length);
-            while(input.getBytesUntilLimit() > 0) {
+          case 80:
+            {
               int rawValue = input.readEnum();
               if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                 selectedRegions_ = new java.util.ArrayList();
                 mutable_bitField0_ |= 0x00000002;
               }
               selectedRegions_.add(rawValue);
+              break;
             }
-            input.popLimit(oldLimit);
-            break;
-          }
-          case 114: {
-            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-              internalCheckers_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000004;
+          case 82:
+            {
+              int length = input.readRawVarint32();
+              int oldLimit = input.pushLimit(length);
+              while (input.getBytesUntilLimit() > 0) {
+                int rawValue = input.readEnum();
+                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                  selectedRegions_ = new java.util.ArrayList();
+                  mutable_bitField0_ |= 0x00000002;
+                }
+                selectedRegions_.add(rawValue);
+              }
+              input.popLimit(oldLimit);
+              break;
             }
-            internalCheckers_.add(
-                input.readMessage(com.google.monitoring.v3.InternalChecker.parser(), extensionRegistry));
-            break;
-          }
-          case 120: {
-
-            isInternal_ = input.readBool();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 114:
+            {
+              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                internalCheckers_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000004;
+              }
+              internalCheckers_.add(
+                  input.readMessage(
+                      com.google.monitoring.v3.InternalChecker.parser(), extensionRegistry));
+              break;
+            }
+          case 120:
+            {
+              isInternal_ = input.readBool();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         contentMatchers_ = java.util.Collections.unmodifiableList(contentMatchers_);
@@ -227,24 +277,30 @@ private UptimeCheckConfig(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.monitoring.v3.UptimeProto
+        .internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_fieldAccessorTable
+    return com.google.monitoring.v3.UptimeProto
+        .internal_static_google_monitoring_v3_UptimeCheckConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.UptimeCheckConfig.class, com.google.monitoring.v3.UptimeCheckConfig.Builder.class);
+            com.google.monitoring.v3.UptimeCheckConfig.class,
+            com.google.monitoring.v3.UptimeCheckConfig.Builder.class);
   }
 
-  public interface ResourceGroupOrBuilder extends
+  public interface ResourceGroupOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.monitoring.v3.UptimeCheckConfig.ResourceGroup)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The group of resources being monitored. Should be only the `[GROUP_ID]`,
      * and not the full-path
@@ -252,10 +308,13 @@ public interface ResourceGroupOrBuilder extends
      * 
* * string group_id = 1; + * * @return The groupId. */ java.lang.String getGroupId(); /** + * + * *
      * The group of resources being monitored. Should be only the `[GROUP_ID]`,
      * and not the full-path
@@ -263,31 +322,39 @@ public interface ResourceGroupOrBuilder extends
      * 
* * string group_id = 1; + * * @return The bytes for groupId. */ - com.google.protobuf.ByteString - getGroupIdBytes(); + com.google.protobuf.ByteString getGroupIdBytes(); /** + * + * *
      * The resource type of the group members.
      * 
* * .google.monitoring.v3.GroupResourceType resource_type = 2; + * * @return The enum numeric value on the wire for resourceType. */ int getResourceTypeValue(); /** + * + * *
      * The resource type of the group members.
      * 
* * .google.monitoring.v3.GroupResourceType resource_type = 2; + * * @return The resourceType. */ com.google.monitoring.v3.GroupResourceType getResourceType(); } /** + * + * *
    * The resource submessage for group checks. It can be used instead of a
    * monitored resource, when multiple resources are being monitored.
@@ -295,15 +362,16 @@ public interface ResourceGroupOrBuilder extends
    *
    * Protobuf type {@code google.monitoring.v3.UptimeCheckConfig.ResourceGroup}
    */
-  public static final class ResourceGroup extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class ResourceGroup extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.monitoring.v3.UptimeCheckConfig.ResourceGroup)
       ResourceGroupOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use ResourceGroup.newBuilder() to construct.
     private ResourceGroup(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private ResourceGroup() {
       groupId_ = "";
       resourceType_ = 0;
@@ -311,16 +379,15 @@ private ResourceGroup() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new ResourceGroup();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private ResourceGroup(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -339,53 +406,59 @@ private ResourceGroup(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              groupId_ = s;
-              break;
-            }
-            case 16: {
-              int rawValue = input.readEnum();
+                groupId_ = s;
+                break;
+              }
+            case 16:
+              {
+                int rawValue = input.readEnum();
 
-              resourceType_ = rawValue;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                resourceType_ = rawValue;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_ResourceGroup_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.monitoring.v3.UptimeProto
+          .internal_static_google_monitoring_v3_UptimeCheckConfig_ResourceGroup_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_ResourceGroup_fieldAccessorTable
+      return com.google.monitoring.v3.UptimeProto
+          .internal_static_google_monitoring_v3_UptimeCheckConfig_ResourceGroup_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.class, com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.Builder.class);
+              com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.class,
+              com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.Builder.class);
     }
 
     public static final int GROUP_ID_FIELD_NUMBER = 1;
     private volatile java.lang.Object groupId_;
     /**
+     *
+     *
      * 
      * The group of resources being monitored. Should be only the `[GROUP_ID]`,
      * and not the full-path
@@ -393,6 +466,7 @@ private ResourceGroup(
      * 
* * string group_id = 1; + * * @return The groupId. */ @java.lang.Override @@ -401,14 +475,15 @@ public java.lang.String getGroupId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); groupId_ = s; return s; } } /** + * + * *
      * The group of resources being monitored. Should be only the `[GROUP_ID]`,
      * and not the full-path
@@ -416,16 +491,15 @@ public java.lang.String getGroupId() {
      * 
* * string group_id = 1; + * * @return The bytes for groupId. */ @java.lang.Override - public com.google.protobuf.ByteString - getGroupIdBytes() { + public com.google.protobuf.ByteString getGroupIdBytes() { java.lang.Object ref = groupId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); groupId_ = b; return b; } else { @@ -436,31 +510,41 @@ public java.lang.String getGroupId() { public static final int RESOURCE_TYPE_FIELD_NUMBER = 2; private int resourceType_; /** + * + * *
      * The resource type of the group members.
      * 
* * .google.monitoring.v3.GroupResourceType resource_type = 2; + * * @return The enum numeric value on the wire for resourceType. */ - @java.lang.Override public int getResourceTypeValue() { + @java.lang.Override + public int getResourceTypeValue() { return resourceType_; } /** + * + * *
      * The resource type of the group members.
      * 
* * .google.monitoring.v3.GroupResourceType resource_type = 2; + * * @return The resourceType. */ - @java.lang.Override public com.google.monitoring.v3.GroupResourceType getResourceType() { + @java.lang.Override + public com.google.monitoring.v3.GroupResourceType getResourceType() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.GroupResourceType result = com.google.monitoring.v3.GroupResourceType.valueOf(resourceType_); + com.google.monitoring.v3.GroupResourceType result = + com.google.monitoring.v3.GroupResourceType.valueOf(resourceType_); return result == null ? com.google.monitoring.v3.GroupResourceType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -472,12 +556,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(groupId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, groupId_); } - if (resourceType_ != com.google.monitoring.v3.GroupResourceType.RESOURCE_TYPE_UNSPECIFIED.getNumber()) { + if (resourceType_ + != com.google.monitoring.v3.GroupResourceType.RESOURCE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, resourceType_); } unknownFields.writeTo(output); @@ -492,9 +576,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(groupId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, groupId_); } - if (resourceType_ != com.google.monitoring.v3.GroupResourceType.RESOURCE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, resourceType_); + if (resourceType_ + != com.google.monitoring.v3.GroupResourceType.RESOURCE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, resourceType_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -504,15 +588,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.monitoring.v3.UptimeCheckConfig.ResourceGroup)) { return super.equals(obj); } - com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup other = (com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup) obj; + com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup other = + (com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup) obj; - if (!getGroupId() - .equals(other.getGroupId())) return false; + if (!getGroupId().equals(other.getGroupId())) return false; if (resourceType_ != other.resourceType_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -535,87 +619,94 @@ public int hashCode() { } public static com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -625,6 +716,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * The resource submessage for group checks. It can be used instead of a
      * monitored resource, when multiple resources are being monitored.
@@ -632,21 +725,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.monitoring.v3.UptimeCheckConfig.ResourceGroup}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.monitoring.v3.UptimeCheckConfig.ResourceGroup)
         com.google.monitoring.v3.UptimeCheckConfig.ResourceGroupOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_ResourceGroup_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.monitoring.v3.UptimeProto
+            .internal_static_google_monitoring_v3_UptimeCheckConfig_ResourceGroup_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_ResourceGroup_fieldAccessorTable
+        return com.google.monitoring.v3.UptimeProto
+            .internal_static_google_monitoring_v3_UptimeCheckConfig_ResourceGroup_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.class, com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.Builder.class);
+                com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.class,
+                com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.Builder.class);
       }
 
       // Construct using com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.newBuilder()
@@ -654,16 +750,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -675,9 +770,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_ResourceGroup_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.monitoring.v3.UptimeProto
+            .internal_static_google_monitoring_v3_UptimeCheckConfig_ResourceGroup_descriptor;
       }
 
       @java.lang.Override
@@ -696,7 +791,8 @@ public com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup build() {
 
       @java.lang.Override
       public com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup buildPartial() {
-        com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup result = new com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup(this);
+        com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup result =
+            new com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup(this);
         result.groupId_ = groupId_;
         result.resourceType_ = resourceType_;
         onBuilt();
@@ -707,38 +803,41 @@ public com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup) {
-          return mergeFrom((com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup)other);
+          return mergeFrom((com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -746,7 +845,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup other) {
-        if (other == com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.getDefaultInstance()) return this;
+        if (other == com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.getDefaultInstance())
+          return this;
         if (!other.getGroupId().isEmpty()) {
           groupId_ = other.groupId_;
           onChanged();
@@ -773,7 +873,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -785,6 +886,8 @@ public Builder mergeFrom(
 
       private java.lang.Object groupId_ = "";
       /**
+       *
+       *
        * 
        * The group of resources being monitored. Should be only the `[GROUP_ID]`,
        * and not the full-path
@@ -792,13 +895,13 @@ public Builder mergeFrom(
        * 
* * string group_id = 1; + * * @return The groupId. */ public java.lang.String getGroupId() { java.lang.Object ref = groupId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); groupId_ = s; return s; @@ -807,6 +910,8 @@ public java.lang.String getGroupId() { } } /** + * + * *
        * The group of resources being monitored. Should be only the `[GROUP_ID]`,
        * and not the full-path
@@ -814,15 +919,14 @@ public java.lang.String getGroupId() {
        * 
* * string group_id = 1; + * * @return The bytes for groupId. */ - public com.google.protobuf.ByteString - getGroupIdBytes() { + public com.google.protobuf.ByteString getGroupIdBytes() { java.lang.Object ref = groupId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); groupId_ = b; return b; } else { @@ -830,6 +934,8 @@ public java.lang.String getGroupId() { } } /** + * + * *
        * The group of resources being monitored. Should be only the `[GROUP_ID]`,
        * and not the full-path
@@ -837,20 +943,22 @@ public java.lang.String getGroupId() {
        * 
* * string group_id = 1; + * * @param value The groupId to set. * @return This builder for chaining. */ - public Builder setGroupId( - java.lang.String value) { + public Builder setGroupId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + groupId_ = value; onChanged(); return this; } /** + * + * *
        * The group of resources being monitored. Should be only the `[GROUP_ID]`,
        * and not the full-path
@@ -858,15 +966,18 @@ public Builder setGroupId(
        * 
* * string group_id = 1; + * * @return This builder for chaining. */ public Builder clearGroupId() { - + groupId_ = getDefaultInstance().getGroupId(); onChanged(); return this; } /** + * + * *
        * The group of resources being monitored. Should be only the `[GROUP_ID]`,
        * and not the full-path
@@ -874,16 +985,16 @@ public Builder clearGroupId() {
        * 
* * string group_id = 1; + * * @param value The bytes for groupId to set. * @return This builder for chaining. */ - public Builder setGroupIdBytes( - com.google.protobuf.ByteString value) { + public Builder setGroupIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + groupId_ = value; onChanged(); return this; @@ -891,51 +1002,65 @@ public Builder setGroupIdBytes( private int resourceType_ = 0; /** + * + * *
        * The resource type of the group members.
        * 
* * .google.monitoring.v3.GroupResourceType resource_type = 2; + * * @return The enum numeric value on the wire for resourceType. */ - @java.lang.Override public int getResourceTypeValue() { + @java.lang.Override + public int getResourceTypeValue() { return resourceType_; } /** + * + * *
        * The resource type of the group members.
        * 
* * .google.monitoring.v3.GroupResourceType resource_type = 2; + * * @param value The enum numeric value on the wire for resourceType to set. * @return This builder for chaining. */ public Builder setResourceTypeValue(int value) { - + resourceType_ = value; onChanged(); return this; } /** + * + * *
        * The resource type of the group members.
        * 
* * .google.monitoring.v3.GroupResourceType resource_type = 2; + * * @return The resourceType. */ @java.lang.Override public com.google.monitoring.v3.GroupResourceType getResourceType() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.GroupResourceType result = com.google.monitoring.v3.GroupResourceType.valueOf(resourceType_); + com.google.monitoring.v3.GroupResourceType result = + com.google.monitoring.v3.GroupResourceType.valueOf(resourceType_); return result == null ? com.google.monitoring.v3.GroupResourceType.UNRECOGNIZED : result; } /** + * + * *
        * The resource type of the group members.
        * 
* * .google.monitoring.v3.GroupResourceType resource_type = 2; + * * @param value The resourceType to set. * @return This builder for chaining. */ @@ -943,25 +1068,29 @@ public Builder setResourceType(com.google.monitoring.v3.GroupResourceType value) if (value == null) { throw new NullPointerException(); } - + resourceType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The resource type of the group members.
        * 
* * .google.monitoring.v3.GroupResourceType resource_type = 2; + * * @return This builder for chaining. */ public Builder clearResourceType() { - + resourceType_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -974,12 +1103,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.UptimeCheckConfig.ResourceGroup) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.UptimeCheckConfig.ResourceGroup) private static final com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup(); } @@ -988,16 +1117,16 @@ public static com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceGroup parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResourceGroup(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceGroup parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResourceGroup(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1012,45 +1141,58 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface HttpCheckOrBuilder extends + public interface HttpCheckOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.UptimeCheckConfig.HttpCheck) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The HTTP request method to use for the check. If set to
      * `METHOD_UNSPECIFIED` then `request_method` defaults to `GET`.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8; + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8; + * + * * @return The enum numeric value on the wire for requestMethod. */ int getRequestMethodValue(); /** + * + * *
      * The HTTP request method to use for the check. If set to
      * `METHOD_UNSPECIFIED` then `request_method` defaults to `GET`.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8; + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8; + * + * * @return The requestMethod. */ com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod getRequestMethod(); /** + * + * *
      * If `true`, use HTTPS instead of HTTP to run the check.
      * 
* * bool use_ssl = 1; + * * @return The useSsl. */ boolean getUseSsl(); /** + * + * *
      * Optional (defaults to "/"). The path to the page against which to run
      * the check. Will be combined with the `host` (specified within the
@@ -1060,10 +1202,13 @@ public interface HttpCheckOrBuilder extends
      * 
* * string path = 2; + * * @return The path. */ java.lang.String getPath(); /** + * + * *
      * Optional (defaults to "/"). The path to the page against which to run
      * the check. Will be combined with the `host` (specified within the
@@ -1073,12 +1218,14 @@ public interface HttpCheckOrBuilder extends
      * 
* * string path = 2; + * * @return The bytes for path. */ - com.google.protobuf.ByteString - getPathBytes(); + com.google.protobuf.ByteString getPathBytes(); /** + * + * *
      * Optional (defaults to 80 when `use_ssl` is `false`, and 443 when
      * `use_ssl` is `true`). The TCP port on the HTTP server against which to
@@ -1087,41 +1234,56 @@ public interface HttpCheckOrBuilder extends
      * 
* * int32 port = 3; + * * @return The port. */ int getPort(); /** + * + * *
      * The authentication information. Optional when creating an HTTP check;
      * defaults to empty.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; + * + * * @return Whether the authInfo field is set. */ boolean hasAuthInfo(); /** + * + * *
      * The authentication information. Optional when creating an HTTP check;
      * defaults to empty.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; + * + * * @return The authInfo. */ com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication getAuthInfo(); /** + * + * *
      * The authentication information. Optional when creating an HTTP check;
      * defaults to empty.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; + * */ - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthenticationOrBuilder getAuthInfoOrBuilder(); + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthenticationOrBuilder + getAuthInfoOrBuilder(); /** + * + * *
      * Boolean specifying whether to encrypt the header information.
      * Encryption should be specified for any headers related to authentication
@@ -1132,11 +1294,14 @@ public interface HttpCheckOrBuilder extends
      * 
* * bool mask_headers = 5; + * * @return The maskHeaders. */ boolean getMaskHeaders(); /** + * + * *
      * The list of headers to send as part of the Uptime check request.
      * If two headers have the same key and different values, they should
@@ -1152,6 +1317,8 @@ public interface HttpCheckOrBuilder extends
      */
     int getHeadersCount();
     /**
+     *
+     *
      * 
      * The list of headers to send as part of the Uptime check request.
      * If two headers have the same key and different values, they should
@@ -1165,15 +1332,13 @@ public interface HttpCheckOrBuilder extends
      *
      * map<string, string> headers = 6;
      */
-    boolean containsHeaders(
-        java.lang.String key);
-    /**
-     * Use {@link #getHeadersMap()} instead.
-     */
+    boolean containsHeaders(java.lang.String key);
+    /** Use {@link #getHeadersMap()} instead. */
     @java.lang.Deprecated
-    java.util.Map
-    getHeaders();
+    java.util.Map getHeaders();
     /**
+     *
+     *
      * 
      * The list of headers to send as part of the Uptime check request.
      * If two headers have the same key and different values, they should
@@ -1187,9 +1352,10 @@ boolean containsHeaders(
      *
      * map<string, string> headers = 6;
      */
-    java.util.Map
-    getHeadersMap();
+    java.util.Map getHeadersMap();
     /**
+     *
+     *
      * 
      * The list of headers to send as part of the Uptime check request.
      * If two headers have the same key and different values, they should
@@ -1203,11 +1369,10 @@ boolean containsHeaders(
      *
      * map<string, string> headers = 6;
      */
-
-    java.lang.String getHeadersOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue);
+    java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue);
     /**
+     *
+     *
      * 
      * The list of headers to send as part of the Uptime check request.
      * If two headers have the same key and different values, they should
@@ -1221,11 +1386,11 @@ java.lang.String getHeadersOrDefault(
      *
      * map<string, string> headers = 6;
      */
-
-    java.lang.String getHeadersOrThrow(
-        java.lang.String key);
+    java.lang.String getHeadersOrThrow(java.lang.String key);
 
     /**
+     *
+     *
      * 
      * The content type header to use for the check. The following
      * configurations result in errors:
@@ -1238,10 +1403,13 @@ java.lang.String getHeadersOrThrow(
      * 
* * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType content_type = 9; + * * @return The enum numeric value on the wire for contentType. */ int getContentTypeValue(); /** + * + * *
      * The content type header to use for the check. The following
      * configurations result in errors:
@@ -1254,11 +1422,14 @@ java.lang.String getHeadersOrThrow(
      * 
* * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType content_type = 9; + * * @return The contentType. */ com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType getContentType(); /** + * + * *
      * Boolean specifying whether to include SSL certificate validation as a
      * part of the Uptime check. Only applies to checks where
@@ -1267,11 +1438,14 @@ java.lang.String getHeadersOrThrow(
      * 
* * bool validate_ssl = 7; + * * @return The validateSsl. */ boolean getValidateSsl(); /** + * + * *
      * The request body associated with the HTTP POST request. If `content_type`
      * is `URL_ENCODED`, the body passed in must be URL-encoded. Users can
@@ -1284,26 +1458,30 @@ java.lang.String getHeadersOrThrow(
      * 
* * bytes body = 10; + * * @return The body. */ com.google.protobuf.ByteString getBody(); } /** + * + * *
    * Information involved in an HTTP/HTTPS Uptime check request.
    * 
* * Protobuf type {@code google.monitoring.v3.UptimeCheckConfig.HttpCheck} */ - public static final class HttpCheck extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class HttpCheck extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.UptimeCheckConfig.HttpCheck) HttpCheckOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use HttpCheck.newBuilder() to construct. private HttpCheck(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private HttpCheck() { requestMethod_ = 0; path_ = ""; @@ -1313,16 +1491,15 @@ private HttpCheck() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new HttpCheck(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private HttpCheck( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1342,129 +1519,144 @@ private HttpCheck( case 0: done = true; break; - case 8: { - - useSsl_ = input.readBool(); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - path_ = s; - break; - } - case 24: { + case 8: + { + useSsl_ = input.readBool(); + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - port_ = input.readInt32(); - break; - } - case 34: { - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder subBuilder = null; - if (authInfo_ != null) { - subBuilder = authInfo_.toBuilder(); + path_ = s; + break; } - authInfo_ = input.readMessage(com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(authInfo_); - authInfo_ = subBuilder.buildPartial(); + case 24: + { + port_ = input.readInt32(); + break; } + case 34: + { + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder + subBuilder = null; + if (authInfo_ != null) { + subBuilder = authInfo_.toBuilder(); + } + authInfo_ = + input.readMessage( + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(authInfo_); + authInfo_ = subBuilder.buildPartial(); + } - break; - } - case 40: { - - maskHeaders_ = input.readBool(); - break; - } - case 50: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - headers_ = com.google.protobuf.MapField.newMapField( - HeadersDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + break; } - com.google.protobuf.MapEntry - headers__ = input.readMessage( - HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - headers_.getMutableMap().put( - headers__.getKey(), headers__.getValue()); - break; - } - case 56: { - - validateSsl_ = input.readBool(); - break; - } - case 64: { - int rawValue = input.readEnum(); - - requestMethod_ = rawValue; - break; - } - case 72: { - int rawValue = input.readEnum(); + case 40: + { + maskHeaders_ = input.readBool(); + break; + } + case 50: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + headers_ = + com.google.protobuf.MapField.newMapField( + HeadersDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry headers__ = + input.readMessage( + HeadersDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + headers_.getMutableMap().put(headers__.getKey(), headers__.getValue()); + break; + } + case 56: + { + validateSsl_ = input.readBool(); + break; + } + case 64: + { + int rawValue = input.readEnum(); - contentType_ = rawValue; - break; - } - case 82: { + requestMethod_ = rawValue; + break; + } + case 72: + { + int rawValue = input.readEnum(); - body_ = input.readBytes(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + contentType_ = rawValue; + break; + } + case 82: + { + body_ = input.readBytes(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.UptimeProto + .internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_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 6: return internalGetHeaders(); 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.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_fieldAccessorTable + return com.google.monitoring.v3.UptimeProto + .internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.class, com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.Builder.class); + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.class, + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.Builder.class); } /** + * + * *
      * The HTTP request method options.
      * 
* * Protobuf enum {@code google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod} */ - public enum RequestMethod - implements com.google.protobuf.ProtocolMessageEnum { + public enum RequestMethod implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * No request method specified.
        * 
@@ -1473,6 +1665,8 @@ public enum RequestMethod */ METHOD_UNSPECIFIED(0), /** + * + * *
        * GET request.
        * 
@@ -1481,6 +1675,8 @@ public enum RequestMethod */ GET(1), /** + * + * *
        * POST request.
        * 
@@ -1492,6 +1688,8 @@ public enum RequestMethod ; /** + * + * *
        * No request method specified.
        * 
@@ -1500,6 +1698,8 @@ public enum RequestMethod */ public static final int METHOD_UNSPECIFIED_VALUE = 0; /** + * + * *
        * GET request.
        * 
@@ -1508,6 +1708,8 @@ public enum RequestMethod */ public static final int GET_VALUE = 1; /** + * + * *
        * POST request.
        * 
@@ -1516,7 +1718,6 @@ public enum RequestMethod */ public static final int POST_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -1541,40 +1742,45 @@ public static RequestMethod valueOf(int value) { */ public static RequestMethod forNumber(int value) { switch (value) { - case 0: return METHOD_UNSPECIFIED; - case 1: return GET; - case 2: return POST; - default: return null; + case 0: + return METHOD_UNSPECIFIED; + case 1: + return GET; + case 2: + return POST; + 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< - RequestMethod> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RequestMethod findValueByNumber(int number) { - return RequestMethod.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RequestMethod findValueByNumber(int number) { + return RequestMethod.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.monitoring.v3.UptimeCheckConfig.HttpCheck.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.getDescriptor() + .getEnumTypes() + .get(0); } private static final RequestMethod[] VALUES = values(); @@ -1582,8 +1788,7 @@ public RequestMethod findValueByNumber(int number) { public static RequestMethod 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; @@ -1601,15 +1806,18 @@ private RequestMethod(int value) { } /** + * + * *
      * Header options corresponding to the content type of a HTTP request body.
      * 
* * Protobuf enum {@code google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType} */ - public enum ContentType - implements com.google.protobuf.ProtocolMessageEnum { + public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * No content type specified.
        * 
@@ -1618,6 +1826,8 @@ public enum ContentType */ TYPE_UNSPECIFIED(0), /** + * + * *
        * `body` is in URL-encoded form. Equivalent to setting the `Content-Type`
        * to `application/x-www-form-urlencoded` in the HTTP request.
@@ -1630,6 +1840,8 @@ public enum ContentType
       ;
 
       /**
+       *
+       *
        * 
        * No content type specified.
        * 
@@ -1638,6 +1850,8 @@ public enum ContentType */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * `body` is in URL-encoded form. Equivalent to setting the `Content-Type`
        * to `application/x-www-form-urlencoded` in the HTTP request.
@@ -1647,7 +1861,6 @@ public enum ContentType
        */
       public static final int URL_ENCODED_VALUE = 1;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -1672,48 +1885,49 @@ public static ContentType valueOf(int value) {
        */
       public static ContentType forNumber(int value) {
         switch (value) {
-          case 0: return TYPE_UNSPECIFIED;
-          case 1: return URL_ENCODED;
-          default: return null;
+          case 0:
+            return TYPE_UNSPECIFIED;
+          case 1:
+            return URL_ENCODED;
+          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<
-          ContentType> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public ContentType findValueByNumber(int number) {
-                return ContentType.forNumber(number);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public ContentType findValueByNumber(int number) {
+              return ContentType.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.monitoring.v3.UptimeCheckConfig.HttpCheck.getDescriptor().getEnumTypes().get(1);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.getDescriptor()
+            .getEnumTypes()
+            .get(1);
       }
 
       private static final ContentType[] VALUES = values();
 
-      public static ContentType valueOf(
-          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static ContentType 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;
@@ -1730,51 +1944,64 @@ private ContentType(int value) {
       // @@protoc_insertion_point(enum_scope:google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType)
     }
 
-    public interface BasicAuthenticationOrBuilder extends
+    public interface BasicAuthenticationOrBuilder
+        extends
         // @@protoc_insertion_point(interface_extends:google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication)
         com.google.protobuf.MessageOrBuilder {
 
       /**
+       *
+       *
        * 
        * The username to use when authenticating with the HTTP server.
        * 
* * string username = 1; + * * @return The username. */ java.lang.String getUsername(); /** + * + * *
        * The username to use when authenticating with the HTTP server.
        * 
* * string username = 1; + * * @return The bytes for username. */ - com.google.protobuf.ByteString - getUsernameBytes(); + com.google.protobuf.ByteString getUsernameBytes(); /** + * + * *
        * The password to use when authenticating with the HTTP server.
        * 
* * string password = 2; + * * @return The password. */ java.lang.String getPassword(); /** + * + * *
        * The password to use when authenticating with the HTTP server.
        * 
* * string password = 2; + * * @return The bytes for password. */ - com.google.protobuf.ByteString - getPasswordBytes(); + com.google.protobuf.ByteString getPasswordBytes(); } /** + * + * *
      * The authentication parameters to provide to the specified resource or
      * URL that requires a username and password. Currently, only
@@ -1784,15 +2011,16 @@ public interface BasicAuthenticationOrBuilder extends
      *
      * Protobuf type {@code google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication}
      */
-    public static final class BasicAuthentication extends
-        com.google.protobuf.GeneratedMessageV3 implements
+    public static final class BasicAuthentication extends com.google.protobuf.GeneratedMessageV3
+        implements
         // @@protoc_insertion_point(message_implements:google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication)
         BasicAuthenticationOrBuilder {
-    private static final long serialVersionUID = 0L;
+      private static final long serialVersionUID = 0L;
       // Use BasicAuthentication.newBuilder() to construct.
       private BasicAuthentication(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
+
       private BasicAuthentication() {
         username_ = "";
         password_ = "";
@@ -1800,16 +2028,15 @@ private BasicAuthentication() {
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(
-          UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
         return new BasicAuthentication();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet
-      getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
         return this.unknownFields;
       }
+
       private BasicAuthentication(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1828,58 +2055,67 @@ private BasicAuthentication(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                java.lang.String s = input.readStringRequireUtf8();
+              case 10:
+                {
+                  java.lang.String s = input.readStringRequireUtf8();
 
-                username_ = s;
-                break;
-              }
-              case 18: {
-                java.lang.String s = input.readStringRequireUtf8();
+                  username_ = s;
+                  break;
+                }
+              case 18:
+                {
+                  java.lang.String s = input.readStringRequireUtf8();
 
-                password_ = s;
-                break;
-              }
-              default: {
-                if (!parseUnknownField(
-                    input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
+                  password_ = s;
+                  break;
+                }
+              default:
+                {
+                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                    done = true;
+                  }
+                  break;
                 }
-                break;
-              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
           throw e.setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(
-              e).setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_BasicAuthentication_descriptor;
+
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.monitoring.v3.UptimeProto
+            .internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_BasicAuthentication_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_BasicAuthentication_fieldAccessorTable
+        return com.google.monitoring.v3.UptimeProto
+            .internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_BasicAuthentication_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.class, com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder.class);
+                com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.class,
+                com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder
+                    .class);
       }
 
       public static final int USERNAME_FIELD_NUMBER = 1;
       private volatile java.lang.Object username_;
       /**
+       *
+       *
        * 
        * The username to use when authenticating with the HTTP server.
        * 
* * string username = 1; + * * @return The username. */ @java.lang.Override @@ -1888,29 +2124,29 @@ public java.lang.String getUsername() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; } } /** + * + * *
        * The username to use when authenticating with the HTTP server.
        * 
* * string username = 1; + * * @return The bytes for username. */ @java.lang.Override - public com.google.protobuf.ByteString - getUsernameBytes() { + public com.google.protobuf.ByteString getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); username_ = b; return b; } else { @@ -1921,11 +2157,14 @@ public java.lang.String getUsername() { public static final int PASSWORD_FIELD_NUMBER = 2; private volatile java.lang.Object password_; /** + * + * *
        * The password to use when authenticating with the HTTP server.
        * 
* * string password = 2; + * * @return The password. */ @java.lang.Override @@ -1934,29 +2173,29 @@ public java.lang.String getPassword() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; } } /** + * + * *
        * The password to use when authenticating with the HTTP server.
        * 
* * string password = 2; + * * @return The bytes for password. */ @java.lang.Override - public com.google.protobuf.ByteString - getPasswordBytes() { + public com.google.protobuf.ByteString getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); password_ = b; return b; } else { @@ -1965,6 +2204,7 @@ public java.lang.String getPassword() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1976,8 +2216,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(username_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, username_); } @@ -2007,17 +2246,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.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication)) { + if (!(obj + instanceof com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication)) { return super.equals(obj); } - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication other = (com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication) obj; + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication other = + (com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication) obj; - if (!getUsername() - .equals(other.getUsername())) return false; - if (!getPassword() - .equals(other.getPassword())) return false; + if (!getUsername().equals(other.getUsername())) return false; + if (!getPassword().equals(other.getPassword())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2038,88 +2277,103 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2129,6 +2383,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * The authentication parameters to provide to the specified resource or
        * URL that requires a username and password. Currently, only
@@ -2138,38 +2394,42 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication}
        */
-      public static final class Builder extends
-          com.google.protobuf.GeneratedMessageV3.Builder implements
+      public static final class Builder
+          extends com.google.protobuf.GeneratedMessageV3.Builder
+          implements
           // @@protoc_insertion_point(builder_implements:google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication)
           com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthenticationOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor
-            getDescriptor() {
-          return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_BasicAuthentication_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+          return com.google.monitoring.v3.UptimeProto
+              .internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_BasicAuthentication_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_BasicAuthentication_fieldAccessorTable
+          return com.google.monitoring.v3.UptimeProto
+              .internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_BasicAuthentication_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.class, com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder.class);
+                  com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.class,
+                  com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder
+                      .class);
         }
 
-        // Construct using com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.newBuilder()
+        // Construct using
+        // com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.newBuilder()
         private Builder() {
           maybeForceBuilderInitialization();
         }
 
-        private Builder(
-            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
+
         private void maybeForceBuilderInitialization() {
-          if (com.google.protobuf.GeneratedMessageV3
-                  .alwaysUseFieldBuilders) {
-          }
+          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
         }
+
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -2181,19 +2441,22 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor
-            getDescriptorForType() {
-          return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_BasicAuthentication_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+          return com.google.monitoring.v3.UptimeProto
+              .internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_BasicAuthentication_descriptor;
         }
 
         @java.lang.Override
-        public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication getDefaultInstanceForType() {
-          return com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.getDefaultInstance();
+        public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication
+            getDefaultInstanceForType() {
+          return com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication
+              .getDefaultInstance();
         }
 
         @java.lang.Override
         public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication build() {
-          com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication result = buildPartial();
+          com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication result =
+              buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
@@ -2201,8 +2464,10 @@ public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication
         }
 
         @java.lang.Override
-        public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication buildPartial() {
-          com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication result = new com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication(this);
+        public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication
+            buildPartial() {
+          com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication result =
+              new com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication(this);
           result.username_ = username_;
           result.password_ = password_;
           onBuilt();
@@ -2213,46 +2478,54 @@ public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication
         public Builder clone() {
           return super.clone();
         }
+
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field,
-            java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
           return super.setField(field, value);
         }
+
         @java.lang.Override
-        public Builder clearField(
-            com.google.protobuf.Descriptors.FieldDescriptor field) {
+        public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
+
         @java.lang.Override
-        public Builder clearOneof(
-            com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+        public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
           return super.clearOneof(oneof);
         }
+
         @java.lang.Override
         public Builder setRepeatedField(
             com.google.protobuf.Descriptors.FieldDescriptor field,
-            int index, java.lang.Object value) {
+            int index,
+            java.lang.Object value) {
           return super.setRepeatedField(field, index, value);
         }
+
         @java.lang.Override
         public Builder addRepeatedField(
-            com.google.protobuf.Descriptors.FieldDescriptor field,
-            java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
           return super.addRepeatedField(field, value);
         }
+
         @java.lang.Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
-          if (other instanceof com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication) {
-            return mergeFrom((com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication)other);
+          if (other
+              instanceof com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication) {
+            return mergeFrom(
+                (com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication) other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication other) {
-          if (other == com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.getDefaultInstance()) return this;
+        public Builder mergeFrom(
+            com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication other) {
+          if (other
+              == com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication
+                  .getDefaultInstance()) return this;
           if (!other.getUsername().isEmpty()) {
             username_ = other.username_;
             onChanged();
@@ -2276,11 +2549,14 @@ public Builder mergeFrom(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
             throws java.io.IOException {
-          com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication parsedMessage = null;
+          com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication parsedMessage =
+              null;
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            parsedMessage = (com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication) e.getUnfinishedMessage();
+            parsedMessage =
+                (com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication)
+                    e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
@@ -2292,18 +2568,20 @@ public Builder mergeFrom(
 
         private java.lang.Object username_ = "";
         /**
+         *
+         *
          * 
          * The username to use when authenticating with the HTTP server.
          * 
* * string username = 1; + * * @return The username. */ public java.lang.String getUsername() { java.lang.Object ref = username_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; @@ -2312,20 +2590,21 @@ public java.lang.String getUsername() { } } /** + * + * *
          * The username to use when authenticating with the HTTP server.
          * 
* * string username = 1; + * * @return The bytes for username. */ - public com.google.protobuf.ByteString - getUsernameBytes() { + public com.google.protobuf.ByteString getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); username_ = b; return b; } else { @@ -2333,54 +2612,61 @@ public java.lang.String getUsername() { } } /** + * + * *
          * The username to use when authenticating with the HTTP server.
          * 
* * string username = 1; + * * @param value The username to set. * @return This builder for chaining. */ - public Builder setUsername( - java.lang.String value) { + public Builder setUsername(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + username_ = value; onChanged(); return this; } /** + * + * *
          * The username to use when authenticating with the HTTP server.
          * 
* * string username = 1; + * * @return This builder for chaining. */ public Builder clearUsername() { - + username_ = getDefaultInstance().getUsername(); onChanged(); return this; } /** + * + * *
          * The username to use when authenticating with the HTTP server.
          * 
* * string username = 1; + * * @param value The bytes for username to set. * @return This builder for chaining. */ - public Builder setUsernameBytes( - com.google.protobuf.ByteString value) { + public Builder setUsernameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + username_ = value; onChanged(); return this; @@ -2388,18 +2674,20 @@ public Builder setUsernameBytes( private java.lang.Object password_ = ""; /** + * + * *
          * The password to use when authenticating with the HTTP server.
          * 
* * string password = 2; + * * @return The password. */ public java.lang.String getPassword() { java.lang.Object ref = password_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; @@ -2408,20 +2696,21 @@ public java.lang.String getPassword() { } } /** + * + * *
          * The password to use when authenticating with the HTTP server.
          * 
* * string password = 2; + * * @return The bytes for password. */ - public com.google.protobuf.ByteString - getPasswordBytes() { + public com.google.protobuf.ByteString getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); password_ = b; return b; } else { @@ -2429,58 +2718,66 @@ public java.lang.String getPassword() { } } /** + * + * *
          * The password to use when authenticating with the HTTP server.
          * 
* * string password = 2; + * * @param value The password to set. * @return This builder for chaining. */ - public Builder setPassword( - java.lang.String value) { + public Builder setPassword(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + password_ = value; onChanged(); return this; } /** + * + * *
          * The password to use when authenticating with the HTTP server.
          * 
* * string password = 2; + * * @return This builder for chaining. */ public Builder clearPassword() { - + password_ = getDefaultInstance().getPassword(); onChanged(); return this; } /** + * + * *
          * The password to use when authenticating with the HTTP server.
          * 
* * string password = 2; + * * @param value The bytes for password to set. * @return This builder for chaining. */ - public Builder setPasswordBytes( - com.google.protobuf.ByteString value) { + public Builder setPasswordBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + password_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2493,30 +2790,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication) - private static final com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication DEFAULT_INSTANCE; + private static final com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication(); + DEFAULT_INSTANCE = + new com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication(); } - public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication getDefaultInstance() { + public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BasicAuthentication parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BasicAuthentication(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BasicAuthentication parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BasicAuthentication(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2528,49 +2828,66 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication getDefaultInstanceForType() { + public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int REQUEST_METHOD_FIELD_NUMBER = 8; private int requestMethod_; /** + * + * *
      * The HTTP request method to use for the check. If set to
      * `METHOD_UNSPECIFIED` then `request_method` defaults to `GET`.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8; + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8; + * + * * @return The enum numeric value on the wire for requestMethod. */ - @java.lang.Override public int getRequestMethodValue() { + @java.lang.Override + public int getRequestMethodValue() { return requestMethod_; } /** + * + * *
      * The HTTP request method to use for the check. If set to
      * `METHOD_UNSPECIFIED` then `request_method` defaults to `GET`.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8; + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8; + * + * * @return The requestMethod. */ - @java.lang.Override public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod getRequestMethod() { + @java.lang.Override + public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod getRequestMethod() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod result = com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod.valueOf(requestMethod_); - return result == null ? com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod.UNRECOGNIZED : result; + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod result = + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod.valueOf( + requestMethod_); + return result == null + ? com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod.UNRECOGNIZED + : result; } public static final int USE_SSL_FIELD_NUMBER = 1; private boolean useSsl_; /** + * + * *
      * If `true`, use HTTPS instead of HTTP to run the check.
      * 
* * bool use_ssl = 1; + * * @return The useSsl. */ @java.lang.Override @@ -2581,6 +2898,8 @@ public boolean getUseSsl() { public static final int PATH_FIELD_NUMBER = 2; private volatile java.lang.Object path_; /** + * + * *
      * Optional (defaults to "/"). The path to the page against which to run
      * the check. Will be combined with the `host` (specified within the
@@ -2590,6 +2909,7 @@ public boolean getUseSsl() {
      * 
* * string path = 2; + * * @return The path. */ @java.lang.Override @@ -2598,14 +2918,15 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** + * + * *
      * Optional (defaults to "/"). The path to the page against which to run
      * the check. Will be combined with the `host` (specified within the
@@ -2615,16 +2936,15 @@ public java.lang.String getPath() {
      * 
* * string path = 2; + * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -2635,6 +2955,8 @@ public java.lang.String getPath() { public static final int PORT_FIELD_NUMBER = 3; private int port_; /** + * + * *
      * Optional (defaults to 80 when `use_ssl` is `false`, and 443 when
      * `use_ssl` is `true`). The TCP port on the HTTP server against which to
@@ -2643,6 +2965,7 @@ public java.lang.String getPath() {
      * 
* * int32 port = 3; + * * @return The port. */ @java.lang.Override @@ -2653,12 +2976,16 @@ public int getPort() { public static final int AUTH_INFO_FIELD_NUMBER = 4; private com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication authInfo_; /** + * + * *
      * The authentication information. Optional when creating an HTTP check;
      * defaults to empty.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; + * + * * @return Whether the authInfo field is set. */ @java.lang.Override @@ -2666,34 +2993,47 @@ public boolean hasAuthInfo() { return authInfo_ != null; } /** + * + * *
      * The authentication information. Optional when creating an HTTP check;
      * defaults to empty.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; + * + * * @return The authInfo. */ @java.lang.Override public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication getAuthInfo() { - return authInfo_ == null ? com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.getDefaultInstance() : authInfo_; + return authInfo_ == null + ? com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication + .getDefaultInstance() + : authInfo_; } /** + * + * *
      * The authentication information. Optional when creating an HTTP check;
      * defaults to empty.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; + * */ @java.lang.Override - public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthenticationOrBuilder getAuthInfoOrBuilder() { + public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthenticationOrBuilder + getAuthInfoOrBuilder() { return getAuthInfo(); } public static final int MASK_HEADERS_FIELD_NUMBER = 5; private boolean maskHeaders_; /** + * + * *
      * Boolean specifying whether to encrypt the header information.
      * Encryption should be specified for any headers related to authentication
@@ -2704,6 +3044,7 @@ public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthenticationO
      * 
* * bool mask_headers = 5; + * * @return The maskHeaders. */ @java.lang.Override @@ -2712,24 +3053,23 @@ public boolean getMaskHeaders() { } public static final int HEADERS_FIELD_NUMBER = 6; + private static final class HeadersDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_HeadersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> headers_; - private com.google.protobuf.MapField - internalGetHeaders() { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.monitoring.v3.UptimeProto + .internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_HeadersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + private com.google.protobuf.MapField headers_; + + private com.google.protobuf.MapField internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); } return headers_; } @@ -2738,6 +3078,8 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** + * + * *
      * The list of headers to send as part of the Uptime check request.
      * If two headers have the same key and different values, they should
@@ -2751,22 +3093,22 @@ public int getHeadersCount() {
      *
      * map<string, string> headers = 6;
      */
-
     @java.lang.Override
-    public boolean containsHeaders(
-        java.lang.String key) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
+    public boolean containsHeaders(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
       return internalGetHeaders().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getHeadersMap()} instead.
-     */
+    /** Use {@link #getHeadersMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHeaders() {
       return getHeadersMap();
     }
     /**
+     *
+     *
      * 
      * The list of headers to send as part of the Uptime check request.
      * If two headers have the same key and different values, they should
@@ -2781,11 +3123,12 @@ public java.util.Map getHeaders() {
      * map<string, string> headers = 6;
      */
     @java.lang.Override
-
     public java.util.Map getHeadersMap() {
       return internalGetHeaders().getMap();
     }
     /**
+     *
+     *
      * 
      * The list of headers to send as part of the Uptime check request.
      * If two headers have the same key and different values, they should
@@ -2800,16 +3143,17 @@ public java.util.Map getHeadersMap() {
      * map<string, string> headers = 6;
      */
     @java.lang.Override
-
     public java.lang.String getHeadersOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      java.util.Map map =
-          internalGetHeaders().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      java.util.Map map = internalGetHeaders().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * The list of headers to send as part of the Uptime check request.
      * If two headers have the same key and different values, they should
@@ -2824,12 +3168,11 @@ public java.lang.String getHeadersOrDefault(
      * map<string, string> headers = 6;
      */
     @java.lang.Override
-
-    public java.lang.String getHeadersOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new java.lang.NullPointerException(); }
-      java.util.Map map =
-          internalGetHeaders().getMap();
+    public java.lang.String getHeadersOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new java.lang.NullPointerException();
+      }
+      java.util.Map map = internalGetHeaders().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -2839,6 +3182,8 @@ public java.lang.String getHeadersOrThrow(
     public static final int CONTENT_TYPE_FIELD_NUMBER = 9;
     private int contentType_;
     /**
+     *
+     *
      * 
      * The content type header to use for the check. The following
      * configurations result in errors:
@@ -2851,12 +3196,16 @@ public java.lang.String getHeadersOrThrow(
      * 
* * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType content_type = 9; + * * @return The enum numeric value on the wire for contentType. */ - @java.lang.Override public int getContentTypeValue() { + @java.lang.Override + public int getContentTypeValue() { return contentType_; } /** + * + * *
      * The content type header to use for the check. The following
      * configurations result in errors:
@@ -2869,17 +3218,24 @@ public java.lang.String getHeadersOrThrow(
      * 
* * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType content_type = 9; + * * @return The contentType. */ - @java.lang.Override public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType getContentType() { + @java.lang.Override + public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType getContentType() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType result = com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType.valueOf(contentType_); - return result == null ? com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType.UNRECOGNIZED : result; + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType result = + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType.valueOf(contentType_); + return result == null + ? com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType.UNRECOGNIZED + : result; } public static final int VALIDATE_SSL_FIELD_NUMBER = 7; private boolean validateSsl_; /** + * + * *
      * Boolean specifying whether to include SSL certificate validation as a
      * part of the Uptime check. Only applies to checks where
@@ -2888,6 +3244,7 @@ public java.lang.String getHeadersOrThrow(
      * 
* * bool validate_ssl = 7; + * * @return The validateSsl. */ @java.lang.Override @@ -2898,6 +3255,8 @@ public boolean getValidateSsl() { public static final int BODY_FIELD_NUMBER = 10; private com.google.protobuf.ByteString body_; /** + * + * *
      * The request body associated with the HTTP POST request. If `content_type`
      * is `URL_ENCODED`, the body passed in must be URL-encoded. Users can
@@ -2910,6 +3269,7 @@ public boolean getValidateSsl() {
      * 
* * bytes body = 10; + * * @return The body. */ @java.lang.Override @@ -2918,6 +3278,7 @@ public com.google.protobuf.ByteString getBody() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2929,8 +3290,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (useSsl_ != false) { output.writeBool(1, useSsl_); } @@ -2946,19 +3306,19 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (maskHeaders_ != false) { output.writeBool(5, maskHeaders_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetHeaders(), - HeadersDefaultEntryHolder.defaultEntry, - 6); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 6); if (validateSsl_ != false) { output.writeBool(7, validateSsl_); } - if (requestMethod_ != com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod.METHOD_UNSPECIFIED.getNumber()) { + if (requestMethod_ + != com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod.METHOD_UNSPECIFIED + .getNumber()) { output.writeEnum(8, requestMethod_); } - if (contentType_ != com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType.TYPE_UNSPECIFIED.getNumber()) { + if (contentType_ + != com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType.TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(9, contentType_); } if (!body_.isEmpty()) { @@ -2974,49 +3334,45 @@ public int getSerializedSize() { size = 0; if (useSsl_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, useSsl_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, useSsl_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_); } if (port_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, port_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, port_); } if (authInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getAuthInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getAuthInfo()); } if (maskHeaders_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, maskHeaders_); - } - for (java.util.Map.Entry entry - : internalGetHeaders().getMap().entrySet()) { - com.google.protobuf.MapEntry - headers__ = HeadersDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, headers__); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, maskHeaders_); + } + for (java.util.Map.Entry entry : + internalGetHeaders().getMap().entrySet()) { + com.google.protobuf.MapEntry headers__ = + HeadersDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, headers__); } if (validateSsl_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(7, validateSsl_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, validateSsl_); } - if (requestMethod_ != com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod.METHOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(8, requestMethod_); + if (requestMethod_ + != com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod.METHOD_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, requestMethod_); } - if (contentType_ != com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(9, contentType_); + if (contentType_ + != com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType.TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, contentType_); } if (!body_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(10, body_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(10, body_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3026,34 +3382,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.UptimeCheckConfig.HttpCheck)) { return super.equals(obj); } - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck other = (com.google.monitoring.v3.UptimeCheckConfig.HttpCheck) obj; + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck other = + (com.google.monitoring.v3.UptimeCheckConfig.HttpCheck) obj; if (requestMethod_ != other.requestMethod_) return false; - if (getUseSsl() - != other.getUseSsl()) return false; - if (!getPath() - .equals(other.getPath())) return false; - if (getPort() - != other.getPort()) return false; + if (getUseSsl() != other.getUseSsl()) return false; + if (!getPath().equals(other.getPath())) return false; + if (getPort() != other.getPort()) return false; if (hasAuthInfo() != other.hasAuthInfo()) return false; if (hasAuthInfo()) { - if (!getAuthInfo() - .equals(other.getAuthInfo())) return false; + if (!getAuthInfo().equals(other.getAuthInfo())) return false; } - if (getMaskHeaders() - != other.getMaskHeaders()) return false; - if (!internalGetHeaders().equals( - other.internalGetHeaders())) return false; + if (getMaskHeaders() != other.getMaskHeaders()) return false; + if (!internalGetHeaders().equals(other.internalGetHeaders())) return false; if (contentType_ != other.contentType_) return false; - if (getValidateSsl() - != other.getValidateSsl()) return false; - if (!getBody() - .equals(other.getBody())) return false; + if (getValidateSsl() != other.getValidateSsl()) return false; + if (!getBody().equals(other.getBody())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3068,8 +3417,7 @@ public int hashCode() { hash = (37 * hash) + REQUEST_METHOD_FIELD_NUMBER; hash = (53 * hash) + requestMethod_; hash = (37 * hash) + USE_SSL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getUseSsl()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseSsl()); hash = (37 * hash) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); hash = (37 * hash) + PORT_FIELD_NUMBER; @@ -3079,8 +3427,7 @@ public int hashCode() { hash = (53 * hash) + getAuthInfo().hashCode(); } hash = (37 * hash) + MASK_HEADERS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getMaskHeaders()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getMaskHeaders()); if (!internalGetHeaders().getMap().isEmpty()) { hash = (37 * hash) + HEADERS_FIELD_NUMBER; hash = (53 * hash) + internalGetHeaders().hashCode(); @@ -3088,8 +3435,7 @@ public int hashCode() { hash = (37 * hash) + CONTENT_TYPE_FIELD_NUMBER; hash = (53 * hash) + contentType_; hash = (37 * hash) + VALIDATE_SSL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateSsl()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateSsl()); hash = (37 * hash) + BODY_FIELD_NUMBER; hash = (53 * hash) + getBody().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); @@ -3098,87 +3444,94 @@ public int hashCode() { } public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.UptimeCheckConfig.HttpCheck prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3188,49 +3541,52 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Information involved in an HTTP/HTTPS Uptime check request.
      * 
* * Protobuf type {@code google.monitoring.v3.UptimeCheckConfig.HttpCheck} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.UptimeCheckConfig.HttpCheck) com.google.monitoring.v3.UptimeCheckConfig.HttpCheckOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.UptimeProto + .internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 6: return internalGetHeaders(); 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 6: return internalGetMutableHeaders(); 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.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_fieldAccessorTable + return com.google.monitoring.v3.UptimeProto + .internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.class, com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.Builder.class); + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.class, + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.Builder.class); } // Construct using com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.newBuilder() @@ -3238,16 +3594,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -3278,9 +3633,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.UptimeProto + .internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_descriptor; } @java.lang.Override @@ -3299,7 +3654,8 @@ public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck build() { @java.lang.Override public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck buildPartial() { - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck result = new com.google.monitoring.v3.UptimeCheckConfig.HttpCheck(this); + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck result = + new com.google.monitoring.v3.UptimeCheckConfig.HttpCheck(this); int from_bitField0_ = bitField0_; result.requestMethod_ = requestMethod_; result.useSsl_ = useSsl_; @@ -3324,38 +3680,41 @@ public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck 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.monitoring.v3.UptimeCheckConfig.HttpCheck) { - return mergeFrom((com.google.monitoring.v3.UptimeCheckConfig.HttpCheck)other); + return mergeFrom((com.google.monitoring.v3.UptimeCheckConfig.HttpCheck) other); } else { super.mergeFrom(other); return this; @@ -3363,7 +3722,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.UptimeCheckConfig.HttpCheck other) { - if (other == com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.getDefaultInstance()) + return this; if (other.requestMethod_ != 0) { setRequestMethodValue(other.getRequestMethodValue()); } @@ -3383,8 +3743,7 @@ public Builder mergeFrom(com.google.monitoring.v3.UptimeCheckConfig.HttpCheck ot if (other.getMaskHeaders() != false) { setMaskHeaders(other.getMaskHeaders()); } - internalGetMutableHeaders().mergeFrom( - other.internalGetHeaders()); + internalGetMutableHeaders().mergeFrom(other.internalGetHeaders()); if (other.contentType_ != 0) { setContentTypeValue(other.getContentTypeValue()); } @@ -3413,7 +3772,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.UptimeCheckConfig.HttpCheck) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.UptimeCheckConfig.HttpCheck) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3422,94 +3782,124 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private int requestMethod_ = 0; /** + * + * *
        * The HTTP request method to use for the check. If set to
        * `METHOD_UNSPECIFIED` then `request_method` defaults to `GET`.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8; + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8; + * + * * @return The enum numeric value on the wire for requestMethod. */ - @java.lang.Override public int getRequestMethodValue() { + @java.lang.Override + public int getRequestMethodValue() { return requestMethod_; } /** + * + * *
        * The HTTP request method to use for the check. If set to
        * `METHOD_UNSPECIFIED` then `request_method` defaults to `GET`.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8; + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8; + * + * * @param value The enum numeric value on the wire for requestMethod to set. * @return This builder for chaining. */ public Builder setRequestMethodValue(int value) { - + requestMethod_ = value; onChanged(); return this; } /** + * + * *
        * The HTTP request method to use for the check. If set to
        * `METHOD_UNSPECIFIED` then `request_method` defaults to `GET`.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8; + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8; + * + * * @return The requestMethod. */ @java.lang.Override public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod getRequestMethod() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod result = com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod.valueOf(requestMethod_); - return result == null ? com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod.UNRECOGNIZED : result; + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod result = + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod.valueOf( + requestMethod_); + return result == null + ? com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod.UNRECOGNIZED + : result; } /** + * + * *
        * The HTTP request method to use for the check. If set to
        * `METHOD_UNSPECIFIED` then `request_method` defaults to `GET`.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8; + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8; + * + * * @param value The requestMethod to set. * @return This builder for chaining. */ - public Builder setRequestMethod(com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod value) { + public Builder setRequestMethod( + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod value) { if (value == null) { throw new NullPointerException(); } - + requestMethod_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The HTTP request method to use for the check. If set to
        * `METHOD_UNSPECIFIED` then `request_method` defaults to `GET`.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8; + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod request_method = 8; + * + * * @return This builder for chaining. */ public Builder clearRequestMethod() { - + requestMethod_ = 0; onChanged(); return this; } - private boolean useSsl_ ; + private boolean useSsl_; /** + * + * *
        * If `true`, use HTTPS instead of HTTP to run the check.
        * 
* * bool use_ssl = 1; + * * @return The useSsl. */ @java.lang.Override @@ -3517,30 +3907,36 @@ public boolean getUseSsl() { return useSsl_; } /** + * + * *
        * If `true`, use HTTPS instead of HTTP to run the check.
        * 
* * bool use_ssl = 1; + * * @param value The useSsl to set. * @return This builder for chaining. */ public Builder setUseSsl(boolean value) { - + useSsl_ = value; onChanged(); return this; } /** + * + * *
        * If `true`, use HTTPS instead of HTTP to run the check.
        * 
* * bool use_ssl = 1; + * * @return This builder for chaining. */ public Builder clearUseSsl() { - + useSsl_ = false; onChanged(); return this; @@ -3548,6 +3944,8 @@ public Builder clearUseSsl() { private java.lang.Object path_ = ""; /** + * + * *
        * Optional (defaults to "/"). The path to the page against which to run
        * the check. Will be combined with the `host` (specified within the
@@ -3557,13 +3955,13 @@ public Builder clearUseSsl() {
        * 
* * string path = 2; + * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -3572,6 +3970,8 @@ public java.lang.String getPath() { } } /** + * + * *
        * Optional (defaults to "/"). The path to the page against which to run
        * the check. Will be combined with the `host` (specified within the
@@ -3581,15 +3981,14 @@ public java.lang.String getPath() {
        * 
* * string path = 2; + * * @return The bytes for path. */ - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -3597,6 +3996,8 @@ public java.lang.String getPath() { } } /** + * + * *
        * Optional (defaults to "/"). The path to the page against which to run
        * the check. Will be combined with the `host` (specified within the
@@ -3606,20 +4007,22 @@ public java.lang.String getPath() {
        * 
* * string path = 2; + * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath( - java.lang.String value) { + public Builder setPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** + * + * *
        * Optional (defaults to "/"). The path to the page against which to run
        * the check. Will be combined with the `host` (specified within the
@@ -3629,15 +4032,18 @@ public Builder setPath(
        * 
* * string path = 2; + * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** + * + * *
        * Optional (defaults to "/"). The path to the page against which to run
        * the check. Will be combined with the `host` (specified within the
@@ -3647,23 +4053,25 @@ public Builder clearPath() {
        * 
* * string path = 2; + * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes( - com.google.protobuf.ByteString value) { + public Builder setPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; } - private int port_ ; + private int port_; /** + * + * *
        * Optional (defaults to 80 when `use_ssl` is `false`, and 443 when
        * `use_ssl` is `true`). The TCP port on the HTTP server against which to
@@ -3672,6 +4080,7 @@ public Builder setPathBytes(
        * 
* * int32 port = 3; + * * @return The port. */ @java.lang.Override @@ -3679,6 +4088,8 @@ public int getPort() { return port_; } /** + * + * *
        * Optional (defaults to 80 when `use_ssl` is `false`, and 443 when
        * `use_ssl` is `true`). The TCP port on the HTTP server against which to
@@ -3687,16 +4098,19 @@ public int getPort() {
        * 
* * int32 port = 3; + * * @param value The port to set. * @return This builder for chaining. */ public Builder setPort(int value) { - + port_ = value; onChanged(); return this; } /** + * + * *
        * Optional (defaults to 80 when `use_ssl` is `false`, and 443 when
        * `use_ssl` is `true`). The TCP port on the HTTP server against which to
@@ -3705,10 +4119,11 @@ public Builder setPort(int value) {
        * 
* * int32 port = 3; + * * @return This builder for chaining. */ public Builder clearPort() { - + port_ = 0; onChanged(); return this; @@ -3716,44 +4131,63 @@ public Builder clearPort() { private com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication authInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication, com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder, com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthenticationOrBuilder> authInfoBuilder_; + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication, + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder, + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthenticationOrBuilder> + authInfoBuilder_; /** + * + * *
        * The authentication information. Optional when creating an HTTP check;
        * defaults to empty.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; + * + * * @return Whether the authInfo field is set. */ public boolean hasAuthInfo() { return authInfoBuilder_ != null || authInfo_ != null; } /** + * + * *
        * The authentication information. Optional when creating an HTTP check;
        * defaults to empty.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; + * + * * @return The authInfo. */ - public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication getAuthInfo() { + public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication + getAuthInfo() { if (authInfoBuilder_ == null) { - return authInfo_ == null ? com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.getDefaultInstance() : authInfo_; + return authInfo_ == null + ? com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication + .getDefaultInstance() + : authInfo_; } else { return authInfoBuilder_.getMessage(); } } /** + * + * *
        * The authentication information. Optional when creating an HTTP check;
        * defaults to empty.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; + * */ - public Builder setAuthInfo(com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication value) { + public Builder setAuthInfo( + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication value) { if (authInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3767,15 +4201,19 @@ public Builder setAuthInfo(com.google.monitoring.v3.UptimeCheckConfig.HttpCheck. return this; } /** + * + * *
        * The authentication information. Optional when creating an HTTP check;
        * defaults to empty.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; + * */ public Builder setAuthInfo( - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder builderForValue) { + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder + builderForValue) { if (authInfoBuilder_ == null) { authInfo_ = builderForValue.build(); onChanged(); @@ -3786,18 +4224,25 @@ public Builder setAuthInfo( return this; } /** + * + * *
        * The authentication information. Optional when creating an HTTP check;
        * defaults to empty.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; + * */ - public Builder mergeAuthInfo(com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication value) { + public Builder mergeAuthInfo( + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication value) { if (authInfoBuilder_ == null) { if (authInfo_ != null) { authInfo_ = - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.newBuilder(authInfo_).mergeFrom(value).buildPartial(); + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.newBuilder( + authInfo_) + .mergeFrom(value) + .buildPartial(); } else { authInfo_ = value; } @@ -3809,12 +4254,15 @@ public Builder mergeAuthInfo(com.google.monitoring.v3.UptimeCheckConfig.HttpChec return this; } /** + * + * *
        * The authentication information. Optional when creating an HTTP check;
        * defaults to empty.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; + * */ public Builder clearAuthInfo() { if (authInfoBuilder_ == null) { @@ -3828,58 +4276,77 @@ public Builder clearAuthInfo() { return this; } /** + * + * *
        * The authentication information. Optional when creating an HTTP check;
        * defaults to empty.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; + * */ - public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder getAuthInfoBuilder() { - + public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder + getAuthInfoBuilder() { + onChanged(); return getAuthInfoFieldBuilder().getBuilder(); } /** + * + * *
        * The authentication information. Optional when creating an HTTP check;
        * defaults to empty.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; + * */ - public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthenticationOrBuilder getAuthInfoOrBuilder() { + public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthenticationOrBuilder + getAuthInfoOrBuilder() { if (authInfoBuilder_ != null) { return authInfoBuilder_.getMessageOrBuilder(); } else { - return authInfo_ == null ? - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.getDefaultInstance() : authInfo_; + return authInfo_ == null + ? com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication + .getDefaultInstance() + : authInfo_; } } /** + * + * *
        * The authentication information. Optional when creating an HTTP check;
        * defaults to empty.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication auth_info = 4; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication, com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder, com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthenticationOrBuilder> + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication, + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder, + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthenticationOrBuilder> getAuthInfoFieldBuilder() { if (authInfoBuilder_ == null) { - authInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication, com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder, com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthenticationOrBuilder>( - getAuthInfo(), - getParentForChildren(), - isClean()); + authInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication, + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthentication.Builder, + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck + .BasicAuthenticationOrBuilder>( + getAuthInfo(), getParentForChildren(), isClean()); authInfo_ = null; } return authInfoBuilder_; } - private boolean maskHeaders_ ; + private boolean maskHeaders_; /** + * + * *
        * Boolean specifying whether to encrypt the header information.
        * Encryption should be specified for any headers related to authentication
@@ -3890,6 +4357,7 @@ public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.BasicAuthenticationO
        * 
* * bool mask_headers = 5; + * * @return The maskHeaders. */ @java.lang.Override @@ -3897,6 +4365,8 @@ public boolean getMaskHeaders() { return maskHeaders_; } /** + * + * *
        * Boolean specifying whether to encrypt the header information.
        * Encryption should be specified for any headers related to authentication
@@ -3907,16 +4377,19 @@ public boolean getMaskHeaders() {
        * 
* * bool mask_headers = 5; + * * @param value The maskHeaders to set. * @return This builder for chaining. */ public Builder setMaskHeaders(boolean value) { - + maskHeaders_ = value; onChanged(); return this; } /** + * + * *
        * Boolean specifying whether to encrypt the header information.
        * Encryption should be specified for any headers related to authentication
@@ -3927,31 +4400,33 @@ public Builder setMaskHeaders(boolean value) {
        * 
* * bool mask_headers = 5; + * * @return This builder for chaining. */ public Builder clearMaskHeaders() { - + maskHeaders_ = false; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> headers_; + private com.google.protobuf.MapField headers_; + private com.google.protobuf.MapField - internalGetHeaders() { + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); } return headers_; } + private com.google.protobuf.MapField - internalGetMutableHeaders() { - onChanged();; + internalGetMutableHeaders() { + onChanged(); + ; if (headers_ == null) { - headers_ = com.google.protobuf.MapField.newMapField( - HeadersDefaultEntryHolder.defaultEntry); + headers_ = + com.google.protobuf.MapField.newMapField(HeadersDefaultEntryHolder.defaultEntry); } if (!headers_.isMutable()) { headers_ = headers_.copy(); @@ -3963,6 +4438,8 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** + * + * *
        * The list of headers to send as part of the Uptime check request.
        * If two headers have the same key and different values, they should
@@ -3976,22 +4453,22 @@ public int getHeadersCount() {
        *
        * map<string, string> headers = 6;
        */
-
       @java.lang.Override
-      public boolean containsHeaders(
-          java.lang.String key) {
-        if (key == null) { throw new java.lang.NullPointerException(); }
+      public boolean containsHeaders(java.lang.String key) {
+        if (key == null) {
+          throw new java.lang.NullPointerException();
+        }
         return internalGetHeaders().getMap().containsKey(key);
       }
-      /**
-       * Use {@link #getHeadersMap()} instead.
-       */
+      /** Use {@link #getHeadersMap()} instead. */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getHeaders() {
         return getHeadersMap();
       }
       /**
+       *
+       *
        * 
        * The list of headers to send as part of the Uptime check request.
        * If two headers have the same key and different values, they should
@@ -4006,11 +4483,12 @@ public java.util.Map getHeaders() {
        * map<string, string> headers = 6;
        */
       @java.lang.Override
-
       public java.util.Map getHeadersMap() {
         return internalGetHeaders().getMap();
       }
       /**
+       *
+       *
        * 
        * The list of headers to send as part of the Uptime check request.
        * If two headers have the same key and different values, they should
@@ -4025,16 +4503,17 @@ public java.util.Map getHeadersMap() {
        * map<string, string> headers = 6;
        */
       @java.lang.Override
-
       public java.lang.String getHeadersOrDefault(
-          java.lang.String key,
-          java.lang.String defaultValue) {
-        if (key == null) { throw new java.lang.NullPointerException(); }
-        java.util.Map map =
-            internalGetHeaders().getMap();
+          java.lang.String key, java.lang.String defaultValue) {
+        if (key == null) {
+          throw new java.lang.NullPointerException();
+        }
+        java.util.Map map = internalGetHeaders().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
+       *
+       *
        * 
        * The list of headers to send as part of the Uptime check request.
        * If two headers have the same key and different values, they should
@@ -4049,12 +4528,11 @@ public java.lang.String getHeadersOrDefault(
        * map<string, string> headers = 6;
        */
       @java.lang.Override
-
-      public java.lang.String getHeadersOrThrow(
-          java.lang.String key) {
-        if (key == null) { throw new java.lang.NullPointerException(); }
-        java.util.Map map =
-            internalGetHeaders().getMap();
+      public java.lang.String getHeadersOrThrow(java.lang.String key) {
+        if (key == null) {
+          throw new java.lang.NullPointerException();
+        }
+        java.util.Map map = internalGetHeaders().getMap();
         if (!map.containsKey(key)) {
           throw new java.lang.IllegalArgumentException();
         }
@@ -4062,11 +4540,12 @@ public java.lang.String getHeadersOrThrow(
       }
 
       public Builder clearHeaders() {
-        internalGetMutableHeaders().getMutableMap()
-            .clear();
+        internalGetMutableHeaders().getMutableMap().clear();
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of headers to send as part of the Uptime check request.
        * If two headers have the same key and different values, they should
@@ -4080,23 +4559,21 @@ public Builder clearHeaders() {
        *
        * map<string, string> headers = 6;
        */
-
-      public Builder removeHeaders(
-          java.lang.String key) {
-        if (key == null) { throw new java.lang.NullPointerException(); }
-        internalGetMutableHeaders().getMutableMap()
-            .remove(key);
+      public Builder removeHeaders(java.lang.String key) {
+        if (key == null) {
+          throw new java.lang.NullPointerException();
+        }
+        internalGetMutableHeaders().getMutableMap().remove(key);
         return this;
       }
-      /**
-       * Use alternate mutation accessors instead.
-       */
+      /** Use alternate mutation accessors instead. */
       @java.lang.Deprecated
-      public java.util.Map
-      getMutableHeaders() {
+      public java.util.Map getMutableHeaders() {
         return internalGetMutableHeaders().getMutableMap();
       }
       /**
+       *
+       *
        * 
        * The list of headers to send as part of the Uptime check request.
        * If two headers have the same key and different values, they should
@@ -4110,16 +4587,19 @@ public Builder removeHeaders(
        *
        * map<string, string> headers = 6;
        */
-      public Builder putHeaders(
-          java.lang.String key,
-          java.lang.String value) {
-        if (key == null) { throw new java.lang.NullPointerException(); }
-        if (value == null) { throw new java.lang.NullPointerException(); }
-        internalGetMutableHeaders().getMutableMap()
-            .put(key, value);
+      public Builder putHeaders(java.lang.String key, java.lang.String value) {
+        if (key == null) {
+          throw new java.lang.NullPointerException();
+        }
+        if (value == null) {
+          throw new java.lang.NullPointerException();
+        }
+        internalGetMutableHeaders().getMutableMap().put(key, value);
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of headers to send as part of the Uptime check request.
        * If two headers have the same key and different values, they should
@@ -4133,16 +4613,15 @@ public Builder putHeaders(
        *
        * map<string, string> headers = 6;
        */
-
-      public Builder putAllHeaders(
-          java.util.Map values) {
-        internalGetMutableHeaders().getMutableMap()
-            .putAll(values);
+      public Builder putAllHeaders(java.util.Map values) {
+        internalGetMutableHeaders().getMutableMap().putAll(values);
         return this;
       }
 
       private int contentType_ = 0;
       /**
+       *
+       *
        * 
        * The content type header to use for the check. The following
        * configurations result in errors:
@@ -4154,13 +4633,18 @@ public Builder putAllHeaders(
        * `headers` field. The `content_type` field should be used instead.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType content_type = 9; + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType content_type = 9; + * + * * @return The enum numeric value on the wire for contentType. */ - @java.lang.Override public int getContentTypeValue() { + @java.lang.Override + public int getContentTypeValue() { return contentType_; } /** + * + * *
        * The content type header to use for the check. The following
        * configurations result in errors:
@@ -4172,17 +4656,21 @@ public Builder putAllHeaders(
        * `headers` field. The `content_type` field should be used instead.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType content_type = 9; + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType content_type = 9; + * + * * @param value The enum numeric value on the wire for contentType to set. * @return This builder for chaining. */ public Builder setContentTypeValue(int value) { - + contentType_ = value; onChanged(); return this; } /** + * + * *
        * The content type header to use for the check. The following
        * configurations result in errors:
@@ -4194,16 +4682,23 @@ public Builder setContentTypeValue(int value) {
        * `headers` field. The `content_type` field should be used instead.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType content_type = 9; + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType content_type = 9; + * + * * @return The contentType. */ @java.lang.Override public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType getContentType() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType result = com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType.valueOf(contentType_); - return result == null ? com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType.UNRECOGNIZED : result; + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType result = + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType.valueOf(contentType_); + return result == null + ? com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType.UNRECOGNIZED + : result; } /** + * + * *
        * The content type header to use for the check. The following
        * configurations result in errors:
@@ -4215,20 +4710,25 @@ public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType getConte
        * `headers` field. The `content_type` field should be used instead.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType content_type = 9; + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType content_type = 9; + * + * * @param value The contentType to set. * @return This builder for chaining. */ - public Builder setContentType(com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType value) { + public Builder setContentType( + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType value) { if (value == null) { throw new NullPointerException(); } - + contentType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The content type header to use for the check. The following
        * configurations result in errors:
@@ -4240,18 +4740,22 @@ public Builder setContentType(com.google.monitoring.v3.UptimeCheckConfig.HttpChe
        * `headers` field. The `content_type` field should be used instead.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType content_type = 9; + * .google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType content_type = 9; + * + * * @return This builder for chaining. */ public Builder clearContentType() { - + contentType_ = 0; onChanged(); return this; } - private boolean validateSsl_ ; + private boolean validateSsl_; /** + * + * *
        * Boolean specifying whether to include SSL certificate validation as a
        * part of the Uptime check. Only applies to checks where
@@ -4260,6 +4764,7 @@ public Builder clearContentType() {
        * 
* * bool validate_ssl = 7; + * * @return The validateSsl. */ @java.lang.Override @@ -4267,6 +4772,8 @@ public boolean getValidateSsl() { return validateSsl_; } /** + * + * *
        * Boolean specifying whether to include SSL certificate validation as a
        * part of the Uptime check. Only applies to checks where
@@ -4275,16 +4782,19 @@ public boolean getValidateSsl() {
        * 
* * bool validate_ssl = 7; + * * @param value The validateSsl to set. * @return This builder for chaining. */ public Builder setValidateSsl(boolean value) { - + validateSsl_ = value; onChanged(); return this; } /** + * + * *
        * Boolean specifying whether to include SSL certificate validation as a
        * part of the Uptime check. Only applies to checks where
@@ -4293,10 +4803,11 @@ public Builder setValidateSsl(boolean value) {
        * 
* * bool validate_ssl = 7; + * * @return This builder for chaining. */ public Builder clearValidateSsl() { - + validateSsl_ = false; onChanged(); return this; @@ -4304,6 +4815,8 @@ public Builder clearValidateSsl() { private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
        * The request body associated with the HTTP POST request. If `content_type`
        * is `URL_ENCODED`, the body passed in must be URL-encoded. Users can
@@ -4316,6 +4829,7 @@ public Builder clearValidateSsl() {
        * 
* * bytes body = 10; + * * @return The body. */ @java.lang.Override @@ -4323,6 +4837,8 @@ public com.google.protobuf.ByteString getBody() { return body_; } /** + * + * *
        * The request body associated with the HTTP POST request. If `content_type`
        * is `URL_ENCODED`, the body passed in must be URL-encoded. Users can
@@ -4335,19 +4851,22 @@ public com.google.protobuf.ByteString getBody() {
        * 
* * bytes body = 10; + * * @param value The body to set. * @return This builder for chaining. */ public Builder setBody(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + body_ = value; onChanged(); return this; } /** + * + * *
        * The request body associated with the HTTP POST request. If `content_type`
        * is `URL_ENCODED`, the body passed in must be URL-encoded. Users can
@@ -4360,14 +4879,16 @@ public Builder setBody(com.google.protobuf.ByteString value) {
        * 
* * bytes body = 10; + * * @return This builder for chaining. */ public Builder clearBody() { - + body_ = getDefaultInstance().getBody(); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4380,12 +4901,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.UptimeCheckConfig.HttpCheck) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.UptimeCheckConfig.HttpCheck) private static final com.google.monitoring.v3.UptimeCheckConfig.HttpCheck DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.UptimeCheckConfig.HttpCheck(); } @@ -4394,16 +4915,16 @@ public static com.google.monitoring.v3.UptimeCheckConfig.HttpCheck getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HttpCheck parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new HttpCheck(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HttpCheck parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new HttpCheck(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4418,14 +4939,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface TcpCheckOrBuilder extends + public interface TcpCheckOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.UptimeCheckConfig.TcpCheck) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The TCP port on the server against which to run the check. Will be
      * combined with host (specified within the `monitored_resource`) to
@@ -4433,41 +4956,43 @@ public interface TcpCheckOrBuilder extends
      * 
* * int32 port = 1; + * * @return The port. */ int getPort(); } /** + * + * *
    * Information required for a TCP Uptime check request.
    * 
* * Protobuf type {@code google.monitoring.v3.UptimeCheckConfig.TcpCheck} */ - public static final class TcpCheck extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class TcpCheck extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.UptimeCheckConfig.TcpCheck) TcpCheckOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TcpCheck.newBuilder() to construct. private TcpCheck(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TcpCheck() { - } + + private TcpCheck() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TcpCheck(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TcpCheck( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -4486,46 +5011,50 @@ private TcpCheck( case 0: done = true; break; - case 8: { - - port_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + port_ = input.readInt32(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_TcpCheck_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.UptimeProto + .internal_static_google_monitoring_v3_UptimeCheckConfig_TcpCheck_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_TcpCheck_fieldAccessorTable + return com.google.monitoring.v3.UptimeProto + .internal_static_google_monitoring_v3_UptimeCheckConfig_TcpCheck_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.class, com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.Builder.class); + com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.class, + com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.Builder.class); } public static final int PORT_FIELD_NUMBER = 1; private int port_; /** + * + * *
      * The TCP port on the server against which to run the check. Will be
      * combined with host (specified within the `monitored_resource`) to
@@ -4533,6 +5062,7 @@ private TcpCheck(
      * 
* * int32 port = 1; + * * @return The port. */ @java.lang.Override @@ -4541,6 +5071,7 @@ public int getPort() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4552,8 +5083,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (port_ != 0) { output.writeInt32(1, port_); } @@ -4567,8 +5097,7 @@ public int getSerializedSize() { size = 0; if (port_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, port_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, port_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -4578,15 +5107,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.monitoring.v3.UptimeCheckConfig.TcpCheck)) { return super.equals(obj); } - com.google.monitoring.v3.UptimeCheckConfig.TcpCheck other = (com.google.monitoring.v3.UptimeCheckConfig.TcpCheck) obj; + com.google.monitoring.v3.UptimeCheckConfig.TcpCheck other = + (com.google.monitoring.v3.UptimeCheckConfig.TcpCheck) obj; - if (getPort() - != other.getPort()) return false; + if (getPort() != other.getPort()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -4606,87 +5135,94 @@ public int hashCode() { } public static com.google.monitoring.v3.UptimeCheckConfig.TcpCheck parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.UptimeCheckConfig.TcpCheck parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.UptimeCheckConfig.TcpCheck parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.UptimeCheckConfig.TcpCheck parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.UptimeCheckConfig.TcpCheck parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.UptimeCheckConfig.TcpCheck parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.UptimeCheckConfig.TcpCheck parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.UptimeCheckConfig.TcpCheck parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.UptimeCheckConfig.TcpCheck parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.UptimeCheckConfig.TcpCheck parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.UptimeCheckConfig.TcpCheck parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.UptimeCheckConfig.TcpCheck parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.UptimeCheckConfig.TcpCheck parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.UptimeCheckConfig.TcpCheck parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.UptimeCheckConfig.TcpCheck prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.UptimeCheckConfig.TcpCheck prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4696,27 +5232,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Information required for a TCP Uptime check request.
      * 
* * Protobuf type {@code google.monitoring.v3.UptimeCheckConfig.TcpCheck} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.UptimeCheckConfig.TcpCheck) com.google.monitoring.v3.UptimeCheckConfig.TcpCheckOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_TcpCheck_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.UptimeProto + .internal_static_google_monitoring_v3_UptimeCheckConfig_TcpCheck_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_TcpCheck_fieldAccessorTable + return com.google.monitoring.v3.UptimeProto + .internal_static_google_monitoring_v3_UptimeCheckConfig_TcpCheck_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.class, com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.Builder.class); + com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.class, + com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.Builder.class); } // Construct using com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.newBuilder() @@ -4724,16 +5265,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -4743,9 +5283,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_TcpCheck_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.UptimeProto + .internal_static_google_monitoring_v3_UptimeCheckConfig_TcpCheck_descriptor; } @java.lang.Override @@ -4764,7 +5304,8 @@ public com.google.monitoring.v3.UptimeCheckConfig.TcpCheck build() { @java.lang.Override public com.google.monitoring.v3.UptimeCheckConfig.TcpCheck buildPartial() { - com.google.monitoring.v3.UptimeCheckConfig.TcpCheck result = new com.google.monitoring.v3.UptimeCheckConfig.TcpCheck(this); + com.google.monitoring.v3.UptimeCheckConfig.TcpCheck result = + new com.google.monitoring.v3.UptimeCheckConfig.TcpCheck(this); result.port_ = port_; onBuilt(); return result; @@ -4774,38 +5315,41 @@ public com.google.monitoring.v3.UptimeCheckConfig.TcpCheck 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.monitoring.v3.UptimeCheckConfig.TcpCheck) { - return mergeFrom((com.google.monitoring.v3.UptimeCheckConfig.TcpCheck)other); + return mergeFrom((com.google.monitoring.v3.UptimeCheckConfig.TcpCheck) other); } else { super.mergeFrom(other); return this; @@ -4813,7 +5357,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.UptimeCheckConfig.TcpCheck other) { - if (other == com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.getDefaultInstance()) + return this; if (other.getPort() != 0) { setPort(other.getPort()); } @@ -4836,7 +5381,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.UptimeCheckConfig.TcpCheck) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.UptimeCheckConfig.TcpCheck) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -4846,8 +5392,10 @@ public Builder mergeFrom( return this; } - private int port_ ; + private int port_; /** + * + * *
        * The TCP port on the server against which to run the check. Will be
        * combined with host (specified within the `monitored_resource`) to
@@ -4855,6 +5403,7 @@ public Builder mergeFrom(
        * 
* * int32 port = 1; + * * @return The port. */ @java.lang.Override @@ -4862,6 +5411,8 @@ public int getPort() { return port_; } /** + * + * *
        * The TCP port on the server against which to run the check. Will be
        * combined with host (specified within the `monitored_resource`) to
@@ -4869,16 +5420,19 @@ public int getPort() {
        * 
* * int32 port = 1; + * * @param value The port to set. * @return This builder for chaining. */ public Builder setPort(int value) { - + port_ = value; onChanged(); return this; } /** + * + * *
        * The TCP port on the server against which to run the check. Will be
        * combined with host (specified within the `monitored_resource`) to
@@ -4886,14 +5440,16 @@ public Builder setPort(int value) {
        * 
* * int32 port = 1; + * * @return This builder for chaining. */ public Builder clearPort() { - + port_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4906,12 +5462,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.UptimeCheckConfig.TcpCheck) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.UptimeCheckConfig.TcpCheck) private static final com.google.monitoring.v3.UptimeCheckConfig.TcpCheck DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.UptimeCheckConfig.TcpCheck(); } @@ -4920,16 +5476,16 @@ public static com.google.monitoring.v3.UptimeCheckConfig.TcpCheck getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TcpCheck parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TcpCheck(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TcpCheck parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TcpCheck(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4944,57 +5500,74 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.UptimeCheckConfig.TcpCheck getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ContentMatcherOrBuilder extends + public interface ContentMatcherOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.UptimeCheckConfig.ContentMatcher) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * String or regex content to match. Maximum 1024 bytes. An empty `content`
      * string indicates no content matching is to be performed.
      * 
* * string content = 1; + * * @return The content. */ java.lang.String getContent(); /** + * + * *
      * String or regex content to match. Maximum 1024 bytes. An empty `content`
      * string indicates no content matching is to be performed.
      * 
* * string content = 1; + * * @return The bytes for content. */ - com.google.protobuf.ByteString - getContentBytes(); + com.google.protobuf.ByteString getContentBytes(); /** + * + * *
      * The type of content matcher that will be applied to the server output,
      * compared to the `content` string when the check is run.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2; + * + * .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2; + * + * * @return The enum numeric value on the wire for matcher. */ int getMatcherValue(); /** + * + * *
      * The type of content matcher that will be applied to the server output,
      * compared to the `content` string when the check is run.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2; + * + * .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2; + * + * * @return The matcher. */ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption getMatcher(); } /** + * + * *
    * Optional. Used to perform content matching. This allows matching based on
    * substrings and regular expressions, together with their negations. Only the
@@ -5005,15 +5578,16 @@ public interface ContentMatcherOrBuilder extends
    *
    * Protobuf type {@code google.monitoring.v3.UptimeCheckConfig.ContentMatcher}
    */
-  public static final class ContentMatcher extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class ContentMatcher extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.monitoring.v3.UptimeCheckConfig.ContentMatcher)
       ContentMatcherOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use ContentMatcher.newBuilder() to construct.
     private ContentMatcher(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private ContentMatcher() {
       content_ = "";
       matcher_ = 0;
@@ -5021,16 +5595,15 @@ private ContentMatcher() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new ContentMatcher();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private ContentMatcher(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -5049,60 +5622,68 @@ private ContentMatcher(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              content_ = s;
-              break;
-            }
-            case 16: {
-              int rawValue = input.readEnum();
+                content_ = s;
+                break;
+              }
+            case 16:
+              {
+                int rawValue = input.readEnum();
 
-              matcher_ = rawValue;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                matcher_ = rawValue;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_ContentMatcher_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.monitoring.v3.UptimeProto
+          .internal_static_google_monitoring_v3_UptimeCheckConfig_ContentMatcher_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_ContentMatcher_fieldAccessorTable
+      return com.google.monitoring.v3.UptimeProto
+          .internal_static_google_monitoring_v3_UptimeCheckConfig_ContentMatcher_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.class, com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder.class);
+              com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.class,
+              com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder.class);
     }
 
     /**
+     *
+     *
      * 
      * Options to perform content matching.
      * 
* - * Protobuf enum {@code google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption} + * Protobuf enum {@code + * google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption} */ - public enum ContentMatcherOption - implements com.google.protobuf.ProtocolMessageEnum { + public enum ContentMatcherOption implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * No content matcher type specified (maintained for backward
        * compatibility, but deprecated for future use).
@@ -5113,6 +5694,8 @@ public enum ContentMatcherOption
        */
       CONTENT_MATCHER_OPTION_UNSPECIFIED(0),
       /**
+       *
+       *
        * 
        * Selects substring matching. The match succeeds if the output contains
        * the `content` string.  This is the default value for checks without
@@ -5124,6 +5707,8 @@ public enum ContentMatcherOption
        */
       CONTAINS_STRING(1),
       /**
+       *
+       *
        * 
        * Selects negation of substring matching. The match succeeds if the
        * output does _NOT_ contain the `content` string.
@@ -5133,6 +5718,8 @@ public enum ContentMatcherOption
        */
       NOT_CONTAINS_STRING(2),
       /**
+       *
+       *
        * 
        * Selects regular-expression matching. The match succeeds of the output
        * matches the regular expression specified in the `content` string.
@@ -5143,6 +5730,8 @@ public enum ContentMatcherOption
        */
       MATCHES_REGEX(3),
       /**
+       *
+       *
        * 
        * Selects negation of regular-expression matching. The match succeeds if
        * the output does _NOT_ match the regular expression specified in the
@@ -5157,6 +5746,8 @@ public enum ContentMatcherOption
       ;
 
       /**
+       *
+       *
        * 
        * No content matcher type specified (maintained for backward
        * compatibility, but deprecated for future use).
@@ -5167,6 +5758,8 @@ public enum ContentMatcherOption
        */
       public static final int CONTENT_MATCHER_OPTION_UNSPECIFIED_VALUE = 0;
       /**
+       *
+       *
        * 
        * Selects substring matching. The match succeeds if the output contains
        * the `content` string.  This is the default value for checks without
@@ -5178,6 +5771,8 @@ public enum ContentMatcherOption
        */
       public static final int CONTAINS_STRING_VALUE = 1;
       /**
+       *
+       *
        * 
        * Selects negation of substring matching. The match succeeds if the
        * output does _NOT_ contain the `content` string.
@@ -5187,6 +5782,8 @@ public enum ContentMatcherOption
        */
       public static final int NOT_CONTAINS_STRING_VALUE = 2;
       /**
+       *
+       *
        * 
        * Selects regular-expression matching. The match succeeds of the output
        * matches the regular expression specified in the `content` string.
@@ -5197,6 +5794,8 @@ public enum ContentMatcherOption
        */
       public static final int MATCHES_REGEX_VALUE = 3;
       /**
+       *
+       *
        * 
        * Selects negation of regular-expression matching. The match succeeds if
        * the output does _NOT_ match the regular expression specified in the
@@ -5208,7 +5807,6 @@ public enum ContentMatcherOption
        */
       public static final int NOT_MATCHES_REGEX_VALUE = 4;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -5233,12 +5831,18 @@ public static ContentMatcherOption valueOf(int value) {
        */
       public static ContentMatcherOption forNumber(int value) {
         switch (value) {
-          case 0: return CONTENT_MATCHER_OPTION_UNSPECIFIED;
-          case 1: return CONTAINS_STRING;
-          case 2: return NOT_CONTAINS_STRING;
-          case 3: return MATCHES_REGEX;
-          case 4: return NOT_MATCHES_REGEX;
-          default: return null;
+          case 0:
+            return CONTENT_MATCHER_OPTION_UNSPECIFIED;
+          case 1:
+            return CONTAINS_STRING;
+          case 2:
+            return NOT_CONTAINS_STRING;
+          case 3:
+            return MATCHES_REGEX;
+          case 4:
+            return NOT_MATCHES_REGEX;
+          default:
+            return null;
         }
       }
 
@@ -5246,29 +5850,31 @@ public static ContentMatcherOption forNumber(int value) {
           internalGetValueMap() {
         return internalValueMap;
       }
-      private static final com.google.protobuf.Internal.EnumLiteMap<
-          ContentMatcherOption> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public ContentMatcherOption findValueByNumber(int number) {
-                return ContentMatcherOption.forNumber(number);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      private static final com.google.protobuf.Internal.EnumLiteMap
+          internalValueMap =
+              new com.google.protobuf.Internal.EnumLiteMap() {
+                public ContentMatcherOption findValueByNumber(int number) {
+                  return ContentMatcherOption.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.monitoring.v3.UptimeCheckConfig.ContentMatcher.getDescriptor().getEnumTypes().get(0);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.getDescriptor()
+            .getEnumTypes()
+            .get(0);
       }
 
       private static final ContentMatcherOption[] VALUES = values();
@@ -5276,8 +5882,7 @@ public ContentMatcherOption findValueByNumber(int number) {
       public static ContentMatcherOption 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;
@@ -5297,12 +5902,15 @@ private ContentMatcherOption(int value) {
     public static final int CONTENT_FIELD_NUMBER = 1;
     private volatile java.lang.Object content_;
     /**
+     *
+     *
      * 
      * String or regex content to match. Maximum 1024 bytes. An empty `content`
      * string indicates no content matching is to be performed.
      * 
* * string content = 1; + * * @return The content. */ @java.lang.Override @@ -5311,30 +5919,30 @@ public java.lang.String getContent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); content_ = s; return s; } } /** + * + * *
      * String or regex content to match. Maximum 1024 bytes. An empty `content`
      * string indicates no content matching is to be performed.
      * 
* * string content = 1; + * * @return The bytes for content. */ @java.lang.Override - public com.google.protobuf.ByteString - getContentBytes() { + public com.google.protobuf.ByteString getContentBytes() { java.lang.Object ref = content_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); content_ = b; return b; } else { @@ -5345,33 +5953,52 @@ public java.lang.String getContent() { public static final int MATCHER_FIELD_NUMBER = 2; private int matcher_; /** + * + * *
      * The type of content matcher that will be applied to the server output,
      * compared to the `content` string when the check is run.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2; + * + * .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2; + * + * * @return The enum numeric value on the wire for matcher. */ - @java.lang.Override public int getMatcherValue() { + @java.lang.Override + public int getMatcherValue() { return matcher_; } /** + * + * *
      * The type of content matcher that will be applied to the server output,
      * compared to the `content` string when the check is run.
      * 
* - * .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2; + * + * .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2; + * + * * @return The matcher. */ - @java.lang.Override public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption getMatcher() { + @java.lang.Override + public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption + getMatcher() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption result = com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption.valueOf(matcher_); - return result == null ? com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption.UNRECOGNIZED : result; + com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption result = + com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption.valueOf( + matcher_); + return result == null + ? com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption + .UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5383,12 +6010,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(content_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, content_); } - if (matcher_ != com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption.CONTENT_MATCHER_OPTION_UNSPECIFIED.getNumber()) { + if (matcher_ + != com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption + .CONTENT_MATCHER_OPTION_UNSPECIFIED + .getNumber()) { output.writeEnum(2, matcher_); } unknownFields.writeTo(output); @@ -5403,9 +6032,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(content_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, content_); } - if (matcher_ != com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption.CONTENT_MATCHER_OPTION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, matcher_); + if (matcher_ + != com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption + .CONTENT_MATCHER_OPTION_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, matcher_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -5415,15 +6046,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.monitoring.v3.UptimeCheckConfig.ContentMatcher)) { return super.equals(obj); } - com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher other = (com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher) obj; + com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher other = + (com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher) obj; - if (!getContent() - .equals(other.getContent())) return false; + if (!getContent().equals(other.getContent())) return false; if (matcher_ != other.matcher_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -5446,87 +6077,94 @@ public int hashCode() { } public static com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5536,6 +6174,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Optional. Used to perform content matching. This allows matching based on
      * substrings and regular expressions, together with their negations. Only the
@@ -5546,21 +6186,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.monitoring.v3.UptimeCheckConfig.ContentMatcher}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.monitoring.v3.UptimeCheckConfig.ContentMatcher)
         com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_ContentMatcher_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.monitoring.v3.UptimeProto
+            .internal_static_google_monitoring_v3_UptimeCheckConfig_ContentMatcher_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_ContentMatcher_fieldAccessorTable
+        return com.google.monitoring.v3.UptimeProto
+            .internal_static_google_monitoring_v3_UptimeCheckConfig_ContentMatcher_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.class, com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder.class);
+                com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.class,
+                com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder.class);
       }
 
       // Construct using com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.newBuilder()
@@ -5568,16 +6211,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -5589,9 +6231,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_ContentMatcher_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.monitoring.v3.UptimeProto
+            .internal_static_google_monitoring_v3_UptimeCheckConfig_ContentMatcher_descriptor;
       }
 
       @java.lang.Override
@@ -5610,7 +6252,8 @@ public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher build() {
 
       @java.lang.Override
       public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher buildPartial() {
-        com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher result = new com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher(this);
+        com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher result =
+            new com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher(this);
         result.content_ = content_;
         result.matcher_ = matcher_;
         onBuilt();
@@ -5621,38 +6264,41 @@ public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher 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.monitoring.v3.UptimeCheckConfig.ContentMatcher) {
-          return mergeFrom((com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher)other);
+          return mergeFrom((com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -5660,7 +6306,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher other) {
-        if (other == com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.getDefaultInstance()) return this;
+        if (other == com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.getDefaultInstance())
+          return this;
         if (!other.getContent().isEmpty()) {
           content_ = other.content_;
           onChanged();
@@ -5687,7 +6334,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -5699,19 +6347,21 @@ public Builder mergeFrom(
 
       private java.lang.Object content_ = "";
       /**
+       *
+       *
        * 
        * String or regex content to match. Maximum 1024 bytes. An empty `content`
        * string indicates no content matching is to be performed.
        * 
* * string content = 1; + * * @return The content. */ public java.lang.String getContent() { java.lang.Object ref = content_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); content_ = s; return s; @@ -5720,21 +6370,22 @@ public java.lang.String getContent() { } } /** + * + * *
        * String or regex content to match. Maximum 1024 bytes. An empty `content`
        * string indicates no content matching is to be performed.
        * 
* * string content = 1; + * * @return The bytes for content. */ - public com.google.protobuf.ByteString - getContentBytes() { + public com.google.protobuf.ByteString getContentBytes() { java.lang.Object ref = content_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); content_ = b; return b; } else { @@ -5742,57 +6393,64 @@ public java.lang.String getContent() { } } /** + * + * *
        * String or regex content to match. Maximum 1024 bytes. An empty `content`
        * string indicates no content matching is to be performed.
        * 
* * string content = 1; + * * @param value The content to set. * @return This builder for chaining. */ - public Builder setContent( - java.lang.String value) { + public Builder setContent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + content_ = value; onChanged(); return this; } /** + * + * *
        * String or regex content to match. Maximum 1024 bytes. An empty `content`
        * string indicates no content matching is to be performed.
        * 
* * string content = 1; + * * @return This builder for chaining. */ public Builder clearContent() { - + content_ = getDefaultInstance().getContent(); onChanged(); return this; } /** + * + * *
        * String or regex content to match. Maximum 1024 bytes. An empty `content`
        * string indicates no content matching is to be performed.
        * 
* * string content = 1; + * * @param value The bytes for content to set. * @return This builder for chaining. */ - public Builder setContentBytes( - com.google.protobuf.ByteString value) { + public Builder setContentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + content_ = value; onChanged(); return this; @@ -5800,82 +6458,116 @@ public Builder setContentBytes( private int matcher_ = 0; /** + * + * *
        * The type of content matcher that will be applied to the server output,
        * compared to the `content` string when the check is run.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2; + * + * .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2; + * + * * @return The enum numeric value on the wire for matcher. */ - @java.lang.Override public int getMatcherValue() { + @java.lang.Override + public int getMatcherValue() { return matcher_; } /** + * + * *
        * The type of content matcher that will be applied to the server output,
        * compared to the `content` string when the check is run.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2; + * + * .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2; + * + * * @param value The enum numeric value on the wire for matcher to set. * @return This builder for chaining. */ public Builder setMatcherValue(int value) { - + matcher_ = value; onChanged(); return this; } /** + * + * *
        * The type of content matcher that will be applied to the server output,
        * compared to the `content` string when the check is run.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2; + * + * .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2; + * + * * @return The matcher. */ @java.lang.Override - public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption getMatcher() { + public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption + getMatcher() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption result = com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption.valueOf(matcher_); - return result == null ? com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption.UNRECOGNIZED : result; + com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption result = + com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption.valueOf( + matcher_); + return result == null + ? com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption + .UNRECOGNIZED + : result; } /** + * + * *
        * The type of content matcher that will be applied to the server output,
        * compared to the `content` string when the check is run.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2; + * + * .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2; + * + * * @param value The matcher to set. * @return This builder for chaining. */ - public Builder setMatcher(com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption value) { + public Builder setMatcher( + com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption value) { if (value == null) { throw new NullPointerException(); } - + matcher_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The type of content matcher that will be applied to the server output,
        * compared to the `content` string when the check is run.
        * 
* - * .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2; + * + * .google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2; + * + * * @return This builder for chaining. */ public Builder clearMatcher() { - + matcher_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5888,12 +6580,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.UptimeCheckConfig.ContentMatcher) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.UptimeCheckConfig.ContentMatcher) private static final com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher(); } @@ -5902,16 +6594,16 @@ public static com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ContentMatcher parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ContentMatcher(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ContentMatcher parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ContentMatcher(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5926,18 +6618,20 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int resourceCase_ = 0; private java.lang.Object resource_; + public enum ResourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { MONITORED_RESOURCE(3), RESOURCE_GROUP(4), RESOURCE_NOT_SET(0); private final int value; + private ResourceCase(int value) { this.value = value; } @@ -5953,32 +6647,38 @@ public static ResourceCase valueOf(int value) { public static ResourceCase forNumber(int value) { switch (value) { - case 3: return MONITORED_RESOURCE; - case 4: return RESOURCE_GROUP; - case 0: return RESOURCE_NOT_SET; - default: return null; + case 3: + return MONITORED_RESOURCE; + case 4: + return RESOURCE_GROUP; + case 0: + return RESOURCE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ResourceCase - getResourceCase() { - return ResourceCase.forNumber( - resourceCase_); + public ResourceCase getResourceCase() { + return ResourceCase.forNumber(resourceCase_); } private int checkRequestTypeCase_ = 0; private java.lang.Object checkRequestType_; + public enum CheckRequestTypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { HTTP_CHECK(5), TCP_CHECK(6), CHECKREQUESTTYPE_NOT_SET(0); private final int value; + private CheckRequestTypeCase(int value) { this.value = value; } @@ -5994,26 +6694,31 @@ public static CheckRequestTypeCase valueOf(int value) { public static CheckRequestTypeCase forNumber(int value) { switch (value) { - case 5: return HTTP_CHECK; - case 6: return TCP_CHECK; - case 0: return CHECKREQUESTTYPE_NOT_SET; - default: return null; + case 5: + return HTTP_CHECK; + case 6: + return TCP_CHECK; + case 0: + return CHECKREQUESTTYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public CheckRequestTypeCase - getCheckRequestTypeCase() { - return CheckRequestTypeCase.forNumber( - checkRequestTypeCase_); + public CheckRequestTypeCase getCheckRequestTypeCase() { + return CheckRequestTypeCase.forNumber(checkRequestTypeCase_); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * A unique resource name for this Uptime check configuration. The format is:
    *      projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
@@ -6025,6 +6730,7 @@ public int getNumber() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -6033,14 +6739,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * A unique resource name for this Uptime check configuration. The format is:
    *      projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
@@ -6052,16 +6759,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -6072,6 +6778,8 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * A human-friendly name for the Uptime check configuration. The display name
    * should be unique within a Stackdriver Workspace in order to make it easier
@@ -6079,6 +6787,7 @@ public java.lang.String getName() {
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -6087,14 +6796,15 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * A human-friendly name for the Uptime check configuration. The display name
    * should be unique within a Stackdriver Workspace in order to make it easier
@@ -6102,16 +6812,15 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -6121,6 +6830,8 @@ public java.lang.String getDisplayName() { public static final int MONITORED_RESOURCE_FIELD_NUMBER = 3; /** + * + * *
    * The [monitored
    * resource](https://cloud.google.com/monitoring/api/resources) associated
@@ -6135,6 +6846,7 @@ public java.lang.String getDisplayName() {
    * 
* * .google.api.MonitoredResource monitored_resource = 3; + * * @return Whether the monitoredResource field is set. */ @java.lang.Override @@ -6142,6 +6854,8 @@ public boolean hasMonitoredResource() { return resourceCase_ == 3; } /** + * + * *
    * The [monitored
    * resource](https://cloud.google.com/monitoring/api/resources) associated
@@ -6156,16 +6870,19 @@ public boolean hasMonitoredResource() {
    * 
* * .google.api.MonitoredResource monitored_resource = 3; + * * @return The monitoredResource. */ @java.lang.Override public com.google.api.MonitoredResource getMonitoredResource() { if (resourceCase_ == 3) { - return (com.google.api.MonitoredResource) resource_; + return (com.google.api.MonitoredResource) resource_; } return com.google.api.MonitoredResource.getDefaultInstance(); } /** + * + * *
    * The [monitored
    * resource](https://cloud.google.com/monitoring/api/resources) associated
@@ -6184,18 +6901,21 @@ public com.google.api.MonitoredResource getMonitoredResource() {
   @java.lang.Override
   public com.google.api.MonitoredResourceOrBuilder getMonitoredResourceOrBuilder() {
     if (resourceCase_ == 3) {
-       return (com.google.api.MonitoredResource) resource_;
+      return (com.google.api.MonitoredResource) resource_;
     }
     return com.google.api.MonitoredResource.getDefaultInstance();
   }
 
   public static final int RESOURCE_GROUP_FIELD_NUMBER = 4;
   /**
+   *
+   *
    * 
    * The group resource associated with the configuration.
    * 
* * .google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4; + * * @return Whether the resourceGroup field is set. */ @java.lang.Override @@ -6203,21 +6923,26 @@ public boolean hasResourceGroup() { return resourceCase_ == 4; } /** + * + * *
    * The group resource associated with the configuration.
    * 
* * .google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4; + * * @return The resourceGroup. */ @java.lang.Override public com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup getResourceGroup() { if (resourceCase_ == 4) { - return (com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup) resource_; + return (com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup) resource_; } return com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.getDefaultInstance(); } /** + * + * *
    * The group resource associated with the configuration.
    * 
@@ -6225,20 +6950,24 @@ public com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup getResourceGroup * .google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4; */ @java.lang.Override - public com.google.monitoring.v3.UptimeCheckConfig.ResourceGroupOrBuilder getResourceGroupOrBuilder() { + public com.google.monitoring.v3.UptimeCheckConfig.ResourceGroupOrBuilder + getResourceGroupOrBuilder() { if (resourceCase_ == 4) { - return (com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup) resource_; + return (com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup) resource_; } return com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.getDefaultInstance(); } public static final int HTTP_CHECK_FIELD_NUMBER = 5; /** + * + * *
    * Contains information needed to make an HTTP or HTTPS check.
    * 
* * .google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5; + * * @return Whether the httpCheck field is set. */ @java.lang.Override @@ -6246,21 +6975,26 @@ public boolean hasHttpCheck() { return checkRequestTypeCase_ == 5; } /** + * + * *
    * Contains information needed to make an HTTP or HTTPS check.
    * 
* * .google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5; + * * @return The httpCheck. */ @java.lang.Override public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck getHttpCheck() { if (checkRequestTypeCase_ == 5) { - return (com.google.monitoring.v3.UptimeCheckConfig.HttpCheck) checkRequestType_; + return (com.google.monitoring.v3.UptimeCheckConfig.HttpCheck) checkRequestType_; } return com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.getDefaultInstance(); } /** + * + * *
    * Contains information needed to make an HTTP or HTTPS check.
    * 
@@ -6270,18 +7004,21 @@ public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck getHttpCheck() { @java.lang.Override public com.google.monitoring.v3.UptimeCheckConfig.HttpCheckOrBuilder getHttpCheckOrBuilder() { if (checkRequestTypeCase_ == 5) { - return (com.google.monitoring.v3.UptimeCheckConfig.HttpCheck) checkRequestType_; + return (com.google.monitoring.v3.UptimeCheckConfig.HttpCheck) checkRequestType_; } return com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.getDefaultInstance(); } public static final int TCP_CHECK_FIELD_NUMBER = 6; /** + * + * *
    * Contains information needed to make a TCP check.
    * 
* * .google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6; + * * @return Whether the tcpCheck field is set. */ @java.lang.Override @@ -6289,21 +7026,26 @@ public boolean hasTcpCheck() { return checkRequestTypeCase_ == 6; } /** + * + * *
    * Contains information needed to make a TCP check.
    * 
* * .google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6; + * * @return The tcpCheck. */ @java.lang.Override public com.google.monitoring.v3.UptimeCheckConfig.TcpCheck getTcpCheck() { if (checkRequestTypeCase_ == 6) { - return (com.google.monitoring.v3.UptimeCheckConfig.TcpCheck) checkRequestType_; + return (com.google.monitoring.v3.UptimeCheckConfig.TcpCheck) checkRequestType_; } return com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.getDefaultInstance(); } /** + * + * *
    * Contains information needed to make a TCP check.
    * 
@@ -6313,7 +7055,7 @@ public com.google.monitoring.v3.UptimeCheckConfig.TcpCheck getTcpCheck() { @java.lang.Override public com.google.monitoring.v3.UptimeCheckConfig.TcpCheckOrBuilder getTcpCheckOrBuilder() { if (checkRequestTypeCase_ == 6) { - return (com.google.monitoring.v3.UptimeCheckConfig.TcpCheck) checkRequestType_; + return (com.google.monitoring.v3.UptimeCheckConfig.TcpCheck) checkRequestType_; } return com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.getDefaultInstance(); } @@ -6321,6 +7063,8 @@ public com.google.monitoring.v3.UptimeCheckConfig.TcpCheckOrBuilder getTcpCheckO public static final int PERIOD_FIELD_NUMBER = 7; private com.google.protobuf.Duration period_; /** + * + * *
    * How often, in seconds, the Uptime check is performed.
    * Currently, the only supported values are `60s` (1 minute), `300s`
@@ -6329,6 +7073,7 @@ public com.google.monitoring.v3.UptimeCheckConfig.TcpCheckOrBuilder getTcpCheckO
    * 
* * .google.protobuf.Duration period = 7; + * * @return Whether the period field is set. */ @java.lang.Override @@ -6336,6 +7081,8 @@ public boolean hasPeriod() { return period_ != null; } /** + * + * *
    * How often, in seconds, the Uptime check is performed.
    * Currently, the only supported values are `60s` (1 minute), `300s`
@@ -6344,6 +7091,7 @@ public boolean hasPeriod() {
    * 
* * .google.protobuf.Duration period = 7; + * * @return The period. */ @java.lang.Override @@ -6351,6 +7099,8 @@ public com.google.protobuf.Duration getPeriod() { return period_ == null ? com.google.protobuf.Duration.getDefaultInstance() : period_; } /** + * + * *
    * How often, in seconds, the Uptime check is performed.
    * Currently, the only supported values are `60s` (1 minute), `300s`
@@ -6368,12 +7118,15 @@ public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder() {
   public static final int TIMEOUT_FIELD_NUMBER = 8;
   private com.google.protobuf.Duration timeout_;
   /**
+   *
+   *
    * 
    * The maximum amount of time to wait for the request to complete (must be
    * between 1 and 60 seconds). Required.
    * 
* * .google.protobuf.Duration timeout = 8; + * * @return Whether the timeout field is set. */ @java.lang.Override @@ -6381,12 +7134,15 @@ public boolean hasTimeout() { return timeout_ != null; } /** + * + * *
    * The maximum amount of time to wait for the request to complete (must be
    * between 1 and 60 seconds). Required.
    * 
* * .google.protobuf.Duration timeout = 8; + * * @return The timeout. */ @java.lang.Override @@ -6394,6 +7150,8 @@ public com.google.protobuf.Duration getTimeout() { return timeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeout_; } /** + * + * *
    * The maximum amount of time to wait for the request to complete (must be
    * between 1 and 60 seconds). Required.
@@ -6407,8 +7165,11 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
   }
 
   public static final int CONTENT_MATCHERS_FIELD_NUMBER = 9;
-  private java.util.List contentMatchers_;
+  private java.util.List
+      contentMatchers_;
   /**
+   *
+   *
    * 
    * The content that is expected to appear in the data returned by the target
    * server against which the check is run.  Currently, only the first entry
@@ -6417,13 +7178,17 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
    * content match is required as part of the/ Uptime check.
    * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * */ @java.lang.Override - public java.util.List getContentMatchersList() { + public java.util.List + getContentMatchersList() { return contentMatchers_; } /** + * + * *
    * The content that is expected to appear in the data returned by the target
    * server against which the check is run.  Currently, only the first entry
@@ -6432,14 +7197,18 @@ public java.util.List
    * content match is required as part of the/ Uptime check.
    * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder> getContentMatchersOrBuilderList() { return contentMatchers_; } /** + * + * *
    * The content that is expected to appear in the data returned by the target
    * server against which the check is run.  Currently, only the first entry
@@ -6448,13 +7217,16 @@ public java.util.List
    * content match is required as part of the/ Uptime check.
    * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * */ @java.lang.Override public int getContentMatchersCount() { return contentMatchers_.size(); } /** + * + * *
    * The content that is expected to appear in the data returned by the target
    * server against which the check is run.  Currently, only the first entry
@@ -6463,13 +7235,16 @@ public int getContentMatchersCount() {
    * content match is required as part of the/ Uptime check.
    * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * */ @java.lang.Override public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher getContentMatchers(int index) { return contentMatchers_.get(index); } /** + * + * *
    * The content that is expected to appear in the data returned by the target
    * server against which the check is run.  Currently, only the first entry
@@ -6478,27 +7253,34 @@ public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher getContentMatch
    * content match is required as part of the/ Uptime check.
    * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * */ @java.lang.Override - public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMatchersOrBuilder( - int index) { + public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder + getContentMatchersOrBuilder(int index) { return contentMatchers_.get(index); } public static final int SELECTED_REGIONS_FIELD_NUMBER = 10; private java.util.List selectedRegions_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.monitoring.v3.UptimeCheckRegion> selectedRegions_converter_ = + java.lang.Integer, com.google.monitoring.v3.UptimeCheckRegion> + selectedRegions_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.monitoring.v3.UptimeCheckRegion>() { public com.google.monitoring.v3.UptimeCheckRegion convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.monitoring.v3.UptimeCheckRegion result = com.google.monitoring.v3.UptimeCheckRegion.valueOf(from); - return result == null ? com.google.monitoring.v3.UptimeCheckRegion.UNRECOGNIZED : result; + com.google.monitoring.v3.UptimeCheckRegion result = + com.google.monitoring.v3.UptimeCheckRegion.valueOf(from); + return result == null + ? com.google.monitoring.v3.UptimeCheckRegion.UNRECOGNIZED + : result; } }; /** + * + * *
    * The list of regions from which the check will be run.
    * Some regions contain one location, and others contain more than one.
@@ -6508,14 +7290,18 @@ public com.google.monitoring.v3.UptimeCheckRegion convert(java.lang.Integer from
    * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; + * * @return A list containing the selectedRegions. */ @java.lang.Override public java.util.List getSelectedRegionsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.monitoring.v3.UptimeCheckRegion>(selectedRegions_, selectedRegions_converter_); + java.lang.Integer, com.google.monitoring.v3.UptimeCheckRegion>( + selectedRegions_, selectedRegions_converter_); } /** + * + * *
    * The list of regions from which the check will be run.
    * Some regions contain one location, and others contain more than one.
@@ -6525,6 +7311,7 @@ public java.util.List getSelectedReg
    * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; + * * @return The count of selectedRegions. */ @java.lang.Override @@ -6532,6 +7319,8 @@ public int getSelectedRegionsCount() { return selectedRegions_.size(); } /** + * + * *
    * The list of regions from which the check will be run.
    * Some regions contain one location, and others contain more than one.
@@ -6541,6 +7330,7 @@ public int getSelectedRegionsCount() {
    * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; + * * @param index The index of the element to return. * @return The selectedRegions at the given index. */ @@ -6549,6 +7339,8 @@ public com.google.monitoring.v3.UptimeCheckRegion getSelectedRegions(int index) return selectedRegions_converter_.convert(selectedRegions_.get(index)); } /** + * + * *
    * The list of regions from which the check will be run.
    * Some regions contain one location, and others contain more than one.
@@ -6558,14 +7350,16 @@ public com.google.monitoring.v3.UptimeCheckRegion getSelectedRegions(int index)
    * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; + * * @return A list containing the enum numeric values on the wire for selectedRegions. */ @java.lang.Override - public java.util.List - getSelectedRegionsValueList() { + public java.util.List getSelectedRegionsValueList() { return selectedRegions_; } /** + * + * *
    * The list of regions from which the check will be run.
    * Some regions contain one location, and others contain more than one.
@@ -6575,6 +7369,7 @@ public com.google.monitoring.v3.UptimeCheckRegion getSelectedRegions(int index)
    * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of selectedRegions at the given index. */ @@ -6582,11 +7377,14 @@ public com.google.monitoring.v3.UptimeCheckRegion getSelectedRegions(int index) public int getSelectedRegionsValue(int index) { return selectedRegions_.get(index); } + private int selectedRegionsMemoizedSerializedSize; public static final int IS_INTERNAL_FIELD_NUMBER = 15; private boolean isInternal_; /** + * + * *
    * If this is `true`, then checks are made only from the 'internal_checkers'.
    * If it is `false`, then checks are made only from the 'selected_regions'.
@@ -6595,16 +7393,20 @@ public int getSelectedRegionsValue(int index) {
    * 
* * bool is_internal = 15 [deprecated = true]; + * * @return The isInternal. */ @java.lang.Override - @java.lang.Deprecated public boolean getIsInternal() { + @java.lang.Deprecated + public boolean getIsInternal() { return isInternal_; } public static final int INTERNAL_CHECKERS_FIELD_NUMBER = 14; private java.util.List internalCheckers_; /** + * + * *
    * The internal checkers that this check will egress from. If `is_internal` is
    * `true` and this list is empty, the check will egress from all the
@@ -6612,13 +7414,18 @@ public int getSelectedRegionsValue(int index) {
    * `UptimeCheckConfig`.
    * 
* - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * */ @java.lang.Override - @java.lang.Deprecated public java.util.List getInternalCheckersList() { + @java.lang.Deprecated + public java.util.List getInternalCheckersList() { return internalCheckers_; } /** + * + * *
    * The internal checkers that this check will egress from. If `is_internal` is
    * `true` and this list is empty, the check will egress from all the
@@ -6626,14 +7433,19 @@ public int getSelectedRegionsValue(int index) {
    * `UptimeCheckConfig`.
    * 
* - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * */ @java.lang.Override - @java.lang.Deprecated public java.util.List + @java.lang.Deprecated + public java.util.List getInternalCheckersOrBuilderList() { return internalCheckers_; } /** + * + * *
    * The internal checkers that this check will egress from. If `is_internal` is
    * `true` and this list is empty, the check will egress from all the
@@ -6641,13 +7453,18 @@ public int getSelectedRegionsValue(int index) {
    * `UptimeCheckConfig`.
    * 
* - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * */ @java.lang.Override - @java.lang.Deprecated public int getInternalCheckersCount() { + @java.lang.Deprecated + public int getInternalCheckersCount() { return internalCheckers_.size(); } /** + * + * *
    * The internal checkers that this check will egress from. If `is_internal` is
    * `true` and this list is empty, the check will egress from all the
@@ -6655,13 +7472,18 @@ public int getSelectedRegionsValue(int index) {
    * `UptimeCheckConfig`.
    * 
* - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * */ @java.lang.Override - @java.lang.Deprecated public com.google.monitoring.v3.InternalChecker getInternalCheckers(int index) { + @java.lang.Deprecated + public com.google.monitoring.v3.InternalChecker getInternalCheckers(int index) { return internalCheckers_.get(index); } /** + * + * *
    * The internal checkers that this check will egress from. If `is_internal` is
    * `true` and this list is empty, the check will egress from all the
@@ -6669,15 +7491,18 @@ public int getSelectedRegionsValue(int index) {
    * `UptimeCheckConfig`.
    * 
* - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * */ @java.lang.Override - @java.lang.Deprecated public com.google.monitoring.v3.InternalCheckerOrBuilder getInternalCheckersOrBuilder( - int index) { + @java.lang.Deprecated + public com.google.monitoring.v3.InternalCheckerOrBuilder getInternalCheckersOrBuilder(int index) { return internalCheckers_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6689,8 +7514,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); @@ -6705,10 +7529,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(4, (com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup) resource_); } if (checkRequestTypeCase_ == 5) { - output.writeMessage(5, (com.google.monitoring.v3.UptimeCheckConfig.HttpCheck) checkRequestType_); + output.writeMessage( + 5, (com.google.monitoring.v3.UptimeCheckConfig.HttpCheck) checkRequestType_); } if (checkRequestTypeCase_ == 6) { - output.writeMessage(6, (com.google.monitoring.v3.UptimeCheckConfig.TcpCheck) checkRequestType_); + output.writeMessage( + 6, (com.google.monitoring.v3.UptimeCheckConfig.TcpCheck) checkRequestType_); } if (period_ != null) { output.writeMessage(7, getPeriod()); @@ -6748,52 +7574,53 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_); } if (resourceCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.api.MonitoredResource) resource_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.api.MonitoredResource) resource_); } if (resourceCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup) resource_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup) resource_); } if (checkRequestTypeCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.monitoring.v3.UptimeCheckConfig.HttpCheck) checkRequestType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.monitoring.v3.UptimeCheckConfig.HttpCheck) checkRequestType_); } if (checkRequestTypeCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.monitoring.v3.UptimeCheckConfig.TcpCheck) checkRequestType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.monitoring.v3.UptimeCheckConfig.TcpCheck) checkRequestType_); } if (period_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getPeriod()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getPeriod()); } if (timeout_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getTimeout()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getTimeout()); } for (int i = 0; i < contentMatchers_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, contentMatchers_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, contentMatchers_.get(i)); } { int dataSize = 0; for (int i = 0; i < selectedRegions_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(selectedRegions_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(selectedRegions_.get(i)); } size += dataSize; - if (!getSelectedRegionsList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }selectedRegionsMemoizedSerializedSize = dataSize; + if (!getSelectedRegionsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + selectedRegionsMemoizedSerializedSize = dataSize; } for (int i = 0; i < internalCheckers_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, internalCheckers_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(14, internalCheckers_.get(i)); } if (isInternal_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(15, isInternal_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(15, isInternal_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -6803,43 +7630,35 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.UptimeCheckConfig)) { return super.equals(obj); } - com.google.monitoring.v3.UptimeCheckConfig other = (com.google.monitoring.v3.UptimeCheckConfig) obj; + com.google.monitoring.v3.UptimeCheckConfig other = + (com.google.monitoring.v3.UptimeCheckConfig) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (hasPeriod() != other.hasPeriod()) return false; if (hasPeriod()) { - if (!getPeriod() - .equals(other.getPeriod())) return false; + if (!getPeriod().equals(other.getPeriod())) return false; } if (hasTimeout() != other.hasTimeout()) return false; if (hasTimeout()) { - if (!getTimeout() - .equals(other.getTimeout())) return false; + if (!getTimeout().equals(other.getTimeout())) return false; } - if (!getContentMatchersList() - .equals(other.getContentMatchersList())) return false; + if (!getContentMatchersList().equals(other.getContentMatchersList())) return false; if (!selectedRegions_.equals(other.selectedRegions_)) return false; - if (getIsInternal() - != other.getIsInternal()) return false; - if (!getInternalCheckersList() - .equals(other.getInternalCheckersList())) return false; + if (getIsInternal() != other.getIsInternal()) return false; + if (!getInternalCheckersList().equals(other.getInternalCheckersList())) return false; if (!getResourceCase().equals(other.getResourceCase())) return false; switch (resourceCase_) { case 3: - if (!getMonitoredResource() - .equals(other.getMonitoredResource())) return false; + if (!getMonitoredResource().equals(other.getMonitoredResource())) return false; break; case 4: - if (!getResourceGroup() - .equals(other.getResourceGroup())) return false; + if (!getResourceGroup().equals(other.getResourceGroup())) return false; break; case 0: default: @@ -6847,12 +7666,10 @@ public boolean equals(final java.lang.Object obj) { if (!getCheckRequestTypeCase().equals(other.getCheckRequestTypeCase())) return false; switch (checkRequestTypeCase_) { case 5: - if (!getHttpCheck() - .equals(other.getHttpCheck())) return false; + if (!getHttpCheck().equals(other.getHttpCheck())) return false; break; case 6: - if (!getTcpCheck() - .equals(other.getTcpCheck())) return false; + if (!getTcpCheck().equals(other.getTcpCheck())) return false; break; case 0: default: @@ -6889,8 +7706,7 @@ public int hashCode() { hash = (53 * hash) + selectedRegions_.hashCode(); } hash = (37 * hash) + IS_INTERNAL_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIsInternal()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsInternal()); if (getInternalCheckersCount() > 0) { hash = (37 * hash) + INTERNAL_CHECKERS_FIELD_NUMBER; hash = (53 * hash) + getInternalCheckersList().hashCode(); @@ -6924,97 +7740,104 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.UptimeCheckConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.UptimeCheckConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.UptimeCheckConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.UptimeCheckConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.UptimeCheckConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.UptimeCheckConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.UptimeCheckConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.UptimeCheckConfig 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.monitoring.v3.UptimeCheckConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.UptimeCheckConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.UptimeCheckConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.UptimeCheckConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.UptimeCheckConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.UptimeCheckConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.UptimeCheckConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * This message configures which resources and services to monitor for
    * availability.
@@ -7022,21 +7845,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.monitoring.v3.UptimeCheckConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.UptimeCheckConfig)
       com.google.monitoring.v3.UptimeCheckConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.monitoring.v3.UptimeProto
+          .internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_fieldAccessorTable
+      return com.google.monitoring.v3.UptimeProto
+          .internal_static_google_monitoring_v3_UptimeCheckConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.UptimeCheckConfig.class, com.google.monitoring.v3.UptimeCheckConfig.Builder.class);
+              com.google.monitoring.v3.UptimeCheckConfig.class,
+              com.google.monitoring.v3.UptimeCheckConfig.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.UptimeCheckConfig.newBuilder()
@@ -7044,18 +7869,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getContentMatchersFieldBuilder();
         getInternalCheckersFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -7099,9 +7924,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.monitoring.v3.UptimeProto
+          .internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor;
     }
 
     @java.lang.Override
@@ -7120,7 +7945,8 @@ public com.google.monitoring.v3.UptimeCheckConfig build() {
 
     @java.lang.Override
     public com.google.monitoring.v3.UptimeCheckConfig buildPartial() {
-      com.google.monitoring.v3.UptimeCheckConfig result = new com.google.monitoring.v3.UptimeCheckConfig(this);
+      com.google.monitoring.v3.UptimeCheckConfig result =
+          new com.google.monitoring.v3.UptimeCheckConfig(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.displayName_ = displayName_;
@@ -7196,38 +8022,39 @@ public com.google.monitoring.v3.UptimeCheckConfig 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.monitoring.v3.UptimeCheckConfig) {
-        return mergeFrom((com.google.monitoring.v3.UptimeCheckConfig)other);
+        return mergeFrom((com.google.monitoring.v3.UptimeCheckConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -7268,9 +8095,10 @@ public Builder mergeFrom(com.google.monitoring.v3.UptimeCheckConfig other) {
             contentMatchersBuilder_ = null;
             contentMatchers_ = other.contentMatchers_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            contentMatchersBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getContentMatchersFieldBuilder() : null;
+            contentMatchersBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getContentMatchersFieldBuilder()
+                    : null;
           } else {
             contentMatchersBuilder_.addAllMessages(other.contentMatchers_);
           }
@@ -7307,39 +8135,46 @@ public Builder mergeFrom(com.google.monitoring.v3.UptimeCheckConfig other) {
             internalCheckersBuilder_ = null;
             internalCheckers_ = other.internalCheckers_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            internalCheckersBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getInternalCheckersFieldBuilder() : null;
+            internalCheckersBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getInternalCheckersFieldBuilder()
+                    : null;
           } else {
             internalCheckersBuilder_.addAllMessages(other.internalCheckers_);
           }
         }
       }
       switch (other.getResourceCase()) {
-        case MONITORED_RESOURCE: {
-          mergeMonitoredResource(other.getMonitoredResource());
-          break;
-        }
-        case RESOURCE_GROUP: {
-          mergeResourceGroup(other.getResourceGroup());
-          break;
-        }
-        case RESOURCE_NOT_SET: {
-          break;
-        }
+        case MONITORED_RESOURCE:
+          {
+            mergeMonitoredResource(other.getMonitoredResource());
+            break;
+          }
+        case RESOURCE_GROUP:
+          {
+            mergeResourceGroup(other.getResourceGroup());
+            break;
+          }
+        case RESOURCE_NOT_SET:
+          {
+            break;
+          }
       }
       switch (other.getCheckRequestTypeCase()) {
-        case HTTP_CHECK: {
-          mergeHttpCheck(other.getHttpCheck());
-          break;
-        }
-        case TCP_CHECK: {
-          mergeTcpCheck(other.getTcpCheck());
-          break;
-        }
-        case CHECKREQUESTTYPE_NOT_SET: {
-          break;
-        }
+        case HTTP_CHECK:
+          {
+            mergeHttpCheck(other.getHttpCheck());
+            break;
+          }
+        case TCP_CHECK:
+          {
+            mergeTcpCheck(other.getTcpCheck());
+            break;
+          }
+        case CHECKREQUESTTYPE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -7369,12 +8204,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int resourceCase_ = 0;
     private java.lang.Object resource_;
-    public ResourceCase
-        getResourceCase() {
-      return ResourceCase.forNumber(
-          resourceCase_);
+
+    public ResourceCase getResourceCase() {
+      return ResourceCase.forNumber(resourceCase_);
     }
 
     public Builder clearResource() {
@@ -7386,10 +8221,9 @@ public Builder clearResource() {
 
     private int checkRequestTypeCase_ = 0;
     private java.lang.Object checkRequestType_;
-    public CheckRequestTypeCase
-        getCheckRequestTypeCase() {
-      return CheckRequestTypeCase.forNumber(
-          checkRequestTypeCase_);
+
+    public CheckRequestTypeCase getCheckRequestTypeCase() {
+      return CheckRequestTypeCase.forNumber(checkRequestTypeCase_);
     }
 
     public Builder clearCheckRequestType() {
@@ -7403,6 +8237,8 @@ public Builder clearCheckRequestType() {
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * A unique resource name for this Uptime check configuration. The format is:
      *      projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
@@ -7414,13 +8250,13 @@ public Builder clearCheckRequestType() {
      * 
* * 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; @@ -7429,6 +8265,8 @@ public java.lang.String getName() { } } /** + * + * *
      * A unique resource name for this Uptime check configuration. The format is:
      *      projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
@@ -7440,15 +8278,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -7456,6 +8293,8 @@ public java.lang.String getName() { } } /** + * + * *
      * A unique resource name for this Uptime check configuration. The format is:
      *      projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
@@ -7467,20 +8306,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * A unique resource name for this Uptime check configuration. The format is:
      *      projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
@@ -7492,15 +8333,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * A unique resource name for this Uptime check configuration. The format is:
      *      projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
@@ -7512,16 +8356,16 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -7529,6 +8373,8 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * A human-friendly name for the Uptime check configuration. The display name
      * should be unique within a Stackdriver Workspace in order to make it easier
@@ -7536,13 +8382,13 @@ public Builder setNameBytes(
      * 
* * string display_name = 2; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -7551,6 +8397,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * A human-friendly name for the Uptime check configuration. The display name
      * should be unique within a Stackdriver Workspace in order to make it easier
@@ -7558,15 +8406,14 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -7574,6 +8421,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * A human-friendly name for the Uptime check configuration. The display name
      * should be unique within a Stackdriver Workspace in order to make it easier
@@ -7581,20 +8430,22 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * A human-friendly name for the Uptime check configuration. The display name
      * should be unique within a Stackdriver Workspace in order to make it easier
@@ -7602,15 +8453,18 @@ public Builder setDisplayName(
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * A human-friendly name for the Uptime check configuration. The display name
      * should be unique within a Stackdriver Workspace in order to make it easier
@@ -7618,24 +8472,29 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.api.MonitoredResource, com.google.api.MonitoredResource.Builder, com.google.api.MonitoredResourceOrBuilder> monitoredResourceBuilder_; + com.google.api.MonitoredResource, + com.google.api.MonitoredResource.Builder, + com.google.api.MonitoredResourceOrBuilder> + monitoredResourceBuilder_; /** + * + * *
      * The [monitored
      * resource](https://cloud.google.com/monitoring/api/resources) associated
@@ -7650,6 +8509,7 @@ public Builder setDisplayNameBytes(
      * 
* * .google.api.MonitoredResource monitored_resource = 3; + * * @return Whether the monitoredResource field is set. */ @java.lang.Override @@ -7657,6 +8517,8 @@ public boolean hasMonitoredResource() { return resourceCase_ == 3; } /** + * + * *
      * The [monitored
      * resource](https://cloud.google.com/monitoring/api/resources) associated
@@ -7671,6 +8533,7 @@ public boolean hasMonitoredResource() {
      * 
* * .google.api.MonitoredResource monitored_resource = 3; + * * @return The monitoredResource. */ @java.lang.Override @@ -7688,6 +8551,8 @@ public com.google.api.MonitoredResource getMonitoredResource() { } } /** + * + * *
      * The [monitored
      * resource](https://cloud.google.com/monitoring/api/resources) associated
@@ -7717,6 +8582,8 @@ public Builder setMonitoredResource(com.google.api.MonitoredResource value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The [monitored
      * resource](https://cloud.google.com/monitoring/api/resources) associated
@@ -7732,8 +8599,7 @@ public Builder setMonitoredResource(com.google.api.MonitoredResource value) {
      *
      * .google.api.MonitoredResource monitored_resource = 3;
      */
-    public Builder setMonitoredResource(
-        com.google.api.MonitoredResource.Builder builderForValue) {
+    public Builder setMonitoredResource(com.google.api.MonitoredResource.Builder builderForValue) {
       if (monitoredResourceBuilder_ == null) {
         resource_ = builderForValue.build();
         onChanged();
@@ -7744,6 +8610,8 @@ public Builder setMonitoredResource(
       return this;
     }
     /**
+     *
+     *
      * 
      * The [monitored
      * resource](https://cloud.google.com/monitoring/api/resources) associated
@@ -7761,10 +8629,13 @@ public Builder setMonitoredResource(
      */
     public Builder mergeMonitoredResource(com.google.api.MonitoredResource value) {
       if (monitoredResourceBuilder_ == null) {
-        if (resourceCase_ == 3 &&
-            resource_ != com.google.api.MonitoredResource.getDefaultInstance()) {
-          resource_ = com.google.api.MonitoredResource.newBuilder((com.google.api.MonitoredResource) resource_)
-              .mergeFrom(value).buildPartial();
+        if (resourceCase_ == 3
+            && resource_ != com.google.api.MonitoredResource.getDefaultInstance()) {
+          resource_ =
+              com.google.api.MonitoredResource.newBuilder(
+                      (com.google.api.MonitoredResource) resource_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           resource_ = value;
         }
@@ -7779,6 +8650,8 @@ public Builder mergeMonitoredResource(com.google.api.MonitoredResource value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The [monitored
      * resource](https://cloud.google.com/monitoring/api/resources) associated
@@ -7811,6 +8684,8 @@ public Builder clearMonitoredResource() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The [monitored
      * resource](https://cloud.google.com/monitoring/api/resources) associated
@@ -7830,6 +8705,8 @@ public com.google.api.MonitoredResource.Builder getMonitoredResourceBuilder() {
       return getMonitoredResourceFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The [monitored
      * resource](https://cloud.google.com/monitoring/api/resources) associated
@@ -7857,6 +8734,8 @@ public com.google.api.MonitoredResourceOrBuilder getMonitoredResourceOrBuilder()
       }
     }
     /**
+     *
+     *
      * 
      * The [monitored
      * resource](https://cloud.google.com/monitoring/api/resources) associated
@@ -7873,32 +8752,42 @@ public com.google.api.MonitoredResourceOrBuilder getMonitoredResourceOrBuilder()
      * .google.api.MonitoredResource monitored_resource = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.api.MonitoredResource, com.google.api.MonitoredResource.Builder, com.google.api.MonitoredResourceOrBuilder> 
+            com.google.api.MonitoredResource,
+            com.google.api.MonitoredResource.Builder,
+            com.google.api.MonitoredResourceOrBuilder>
         getMonitoredResourceFieldBuilder() {
       if (monitoredResourceBuilder_ == null) {
         if (!(resourceCase_ == 3)) {
           resource_ = com.google.api.MonitoredResource.getDefaultInstance();
         }
-        monitoredResourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.api.MonitoredResource, com.google.api.MonitoredResource.Builder, com.google.api.MonitoredResourceOrBuilder>(
-                (com.google.api.MonitoredResource) resource_,
-                getParentForChildren(),
-                isClean());
+        monitoredResourceBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.api.MonitoredResource,
+                com.google.api.MonitoredResource.Builder,
+                com.google.api.MonitoredResourceOrBuilder>(
+                (com.google.api.MonitoredResource) resource_, getParentForChildren(), isClean());
         resource_ = null;
       }
       resourceCase_ = 3;
-      onChanged();;
+      onChanged();
+      ;
       return monitoredResourceBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup, com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.Builder, com.google.monitoring.v3.UptimeCheckConfig.ResourceGroupOrBuilder> resourceGroupBuilder_;
+            com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup,
+            com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.Builder,
+            com.google.monitoring.v3.UptimeCheckConfig.ResourceGroupOrBuilder>
+        resourceGroupBuilder_;
     /**
+     *
+     *
      * 
      * The group resource associated with the configuration.
      * 
* * .google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4; + * * @return Whether the resourceGroup field is set. */ @java.lang.Override @@ -7906,11 +8795,14 @@ public boolean hasResourceGroup() { return resourceCase_ == 4; } /** + * + * *
      * The group resource associated with the configuration.
      * 
* * .google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4; + * * @return The resourceGroup. */ @java.lang.Override @@ -7928,13 +8820,16 @@ public com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup getResourceGroup } } /** + * + * *
      * The group resource associated with the configuration.
      * 
* * .google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4; */ - public Builder setResourceGroup(com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup value) { + public Builder setResourceGroup( + com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup value) { if (resourceGroupBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7948,6 +8843,8 @@ public Builder setResourceGroup(com.google.monitoring.v3.UptimeCheckConfig.Resou return this; } /** + * + * *
      * The group resource associated with the configuration.
      * 
@@ -7966,18 +8863,25 @@ public Builder setResourceGroup( return this; } /** + * + * *
      * The group resource associated with the configuration.
      * 
* * .google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4; */ - public Builder mergeResourceGroup(com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup value) { + public Builder mergeResourceGroup( + com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup value) { if (resourceGroupBuilder_ == null) { - if (resourceCase_ == 4 && - resource_ != com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.getDefaultInstance()) { - resource_ = com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.newBuilder((com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup) resource_) - .mergeFrom(value).buildPartial(); + if (resourceCase_ == 4 + && resource_ + != com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.getDefaultInstance()) { + resource_ = + com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.newBuilder( + (com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup) resource_) + .mergeFrom(value) + .buildPartial(); } else { resource_ = value; } @@ -7992,6 +8896,8 @@ public Builder mergeResourceGroup(com.google.monitoring.v3.UptimeCheckConfig.Res return this; } /** + * + * *
      * The group resource associated with the configuration.
      * 
@@ -8015,16 +8921,21 @@ public Builder clearResourceGroup() { return this; } /** + * + * *
      * The group resource associated with the configuration.
      * 
* * .google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4; */ - public com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.Builder getResourceGroupBuilder() { + public com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.Builder + getResourceGroupBuilder() { return getResourceGroupFieldBuilder().getBuilder(); } /** + * + * *
      * The group resource associated with the configuration.
      * 
@@ -8032,7 +8943,8 @@ public com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.Builder getResou * .google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4; */ @java.lang.Override - public com.google.monitoring.v3.UptimeCheckConfig.ResourceGroupOrBuilder getResourceGroupOrBuilder() { + public com.google.monitoring.v3.UptimeCheckConfig.ResourceGroupOrBuilder + getResourceGroupOrBuilder() { if ((resourceCase_ == 4) && (resourceGroupBuilder_ != null)) { return resourceGroupBuilder_.getMessageOrBuilder(); } else { @@ -8043,6 +8955,8 @@ public com.google.monitoring.v3.UptimeCheckConfig.ResourceGroupOrBuilder getReso } } /** + * + * *
      * The group resource associated with the configuration.
      * 
@@ -8050,32 +8964,44 @@ public com.google.monitoring.v3.UptimeCheckConfig.ResourceGroupOrBuilder getReso * .google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup, com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.Builder, com.google.monitoring.v3.UptimeCheckConfig.ResourceGroupOrBuilder> + com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup, + com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.Builder, + com.google.monitoring.v3.UptimeCheckConfig.ResourceGroupOrBuilder> getResourceGroupFieldBuilder() { if (resourceGroupBuilder_ == null) { if (!(resourceCase_ == 4)) { resource_ = com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.getDefaultInstance(); } - resourceGroupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup, com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.Builder, com.google.monitoring.v3.UptimeCheckConfig.ResourceGroupOrBuilder>( + resourceGroupBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup, + com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup.Builder, + com.google.monitoring.v3.UptimeCheckConfig.ResourceGroupOrBuilder>( (com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup) resource_, getParentForChildren(), isClean()); resource_ = null; } resourceCase_ = 4; - onChanged();; + onChanged(); + ; return resourceGroupBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck, com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.Builder, com.google.monitoring.v3.UptimeCheckConfig.HttpCheckOrBuilder> httpCheckBuilder_; + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck, + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.Builder, + com.google.monitoring.v3.UptimeCheckConfig.HttpCheckOrBuilder> + httpCheckBuilder_; /** + * + * *
      * Contains information needed to make an HTTP or HTTPS check.
      * 
* * .google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5; + * * @return Whether the httpCheck field is set. */ @java.lang.Override @@ -8083,11 +9009,14 @@ public boolean hasHttpCheck() { return checkRequestTypeCase_ == 5; } /** + * + * *
      * Contains information needed to make an HTTP or HTTPS check.
      * 
* * .google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5; + * * @return The httpCheck. */ @java.lang.Override @@ -8105,6 +9034,8 @@ public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck getHttpCheck() { } } /** + * + * *
      * Contains information needed to make an HTTP or HTTPS check.
      * 
@@ -8125,6 +9056,8 @@ public Builder setHttpCheck(com.google.monitoring.v3.UptimeCheckConfig.HttpCheck return this; } /** + * + * *
      * Contains information needed to make an HTTP or HTTPS check.
      * 
@@ -8143,6 +9076,8 @@ public Builder setHttpCheck( return this; } /** + * + * *
      * Contains information needed to make an HTTP or HTTPS check.
      * 
@@ -8151,10 +9086,14 @@ public Builder setHttpCheck( */ public Builder mergeHttpCheck(com.google.monitoring.v3.UptimeCheckConfig.HttpCheck value) { if (httpCheckBuilder_ == null) { - if (checkRequestTypeCase_ == 5 && - checkRequestType_ != com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.getDefaultInstance()) { - checkRequestType_ = com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.newBuilder((com.google.monitoring.v3.UptimeCheckConfig.HttpCheck) checkRequestType_) - .mergeFrom(value).buildPartial(); + if (checkRequestTypeCase_ == 5 + && checkRequestType_ + != com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.getDefaultInstance()) { + checkRequestType_ = + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.newBuilder( + (com.google.monitoring.v3.UptimeCheckConfig.HttpCheck) checkRequestType_) + .mergeFrom(value) + .buildPartial(); } else { checkRequestType_ = value; } @@ -8169,6 +9108,8 @@ public Builder mergeHttpCheck(com.google.monitoring.v3.UptimeCheckConfig.HttpChe return this; } /** + * + * *
      * Contains information needed to make an HTTP or HTTPS check.
      * 
@@ -8192,6 +9133,8 @@ public Builder clearHttpCheck() { return this; } /** + * + * *
      * Contains information needed to make an HTTP or HTTPS check.
      * 
@@ -8202,6 +9145,8 @@ public com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.Builder getHttpCheck return getHttpCheckFieldBuilder().getBuilder(); } /** + * + * *
      * Contains information needed to make an HTTP or HTTPS check.
      * 
@@ -8220,6 +9165,8 @@ public com.google.monitoring.v3.UptimeCheckConfig.HttpCheckOrBuilder getHttpChec } } /** + * + * *
      * Contains information needed to make an HTTP or HTTPS check.
      * 
@@ -8227,32 +9174,45 @@ public com.google.monitoring.v3.UptimeCheckConfig.HttpCheckOrBuilder getHttpChec * .google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck, com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.Builder, com.google.monitoring.v3.UptimeCheckConfig.HttpCheckOrBuilder> + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck, + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.Builder, + com.google.monitoring.v3.UptimeCheckConfig.HttpCheckOrBuilder> getHttpCheckFieldBuilder() { if (httpCheckBuilder_ == null) { if (!(checkRequestTypeCase_ == 5)) { - checkRequestType_ = com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.getDefaultInstance(); - } - httpCheckBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig.HttpCheck, com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.Builder, com.google.monitoring.v3.UptimeCheckConfig.HttpCheckOrBuilder>( + checkRequestType_ = + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.getDefaultInstance(); + } + httpCheckBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck, + com.google.monitoring.v3.UptimeCheckConfig.HttpCheck.Builder, + com.google.monitoring.v3.UptimeCheckConfig.HttpCheckOrBuilder>( (com.google.monitoring.v3.UptimeCheckConfig.HttpCheck) checkRequestType_, getParentForChildren(), isClean()); checkRequestType_ = null; } checkRequestTypeCase_ = 5; - onChanged();; + onChanged(); + ; return httpCheckBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig.TcpCheck, com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.Builder, com.google.monitoring.v3.UptimeCheckConfig.TcpCheckOrBuilder> tcpCheckBuilder_; + com.google.monitoring.v3.UptimeCheckConfig.TcpCheck, + com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.Builder, + com.google.monitoring.v3.UptimeCheckConfig.TcpCheckOrBuilder> + tcpCheckBuilder_; /** + * + * *
      * Contains information needed to make a TCP check.
      * 
* * .google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6; + * * @return Whether the tcpCheck field is set. */ @java.lang.Override @@ -8260,11 +9220,14 @@ public boolean hasTcpCheck() { return checkRequestTypeCase_ == 6; } /** + * + * *
      * Contains information needed to make a TCP check.
      * 
* * .google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6; + * * @return The tcpCheck. */ @java.lang.Override @@ -8282,6 +9245,8 @@ public com.google.monitoring.v3.UptimeCheckConfig.TcpCheck getTcpCheck() { } } /** + * + * *
      * Contains information needed to make a TCP check.
      * 
@@ -8302,6 +9267,8 @@ public Builder setTcpCheck(com.google.monitoring.v3.UptimeCheckConfig.TcpCheck v return this; } /** + * + * *
      * Contains information needed to make a TCP check.
      * 
@@ -8320,6 +9287,8 @@ public Builder setTcpCheck( return this; } /** + * + * *
      * Contains information needed to make a TCP check.
      * 
@@ -8328,10 +9297,14 @@ public Builder setTcpCheck( */ public Builder mergeTcpCheck(com.google.monitoring.v3.UptimeCheckConfig.TcpCheck value) { if (tcpCheckBuilder_ == null) { - if (checkRequestTypeCase_ == 6 && - checkRequestType_ != com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.getDefaultInstance()) { - checkRequestType_ = com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.newBuilder((com.google.monitoring.v3.UptimeCheckConfig.TcpCheck) checkRequestType_) - .mergeFrom(value).buildPartial(); + if (checkRequestTypeCase_ == 6 + && checkRequestType_ + != com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.getDefaultInstance()) { + checkRequestType_ = + com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.newBuilder( + (com.google.monitoring.v3.UptimeCheckConfig.TcpCheck) checkRequestType_) + .mergeFrom(value) + .buildPartial(); } else { checkRequestType_ = value; } @@ -8346,6 +9319,8 @@ public Builder mergeTcpCheck(com.google.monitoring.v3.UptimeCheckConfig.TcpCheck return this; } /** + * + * *
      * Contains information needed to make a TCP check.
      * 
@@ -8369,6 +9344,8 @@ public Builder clearTcpCheck() { return this; } /** + * + * *
      * Contains information needed to make a TCP check.
      * 
@@ -8379,6 +9356,8 @@ public com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.Builder getTcpCheckBu return getTcpCheckFieldBuilder().getBuilder(); } /** + * + * *
      * Contains information needed to make a TCP check.
      * 
@@ -8397,6 +9376,8 @@ public com.google.monitoring.v3.UptimeCheckConfig.TcpCheckOrBuilder getTcpCheckO } } /** + * + * *
      * Contains information needed to make a TCP check.
      * 
@@ -8404,28 +9385,40 @@ public com.google.monitoring.v3.UptimeCheckConfig.TcpCheckOrBuilder getTcpCheckO * .google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig.TcpCheck, com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.Builder, com.google.monitoring.v3.UptimeCheckConfig.TcpCheckOrBuilder> + com.google.monitoring.v3.UptimeCheckConfig.TcpCheck, + com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.Builder, + com.google.monitoring.v3.UptimeCheckConfig.TcpCheckOrBuilder> getTcpCheckFieldBuilder() { if (tcpCheckBuilder_ == null) { if (!(checkRequestTypeCase_ == 6)) { - checkRequestType_ = com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.getDefaultInstance(); - } - tcpCheckBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig.TcpCheck, com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.Builder, com.google.monitoring.v3.UptimeCheckConfig.TcpCheckOrBuilder>( + checkRequestType_ = + com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.getDefaultInstance(); + } + tcpCheckBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.UptimeCheckConfig.TcpCheck, + com.google.monitoring.v3.UptimeCheckConfig.TcpCheck.Builder, + com.google.monitoring.v3.UptimeCheckConfig.TcpCheckOrBuilder>( (com.google.monitoring.v3.UptimeCheckConfig.TcpCheck) checkRequestType_, getParentForChildren(), isClean()); checkRequestType_ = null; } checkRequestTypeCase_ = 6; - onChanged();; + onChanged(); + ; return tcpCheckBuilder_; } private com.google.protobuf.Duration period_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> periodBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + periodBuilder_; /** + * + * *
      * How often, in seconds, the Uptime check is performed.
      * Currently, the only supported values are `60s` (1 minute), `300s`
@@ -8434,12 +9427,15 @@ public com.google.monitoring.v3.UptimeCheckConfig.TcpCheckOrBuilder getTcpCheckO
      * 
* * .google.protobuf.Duration period = 7; + * * @return Whether the period field is set. */ public boolean hasPeriod() { return periodBuilder_ != null || period_ != null; } /** + * + * *
      * How often, in seconds, the Uptime check is performed.
      * Currently, the only supported values are `60s` (1 minute), `300s`
@@ -8448,6 +9444,7 @@ public boolean hasPeriod() {
      * 
* * .google.protobuf.Duration period = 7; + * * @return The period. */ public com.google.protobuf.Duration getPeriod() { @@ -8458,6 +9455,8 @@ public com.google.protobuf.Duration getPeriod() { } } /** + * + * *
      * How often, in seconds, the Uptime check is performed.
      * Currently, the only supported values are `60s` (1 minute), `300s`
@@ -8481,6 +9480,8 @@ public Builder setPeriod(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * How often, in seconds, the Uptime check is performed.
      * Currently, the only supported values are `60s` (1 minute), `300s`
@@ -8490,8 +9491,7 @@ public Builder setPeriod(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration period = 7;
      */
-    public Builder setPeriod(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setPeriod(com.google.protobuf.Duration.Builder builderForValue) {
       if (periodBuilder_ == null) {
         period_ = builderForValue.build();
         onChanged();
@@ -8502,6 +9502,8 @@ public Builder setPeriod(
       return this;
     }
     /**
+     *
+     *
      * 
      * How often, in seconds, the Uptime check is performed.
      * Currently, the only supported values are `60s` (1 minute), `300s`
@@ -8515,7 +9517,7 @@ public Builder mergePeriod(com.google.protobuf.Duration value) {
       if (periodBuilder_ == null) {
         if (period_ != null) {
           period_ =
-            com.google.protobuf.Duration.newBuilder(period_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(period_).mergeFrom(value).buildPartial();
         } else {
           period_ = value;
         }
@@ -8527,6 +9529,8 @@ public Builder mergePeriod(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * How often, in seconds, the Uptime check is performed.
      * Currently, the only supported values are `60s` (1 minute), `300s`
@@ -8548,6 +9552,8 @@ public Builder clearPeriod() {
       return this;
     }
     /**
+     *
+     *
      * 
      * How often, in seconds, the Uptime check is performed.
      * Currently, the only supported values are `60s` (1 minute), `300s`
@@ -8558,11 +9564,13 @@ public Builder clearPeriod() {
      * .google.protobuf.Duration period = 7;
      */
     public com.google.protobuf.Duration.Builder getPeriodBuilder() {
-      
+
       onChanged();
       return getPeriodFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * How often, in seconds, the Uptime check is performed.
      * Currently, the only supported values are `60s` (1 minute), `300s`
@@ -8576,11 +9584,12 @@ public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder() {
       if (periodBuilder_ != null) {
         return periodBuilder_.getMessageOrBuilder();
       } else {
-        return period_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : period_;
+        return period_ == null ? com.google.protobuf.Duration.getDefaultInstance() : period_;
       }
     }
     /**
+     *
+     *
      * 
      * How often, in seconds, the Uptime check is performed.
      * Currently, the only supported values are `60s` (1 minute), `300s`
@@ -8591,14 +9600,17 @@ public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder() {
      * .google.protobuf.Duration period = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getPeriodFieldBuilder() {
       if (periodBuilder_ == null) {
-        periodBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getPeriod(),
-                getParentForChildren(),
-                isClean());
+        periodBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getPeriod(), getParentForChildren(), isClean());
         period_ = null;
       }
       return periodBuilder_;
@@ -8606,26 +9618,35 @@ public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder() {
 
     private com.google.protobuf.Duration timeout_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeoutBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        timeoutBuilder_;
     /**
+     *
+     *
      * 
      * The maximum amount of time to wait for the request to complete (must be
      * between 1 and 60 seconds). Required.
      * 
* * .google.protobuf.Duration timeout = 8; + * * @return Whether the timeout field is set. */ public boolean hasTimeout() { return timeoutBuilder_ != null || timeout_ != null; } /** + * + * *
      * The maximum amount of time to wait for the request to complete (must be
      * between 1 and 60 seconds). Required.
      * 
* * .google.protobuf.Duration timeout = 8; + * * @return The timeout. */ public com.google.protobuf.Duration getTimeout() { @@ -8636,6 +9657,8 @@ public com.google.protobuf.Duration getTimeout() { } } /** + * + * *
      * The maximum amount of time to wait for the request to complete (must be
      * between 1 and 60 seconds). Required.
@@ -8657,6 +9680,8 @@ public Builder setTimeout(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time to wait for the request to complete (must be
      * between 1 and 60 seconds). Required.
@@ -8664,8 +9689,7 @@ public Builder setTimeout(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration timeout = 8;
      */
-    public Builder setTimeout(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTimeout(com.google.protobuf.Duration.Builder builderForValue) {
       if (timeoutBuilder_ == null) {
         timeout_ = builderForValue.build();
         onChanged();
@@ -8676,6 +9700,8 @@ public Builder setTimeout(
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time to wait for the request to complete (must be
      * between 1 and 60 seconds). Required.
@@ -8687,7 +9713,7 @@ public Builder mergeTimeout(com.google.protobuf.Duration value) {
       if (timeoutBuilder_ == null) {
         if (timeout_ != null) {
           timeout_ =
-            com.google.protobuf.Duration.newBuilder(timeout_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(timeout_).mergeFrom(value).buildPartial();
         } else {
           timeout_ = value;
         }
@@ -8699,6 +9725,8 @@ public Builder mergeTimeout(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time to wait for the request to complete (must be
      * between 1 and 60 seconds). Required.
@@ -8718,6 +9746,8 @@ public Builder clearTimeout() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time to wait for the request to complete (must be
      * between 1 and 60 seconds). Required.
@@ -8726,11 +9756,13 @@ public Builder clearTimeout() {
      * .google.protobuf.Duration timeout = 8;
      */
     public com.google.protobuf.Duration.Builder getTimeoutBuilder() {
-      
+
       onChanged();
       return getTimeoutFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time to wait for the request to complete (must be
      * between 1 and 60 seconds). Required.
@@ -8742,11 +9774,12 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
       if (timeoutBuilder_ != null) {
         return timeoutBuilder_.getMessageOrBuilder();
       } else {
-        return timeout_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : timeout_;
+        return timeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeout_;
       }
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time to wait for the request to complete (must be
      * between 1 and 60 seconds). Required.
@@ -8755,32 +9788,43 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
      * .google.protobuf.Duration timeout = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getTimeoutFieldBuilder() {
       if (timeoutBuilder_ == null) {
-        timeoutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getTimeout(),
-                getParentForChildren(),
-                isClean());
+        timeoutBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getTimeout(), getParentForChildren(), isClean());
         timeout_ = null;
       }
       return timeoutBuilder_;
     }
 
-    private java.util.List contentMatchers_ =
-      java.util.Collections.emptyList();
+    private java.util.List
+        contentMatchers_ = java.util.Collections.emptyList();
+
     private void ensureContentMatchersIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        contentMatchers_ = new java.util.ArrayList(contentMatchers_);
+        contentMatchers_ =
+            new java.util.ArrayList(
+                contentMatchers_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher, com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder, com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder> contentMatchersBuilder_;
+            com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher,
+            com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder,
+            com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder>
+        contentMatchersBuilder_;
 
     /**
+     *
+     *
      * 
      * The content that is expected to appear in the data returned by the target
      * server against which the check is run.  Currently, only the first entry
@@ -8789,9 +9833,11 @@ private void ensureContentMatchersIsMutable() {
      * content match is required as part of the/ Uptime check.
      * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * */ - public java.util.List getContentMatchersList() { + public java.util.List + getContentMatchersList() { if (contentMatchersBuilder_ == null) { return java.util.Collections.unmodifiableList(contentMatchers_); } else { @@ -8799,6 +9845,8 @@ public java.util.List } } /** + * + * *
      * The content that is expected to appear in the data returned by the target
      * server against which the check is run.  Currently, only the first entry
@@ -8807,7 +9855,8 @@ public java.util.List
      * content match is required as part of the/ Uptime check.
      * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * */ public int getContentMatchersCount() { if (contentMatchersBuilder_ == null) { @@ -8817,6 +9866,8 @@ public int getContentMatchersCount() { } } /** + * + * *
      * The content that is expected to appear in the data returned by the target
      * server against which the check is run.  Currently, only the first entry
@@ -8825,7 +9876,8 @@ public int getContentMatchersCount() {
      * content match is required as part of the/ Uptime check.
      * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * */ public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher getContentMatchers(int index) { if (contentMatchersBuilder_ == null) { @@ -8835,6 +9887,8 @@ public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher getContentMatch } } /** + * + * *
      * The content that is expected to appear in the data returned by the target
      * server against which the check is run.  Currently, only the first entry
@@ -8843,7 +9897,8 @@ public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher getContentMatch
      * content match is required as part of the/ Uptime check.
      * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * */ public Builder setContentMatchers( int index, com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher value) { @@ -8860,6 +9915,8 @@ public Builder setContentMatchers( return this; } /** + * + * *
      * The content that is expected to appear in the data returned by the target
      * server against which the check is run.  Currently, only the first entry
@@ -8868,10 +9925,12 @@ public Builder setContentMatchers(
      * content match is required as part of the/ Uptime check.
      * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * */ public Builder setContentMatchers( - int index, com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder builderForValue) { + int index, + com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder builderForValue) { if (contentMatchersBuilder_ == null) { ensureContentMatchersIsMutable(); contentMatchers_.set(index, builderForValue.build()); @@ -8882,6 +9941,8 @@ public Builder setContentMatchers( return this; } /** + * + * *
      * The content that is expected to appear in the data returned by the target
      * server against which the check is run.  Currently, only the first entry
@@ -8890,9 +9951,11 @@ public Builder setContentMatchers(
      * content match is required as part of the/ Uptime check.
      * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * */ - public Builder addContentMatchers(com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher value) { + public Builder addContentMatchers( + com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher value) { if (contentMatchersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8906,6 +9969,8 @@ public Builder addContentMatchers(com.google.monitoring.v3.UptimeCheckConfig.Con return this; } /** + * + * *
      * The content that is expected to appear in the data returned by the target
      * server against which the check is run.  Currently, only the first entry
@@ -8914,7 +9979,8 @@ public Builder addContentMatchers(com.google.monitoring.v3.UptimeCheckConfig.Con
      * content match is required as part of the/ Uptime check.
      * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * */ public Builder addContentMatchers( int index, com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher value) { @@ -8931,6 +9997,8 @@ public Builder addContentMatchers( return this; } /** + * + * *
      * The content that is expected to appear in the data returned by the target
      * server against which the check is run.  Currently, only the first entry
@@ -8939,7 +10007,8 @@ public Builder addContentMatchers(
      * content match is required as part of the/ Uptime check.
      * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * */ public Builder addContentMatchers( com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder builderForValue) { @@ -8953,6 +10022,8 @@ public Builder addContentMatchers( return this; } /** + * + * *
      * The content that is expected to appear in the data returned by the target
      * server against which the check is run.  Currently, only the first entry
@@ -8961,10 +10032,12 @@ public Builder addContentMatchers(
      * content match is required as part of the/ Uptime check.
      * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * */ public Builder addContentMatchers( - int index, com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder builderForValue) { + int index, + com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder builderForValue) { if (contentMatchersBuilder_ == null) { ensureContentMatchersIsMutable(); contentMatchers_.add(index, builderForValue.build()); @@ -8975,6 +10048,8 @@ public Builder addContentMatchers( return this; } /** + * + * *
      * The content that is expected to appear in the data returned by the target
      * server against which the check is run.  Currently, only the first entry
@@ -8983,14 +10058,15 @@ public Builder addContentMatchers(
      * content match is required as part of the/ Uptime check.
      * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * */ public Builder addAllContentMatchers( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (contentMatchersBuilder_ == null) { ensureContentMatchersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, contentMatchers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, contentMatchers_); onChanged(); } else { contentMatchersBuilder_.addAllMessages(values); @@ -8998,6 +10074,8 @@ public Builder addAllContentMatchers( return this; } /** + * + * *
      * The content that is expected to appear in the data returned by the target
      * server against which the check is run.  Currently, only the first entry
@@ -9006,7 +10084,8 @@ public Builder addAllContentMatchers(
      * content match is required as part of the/ Uptime check.
      * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * */ public Builder clearContentMatchers() { if (contentMatchersBuilder_ == null) { @@ -9019,6 +10098,8 @@ public Builder clearContentMatchers() { return this; } /** + * + * *
      * The content that is expected to appear in the data returned by the target
      * server against which the check is run.  Currently, only the first entry
@@ -9027,7 +10108,8 @@ public Builder clearContentMatchers() {
      * content match is required as part of the/ Uptime check.
      * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * */ public Builder removeContentMatchers(int index) { if (contentMatchersBuilder_ == null) { @@ -9040,6 +10122,8 @@ public Builder removeContentMatchers(int index) { return this; } /** + * + * *
      * The content that is expected to appear in the data returned by the target
      * server against which the check is run.  Currently, only the first entry
@@ -9048,13 +10132,16 @@ public Builder removeContentMatchers(int index) {
      * content match is required as part of the/ Uptime check.
      * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * */ - public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder getContentMatchersBuilder( - int index) { + public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder + getContentMatchersBuilder(int index) { return getContentMatchersFieldBuilder().getBuilder(index); } /** + * + * *
      * The content that is expected to appear in the data returned by the target
      * server against which the check is run.  Currently, only the first entry
@@ -9063,16 +10150,20 @@ public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder getCont
      * content match is required as part of the/ Uptime check.
      * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * */ - public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMatchersOrBuilder( - int index) { + public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder + getContentMatchersOrBuilder(int index) { if (contentMatchersBuilder_ == null) { - return contentMatchers_.get(index); } else { + return contentMatchers_.get(index); + } else { return contentMatchersBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The content that is expected to appear in the data returned by the target
      * server against which the check is run.  Currently, only the first entry
@@ -9081,10 +10172,12 @@ public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getCon
      * content match is required as part of the/ Uptime check.
      * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * */ - public java.util.List - getContentMatchersOrBuilderList() { + public java.util.List< + ? extends com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder> + getContentMatchersOrBuilderList() { if (contentMatchersBuilder_ != null) { return contentMatchersBuilder_.getMessageOrBuilderList(); } else { @@ -9092,6 +10185,8 @@ public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getCon } } /** + * + * *
      * The content that is expected to appear in the data returned by the target
      * server against which the check is run.  Currently, only the first entry
@@ -9100,13 +10195,18 @@ public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getCon
      * content match is required as part of the/ Uptime check.
      * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * */ - public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder addContentMatchersBuilder() { - return getContentMatchersFieldBuilder().addBuilder( - com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.getDefaultInstance()); + public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder + addContentMatchersBuilder() { + return getContentMatchersFieldBuilder() + .addBuilder( + com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.getDefaultInstance()); } /** + * + * *
      * The content that is expected to appear in the data returned by the target
      * server against which the check is run.  Currently, only the first entry
@@ -9115,14 +10215,19 @@ public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder addCont
      * content match is required as part of the/ Uptime check.
      * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * */ - public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder addContentMatchersBuilder( - int index) { - return getContentMatchersFieldBuilder().addBuilder( - index, com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.getDefaultInstance()); + public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder + addContentMatchersBuilder(int index) { + return getContentMatchersFieldBuilder() + .addBuilder( + index, + com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.getDefaultInstance()); } /** + * + * *
      * The content that is expected to appear in the data returned by the target
      * server against which the check is run.  Currently, only the first entry
@@ -9131,18 +10236,25 @@ public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder addCont
      * content match is required as part of the/ Uptime check.
      * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * */ - public java.util.List - getContentMatchersBuilderList() { + public java.util.List + getContentMatchersBuilderList() { return getContentMatchersFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher, com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder, com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder> + com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher, + com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder, + com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder> getContentMatchersFieldBuilder() { if (contentMatchersBuilder_ == null) { - contentMatchersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher, com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder, com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder>( + contentMatchersBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher, + com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder, + com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder>( contentMatchers_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -9152,8 +10264,8 @@ public com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.Builder addCont return contentMatchersBuilder_; } - private java.util.List selectedRegions_ = - java.util.Collections.emptyList(); + private java.util.List selectedRegions_ = java.util.Collections.emptyList(); + private void ensureSelectedRegionsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { selectedRegions_ = new java.util.ArrayList(selectedRegions_); @@ -9161,6 +10273,8 @@ private void ensureSelectedRegionsIsMutable() { } } /** + * + * *
      * The list of regions from which the check will be run.
      * Some regions contain one location, and others contain more than one.
@@ -9170,13 +10284,17 @@ private void ensureSelectedRegionsIsMutable() {
      * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; + * * @return A list containing the selectedRegions. */ public java.util.List getSelectedRegionsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.monitoring.v3.UptimeCheckRegion>(selectedRegions_, selectedRegions_converter_); + java.lang.Integer, com.google.monitoring.v3.UptimeCheckRegion>( + selectedRegions_, selectedRegions_converter_); } /** + * + * *
      * The list of regions from which the check will be run.
      * Some regions contain one location, and others contain more than one.
@@ -9186,12 +10304,15 @@ public java.util.List getSelectedReg
      * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; + * * @return The count of selectedRegions. */ public int getSelectedRegionsCount() { return selectedRegions_.size(); } /** + * + * *
      * The list of regions from which the check will be run.
      * Some regions contain one location, and others contain more than one.
@@ -9201,6 +10322,7 @@ public int getSelectedRegionsCount() {
      * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; + * * @param index The index of the element to return. * @return The selectedRegions at the given index. */ @@ -9208,6 +10330,8 @@ public com.google.monitoring.v3.UptimeCheckRegion getSelectedRegions(int index) return selectedRegions_converter_.convert(selectedRegions_.get(index)); } /** + * + * *
      * The list of regions from which the check will be run.
      * Some regions contain one location, and others contain more than one.
@@ -9217,12 +10341,12 @@ public com.google.monitoring.v3.UptimeCheckRegion getSelectedRegions(int index)
      * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; + * * @param index The index to set the value at. * @param value The selectedRegions to set. * @return This builder for chaining. */ - public Builder setSelectedRegions( - int index, com.google.monitoring.v3.UptimeCheckRegion value) { + public Builder setSelectedRegions(int index, com.google.monitoring.v3.UptimeCheckRegion value) { if (value == null) { throw new NullPointerException(); } @@ -9232,6 +10356,8 @@ public Builder setSelectedRegions( return this; } /** + * + * *
      * The list of regions from which the check will be run.
      * Some regions contain one location, and others contain more than one.
@@ -9241,6 +10367,7 @@ public Builder setSelectedRegions(
      * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; + * * @param value The selectedRegions to add. * @return This builder for chaining. */ @@ -9254,6 +10381,8 @@ public Builder addSelectedRegions(com.google.monitoring.v3.UptimeCheckRegion val return this; } /** + * + * *
      * The list of regions from which the check will be run.
      * Some regions contain one location, and others contain more than one.
@@ -9263,6 +10392,7 @@ public Builder addSelectedRegions(com.google.monitoring.v3.UptimeCheckRegion val
      * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; + * * @param values The selectedRegions to add. * @return This builder for chaining. */ @@ -9276,6 +10406,8 @@ public Builder addAllSelectedRegions( return this; } /** + * + * *
      * The list of regions from which the check will be run.
      * Some regions contain one location, and others contain more than one.
@@ -9285,6 +10417,7 @@ public Builder addAllSelectedRegions(
      * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; + * * @return This builder for chaining. */ public Builder clearSelectedRegions() { @@ -9294,6 +10427,8 @@ public Builder clearSelectedRegions() { return this; } /** + * + * *
      * The list of regions from which the check will be run.
      * Some regions contain one location, and others contain more than one.
@@ -9303,13 +10438,15 @@ public Builder clearSelectedRegions() {
      * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; + * * @return A list containing the enum numeric values on the wire for selectedRegions. */ - public java.util.List - getSelectedRegionsValueList() { + public java.util.List getSelectedRegionsValueList() { return java.util.Collections.unmodifiableList(selectedRegions_); } /** + * + * *
      * The list of regions from which the check will be run.
      * Some regions contain one location, and others contain more than one.
@@ -9319,6 +10456,7 @@ public Builder clearSelectedRegions() {
      * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of selectedRegions at the given index. */ @@ -9326,6 +10464,8 @@ public int getSelectedRegionsValue(int index) { return selectedRegions_.get(index); } /** + * + * *
      * The list of regions from which the check will be run.
      * Some regions contain one location, and others contain more than one.
@@ -9335,18 +10475,20 @@ public int getSelectedRegionsValue(int index) {
      * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of selectedRegions at the given index. * @return This builder for chaining. */ - public Builder setSelectedRegionsValue( - int index, int value) { + public Builder setSelectedRegionsValue(int index, int value) { ensureSelectedRegionsIsMutable(); selectedRegions_.set(index, value); onChanged(); return this; } /** + * + * *
      * The list of regions from which the check will be run.
      * Some regions contain one location, and others contain more than one.
@@ -9356,6 +10498,7 @@ public Builder setSelectedRegionsValue(
      * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; + * * @param value The enum numeric value on the wire for selectedRegions to add. * @return This builder for chaining. */ @@ -9366,6 +10509,8 @@ public Builder addSelectedRegionsValue(int value) { return this; } /** + * + * *
      * The list of regions from which the check will be run.
      * Some regions contain one location, and others contain more than one.
@@ -9375,11 +10520,11 @@ public Builder addSelectedRegionsValue(int value) {
      * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; + * * @param values The enum numeric values on the wire for selectedRegions to add. * @return This builder for chaining. */ - public Builder addAllSelectedRegionsValue( - java.lang.Iterable values) { + public Builder addAllSelectedRegionsValue(java.lang.Iterable values) { ensureSelectedRegionsIsMutable(); for (int value : values) { selectedRegions_.add(value); @@ -9388,8 +10533,10 @@ public Builder addAllSelectedRegionsValue( return this; } - private boolean isInternal_ ; + private boolean isInternal_; /** + * + * *
      * If this is `true`, then checks are made only from the 'internal_checkers'.
      * If it is `false`, then checks are made only from the 'selected_regions'.
@@ -9398,13 +10545,17 @@ public Builder addAllSelectedRegionsValue(
      * 
* * bool is_internal = 15 [deprecated = true]; + * * @return The isInternal. */ @java.lang.Override - @java.lang.Deprecated public boolean getIsInternal() { + @java.lang.Deprecated + public boolean getIsInternal() { return isInternal_; } /** + * + * *
      * If this is `true`, then checks are made only from the 'internal_checkers'.
      * If it is `false`, then checks are made only from the 'selected_regions'.
@@ -9413,16 +10564,20 @@ public Builder addAllSelectedRegionsValue(
      * 
* * bool is_internal = 15 [deprecated = true]; + * * @param value The isInternal to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setIsInternal(boolean value) { - + @java.lang.Deprecated + public Builder setIsInternal(boolean value) { + isInternal_ = value; onChanged(); return this; } /** + * + * *
      * If this is `true`, then checks are made only from the 'internal_checkers'.
      * If it is `false`, then checks are made only from the 'selected_regions'.
@@ -9431,28 +10586,37 @@ public Builder addAllSelectedRegionsValue(
      * 
* * bool is_internal = 15 [deprecated = true]; + * * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearIsInternal() { - + @java.lang.Deprecated + public Builder clearIsInternal() { + isInternal_ = false; onChanged(); return this; } private java.util.List internalCheckers_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureInternalCheckersIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - internalCheckers_ = new java.util.ArrayList(internalCheckers_); + internalCheckers_ = + new java.util.ArrayList(internalCheckers_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.InternalChecker, com.google.monitoring.v3.InternalChecker.Builder, com.google.monitoring.v3.InternalCheckerOrBuilder> internalCheckersBuilder_; + com.google.monitoring.v3.InternalChecker, + com.google.monitoring.v3.InternalChecker.Builder, + com.google.monitoring.v3.InternalCheckerOrBuilder> + internalCheckersBuilder_; /** + * + * *
      * The internal checkers that this check will egress from. If `is_internal` is
      * `true` and this list is empty, the check will egress from all the
@@ -9460,9 +10624,12 @@ private void ensureInternalCheckersIsMutable() {
      * `UptimeCheckConfig`.
      * 
* - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public java.util.List getInternalCheckersList() { + @java.lang.Deprecated + public java.util.List getInternalCheckersList() { if (internalCheckersBuilder_ == null) { return java.util.Collections.unmodifiableList(internalCheckers_); } else { @@ -9470,6 +10637,8 @@ private void ensureInternalCheckersIsMutable() { } } /** + * + * *
      * The internal checkers that this check will egress from. If `is_internal` is
      * `true` and this list is empty, the check will egress from all the
@@ -9477,9 +10646,12 @@ private void ensureInternalCheckersIsMutable() {
      * `UptimeCheckConfig`.
      * 
* - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public int getInternalCheckersCount() { + @java.lang.Deprecated + public int getInternalCheckersCount() { if (internalCheckersBuilder_ == null) { return internalCheckers_.size(); } else { @@ -9487,6 +10659,8 @@ private void ensureInternalCheckersIsMutable() { } } /** + * + * *
      * The internal checkers that this check will egress from. If `is_internal` is
      * `true` and this list is empty, the check will egress from all the
@@ -9494,9 +10668,12 @@ private void ensureInternalCheckersIsMutable() {
      * `UptimeCheckConfig`.
      * 
* - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.monitoring.v3.InternalChecker getInternalCheckers(int index) { + @java.lang.Deprecated + public com.google.monitoring.v3.InternalChecker getInternalCheckers(int index) { if (internalCheckersBuilder_ == null) { return internalCheckers_.get(index); } else { @@ -9504,6 +10681,8 @@ private void ensureInternalCheckersIsMutable() { } } /** + * + * *
      * The internal checkers that this check will egress from. If `is_internal` is
      * `true` and this list is empty, the check will egress from all the
@@ -9511,10 +10690,12 @@ private void ensureInternalCheckersIsMutable() {
      * `UptimeCheckConfig`.
      * 
* - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder setInternalCheckers( - int index, com.google.monitoring.v3.InternalChecker value) { + @java.lang.Deprecated + public Builder setInternalCheckers(int index, com.google.monitoring.v3.InternalChecker value) { if (internalCheckersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9528,6 +10709,8 @@ private void ensureInternalCheckersIsMutable() { return this; } /** + * + * *
      * The internal checkers that this check will egress from. If `is_internal` is
      * `true` and this list is empty, the check will egress from all the
@@ -9535,9 +10718,12 @@ private void ensureInternalCheckersIsMutable() {
      * `UptimeCheckConfig`.
      * 
* - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder setInternalCheckers( + @java.lang.Deprecated + public Builder setInternalCheckers( int index, com.google.monitoring.v3.InternalChecker.Builder builderForValue) { if (internalCheckersBuilder_ == null) { ensureInternalCheckersIsMutable(); @@ -9549,6 +10735,8 @@ private void ensureInternalCheckersIsMutable() { return this; } /** + * + * *
      * The internal checkers that this check will egress from. If `is_internal` is
      * `true` and this list is empty, the check will egress from all the
@@ -9556,9 +10744,12 @@ private void ensureInternalCheckersIsMutable() {
      * `UptimeCheckConfig`.
      * 
* - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder addInternalCheckers(com.google.monitoring.v3.InternalChecker value) { + @java.lang.Deprecated + public Builder addInternalCheckers(com.google.monitoring.v3.InternalChecker value) { if (internalCheckersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9572,6 +10763,8 @@ private void ensureInternalCheckersIsMutable() { return this; } /** + * + * *
      * The internal checkers that this check will egress from. If `is_internal` is
      * `true` and this list is empty, the check will egress from all the
@@ -9579,10 +10772,12 @@ private void ensureInternalCheckersIsMutable() {
      * `UptimeCheckConfig`.
      * 
* - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder addInternalCheckers( - int index, com.google.monitoring.v3.InternalChecker value) { + @java.lang.Deprecated + public Builder addInternalCheckers(int index, com.google.monitoring.v3.InternalChecker value) { if (internalCheckersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9596,6 +10791,8 @@ private void ensureInternalCheckersIsMutable() { return this; } /** + * + * *
      * The internal checkers that this check will egress from. If `is_internal` is
      * `true` and this list is empty, the check will egress from all the
@@ -9603,9 +10800,12 @@ private void ensureInternalCheckersIsMutable() {
      * `UptimeCheckConfig`.
      * 
* - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder addInternalCheckers( + @java.lang.Deprecated + public Builder addInternalCheckers( com.google.monitoring.v3.InternalChecker.Builder builderForValue) { if (internalCheckersBuilder_ == null) { ensureInternalCheckersIsMutable(); @@ -9617,6 +10817,8 @@ private void ensureInternalCheckersIsMutable() { return this; } /** + * + * *
      * The internal checkers that this check will egress from. If `is_internal` is
      * `true` and this list is empty, the check will egress from all the
@@ -9624,9 +10826,12 @@ private void ensureInternalCheckersIsMutable() {
      * `UptimeCheckConfig`.
      * 
* - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder addInternalCheckers( + @java.lang.Deprecated + public Builder addInternalCheckers( int index, com.google.monitoring.v3.InternalChecker.Builder builderForValue) { if (internalCheckersBuilder_ == null) { ensureInternalCheckersIsMutable(); @@ -9638,6 +10843,8 @@ private void ensureInternalCheckersIsMutable() { return this; } /** + * + * *
      * The internal checkers that this check will egress from. If `is_internal` is
      * `true` and this list is empty, the check will egress from all the
@@ -9645,14 +10852,16 @@ private void ensureInternalCheckersIsMutable() {
      * `UptimeCheckConfig`.
      * 
* - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder addAllInternalCheckers( + @java.lang.Deprecated + public Builder addAllInternalCheckers( java.lang.Iterable values) { if (internalCheckersBuilder_ == null) { ensureInternalCheckersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, internalCheckers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, internalCheckers_); onChanged(); } else { internalCheckersBuilder_.addAllMessages(values); @@ -9660,6 +10869,8 @@ private void ensureInternalCheckersIsMutable() { return this; } /** + * + * *
      * The internal checkers that this check will egress from. If `is_internal` is
      * `true` and this list is empty, the check will egress from all the
@@ -9667,9 +10878,12 @@ private void ensureInternalCheckersIsMutable() {
      * `UptimeCheckConfig`.
      * 
* - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder clearInternalCheckers() { + @java.lang.Deprecated + public Builder clearInternalCheckers() { if (internalCheckersBuilder_ == null) { internalCheckers_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); @@ -9680,6 +10894,8 @@ private void ensureInternalCheckersIsMutable() { return this; } /** + * + * *
      * The internal checkers that this check will egress from. If `is_internal` is
      * `true` and this list is empty, the check will egress from all the
@@ -9687,9 +10903,12 @@ private void ensureInternalCheckersIsMutable() {
      * `UptimeCheckConfig`.
      * 
* - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder removeInternalCheckers(int index) { + @java.lang.Deprecated + public Builder removeInternalCheckers(int index) { if (internalCheckersBuilder_ == null) { ensureInternalCheckersIsMutable(); internalCheckers_.remove(index); @@ -9700,6 +10919,8 @@ private void ensureInternalCheckersIsMutable() { return this; } /** + * + * *
      * The internal checkers that this check will egress from. If `is_internal` is
      * `true` and this list is empty, the check will egress from all the
@@ -9707,13 +10928,17 @@ private void ensureInternalCheckersIsMutable() {
      * `UptimeCheckConfig`.
      * 
* - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.monitoring.v3.InternalChecker.Builder getInternalCheckersBuilder( - int index) { + @java.lang.Deprecated + public com.google.monitoring.v3.InternalChecker.Builder getInternalCheckersBuilder(int index) { return getInternalCheckersFieldBuilder().getBuilder(index); } /** + * + * *
      * The internal checkers that this check will egress from. If `is_internal` is
      * `true` and this list is empty, the check will egress from all the
@@ -9721,16 +10946,22 @@ private void ensureInternalCheckersIsMutable() {
      * `UptimeCheckConfig`.
      * 
* - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.monitoring.v3.InternalCheckerOrBuilder getInternalCheckersOrBuilder( + @java.lang.Deprecated + public com.google.monitoring.v3.InternalCheckerOrBuilder getInternalCheckersOrBuilder( int index) { if (internalCheckersBuilder_ == null) { - return internalCheckers_.get(index); } else { + return internalCheckers_.get(index); + } else { return internalCheckersBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The internal checkers that this check will egress from. If `is_internal` is
      * `true` and this list is empty, the check will egress from all the
@@ -9738,10 +10969,13 @@ private void ensureInternalCheckersIsMutable() {
      * `UptimeCheckConfig`.
      * 
* - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public java.util.List - getInternalCheckersOrBuilderList() { + @java.lang.Deprecated + public java.util.List + getInternalCheckersOrBuilderList() { if (internalCheckersBuilder_ != null) { return internalCheckersBuilder_.getMessageOrBuilderList(); } else { @@ -9749,6 +10983,8 @@ private void ensureInternalCheckersIsMutable() { } } /** + * + * *
      * The internal checkers that this check will egress from. If `is_internal` is
      * `true` and this list is empty, the check will egress from all the
@@ -9756,13 +10992,18 @@ private void ensureInternalCheckersIsMutable() {
      * `UptimeCheckConfig`.
      * 
* - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.monitoring.v3.InternalChecker.Builder addInternalCheckersBuilder() { - return getInternalCheckersFieldBuilder().addBuilder( - com.google.monitoring.v3.InternalChecker.getDefaultInstance()); + @java.lang.Deprecated + public com.google.monitoring.v3.InternalChecker.Builder addInternalCheckersBuilder() { + return getInternalCheckersFieldBuilder() + .addBuilder(com.google.monitoring.v3.InternalChecker.getDefaultInstance()); } /** + * + * *
      * The internal checkers that this check will egress from. If `is_internal` is
      * `true` and this list is empty, the check will egress from all the
@@ -9770,14 +11011,18 @@ private void ensureInternalCheckersIsMutable() {
      * `UptimeCheckConfig`.
      * 
* - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.monitoring.v3.InternalChecker.Builder addInternalCheckersBuilder( - int index) { - return getInternalCheckersFieldBuilder().addBuilder( - index, com.google.monitoring.v3.InternalChecker.getDefaultInstance()); + @java.lang.Deprecated + public com.google.monitoring.v3.InternalChecker.Builder addInternalCheckersBuilder(int index) { + return getInternalCheckersFieldBuilder() + .addBuilder(index, com.google.monitoring.v3.InternalChecker.getDefaultInstance()); } /** + * + * *
      * The internal checkers that this check will egress from. If `is_internal` is
      * `true` and this list is empty, the check will egress from all the
@@ -9785,18 +11030,27 @@ private void ensureInternalCheckersIsMutable() {
      * `UptimeCheckConfig`.
      * 
* - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public java.util.List - getInternalCheckersBuilderList() { + @java.lang.Deprecated + public java.util.List + getInternalCheckersBuilderList() { return getInternalCheckersFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.InternalChecker, com.google.monitoring.v3.InternalChecker.Builder, com.google.monitoring.v3.InternalCheckerOrBuilder> + com.google.monitoring.v3.InternalChecker, + com.google.monitoring.v3.InternalChecker.Builder, + com.google.monitoring.v3.InternalCheckerOrBuilder> getInternalCheckersFieldBuilder() { if (internalCheckersBuilder_ == null) { - internalCheckersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.monitoring.v3.InternalChecker, com.google.monitoring.v3.InternalChecker.Builder, com.google.monitoring.v3.InternalCheckerOrBuilder>( + internalCheckersBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.monitoring.v3.InternalChecker, + com.google.monitoring.v3.InternalChecker.Builder, + com.google.monitoring.v3.InternalCheckerOrBuilder>( internalCheckers_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -9805,9 +11059,9 @@ private void ensureInternalCheckersIsMutable() { } return internalCheckersBuilder_; } + @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); } @@ -9817,12 +11071,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.UptimeCheckConfig) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.UptimeCheckConfig) private static final com.google.monitoring.v3.UptimeCheckConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.UptimeCheckConfig(); } @@ -9831,16 +11085,16 @@ public static com.google.monitoring.v3.UptimeCheckConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UptimeCheckConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UptimeCheckConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UptimeCheckConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UptimeCheckConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9855,6 +11109,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.UptimeCheckConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfigName.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfigName.java similarity index 100% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfigName.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfigName.java diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfigOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfigOrBuilder.java similarity index 85% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfigOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfigOrBuilder.java index 64369236..10625200 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfigOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/uptime.proto package com.google.monitoring.v3; -public interface UptimeCheckConfigOrBuilder extends +public interface UptimeCheckConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.UptimeCheckConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A unique resource name for this Uptime check configuration. The format is:
    *      projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
@@ -19,10 +37,13 @@ public interface UptimeCheckConfigOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * A unique resource name for this Uptime check configuration. The format is:
    *      projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]
@@ -34,12 +55,14 @@ public interface UptimeCheckConfigOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * A human-friendly name for the Uptime check configuration. The display name
    * should be unique within a Stackdriver Workspace in order to make it easier
@@ -47,10 +70,13 @@ public interface UptimeCheckConfigOrBuilder extends
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * A human-friendly name for the Uptime check configuration. The display name
    * should be unique within a Stackdriver Workspace in order to make it easier
@@ -58,12 +84,14 @@ public interface UptimeCheckConfigOrBuilder extends
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * The [monitored
    * resource](https://cloud.google.com/monitoring/api/resources) associated
@@ -78,10 +106,13 @@ public interface UptimeCheckConfigOrBuilder extends
    * 
* * .google.api.MonitoredResource monitored_resource = 3; + * * @return Whether the monitoredResource field is set. */ boolean hasMonitoredResource(); /** + * + * *
    * The [monitored
    * resource](https://cloud.google.com/monitoring/api/resources) associated
@@ -96,10 +127,13 @@ public interface UptimeCheckConfigOrBuilder extends
    * 
* * .google.api.MonitoredResource monitored_resource = 3; + * * @return The monitoredResource. */ com.google.api.MonitoredResource getMonitoredResource(); /** + * + * *
    * The [monitored
    * resource](https://cloud.google.com/monitoring/api/resources) associated
@@ -118,24 +152,32 @@ public interface UptimeCheckConfigOrBuilder extends
   com.google.api.MonitoredResourceOrBuilder getMonitoredResourceOrBuilder();
 
   /**
+   *
+   *
    * 
    * The group resource associated with the configuration.
    * 
* * .google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4; + * * @return Whether the resourceGroup field is set. */ boolean hasResourceGroup(); /** + * + * *
    * The group resource associated with the configuration.
    * 
* * .google.monitoring.v3.UptimeCheckConfig.ResourceGroup resource_group = 4; + * * @return The resourceGroup. */ com.google.monitoring.v3.UptimeCheckConfig.ResourceGroup getResourceGroup(); /** + * + * *
    * The group resource associated with the configuration.
    * 
@@ -145,24 +187,32 @@ public interface UptimeCheckConfigOrBuilder extends com.google.monitoring.v3.UptimeCheckConfig.ResourceGroupOrBuilder getResourceGroupOrBuilder(); /** + * + * *
    * Contains information needed to make an HTTP or HTTPS check.
    * 
* * .google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5; + * * @return Whether the httpCheck field is set. */ boolean hasHttpCheck(); /** + * + * *
    * Contains information needed to make an HTTP or HTTPS check.
    * 
* * .google.monitoring.v3.UptimeCheckConfig.HttpCheck http_check = 5; + * * @return The httpCheck. */ com.google.monitoring.v3.UptimeCheckConfig.HttpCheck getHttpCheck(); /** + * + * *
    * Contains information needed to make an HTTP or HTTPS check.
    * 
@@ -172,24 +222,32 @@ public interface UptimeCheckConfigOrBuilder extends com.google.monitoring.v3.UptimeCheckConfig.HttpCheckOrBuilder getHttpCheckOrBuilder(); /** + * + * *
    * Contains information needed to make a TCP check.
    * 
* * .google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6; + * * @return Whether the tcpCheck field is set. */ boolean hasTcpCheck(); /** + * + * *
    * Contains information needed to make a TCP check.
    * 
* * .google.monitoring.v3.UptimeCheckConfig.TcpCheck tcp_check = 6; + * * @return The tcpCheck. */ com.google.monitoring.v3.UptimeCheckConfig.TcpCheck getTcpCheck(); /** + * + * *
    * Contains information needed to make a TCP check.
    * 
@@ -199,6 +257,8 @@ public interface UptimeCheckConfigOrBuilder extends com.google.monitoring.v3.UptimeCheckConfig.TcpCheckOrBuilder getTcpCheckOrBuilder(); /** + * + * *
    * How often, in seconds, the Uptime check is performed.
    * Currently, the only supported values are `60s` (1 minute), `300s`
@@ -207,10 +267,13 @@ public interface UptimeCheckConfigOrBuilder extends
    * 
* * .google.protobuf.Duration period = 7; + * * @return Whether the period field is set. */ boolean hasPeriod(); /** + * + * *
    * How often, in seconds, the Uptime check is performed.
    * Currently, the only supported values are `60s` (1 minute), `300s`
@@ -219,10 +282,13 @@ public interface UptimeCheckConfigOrBuilder extends
    * 
* * .google.protobuf.Duration period = 7; + * * @return The period. */ com.google.protobuf.Duration getPeriod(); /** + * + * *
    * How often, in seconds, the Uptime check is performed.
    * Currently, the only supported values are `60s` (1 minute), `300s`
@@ -235,26 +301,34 @@ public interface UptimeCheckConfigOrBuilder extends
   com.google.protobuf.DurationOrBuilder getPeriodOrBuilder();
 
   /**
+   *
+   *
    * 
    * The maximum amount of time to wait for the request to complete (must be
    * between 1 and 60 seconds). Required.
    * 
* * .google.protobuf.Duration timeout = 8; + * * @return Whether the timeout field is set. */ boolean hasTimeout(); /** + * + * *
    * The maximum amount of time to wait for the request to complete (must be
    * between 1 and 60 seconds). Required.
    * 
* * .google.protobuf.Duration timeout = 8; + * * @return The timeout. */ com.google.protobuf.Duration getTimeout(); /** + * + * *
    * The maximum amount of time to wait for the request to complete (must be
    * between 1 and 60 seconds). Required.
@@ -265,6 +339,8 @@ public interface UptimeCheckConfigOrBuilder extends
   com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder();
 
   /**
+   *
+   *
    * 
    * The content that is expected to appear in the data returned by the target
    * server against which the check is run.  Currently, only the first entry
@@ -273,11 +349,14 @@ public interface UptimeCheckConfigOrBuilder extends
    * content match is required as part of the/ Uptime check.
    * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * */ - java.util.List + java.util.List getContentMatchersList(); /** + * + * *
    * The content that is expected to appear in the data returned by the target
    * server against which the check is run.  Currently, only the first entry
@@ -286,10 +365,13 @@ public interface UptimeCheckConfigOrBuilder extends
    * content match is required as part of the/ Uptime check.
    * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * */ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher getContentMatchers(int index); /** + * + * *
    * The content that is expected to appear in the data returned by the target
    * server against which the check is run.  Currently, only the first entry
@@ -298,10 +380,13 @@ public interface UptimeCheckConfigOrBuilder extends
    * content match is required as part of the/ Uptime check.
    * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * */ int getContentMatchersCount(); /** + * + * *
    * The content that is expected to appear in the data returned by the target
    * server against which the check is run.  Currently, only the first entry
@@ -310,11 +395,14 @@ public interface UptimeCheckConfigOrBuilder extends
    * content match is required as part of the/ Uptime check.
    * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * */ - java.util.List + java.util.List getContentMatchersOrBuilderList(); /** + * + * *
    * The content that is expected to appear in the data returned by the target
    * server against which the check is run.  Currently, only the first entry
@@ -323,12 +411,15 @@ public interface UptimeCheckConfigOrBuilder extends
    * content match is required as part of the/ Uptime check.
    * 
* - * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * repeated .google.monitoring.v3.UptimeCheckConfig.ContentMatcher content_matchers = 9; + * */ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMatchersOrBuilder( int index); /** + * + * *
    * The list of regions from which the check will be run.
    * Some regions contain one location, and others contain more than one.
@@ -338,10 +429,13 @@ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMat
    * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; + * * @return A list containing the selectedRegions. */ java.util.List getSelectedRegionsList(); /** + * + * *
    * The list of regions from which the check will be run.
    * Some regions contain one location, and others contain more than one.
@@ -351,10 +445,13 @@ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMat
    * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; + * * @return The count of selectedRegions. */ int getSelectedRegionsCount(); /** + * + * *
    * The list of regions from which the check will be run.
    * Some regions contain one location, and others contain more than one.
@@ -364,11 +461,14 @@ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMat
    * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; + * * @param index The index of the element to return. * @return The selectedRegions at the given index. */ com.google.monitoring.v3.UptimeCheckRegion getSelectedRegions(int index); /** + * + * *
    * The list of regions from which the check will be run.
    * Some regions contain one location, and others contain more than one.
@@ -378,11 +478,13 @@ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMat
    * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; + * * @return A list containing the enum numeric values on the wire for selectedRegions. */ - java.util.List - getSelectedRegionsValueList(); + java.util.List getSelectedRegionsValueList(); /** + * + * *
    * The list of regions from which the check will be run.
    * Some regions contain one location, and others contain more than one.
@@ -392,12 +494,15 @@ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMat
    * 
* * repeated .google.monitoring.v3.UptimeCheckRegion selected_regions = 10; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of selectedRegions at the given index. */ int getSelectedRegionsValue(int index); /** + * + * *
    * If this is `true`, then checks are made only from the 'internal_checkers'.
    * If it is `false`, then checks are made only from the 'selected_regions'.
@@ -406,11 +511,15 @@ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMat
    * 
* * bool is_internal = 15 [deprecated = true]; + * * @return The isInternal. */ - @java.lang.Deprecated boolean getIsInternal(); + @java.lang.Deprecated + boolean getIsInternal(); /** + * + * *
    * The internal checkers that this check will egress from. If `is_internal` is
    * `true` and this list is empty, the check will egress from all the
@@ -418,11 +527,15 @@ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMat
    * `UptimeCheckConfig`.
    * 
* - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * */ - @java.lang.Deprecated java.util.List - getInternalCheckersList(); + @java.lang.Deprecated + java.util.List getInternalCheckersList(); /** + * + * *
    * The internal checkers that this check will egress from. If `is_internal` is
    * `true` and this list is empty, the check will egress from all the
@@ -430,10 +543,15 @@ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMat
    * `UptimeCheckConfig`.
    * 
* - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * */ - @java.lang.Deprecated com.google.monitoring.v3.InternalChecker getInternalCheckers(int index); + @java.lang.Deprecated + com.google.monitoring.v3.InternalChecker getInternalCheckers(int index); /** + * + * *
    * The internal checkers that this check will egress from. If `is_internal` is
    * `true` and this list is empty, the check will egress from all the
@@ -441,10 +559,15 @@ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMat
    * `UptimeCheckConfig`.
    * 
* - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * */ - @java.lang.Deprecated int getInternalCheckersCount(); + @java.lang.Deprecated + int getInternalCheckersCount(); /** + * + * *
    * The internal checkers that this check will egress from. If `is_internal` is
    * `true` and this list is empty, the check will egress from all the
@@ -452,11 +575,16 @@ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMat
    * `UptimeCheckConfig`.
    * 
* - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * */ - @java.lang.Deprecated java.util.List + @java.lang.Deprecated + java.util.List getInternalCheckersOrBuilderList(); /** + * + * *
    * The internal checkers that this check will egress from. If `is_internal` is
    * `true` and this list is empty, the check will egress from all the
@@ -464,10 +592,12 @@ com.google.monitoring.v3.UptimeCheckConfig.ContentMatcherOrBuilder getContentMat
    * `UptimeCheckConfig`.
    * 
* - * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * + * repeated .google.monitoring.v3.InternalChecker internal_checkers = 14 [deprecated = true]; + * */ - @java.lang.Deprecated com.google.monitoring.v3.InternalCheckerOrBuilder getInternalCheckersOrBuilder( - int index); + @java.lang.Deprecated + com.google.monitoring.v3.InternalCheckerOrBuilder getInternalCheckersOrBuilder(int index); public com.google.monitoring.v3.UptimeCheckConfig.ResourceCase getResourceCase(); diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckIp.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckIp.java similarity index 74% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckIp.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckIp.java index 857f77d2..9c1b49c6 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckIp.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckIp.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/uptime.proto package com.google.monitoring.v3; /** + * + * *
  * Contains the region, location, and list of IP
  * addresses where checkers in the location run from.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.monitoring.v3.UptimeCheckIp}
  */
-public final class UptimeCheckIp extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UptimeCheckIp extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.UptimeCheckIp)
     UptimeCheckIpOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UptimeCheckIp.newBuilder() to construct.
   private UptimeCheckIp(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private UptimeCheckIp() {
     region_ = 0;
     location_ = "";
@@ -28,16 +46,15 @@ private UptimeCheckIp() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UptimeCheckIp();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private UptimeCheckIp(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,86 +73,102 @@ private UptimeCheckIp(
           case 0:
             done = true;
             break;
-          case 8: {
-            int rawValue = input.readEnum();
+          case 8:
+            {
+              int rawValue = input.readEnum();
 
-            region_ = rawValue;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              region_ = rawValue;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            location_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              location_ = s;
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            ipAddress_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              ipAddress_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckIp_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.monitoring.v3.UptimeProto
+        .internal_static_google_monitoring_v3_UptimeCheckIp_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckIp_fieldAccessorTable
+    return com.google.monitoring.v3.UptimeProto
+        .internal_static_google_monitoring_v3_UptimeCheckIp_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.UptimeCheckIp.class, com.google.monitoring.v3.UptimeCheckIp.Builder.class);
+            com.google.monitoring.v3.UptimeCheckIp.class,
+            com.google.monitoring.v3.UptimeCheckIp.Builder.class);
   }
 
   public static final int REGION_FIELD_NUMBER = 1;
   private int region_;
   /**
+   *
+   *
    * 
    * A broad region category in which the IP address is located.
    * 
* * .google.monitoring.v3.UptimeCheckRegion region = 1; + * * @return The enum numeric value on the wire for region. */ - @java.lang.Override public int getRegionValue() { + @java.lang.Override + public int getRegionValue() { return region_; } /** + * + * *
    * A broad region category in which the IP address is located.
    * 
* * .google.monitoring.v3.UptimeCheckRegion region = 1; + * * @return The region. */ - @java.lang.Override public com.google.monitoring.v3.UptimeCheckRegion getRegion() { + @java.lang.Override + public com.google.monitoring.v3.UptimeCheckRegion getRegion() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.UptimeCheckRegion result = com.google.monitoring.v3.UptimeCheckRegion.valueOf(region_); + com.google.monitoring.v3.UptimeCheckRegion result = + com.google.monitoring.v3.UptimeCheckRegion.valueOf(region_); return result == null ? com.google.monitoring.v3.UptimeCheckRegion.UNRECOGNIZED : result; } public static final int LOCATION_FIELD_NUMBER = 2; private volatile java.lang.Object location_; /** + * + * *
    * A more specific location within the region that typically encodes
    * a particular city/town/metro (and its containing state/province or country)
@@ -143,6 +176,7 @@ private UptimeCheckIp(
    * 
* * string location = 2; + * * @return The location. */ @java.lang.Override @@ -151,14 +185,15 @@ 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; } } /** + * + * *
    * A more specific location within the region that typically encodes
    * a particular city/town/metro (and its containing state/province or country)
@@ -166,16 +201,15 @@ public java.lang.String getLocation() {
    * 
* * string location = 2; + * * @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 { @@ -186,6 +220,8 @@ public java.lang.String getLocation() { public static final int IP_ADDRESS_FIELD_NUMBER = 3; private volatile java.lang.Object ipAddress_; /** + * + * *
    * The IP address from which the Uptime check originates. This is a fully
    * specified IP address (not an IP address range). Most IP addresses, as of
@@ -195,6 +231,7 @@ public java.lang.String getLocation() {
    * 
* * string ip_address = 3; + * * @return The ipAddress. */ @java.lang.Override @@ -203,14 +240,15 @@ public java.lang.String getIpAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipAddress_ = s; return s; } } /** + * + * *
    * The IP address from which the Uptime check originates. This is a fully
    * specified IP address (not an IP address range). Most IP addresses, as of
@@ -220,16 +258,15 @@ public java.lang.String getIpAddress() {
    * 
* * string ip_address = 3; + * * @return The bytes for ipAddress. */ @java.lang.Override - public com.google.protobuf.ByteString - getIpAddressBytes() { + public com.google.protobuf.ByteString getIpAddressBytes() { java.lang.Object ref = ipAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ipAddress_ = b; return b; } else { @@ -238,6 +275,7 @@ public java.lang.String getIpAddress() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -249,8 +287,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (region_ != com.google.monitoring.v3.UptimeCheckRegion.REGION_UNSPECIFIED.getNumber()) { output.writeEnum(1, region_); } @@ -270,8 +307,7 @@ public int getSerializedSize() { size = 0; if (region_ != com.google.monitoring.v3.UptimeCheckRegion.REGION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, region_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, region_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, location_); @@ -287,7 +323,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.UptimeCheckIp)) { return super.equals(obj); @@ -295,10 +331,8 @@ public boolean equals(final java.lang.Object obj) { com.google.monitoring.v3.UptimeCheckIp other = (com.google.monitoring.v3.UptimeCheckIp) obj; if (region_ != other.region_) return false; - if (!getLocation() - .equals(other.getLocation())) return false; - if (!getIpAddress() - .equals(other.getIpAddress())) return false; + if (!getLocation().equals(other.getLocation())) return false; + if (!getIpAddress().equals(other.getIpAddress())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -321,97 +355,104 @@ public int hashCode() { return hash; } - public static com.google.monitoring.v3.UptimeCheckIp parseFrom( - java.nio.ByteBuffer data) + public static com.google.monitoring.v3.UptimeCheckIp parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.UptimeCheckIp parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.UptimeCheckIp parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.UptimeCheckIp parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.UptimeCheckIp parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.UptimeCheckIp parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.UptimeCheckIp 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.monitoring.v3.UptimeCheckIp parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.UptimeCheckIp parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.UptimeCheckIp parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.UptimeCheckIp parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.UptimeCheckIp parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.monitoring.v3.UptimeCheckIp prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Contains the region, location, and list of IP
    * addresses where checkers in the location run from.
@@ -419,21 +460,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.monitoring.v3.UptimeCheckIp}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.UptimeCheckIp)
       com.google.monitoring.v3.UptimeCheckIpOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckIp_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.monitoring.v3.UptimeProto
+          .internal_static_google_monitoring_v3_UptimeCheckIp_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckIp_fieldAccessorTable
+      return com.google.monitoring.v3.UptimeProto
+          .internal_static_google_monitoring_v3_UptimeCheckIp_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.UptimeCheckIp.class, com.google.monitoring.v3.UptimeCheckIp.Builder.class);
+              com.google.monitoring.v3.UptimeCheckIp.class,
+              com.google.monitoring.v3.UptimeCheckIp.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.UptimeCheckIp.newBuilder()
@@ -441,16 +484,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -464,9 +506,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.monitoring.v3.UptimeProto.internal_static_google_monitoring_v3_UptimeCheckIp_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.monitoring.v3.UptimeProto
+          .internal_static_google_monitoring_v3_UptimeCheckIp_descriptor;
     }
 
     @java.lang.Override
@@ -485,7 +527,8 @@ public com.google.monitoring.v3.UptimeCheckIp build() {
 
     @java.lang.Override
     public com.google.monitoring.v3.UptimeCheckIp buildPartial() {
-      com.google.monitoring.v3.UptimeCheckIp result = new com.google.monitoring.v3.UptimeCheckIp(this);
+      com.google.monitoring.v3.UptimeCheckIp result =
+          new com.google.monitoring.v3.UptimeCheckIp(this);
       result.region_ = region_;
       result.location_ = location_;
       result.ipAddress_ = ipAddress_;
@@ -497,38 +540,39 @@ public com.google.monitoring.v3.UptimeCheckIp 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.monitoring.v3.UptimeCheckIp) {
-        return mergeFrom((com.google.monitoring.v3.UptimeCheckIp)other);
+        return mergeFrom((com.google.monitoring.v3.UptimeCheckIp) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -579,51 +623,65 @@ public Builder mergeFrom(
 
     private int region_ = 0;
     /**
+     *
+     *
      * 
      * A broad region category in which the IP address is located.
      * 
* * .google.monitoring.v3.UptimeCheckRegion region = 1; + * * @return The enum numeric value on the wire for region. */ - @java.lang.Override public int getRegionValue() { + @java.lang.Override + public int getRegionValue() { return region_; } /** + * + * *
      * A broad region category in which the IP address is located.
      * 
* * .google.monitoring.v3.UptimeCheckRegion region = 1; + * * @param value The enum numeric value on the wire for region to set. * @return This builder for chaining. */ public Builder setRegionValue(int value) { - + region_ = value; onChanged(); return this; } /** + * + * *
      * A broad region category in which the IP address is located.
      * 
* * .google.monitoring.v3.UptimeCheckRegion region = 1; + * * @return The region. */ @java.lang.Override public com.google.monitoring.v3.UptimeCheckRegion getRegion() { @SuppressWarnings("deprecation") - com.google.monitoring.v3.UptimeCheckRegion result = com.google.monitoring.v3.UptimeCheckRegion.valueOf(region_); + com.google.monitoring.v3.UptimeCheckRegion result = + com.google.monitoring.v3.UptimeCheckRegion.valueOf(region_); return result == null ? com.google.monitoring.v3.UptimeCheckRegion.UNRECOGNIZED : result; } /** + * + * *
      * A broad region category in which the IP address is located.
      * 
* * .google.monitoring.v3.UptimeCheckRegion region = 1; + * * @param value The region to set. * @return This builder for chaining. */ @@ -631,21 +689,24 @@ public Builder setRegion(com.google.monitoring.v3.UptimeCheckRegion value) { if (value == null) { throw new NullPointerException(); } - + region_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * A broad region category in which the IP address is located.
      * 
* * .google.monitoring.v3.UptimeCheckRegion region = 1; + * * @return This builder for chaining. */ public Builder clearRegion() { - + region_ = 0; onChanged(); return this; @@ -653,6 +714,8 @@ public Builder clearRegion() { private java.lang.Object location_ = ""; /** + * + * *
      * A more specific location within the region that typically encodes
      * a particular city/town/metro (and its containing state/province or country)
@@ -660,13 +723,13 @@ public Builder clearRegion() {
      * 
* * string location = 2; + * * @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; @@ -675,6 +738,8 @@ public java.lang.String getLocation() { } } /** + * + * *
      * A more specific location within the region that typically encodes
      * a particular city/town/metro (and its containing state/province or country)
@@ -682,15 +747,14 @@ public java.lang.String getLocation() {
      * 
* * string location = 2; + * * @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 { @@ -698,6 +762,8 @@ public java.lang.String getLocation() { } } /** + * + * *
      * A more specific location within the region that typically encodes
      * a particular city/town/metro (and its containing state/province or country)
@@ -705,20 +771,22 @@ public java.lang.String getLocation() {
      * 
* * string location = 2; + * * @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; } /** + * + * *
      * A more specific location within the region that typically encodes
      * a particular city/town/metro (and its containing state/province or country)
@@ -726,15 +794,18 @@ public Builder setLocation(
      * 
* * string location = 2; + * * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** + * + * *
      * A more specific location within the region that typically encodes
      * a particular city/town/metro (and its containing state/province or country)
@@ -742,16 +813,16 @@ public Builder clearLocation() {
      * 
* * string location = 2; + * * @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; @@ -759,6 +830,8 @@ public Builder setLocationBytes( private java.lang.Object ipAddress_ = ""; /** + * + * *
      * The IP address from which the Uptime check originates. This is a fully
      * specified IP address (not an IP address range). Most IP addresses, as of
@@ -768,13 +841,13 @@ public Builder setLocationBytes(
      * 
* * string ip_address = 3; + * * @return The ipAddress. */ public java.lang.String getIpAddress() { java.lang.Object ref = ipAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipAddress_ = s; return s; @@ -783,6 +856,8 @@ public java.lang.String getIpAddress() { } } /** + * + * *
      * The IP address from which the Uptime check originates. This is a fully
      * specified IP address (not an IP address range). Most IP addresses, as of
@@ -792,15 +867,14 @@ public java.lang.String getIpAddress() {
      * 
* * string ip_address = 3; + * * @return The bytes for ipAddress. */ - public com.google.protobuf.ByteString - getIpAddressBytes() { + public com.google.protobuf.ByteString getIpAddressBytes() { java.lang.Object ref = ipAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ipAddress_ = b; return b; } else { @@ -808,6 +882,8 @@ public java.lang.String getIpAddress() { } } /** + * + * *
      * The IP address from which the Uptime check originates. This is a fully
      * specified IP address (not an IP address range). Most IP addresses, as of
@@ -817,20 +893,22 @@ public java.lang.String getIpAddress() {
      * 
* * string ip_address = 3; + * * @param value The ipAddress to set. * @return This builder for chaining. */ - public Builder setIpAddress( - java.lang.String value) { + public Builder setIpAddress(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + ipAddress_ = value; onChanged(); return this; } /** + * + * *
      * The IP address from which the Uptime check originates. This is a fully
      * specified IP address (not an IP address range). Most IP addresses, as of
@@ -840,15 +918,18 @@ public Builder setIpAddress(
      * 
* * string ip_address = 3; + * * @return This builder for chaining. */ public Builder clearIpAddress() { - + ipAddress_ = getDefaultInstance().getIpAddress(); onChanged(); return this; } /** + * + * *
      * The IP address from which the Uptime check originates. This is a fully
      * specified IP address (not an IP address range). Most IP addresses, as of
@@ -858,23 +939,23 @@ public Builder clearIpAddress() {
      * 
* * string ip_address = 3; + * * @param value The bytes for ipAddress to set. * @return This builder for chaining. */ - public Builder setIpAddressBytes( - com.google.protobuf.ByteString value) { + public Builder setIpAddressBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ipAddress_ = 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); } @@ -884,12 +965,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.UptimeCheckIp) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.UptimeCheckIp) private static final com.google.monitoring.v3.UptimeCheckIp DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.UptimeCheckIp(); } @@ -898,16 +979,16 @@ public static com.google.monitoring.v3.UptimeCheckIp getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UptimeCheckIp parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UptimeCheckIp(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UptimeCheckIp parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UptimeCheckIp(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -922,6 +1003,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.monitoring.v3.UptimeCheckIp getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckIpOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckIpOrBuilder.java similarity index 74% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckIpOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckIpOrBuilder.java index 010c4bff..d05f7513 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckIpOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckIpOrBuilder.java @@ -1,32 +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/monitoring/v3/uptime.proto package com.google.monitoring.v3; -public interface UptimeCheckIpOrBuilder extends +public interface UptimeCheckIpOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.UptimeCheckIp) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A broad region category in which the IP address is located.
    * 
* * .google.monitoring.v3.UptimeCheckRegion region = 1; + * * @return The enum numeric value on the wire for region. */ int getRegionValue(); /** + * + * *
    * A broad region category in which the IP address is located.
    * 
* * .google.monitoring.v3.UptimeCheckRegion region = 1; + * * @return The region. */ com.google.monitoring.v3.UptimeCheckRegion getRegion(); /** + * + * *
    * A more specific location within the region that typically encodes
    * a particular city/town/metro (and its containing state/province or country)
@@ -34,10 +58,13 @@ public interface UptimeCheckIpOrBuilder extends
    * 
* * string location = 2; + * * @return The location. */ java.lang.String getLocation(); /** + * + * *
    * A more specific location within the region that typically encodes
    * a particular city/town/metro (and its containing state/province or country)
@@ -45,12 +72,14 @@ public interface UptimeCheckIpOrBuilder extends
    * 
* * string location = 2; + * * @return The bytes for location. */ - com.google.protobuf.ByteString - getLocationBytes(); + com.google.protobuf.ByteString getLocationBytes(); /** + * + * *
    * The IP address from which the Uptime check originates. This is a fully
    * specified IP address (not an IP address range). Most IP addresses, as of
@@ -60,10 +89,13 @@ public interface UptimeCheckIpOrBuilder extends
    * 
* * string ip_address = 3; + * * @return The ipAddress. */ java.lang.String getIpAddress(); /** + * + * *
    * The IP address from which the Uptime check originates. This is a fully
    * specified IP address (not an IP address range). Most IP addresses, as of
@@ -73,8 +105,8 @@ public interface UptimeCheckIpOrBuilder extends
    * 
* * string ip_address = 3; + * * @return The bytes for ipAddress. */ - com.google.protobuf.ByteString - getIpAddressBytes(); + com.google.protobuf.ByteString getIpAddressBytes(); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckRegion.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckRegion.java similarity index 72% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckRegion.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckRegion.java index 0c5bd5a5..0ffbf88a 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckRegion.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckRegion.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/uptime.proto package com.google.monitoring.v3; /** + * + * *
  * The regions from which an Uptime check can be run.
  * 
* * Protobuf enum {@code google.monitoring.v3.UptimeCheckRegion} */ -public enum UptimeCheckRegion - implements com.google.protobuf.ProtocolMessageEnum { +public enum UptimeCheckRegion implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Default value if no region is specified. Will result in Uptime checks
    * running from all regions.
@@ -22,6 +40,8 @@ public enum UptimeCheckRegion
    */
   REGION_UNSPECIFIED(0),
   /**
+   *
+   *
    * 
    * Allows checks to run from locations within the United States of America.
    * 
@@ -30,6 +50,8 @@ public enum UptimeCheckRegion */ USA(1), /** + * + * *
    * Allows checks to run from locations within the continent of Europe.
    * 
@@ -38,6 +60,8 @@ public enum UptimeCheckRegion */ EUROPE(2), /** + * + * *
    * Allows checks to run from locations within the continent of South
    * America.
@@ -47,6 +71,8 @@ public enum UptimeCheckRegion
    */
   SOUTH_AMERICA(3),
   /**
+   *
+   *
    * 
    * Allows checks to run from locations within the Asia Pacific area (ex:
    * Singapore).
@@ -59,6 +85,8 @@ public enum UptimeCheckRegion
   ;
 
   /**
+   *
+   *
    * 
    * Default value if no region is specified. Will result in Uptime checks
    * running from all regions.
@@ -68,6 +96,8 @@ public enum UptimeCheckRegion
    */
   public static final int REGION_UNSPECIFIED_VALUE = 0;
   /**
+   *
+   *
    * 
    * Allows checks to run from locations within the United States of America.
    * 
@@ -76,6 +106,8 @@ public enum UptimeCheckRegion */ public static final int USA_VALUE = 1; /** + * + * *
    * Allows checks to run from locations within the continent of Europe.
    * 
@@ -84,6 +116,8 @@ public enum UptimeCheckRegion */ public static final int EUROPE_VALUE = 2; /** + * + * *
    * Allows checks to run from locations within the continent of South
    * America.
@@ -93,6 +127,8 @@ public enum UptimeCheckRegion
    */
   public static final int SOUTH_AMERICA_VALUE = 3;
   /**
+   *
+   *
    * 
    * Allows checks to run from locations within the Asia Pacific area (ex:
    * Singapore).
@@ -102,7 +138,6 @@ public enum UptimeCheckRegion
    */
   public static final int ASIA_PACIFIC_VALUE = 4;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -127,41 +162,46 @@ public static UptimeCheckRegion valueOf(int value) {
    */
   public static UptimeCheckRegion forNumber(int value) {
     switch (value) {
-      case 0: return REGION_UNSPECIFIED;
-      case 1: return USA;
-      case 2: return EUROPE;
-      case 3: return SOUTH_AMERICA;
-      case 4: return ASIA_PACIFIC;
-      default: return null;
+      case 0:
+        return REGION_UNSPECIFIED;
+      case 1:
+        return USA;
+      case 2:
+        return EUROPE;
+      case 3:
+        return SOUTH_AMERICA;
+      case 4:
+        return ASIA_PACIFIC;
+      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<
-      UptimeCheckRegion> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public UptimeCheckRegion findValueByNumber(int number) {
-            return UptimeCheckRegion.forNumber(number);
-          }
-        };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+
+  private static final com.google.protobuf.Internal.EnumLiteMap
+      internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public UptimeCheckRegion findValueByNumber(int number) {
+              return UptimeCheckRegion.forNumber(number);
+            }
+          };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.monitoring.v3.UptimeProto.getDescriptor().getEnumTypes().get(0);
   }
 
@@ -170,8 +210,7 @@ public UptimeCheckRegion findValueByNumber(int number) {
   public static UptimeCheckRegion 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;
@@ -187,4 +226,3 @@ private UptimeCheckRegion(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.monitoring.v3.UptimeCheckRegion)
 }
-
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeProto.java
new file mode 100644
index 00000000..e8ca93da
--- /dev/null
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeProto.java
@@ -0,0 +1,267 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/monitoring/v3/uptime.proto
+
+package com.google.monitoring.v3;
+
+public final class UptimeProto {
+  private UptimeProto() {}
+
+  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_monitoring_v3_InternalChecker_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_InternalChecker_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_UptimeCheckConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_UptimeCheckConfig_ResourceGroup_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_UptimeCheckConfig_ResourceGroup_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_BasicAuthentication_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_BasicAuthentication_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_HeadersEntry_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_HeadersEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_UptimeCheckConfig_TcpCheck_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_UptimeCheckConfig_TcpCheck_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_UptimeCheckConfig_ContentMatcher_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_UptimeCheckConfig_ContentMatcher_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_UptimeCheckIp_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_UptimeCheckIp_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/monitoring/v3/uptime.proto\022\024goo"
+          + "gle.monitoring.v3\032#google/api/monitored_"
+          + "resource.proto\032\031google/api/resource.prot"
+          + "o\032\036google/protobuf/duration.proto\"\346\001\n\017In"
+          + "ternalChecker\022\014\n\004name\030\001 \001(\t\022\024\n\014display_n"
+          + "ame\030\002 \001(\t\022\017\n\007network\030\003 \001(\t\022\020\n\010gcp_zone\030\004"
+          + " \001(\t\022\027\n\017peer_project_id\030\006 \001(\t\022:\n\005state\030\007"
+          + " \001(\0162+.google.monitoring.v3.InternalChec"
+          + "ker.State\"3\n\005State\022\017\n\013UNSPECIFIED\020\000\022\014\n\010C"
+          + "REATING\020\001\022\013\n\007RUNNING\020\002:\002\030\001\"\373\017\n\021UptimeChe"
+          + "ckConfig\022\014\n\004name\030\001 \001(\t\022\024\n\014display_name\030\002"
+          + " \001(\t\022;\n\022monitored_resource\030\003 \001(\0132\035.googl"
+          + "e.api.MonitoredResourceH\000\022O\n\016resource_gr"
+          + "oup\030\004 \001(\01325.google.monitoring.v3.UptimeC"
+          + "heckConfig.ResourceGroupH\000\022G\n\nhttp_check"
+          + "\030\005 \001(\01321.google.monitoring.v3.UptimeChec"
+          + "kConfig.HttpCheckH\001\022E\n\ttcp_check\030\006 \001(\01320"
+          + ".google.monitoring.v3.UptimeCheckConfig."
+          + "TcpCheckH\001\022)\n\006period\030\007 \001(\0132\031.google.prot"
+          + "obuf.Duration\022*\n\007timeout\030\010 \001(\0132\031.google."
+          + "protobuf.Duration\022P\n\020content_matchers\030\t "
+          + "\003(\01326.google.monitoring.v3.UptimeCheckCo"
+          + "nfig.ContentMatcher\022A\n\020selected_regions\030"
+          + "\n \003(\0162\'.google.monitoring.v3.UptimeCheck"
+          + "Region\022\027\n\013is_internal\030\017 \001(\010B\002\030\001\022D\n\021inter"
+          + "nal_checkers\030\016 \003(\0132%.google.monitoring.v"
+          + "3.InternalCheckerB\002\030\001\032a\n\rResourceGroup\022\020"
+          + "\n\010group_id\030\001 \001(\t\022>\n\rresource_type\030\002 \001(\0162"
+          + "\'.google.monitoring.v3.GroupResourceType"
+          + "\032\250\005\n\tHttpCheck\022W\n\016request_method\030\010 \001(\0162?"
+          + ".google.monitoring.v3.UptimeCheckConfig."
+          + "HttpCheck.RequestMethod\022\017\n\007use_ssl\030\001 \001(\010"
+          + "\022\014\n\004path\030\002 \001(\t\022\014\n\004port\030\003 \001(\005\022X\n\tauth_inf"
+          + "o\030\004 \001(\0132E.google.monitoring.v3.UptimeChe"
+          + "ckConfig.HttpCheck.BasicAuthentication\022\024"
+          + "\n\014mask_headers\030\005 \001(\010\022O\n\007headers\030\006 \003(\0132>."
+          + "google.monitoring.v3.UptimeCheckConfig.H"
+          + "ttpCheck.HeadersEntry\022S\n\014content_type\030\t "
+          + "\001(\0162=.google.monitoring.v3.UptimeCheckCo"
+          + "nfig.HttpCheck.ContentType\022\024\n\014validate_s"
+          + "sl\030\007 \001(\010\022\014\n\004body\030\n \001(\014\0329\n\023BasicAuthentic"
+          + "ation\022\020\n\010username\030\001 \001(\t\022\020\n\010password\030\002 \001("
+          + "\t\032.\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030"
+          + "\002 \001(\t:\0028\001\":\n\rRequestMethod\022\026\n\022METHOD_UNS"
+          + "PECIFIED\020\000\022\007\n\003GET\020\001\022\010\n\004POST\020\002\"4\n\013Content"
+          + "Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\017\n\013URL_ENCODE"
+          + "D\020\001\032\030\n\010TcpCheck\022\014\n\004port\030\001 \001(\005\032\230\002\n\016Conten"
+          + "tMatcher\022\017\n\007content\030\001 \001(\t\022\\\n\007matcher\030\002 \001"
+          + "(\0162K.google.monitoring.v3.UptimeCheckCon"
+          + "fig.ContentMatcher.ContentMatcherOption\""
+          + "\226\001\n\024ContentMatcherOption\022&\n\"CONTENT_MATC"
+          + "HER_OPTION_UNSPECIFIED\020\000\022\023\n\017CONTAINS_STR"
+          + "ING\020\001\022\027\n\023NOT_CONTAINS_STRING\020\002\022\021\n\rMATCHE"
+          + "S_REGEX\020\003\022\025\n\021NOT_MATCHES_REGEX\020\004:\363\001\352A\357\001\n"
+          + "+monitoring.googleapis.com/UptimeCheckCo"
+          + "nfig\022;projects/{project}/uptimeCheckConf"
+          + "igs/{uptime_check_config}\022Eorganizations"
+          + "/{organization}/uptimeCheckConfigs/{upti"
+          + "me_check_config}\0229folders/{folder}/uptim"
+          + "eCheckConfigs/{uptime_check_config}\022\001*B\n"
+          + "\n\010resourceB\024\n\022check_request_type\"n\n\rUpti"
+          + "meCheckIp\0227\n\006region\030\001 \001(\0162\'.google.monit"
+          + "oring.v3.UptimeCheckRegion\022\020\n\010location\030\002"
+          + " \001(\t\022\022\n\nip_address\030\003 \001(\t*e\n\021UptimeCheckR"
+          + "egion\022\026\n\022REGION_UNSPECIFIED\020\000\022\007\n\003USA\020\001\022\n"
+          + "\n\006EUROPE\020\002\022\021\n\rSOUTH_AMERICA\020\003\022\020\n\014ASIA_PA"
+          + "CIFIC\020\004*[\n\021GroupResourceType\022\035\n\031RESOURCE"
+          + "_TYPE_UNSPECIFIED\020\000\022\014\n\010INSTANCE\020\001\022\031\n\025AWS"
+          + "_ELB_LOAD_BALANCER\020\002B\303\001\n\030com.google.moni"
+          + "toring.v3B\013UptimeProtoP\001Z>google.golang."
+          + "org/genproto/googleapis/monitoring/v3;mo"
+          + "nitoring\252\002\032Google.Cloud.Monitoring.V3\312\002\032"
+          + "Google\\Cloud\\Monitoring\\V3\352\002\035Google::Clo"
+          + "ud::Monitoring::V3b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.MonitoredResourceProto.getDescriptor(),
+              com.google.api.ResourceProto.getDescriptor(),
+              com.google.protobuf.DurationProto.getDescriptor(),
+            });
+    internal_static_google_monitoring_v3_InternalChecker_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_monitoring_v3_InternalChecker_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_InternalChecker_descriptor,
+            new java.lang.String[] {
+              "Name", "DisplayName", "Network", "GcpZone", "PeerProjectId", "State",
+            });
+    internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_monitoring_v3_UptimeCheckConfig_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor,
+            new java.lang.String[] {
+              "Name",
+              "DisplayName",
+              "MonitoredResource",
+              "ResourceGroup",
+              "HttpCheck",
+              "TcpCheck",
+              "Period",
+              "Timeout",
+              "ContentMatchers",
+              "SelectedRegions",
+              "IsInternal",
+              "InternalCheckers",
+              "Resource",
+              "CheckRequestType",
+            });
+    internal_static_google_monitoring_v3_UptimeCheckConfig_ResourceGroup_descriptor =
+        internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor.getNestedTypes().get(0);
+    internal_static_google_monitoring_v3_UptimeCheckConfig_ResourceGroup_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_UptimeCheckConfig_ResourceGroup_descriptor,
+            new java.lang.String[] {
+              "GroupId", "ResourceType",
+            });
+    internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_descriptor =
+        internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor.getNestedTypes().get(1);
+    internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_descriptor,
+            new java.lang.String[] {
+              "RequestMethod",
+              "UseSsl",
+              "Path",
+              "Port",
+              "AuthInfo",
+              "MaskHeaders",
+              "Headers",
+              "ContentType",
+              "ValidateSsl",
+              "Body",
+            });
+    internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_BasicAuthentication_descriptor =
+        internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_descriptor
+            .getNestedTypes()
+            .get(0);
+    internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_BasicAuthentication_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_BasicAuthentication_descriptor,
+            new java.lang.String[] {
+              "Username", "Password",
+            });
+    internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_HeadersEntry_descriptor =
+        internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_descriptor
+            .getNestedTypes()
+            .get(1);
+    internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_HeadersEntry_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_UptimeCheckConfig_HttpCheck_HeadersEntry_descriptor,
+            new java.lang.String[] {
+              "Key", "Value",
+            });
+    internal_static_google_monitoring_v3_UptimeCheckConfig_TcpCheck_descriptor =
+        internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor.getNestedTypes().get(2);
+    internal_static_google_monitoring_v3_UptimeCheckConfig_TcpCheck_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_UptimeCheckConfig_TcpCheck_descriptor,
+            new java.lang.String[] {
+              "Port",
+            });
+    internal_static_google_monitoring_v3_UptimeCheckConfig_ContentMatcher_descriptor =
+        internal_static_google_monitoring_v3_UptimeCheckConfig_descriptor.getNestedTypes().get(3);
+    internal_static_google_monitoring_v3_UptimeCheckConfig_ContentMatcher_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_UptimeCheckConfig_ContentMatcher_descriptor,
+            new java.lang.String[] {
+              "Content", "Matcher",
+            });
+    internal_static_google_monitoring_v3_UptimeCheckIp_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_monitoring_v3_UptimeCheckIp_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_UptimeCheckIp_descriptor,
+            new java.lang.String[] {
+              "Region", "Location", "IpAddress",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ResourceProto.resource);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.MonitoredResourceProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.protobuf.DurationProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeServiceProto.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeServiceProto.java
new file mode 100644
index 00000000..31841ced
--- /dev/null
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeServiceProto.java
@@ -0,0 +1,245 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/monitoring/v3/uptime_service.proto
+
+package com.google.monitoring.v3;
+
+public final class UptimeServiceProto {
+  private UptimeServiceProto() {}
+
+  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_monitoring_v3_ListUptimeCheckConfigsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_ListUptimeCheckConfigsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_ListUptimeCheckConfigsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_ListUptimeCheckConfigsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_GetUptimeCheckConfigRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_GetUptimeCheckConfigRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_CreateUptimeCheckConfigRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_CreateUptimeCheckConfigRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_UpdateUptimeCheckConfigRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_UpdateUptimeCheckConfigRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_DeleteUptimeCheckConfigRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_DeleteUptimeCheckConfigRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_ListUptimeCheckIpsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_ListUptimeCheckIpsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_monitoring_v3_ListUptimeCheckIpsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_monitoring_v3_ListUptimeCheckIpsResponse_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/monitoring/v3/uptime_service.pr"
+          + "oto\022\024google.monitoring.v3\032\034google/api/an"
+          + "notations.proto\032\027google/api/client.proto"
+          + "\032\037google/api/field_behavior.proto\032\031googl"
+          + "e/api/resource.proto\032#google/longrunning"
+          + "/operations.proto\032!google/monitoring/v3/"
+          + "uptime.proto\032\036google/protobuf/duration.p"
+          + "roto\032\033google/protobuf/empty.proto\032 googl"
+          + "e/protobuf/field_mask.proto\"\213\001\n\035ListUpti"
+          + "meCheckConfigsRequest\022C\n\006parent\030\001 \001(\tB3\340"
+          + "A\002\372A-\022+monitoring.googleapis.com/UptimeC"
+          + "heckConfig\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_to"
+          + "ken\030\004 \001(\t\"\224\001\n\036ListUptimeCheckConfigsResp"
+          + "onse\022E\n\024uptime_check_configs\030\001 \003(\0132\'.goo"
+          + "gle.monitoring.v3.UptimeCheckConfig\022\027\n\017n"
+          + "ext_page_token\030\002 \001(\t\022\022\n\ntotal_size\030\003 \001(\005"
+          + "\"`\n\033GetUptimeCheckConfigRequest\022A\n\004name\030"
+          + "\001 \001(\tB3\340A\002\372A-\n+monitoring.googleapis.com"
+          + "/UptimeCheckConfig\"\260\001\n\036CreateUptimeCheck"
+          + "ConfigRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\022+m"
+          + "onitoring.googleapis.com/UptimeCheckConf"
+          + "ig\022I\n\023uptime_check_config\030\002 \001(\0132\'.google"
+          + ".monitoring.v3.UptimeCheckConfigB\003\340A\002\"\234\001"
+          + "\n\036UpdateUptimeCheckConfigRequest\022/\n\013upda"
+          + "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas"
+          + "k\022I\n\023uptime_check_config\030\003 \001(\0132\'.google."
+          + "monitoring.v3.UptimeCheckConfigB\003\340A\002\"c\n\036"
+          + "DeleteUptimeCheckConfigRequest\022A\n\004name\030\001"
+          + " \001(\tB3\340A\002\372A-\n+monitoring.googleapis.com/"
+          + "UptimeCheckConfig\"B\n\031ListUptimeCheckIpsR"
+          + "equest\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030"
+          + "\003 \001(\t\"t\n\032ListUptimeCheckIpsResponse\022=\n\020u"
+          + "ptime_check_ips\030\001 \003(\0132#.google.monitorin"
+          + "g.v3.UptimeCheckIp\022\027\n\017next_page_token\030\002 "
+          + "\001(\t2\275\n\n\022UptimeCheckService\022\300\001\n\026ListUptim"
+          + "eCheckConfigs\0223.google.monitoring.v3.Lis"
+          + "tUptimeCheckConfigsRequest\0324.google.moni"
+          + "toring.v3.ListUptimeCheckConfigsResponse"
+          + "\";\202\323\344\223\002,\022*/v3/{parent=projects/*}/uptime"
+          + "CheckConfigs\332A\006parent\022\255\001\n\024GetUptimeCheck"
+          + "Config\0221.google.monitoring.v3.GetUptimeC"
+          + "heckConfigRequest\032\'.google.monitoring.v3"
+          + ".UptimeCheckConfig\"9\202\323\344\223\002,\022*/v3/{name=pr"
+          + "ojects/*/uptimeCheckConfigs/*}\332A\004name\022\336\001"
+          + "\n\027CreateUptimeCheckConfig\0224.google.monit"
+          + "oring.v3.CreateUptimeCheckConfigRequest\032"
+          + "\'.google.monitoring.v3.UptimeCheckConfig"
+          + "\"d\202\323\344\223\002A\"*/v3/{parent=projects/*}/uptime"
+          + "CheckConfigs:\023uptime_check_config\332A\032pare"
+          + "nt,uptime_check_config\022\353\001\n\027UpdateUptimeC"
+          + "heckConfig\0224.google.monitoring.v3.Update"
+          + "UptimeCheckConfigRequest\032\'.google.monito"
+          + "ring.v3.UptimeCheckConfig\"q\202\323\344\223\002U2>/v3/{"
+          + "uptime_check_config.name=projects/*/upti"
+          + "meCheckConfigs/*}:\023uptime_check_config\332A"
+          + "\023uptime_check_config\022\242\001\n\027DeleteUptimeChe"
+          + "ckConfig\0224.google.monitoring.v3.DeleteUp"
+          + "timeCheckConfigRequest\032\026.google.protobuf"
+          + ".Empty\"9\202\323\344\223\002,**/v3/{name=projects/*/upt"
+          + "imeCheckConfigs/*}\332A\004name\022\223\001\n\022ListUptime"
+          + "CheckIps\022/.google.monitoring.v3.ListUpti"
+          + "meCheckIpsRequest\0320.google.monitoring.v3"
+          + ".ListUptimeCheckIpsResponse\"\032\202\323\344\223\002\024\022\022/v3"
+          + "/uptimeCheckIps\032\251\001\312A\031monitoring.googleap"
+          + "is.com\322A\211\001https://www.googleapis.com/aut"
+          + "h/cloud-platform,https://www.googleapis."
+          + "com/auth/monitoring,https://www.googleap"
+          + "is.com/auth/monitoring.readB\312\001\n\030com.goog"
+          + "le.monitoring.v3B\022UptimeServiceProtoP\001Z>"
+          + "google.golang.org/genproto/googleapis/mo"
+          + "nitoring/v3;monitoring\252\002\032Google.Cloud.Mo"
+          + "nitoring.V3\312\002\032Google\\Cloud\\Monitoring\\V3"
+          + "\352\002\035Google::Cloud::Monitoring::V3b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.AnnotationsProto.getDescriptor(),
+              com.google.api.ClientProto.getDescriptor(),
+              com.google.api.FieldBehaviorProto.getDescriptor(),
+              com.google.api.ResourceProto.getDescriptor(),
+              com.google.longrunning.OperationsProto.getDescriptor(),
+              com.google.monitoring.v3.UptimeProto.getDescriptor(),
+              com.google.protobuf.DurationProto.getDescriptor(),
+              com.google.protobuf.EmptyProto.getDescriptor(),
+              com.google.protobuf.FieldMaskProto.getDescriptor(),
+            });
+    internal_static_google_monitoring_v3_ListUptimeCheckConfigsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_monitoring_v3_ListUptimeCheckConfigsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_ListUptimeCheckConfigsRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken",
+            });
+    internal_static_google_monitoring_v3_ListUptimeCheckConfigsResponse_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_monitoring_v3_ListUptimeCheckConfigsResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_ListUptimeCheckConfigsResponse_descriptor,
+            new java.lang.String[] {
+              "UptimeCheckConfigs", "NextPageToken", "TotalSize",
+            });
+    internal_static_google_monitoring_v3_GetUptimeCheckConfigRequest_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_monitoring_v3_GetUptimeCheckConfigRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_GetUptimeCheckConfigRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_monitoring_v3_CreateUptimeCheckConfigRequest_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_monitoring_v3_CreateUptimeCheckConfigRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_CreateUptimeCheckConfigRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "UptimeCheckConfig",
+            });
+    internal_static_google_monitoring_v3_UpdateUptimeCheckConfigRequest_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_monitoring_v3_UpdateUptimeCheckConfigRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_UpdateUptimeCheckConfigRequest_descriptor,
+            new java.lang.String[] {
+              "UpdateMask", "UptimeCheckConfig",
+            });
+    internal_static_google_monitoring_v3_DeleteUptimeCheckConfigRequest_descriptor =
+        getDescriptor().getMessageTypes().get(5);
+    internal_static_google_monitoring_v3_DeleteUptimeCheckConfigRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_DeleteUptimeCheckConfigRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_monitoring_v3_ListUptimeCheckIpsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(6);
+    internal_static_google_monitoring_v3_ListUptimeCheckIpsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_ListUptimeCheckIpsRequest_descriptor,
+            new java.lang.String[] {
+              "PageSize", "PageToken",
+            });
+    internal_static_google_monitoring_v3_ListUptimeCheckIpsResponse_descriptor =
+        getDescriptor().getMessageTypes().get(7);
+    internal_static_google_monitoring_v3_ListUptimeCheckIpsResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_monitoring_v3_ListUptimeCheckIpsResponse_descriptor,
+            new java.lang.String[] {
+              "UptimeCheckIps", "NextPageToken",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.methodSignature);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    registry.add(com.google.api.ResourceProto.resourceReference);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.ClientProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.longrunning.OperationsProto.getDescriptor();
+    com.google.monitoring.v3.UptimeProto.getDescriptor();
+    com.google.protobuf.DurationProto.getDescriptor();
+    com.google.protobuf.EmptyProto.getDescriptor();
+    com.google.protobuf.FieldMaskProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/VerifyNotificationChannelRequest.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/VerifyNotificationChannelRequest.java
similarity index 69%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/VerifyNotificationChannelRequest.java
rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/VerifyNotificationChannelRequest.java
index 9d4d5c22..4134546d 100644
--- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/VerifyNotificationChannelRequest.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/VerifyNotificationChannelRequest.java
@@ -1,24 +1,43 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/monitoring/v3/notification_service.proto
 
 package com.google.monitoring.v3;
 
 /**
+ *
+ *
  * 
  * The `VerifyNotificationChannel` request.
  * 
* * Protobuf type {@code google.monitoring.v3.VerifyNotificationChannelRequest} */ -public final class VerifyNotificationChannelRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class VerifyNotificationChannelRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.monitoring.v3.VerifyNotificationChannelRequest) VerifyNotificationChannelRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VerifyNotificationChannelRequest.newBuilder() to construct. - private VerifyNotificationChannelRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private VerifyNotificationChannelRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private VerifyNotificationChannelRequest() { name_ = ""; code_ = ""; @@ -26,16 +45,15 @@ private VerifyNotificationChannelRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new VerifyNotificationChannelRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private VerifyNotificationChannelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,58 +72,67 @@ private VerifyNotificationChannelRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - code_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + code_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_VerifyNotificationChannelRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_VerifyNotificationChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_VerifyNotificationChannelRequest_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_VerifyNotificationChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.VerifyNotificationChannelRequest.class, com.google.monitoring.v3.VerifyNotificationChannelRequest.Builder.class); + com.google.monitoring.v3.VerifyNotificationChannelRequest.class, + com.google.monitoring.v3.VerifyNotificationChannelRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The notification channel to verify.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -114,29 +141,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The notification channel to verify.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -147,6 +176,8 @@ public java.lang.String getName() { public static final int CODE_FIELD_NUMBER = 2; private volatile java.lang.Object code_; /** + * + * *
    * Required. The verification code that was delivered to the channel as
    * a result of invoking the `SendNotificationChannelVerificationCode` API
@@ -158,6 +189,7 @@ public java.lang.String getName() {
    * 
* * string code = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The code. */ @java.lang.Override @@ -166,14 +198,15 @@ public java.lang.String getCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); code_ = s; return s; } } /** + * + * *
    * Required. The verification code that was delivered to the channel as
    * a result of invoking the `SendNotificationChannelVerificationCode` API
@@ -185,16 +218,15 @@ public java.lang.String getCode() {
    * 
* * string code = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for code. */ @java.lang.Override - public com.google.protobuf.ByteString - getCodeBytes() { + public com.google.protobuf.ByteString getCodeBytes() { java.lang.Object ref = code_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); code_ = b; return b; } else { @@ -203,6 +235,7 @@ public java.lang.String getCode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -214,8 +247,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -245,17 +277,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.monitoring.v3.VerifyNotificationChannelRequest)) { return super.equals(obj); } - com.google.monitoring.v3.VerifyNotificationChannelRequest other = (com.google.monitoring.v3.VerifyNotificationChannelRequest) obj; + com.google.monitoring.v3.VerifyNotificationChannelRequest other = + (com.google.monitoring.v3.VerifyNotificationChannelRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getCode() - .equals(other.getCode())) return false; + if (!getName().equals(other.getName())) return false; + if (!getCode().equals(other.getCode())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -277,117 +308,127 @@ public int hashCode() { } public static com.google.monitoring.v3.VerifyNotificationChannelRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.VerifyNotificationChannelRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.VerifyNotificationChannelRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.VerifyNotificationChannelRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.VerifyNotificationChannelRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.VerifyNotificationChannelRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.VerifyNotificationChannelRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.VerifyNotificationChannelRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.VerifyNotificationChannelRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.VerifyNotificationChannelRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.VerifyNotificationChannelRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.VerifyNotificationChannelRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.VerifyNotificationChannelRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.VerifyNotificationChannelRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.VerifyNotificationChannelRequest prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.VerifyNotificationChannelRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 `VerifyNotificationChannel` request.
    * 
* * Protobuf type {@code google.monitoring.v3.VerifyNotificationChannelRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.monitoring.v3.VerifyNotificationChannelRequest) com.google.monitoring.v3.VerifyNotificationChannelRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_VerifyNotificationChannelRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_VerifyNotificationChannelRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_VerifyNotificationChannelRequest_fieldAccessorTable + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_VerifyNotificationChannelRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.monitoring.v3.VerifyNotificationChannelRequest.class, com.google.monitoring.v3.VerifyNotificationChannelRequest.Builder.class); + com.google.monitoring.v3.VerifyNotificationChannelRequest.class, + com.google.monitoring.v3.VerifyNotificationChannelRequest.Builder.class); } // Construct using com.google.monitoring.v3.VerifyNotificationChannelRequest.newBuilder() @@ -395,16 +436,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -416,9 +456,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.monitoring.v3.NotificationServiceProto.internal_static_google_monitoring_v3_VerifyNotificationChannelRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.monitoring.v3.NotificationServiceProto + .internal_static_google_monitoring_v3_VerifyNotificationChannelRequest_descriptor; } @java.lang.Override @@ -437,7 +477,8 @@ public com.google.monitoring.v3.VerifyNotificationChannelRequest build() { @java.lang.Override public com.google.monitoring.v3.VerifyNotificationChannelRequest buildPartial() { - com.google.monitoring.v3.VerifyNotificationChannelRequest result = new com.google.monitoring.v3.VerifyNotificationChannelRequest(this); + com.google.monitoring.v3.VerifyNotificationChannelRequest result = + new com.google.monitoring.v3.VerifyNotificationChannelRequest(this); result.name_ = name_; result.code_ = code_; onBuilt(); @@ -448,38 +489,39 @@ public com.google.monitoring.v3.VerifyNotificationChannelRequest 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.monitoring.v3.VerifyNotificationChannelRequest) { - return mergeFrom((com.google.monitoring.v3.VerifyNotificationChannelRequest)other); + return mergeFrom((com.google.monitoring.v3.VerifyNotificationChannelRequest) other); } else { super.mergeFrom(other); return this; @@ -487,7 +529,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.monitoring.v3.VerifyNotificationChannelRequest other) { - if (other == com.google.monitoring.v3.VerifyNotificationChannelRequest.getDefaultInstance()) return this; + if (other == com.google.monitoring.v3.VerifyNotificationChannelRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -515,7 +558,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.monitoring.v3.VerifyNotificationChannelRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.monitoring.v3.VerifyNotificationChannelRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -527,18 +571,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The notification channel to verify.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -547,20 +595,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The notification channel to verify.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -568,54 +619,67 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The notification channel to verify.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The notification channel to verify.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The notification channel to verify.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -623,6 +687,8 @@ public Builder setNameBytes( private java.lang.Object code_ = ""; /** + * + * *
      * Required. The verification code that was delivered to the channel as
      * a result of invoking the `SendNotificationChannelVerificationCode` API
@@ -634,13 +700,13 @@ public Builder setNameBytes(
      * 
* * string code = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The code. */ public java.lang.String getCode() { java.lang.Object ref = code_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); code_ = s; return s; @@ -649,6 +715,8 @@ public java.lang.String getCode() { } } /** + * + * *
      * Required. The verification code that was delivered to the channel as
      * a result of invoking the `SendNotificationChannelVerificationCode` API
@@ -660,15 +728,14 @@ public java.lang.String getCode() {
      * 
* * string code = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for code. */ - public com.google.protobuf.ByteString - getCodeBytes() { + public com.google.protobuf.ByteString getCodeBytes() { java.lang.Object ref = code_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); code_ = b; return b; } else { @@ -676,6 +743,8 @@ public java.lang.String getCode() { } } /** + * + * *
      * Required. The verification code that was delivered to the channel as
      * a result of invoking the `SendNotificationChannelVerificationCode` API
@@ -687,20 +756,22 @@ public java.lang.String getCode() {
      * 
* * string code = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The code to set. * @return This builder for chaining. */ - public Builder setCode( - java.lang.String value) { + public Builder setCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + code_ = value; onChanged(); return this; } /** + * + * *
      * Required. The verification code that was delivered to the channel as
      * a result of invoking the `SendNotificationChannelVerificationCode` API
@@ -712,15 +783,18 @@ public Builder setCode(
      * 
* * string code = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearCode() { - + code_ = getDefaultInstance().getCode(); onChanged(); return this; } /** + * + * *
      * Required. The verification code that was delivered to the channel as
      * a result of invoking the `SendNotificationChannelVerificationCode` API
@@ -732,23 +806,23 @@ public Builder clearCode() {
      * 
* * string code = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for code to set. * @return This builder for chaining. */ - public Builder setCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + code_ = 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,12 +832,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.VerifyNotificationChannelRequest) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.VerifyNotificationChannelRequest) private static final com.google.monitoring.v3.VerifyNotificationChannelRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.VerifyNotificationChannelRequest(); } @@ -772,16 +846,16 @@ public static com.google.monitoring.v3.VerifyNotificationChannelRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VerifyNotificationChannelRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VerifyNotificationChannelRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VerifyNotificationChannelRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VerifyNotificationChannelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -796,6 +870,4 @@ public com.google.protobuf.Parser getParserFor public com.google.monitoring.v3.VerifyNotificationChannelRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/VerifyNotificationChannelRequestOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/VerifyNotificationChannelRequestOrBuilder.java similarity index 63% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/VerifyNotificationChannelRequestOrBuilder.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/VerifyNotificationChannelRequestOrBuilder.java index d0fff217..a5c8ee44 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/VerifyNotificationChannelRequestOrBuilder.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/VerifyNotificationChannelRequestOrBuilder.java @@ -1,33 +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/monitoring/v3/notification_service.proto package com.google.monitoring.v3; -public interface VerifyNotificationChannelRequestOrBuilder extends +public interface VerifyNotificationChannelRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.VerifyNotificationChannelRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The notification channel to verify.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The notification channel to verify.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The verification code that was delivered to the channel as
    * a result of invoking the `SendNotificationChannelVerificationCode` API
@@ -39,10 +66,13 @@ public interface VerifyNotificationChannelRequestOrBuilder extends
    * 
* * string code = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The code. */ java.lang.String getCode(); /** + * + * *
    * Required. The verification code that was delivered to the channel as
    * a result of invoking the `SendNotificationChannelVerificationCode` API
@@ -54,8 +84,8 @@ public interface VerifyNotificationChannelRequestOrBuilder extends
    * 
* * string code = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for code. */ - com.google.protobuf.ByteString - getCodeBytes(); + com.google.protobuf.ByteString getCodeBytes(); } diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/WindowsBasedSli.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/WindowsBasedSli.java similarity index 72% rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/WindowsBasedSli.java rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/WindowsBasedSli.java index e203a451..9f24d80e 100644 --- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/WindowsBasedSli.java +++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/WindowsBasedSli.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/service.proto package com.google.monitoring.v3; /** + * + * *
  * A `WindowsBasedSli` defines `good_service` as the count of time windows for
  * which the provided service was of good quality. Criteria for determining
@@ -12,30 +29,29 @@
  *
  * Protobuf type {@code google.monitoring.v3.WindowsBasedSli}
  */
-public final class WindowsBasedSli extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class WindowsBasedSli extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.monitoring.v3.WindowsBasedSli)
     WindowsBasedSliOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use WindowsBasedSli.newBuilder() to construct.
   private WindowsBasedSli(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private WindowsBasedSli() {
-  }
+
+  private WindowsBasedSli() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new WindowsBasedSli();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private WindowsBasedSli(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,122 +70,157 @@ private WindowsBasedSli(
           case 0:
             done = true;
             break;
-          case 18: {
-            com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.Builder subBuilder = null;
-            if (windowCriterionCase_ == 2) {
-              subBuilder = ((com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) windowCriterion_).toBuilder();
-            }
-            windowCriterion_ =
-                input.readMessage(com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) windowCriterion_);
-              windowCriterion_ = subBuilder.buildPartial();
-            }
-            windowCriterionCase_ = 2;
-            break;
-          }
-          case 34: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (windowPeriod_ != null) {
-              subBuilder = windowPeriod_.toBuilder();
-            }
-            windowPeriod_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(windowPeriod_);
-              windowPeriod_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.Builder subBuilder =
+                  null;
+              if (windowCriterionCase_ == 2) {
+                subBuilder =
+                    ((com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold)
+                            windowCriterion_)
+                        .toBuilder();
+              }
+              windowCriterion_ =
+                  input.readMessage(
+                      com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold)
+                        windowCriterion_);
+                windowCriterion_ = subBuilder.buildPartial();
+              }
+              windowCriterionCase_ = 2;
+              break;
             }
+          case 34:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (windowPeriod_ != null) {
+                subBuilder = windowPeriod_.toBuilder();
+              }
+              windowPeriod_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(windowPeriod_);
+                windowPeriod_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 42: {
-            java.lang.String s = input.readStringRequireUtf8();
-            windowCriterionCase_ = 5;
-            windowCriterion_ = s;
-            break;
-          }
-          case 50: {
-            com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder subBuilder = null;
-            if (windowCriterionCase_ == 6) {
-              subBuilder = ((com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_).toBuilder();
+              break;
             }
-            windowCriterion_ =
-                input.readMessage(com.google.monitoring.v3.WindowsBasedSli.MetricRange.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_);
-              windowCriterion_ = subBuilder.buildPartial();
+          case 42:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              windowCriterionCase_ = 5;
+              windowCriterion_ = s;
+              break;
             }
-            windowCriterionCase_ = 6;
-            break;
-          }
-          case 58: {
-            com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder subBuilder = null;
-            if (windowCriterionCase_ == 7) {
-              subBuilder = ((com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_).toBuilder();
+          case 50:
+            {
+              com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder subBuilder = null;
+              if (windowCriterionCase_ == 6) {
+                subBuilder =
+                    ((com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_)
+                        .toBuilder();
+              }
+              windowCriterion_ =
+                  input.readMessage(
+                      com.google.monitoring.v3.WindowsBasedSli.MetricRange.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_);
+                windowCriterion_ = subBuilder.buildPartial();
+              }
+              windowCriterionCase_ = 6;
+              break;
             }
-            windowCriterion_ =
-                input.readMessage(com.google.monitoring.v3.WindowsBasedSli.MetricRange.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_);
-              windowCriterion_ = subBuilder.buildPartial();
+          case 58:
+            {
+              com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder subBuilder = null;
+              if (windowCriterionCase_ == 7) {
+                subBuilder =
+                    ((com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_)
+                        .toBuilder();
+              }
+              windowCriterion_ =
+                  input.readMessage(
+                      com.google.monitoring.v3.WindowsBasedSli.MetricRange.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_);
+                windowCriterion_ = subBuilder.buildPartial();
+              }
+              windowCriterionCase_ = 7;
+              break;
             }
-            windowCriterionCase_ = 7;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_WindowsBasedSli_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.monitoring.v3.ServiceMonitoringProto
+        .internal_static_google_monitoring_v3_WindowsBasedSli_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_WindowsBasedSli_fieldAccessorTable
+    return com.google.monitoring.v3.ServiceMonitoringProto
+        .internal_static_google_monitoring_v3_WindowsBasedSli_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.monitoring.v3.WindowsBasedSli.class, com.google.monitoring.v3.WindowsBasedSli.Builder.class);
+            com.google.monitoring.v3.WindowsBasedSli.class,
+            com.google.monitoring.v3.WindowsBasedSli.Builder.class);
   }
 
-  public interface PerformanceThresholdOrBuilder extends
+  public interface PerformanceThresholdOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.monitoring.v3.WindowsBasedSli.PerformanceThreshold)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * `RequestBasedSli` to evaluate to judge window quality.
      * 
* * .google.monitoring.v3.RequestBasedSli performance = 1; + * * @return Whether the performance field is set. */ boolean hasPerformance(); /** + * + * *
      * `RequestBasedSli` to evaluate to judge window quality.
      * 
* * .google.monitoring.v3.RequestBasedSli performance = 1; + * * @return The performance. */ com.google.monitoring.v3.RequestBasedSli getPerformance(); /** + * + * *
      * `RequestBasedSli` to evaluate to judge window quality.
      * 
@@ -179,24 +230,32 @@ public interface PerformanceThresholdOrBuilder extends com.google.monitoring.v3.RequestBasedSliOrBuilder getPerformanceOrBuilder(); /** + * + * *
      * `BasicSli` to evaluate to judge window quality.
      * 
* * .google.monitoring.v3.BasicSli basic_sli_performance = 3; + * * @return Whether the basicSliPerformance field is set. */ boolean hasBasicSliPerformance(); /** + * + * *
      * `BasicSli` to evaluate to judge window quality.
      * 
* * .google.monitoring.v3.BasicSli basic_sli_performance = 3; + * * @return The basicSliPerformance. */ com.google.monitoring.v3.BasicSli getBasicSliPerformance(); /** + * + * *
      * `BasicSli` to evaluate to judge window quality.
      * 
@@ -206,11 +265,14 @@ public interface PerformanceThresholdOrBuilder extends com.google.monitoring.v3.BasicSliOrBuilder getBasicSliPerformanceOrBuilder(); /** + * + * *
      * If window `performance >= threshold`, the window is counted as good.
      * 
* * double threshold = 2; + * * @return The threshold. */ double getThreshold(); @@ -218,6 +280,8 @@ public interface PerformanceThresholdOrBuilder extends public com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.TypeCase getTypeCase(); } /** + * + * *
    * A `PerformanceThreshold` is used when each window is good when that window
    * has a sufficiently high `performance`.
@@ -225,30 +289,29 @@ public interface PerformanceThresholdOrBuilder extends
    *
    * Protobuf type {@code google.monitoring.v3.WindowsBasedSli.PerformanceThreshold}
    */
-  public static final class PerformanceThreshold extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class PerformanceThreshold extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.monitoring.v3.WindowsBasedSli.PerformanceThreshold)
       PerformanceThresholdOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use PerformanceThreshold.newBuilder() to construct.
     private PerformanceThreshold(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private PerformanceThreshold() {
-    }
+
+    private PerformanceThreshold() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new PerformanceThreshold();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private PerformanceThreshold(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -267,80 +330,89 @@ private PerformanceThreshold(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.monitoring.v3.RequestBasedSli.Builder subBuilder = null;
-              if (typeCase_ == 1) {
-                subBuilder = ((com.google.monitoring.v3.RequestBasedSli) type_).toBuilder();
+            case 10:
+              {
+                com.google.monitoring.v3.RequestBasedSli.Builder subBuilder = null;
+                if (typeCase_ == 1) {
+                  subBuilder = ((com.google.monitoring.v3.RequestBasedSli) type_).toBuilder();
+                }
+                type_ =
+                    input.readMessage(
+                        com.google.monitoring.v3.RequestBasedSli.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom((com.google.monitoring.v3.RequestBasedSli) type_);
+                  type_ = subBuilder.buildPartial();
+                }
+                typeCase_ = 1;
+                break;
               }
-              type_ =
-                  input.readMessage(com.google.monitoring.v3.RequestBasedSli.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.monitoring.v3.RequestBasedSli) type_);
-                type_ = subBuilder.buildPartial();
-              }
-              typeCase_ = 1;
-              break;
-            }
-            case 17: {
-
-              threshold_ = input.readDouble();
-              break;
-            }
-            case 26: {
-              com.google.monitoring.v3.BasicSli.Builder subBuilder = null;
-              if (typeCase_ == 3) {
-                subBuilder = ((com.google.monitoring.v3.BasicSli) type_).toBuilder();
+            case 17:
+              {
+                threshold_ = input.readDouble();
+                break;
               }
-              type_ =
-                  input.readMessage(com.google.monitoring.v3.BasicSli.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.monitoring.v3.BasicSli) type_);
-                type_ = subBuilder.buildPartial();
+            case 26:
+              {
+                com.google.monitoring.v3.BasicSli.Builder subBuilder = null;
+                if (typeCase_ == 3) {
+                  subBuilder = ((com.google.monitoring.v3.BasicSli) type_).toBuilder();
+                }
+                type_ =
+                    input.readMessage(
+                        com.google.monitoring.v3.BasicSli.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom((com.google.monitoring.v3.BasicSli) type_);
+                  type_ = subBuilder.buildPartial();
+                }
+                typeCase_ = 3;
+                break;
               }
-              typeCase_ = 3;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_WindowsBasedSli_PerformanceThreshold_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.monitoring.v3.ServiceMonitoringProto
+          .internal_static_google_monitoring_v3_WindowsBasedSli_PerformanceThreshold_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_WindowsBasedSli_PerformanceThreshold_fieldAccessorTable
+      return com.google.monitoring.v3.ServiceMonitoringProto
+          .internal_static_google_monitoring_v3_WindowsBasedSli_PerformanceThreshold_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.class, com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.Builder.class);
+              com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.class,
+              com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.Builder.class);
     }
 
     private int typeCase_ = 0;
     private java.lang.Object type_;
+
     public enum TypeCase
-        implements com.google.protobuf.Internal.EnumLite,
+        implements
+            com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       PERFORMANCE(1),
       BASIC_SLI_PERFORMANCE(3),
       TYPE_NOT_SET(0);
       private final int value;
+
       private TypeCase(int value) {
         this.value = value;
       }
@@ -356,30 +428,36 @@ public static TypeCase valueOf(int value) {
 
       public static TypeCase forNumber(int value) {
         switch (value) {
-          case 1: return PERFORMANCE;
-          case 3: return BASIC_SLI_PERFORMANCE;
-          case 0: return TYPE_NOT_SET;
-          default: return null;
+          case 1:
+            return PERFORMANCE;
+          case 3:
+            return BASIC_SLI_PERFORMANCE;
+          case 0:
+            return TYPE_NOT_SET;
+          default:
+            return null;
         }
       }
+
       public int getNumber() {
         return this.value;
       }
     };
 
-    public TypeCase
-    getTypeCase() {
-      return TypeCase.forNumber(
-          typeCase_);
+    public TypeCase getTypeCase() {
+      return TypeCase.forNumber(typeCase_);
     }
 
     public static final int PERFORMANCE_FIELD_NUMBER = 1;
     /**
+     *
+     *
      * 
      * `RequestBasedSli` to evaluate to judge window quality.
      * 
* * .google.monitoring.v3.RequestBasedSli performance = 1; + * * @return Whether the performance field is set. */ @java.lang.Override @@ -387,21 +465,26 @@ public boolean hasPerformance() { return typeCase_ == 1; } /** + * + * *
      * `RequestBasedSli` to evaluate to judge window quality.
      * 
* * .google.monitoring.v3.RequestBasedSli performance = 1; + * * @return The performance. */ @java.lang.Override public com.google.monitoring.v3.RequestBasedSli getPerformance() { if (typeCase_ == 1) { - return (com.google.monitoring.v3.RequestBasedSli) type_; + return (com.google.monitoring.v3.RequestBasedSli) type_; } return com.google.monitoring.v3.RequestBasedSli.getDefaultInstance(); } /** + * + * *
      * `RequestBasedSli` to evaluate to judge window quality.
      * 
@@ -411,18 +494,21 @@ public com.google.monitoring.v3.RequestBasedSli getPerformance() { @java.lang.Override public com.google.monitoring.v3.RequestBasedSliOrBuilder getPerformanceOrBuilder() { if (typeCase_ == 1) { - return (com.google.monitoring.v3.RequestBasedSli) type_; + return (com.google.monitoring.v3.RequestBasedSli) type_; } return com.google.monitoring.v3.RequestBasedSli.getDefaultInstance(); } public static final int BASIC_SLI_PERFORMANCE_FIELD_NUMBER = 3; /** + * + * *
      * `BasicSli` to evaluate to judge window quality.
      * 
* * .google.monitoring.v3.BasicSli basic_sli_performance = 3; + * * @return Whether the basicSliPerformance field is set. */ @java.lang.Override @@ -430,21 +516,26 @@ public boolean hasBasicSliPerformance() { return typeCase_ == 3; } /** + * + * *
      * `BasicSli` to evaluate to judge window quality.
      * 
* * .google.monitoring.v3.BasicSli basic_sli_performance = 3; + * * @return The basicSliPerformance. */ @java.lang.Override public com.google.monitoring.v3.BasicSli getBasicSliPerformance() { if (typeCase_ == 3) { - return (com.google.monitoring.v3.BasicSli) type_; + return (com.google.monitoring.v3.BasicSli) type_; } return com.google.monitoring.v3.BasicSli.getDefaultInstance(); } /** + * + * *
      * `BasicSli` to evaluate to judge window quality.
      * 
@@ -454,7 +545,7 @@ public com.google.monitoring.v3.BasicSli getBasicSliPerformance() { @java.lang.Override public com.google.monitoring.v3.BasicSliOrBuilder getBasicSliPerformanceOrBuilder() { if (typeCase_ == 3) { - return (com.google.monitoring.v3.BasicSli) type_; + return (com.google.monitoring.v3.BasicSli) type_; } return com.google.monitoring.v3.BasicSli.getDefaultInstance(); } @@ -462,11 +553,14 @@ public com.google.monitoring.v3.BasicSliOrBuilder getBasicSliPerformanceOrBuilde public static final int THRESHOLD_FIELD_NUMBER = 2; private double threshold_; /** + * + * *
      * If window `performance >= threshold`, the window is counted as good.
      * 
* * double threshold = 2; + * * @return The threshold. */ @java.lang.Override @@ -475,6 +569,7 @@ public double getThreshold() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -486,8 +581,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (typeCase_ == 1) { output.writeMessage(1, (com.google.monitoring.v3.RequestBasedSli) type_); } @@ -507,16 +601,17 @@ public int getSerializedSize() { size = 0; if (typeCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.monitoring.v3.RequestBasedSli) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.monitoring.v3.RequestBasedSli) type_); } if (threshold_ != 0D) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(2, threshold_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, threshold_); } if (typeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.monitoring.v3.BasicSli) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.monitoring.v3.BasicSli) type_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -526,25 +621,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.monitoring.v3.WindowsBasedSli.PerformanceThreshold)) { return super.equals(obj); } - com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold other = (com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) obj; + com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold other = + (com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) obj; if (java.lang.Double.doubleToLongBits(getThreshold()) - != java.lang.Double.doubleToLongBits( - other.getThreshold())) return false; + != java.lang.Double.doubleToLongBits(other.getThreshold())) return false; if (!getTypeCase().equals(other.getTypeCase())) return false; switch (typeCase_) { case 1: - if (!getPerformance() - .equals(other.getPerformance())) return false; + if (!getPerformance().equals(other.getPerformance())) return false; break; case 3: - if (!getBasicSliPerformance() - .equals(other.getBasicSliPerformance())) return false; + if (!getBasicSliPerformance().equals(other.getBasicSliPerformance())) return false; break; case 0: default: @@ -561,8 +654,10 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + THRESHOLD_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getThreshold())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getThreshold())); switch (typeCase_) { case 1: hash = (37 * hash) + PERFORMANCE_FIELD_NUMBER; @@ -581,87 +676,94 @@ public int hashCode() { } public static com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold prototype) { + + public static Builder newBuilder( + com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -671,6 +773,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A `PerformanceThreshold` is used when each window is good when that window
      * has a sufficiently high `performance`.
@@ -678,21 +782,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.monitoring.v3.WindowsBasedSli.PerformanceThreshold}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.monitoring.v3.WindowsBasedSli.PerformanceThreshold)
         com.google.monitoring.v3.WindowsBasedSli.PerformanceThresholdOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_WindowsBasedSli_PerformanceThreshold_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.monitoring.v3.ServiceMonitoringProto
+            .internal_static_google_monitoring_v3_WindowsBasedSli_PerformanceThreshold_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_WindowsBasedSli_PerformanceThreshold_fieldAccessorTable
+        return com.google.monitoring.v3.ServiceMonitoringProto
+            .internal_static_google_monitoring_v3_WindowsBasedSli_PerformanceThreshold_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.class, com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.Builder.class);
+                com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.class,
+                com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.Builder.class);
       }
 
       // Construct using com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.newBuilder()
@@ -700,16 +807,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -721,13 +827,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_WindowsBasedSli_PerformanceThreshold_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.monitoring.v3.ServiceMonitoringProto
+            .internal_static_google_monitoring_v3_WindowsBasedSli_PerformanceThreshold_descriptor;
       }
 
       @java.lang.Override
-      public com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold getDefaultInstanceForType() {
+      public com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold
+          getDefaultInstanceForType() {
         return com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.getDefaultInstance();
       }
 
@@ -742,7 +849,8 @@ public com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold build() {
 
       @java.lang.Override
       public com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold buildPartial() {
-        com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold result = new com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold(this);
+        com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold result =
+            new com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold(this);
         if (typeCase_ == 1) {
           if (performanceBuilder_ == null) {
             result.type_ = type_;
@@ -767,61 +875,70 @@ public com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold buildPartia
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) {
-          return mergeFrom((com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold)other);
+          return mergeFrom((com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold other) {
-        if (other == com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold other) {
+        if (other
+            == com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.getDefaultInstance())
+          return this;
         if (other.getThreshold() != 0D) {
           setThreshold(other.getThreshold());
         }
         switch (other.getTypeCase()) {
-          case PERFORMANCE: {
-            mergePerformance(other.getPerformance());
-            break;
-          }
-          case BASIC_SLI_PERFORMANCE: {
-            mergeBasicSliPerformance(other.getBasicSliPerformance());
-            break;
-          }
-          case TYPE_NOT_SET: {
-            break;
-          }
+          case PERFORMANCE:
+            {
+              mergePerformance(other.getPerformance());
+              break;
+            }
+          case BASIC_SLI_PERFORMANCE:
+            {
+              mergeBasicSliPerformance(other.getBasicSliPerformance());
+              break;
+            }
+          case TYPE_NOT_SET:
+            {
+              break;
+            }
         }
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
@@ -842,7 +959,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -851,12 +970,12 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int typeCase_ = 0;
       private java.lang.Object type_;
-      public TypeCase
-          getTypeCase() {
-        return TypeCase.forNumber(
-            typeCase_);
+
+      public TypeCase getTypeCase() {
+        return TypeCase.forNumber(typeCase_);
       }
 
       public Builder clearType() {
@@ -866,15 +985,20 @@ public Builder clearType() {
         return this;
       }
 
-
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.monitoring.v3.RequestBasedSli, com.google.monitoring.v3.RequestBasedSli.Builder, com.google.monitoring.v3.RequestBasedSliOrBuilder> performanceBuilder_;
+              com.google.monitoring.v3.RequestBasedSli,
+              com.google.monitoring.v3.RequestBasedSli.Builder,
+              com.google.monitoring.v3.RequestBasedSliOrBuilder>
+          performanceBuilder_;
       /**
+       *
+       *
        * 
        * `RequestBasedSli` to evaluate to judge window quality.
        * 
* * .google.monitoring.v3.RequestBasedSli performance = 1; + * * @return Whether the performance field is set. */ @java.lang.Override @@ -882,11 +1006,14 @@ public boolean hasPerformance() { return typeCase_ == 1; } /** + * + * *
        * `RequestBasedSli` to evaluate to judge window quality.
        * 
* * .google.monitoring.v3.RequestBasedSli performance = 1; + * * @return The performance. */ @java.lang.Override @@ -904,6 +1031,8 @@ public com.google.monitoring.v3.RequestBasedSli getPerformance() { } } /** + * + * *
        * `RequestBasedSli` to evaluate to judge window quality.
        * 
@@ -924,6 +1053,8 @@ public Builder setPerformance(com.google.monitoring.v3.RequestBasedSli value) { return this; } /** + * + * *
        * `RequestBasedSli` to evaluate to judge window quality.
        * 
@@ -942,6 +1073,8 @@ public Builder setPerformance( return this; } /** + * + * *
        * `RequestBasedSli` to evaluate to judge window quality.
        * 
@@ -950,10 +1083,13 @@ public Builder setPerformance( */ public Builder mergePerformance(com.google.monitoring.v3.RequestBasedSli value) { if (performanceBuilder_ == null) { - if (typeCase_ == 1 && - type_ != com.google.monitoring.v3.RequestBasedSli.getDefaultInstance()) { - type_ = com.google.monitoring.v3.RequestBasedSli.newBuilder((com.google.monitoring.v3.RequestBasedSli) type_) - .mergeFrom(value).buildPartial(); + if (typeCase_ == 1 + && type_ != com.google.monitoring.v3.RequestBasedSli.getDefaultInstance()) { + type_ = + com.google.monitoring.v3.RequestBasedSli.newBuilder( + (com.google.monitoring.v3.RequestBasedSli) type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -968,6 +1104,8 @@ public Builder mergePerformance(com.google.monitoring.v3.RequestBasedSli value) return this; } /** + * + * *
        * `RequestBasedSli` to evaluate to judge window quality.
        * 
@@ -991,6 +1129,8 @@ public Builder clearPerformance() { return this; } /** + * + * *
        * `RequestBasedSli` to evaluate to judge window quality.
        * 
@@ -1001,6 +1141,8 @@ public com.google.monitoring.v3.RequestBasedSli.Builder getPerformanceBuilder() return getPerformanceFieldBuilder().getBuilder(); } /** + * + * *
        * `RequestBasedSli` to evaluate to judge window quality.
        * 
@@ -1019,6 +1161,8 @@ public com.google.monitoring.v3.RequestBasedSliOrBuilder getPerformanceOrBuilder } } /** + * + * *
        * `RequestBasedSli` to evaluate to judge window quality.
        * 
@@ -1026,32 +1170,44 @@ public com.google.monitoring.v3.RequestBasedSliOrBuilder getPerformanceOrBuilder * .google.monitoring.v3.RequestBasedSli performance = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.RequestBasedSli, com.google.monitoring.v3.RequestBasedSli.Builder, com.google.monitoring.v3.RequestBasedSliOrBuilder> + com.google.monitoring.v3.RequestBasedSli, + com.google.monitoring.v3.RequestBasedSli.Builder, + com.google.monitoring.v3.RequestBasedSliOrBuilder> getPerformanceFieldBuilder() { if (performanceBuilder_ == null) { if (!(typeCase_ == 1)) { type_ = com.google.monitoring.v3.RequestBasedSli.getDefaultInstance(); } - performanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.RequestBasedSli, com.google.monitoring.v3.RequestBasedSli.Builder, com.google.monitoring.v3.RequestBasedSliOrBuilder>( + performanceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.RequestBasedSli, + com.google.monitoring.v3.RequestBasedSli.Builder, + com.google.monitoring.v3.RequestBasedSliOrBuilder>( (com.google.monitoring.v3.RequestBasedSli) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 1; - onChanged();; + onChanged(); + ; return performanceBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.BasicSli, com.google.monitoring.v3.BasicSli.Builder, com.google.monitoring.v3.BasicSliOrBuilder> basicSliPerformanceBuilder_; + com.google.monitoring.v3.BasicSli, + com.google.monitoring.v3.BasicSli.Builder, + com.google.monitoring.v3.BasicSliOrBuilder> + basicSliPerformanceBuilder_; /** + * + * *
        * `BasicSli` to evaluate to judge window quality.
        * 
* * .google.monitoring.v3.BasicSli basic_sli_performance = 3; + * * @return Whether the basicSliPerformance field is set. */ @java.lang.Override @@ -1059,11 +1215,14 @@ public boolean hasBasicSliPerformance() { return typeCase_ == 3; } /** + * + * *
        * `BasicSli` to evaluate to judge window quality.
        * 
* * .google.monitoring.v3.BasicSli basic_sli_performance = 3; + * * @return The basicSliPerformance. */ @java.lang.Override @@ -1081,6 +1240,8 @@ public com.google.monitoring.v3.BasicSli getBasicSliPerformance() { } } /** + * + * *
        * `BasicSli` to evaluate to judge window quality.
        * 
@@ -1101,6 +1262,8 @@ public Builder setBasicSliPerformance(com.google.monitoring.v3.BasicSli value) { return this; } /** + * + * *
        * `BasicSli` to evaluate to judge window quality.
        * 
@@ -1119,6 +1282,8 @@ public Builder setBasicSliPerformance( return this; } /** + * + * *
        * `BasicSli` to evaluate to judge window quality.
        * 
@@ -1127,10 +1292,12 @@ public Builder setBasicSliPerformance( */ public Builder mergeBasicSliPerformance(com.google.monitoring.v3.BasicSli value) { if (basicSliPerformanceBuilder_ == null) { - if (typeCase_ == 3 && - type_ != com.google.monitoring.v3.BasicSli.getDefaultInstance()) { - type_ = com.google.monitoring.v3.BasicSli.newBuilder((com.google.monitoring.v3.BasicSli) type_) - .mergeFrom(value).buildPartial(); + if (typeCase_ == 3 && type_ != com.google.monitoring.v3.BasicSli.getDefaultInstance()) { + type_ = + com.google.monitoring.v3.BasicSli.newBuilder( + (com.google.monitoring.v3.BasicSli) type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -1145,6 +1312,8 @@ public Builder mergeBasicSliPerformance(com.google.monitoring.v3.BasicSli value) return this; } /** + * + * *
        * `BasicSli` to evaluate to judge window quality.
        * 
@@ -1168,6 +1337,8 @@ public Builder clearBasicSliPerformance() { return this; } /** + * + * *
        * `BasicSli` to evaluate to judge window quality.
        * 
@@ -1178,6 +1349,8 @@ public com.google.monitoring.v3.BasicSli.Builder getBasicSliPerformanceBuilder() return getBasicSliPerformanceFieldBuilder().getBuilder(); } /** + * + * *
        * `BasicSli` to evaluate to judge window quality.
        * 
@@ -1196,6 +1369,8 @@ public com.google.monitoring.v3.BasicSliOrBuilder getBasicSliPerformanceOrBuilde } } /** + * + * *
        * `BasicSli` to evaluate to judge window quality.
        * 
@@ -1203,31 +1378,38 @@ public com.google.monitoring.v3.BasicSliOrBuilder getBasicSliPerformanceOrBuilde * .google.monitoring.v3.BasicSli basic_sli_performance = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.BasicSli, com.google.monitoring.v3.BasicSli.Builder, com.google.monitoring.v3.BasicSliOrBuilder> + com.google.monitoring.v3.BasicSli, + com.google.monitoring.v3.BasicSli.Builder, + com.google.monitoring.v3.BasicSliOrBuilder> getBasicSliPerformanceFieldBuilder() { if (basicSliPerformanceBuilder_ == null) { if (!(typeCase_ == 3)) { type_ = com.google.monitoring.v3.BasicSli.getDefaultInstance(); } - basicSliPerformanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.BasicSli, com.google.monitoring.v3.BasicSli.Builder, com.google.monitoring.v3.BasicSliOrBuilder>( - (com.google.monitoring.v3.BasicSli) type_, - getParentForChildren(), - isClean()); + basicSliPerformanceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.BasicSli, + com.google.monitoring.v3.BasicSli.Builder, + com.google.monitoring.v3.BasicSliOrBuilder>( + (com.google.monitoring.v3.BasicSli) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 3; - onChanged();; + onChanged(); + ; return basicSliPerformanceBuilder_; } - private double threshold_ ; + private double threshold_; /** + * + * *
        * If window `performance >= threshold`, the window is counted as good.
        * 
* * double threshold = 2; + * * @return The threshold. */ @java.lang.Override @@ -1235,34 +1417,41 @@ public double getThreshold() { return threshold_; } /** + * + * *
        * If window `performance >= threshold`, the window is counted as good.
        * 
* * double threshold = 2; + * * @param value The threshold to set. * @return This builder for chaining. */ public Builder setThreshold(double value) { - + threshold_ = value; onChanged(); return this; } /** + * + * *
        * If window `performance >= threshold`, the window is counted as good.
        * 
* * double threshold = 2; + * * @return This builder for chaining. */ public Builder clearThreshold() { - + threshold_ = 0D; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1275,30 +1464,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) } // @@protoc_insertion_point(class_scope:google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) - private static final com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold DEFAULT_INSTANCE; + private static final com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold(); } - public static com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold getDefaultInstance() { + public static com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PerformanceThreshold parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PerformanceThreshold(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PerformanceThreshold parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PerformanceThreshold(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1310,59 +1501,73 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold getDefaultInstanceForType() { + public com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface MetricRangeOrBuilder extends + public interface MetricRangeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.monitoring.v3.WindowsBasedSli.MetricRange) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying the `TimeSeries` to use for evaluating window quality.
      * 
* * string time_series = 1; + * * @return The timeSeries. */ java.lang.String getTimeSeries(); /** + * + * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying the `TimeSeries` to use for evaluating window quality.
      * 
* * string time_series = 1; + * * @return The bytes for timeSeries. */ - com.google.protobuf.ByteString - getTimeSeriesBytes(); + com.google.protobuf.ByteString getTimeSeriesBytes(); /** + * + * *
      * Range of values considered "good." For a one-sided range, set one bound
      * to an infinite value.
      * 
* * .google.monitoring.v3.Range range = 4; + * * @return Whether the range field is set. */ boolean hasRange(); /** + * + * *
      * Range of values considered "good." For a one-sided range, set one bound
      * to an infinite value.
      * 
* * .google.monitoring.v3.Range range = 4; + * * @return The range. */ com.google.monitoring.v3.Range getRange(); /** + * + * *
      * Range of values considered "good." For a one-sided range, set one bound
      * to an infinite value.
@@ -1373,6 +1578,8 @@ public interface MetricRangeOrBuilder extends
     com.google.monitoring.v3.RangeOrBuilder getRangeOrBuilder();
   }
   /**
+   *
+   *
    * 
    * A `MetricRange` is used when each window is good when the value x of a
    * single `TimeSeries` satisfies `range.min <= x <= range.max`. The provided
@@ -1382,31 +1589,31 @@ public interface MetricRangeOrBuilder extends
    *
    * Protobuf type {@code google.monitoring.v3.WindowsBasedSli.MetricRange}
    */
-  public static final class MetricRange extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class MetricRange extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.monitoring.v3.WindowsBasedSli.MetricRange)
       MetricRangeOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use MetricRange.newBuilder() to construct.
     private MetricRange(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private MetricRange() {
       timeSeries_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new MetricRange();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private MetricRange(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1425,66 +1632,74 @@ private MetricRange(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              timeSeries_ = s;
-              break;
-            }
-            case 34: {
-              com.google.monitoring.v3.Range.Builder subBuilder = null;
-              if (range_ != null) {
-                subBuilder = range_.toBuilder();
+                timeSeries_ = s;
+                break;
               }
-              range_ = input.readMessage(com.google.monitoring.v3.Range.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(range_);
-                range_ = subBuilder.buildPartial();
+            case 34:
+              {
+                com.google.monitoring.v3.Range.Builder subBuilder = null;
+                if (range_ != null) {
+                  subBuilder = range_.toBuilder();
+                }
+                range_ =
+                    input.readMessage(com.google.monitoring.v3.Range.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(range_);
+                  range_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
-
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_WindowsBasedSli_MetricRange_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.monitoring.v3.ServiceMonitoringProto
+          .internal_static_google_monitoring_v3_WindowsBasedSli_MetricRange_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_WindowsBasedSli_MetricRange_fieldAccessorTable
+      return com.google.monitoring.v3.ServiceMonitoringProto
+          .internal_static_google_monitoring_v3_WindowsBasedSli_MetricRange_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.WindowsBasedSli.MetricRange.class, com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder.class);
+              com.google.monitoring.v3.WindowsBasedSli.MetricRange.class,
+              com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder.class);
     }
 
     public static final int TIME_SERIES_FIELD_NUMBER = 1;
     private volatile java.lang.Object timeSeries_;
     /**
+     *
+     *
      * 
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying the `TimeSeries` to use for evaluating window quality.
      * 
* * string time_series = 1; + * * @return The timeSeries. */ @java.lang.Override @@ -1493,30 +1708,30 @@ public java.lang.String getTimeSeries() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timeSeries_ = s; return s; } } /** + * + * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying the `TimeSeries` to use for evaluating window quality.
      * 
* * string time_series = 1; + * * @return The bytes for timeSeries. */ @java.lang.Override - public com.google.protobuf.ByteString - getTimeSeriesBytes() { + public com.google.protobuf.ByteString getTimeSeriesBytes() { java.lang.Object ref = timeSeries_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); timeSeries_ = b; return b; } else { @@ -1527,12 +1742,15 @@ public java.lang.String getTimeSeries() { public static final int RANGE_FIELD_NUMBER = 4; private com.google.monitoring.v3.Range range_; /** + * + * *
      * Range of values considered "good." For a one-sided range, set one bound
      * to an infinite value.
      * 
* * .google.monitoring.v3.Range range = 4; + * * @return Whether the range field is set. */ @java.lang.Override @@ -1540,12 +1758,15 @@ public boolean hasRange() { return range_ != null; } /** + * + * *
      * Range of values considered "good." For a one-sided range, set one bound
      * to an infinite value.
      * 
* * .google.monitoring.v3.Range range = 4; + * * @return The range. */ @java.lang.Override @@ -1553,6 +1774,8 @@ public com.google.monitoring.v3.Range getRange() { return range_ == null ? com.google.monitoring.v3.Range.getDefaultInstance() : range_; } /** + * + * *
      * Range of values considered "good." For a one-sided range, set one bound
      * to an infinite value.
@@ -1566,6 +1789,7 @@ public com.google.monitoring.v3.RangeOrBuilder getRangeOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1577,8 +1801,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(timeSeries_)) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 1, timeSeries_);
       }
@@ -1598,8 +1821,7 @@ public int getSerializedSize() {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, timeSeries_);
       }
       if (range_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(4, getRange());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getRange());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -1609,19 +1831,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.monitoring.v3.WindowsBasedSli.MetricRange)) {
         return super.equals(obj);
       }
-      com.google.monitoring.v3.WindowsBasedSli.MetricRange other = (com.google.monitoring.v3.WindowsBasedSli.MetricRange) obj;
+      com.google.monitoring.v3.WindowsBasedSli.MetricRange other =
+          (com.google.monitoring.v3.WindowsBasedSli.MetricRange) obj;
 
-      if (!getTimeSeries()
-          .equals(other.getTimeSeries())) return false;
+      if (!getTimeSeries().equals(other.getTimeSeries())) return false;
       if (hasRange() != other.hasRange()) return false;
       if (hasRange()) {
-        if (!getRange()
-            .equals(other.getRange())) return false;
+        if (!getRange().equals(other.getRange())) return false;
       }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -1646,87 +1867,94 @@ public int hashCode() {
     }
 
     public static com.google.monitoring.v3.WindowsBasedSli.MetricRange parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.monitoring.v3.WindowsBasedSli.MetricRange parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.monitoring.v3.WindowsBasedSli.MetricRange parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.monitoring.v3.WindowsBasedSli.MetricRange parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.monitoring.v3.WindowsBasedSli.MetricRange parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.monitoring.v3.WindowsBasedSli.MetricRange parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.monitoring.v3.WindowsBasedSli.MetricRange parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.monitoring.v3.WindowsBasedSli.MetricRange parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.monitoring.v3.WindowsBasedSli.MetricRange parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.monitoring.v3.WindowsBasedSli.MetricRange parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.monitoring.v3.WindowsBasedSli.MetricRange parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.monitoring.v3.WindowsBasedSli.MetricRange parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.monitoring.v3.WindowsBasedSli.MetricRange parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.monitoring.v3.WindowsBasedSli.MetricRange parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.monitoring.v3.WindowsBasedSli.MetricRange prototype) {
+
+    public static Builder newBuilder(
+        com.google.monitoring.v3.WindowsBasedSli.MetricRange prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -1736,6 +1964,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * A `MetricRange` is used when each window is good when the value x of a
      * single `TimeSeries` satisfies `range.min <= x <= range.max`. The provided
@@ -1745,21 +1975,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.monitoring.v3.WindowsBasedSli.MetricRange}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.monitoring.v3.WindowsBasedSli.MetricRange)
         com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_WindowsBasedSli_MetricRange_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.monitoring.v3.ServiceMonitoringProto
+            .internal_static_google_monitoring_v3_WindowsBasedSli_MetricRange_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_WindowsBasedSli_MetricRange_fieldAccessorTable
+        return com.google.monitoring.v3.ServiceMonitoringProto
+            .internal_static_google_monitoring_v3_WindowsBasedSli_MetricRange_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.monitoring.v3.WindowsBasedSli.MetricRange.class, com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder.class);
+                com.google.monitoring.v3.WindowsBasedSli.MetricRange.class,
+                com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder.class);
       }
 
       // Construct using com.google.monitoring.v3.WindowsBasedSli.MetricRange.newBuilder()
@@ -1767,16 +2000,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1792,9 +2024,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_WindowsBasedSli_MetricRange_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.monitoring.v3.ServiceMonitoringProto
+            .internal_static_google_monitoring_v3_WindowsBasedSli_MetricRange_descriptor;
       }
 
       @java.lang.Override
@@ -1813,7 +2045,8 @@ public com.google.monitoring.v3.WindowsBasedSli.MetricRange build() {
 
       @java.lang.Override
       public com.google.monitoring.v3.WindowsBasedSli.MetricRange buildPartial() {
-        com.google.monitoring.v3.WindowsBasedSli.MetricRange result = new com.google.monitoring.v3.WindowsBasedSli.MetricRange(this);
+        com.google.monitoring.v3.WindowsBasedSli.MetricRange result =
+            new com.google.monitoring.v3.WindowsBasedSli.MetricRange(this);
         result.timeSeries_ = timeSeries_;
         if (rangeBuilder_ == null) {
           result.range_ = range_;
@@ -1828,38 +2061,41 @@ public com.google.monitoring.v3.WindowsBasedSli.MetricRange 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.monitoring.v3.WindowsBasedSli.MetricRange) {
-          return mergeFrom((com.google.monitoring.v3.WindowsBasedSli.MetricRange)other);
+          return mergeFrom((com.google.monitoring.v3.WindowsBasedSli.MetricRange) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1867,7 +2103,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.monitoring.v3.WindowsBasedSli.MetricRange other) {
-        if (other == com.google.monitoring.v3.WindowsBasedSli.MetricRange.getDefaultInstance()) return this;
+        if (other == com.google.monitoring.v3.WindowsBasedSli.MetricRange.getDefaultInstance())
+          return this;
         if (!other.getTimeSeries().isEmpty()) {
           timeSeries_ = other.timeSeries_;
           onChanged();
@@ -1894,7 +2131,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.monitoring.v3.WindowsBasedSli.MetricRange) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.monitoring.v3.WindowsBasedSli.MetricRange) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1906,19 +2144,21 @@ public Builder mergeFrom(
 
       private java.lang.Object timeSeries_ = "";
       /**
+       *
+       *
        * 
        * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
        * specifying the `TimeSeries` to use for evaluating window quality.
        * 
* * string time_series = 1; + * * @return The timeSeries. */ public java.lang.String getTimeSeries() { java.lang.Object ref = timeSeries_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timeSeries_ = s; return s; @@ -1927,21 +2167,22 @@ public java.lang.String getTimeSeries() { } } /** + * + * *
        * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
        * specifying the `TimeSeries` to use for evaluating window quality.
        * 
* * string time_series = 1; + * * @return The bytes for timeSeries. */ - public com.google.protobuf.ByteString - getTimeSeriesBytes() { + public com.google.protobuf.ByteString getTimeSeriesBytes() { java.lang.Object ref = timeSeries_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); timeSeries_ = b; return b; } else { @@ -1949,57 +2190,64 @@ public java.lang.String getTimeSeries() { } } /** + * + * *
        * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
        * specifying the `TimeSeries` to use for evaluating window quality.
        * 
* * string time_series = 1; + * * @param value The timeSeries to set. * @return This builder for chaining. */ - public Builder setTimeSeries( - java.lang.String value) { + public Builder setTimeSeries(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + timeSeries_ = value; onChanged(); return this; } /** + * + * *
        * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
        * specifying the `TimeSeries` to use for evaluating window quality.
        * 
* * string time_series = 1; + * * @return This builder for chaining. */ public Builder clearTimeSeries() { - + timeSeries_ = getDefaultInstance().getTimeSeries(); onChanged(); return this; } /** + * + * *
        * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
        * specifying the `TimeSeries` to use for evaluating window quality.
        * 
* * string time_series = 1; + * * @param value The bytes for timeSeries to set. * @return This builder for chaining. */ - public Builder setTimeSeriesBytes( - com.google.protobuf.ByteString value) { + public Builder setTimeSeriesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + timeSeries_ = value; onChanged(); return this; @@ -2007,26 +2255,35 @@ public Builder setTimeSeriesBytes( private com.google.monitoring.v3.Range range_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.Range, com.google.monitoring.v3.Range.Builder, com.google.monitoring.v3.RangeOrBuilder> rangeBuilder_; + com.google.monitoring.v3.Range, + com.google.monitoring.v3.Range.Builder, + com.google.monitoring.v3.RangeOrBuilder> + rangeBuilder_; /** + * + * *
        * Range of values considered "good." For a one-sided range, set one bound
        * to an infinite value.
        * 
* * .google.monitoring.v3.Range range = 4; + * * @return Whether the range field is set. */ public boolean hasRange() { return rangeBuilder_ != null || range_ != null; } /** + * + * *
        * Range of values considered "good." For a one-sided range, set one bound
        * to an infinite value.
        * 
* * .google.monitoring.v3.Range range = 4; + * * @return The range. */ public com.google.monitoring.v3.Range getRange() { @@ -2037,6 +2294,8 @@ public com.google.monitoring.v3.Range getRange() { } } /** + * + * *
        * Range of values considered "good." For a one-sided range, set one bound
        * to an infinite value.
@@ -2058,6 +2317,8 @@ public Builder setRange(com.google.monitoring.v3.Range value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Range of values considered "good." For a one-sided range, set one bound
        * to an infinite value.
@@ -2065,8 +2326,7 @@ public Builder setRange(com.google.monitoring.v3.Range value) {
        *
        * .google.monitoring.v3.Range range = 4;
        */
-      public Builder setRange(
-          com.google.monitoring.v3.Range.Builder builderForValue) {
+      public Builder setRange(com.google.monitoring.v3.Range.Builder builderForValue) {
         if (rangeBuilder_ == null) {
           range_ = builderForValue.build();
           onChanged();
@@ -2077,6 +2337,8 @@ public Builder setRange(
         return this;
       }
       /**
+       *
+       *
        * 
        * Range of values considered "good." For a one-sided range, set one bound
        * to an infinite value.
@@ -2088,7 +2350,7 @@ public Builder mergeRange(com.google.monitoring.v3.Range value) {
         if (rangeBuilder_ == null) {
           if (range_ != null) {
             range_ =
-              com.google.monitoring.v3.Range.newBuilder(range_).mergeFrom(value).buildPartial();
+                com.google.monitoring.v3.Range.newBuilder(range_).mergeFrom(value).buildPartial();
           } else {
             range_ = value;
           }
@@ -2100,6 +2362,8 @@ public Builder mergeRange(com.google.monitoring.v3.Range value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Range of values considered "good." For a one-sided range, set one bound
        * to an infinite value.
@@ -2119,6 +2383,8 @@ public Builder clearRange() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Range of values considered "good." For a one-sided range, set one bound
        * to an infinite value.
@@ -2127,11 +2393,13 @@ public Builder clearRange() {
        * .google.monitoring.v3.Range range = 4;
        */
       public com.google.monitoring.v3.Range.Builder getRangeBuilder() {
-        
+
         onChanged();
         return getRangeFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Range of values considered "good." For a one-sided range, set one bound
        * to an infinite value.
@@ -2143,11 +2411,12 @@ public com.google.monitoring.v3.RangeOrBuilder getRangeOrBuilder() {
         if (rangeBuilder_ != null) {
           return rangeBuilder_.getMessageOrBuilder();
         } else {
-          return range_ == null ?
-              com.google.monitoring.v3.Range.getDefaultInstance() : range_;
+          return range_ == null ? com.google.monitoring.v3.Range.getDefaultInstance() : range_;
         }
       }
       /**
+       *
+       *
        * 
        * Range of values considered "good." For a one-sided range, set one bound
        * to an infinite value.
@@ -2156,18 +2425,22 @@ public com.google.monitoring.v3.RangeOrBuilder getRangeOrBuilder() {
        * .google.monitoring.v3.Range range = 4;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.monitoring.v3.Range, com.google.monitoring.v3.Range.Builder, com.google.monitoring.v3.RangeOrBuilder> 
+              com.google.monitoring.v3.Range,
+              com.google.monitoring.v3.Range.Builder,
+              com.google.monitoring.v3.RangeOrBuilder>
           getRangeFieldBuilder() {
         if (rangeBuilder_ == null) {
-          rangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.monitoring.v3.Range, com.google.monitoring.v3.Range.Builder, com.google.monitoring.v3.RangeOrBuilder>(
-                  getRange(),
-                  getParentForChildren(),
-                  isClean());
+          rangeBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.monitoring.v3.Range,
+                  com.google.monitoring.v3.Range.Builder,
+                  com.google.monitoring.v3.RangeOrBuilder>(
+                  getRange(), getParentForChildren(), isClean());
           range_ = null;
         }
         return rangeBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -2180,12 +2453,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.monitoring.v3.WindowsBasedSli.MetricRange)
     }
 
     // @@protoc_insertion_point(class_scope:google.monitoring.v3.WindowsBasedSli.MetricRange)
     private static final com.google.monitoring.v3.WindowsBasedSli.MetricRange DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.monitoring.v3.WindowsBasedSli.MetricRange();
     }
@@ -2194,16 +2467,16 @@ public static com.google.monitoring.v3.WindowsBasedSli.MetricRange getDefaultIns
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public MetricRange parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new MetricRange(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public MetricRange parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new MetricRange(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -2218,13 +2491,14 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.monitoring.v3.WindowsBasedSli.MetricRange getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   private int windowCriterionCase_ = 0;
   private java.lang.Object windowCriterion_;
+
   public enum WindowCriterionCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     GOOD_BAD_METRIC_FILTER(5),
     GOOD_TOTAL_RATIO_THRESHOLD(2),
@@ -2232,6 +2506,7 @@ public enum WindowCriterionCase
     METRIC_SUM_IN_RANGE(7),
     WINDOWCRITERION_NOT_SET(0);
     private final int value;
+
     private WindowCriterionCase(int value) {
       this.value = value;
     }
@@ -2247,27 +2522,34 @@ public static WindowCriterionCase valueOf(int value) {
 
     public static WindowCriterionCase forNumber(int value) {
       switch (value) {
-        case 5: return GOOD_BAD_METRIC_FILTER;
-        case 2: return GOOD_TOTAL_RATIO_THRESHOLD;
-        case 6: return METRIC_MEAN_IN_RANGE;
-        case 7: return METRIC_SUM_IN_RANGE;
-        case 0: return WINDOWCRITERION_NOT_SET;
-        default: return null;
+        case 5:
+          return GOOD_BAD_METRIC_FILTER;
+        case 2:
+          return GOOD_TOTAL_RATIO_THRESHOLD;
+        case 6:
+          return METRIC_MEAN_IN_RANGE;
+        case 7:
+          return METRIC_SUM_IN_RANGE;
+        case 0:
+          return WINDOWCRITERION_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public WindowCriterionCase
-  getWindowCriterionCase() {
-    return WindowCriterionCase.forNumber(
-        windowCriterionCase_);
+  public WindowCriterionCase getWindowCriterionCase() {
+    return WindowCriterionCase.forNumber(windowCriterionCase_);
   }
 
   public static final int GOOD_BAD_METRIC_FILTER_FIELD_NUMBER = 5;
   /**
+   *
+   *
    * 
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` with `ValueType = BOOL`. The window is good if
@@ -2275,12 +2557,15 @@ public int getNumber() {
    * 
* * string good_bad_metric_filter = 5; + * * @return Whether the goodBadMetricFilter field is set. */ public boolean hasGoodBadMetricFilter() { return windowCriterionCase_ == 5; } /** + * + * *
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` with `ValueType = BOOL`. The window is good if
@@ -2288,6 +2573,7 @@ public boolean hasGoodBadMetricFilter() {
    * 
* * string good_bad_metric_filter = 5; + * * @return The goodBadMetricFilter. */ public java.lang.String getGoodBadMetricFilter() { @@ -2298,8 +2584,7 @@ public java.lang.String getGoodBadMetricFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (windowCriterionCase_ == 5) { windowCriterion_ = s; @@ -2308,6 +2593,8 @@ public java.lang.String getGoodBadMetricFilter() { } } /** + * + * *
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` with `ValueType = BOOL`. The window is good if
@@ -2315,18 +2602,17 @@ public java.lang.String getGoodBadMetricFilter() {
    * 
* * string good_bad_metric_filter = 5; + * * @return The bytes for goodBadMetricFilter. */ - public com.google.protobuf.ByteString - getGoodBadMetricFilterBytes() { + public com.google.protobuf.ByteString getGoodBadMetricFilterBytes() { java.lang.Object ref = ""; if (windowCriterionCase_ == 5) { ref = windowCriterion_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (windowCriterionCase_ == 5) { windowCriterion_ = b; } @@ -2338,11 +2624,16 @@ public java.lang.String getGoodBadMetricFilter() { public static final int GOOD_TOTAL_RATIO_THRESHOLD_FIELD_NUMBER = 2; /** + * + * *
    * A window is good if its `performance` is high enough.
    * 
* - * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; + * + * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; + * + * * @return Whether the goodTotalRatioThreshold field is set. */ @java.lang.Override @@ -2350,43 +2641,57 @@ public boolean hasGoodTotalRatioThreshold() { return windowCriterionCase_ == 2; } /** + * + * *
    * A window is good if its `performance` is high enough.
    * 
* - * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; + * + * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; + * + * * @return The goodTotalRatioThreshold. */ @java.lang.Override - public com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold getGoodTotalRatioThreshold() { + public com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold + getGoodTotalRatioThreshold() { if (windowCriterionCase_ == 2) { - return (com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) windowCriterion_; + return (com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) windowCriterion_; } return com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.getDefaultInstance(); } /** + * + * *
    * A window is good if its `performance` is high enough.
    * 
* - * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; + * + * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; + * */ @java.lang.Override - public com.google.monitoring.v3.WindowsBasedSli.PerformanceThresholdOrBuilder getGoodTotalRatioThresholdOrBuilder() { + public com.google.monitoring.v3.WindowsBasedSli.PerformanceThresholdOrBuilder + getGoodTotalRatioThresholdOrBuilder() { if (windowCriterionCase_ == 2) { - return (com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) windowCriterion_; + return (com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) windowCriterion_; } return com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.getDefaultInstance(); } public static final int METRIC_MEAN_IN_RANGE_FIELD_NUMBER = 6; /** + * + * *
    * A window is good if the metric's value is in a good range, averaged
    * across returned streams.
    * 
* * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_mean_in_range = 6; + * * @return Whether the metricMeanInRange field is set. */ @java.lang.Override @@ -2394,22 +2699,27 @@ public boolean hasMetricMeanInRange() { return windowCriterionCase_ == 6; } /** + * + * *
    * A window is good if the metric's value is in a good range, averaged
    * across returned streams.
    * 
* * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_mean_in_range = 6; + * * @return The metricMeanInRange. */ @java.lang.Override public com.google.monitoring.v3.WindowsBasedSli.MetricRange getMetricMeanInRange() { if (windowCriterionCase_ == 6) { - return (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_; + return (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_; } return com.google.monitoring.v3.WindowsBasedSli.MetricRange.getDefaultInstance(); } /** + * + * *
    * A window is good if the metric's value is in a good range, averaged
    * across returned streams.
@@ -2418,21 +2728,25 @@ public com.google.monitoring.v3.WindowsBasedSli.MetricRange getMetricMeanInRange
    * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_mean_in_range = 6;
    */
   @java.lang.Override
-  public com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder getMetricMeanInRangeOrBuilder() {
+  public com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder
+      getMetricMeanInRangeOrBuilder() {
     if (windowCriterionCase_ == 6) {
-       return (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_;
+      return (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_;
     }
     return com.google.monitoring.v3.WindowsBasedSli.MetricRange.getDefaultInstance();
   }
 
   public static final int METRIC_SUM_IN_RANGE_FIELD_NUMBER = 7;
   /**
+   *
+   *
    * 
    * A window is good if the metric's value is in a good range, summed across
    * returned streams.
    * 
* * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_sum_in_range = 7; + * * @return Whether the metricSumInRange field is set. */ @java.lang.Override @@ -2440,22 +2754,27 @@ public boolean hasMetricSumInRange() { return windowCriterionCase_ == 7; } /** + * + * *
    * A window is good if the metric's value is in a good range, summed across
    * returned streams.
    * 
* * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_sum_in_range = 7; + * * @return The metricSumInRange. */ @java.lang.Override public com.google.monitoring.v3.WindowsBasedSli.MetricRange getMetricSumInRange() { if (windowCriterionCase_ == 7) { - return (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_; + return (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_; } return com.google.monitoring.v3.WindowsBasedSli.MetricRange.getDefaultInstance(); } /** + * + * *
    * A window is good if the metric's value is in a good range, summed across
    * returned streams.
@@ -2464,9 +2783,10 @@ public com.google.monitoring.v3.WindowsBasedSli.MetricRange getMetricSumInRange(
    * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_sum_in_range = 7;
    */
   @java.lang.Override
-  public com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder getMetricSumInRangeOrBuilder() {
+  public com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder
+      getMetricSumInRangeOrBuilder() {
     if (windowCriterionCase_ == 7) {
-       return (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_;
+      return (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_;
     }
     return com.google.monitoring.v3.WindowsBasedSli.MetricRange.getDefaultInstance();
   }
@@ -2474,12 +2794,15 @@ public com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder getMetricSu
   public static final int WINDOW_PERIOD_FIELD_NUMBER = 4;
   private com.google.protobuf.Duration windowPeriod_;
   /**
+   *
+   *
    * 
    * Duration over which window quality is evaluated. Must be an integer
    * fraction of a day and at least `60s`.
    * 
* * .google.protobuf.Duration window_period = 4; + * * @return Whether the windowPeriod field is set. */ @java.lang.Override @@ -2487,19 +2810,26 @@ public boolean hasWindowPeriod() { return windowPeriod_ != null; } /** + * + * *
    * Duration over which window quality is evaluated. Must be an integer
    * fraction of a day and at least `60s`.
    * 
* * .google.protobuf.Duration window_period = 4; + * * @return The windowPeriod. */ @java.lang.Override public com.google.protobuf.Duration getWindowPeriod() { - return windowPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : windowPeriod_; + return windowPeriod_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : windowPeriod_; } /** + * + * *
    * Duration over which window quality is evaluated. Must be an integer
    * fraction of a day and at least `60s`.
@@ -2513,6 +2843,7 @@ public com.google.protobuf.DurationOrBuilder getWindowPeriodOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -2524,10 +2855,10 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (windowCriterionCase_ == 2) {
-      output.writeMessage(2, (com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) windowCriterion_);
+      output.writeMessage(
+          2, (com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) windowCriterion_);
     }
     if (windowPeriod_ != null) {
       output.writeMessage(4, getWindowPeriod());
@@ -2536,10 +2867,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
       com.google.protobuf.GeneratedMessageV3.writeString(output, 5, windowCriterion_);
     }
     if (windowCriterionCase_ == 6) {
-      output.writeMessage(6, (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_);
+      output.writeMessage(
+          6, (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_);
     }
     if (windowCriterionCase_ == 7) {
-      output.writeMessage(7, (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_);
+      output.writeMessage(
+          7, (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_);
     }
     unknownFields.writeTo(output);
   }
@@ -2551,23 +2884,25 @@ public int getSerializedSize() {
 
     size = 0;
     if (windowCriterionCase_ == 2) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, (com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) windowCriterion_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, (com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) windowCriterion_);
     }
     if (windowPeriod_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getWindowPeriod());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getWindowPeriod());
     }
     if (windowCriterionCase_ == 5) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, windowCriterion_);
     }
     if (windowCriterionCase_ == 6) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              6, (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_);
     }
     if (windowCriterionCase_ == 7) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              7, (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -2577,7 +2912,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.monitoring.v3.WindowsBasedSli)) {
       return super.equals(obj);
@@ -2586,26 +2921,21 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasWindowPeriod() != other.hasWindowPeriod()) return false;
     if (hasWindowPeriod()) {
-      if (!getWindowPeriod()
-          .equals(other.getWindowPeriod())) return false;
+      if (!getWindowPeriod().equals(other.getWindowPeriod())) return false;
     }
     if (!getWindowCriterionCase().equals(other.getWindowCriterionCase())) return false;
     switch (windowCriterionCase_) {
       case 5:
-        if (!getGoodBadMetricFilter()
-            .equals(other.getGoodBadMetricFilter())) return false;
+        if (!getGoodBadMetricFilter().equals(other.getGoodBadMetricFilter())) return false;
         break;
       case 2:
-        if (!getGoodTotalRatioThreshold()
-            .equals(other.getGoodTotalRatioThreshold())) return false;
+        if (!getGoodTotalRatioThreshold().equals(other.getGoodTotalRatioThreshold())) return false;
         break;
       case 6:
-        if (!getMetricMeanInRange()
-            .equals(other.getMetricMeanInRange())) return false;
+        if (!getMetricMeanInRange().equals(other.getMetricMeanInRange())) return false;
         break;
       case 7:
-        if (!getMetricSumInRange()
-            .equals(other.getMetricSumInRange())) return false;
+        if (!getMetricSumInRange().equals(other.getMetricSumInRange())) return false;
         break;
       case 0:
       default:
@@ -2650,97 +2980,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.monitoring.v3.WindowsBasedSli parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.monitoring.v3.WindowsBasedSli parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.monitoring.v3.WindowsBasedSli parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.monitoring.v3.WindowsBasedSli parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.monitoring.v3.WindowsBasedSli parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.monitoring.v3.WindowsBasedSli parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.monitoring.v3.WindowsBasedSli parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.monitoring.v3.WindowsBasedSli 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.monitoring.v3.WindowsBasedSli parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.monitoring.v3.WindowsBasedSli parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.monitoring.v3.WindowsBasedSli parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.monitoring.v3.WindowsBasedSli parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.monitoring.v3.WindowsBasedSli parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.monitoring.v3.WindowsBasedSli parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.monitoring.v3.WindowsBasedSli prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder 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 `WindowsBasedSli` defines `good_service` as the count of time windows for
    * which the provided service was of good quality. Criteria for determining
@@ -2749,21 +3086,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.monitoring.v3.WindowsBasedSli}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.monitoring.v3.WindowsBasedSli)
       com.google.monitoring.v3.WindowsBasedSliOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_WindowsBasedSli_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.monitoring.v3.ServiceMonitoringProto
+          .internal_static_google_monitoring_v3_WindowsBasedSli_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_WindowsBasedSli_fieldAccessorTable
+      return com.google.monitoring.v3.ServiceMonitoringProto
+          .internal_static_google_monitoring_v3_WindowsBasedSli_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.monitoring.v3.WindowsBasedSli.class, com.google.monitoring.v3.WindowsBasedSli.Builder.class);
+              com.google.monitoring.v3.WindowsBasedSli.class,
+              com.google.monitoring.v3.WindowsBasedSli.Builder.class);
     }
 
     // Construct using com.google.monitoring.v3.WindowsBasedSli.newBuilder()
@@ -2771,16 +3110,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2796,9 +3134,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.monitoring.v3.ServiceMonitoringProto.internal_static_google_monitoring_v3_WindowsBasedSli_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.monitoring.v3.ServiceMonitoringProto
+          .internal_static_google_monitoring_v3_WindowsBasedSli_descriptor;
     }
 
     @java.lang.Override
@@ -2817,7 +3155,8 @@ public com.google.monitoring.v3.WindowsBasedSli build() {
 
     @java.lang.Override
     public com.google.monitoring.v3.WindowsBasedSli buildPartial() {
-      com.google.monitoring.v3.WindowsBasedSli result = new com.google.monitoring.v3.WindowsBasedSli(this);
+      com.google.monitoring.v3.WindowsBasedSli result =
+          new com.google.monitoring.v3.WindowsBasedSli(this);
       if (windowCriterionCase_ == 5) {
         result.windowCriterion_ = windowCriterion_;
       }
@@ -2856,38 +3195,39 @@ public com.google.monitoring.v3.WindowsBasedSli 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.monitoring.v3.WindowsBasedSli) {
-        return mergeFrom((com.google.monitoring.v3.WindowsBasedSli)other);
+        return mergeFrom((com.google.monitoring.v3.WindowsBasedSli) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2900,27 +3240,32 @@ public Builder mergeFrom(com.google.monitoring.v3.WindowsBasedSli other) {
         mergeWindowPeriod(other.getWindowPeriod());
       }
       switch (other.getWindowCriterionCase()) {
-        case GOOD_BAD_METRIC_FILTER: {
-          windowCriterionCase_ = 5;
-          windowCriterion_ = other.windowCriterion_;
-          onChanged();
-          break;
-        }
-        case GOOD_TOTAL_RATIO_THRESHOLD: {
-          mergeGoodTotalRatioThreshold(other.getGoodTotalRatioThreshold());
-          break;
-        }
-        case METRIC_MEAN_IN_RANGE: {
-          mergeMetricMeanInRange(other.getMetricMeanInRange());
-          break;
-        }
-        case METRIC_SUM_IN_RANGE: {
-          mergeMetricSumInRange(other.getMetricSumInRange());
-          break;
-        }
-        case WINDOWCRITERION_NOT_SET: {
-          break;
-        }
+        case GOOD_BAD_METRIC_FILTER:
+          {
+            windowCriterionCase_ = 5;
+            windowCriterion_ = other.windowCriterion_;
+            onChanged();
+            break;
+          }
+        case GOOD_TOTAL_RATIO_THRESHOLD:
+          {
+            mergeGoodTotalRatioThreshold(other.getGoodTotalRatioThreshold());
+            break;
+          }
+        case METRIC_MEAN_IN_RANGE:
+          {
+            mergeMetricMeanInRange(other.getMetricMeanInRange());
+            break;
+          }
+        case METRIC_SUM_IN_RANGE:
+          {
+            mergeMetricSumInRange(other.getMetricSumInRange());
+            break;
+          }
+        case WINDOWCRITERION_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -2950,12 +3295,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int windowCriterionCase_ = 0;
     private java.lang.Object windowCriterion_;
-    public WindowCriterionCase
-        getWindowCriterionCase() {
-      return WindowCriterionCase.forNumber(
-          windowCriterionCase_);
+
+    public WindowCriterionCase getWindowCriterionCase() {
+      return WindowCriterionCase.forNumber(windowCriterionCase_);
     }
 
     public Builder clearWindowCriterion() {
@@ -2965,8 +3310,9 @@ public Builder clearWindowCriterion() {
       return this;
     }
 
-
     /**
+     *
+     *
      * 
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` with `ValueType = BOOL`. The window is good if
@@ -2974,6 +3320,7 @@ public Builder clearWindowCriterion() {
      * 
* * string good_bad_metric_filter = 5; + * * @return Whether the goodBadMetricFilter field is set. */ @java.lang.Override @@ -2981,6 +3328,8 @@ public boolean hasGoodBadMetricFilter() { return windowCriterionCase_ == 5; } /** + * + * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` with `ValueType = BOOL`. The window is good if
@@ -2988,6 +3337,7 @@ public boolean hasGoodBadMetricFilter() {
      * 
* * string good_bad_metric_filter = 5; + * * @return The goodBadMetricFilter. */ @java.lang.Override @@ -2997,8 +3347,7 @@ public java.lang.String getGoodBadMetricFilter() { ref = windowCriterion_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (windowCriterionCase_ == 5) { windowCriterion_ = s; @@ -3009,6 +3358,8 @@ public java.lang.String getGoodBadMetricFilter() { } } /** + * + * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` with `ValueType = BOOL`. The window is good if
@@ -3016,19 +3367,18 @@ public java.lang.String getGoodBadMetricFilter() {
      * 
* * string good_bad_metric_filter = 5; + * * @return The bytes for goodBadMetricFilter. */ @java.lang.Override - public com.google.protobuf.ByteString - getGoodBadMetricFilterBytes() { + public com.google.protobuf.ByteString getGoodBadMetricFilterBytes() { java.lang.Object ref = ""; if (windowCriterionCase_ == 5) { ref = windowCriterion_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (windowCriterionCase_ == 5) { windowCriterion_ = b; } @@ -3038,6 +3388,8 @@ public java.lang.String getGoodBadMetricFilter() { } } /** + * + * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` with `ValueType = BOOL`. The window is good if
@@ -3045,20 +3397,22 @@ public java.lang.String getGoodBadMetricFilter() {
      * 
* * string good_bad_metric_filter = 5; + * * @param value The goodBadMetricFilter to set. * @return This builder for chaining. */ - public Builder setGoodBadMetricFilter( - java.lang.String value) { + public Builder setGoodBadMetricFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - windowCriterionCase_ = 5; + throw new NullPointerException(); + } + windowCriterionCase_ = 5; windowCriterion_ = value; onChanged(); return this; } /** + * + * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` with `ValueType = BOOL`. The window is good if
@@ -3066,6 +3420,7 @@ public Builder setGoodBadMetricFilter(
      * 
* * string good_bad_metric_filter = 5; + * * @return This builder for chaining. */ public Builder clearGoodBadMetricFilter() { @@ -3077,6 +3432,8 @@ public Builder clearGoodBadMetricFilter() { return this; } /** + * + * *
      * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
      * specifying a `TimeSeries` with `ValueType = BOOL`. The window is good if
@@ -3084,15 +3441,15 @@ public Builder clearGoodBadMetricFilter() {
      * 
* * string good_bad_metric_filter = 5; + * * @param value The bytes for goodBadMetricFilter to set. * @return This builder for chaining. */ - public Builder setGoodBadMetricFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setGoodBadMetricFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); windowCriterionCase_ = 5; windowCriterion_ = value; onChanged(); @@ -3100,13 +3457,21 @@ public Builder setGoodBadMetricFilterBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold, com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.Builder, com.google.monitoring.v3.WindowsBasedSli.PerformanceThresholdOrBuilder> goodTotalRatioThresholdBuilder_; + com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold, + com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.Builder, + com.google.monitoring.v3.WindowsBasedSli.PerformanceThresholdOrBuilder> + goodTotalRatioThresholdBuilder_; /** + * + * *
      * A window is good if its `performance` is high enough.
      * 
* - * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; + * + * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; + * + * * @return Whether the goodTotalRatioThreshold field is set. */ @java.lang.Override @@ -3114,15 +3479,21 @@ public boolean hasGoodTotalRatioThreshold() { return windowCriterionCase_ == 2; } /** + * + * *
      * A window is good if its `performance` is high enough.
      * 
* - * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; + * + * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; + * + * * @return The goodTotalRatioThreshold. */ @java.lang.Override - public com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold getGoodTotalRatioThreshold() { + public com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold + getGoodTotalRatioThreshold() { if (goodTotalRatioThresholdBuilder_ == null) { if (windowCriterionCase_ == 2) { return (com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) windowCriterion_; @@ -3136,13 +3507,18 @@ public com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold getGoodTota } } /** + * + * *
      * A window is good if its `performance` is high enough.
      * 
* - * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; + * + * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; + * */ - public Builder setGoodTotalRatioThreshold(com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold value) { + public Builder setGoodTotalRatioThreshold( + com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold value) { if (goodTotalRatioThresholdBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3156,11 +3532,15 @@ public Builder setGoodTotalRatioThreshold(com.google.monitoring.v3.WindowsBasedS return this; } /** + * + * *
      * A window is good if its `performance` is high enough.
      * 
* - * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; + * + * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; + * */ public Builder setGoodTotalRatioThreshold( com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.Builder builderForValue) { @@ -3174,18 +3554,29 @@ public Builder setGoodTotalRatioThreshold( return this; } /** + * + * *
      * A window is good if its `performance` is high enough.
      * 
* - * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; + * + * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; + * */ - public Builder mergeGoodTotalRatioThreshold(com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold value) { + public Builder mergeGoodTotalRatioThreshold( + com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold value) { if (goodTotalRatioThresholdBuilder_ == null) { - if (windowCriterionCase_ == 2 && - windowCriterion_ != com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.getDefaultInstance()) { - windowCriterion_ = com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.newBuilder((com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) windowCriterion_) - .mergeFrom(value).buildPartial(); + if (windowCriterionCase_ == 2 + && windowCriterion_ + != com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold + .getDefaultInstance()) { + windowCriterion_ = + com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.newBuilder( + (com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) + windowCriterion_) + .mergeFrom(value) + .buildPartial(); } else { windowCriterion_ = value; } @@ -3200,11 +3591,15 @@ public Builder mergeGoodTotalRatioThreshold(com.google.monitoring.v3.WindowsBase return this; } /** + * + * *
      * A window is good if its `performance` is high enough.
      * 
* - * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; + * + * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; + * */ public Builder clearGoodTotalRatioThreshold() { if (goodTotalRatioThresholdBuilder_ == null) { @@ -3223,24 +3618,34 @@ public Builder clearGoodTotalRatioThreshold() { return this; } /** + * + * *
      * A window is good if its `performance` is high enough.
      * 
* - * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; + * + * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; + * */ - public com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.Builder getGoodTotalRatioThresholdBuilder() { + public com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.Builder + getGoodTotalRatioThresholdBuilder() { return getGoodTotalRatioThresholdFieldBuilder().getBuilder(); } /** + * + * *
      * A window is good if its `performance` is high enough.
      * 
* - * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; + * + * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; + * */ @java.lang.Override - public com.google.monitoring.v3.WindowsBasedSli.PerformanceThresholdOrBuilder getGoodTotalRatioThresholdOrBuilder() { + public com.google.monitoring.v3.WindowsBasedSli.PerformanceThresholdOrBuilder + getGoodTotalRatioThresholdOrBuilder() { if ((windowCriterionCase_ == 2) && (goodTotalRatioThresholdBuilder_ != null)) { return goodTotalRatioThresholdBuilder_.getMessageOrBuilder(); } else { @@ -3251,40 +3656,57 @@ public com.google.monitoring.v3.WindowsBasedSli.PerformanceThresholdOrBuilder ge } } /** + * + * *
      * A window is good if its `performance` is high enough.
      * 
* - * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; + * + * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold, com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.Builder, com.google.monitoring.v3.WindowsBasedSli.PerformanceThresholdOrBuilder> + com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold, + com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.Builder, + com.google.monitoring.v3.WindowsBasedSli.PerformanceThresholdOrBuilder> getGoodTotalRatioThresholdFieldBuilder() { if (goodTotalRatioThresholdBuilder_ == null) { if (!(windowCriterionCase_ == 2)) { - windowCriterion_ = com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.getDefaultInstance(); + windowCriterion_ = + com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.getDefaultInstance(); } - goodTotalRatioThresholdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold, com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.Builder, com.google.monitoring.v3.WindowsBasedSli.PerformanceThresholdOrBuilder>( + goodTotalRatioThresholdBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold, + com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold.Builder, + com.google.monitoring.v3.WindowsBasedSli.PerformanceThresholdOrBuilder>( (com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold) windowCriterion_, getParentForChildren(), isClean()); windowCriterion_ = null; } windowCriterionCase_ = 2; - onChanged();; + onChanged(); + ; return goodTotalRatioThresholdBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.monitoring.v3.WindowsBasedSli.MetricRange, com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder, com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder> metricMeanInRangeBuilder_; + com.google.monitoring.v3.WindowsBasedSli.MetricRange, + com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder, + com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder> + metricMeanInRangeBuilder_; /** + * + * *
      * A window is good if the metric's value is in a good range, averaged
      * across returned streams.
      * 
* * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_mean_in_range = 6; + * * @return Whether the metricMeanInRange field is set. */ @java.lang.Override @@ -3292,12 +3714,15 @@ public boolean hasMetricMeanInRange() { return windowCriterionCase_ == 6; } /** + * + * *
      * A window is good if the metric's value is in a good range, averaged
      * across returned streams.
      * 
* * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_mean_in_range = 6; + * * @return The metricMeanInRange. */ @java.lang.Override @@ -3315,6 +3740,8 @@ public com.google.monitoring.v3.WindowsBasedSli.MetricRange getMetricMeanInRange } } /** + * + * *
      * A window is good if the metric's value is in a good range, averaged
      * across returned streams.
@@ -3322,7 +3749,8 @@ public com.google.monitoring.v3.WindowsBasedSli.MetricRange getMetricMeanInRange
      *
      * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_mean_in_range = 6;
      */
-    public Builder setMetricMeanInRange(com.google.monitoring.v3.WindowsBasedSli.MetricRange value) {
+    public Builder setMetricMeanInRange(
+        com.google.monitoring.v3.WindowsBasedSli.MetricRange value) {
       if (metricMeanInRangeBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3336,6 +3764,8 @@ public Builder setMetricMeanInRange(com.google.monitoring.v3.WindowsBasedSli.Met
       return this;
     }
     /**
+     *
+     *
      * 
      * A window is good if the metric's value is in a good range, averaged
      * across returned streams.
@@ -3355,6 +3785,8 @@ public Builder setMetricMeanInRange(
       return this;
     }
     /**
+     *
+     *
      * 
      * A window is good if the metric's value is in a good range, averaged
      * across returned streams.
@@ -3362,12 +3794,17 @@ public Builder setMetricMeanInRange(
      *
      * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_mean_in_range = 6;
      */
-    public Builder mergeMetricMeanInRange(com.google.monitoring.v3.WindowsBasedSli.MetricRange value) {
+    public Builder mergeMetricMeanInRange(
+        com.google.monitoring.v3.WindowsBasedSli.MetricRange value) {
       if (metricMeanInRangeBuilder_ == null) {
-        if (windowCriterionCase_ == 6 &&
-            windowCriterion_ != com.google.monitoring.v3.WindowsBasedSli.MetricRange.getDefaultInstance()) {
-          windowCriterion_ = com.google.monitoring.v3.WindowsBasedSli.MetricRange.newBuilder((com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_)
-              .mergeFrom(value).buildPartial();
+        if (windowCriterionCase_ == 6
+            && windowCriterion_
+                != com.google.monitoring.v3.WindowsBasedSli.MetricRange.getDefaultInstance()) {
+          windowCriterion_ =
+              com.google.monitoring.v3.WindowsBasedSli.MetricRange.newBuilder(
+                      (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           windowCriterion_ = value;
         }
@@ -3382,6 +3819,8 @@ public Builder mergeMetricMeanInRange(com.google.monitoring.v3.WindowsBasedSli.M
       return this;
     }
     /**
+     *
+     *
      * 
      * A window is good if the metric's value is in a good range, averaged
      * across returned streams.
@@ -3406,6 +3845,8 @@ public Builder clearMetricMeanInRange() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A window is good if the metric's value is in a good range, averaged
      * across returned streams.
@@ -3413,10 +3854,13 @@ public Builder clearMetricMeanInRange() {
      *
      * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_mean_in_range = 6;
      */
-    public com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder getMetricMeanInRangeBuilder() {
+    public com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder
+        getMetricMeanInRangeBuilder() {
       return getMetricMeanInRangeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A window is good if the metric's value is in a good range, averaged
      * across returned streams.
@@ -3425,7 +3869,8 @@ public com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder getMetricMea
      * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_mean_in_range = 6;
      */
     @java.lang.Override
-    public com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder getMetricMeanInRangeOrBuilder() {
+    public com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder
+        getMetricMeanInRangeOrBuilder() {
       if ((windowCriterionCase_ == 6) && (metricMeanInRangeBuilder_ != null)) {
         return metricMeanInRangeBuilder_.getMessageOrBuilder();
       } else {
@@ -3436,6 +3881,8 @@ public com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder getMetricMe
       }
     }
     /**
+     *
+     *
      * 
      * A window is good if the metric's value is in a good range, averaged
      * across returned streams.
@@ -3444,33 +3891,46 @@ public com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder getMetricMe
      * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_mean_in_range = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.monitoring.v3.WindowsBasedSli.MetricRange, com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder, com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder> 
+            com.google.monitoring.v3.WindowsBasedSli.MetricRange,
+            com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder,
+            com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder>
         getMetricMeanInRangeFieldBuilder() {
       if (metricMeanInRangeBuilder_ == null) {
         if (!(windowCriterionCase_ == 6)) {
-          windowCriterion_ = com.google.monitoring.v3.WindowsBasedSli.MetricRange.getDefaultInstance();
+          windowCriterion_ =
+              com.google.monitoring.v3.WindowsBasedSli.MetricRange.getDefaultInstance();
         }
-        metricMeanInRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.WindowsBasedSli.MetricRange, com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder, com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder>(
+        metricMeanInRangeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.monitoring.v3.WindowsBasedSli.MetricRange,
+                com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder,
+                com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder>(
                 (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_,
                 getParentForChildren(),
                 isClean());
         windowCriterion_ = null;
       }
       windowCriterionCase_ = 6;
-      onChanged();;
+      onChanged();
+      ;
       return metricMeanInRangeBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.monitoring.v3.WindowsBasedSli.MetricRange, com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder, com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder> metricSumInRangeBuilder_;
+            com.google.monitoring.v3.WindowsBasedSli.MetricRange,
+            com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder,
+            com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder>
+        metricSumInRangeBuilder_;
     /**
+     *
+     *
      * 
      * A window is good if the metric's value is in a good range, summed across
      * returned streams.
      * 
* * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_sum_in_range = 7; + * * @return Whether the metricSumInRange field is set. */ @java.lang.Override @@ -3478,12 +3938,15 @@ public boolean hasMetricSumInRange() { return windowCriterionCase_ == 7; } /** + * + * *
      * A window is good if the metric's value is in a good range, summed across
      * returned streams.
      * 
* * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_sum_in_range = 7; + * * @return The metricSumInRange. */ @java.lang.Override @@ -3501,6 +3964,8 @@ public com.google.monitoring.v3.WindowsBasedSli.MetricRange getMetricSumInRange( } } /** + * + * *
      * A window is good if the metric's value is in a good range, summed across
      * returned streams.
@@ -3522,6 +3987,8 @@ public Builder setMetricSumInRange(com.google.monitoring.v3.WindowsBasedSli.Metr
       return this;
     }
     /**
+     *
+     *
      * 
      * A window is good if the metric's value is in a good range, summed across
      * returned streams.
@@ -3541,6 +4008,8 @@ public Builder setMetricSumInRange(
       return this;
     }
     /**
+     *
+     *
      * 
      * A window is good if the metric's value is in a good range, summed across
      * returned streams.
@@ -3548,12 +4017,17 @@ public Builder setMetricSumInRange(
      *
      * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_sum_in_range = 7;
      */
-    public Builder mergeMetricSumInRange(com.google.monitoring.v3.WindowsBasedSli.MetricRange value) {
+    public Builder mergeMetricSumInRange(
+        com.google.monitoring.v3.WindowsBasedSli.MetricRange value) {
       if (metricSumInRangeBuilder_ == null) {
-        if (windowCriterionCase_ == 7 &&
-            windowCriterion_ != com.google.monitoring.v3.WindowsBasedSli.MetricRange.getDefaultInstance()) {
-          windowCriterion_ = com.google.monitoring.v3.WindowsBasedSli.MetricRange.newBuilder((com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_)
-              .mergeFrom(value).buildPartial();
+        if (windowCriterionCase_ == 7
+            && windowCriterion_
+                != com.google.monitoring.v3.WindowsBasedSli.MetricRange.getDefaultInstance()) {
+          windowCriterion_ =
+              com.google.monitoring.v3.WindowsBasedSli.MetricRange.newBuilder(
+                      (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           windowCriterion_ = value;
         }
@@ -3568,6 +4042,8 @@ public Builder mergeMetricSumInRange(com.google.monitoring.v3.WindowsBasedSli.Me
       return this;
     }
     /**
+     *
+     *
      * 
      * A window is good if the metric's value is in a good range, summed across
      * returned streams.
@@ -3592,6 +4068,8 @@ public Builder clearMetricSumInRange() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A window is good if the metric's value is in a good range, summed across
      * returned streams.
@@ -3599,10 +4077,13 @@ public Builder clearMetricSumInRange() {
      *
      * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_sum_in_range = 7;
      */
-    public com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder getMetricSumInRangeBuilder() {
+    public com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder
+        getMetricSumInRangeBuilder() {
       return getMetricSumInRangeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A window is good if the metric's value is in a good range, summed across
      * returned streams.
@@ -3611,7 +4092,8 @@ public com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder getMetricSum
      * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_sum_in_range = 7;
      */
     @java.lang.Override
-    public com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder getMetricSumInRangeOrBuilder() {
+    public com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder
+        getMetricSumInRangeOrBuilder() {
       if ((windowCriterionCase_ == 7) && (metricSumInRangeBuilder_ != null)) {
         return metricSumInRangeBuilder_.getMessageOrBuilder();
       } else {
@@ -3622,6 +4104,8 @@ public com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder getMetricSu
       }
     }
     /**
+     *
+     *
      * 
      * A window is good if the metric's value is in a good range, summed across
      * returned streams.
@@ -3630,56 +4114,76 @@ public com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder getMetricSu
      * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_sum_in_range = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.monitoring.v3.WindowsBasedSli.MetricRange, com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder, com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder> 
+            com.google.monitoring.v3.WindowsBasedSli.MetricRange,
+            com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder,
+            com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder>
         getMetricSumInRangeFieldBuilder() {
       if (metricSumInRangeBuilder_ == null) {
         if (!(windowCriterionCase_ == 7)) {
-          windowCriterion_ = com.google.monitoring.v3.WindowsBasedSli.MetricRange.getDefaultInstance();
+          windowCriterion_ =
+              com.google.monitoring.v3.WindowsBasedSli.MetricRange.getDefaultInstance();
         }
-        metricSumInRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.monitoring.v3.WindowsBasedSli.MetricRange, com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder, com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder>(
+        metricSumInRangeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.monitoring.v3.WindowsBasedSli.MetricRange,
+                com.google.monitoring.v3.WindowsBasedSli.MetricRange.Builder,
+                com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder>(
                 (com.google.monitoring.v3.WindowsBasedSli.MetricRange) windowCriterion_,
                 getParentForChildren(),
                 isClean());
         windowCriterion_ = null;
       }
       windowCriterionCase_ = 7;
-      onChanged();;
+      onChanged();
+      ;
       return metricSumInRangeBuilder_;
     }
 
     private com.google.protobuf.Duration windowPeriod_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> windowPeriodBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        windowPeriodBuilder_;
     /**
+     *
+     *
      * 
      * Duration over which window quality is evaluated. Must be an integer
      * fraction of a day and at least `60s`.
      * 
* * .google.protobuf.Duration window_period = 4; + * * @return Whether the windowPeriod field is set. */ public boolean hasWindowPeriod() { return windowPeriodBuilder_ != null || windowPeriod_ != null; } /** + * + * *
      * Duration over which window quality is evaluated. Must be an integer
      * fraction of a day and at least `60s`.
      * 
* * .google.protobuf.Duration window_period = 4; + * * @return The windowPeriod. */ public com.google.protobuf.Duration getWindowPeriod() { if (windowPeriodBuilder_ == null) { - return windowPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : windowPeriod_; + return windowPeriod_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : windowPeriod_; } else { return windowPeriodBuilder_.getMessage(); } } /** + * + * *
      * Duration over which window quality is evaluated. Must be an integer
      * fraction of a day and at least `60s`.
@@ -3701,6 +4205,8 @@ public Builder setWindowPeriod(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Duration over which window quality is evaluated. Must be an integer
      * fraction of a day and at least `60s`.
@@ -3708,8 +4214,7 @@ public Builder setWindowPeriod(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration window_period = 4;
      */
-    public Builder setWindowPeriod(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setWindowPeriod(com.google.protobuf.Duration.Builder builderForValue) {
       if (windowPeriodBuilder_ == null) {
         windowPeriod_ = builderForValue.build();
         onChanged();
@@ -3720,6 +4225,8 @@ public Builder setWindowPeriod(
       return this;
     }
     /**
+     *
+     *
      * 
      * Duration over which window quality is evaluated. Must be an integer
      * fraction of a day and at least `60s`.
@@ -3731,7 +4238,9 @@ public Builder mergeWindowPeriod(com.google.protobuf.Duration value) {
       if (windowPeriodBuilder_ == null) {
         if (windowPeriod_ != null) {
           windowPeriod_ =
-            com.google.protobuf.Duration.newBuilder(windowPeriod_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(windowPeriod_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           windowPeriod_ = value;
         }
@@ -3743,6 +4252,8 @@ public Builder mergeWindowPeriod(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Duration over which window quality is evaluated. Must be an integer
      * fraction of a day and at least `60s`.
@@ -3762,6 +4273,8 @@ public Builder clearWindowPeriod() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Duration over which window quality is evaluated. Must be an integer
      * fraction of a day and at least `60s`.
@@ -3770,11 +4283,13 @@ public Builder clearWindowPeriod() {
      * .google.protobuf.Duration window_period = 4;
      */
     public com.google.protobuf.Duration.Builder getWindowPeriodBuilder() {
-      
+
       onChanged();
       return getWindowPeriodFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Duration over which window quality is evaluated. Must be an integer
      * fraction of a day and at least `60s`.
@@ -3786,11 +4301,14 @@ public com.google.protobuf.DurationOrBuilder getWindowPeriodOrBuilder() {
       if (windowPeriodBuilder_ != null) {
         return windowPeriodBuilder_.getMessageOrBuilder();
       } else {
-        return windowPeriod_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : windowPeriod_;
+        return windowPeriod_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : windowPeriod_;
       }
     }
     /**
+     *
+     *
      * 
      * Duration over which window quality is evaluated. Must be an integer
      * fraction of a day and at least `60s`.
@@ -3799,21 +4317,24 @@ public com.google.protobuf.DurationOrBuilder getWindowPeriodOrBuilder() {
      * .google.protobuf.Duration window_period = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getWindowPeriodFieldBuilder() {
       if (windowPeriodBuilder_ == null) {
-        windowPeriodBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getWindowPeriod(),
-                getParentForChildren(),
-                isClean());
+        windowPeriodBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getWindowPeriod(), getParentForChildren(), isClean());
         windowPeriod_ = null;
       }
       return windowPeriodBuilder_;
     }
+
     @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);
     }
 
@@ -3823,12 +4344,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.monitoring.v3.WindowsBasedSli)
   }
 
   // @@protoc_insertion_point(class_scope:google.monitoring.v3.WindowsBasedSli)
   private static final com.google.monitoring.v3.WindowsBasedSli DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.monitoring.v3.WindowsBasedSli();
   }
@@ -3837,16 +4358,16 @@ public static com.google.monitoring.v3.WindowsBasedSli getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public WindowsBasedSli parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new WindowsBasedSli(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public WindowsBasedSli parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new WindowsBasedSli(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -3861,6 +4382,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.monitoring.v3.WindowsBasedSli getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/WindowsBasedSliOrBuilder.java b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/WindowsBasedSliOrBuilder.java
similarity index 78%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/WindowsBasedSliOrBuilder.java
rename to proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/WindowsBasedSliOrBuilder.java
index fca91d59..b50815dd 100644
--- a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/WindowsBasedSliOrBuilder.java
+++ b/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/WindowsBasedSliOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/monitoring/v3/service.proto
 
 package com.google.monitoring.v3;
 
-public interface WindowsBasedSliOrBuilder extends
+public interface WindowsBasedSliOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.monitoring.v3.WindowsBasedSli)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` with `ValueType = BOOL`. The window is good if
@@ -15,10 +33,13 @@ public interface WindowsBasedSliOrBuilder extends
    * 
* * string good_bad_metric_filter = 5; + * * @return Whether the goodBadMetricFilter field is set. */ boolean hasGoodBadMetricFilter(); /** + * + * *
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` with `ValueType = BOOL`. The window is good if
@@ -26,10 +47,13 @@ public interface WindowsBasedSliOrBuilder extends
    * 
* * string good_bad_metric_filter = 5; + * * @return The goodBadMetricFilter. */ java.lang.String getGoodBadMetricFilter(); /** + * + * *
    * A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
    * specifying a `TimeSeries` with `ValueType = BOOL`. The window is good if
@@ -37,59 +61,82 @@ public interface WindowsBasedSliOrBuilder extends
    * 
* * string good_bad_metric_filter = 5; + * * @return The bytes for goodBadMetricFilter. */ - com.google.protobuf.ByteString - getGoodBadMetricFilterBytes(); + com.google.protobuf.ByteString getGoodBadMetricFilterBytes(); /** + * + * *
    * A window is good if its `performance` is high enough.
    * 
* - * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; + * + * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; + * + * * @return Whether the goodTotalRatioThreshold field is set. */ boolean hasGoodTotalRatioThreshold(); /** + * + * *
    * A window is good if its `performance` is high enough.
    * 
* - * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; + * + * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; + * + * * @return The goodTotalRatioThreshold. */ com.google.monitoring.v3.WindowsBasedSli.PerformanceThreshold getGoodTotalRatioThreshold(); /** + * + * *
    * A window is good if its `performance` is high enough.
    * 
* - * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; + * + * .google.monitoring.v3.WindowsBasedSli.PerformanceThreshold good_total_ratio_threshold = 2; + * */ - com.google.monitoring.v3.WindowsBasedSli.PerformanceThresholdOrBuilder getGoodTotalRatioThresholdOrBuilder(); + com.google.monitoring.v3.WindowsBasedSli.PerformanceThresholdOrBuilder + getGoodTotalRatioThresholdOrBuilder(); /** + * + * *
    * A window is good if the metric's value is in a good range, averaged
    * across returned streams.
    * 
* * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_mean_in_range = 6; + * * @return Whether the metricMeanInRange field is set. */ boolean hasMetricMeanInRange(); /** + * + * *
    * A window is good if the metric's value is in a good range, averaged
    * across returned streams.
    * 
* * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_mean_in_range = 6; + * * @return The metricMeanInRange. */ com.google.monitoring.v3.WindowsBasedSli.MetricRange getMetricMeanInRange(); /** + * + * *
    * A window is good if the metric's value is in a good range, averaged
    * across returned streams.
@@ -100,26 +147,34 @@ public interface WindowsBasedSliOrBuilder extends
   com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder getMetricMeanInRangeOrBuilder();
 
   /**
+   *
+   *
    * 
    * A window is good if the metric's value is in a good range, summed across
    * returned streams.
    * 
* * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_sum_in_range = 7; + * * @return Whether the metricSumInRange field is set. */ boolean hasMetricSumInRange(); /** + * + * *
    * A window is good if the metric's value is in a good range, summed across
    * returned streams.
    * 
* * .google.monitoring.v3.WindowsBasedSli.MetricRange metric_sum_in_range = 7; + * * @return The metricSumInRange. */ com.google.monitoring.v3.WindowsBasedSli.MetricRange getMetricSumInRange(); /** + * + * *
    * A window is good if the metric's value is in a good range, summed across
    * returned streams.
@@ -130,26 +185,34 @@ public interface WindowsBasedSliOrBuilder extends
   com.google.monitoring.v3.WindowsBasedSli.MetricRangeOrBuilder getMetricSumInRangeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Duration over which window quality is evaluated. Must be an integer
    * fraction of a day and at least `60s`.
    * 
* * .google.protobuf.Duration window_period = 4; + * * @return Whether the windowPeriod field is set. */ boolean hasWindowPeriod(); /** + * + * *
    * Duration over which window quality is evaluated. Must be an integer
    * fraction of a day and at least `60s`.
    * 
* * .google.protobuf.Duration window_period = 4; + * * @return The windowPeriod. */ com.google.protobuf.Duration getWindowPeriod(); /** + * + * *
    * Duration over which window quality is evaluated. Must be an integer
    * fraction of a day and at least `60s`.
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/alert.proto b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/alert.proto
similarity index 100%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/alert.proto
rename to proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/alert.proto
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/alert_service.proto b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/alert_service.proto
similarity index 100%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/alert_service.proto
rename to proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/alert_service.proto
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/common.proto b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/common.proto
similarity index 100%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/common.proto
rename to proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/common.proto
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/dropped_labels.proto b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/dropped_labels.proto
similarity index 100%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/dropped_labels.proto
rename to proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/dropped_labels.proto
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/group.proto b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/group.proto
similarity index 100%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/group.proto
rename to proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/group.proto
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/group_service.proto b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/group_service.proto
similarity index 100%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/group_service.proto
rename to proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/group_service.proto
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/metric.proto b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/metric.proto
similarity index 100%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/metric.proto
rename to proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/metric.proto
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/metric_service.proto b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/metric_service.proto
similarity index 100%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/metric_service.proto
rename to proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/metric_service.proto
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/mutation_record.proto b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/mutation_record.proto
similarity index 100%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/mutation_record.proto
rename to proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/mutation_record.proto
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/notification.proto b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/notification.proto
similarity index 100%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/notification.proto
rename to proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/notification.proto
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/notification_service.proto b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/notification_service.proto
similarity index 100%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/notification_service.proto
rename to proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/notification_service.proto
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/query_service.proto b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/query_service.proto
similarity index 100%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/query_service.proto
rename to proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/query_service.proto
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/service.proto b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/service.proto
similarity index 100%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/service.proto
rename to proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/service.proto
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/service_service.proto b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/service_service.proto
similarity index 100%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/service_service.proto
rename to proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/service_service.proto
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/span_context.proto b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/span_context.proto
similarity index 100%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/span_context.proto
rename to proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/span_context.proto
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/uptime.proto b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/uptime.proto
similarity index 100%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/uptime.proto
rename to proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/uptime.proto
diff --git a/owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/uptime_service.proto b/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/uptime_service.proto
similarity index 100%
rename from owl-bot-staging/v3/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/uptime_service.proto
rename to proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/uptime_service.proto